]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
m68k: Consolidate nptl/ subdirectories under linux/...
[thirdparty/glibc.git] / ChangeLog
1 2014-06-23 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14 Moved ...
15 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16 ... here.
17 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
20 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
21 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
22 Moved ...
23 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
24 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
27 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
29 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31 Moved ...
32 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34 Moved ...
35 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
37 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
39 Moved ...
40 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
41 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
44 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
45 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
46 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
47 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
48 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
50 Moved ...
51 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
52 ... here.
53 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
54 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
55 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
56 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
57 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
58 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
59 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
60 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
61 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
62 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
63 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
64 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
65 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
66 Moved ...
67 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
68 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
69 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
70 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
71 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
72 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
73 Moved ...
74 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
75 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
76 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
77 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
78 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
79
80 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
81 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
82 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
83 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
84 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
85 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
86 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
87 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
88 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
89 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
90 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
91 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
92 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
93 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
94 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
95 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
96 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
97 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
98 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
99 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
100 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
101 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
102 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
103 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
104 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
105 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
106 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
107 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
108
109 2014-06-23 Joseph Myers <joseph@codesourcery.com>
110
111 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
112 (FALLOC_FL_COLLAPSE_RANGE): New macro.
113 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
114 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
115 (IPV6_PMTUDISC_INTERFACE): Likewise.
116 (IPV6_PMTUDISC_OMIT): Likewise.
117
118 2014-06-23 Andreas Schwab <schwab@suse.de>
119
120 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
121 Remove unused errout label.
122
123 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
124
125 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
126 macro: hardware supports Vector Crypto instructions.
127
128 2014-06-23 Will Newton <will.newton@linaro.org>
129
130 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
131 rather than __builtin_expect.
132
133 * elf/dl-lookup.c (undefined_msg): Remove variable.
134 (_dl_lookup_symbol_x): Replace undefined_msg with string
135 literal.
136
137 * elf/dl-lookup.c (do_lookup_unique): New function.
138 (do_lookup_x): Move STB_GNU_UNIQUE handling code
139 to a separate function.
140
141 2014-06-23 Andreas Schwab <schwab@suse.de>
142
143 [BZ #17079]
144 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
145 before reading the next line.
146
147 2014-06-23 Will Newton <will.newton@linaro.org>
148
149 * test-skeleton.c (signal_handler): Use printf and %m
150 rather than perror. Use printf rather than fprintf to
151 stderr. Use puts rather than fputs to stderr.
152 (main): Likewise.
153
154 2014-06-22 Ludovic Courtès <ludo@gnu.org>
155
156 * nscd/nscd.c (thread_info_t): Remove typedef.
157 (thread_info): Remove variable.
158
159 2014-06-21 Allan McRae <allan@archlinux.org>
160
161 * NEWS: Mention CVE-2014-4043.
162
163 2014-06-20 Roland McGrath <roland@hack.frob.com>
164
165 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
166 * nptl/smp.h: ... here.
167
168 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
169
170 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
171 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
172 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
173 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
174
175 * nptl/allocatestack.c: Include <stack-aliasing.h>.
176 * nptl/stack-aliasing.h: New file.
177 * sysdeps/i386/i686/stack-aliasing.h: New file.
178 * sysdeps/i386/i686/nptl/Makefile: File removed.
179 * sysdeps/x86_64/stack-aliasing.h: New file.
180 * sysdeps/x86_64/nptl/Makefile
181 (CFLAGS-pthread_create.c): Variable removed.
182
183 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
184 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
185 old file.
186 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
187 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
188 old file.
189
190 2014-06-21 Joseph Myers <joseph@codesourcery.com>
191
192 * sysdeps/unix/sysv/linux/arm/kernel-features.h
193 (__ASSUME_SIGFRAME_V2): Remove macro.
194 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
195 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
196 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
197 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
198 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
199 Declare as function. Remove conditional macro definitions.
200 (__default_rt_sa_restorer): Likewise.
201 (__default_sa_restorer_v1): Remove declaration.
202 (__default_sa_restorer_v2): Likewise.
203 (__default_rt_sa_restorer_v1): Likewise.
204 (__default_rt_sa_restorer_v2): Likewise.
205 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
206 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
207 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
208
209 2014-06-20 Roland McGrath <roland@hack.frob.com>
210
211 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
212 (libpthread-routines): Add sysdep.
213 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
214 * sysdeps/unix/sysv/linux/sparc/Versions
215 (libpthread: GLIBC_2.3.3): New version set.
216 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
217 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
218 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
219 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
220 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
221 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
222 Moved ...
223 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
224 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
225 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
226 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
227 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
228 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
229 * sysdeps/sparc/nptl/sem_init.c: ... here.
230 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
231 * sysdeps/sparc/nptl/sem_post.c: ... here.
232 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
233 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
234 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
235 * sysdeps/sparc/nptl/sem_wait.c: ... here.
236 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
237 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
238 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
239 (libpthread-routines): Add cpu_relax.
240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
241 File removed.
242 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
243 (librt: GLIBC_2.3.3): New version set.
244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
245 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
246 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
247 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
249 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
250 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
252 Moved ...
253 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
254 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
255 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
256 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
257 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
259 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
260 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
261 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
263 Moved ...
264 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
265 Update #include.
266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
267 Moved ...
268 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
269 Update #include.
270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
271 Moved ...
272 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
273 Update #include.
274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
275 Moved ...
276 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
277 Update #include.
278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
279 Moved ...
280 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
281 Update #include.
282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
283 Moved ...
284 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
285 Update #include.
286 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
287 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
288 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
292 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
293 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
294 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
295 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
296 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
297 Moved ...
298 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
299 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
300 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
301 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
302 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
303
304 2014-06-20 Joseph Myers <joseph@codesourcery.com>
305
306 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
307 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
308 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
309 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
310 * nscd/nscd.c: Likewise.
311 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
312 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
313 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
314 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
315
316 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
317 <kernel-features.h>.
318 (init_mq_netlink): Remove conditional have_sock_cloexec
319 definitions. Remove code conditional on have_sock_cloexec < 0.
320 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
321 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
322 * sysdeps/unix/sysv/linux/opensock.c: Do not include
323 <kernel-features.h>.
324 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
325 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
326
327 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
328
329 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
330 Add tests for memset_chk and memset.
331
332 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
333 with AVX2_Usable.
334
335 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
336
337 [BZ #16046]
338 * elf/tst-dl-iter-static.c: New file.
339 * elf/Makefile (tests-static): Add tst-dl-iter-static.
340
341 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
342 error.
343
344 2014-06-20 Joseph Myers <joseph@codesourcery.com>
345
346 * sysdeps/unix/sysv/linux/kernel-features.h
347 (__ASSUME_F_GETOWN_EX): Remove macro.
348 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
349 <kernel-features.h>.
350 (miss_F_GETOWN_EX): Remove variable or macro.
351 (do_fcntl): Do not check miss_F_GETOWN_EX.
352 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
353
354 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
355 Remove macro.
356 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
357 [!__ASSUME_AT_RANDOM]: Remove conditional code.
358 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
359
360 * sysdeps/unix/sysv/linux/kernel-features.h
361 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
362 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
363 [ADJ_OFFSET_SS_READ]: Make code unconditional.
364 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
365
366 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
367
368 [BZ #17075]
369 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
370 Fix calculation of the symbol's value.
371 * sysdeps/arm/tst-armtlsdescloc.c: New file.
372 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
373 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
374 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
375 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
376 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
377 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
378 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
379 (modules-names): Add `tst-armtlsdescmod',
380 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
381 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
382 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
383 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
384 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
385 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
386 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
387 ($(objpfx)tst-armtlsdescloc): New dependency.
388 ($(objpfx)tst-armtlsdescextnow): Likewise.
389 ($(objpfx)tst-armtlsdescextlazy): Likewise.
390 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
391 TLS scheme support.
392 * sysdeps/arm/configure: Regenerate.
393
394 2014-06-20 Joseph Myers <joseph@codesourcery.com>
395
396 * include/fcntl.h (__atfct_seterrno): Remove prototype.
397 (__atfct_seterrno_2): Likewise.
398 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
399 <kernel-features.h>.
400 (__ASSUME_ATFCTS): Do not undefine and redefine.
401 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
402 (__have_atfcts): Remove conditional definition.
403 (__fxstatat([__NR_fstatat64]: Make code unconditional.
404 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
405 unreachable if [__ASSUME_ATFCTS].
406 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
407 not undefine and redefine.
408 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
409 <kernel-features.h>.
410 (faccessat) [__NR_faccessat]: Make code unconditional.
411 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
412 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
413 <kernel-features.h>.
414 (fchmodat) [__NR_fchmodat]: Make code unconditional.
415 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
416 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
417 <kernel-features.h>.
418 (fchownat) [__NR_fchownat]: Make code unconditional.
419 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
420 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
421 <kernel-features.h>.
422 (futimesat) [__NR_futimesat]: Make code unconditional.
423 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
424 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
425 <kernel-features.h>.
426 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
427 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
428 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
429 <kernel-features.h>.
430 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
431 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
432 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
433 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
434 <kernel-features.h>.
435 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
436 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
437 * sysdeps/unix/sysv/linux/linkat.c: Do not include
438 <kernel-features.h>.
439 (linkat) [__NR_linkat]: Make code unconditional.
440 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
441 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
442 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
443 <kernel-features.h>.
444 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
445 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
446 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
447 <kernel-features.h>.
448 (mkdirat) [__NR_mkdirat]: Make code unconditional.
449 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
450 * sysdeps/unix/sysv/linux/openat.c: Do not include
451 <kernel-features.h>.
452 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
453 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
454 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
455 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
456 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
457 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
458 <kernel-features.h>.
459 (readlinkat) [__NR_readlinkat]: Make code unconditional.
460 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
461 result of INLINE_SYSCALL directly, not via int variable.
462 * sysdeps/unix/sysv/linux/renameat.c: Do not include
463 <kernel-features.h>.
464 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
465 (renameat) [__NR_renameat]: Make code unconditional.
466 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
467 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
468 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
469 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
470 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
471 (__ASSUME_ATFCTS): Do not undefine and redefine.
472 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
473 <kernel-features.h>.
474 (symlinkat) [__NR_symlinkat]: Make code unconditional.
475 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
476 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
477 <kernel-features.h>.
478 (unlinkat) [__NR_unlinkat]: Make code unconditional.
479 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
480 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
481 (__ASSUME_ATFCTS): Do not undefine and redefine.
482 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
483 <kernel-features.h>.
484 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
485 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
486 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
487 <kernel-features.h>.
488 (__xmknodat) [__NR_mknodat]: Make code unconditional.
489 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
490
491 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
492
493 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
494
495 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
496
497 [BZ #17069]
498 * posix/regcomp.c (parse_reg_exp): Deallocate partially
499 constructed tree before returning error.
500 * posix/bug-regexp36.c: Expand test case.
501
502 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
503
504 [BZ #6803]
505 * math/libm-test.inc (scalbln_test_date):
506 Add errno expectations.
507 * math/w_scalblnf.c: New File.
508 Add wrapper which checks for setting errno to ERANGE.
509 Add weak_alias for corresponding scalbln function.
510 * math/w_scalbln.c: Likewise.
511 * math/w_scalblnl.c: Likewise.
512 * math/Makefile (libm-calls): Add w_scalbln.
513 * sysdeps/ieee754/flt-32/s_scalblnf.c:
514 Remove weak_alias for corresponding scalbln function.
515 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
516 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
517 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
518 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
519 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
520 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
521 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
522 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
523 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
524 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
525 Remove long_double_symbol for scalblnl function in libm, libc.
526 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
527 Add wrapper which checks for setting errno to ERANGE.
528 Add long_double_symbol for scalblnl function in libm, libc.
529 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
530 Remove long_double_symbol for scalblnl in libm.
531 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
532 Add wrapper which checks for setting errno to ERANGE.
533 Add long_double_symbol for scalblnl function in libm.
534 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
535 Do not use wrapper because of own implementation.
536
537 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
538
539 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
540 3 bytes for __pad1 for x32.
541 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
542
543 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
544 H.J. Lu <hongjiu.lu@intel.com>
545
546 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
547 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
548 * sysdeps/x86_64/multiarch/memset.S: Likewise.
549 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
550 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
551
552 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
553
554 [BZ #17069]
555 * posix/regcomp.c (parse_expression): Deallocate partially
556 constructed tree before returning error.
557 * posix/Makefile.c (tests): Add bug-regex36.
558 (generated): Add bug-regex36.mtrace.
559 (tests-special): Add $(objpfx)bug-regex36-mem.out
560 (bug-regex36-ENV): New variable.
561 ($(objpfx)bug-regex36-mem.out): New rule.
562 * posix/bug-regex36.c: New file.
563
564 2014-06-19 Will Newton <will.newton@linaro.org>
565
566 * malloc/malloc.c (systrim): If extra is zero then return
567 early.
568
569 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
570
571 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
572
573 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
574
575 * sysdeps/aarch64/strchr.S: New file.
576
577 2014-06-18 Joseph Myers <joseph@codesourcery.com>
578
579 [BZ #17022]
580 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
581 from arguments -2 or below.
582 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
583 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
584
585 2014-06-18 Andreas Schwab <schwab@suse.de>
586
587 [BZ #17062]
588 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
589 of a bracket expr not to run off the end of the string.
590 * posix/Makefile (tests): Add tst-fnmatch3.
591 * posix/tst-fnmatch3.c: New file.
592
593 2014-06-18 Joseph Myers <joseph@codesourcery.com>
594
595 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
596 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
597 [$(cross-compiling) = no]: Likewise.
598 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
599 [$(cross-compiling) = no]: Likewise.
600
601 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
602
603 [BZ #17031]
604 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
605 double, adjusted for any remainder from the high double.
606 * math/libm-test.inc (nearbyint): Add tests.
607 (rint): Likewise.
608
609 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
610
611 * nptl/sysdeps/powerpc/Makefile: Moved ...
612 * sysdeps/powerpc/nptl/Makefile: ... here.
613 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
614 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
615 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
616 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
617 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
618 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
619 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
620 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
621 * nptl/sysdeps/powerpc/tls.h: Moved ...
622 * sysdeps/powerpc/nptl/tls.h: ... here.
623
624 2014-06-16 Joseph Myers <joseph@codesourcery.com>
625
626 [BZ #16681]
627 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
628 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
629 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
630 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
631 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
632 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
633 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
634 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
635 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
636
637 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
638
639 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
640
641 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
642
643 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
644 defined operator.
645
646 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
647 $TIMEOUTFACTOR.
648
649 2014-06-16 Florian Weimer <fweimer@redhat.com>
650
651 [BZ #17058]
652 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
653 non-executed part of the test.
654
655 2014-06-16 Andreas Schwab <schwab@suse.de>
656
657 * string/bits/string2.h (strdup, strndup): Update feature guard.
658
659 2014-06-14 David S. Miller <davem@davemloft.net>
660
661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
662
663 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
664
665 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
666 that was previously under [RESET_PID].
667 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
668
669 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
670 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
671 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
672 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
673 (__libc_vfork): New strong alias.
674 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
675
676 2014-06-14 Andi Kleen <ak@linux.intel.com>
677
678 * sysdeps/generic/elide.h: New file.
679
680 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
681
682 * Makefile (installed-headers): Adjust path of pthread.h header.
683
684 2014-06-13 Roland McGrath <roland@hack.frob.com>
685
686 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
687 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
688 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
689 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
690
691 * nptl/sysdeps/s390/Makefile: Moved ...
692 * sysdeps/s390/nptl/Makefile: ... here.
693 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
694 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
695 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
696 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
697 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
698 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
699 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
700 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
701 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
702 * sysdeps/s390/nptl/pthreaddef.h: ... here.
703 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
704 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
705 * nptl/sysdeps/s390/tls.h: Moved ...
706 * sysdeps/s390/nptl/tls.h: ... here.
707
708 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
709 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
710
711 2014-06-13 David S. Miller <davem@davemloft.net>
712
713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
716 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
720 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
721 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
722 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
723 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
724 Remove RESET_PID cpp guards.
725 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
726 Remove RESET_PID cpp guards.
727 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
728
729 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
730
731 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
732 __sp to uintptr_t.
733
734 2014-06-13 Andi Kleen <ak@linux.intel.com>
735
736 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
737 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
738 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
739 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
740 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
741 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
742 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
743 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
744 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
745 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
746 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
747 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
748 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
749 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
750 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
751 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
752 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
753 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
754 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
755 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
756
757 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
758 (pthread_rwlock_rdlock): Add elision.
759 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
760 (pthread_rwlock_wrlock): Add elision.
761 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
762 (pthread_rwlock_trywrlock): Add elision.
763 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
764 (pthread_rwlock_tryrdlock): Add elision.
765 * nptl/pthread_rwlock_unlock.c: Include elide.h.
766 (pthread_rwlock_tryrdlock): Add elision unlock.
767 * nptl/sysdeps/pthread/pthread.h:
768 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
769 (PTHREAD_RWLOCK_INITIALIZER,
770 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
771 Handle new elision field.
772 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
773 * sysdeps/arm/nptl/bits/pthreadtypes.h
774 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
775 * sysdeps/sh/nptl/bits/pthreadtypes.h
776 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
777 * sysdeps/tile/nptl/bits/pthreadtypes.h
778 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
779 * sysdeps/a/nptl/bits/pthreadtypes.h
780 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
781 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
782 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
783 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
784 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
785 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
786 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
787 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
788 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
789 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
790 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
791 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
792 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
793 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
794 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
795 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
796 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
797 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
798 (elision_init): Set try_xbegin to zero when no RTM.
799 * sysdeps/x86/nptl/bits/pthreadtypes.h
800 (pthread_rwlock_t): Change __pad1 to __rwelision.
801 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
802
803 2014-06-13 Andi Kleen <ak@linux.intel.com>
804
805 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
806 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
807 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
808 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
809
810 2014-06-13 Meador Inge <meadori@codesourcery.com>
811
812 [BZ #16996]
813 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
814 that the cached result has been set before returning it.
815
816 2014-06-12 Roland McGrath <roland@hack.frob.com>
817
818 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
819 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
820 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
821 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
822 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
823 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
824
825 * nptl/sysdeps/sparc/Makefile: Moved ...
826 * sysdeps/sparc/nptl/Makefile: ... here.
827 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
828 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
829 * nptl/sysdeps/sparc/tls.h: Moved ...
830 * sysdeps/sparc/nptl/tls.h: ... here.
831 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
832 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
833 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
834 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
835 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
836 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
837 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
838 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
839 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
840 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
841 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
842 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
843 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
844 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
845 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
846 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
847 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
848 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
849 Update #include.
850 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
851 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
852 Update #include.
853 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
854 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
855 Update #include.
856 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
857 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
858 Update #include.
859
860 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
861
862 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
863 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
864
865 * sysdeps/pthread/posix-timer.h: Include <list.h>.
866 (struct list_links): Type removed.
867 (struct thread_node, struct timer_node): Replace struct list_links
868 with struct list_head.
869 (list_unlink_ip): Likewise.
870 * sysdeps/pthread/timer_routines.c
871 (timer_free_list, thread_free_list, thread_active_list): Likewise.
872 (list_append, list_insbefore): Likewise.
873 (list_init): Function removed.
874 (thread_init, init_module): Use INIT_LIST_HEAD instead.
875 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
876 * sysdeps/pthread/Makefile: ... here, new file.
877
878 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
879 * sysdeps/nptl/Implies: ... here.
880 * sysdeps/unix/sysv/linux/Implies: Add nptl.
881 * nptl/sysdeps/pthread/list.h: Moved ...
882 * include/list.h: ... here.
883 * nptl/sysdeps/pthread/createthread.c: Moved ...
884 * nptl/createthread.c: ... here.
885 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
886 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
887 * nptl/pt-longjmp.c: ... here.
888 * nptl/sysdeps/pthread/Makefile: Moved ...
889 * sysdeps/nptl/Makefile: ... here.
890 * nptl/sysdeps/pthread/Subdirs: Moved ...
891 * sysdeps/nptl/Subdirs: ... here.
892 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
893 * sysdeps/nptl/aio_misc.h: ... here.
894 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
895 * sysdeps/nptl/bits/libc-lock.h: ... here.
896 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
897 * sysdeps/nptl/bits/libc-lockP.h: ... here.
898 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
899 * sysdeps/nptl/bits/stdio-lock.h: ... here.
900 * nptl/sysdeps/pthread/configure: Moved ...
901 * sysdeps/nptl/configure: ... here.
902 * nptl/sysdeps/pthread/configure.ac: Moved ...
903 * sysdeps/nptl/configure.ac: ... here.
904 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
905 * sysdeps/nptl/gai_misc.h: ... here.
906 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
907 * sysdeps/nptl/librt-cancellation.c: ... here.
908 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
909 * sysdeps/nptl/malloc-machine.h: ... here.
910 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
911 * sysdeps/nptl/pthread-functions.h: ... here.
912 * nptl/sysdeps/pthread/pthread.h: Moved ...
913 * sysdeps/nptl/pthread.h: ... here.
914 * nptl/sysdeps/pthread/setxid.h: Moved ...
915 * sysdeps/nptl/setxid.h: ... here.
916 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
917 * sysdeps/nptl/sigfillset.c: ... here.
918 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
919 * sysdeps/nptl/tcb-offsets.h: ... here.
920 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
921 * sysdeps/nptl/tst-mqueue8x.c: ... here.
922 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
923 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
924 * nptl/sysdeps/pthread/allocalim.h: Moved ...
925 * sysdeps/pthread/allocalim.h: ... here.
926 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
927 * sysdeps/pthread/bits/sigthread.h: ... here.
928 * nptl/sysdeps/pthread/flockfile.c: Moved ...
929 * sysdeps/pthread/flockfile.c: ... here.
930 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
931 * sysdeps/pthread/ftrylockfile.c: ... here.
932 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
933 * sysdeps/pthread/funlockfile.c: ... here.
934 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
935 * sysdeps/pthread/posix-timer.h: ... here.
936 * nptl/sysdeps/pthread/timer_create.c: Moved ...
937 * sysdeps/pthread/timer_create.c: ... here.
938 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
939 * sysdeps/pthread/timer_delete.c: ... here.
940 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
941 * sysdeps/pthread/timer_getoverr.c: ... here.
942 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
943 * sysdeps/pthread/timer_gettime.c: ... here.
944 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
945 * sysdeps/pthread/timer_routines.c: ... here.
946 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
947 * sysdeps/pthread/timer_settime.c: ... here.
948 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
949 * sysdeps/pthread/tst-timer.c: ... here.
950 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
951 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
952
953 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
954 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
955
956 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
957 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
958 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
959 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
960 Update #include target.
961 * nptl/sysdeps/i386/i686/Makefile: Moved ...
962 * sysdeps/i386/i686/nptl/Makefile: ... here.
963 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
964 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
965 Update #include target.
966 * nptl/sysdeps/i386/i686/tls.h: Moved ...
967 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
968 * nptl/sysdeps/i386/Makefile: Moved ...
969 * sysdeps/i386/nptl/Makefile: ... here.
970 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
971 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
972 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
973 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
974 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
975 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
976 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
977 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
978 * sysdeps/i386/nptl/pthreaddef.h: ... here.
979 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
980 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
981 * nptl/sysdeps/i386/tls.h: Moved ...
982 * sysdeps/i386/nptl/tls.h: ... here.
983
984 * sysdeps/sh/Makefile [$(subdir) = csu]
985 (gen-as-const-headers): Add tcb-offsets.sym.
986 * nptl/sysdeps/sh/Makefile: File removed.
987 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
988 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
989 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
990 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
991 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
992 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
993 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
994 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
995 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
996 * sysdeps/sh/nptl/pthreaddef.h: ... here.
997 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
998 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
999 * nptl/sysdeps/sh/tls.h: Moved ...
1000 * sysdeps/sh/nptl/tls.h: ... here.
1001 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1002 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1003 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1004 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1005 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1006 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1007 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1008 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1009 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1010 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1011 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1012 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1013 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1014 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1015 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1016 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1017 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1018 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1019 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1020 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1021 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1022 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1023 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1024 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1025 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1026 Moved ...
1027 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1028 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1029 Moved ...
1030 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1031 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1032 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1033 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1034 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1035 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1036 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1037 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1038 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1039 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1040 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1041 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1042 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1043 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1044 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1045 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1046 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1047 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1048 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1049
1050 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1051
1052 * posix/spawn_faction_addopen.c: Include string.h.
1053
1054 2014-06-11 Roland McGrath <roland@hack.frob.com>
1055
1056 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1057 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1058 * nptl/sysdeps/x86_64/Makefile: Moved ...
1059 * sysdeps/x86_64/nptl/Makefile: ... here.
1060 * nptl/sysdeps/x86_64/configure: Moved ...
1061 * sysdeps/x86_64/nptl/configure: ... here.
1062 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1063 * sysdeps/x86_64/nptl/configure.ac: ... here.
1064 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1065 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1066 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1067 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1068 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1069 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1070 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1071 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1072 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1073 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1074 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1075 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1076 * nptl/sysdeps/x86_64/tls.h: Moved ...
1077 * sysdeps/x86_64/nptl/tls.h: ... here.
1078 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1079 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1080 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1081 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1082
1083 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1084
1085 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1086
1087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1088
1089 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1090
1091 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1092 type.
1093 [POSIX] (off_t): Likewise.
1094 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1095 [POSIX] (S_ISBLK): Require macro.
1096 [POSIX] (S_ISCHR): Likewise.
1097 [POSIX] (S_ISDIR): Likewise.
1098 [POSIX] (S_ISFIFO): Likewise.
1099 [POSIX] (S_ISREG): Likewise.
1100 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1101 optional-macro.
1102 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1103 type.
1104 [POSIX] (time_t): Likewise.
1105 [POSIX] (timer_t): Likewise.
1106
1107 2014-06-11 Florian Weimer <fweimer@redhat.com>
1108
1109 [BZ #17048]
1110 * posix/spawn_int.h (struct __spawn_action): Make the path string
1111 non-const to support deallocation.
1112 * posix/spawn_faction_addopen.c
1113 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1114 * posix/spawn_faction_destroy.c
1115 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1116 path in all spawn_do_open actions.
1117 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1118 posix_spawn_file_actions_addopen.
1119
1120 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1121
1122 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1123 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1124 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1125 conditional code always true.
1126 (__libc_vfork): New alias.
1127
1128 2014-06-11 Roland McGrath <roland@hack.frob.com>
1129
1130 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1131 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1132
1133 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1134
1135 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1136 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1137
1138 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1139 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1140
1141 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1142 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1143
1144 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1145
1146 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1147 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1148 multiarch strcmp for PPC64.
1149 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1150 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1152 multiarch optimizations.
1153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1154 (__libc_ifunc_impl_list): Likewise.
1155
1156 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1157
1158 * benchtests/scripts/validate_benchout.py: New script.
1159 * benchtests/Makefile (bench-func): Call it.
1160 * benchtests/scripts/benchout.schema.json: New file.
1161
1162 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1163
1164 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1165 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1166 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1167 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1168 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1169 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1170 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1171 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1172 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1173 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1174 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1175 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1176 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1177 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1178 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1179 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1181 Moved ...
1182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1183 ... here.
1184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1185 Moved ...
1186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1188 Moved ...
1189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1190 ... here.
1191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1192 Moved ...
1193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1194 ... here.
1195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1196 Moved ...
1197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1199 Moved ...
1200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1201 ... here.
1202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1203 Moved ...
1204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1205 ... here.
1206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1207 Moved ...
1208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1210 Moved ...
1211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1212 ... here.
1213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1214 Moved ...
1215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1216 ... here.
1217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1218 Moved ...
1219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1220 ... here.
1221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1222 Moved ...
1223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1225 Moved ...
1226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1227 ... here.
1228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1229 Moved ...
1230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1231 ... here.
1232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1233 Moved ...
1234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1235 ... here.
1236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1237 Moved ...
1238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1240 Moved ...
1241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1242 ... here.
1243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1244 Moved ...
1245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1246 ... here.
1247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1248 Moved ...
1249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1251 Moved ...
1252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1253 ... here.
1254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1255 Moved ...
1256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1258 Moved ...
1259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1261 Moved ...
1262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1263 ... here.
1264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1265 Moved ...
1266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1267 ... here.
1268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1269 Moved ...
1270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1271 ... here.
1272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1273 Moved ...
1274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1276 Moved ...
1277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1278 ... here.
1279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1280 Moved ...
1281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1282 ... here.
1283 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1284 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1285 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1286 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1287 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1288 Moved ...
1289 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1290 ... here.
1291 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1292 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1293 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1294 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1295 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1296 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1297 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1298 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1299 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1300 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1301 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1302 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1303 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1304 Moved ...
1305 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1306 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1307 Moved ...
1308 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1309 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1310 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1311 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1312 Moved ...
1313 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1314 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1315 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1316 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1317 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1318 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1319 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1320
1321 2014-06-10 Wilco <wdijkstr@arm.com>
1322
1323 * math/test-fenv-return.c: New file.
1324 * math/Makefile: Add new test test-fenv-return.
1325
1326 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1327
1328 [BZ #17042]
1329 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1330 when x - 1 is zero.
1331 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1332 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1333 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1334 0.0L for an argument of 1.0L.
1335 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1336 Likewise.
1337 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1338 value when x - 1 is zero.
1339 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1340 * sysdeps/i386/fpu/libm-test-ulps: Update.
1341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1342
1343 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1344
1345 [BZ #15119]
1346 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1347
1348 2014-06-09 Roland McGrath <roland@hack.frob.com>
1349
1350 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1351 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1352
1353 2014-06-09 Roland McGrath <roland@hack.frob.com>
1354
1355 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1356 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1357
1358 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1359 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1360
1361 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1362 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1363
1364 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1365 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1366
1367 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1368 if not already defined.
1369 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1370 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1371 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1372 (TLS_INIT_TP): Use it.
1373 (TLS_DEFINE_INIT_TP): New macro.
1374 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1375
1376 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1377
1378 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1379 constant.
1380 [POSIX] (IXANY): Likewise.
1381 [POSIX] (OLCUC): Likewise.
1382 [POSIX || POSIX2008] (CBAUD): Do not allow.
1383 [POSIX || POSIX2008] (DEFECHO): Likewise.
1384 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1385 [POSIX || POSIX2008] (ECHOKE): Likewise.
1386 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1387 [POSIX || POSIX2008] (EXTA): Likewise.
1388 [POSIX || POSIX2008] (EXTB): Likewise.
1389 [POSIX || POSIX2008] (FLUSHO): Likewise.
1390 [POSIX || POSIX2008] (LOBLK): Likewise.
1391 [POSIX || POSIX2008] (PENDIN): Likewise.
1392 [POSIX || POSIX2008] (SWTCH): Likewise.
1393 [POSIX || POSIX2008] (VDISCARD): Likewise.
1394 [POSIX || POSIX2008] (VDSUSP): Likewise.
1395 [POSIX || POSIX2008] (VLNEXT): Likewise.
1396 [POSIX || POSIX2008] (VREPRINT): Likewise.
1397 [POSIX || POSIX2008] (VSTATUS): Likewise.
1398 [POSIX || POSIX2008] (VWERASE): Likewise.
1399 (B*): Change to B[0123456789]*.
1400 * conform/data/time.h-data [POSIX || UNIX98]
1401 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1402 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1403 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1404 [POSIX] (tm_*): Do not allow.
1405
1406 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1407
1408 * Makefile (install): Don't set LANGUAGE.
1409 * Makefile.in (install): Likewise.
1410 * assert/Makefile (test-assert-ENV): Remove variable.
1411 (test-assert-perr-ENV): Likewise.
1412 * elf/Makefile (neededtest4-ENV): Likewise.
1413 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1414 [$(cross-compiling) = no]: Don't set LANGUAGE.
1415 * io/ftwtest-sh (LANG): Remove variable.
1416 * libio/Makefile (tst-widetext-ENV): Likewise.
1417 * manual/install.texi (Running make install): Don't refer to
1418 environment settings for make install.
1419 * INSTALL: Regenerated.
1420 * nptl/tst-tls6.sh: Don't set LANG.
1421 * posix/globtest.sh (LANG): Remove variable.
1422 * string/Makefile (tester-ENV): Likewise.
1423 (inl-tester-ENV): Likewise.
1424 (noinl-tester-ENV): Likewise.
1425 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1426 [$(cross-compiling) = no]: Don't set LANGUAGE.
1427 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1428 without explicit environment settings.
1429
1430 2014-06-06 Roland McGrath <roland@hack.frob.com>
1431
1432 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1433 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1434 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1435 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1436
1437 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1438
1439 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1440 other files in the crypt directory.
1441 * crypt/crypt.c: Remove duplicate includes.
1442 * crypt/crypt-entry.c: Likewise.
1443 * crypt/crypt_util.c: Likewise.
1444
1445 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1446
1447 * Makeconfig (run-program-env): New variable.
1448 (run-program-prefix-before-env): Likewise.
1449 (run-program-prefix-after-env): Likewise.
1450 (run-program-prefix): Define in terms of new variables.
1451 (built-program-cmd-before-env): New variable.
1452 (built-program-cmd-after-env): Likewise.
1453 (built-program-cmd): Define in terms of new variables.
1454 (test-program-prefix-before-env): New variable.
1455 (test-program-prefix-after-env): Likewise.
1456 (test-program-prefix): Define in terms of new variables.
1457 (test-program-cmd-before-env): New variable.
1458 (test-program-cmd-after-env): Likewise.
1459 (test-program-cmd): Define in terms of new variables.
1460 * Rules (make-test-out): Use $(run-program-env).
1461 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1462 (help): Do not mention environment variables. Mention
1463 --timeoutfactor option.
1464 (timeoutfactor): New variable.
1465 (blacklist_exports): Remove function.
1466 (exports): Remove variable.
1467 (command): Do not include ${exports}.
1468 * manual/install.texi (Configuring and compiling): Do not mention
1469 test wrappers preserving environment variables. Mention that last
1470 assignment to a variable must take precedence.
1471 * INSTALL: Regenerated.
1472 * benchtests/Makefile (run-bench): Use $(run-program-env).
1473 * catgets/Makefile ($(objpfx)test1.cat): Use
1474 $(built-program-cmd-before-env), $(run-program-env) and
1475 $(built-program-cmd-after-env).
1476 ($(objpfx)test2.cat): Do not specify environment variables
1477 explicitly.
1478 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1479 $(run-program-env) and $(built-program-cmd-after-env).
1480 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1481 $(run-program-env) and $(test-program-cmd-after-env).
1482 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1483 explicitly.
1484 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1485 run_program_env and test_program_cmd_after_env arguments.
1486 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1487 * elf/tst-pathopt.sh: Use run_program_env argument.
1488 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1489 $(test-wrapper-env) and $(run-program-env).
1490 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1491 run_program_env arguments.
1492 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1493 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1494 $(test-program-prefix-before-env), $(run-program-env) and
1495 $(test-program-prefix-after-env).
1496 ($(objpfx)tst-gettext2.out): Likewise.
1497 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1498 run_program_env and test_program_prefix_after_env arguments.
1499 * intl/tst-gettext2.sh: Likewise.
1500 * intl/tst-gettext4.sh: Do not set environment variables
1501 explicitly.
1502 * intl/tst-gettext6.sh: Likewise.
1503 * intl/tst-translit.sh: Likewise.
1504 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1505 $(test-program-prefix-before-env), $(run-program-env) and
1506 $(test-program-prefix-after-env).
1507 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1508 run_program_env and test_program_prefix_after_env arguments.
1509 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1510 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1511 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1512 explicitly with each use of ${test_wrapper_env}.
1513 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1514 $(test-program-prefix-before-env), $(run-program-env) and
1515 $(test-program-prefix-after-env).
1516 * posix/tst-getconf.sh: Do not set environment variables
1517 explicitly.
1518 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1519 run_program_env and test_program_prefix_after_env arguments.
1520 * stdio-common/tst-printf.sh: Do not set environment variables
1521 explicitly.
1522 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1523 $(test-program-prefix-before-env), $(run-program-env) and
1524 $(test-program-prefix-after-env).
1525 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1526 run_program_env and test_program_prefix_after_env arguments.
1527 Split $test calls into $test_pre and $test.
1528 * timezone/Makefile (build-testdata): Use
1529 $(built-program-cmd-before-env), $(run-program-env) and
1530 $(built-program-cmd-after-env).
1531
1532 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1533
1534 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1535 strlen for non SHARED builds.
1536
1537 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1538
1539 * nptl/allocatestack.c (check_list): Inlined function...
1540 (__reclaim_stacks): ... here.
1541
1542 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1543
1544 [BZ #15698]
1545 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1546 memory overrun.
1547
1548 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1549
1550 * Rules (make-test-out): Include
1551 LOCPATH=$(common-objpfx)localedata in default environment.
1552 * debug/Makefile (tst-chk1-ENV): Remove variable.
1553 (tst-chk2-ENV): Likewise.
1554 (tst-chk3-ENV): Likewise.
1555 (tst-chk4-ENV): Likewise.
1556 (tst-chk5-ENV): Likewise.
1557 (tst-chk6-ENV): Likewise.
1558 (tst-lfschk1-ENV): Likewise.
1559 (tst-lfschk2-ENV): Likewise.
1560 (tst-lfschk3-ENV): Likewise.
1561 (tst-lfschk4-ENV): Likewise.
1562 (tst-lfschk5-ENV): Likewise.
1563 (tst-lfschk6-ENV): Likewise.
1564 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1565 (tst-iconv7-ENV): Likewise.
1566 * intl/Makefile (LOCPATH-ENV): Likewise.
1567 (tst-codeset-ENV): Likewise.
1568 (tst-gettext3-ENV): Likewise.
1569 (tst-gettext5-ENV): Likewise.
1570 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1571 (tst-fopenloc-ENV): Likewise.
1572 (tst-fgetws-ENV): Remove variable.
1573 (tst-ungetwc1-ENV): Likewise.
1574 (tst-ungetwc2-ENV): Likewise.
1575 (bug-ungetwc2-ENV): Likewise.
1576 (tst-swscanf-ENV): Likewise.
1577 (bug-ftell-ENV): Likewise.
1578 (tst-fgetwc-ENV): Likewise.
1579 (tst-fseek-ENV): Likewise.
1580 (tst-ftell-partial-wide-ENV): Likewise.
1581 (tst-ftell-active-handler-ENV): Likewise.
1582 (tst-ftell-append-ENV): Likewise.
1583 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1584 (tst-regexloc-ENV): Likewise.
1585 (bug-regex1-ENV): Likewise.
1586 (tst-regex-ENV): Likewise.
1587 (tst-regex2-ENV): Likewise.
1588 (bug-regex5-ENV): Likewise.
1589 (bug-regex6-ENV): Likewise.
1590 (bug-regex17-ENV): Likewise.
1591 (bug-regex18-ENV): Likewise.
1592 (bug-regex19-ENV): Likewise.
1593 (bug-regex20-ENV): Likewise.
1594 (bug-regex22-ENV): Likewise.
1595 (bug-regex23-ENV): Likewise.
1596 (bug-regex25-ENV): Likewise.
1597 (bug-regex26-ENV): Likewise.
1598 (bug-regex30-ENV): Likewise.
1599 (bug-regex32-ENV): Likewise.
1600 (bug-regex33-ENV): Likewise.
1601 (bug-regex34-ENV): Likewise.
1602 (bug-regex35-ENV): Likewise.
1603 (tst-rxspencer-ENV): Likewise.
1604 (tst-rxspencer-no-utf8-ENV): Likewise.
1605 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1606 (tst-sscanf-ENV): Likewise.
1607 (tst-swprintf-ENV): Likewise.
1608 (tst-swscanf-ENV): Likewise.
1609 (test-vfprintf-ENV): Likewise.
1610 (scanf13-ENV): Likewise.
1611 (bug14-ENV): Likewise.
1612 (tst-grouping-ENV): Likewise.
1613 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1614 (tst-strtod3-ENV): Likewise.
1615 (tst-strtod4-ENV): Likewise.
1616 (tst-strtod5-ENV): Likewise.
1617 (testmb2-ENV): Likewise./
1618 * string/Makefile (tst-strxfrm-ENV): Likewise.
1619 (tst-strxfrm2-ENV): Likewise.
1620 (bug-strcoll1-ENV): Likewise.
1621 (test-strcasecmp-ENV): Likewise.
1622 (test-strncasecmp-ENV): Likewise.
1623 * time/Makefile (tst-strptime-ENV): Likewise.
1624 (tst-ftime_l-ENV): Likewise.
1625 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1626 (tst-mbrtowc-ENV): Likewise.
1627 (tst-wcrtomb-ENV): Likewise.
1628 (tst-mbrtowc2-ENV): Likewise.
1629 (tst-c16c32-1-ENV): Likewise.
1630 (tst-mbsnrtowcs-ENV): Likewise.
1631
1632 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1633
1634 * manual/resource.texi (How to get information about the memory
1635 subsystem?): Fix typo.
1636 Reported by Peon de la Parra Ivan <peon@keba.com>
1637
1638 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1639
1640 [BZ #16882]
1641 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1642 (pthread_spin_lock): Branch out of spin loop to proper location.
1643 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1644 (pthread_spin_lock): Likewise.
1645
1646 * nptl/tst-spin4.c: New test.
1647 * nptl/Makefile (tests): Add tst-spin4.
1648
1649 2014-06-03 Andreas Schwab <schwab@suse.de>
1650
1651 [BZ #15946]
1652 * resolv/res_send.c (send_dg): Reload file descriptor after
1653 calling reopen.
1654
1655 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1656
1657 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1658
1659 2014-06-03 Richard Henderson <rth@redhat.com>
1660
1661 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1662 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1663 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1664 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1665 in the SAVE_PID block.
1666 (__libc_vfork): New alias.
1667 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1668
1669 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1670 child in registers, not on the stack. Remove RESET_PID conditionals.
1671 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1672
1673 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1674
1675 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1676
1677 2014-06-03 Wilco <wdijkstr@arm.com>
1678
1679 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1680 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1681 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1682 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1683 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1684 Likewise.
1685
1686 2014-06-03 Wilco <wdijkstr@arm.com>
1687
1688 * sysdeps/aarch64/fpu/math_private.h
1689 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1690 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1691 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1692 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1693 Fix declarations.
1694
1695 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1696
1697 * crypt/crypt-private.h: Include ufc-crypt.h.
1698 (__b64_from_24bit): Declare extern.
1699 * crypt/crypt_util.c(__b64_from_24bit): New function.
1700 (b64t): New static const variable.
1701 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1702 (b64t): Remove variable.
1703 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1704 * crypt/sha256-crypt.c: Include crypt-private.h.
1705 (b64t): Remove variable.
1706 (__sha256_crypt_r): Remove b64_from_24bit and replace
1707 with __b64_from_24bit.
1708 * crypt/sha512-crypt.c: Likewise.
1709
1710 2014-06-02 Roland McGrath <roland@hack.frob.com>
1711
1712 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1713 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1714 Label the code __libc_vfork rather than __vfork.
1715 [!NOT_IN_libc] (vfork): Define as weak alias.
1716 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1717 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1718 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1719
1720 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1721
1722 * malloc/malloc.c (malloc_info): Fix format specifier for
1723 n_mmaps.
1724
1725 2014-06-02 Wilco <wdijkstr@arm.com>
1726
1727 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1728 FPCR write.
1729
1730 2014-06-02 Wilco <wdijkstr@arm.com>
1731
1732 [BZ #17009]
1733 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1734 Rewrite to reduce FPCR/FPSR accesses.
1735
1736 2014-06-01 David S. Miller <davem@davemloft.net>
1737
1738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1739
1740 2014-05-31 David S. Miller <davem@davemloft.net>
1741
1742 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1743 to occur in round to nearest mode when |x| >= 2.0
1744
1745 2014-05-30 Richard Henderson <rth@twiddle.net>
1746
1747 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1748 (PSEUDO_RET_NOERRNO): Remove.
1749 (ret): Don't redefine.
1750 (ret_NOERRNO): Define in terms of ret.
1751 (ret_ERRVAL): Likewise.
1752
1753 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1754 use of PSEUDO_RET; perform the error check directly.
1755
1756 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1757
1758 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1759 with __int128_t.
1760
1761 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1762
1763 * malloc/malloc (malloc_info): Fix formatting.
1764
1765 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1766 Roland McGrath <roland@hack.frob.com>
1767
1768 * malloc/malloc (malloc_info): Also print mmapped statistics.
1769
1770 2014-05-30 Roland McGrath <roland@hack.frob.com>
1771
1772 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1773 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1774
1775 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1776
1777 * malloc/malloc.c (malloc_info): Inline mi_arena.
1778
1779 2014-05-29 Richard Henderson <rth@twiddle.net>
1780
1781 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1782 Remove comma before expanding ASM_ARGS_##nr.
1783 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1784 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1785 of ASM_ARGS_##nr.
1786 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1787 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1788 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1789 (ASM_ARGS_1): Add leading comma.
1790
1791 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1792 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1793 to __errno_location.
1794 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1795 Remove the expected plt for __errno_location.
1796
1797 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1798 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1799 call to __read_tp.
1800
1801 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1802 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1803 it and break it down.
1804 (DOCARGS_0, DOCARGS_1): Do nothing.
1805 (DOCARGS_2): Update to store into the new stack frame.
1806 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1807 (UNDOCARGS_1): Update to restore from the new stack frame.
1808 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1809 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1810
1811 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1812 (SINGLE_THREAD_P): New parameter for result regno.
1813 (PSEUDO): Update to match; use cbz instead of beq.
1814
1815 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1816 Use ENTRY to define the _nocancel entry point. Share the syscall
1817 and syscall error check paths with the cancel path.
1818 (PSEUDO_END): New.
1819
1820 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1821 whitespace; tabs before and after asm mnemonics.
1822
1823 2014-05-29 Eric Wong <normalperson@yhbt.net>
1824
1825 [BZ #15132]
1826 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1827 Call fstat64 or stat64 internally, depending on arguments passed.
1828 Replace stat buffer argument with file descriptor argument.
1829 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1830 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1831 Pass fd to __internal_statvfs instead of calling fstat64.
1832 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1833 Pass fd to __internal_statvfs64 instead of calling fstat64.
1834 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1835 Pass -1 to __internal_statvfs instead of calling stat64.
1836 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1837 Pass -1 to __internal_statvfs64 instead of calling stat64.
1838
1839 2014-05-28 Roland McGrath <roland@hack.frob.com>
1840
1841 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1842 that was previously under [RESET_PID].
1843 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1844
1845 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1846 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1847
1848 2014-05-27 Roland McGrath <roland@hack.frob.com>
1849
1850 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1851
1852 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1853 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1854
1855 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1856
1857 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1858
1859 2014-05-27 Andreas Schwab <schwab@suse.de>
1860
1861 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1862 TLS_INIT_TP macro.
1863 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1864 * elf/rtld.c (init_tls, dl_main): Likewise.
1865 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1866 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1867 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1868 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1869 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1870 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1871 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1872 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1873 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1874 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1875 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1876 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1877 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1878 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1879 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1880 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1881 * sysdeps/generic/tls.h: Update description.
1882
1883 2014-05-27 Will Newton <will.newton@linaro.org>
1884
1885 [BZ #16990]
1886 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1887 and restore r2 rather than just restoring.
1888
1889 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1890
1891 [BZ #16724]
1892 * libio/tst-ftell-append.c: New test case.
1893 * libio/Makefile (tests): Add test case.
1894 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1895 append mode.
1896 * libio/wfileops.c (do_ftell_wide): Likewise.
1897
1898 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1899
1900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1901
1902 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1903 ...
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1906 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1907 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1908 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1909 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1910 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1911 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1912 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1913 Moved ...
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1916 Moved ...
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1918 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1919 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1920 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1921 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1922 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1923 ...
1924 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1925 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1926 Moved ...
1927 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1928 here.
1929 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1930 ...
1931 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1932 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1933 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1934
1935 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1936 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1937 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1938 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1939
1940 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1941 merge into ...
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1943 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1944 ...
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1946 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1947 ...
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1949 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1950 Moved ...
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1952 here.
1953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1954 Moved ...
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1956 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1957 Moved ...
1958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1959
1960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1961 conditional [RESET_PID].
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1963 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1964 removed.
1965 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1966 removed.
1967
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1969 <tcb-offsets.h>.
1970 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1971 (__libc_vfork): New strong alias.
1972 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1973 removed.
1974 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1975 Removed.
1976
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1978 <tcb-offsets.h>.
1979 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1980 (__libc_vfork): New strong alias.
1981 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1982 removed.
1983 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1984 removed.
1985
1986 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1987
1988 * malloc/malloc.c (mi_arena): New function.
1989 (malloc_info): Remove nested function mi_arena. Call non-nosted
1990 function mi_arena.
1991
1992 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1993
1994 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1995 by insrwi.
1996 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1997 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1998 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1999 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2000 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2001 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2002 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2003
2004 2014-05-26 Andreas Schwab <schwab@suse.de>
2005
2006 [BZ #16984]
2007 * locale/programs/repertoire.c (repertoire_read): Add slash
2008 between I18NPATH element and file name.
2009 * locale/programs/locfile.c (locfile_read): Likewise.
2010
2011 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2012
2013 * nptl/pthread_mutexattr_settype.c
2014 (__pthread_mutexattr_settype):
2015 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2016
2017 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2018
2019 * nptl/tst-mutex5 (do_test):
2020 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2021
2022 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2023
2024 * benchtests/README: Document 'init' directive.
2025 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2026 BENCH_INIT.
2027 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2028 (parse_file): Recognize 'init' directive.
2029
2030 2014-05-26 Kyle McMartin <kyle@redhat.com>
2031
2032 [BZ #16796]
2033 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2034 alignment of struct pthread.
2035
2036 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2037
2038 [BZ #16878]
2039 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2040 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2041 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2042 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2043
2044 2014-05-25 Richard Henderson <rth@twiddle.net>
2045
2046 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2047 (SINGLE_THREAD_P_PIC): Remove.
2048 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2049 (SINGLE_THREAD_P_PIC): Remove.
2050
2051 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2052 branch to syscall error ...
2053 (PSEUDO): ... here.
2054 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2055 from __local_syscall_error to .Lsyscall_error.
2056 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2057 (SYSCALL_ERROR): Update label name.
2058
2059 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2060 Do not use DOARGS/UNDOARGS.
2061 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2062 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2063 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2064 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2065 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2066
2067 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2068 block comment.
2069
2070 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2071 define if !NOT_IN_libc.
2072 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2073 define with non-default symbol versions.
2074
2075 2014-05-23 Richard Henderson <rth@twiddle.net>
2076
2077 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2078 (vfork, __vfork): Define via compat_symbol.
2079
2080 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2081 [!HAVE_IFUNC] (vfork_compat): Remove.
2082 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2083
2084 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2085
2086 [BZ #16978]
2087 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2088 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2089 variable.
2090
2091 2014-05-23 Richard Henderson <rth@twiddle.net>
2092
2093 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2094 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2095 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2096 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2097
2098 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2099 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2100 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2101 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2102 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2103 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2104 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2105 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2106 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2107 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2108 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2109 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2110 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2111 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2112 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2113 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2114 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2115 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2116 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2117 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2118 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2119 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2120 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2121 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2122 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2123 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2124 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2125 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2126 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2127 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2128 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2129 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2130 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2131 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2132 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2133 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2134 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2135 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2136 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2137 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2138 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2139 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2140 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2141 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2142 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2143 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2144 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2145 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2146 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2147 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2148 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2149 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2150 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2151 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2152 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2153 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2154
2155 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2156 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2157 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2158 before exiting on error.
2159 (__libc_vfork): New strong alias.
2160 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2161 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2162
2163 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2164 that was previously under [RESET_PID].
2165 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2166
2167 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2168
2169 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2170
2171 [BZ #16977]
2172 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2173 value when x - 1 is zero.
2174 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2175 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2176 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2177 0.0L for an argument of 1.0L.
2178 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2179 Likewise.
2180 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2181 value when x - 1 is zero.
2182 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2183 * sysdeps/i386/fpu/libm-test-ulps: Update.
2184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2185
2186 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2187
2188 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2189 alphasort and versionsort.
2190
2191 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2192
2193 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2194 macro.
2195 [copysignf]: Likewise.
2196
2197 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2198
2199 * crypt/md5-crypt.c: Fix formatting.
2200
2201 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2202
2203 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2204 (b64_from_24bit): New function.
2205
2206 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2207
2208 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2209 libc_hidden_builtin_def to ifunc.
2210 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2211 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2212
2213 2014-05-21 Roland McGrath <roland@hack.frob.com>
2214
2215 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2216 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2217
2218 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2219
2220 * nscd/Depend (linuxthreads): Remove.
2221 (nptl): Add.
2222 * resolv/Depend (linuxthreads): Remove.
2223 * rt/Depend (linuxthreads): Remove.
2224
2225 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2226 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2227 $(common-objpfx)elf/.
2228 (link-libc-before-gnulib): Likewise.
2229 (elfobjdir): Remove variable.
2230 * Makefile (install): Use $(elf-objpfx) instead of
2231 $(common-objpfx)elf/.
2232 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2233 $(elfobjdir)/.
2234 (link-libc-deps): Likewise.
2235 ($(common-objpfx)libc.so): Likewise.
2236 ($(common-objpfx)linkobj/libc.so): Likewise.
2237 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2238 instead of $(common-objpfx)elf/.
2239 (symbolic-link-list): Likewise.
2240 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2241 [$(cross-compiling) = no]: Likewise.
2242 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2243 $(elfobjdir)/.
2244 (static-gnulib-arch): Likewise.
2245 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2246 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2247 $(common-objpfx)elf/.
2248
2249 2014-05-21 Richard Henderson <rth@redhat.com>
2250
2251 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2252 (SINGLE_THREAD_P): Use the correct width load. Fold
2253 into the ldr offset.
2254
2255 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2256 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2257
2258 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2259
2260 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2261 (libgcc_s_resume): Use __attribute_used__.
2262 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2263 Likewise.
2264
2265 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2266
2267 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2268 optimization when used with float constants.
2269
2270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2271
2272 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2273
2274 [BZ #16915]
2275 * locale/nl_langinfo_l.c: Make direct reference to every
2276 _nl_current_CATEGORY symbol.
2277 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2278 (tests-static): Add tst-langinfo-static.
2279 (tests-special): Add tst-langinfo-static.out.
2280 ($(objpfx)tst-langinfo.out): Redirect output.
2281 ($(objpfx)tst-langinfo-static.out): New.
2282 * localedata/tst-langinfo.sh: Send output to stdout.
2283 * localedata/tst-langinfo-static.c: New file.
2284
2285 [BZ #16965]
2286 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2287 when the shift amount is modulo the limb size.
2288
2289 2014-05-20 Richard Henderson <rth@redhat.com>
2290
2291 [BZ #16967]
2292 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2293 Change type of sa_flags from unsigned int to int.
2294
2295 [BZ #16966]
2296 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2297
2298 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2299
2300 2014-05-20 Will Newton <will.newton@linaro.org>
2301
2302 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2303 Test the return value of the system call in the nocancel case.
2304
2305 2014-05-20 Will Newton <will.newton@linaro.org>
2306 Yvan Roux <yvan.roux@linaro.org>
2307
2308 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2309 #include of asm/ptrace.h.
2310 (PTRACE_GET_THREAD_AREA): Remove #undef.
2311 (PTRACE_GETHBPREGS): Likewise.
2312 (PTRACE_SETHBPREGS): Likewise.
2313 (struct user_regs_struct): New structure.
2314 (struct user_fpsimd_struct): New structure.
2315 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2316 #include of asm/ptrace.h and second #include of sys/user.h.
2317 (PTRACE_GET_THREAD_AREA): Remove #undef.
2318 (PTRACE_GETHBPREGS): Likewise.
2319 (PTRACE_SETHBPREGS): Likewise.
2320 (ELF_NGREG): Use new struct user_regs_struct.
2321 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2322
2323 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2324
2325 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2326 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2327
2328 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2329
2330 [BZ #16958]
2331 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2332 membar to avoid block loads/stores to overlap previous stores.
2333
2334 2014-05-17 Richard Henderson <rth@redhat.com>
2335
2336 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2337 Create the __##syscall_name##_nocancel entry point.
2338 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2339 Remove; let the sysdep-cancel.h code create it.
2340
2341 2014-05-17 David S. Miller <davem@davemloft.net>
2342
2343 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2344 Protect with __USE_GNU.
2345 (TIOCSET_TEMPT): Likewise.
2346 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2347 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2348 these are already provided in bits/ioctl-types.h
2349
2350 2014-05-16 Roland McGrath <roland@hack.frob.com>
2351
2352 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2353 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2354
2355 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2356 Use wait4 regardless of [__NR_waitpid].
2357
2358 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2359
2360 PR libgcc/60166
2361 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2362 (_FP_NANSIGN_Q): Set the quiet bit.
2363
2364 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2365
2366 * benchtests/Makefile
2367 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2368 not $(common-objpfx)math/libm.so.
2369 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2370 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2371 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2372 $(common-objpfx)dlfcn/libdl.so.
2373 ($(objpfx)tst-audit8): Depend on $(libm), not
2374 $(common-objpfx)math/libm.so.
2375 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2376 not $(common-objpfx)dlfcn/libdl.so.
2377 * math/Makefile
2378 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2379 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2380 [$(build-shared) = yes].
2381 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2382 $(common-objpfx)nptl/libpthread.so.
2383 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2384 $(common-objpfx)math/libm.so$(libm.so-version) or
2385 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2386 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2387 $(common-objpfx)dlfcn/libdl.so.
2388 * setjmp/Makefile (link-libm): Remove variable.
2389 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2390 * stdio-common/Makefile (link-libm): Remove variable.
2391 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2392 * stdlib/Makefile (link-libm): Remove variable.
2393 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2394 ($(objpfx)tst-strtod-round): Likewise.
2395 ($(objpfx)tst-tininess): Likewise.
2396 ($(objpfx)tst-strtod-underflow): Likewise.
2397 ($(objpfx)tst-strtod6): Likewise.
2398 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2399 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2400 $(common-objpfx)dlfcn/libdl.so.
2401
2402 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2403
2404 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2405 BSD terminal modes definitions.
2406
2407 2014-05-16 Roland McGrath <roland@hack.frob.com>
2408
2409 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2410 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2411
2412 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2413 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2414 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2415 Don't do #include_next.
2416 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2417 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2418 Don't do #include_next.
2419 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2420 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2421 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2422 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2423
2424 2014-05-16 Allan McRae <allan@archlinux.org>
2425
2426 * po/sv.po: Update Swedish translation from translation project.
2427
2428 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2429 in sed expression.
2430
2431 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2432
2433 [BZ #16917]
2434 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2435 errno if the TIOCGPTN ioctl fails with an error different than
2436 EINVAL.
2437 * login/tst-ptsname.c: New file.
2438 * login/Makefile (tests): Add tst-ptsname.
2439
2440 [BZ #16943]
2441 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2442 and prlimit64.
2443
2444 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2445
2446 [BZ #16849]
2447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2448 herrno to return EAI_AGAIN.
2449
2450 2014-05-14 Roland McGrath <roland@hack.frob.com>
2451
2452 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2453 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2454 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2455 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2456 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2457 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2458 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2459 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2460 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2461 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2462 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2463 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2464 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2465 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2466 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2467 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2468 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2469 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2470 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2471 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2472 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2473 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2474 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2475 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2476 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2477 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2478 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2479 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2480 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2481 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2483 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2485 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2487 Moved ...
2488 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2490 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2492 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2494 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2496 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2498 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2500 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2502 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2504 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2506 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2508 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2510 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2512 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2514 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2516 Moved ...
2517 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2519 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2521 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2523 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2525 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2527 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2529 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2531 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2533 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2535 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2537 Moved ...
2538 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2540 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2541
2542 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2543 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2544 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2545 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2546 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2547 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2548 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2549 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2550 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2551 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2552 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2553 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2554 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2556 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2558 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2560 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2561 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2562 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2563 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2564 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2566 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2567 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2568 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2569 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2570 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2572 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2573
2574 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2575 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2576
2577 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2578 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2579 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2580 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2581 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2582 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2583 Moved ...
2584 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2585 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2586 Moved ...
2587 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2588 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2589 Moved ...
2590 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2591 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2592 Moved ...
2593 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2594 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2595 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2596 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2597 Moved ...
2598 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2600 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2602 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2604 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2606 Moved ...
2607 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2608 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2609 Moved ...
2610 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2611 ... here.
2612 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2613 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2614 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2615 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2616 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2617 Moved ...
2618 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2619 ... here.
2620 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2621 Moved ...
2622 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2623 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2624 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2625 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2626 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2627 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2628 Moved ...
2629 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2630 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2631 Moved ...
2632 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2633 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2634 Moved ...
2635 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2636 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2637 Moved ...
2638 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2639 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2640 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2641 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2642 Moved ...
2643 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2644 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2645 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2646 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2647 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2648 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2649 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2650 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2651 Moved ...
2652 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2653 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2654 Moved ...
2655 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2656 ... here.
2657 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2658 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2659 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2660 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2661 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2662 Moved ...
2663 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2664 ... here.
2665 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2666 Moved ...
2667 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2668 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2669 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2670 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2671 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2672 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2673 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2674 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2675 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2676 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2677 Moved ...
2678 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2679 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2680 Moved ...
2681 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2682 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2683 Moved ...
2684 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2685 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2686 Moved ...
2687 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2688 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2689 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2690 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2691 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2692 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2693 Moved ...
2694 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2695 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2696 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2697 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2698 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2699 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2700 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2701 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2702 Moved ...
2703 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2704 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2705 Moved ...
2706 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2707 ... here.
2708 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2709 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2710 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2711 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2712 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2713 Moved ...
2714 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2715 ... here.
2716 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2717 Moved ...
2718 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2719 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2720 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2721 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2722 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2723 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2724 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2725 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2726 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2727 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2728 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2729
2730 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2731 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2732
2733 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2734 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2735
2736 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2737 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2738 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2739 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2740 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2741 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2742 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2743 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2744 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2745 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2746 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2747 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2748 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2749 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2750 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2751 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2752 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2753 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2754 Moved ...
2755 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2756 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2757 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2758 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2759 Moved ...
2760 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2761 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2762 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2764 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2766 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2768 Moved ...
2769 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2770 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2771 Moved ...
2772 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2773 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2774 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2775 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2776 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2777 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2778 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2779 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2780 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2781 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2782 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2783 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2784 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2785 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2786 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2787 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2788 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2789
2790 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2791 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2792 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2793 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2794 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2795
2796 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2797 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2798 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2799 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2800 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2801 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2802 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2803 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2804 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2805 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2806
2807 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2808 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2809
2810 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2811 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2812 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2813 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2814 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2815 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2816 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2817 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2818 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2819 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2820 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2821 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2822 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2823 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2824 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2825 Update #include.
2826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2827 Likewise.
2828 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2829 Likewise.
2830 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2831 Likewise.
2832 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2833 Likewise.
2834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2835 Likewise.
2836 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2837 Likewise.
2838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2839 Likewise.
2840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2841 Likewise.
2842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2843 Likewise.
2844 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2845 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2846 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2847 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2848 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2849 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2850 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2851 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2852 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2853 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2854 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2855 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2856 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2857 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2858 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2859
2860 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2861 that was previously under [RESET_PID].
2862 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2863 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2864 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2865
2866 * sysdeps/i386/nptl/Implies: New file.
2867 * sysdeps/x86_64/nptl/Implies: New file.
2868 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2869 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2870 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2871 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2872
2873 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2874 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2875 (__libc_vfork): New strong alias.
2876 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2877 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2878
2879 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2880 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2881 (__libc_vfork): New strong alias.
2882 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2883 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2884
2885 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2886 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2887 (__libc_vfork): New strong alias.
2888 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2889 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2890 * nptl/pt-vfork.c: New file.
2891 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2892 (libpthread: GLIBC_2.20): New version set (empty).
2893
2894 2014-05-14 Will Newton <will.newton@linaro.org>
2895
2896 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2897 rather than #if.
2898
2899 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2900
2901 [BZ #16564]
2902 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2903 arguments with exponent 65 or above.
2904 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2905 arguments 0x1p113L or above.
2906 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2907 to arguments 0x1p107L or above.
2908 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2909 positive arguments with exponent 65 or above.
2910 * math/auto-libm-test-in: Add more tests of log1p.
2911 * math/auto-libm-test-out: Regenerated.
2912
2913 [BZ #16928]
2914 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2915 non-finite arguments is +0.
2916 * math/s_cacosf.c (__cacosf): Likewise.
2917 * math/s_cacosl.c (__cacosl): Likewise.
2918 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2919 * sysdeps/i386/fpu/libm-test-ulps: Update.
2920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2921
2922 [BZ #16927]
2923 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2924 value.
2925 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2926 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2927 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2928 for explicit high bit of mantissa when testing for argument equal
2929 to 1.
2930 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2931 * sysdeps/i386/fpu/libm-test-ulps: Update.
2932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2933
2934 [BZ #16516]
2935 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2936 (__erf): Scale by 16 instead of 8 in potentially underflowing
2937 case. Ensure exception if result actually underflows.
2938 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2939 (__erff): Scale by 16 instead of 8 in potentially underflowing
2940 case. Ensure exception if result actually underflows.
2941 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2942 (efx8): Remove variable.
2943 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2944 case. Ensure exception if result actually underflows.
2945 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2946 (efx8): Remove variable.
2947 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2948 case. Ensure exception if result actually underflows.
2949 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2950 (efx8): Remove variable.
2951 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2952 case. Ensure exception if result actually underflows.
2953 * math/auto-libm-test-in: Add more tests of erf.
2954 * math/auto-libm-test-out: Regenerated.
2955
2956 2014-05-14 Andreas Schwab <schwab@suse.de>
2957
2958 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2959 Remove code conditionalized on USE___THREAD.
2960
2961 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2962 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2963 not definedness.
2964
2965 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2966
2967 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2968 Define unconditionally.
2969 (__ASSUME_O_CLOEXEC): Likewise.
2970 (__ASSUME_SOCK_CLOEXEC): Likewise.
2971 (__ASSUME_IN_NONBLOCK): Likewise.
2972 (__ASSUME_PIPE2): Likewise.
2973 (__ASSUME_EVENTFD2): Likewise.
2974 (__ASSUME_SIGNALFD4): Likewise.
2975 (__ASSUME_DUP3): Likewise.
2976 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2977 (__ASSUME_DUP3): Do not define.
2978 (__ASSUME_EVENTFD2): Likewise.
2979 (__ASSUME_IN_NONBLOCK): Likewise.
2980 (__ASSUME_O_CLOEXEC): Likewise.
2981 (__ASSUME_PIPE2): Likewise.
2982 (__ASSUME_SIGNALFD4): Likewise.
2983 (__ASSUME_SOCK_CLOEXEC): Likewise.
2984 (__ASSUME_UTIMES): Undefine.
2985 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2986 (__ASSUME_UTIMES): Do not define.
2987 (__ASSUME_O_CLOEXEC): Likewise.
2988 (__ASSUME_SOCK_CLOEXEC): Likewise.
2989 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2990 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2991 0x020621].
2992 (__ASSUME_PIPE2): Likewise.
2993 (__ASSUME_EVENTFD2): Likewise.
2994 (__ASSUME_SIGNALFD4): Likewise.
2995 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2996 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2997 Do not define.
2998 (__ASSUME_EVENTFD2): Likewise.
2999 (__ASSUME_SIGNALFD4): Likewise.
3000 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3001 (__ASSUME_32BITUIDS): Likewise.
3002 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3003 (__ASSUME_IPC64): Likewise.
3004 (__ASSUME_ST_INO_64_BIT): Likewise.
3005 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3006 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3007 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3008 (__ASSUME_UTIMES): Do not define.
3009 (__ASSUME_PSELECT): Likewise.
3010 (__ASSUME_PPOLL): Likewise.
3011 (__ASSUME_O_CLOEXEC): Likewise.
3012 (__ASSUME_SOCK_CLOEXEC): Likewise.
3013 (__ASSUME_IN_NONBLOCK): Likewise.
3014 (__ASSUME_PIPE2): Likewise.
3015 (__ASSUME_EVENTFD2): Likewise.
3016 (__ASSUME_SIGNALFD4): Likewise.
3017 (__ASSUME_DUP3): Likewise.
3018 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3019 (__ASSUME_UTIMES): Likewise.
3020 (__ASSUME_O_CLOEXEC): Likewise.
3021 (__ASSUME_SOCK_CLOEXEC): Likewise.
3022 (__ASSUME_IN_NONBLOCK): Likewise.
3023 (__ASSUME_PIPE2): Likewise.
3024 (__ASSUME_EVENTFD2): Likewise.
3025 (__ASSUME_SIGNALFD4): Likewise.
3026 (__ASSUME_DUP3): Likewise.
3027 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3028 (__ASSUME_UTIMES): Likewise.
3029 (__ASSUME_O_CLOEXEC): Likewise.
3030 (__ASSUME_SOCK_CLOEXEC): Likewise.
3031 (__ASSUME_IN_NONBLOCK): Likewise.
3032 (__ASSUME_PIPE2): Likewise.
3033 (__ASSUME_EVENTFD2): Likewise.
3034 (__ASSUME_SIGNALFD4): Likewise.
3035 (__ASSUME_DUP3): Likewise.
3036 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3037 Likewise.
3038 (__ASSUME_UTIMES): Likewise.
3039 (__ASSUME_EVENTFD2): Likewise.
3040 (__ASSUME_SIGNALFD4): Likewise.
3041 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3042 (__ASSUME_O_CLOEXEC): Likewise.
3043 (__ASSUME_SOCK_CLOEXEC): Likewise.
3044 (__ASSUME_IN_NONBLOCK): Likewise.
3045 (__ASSUME_PIPE2): Likewise.
3046 (__ASSUME_EVENTFD2): Likewise.
3047 (__ASSUME_SIGNALFD4): Likewise.
3048 (__ASSUME_DUP3): Likewise.
3049 (__ASSUME_UTIMES): Undefine.
3050
3051 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3052 feclearexcept. Remove symbol versioning code.
3053 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3054 symbol versioning code.
3055 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3056 symbol versioning code.
3057 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3058 feupdateenv. Remove symbol versioning code.
3059 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3060 fegetexceptflag. Remove symbol versioning code.
3061 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3062 fesetexceptflag. Remove symbol versioning code.
3063 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3064 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3065 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3066 (__posix_fadvise64_l32): Remove prototype.
3067 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3068 code.
3069
3070 2014-05-13 Roland McGrath <roland@hack.frob.com>
3071
3072 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3073 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3074 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3075 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3076
3077 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3078
3079 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3080 current working directory
3081
3082 2014-05-13 Roland McGrath <roland@hack.frob.com>
3083
3084 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3085 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3086 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3087 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3088 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3089 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3090 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3091 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3092 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3093 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3094 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3095 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3096 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3097 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3098 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3099 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3100 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3101 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3102 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3103 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3104 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3105 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3106 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3107 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3108 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3109 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3110 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3111 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3112 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3113 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3114 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3115 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3116 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3117 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3118 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3119 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3120 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3121 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3122 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3123 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3124 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3125 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3126
3127 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3128 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3129
3130 * sysdeps/unix/sysv/linux/arm/Makefile
3131 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3132 Add rt-aeabi_unwind_cpp_pr1.
3133 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3134 Add nptl-aeabi_unwind_cpp_pr1.
3135 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3136 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3137 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3138 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3139 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3140 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3141
3142 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3143 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3144 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3145 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3146
3147 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3148 Deconditionalize the code that was previously under [RESET_PID].
3149 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3150
3151 * sysdeps/generic/exit-thread.h: New file.
3152 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3153 * include/unistd.h (__exit_thread): Remove declaration.
3154 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3155 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3156 * csu/libc-start.c: Include <exit-thread.h>.
3157 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3158 * nptl/pthread_create.c: Include <exit-thread.h>.
3159 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3160 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3161 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3162 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3163 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3164 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3165 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3166 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3167 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3168 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3169 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3170 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3171 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3172 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3173 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3174 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3175 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3176
3177 2014-05-13 Andreas Schwab <schwab@suse.de>
3178
3179 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3180
3181 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3182
3183 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3184 (__ASSUME_UTIMES): Do not condition on kernel version.
3185 (__ASSUME_PSELECT): Define unconditionally.
3186 (__ASSUME_PPOLL): Likewise.
3187 (__ASSUME_ATFCTS): Likewise.
3188 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3189 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3190 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3191 (__ASSUME_UTIMENSAT): Define unconditionally.
3192 (__ASSUME_PRIVATE_FUTEX): Likewise.
3193 (__ASSUME_FALLOCATE): Likewise.
3194 (__ASSUME_O_CLOEXEC): Likewise.
3195 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3196 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3197 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3198 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3199 (__ASSUME_IN_NONBLOCK): Likewise.
3200 (__ASSUME_PIPE2): Likewise.
3201 (__ASSUME_EVENTFD2): Likewise.
3202 (__ASSUME_SIGNALFD4): Likewise.
3203 (__ASSUME_DUP3): Likewise.
3204 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3205 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3206 (__ASSUME_AT_RANDOM): Likewise.
3207 (__ASSUME_PREADV): Likewise.
3208 (__ASSUME_PWRITEV): Likewise.
3209 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3210 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3211 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3212 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3213 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3214 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3215 (__ASSUME_O_CLOEXEC): Define unconditionally.
3216 (__ASSUME_PSELECT): Do not undefine conditionally.
3217 (__ASSUME_PPOLL): Likewise.
3218 (__ASSUME_ATFCTS): Likewise.
3219 (__ASSUME_SET_ROBUST_LIST): Likewise.
3220 (__ASSUME_UTIMENSAT): Likewise.
3221 (__ASSUME_FDATASYNC): Define unconditionally.
3222 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3223 (__ASSUME_SIGFRAME_V2): Likewise.
3224 )__ASSUME_EVENTFD2): Likewise.
3225 (__ASSUME_SIGNALFD4): Likewise.
3226 (__ASSUME_PSELECT): Do not undefine conditionally.
3227 (__ASSUME_PPOLL): Likewise.
3228 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3229 (__ASSUME_PSELECT): Define unconditionally.
3230 (__ASSUME_PPOLL): Likewise.
3231 (__ASSUME_O_CLOEXEC): Likewise.
3232 (__ASSUME_SOCK_CLOEXEC): Likewise.
3233 (__ASSUME_IN_NONBLOCK): Likewise.
3234 (__ASSUME_PIPE2): Likewise.
3235 (__ASSUME_EVENTFD2): Likewise.
3236 (__ASSUME_SIGNALFD4): Likewise.
3237 (__ASSUME_DUP3): Likewise.
3238 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3239 (__ASSUME_O_CLOEXEC): Likewise.
3240 (__ASSUME_SOCK_CLOEXEC): Likewise.
3241 (__ASSUME_IN_NONBLOCK): Likewise.
3242 (__ASSUME_PIPE2): Likewise.
3243 (__ASSUME_EVENTFD2): Likewise.
3244 (__ASSUME_SIGNALFD4): Likewise.
3245 (__ASSUME_DUP3): Likewise.
3246 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3247 (__ASSUME_EVENTFD2): Likewise.
3248 (__ASSUME_SIGNALFD4): Likewise.
3249 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3250
3251 2014-05-12 Andreas Schwab <schwab@suse.de>
3252
3253 [BZ #16932]
3254 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3255 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3256 than maximum RPC packet size.
3257 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3258 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3259 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3260 (_nss_nis_getservbyport_r): Likewise.
3261
3262 2014-05-12 Will Newton <will.newton@linaro.org>
3263
3264 * malloc/Makefile (tests): Add tst-mallopt.
3265 * malloc/tst-mallopt.c: New file.
3266
3267 2014-05-09 Roland McGrath <roland@hack.frob.com>
3268
3269 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3270 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3271
3272 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3273
3274 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3275 (tst-tlsmod6.so): Likewise.
3276
3277 2014-05-09 Roland McGrath <roland@hack.frob.com>
3278
3279 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3280
3281 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3282
3283 [BZ #16064]
3284 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3285 and <dl-procinfo.h>.
3286 (__fegetenv): Save SSE state in envp->__eip if supported.
3287 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3288 envp->__eip if supported.
3289 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3290 and <dl-procinfo.h>.
3291 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3292 __data_offset and __data_selector in environment to 0. Set SSE
3293 state if supported.
3294 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3295 test-fenv-sse.
3296 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3297 -mfpmath=sse.
3298 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3299
3300 2014-05-09 Will Newton <will.newton@linaro.org>
3301
3302 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3303 and libc_relro_required for ARM.
3304 * sysdeps/arm/preconfigure: Regenerate.
3305
3306 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3307 Stefan Liebler <stli@linux.vnet.ibm.com>
3308
3309 * config.make.in (enable-lock-elision): New Makefile variable.
3310 * configure.ac: Likewise.
3311 * configure: Regenerate.
3312 * sysdeps/s390/configure.ac:
3313 Add check for gcc transactions support.
3314 * sysdeps/s390/configure: Regenerate.
3315 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3316 Build elision files if enabled.
3317 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3318 Add lock elision support for s390.
3319 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3320 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3321 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3322 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3323 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3324 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3325 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3326 Likewise.
3327 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3328 Likewise.
3329 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3330 Likewise.
3331 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3332 Likewise.
3333 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3334 (__lll_timedlock_elision, __lll_lock_elision)
3335 (__lll_unlock_elision, __lll_trylock_elision)
3336 (lll_timedlock_elision, lll_lock_elision)
3337 (lll_unlock_elision, lll_trylock_elision): Add.
3338 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3339 (pthread_mutex_t): Add lock elision support for s390.
3340
3341 2014-05-14 Wilco <wdijkstr@arm.com>
3342
3343 * sysdeps/arm/fclrexcpt.c: Cleanup.
3344 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3345 * sysdeps/arm/feenablxcpt.c: Cleanup.
3346 * sysdeps/arm/fegetenv.c: Cleanup.
3347 * sysdeps/arm/fegetexcept.c: Cleanup.
3348 * sysdeps/arm/fegetround.c: Cleanup.
3349 * sysdeps/arm/feholdexcpt.c: Cleanup.
3350 * sysdeps/arm/fesetenv.c: Cleanup.
3351 * sysdeps/arm/fesetround.c: Cleanup.
3352 * sysdeps/arm/feupdateenv.c: Cleanup.
3353 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3354 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3355 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3356 * sysdeps/arm/ftestexcept.c: Cleanup.
3357 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3358 * sysdeps/arm/setfpucw.c: Cleanup.
3359
3360 2014-05-09 Will Newton <will.newton@linaro.org>
3361
3362 * sysdeps/arm/armv7/strcmp.S: New file.
3363 * NEWS: Mention addition of ARMv7 optimized strcmp.
3364
3365 2014-05-08 Roland McGrath <roland@hack.frob.com>
3366
3367 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3368 look for %.ac rather than %.in.
3369
3370 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3371 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3372 * sysdeps/mach/hurd/configure: Regenerated.
3373 * sysdeps/unix/sysv/linux/configure: Regenerated.
3374
3375 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3376
3377 2014-05-07 Steve Ellcey <sellcey@mips.com>
3378
3379 [BZ# 16922]
3380 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3381 (LONG_SUB): Ditto.
3382 (PTR_SUB): Ditto.
3383
3384 2014-05-07 Andreas Schwab <schwab@suse.de>
3385
3386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3387 when skipping over non-matching result from nscd.
3388
3389 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3390
3391 [BZ #16876]
3392 * nptl/sockperf.c (client): Check socket return value.
3393
3394 [BZ #16877]
3395 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3396 nscd security class.
3397
3398 2014-05-06 Roland McGrath <roland@hack.frob.com>
3399
3400 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3401 * sysdeps/arm/unwind.h: ... here.
3402
3403 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3404
3405 [BZ# 16916]
3406 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3407 Define.
3408
3409 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3410
3411 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3412 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3413 multiarch strncpy for PPC64.
3414 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3415 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3417 multiarch optimizations.
3418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3419 (__libc_ifunc_impl_list): Likewise.
3420 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3421 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3422 multiarch stpncpy for PPC64.
3423 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3424 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3425
3426 2014-05-06 Andreas Schwab <schwab@suse.de>
3427
3428 [BZ #16912]
3429 * gmon/mcount.c (_MCOUNT_DECL): Use
3430 atomic_compare_and_exchange_bool_acq instead of
3431 catomic_compare_and_exchange_bool_acq.
3432
3433 2014-05-05 Roland McGrath <roland@hack.frob.com>
3434
3435 * elf/Makefile (others, install-bin): Remove pldd.
3436 (pldd-modules): Variable removed.
3437 ($(objpfx)pldd): Target removed.
3438 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3439 (others, install-bin): Append pldd here.
3440 ($(objpfx)pldd): New target.
3441
3442 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3443 to 0, so the first #if test emitted later doesn't see it undefined.
3444 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3445 * sysdeps/gnu/errlist.c: Regenerated.
3446
3447 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3448
3449 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3450 [libc_hidden_builtin_def]: Define to empty value.
3451 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3452 [libc_hidden_builtin_def]: Likewise.
3453 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3454 [libc_hidden_builtin_def]: Likewise.
3455 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3456 [libc_hidden_builtin_def]: Likewise.
3457 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3458 __redirect_memcpy and define ifunc as default hidden symbol.
3459 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3460 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3461
3462 2014-05-04 Adam Conrad <adconrad@0c3.net>
3463
3464 * locale/iso-4217.def: Reintroduce XDR currency.
3465
3466 2014-05-04 Allan McRae <allan@archlinux.org>
3467
3468 * po/eo.po: Update Esperanto translation from translation project.
3469
3470 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3471
3472 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3473 and FEATURE_INDEX_MAX to 1.
3474 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3475
3476 2014-05-01 Steve Ellcey <sellcey@mips.com>
3477
3478 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3479 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3480 * iconvdata/big5.c (ONE_DIRECTION): Define.
3481 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3482 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3483 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3484 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3485 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3486 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3487 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3488 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3489 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3490 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3491 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3492 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3493 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3494 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3495 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3496 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3497 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3498 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3499 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3500 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3501 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3502 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3503 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3504 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3505 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3506 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3507 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3508 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3509 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3510 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3511 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3512 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3513 * iconvdata/johab.c (ONE_DIRECTION): Define.
3514 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3515 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3516 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3517 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3518 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3519 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3520 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3521 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3522 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3523 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3524
3525 2014-05-01 Roland McGrath <roland@hack.frob.com>
3526
3527 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3528 (_IO_JUMPS_OFFSET): Define to 0.
3529
3530 * nptl/sysdeps/pthread/bits/libc-lock.h
3531 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3532 (__libc_lock_define_initialized_recursive): Always define using
3533 initializer. Modern compilers treat uninitialized (implicit zero) and
3534 explicit zero initializers the same (i.e. put the datum in bss).
3535
3536 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3537
3538 * nscd/nscd-client.h: Include <string.h>.
3539
3540 2014-05-01 David S. Miller <davem@davemloft.net>
3541
3542 [BZ #16885]
3543 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3544 multiple zero bytes exist at the end of a string.
3545 Reported by Aurelien Jarno <aurelien@aurel32.net>
3546
3547 * string/test-strcmp.c (check): Add explicit test for situations where
3548 there are multiple zero bytes after the first.
3549
3550 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3551
3552 [BZ #16890]
3553 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3554 when compiling wprintf.
3555 * stdio-common/tstdiomisc.c (t3): New function.
3556 (main): Call it.
3557
3558 2014-05-01 Steve Ellcey <sellcey@mips.com>
3559
3560 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3561 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3562 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3563 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3564
3565 2014-05-01 Steve Ellcey <sellcey@mips.com>
3566
3567 * stdlib/longlong.h: Updated from GCC.
3568
3569 2014-05-01 Will Newton <will.newton@linaro.org>
3570 Bernard Ogden <bernie.ogden@linaro.org>
3571
3572 * NEWS: Update fixed bug list.
3573
3574 [BZ #15119]
3575 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3576
3577 2014-04-30 David S. Miller <davem@davemloft.net>
3578
3579 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3580 (libc_feholdexcept_setround_sparc_ctx): New function.
3581 (libc_fesetenv_sparc_ctx): Likewise.
3582 (libc_feupdateenv_sparc_ctx): Likewise.
3583 (libc_feholdsetround_sparc_ctx): Likewise.
3584 (libc_feholdexcept_setround_ctx): Define.
3585 (libc_feholdexcept_setroundf_ctx): Likewise.
3586 (libc_feholdexcept_setroundl_ctx): Likewise.
3587 (libc_fesetenv_ctx): Likewise.
3588 (libc_fesetenvf_ctx): Likewise.
3589 (libc_fesetenvl_ctx): Likewise.
3590 (libc_feupdateenv_ctx): Likewise.
3591 (libc_feupdateenvf_ctx): Likewise.
3592 (libc_feupdateenvl_ctx): Likewise.
3593 (libc_feresetround_ctx): Likewise.
3594 (libc_feresetroundf_ctx): Likewise.
3595 (libc_feresetroundl_ctx): Likewise.
3596 (libc_feholdsetround_ctx): Likewise.
3597 (libc_feholdsetroundf_ctx): Likewise.
3598 (libc_feholdsetroundl_ctx): Likewise.
3599
3600 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3601 with __USE_GNU instead of XOPEN cpp guards.
3602
3603 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3604 0.
3605
3606 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3607 with XOPEN cpp guards.
3608
3609 2014-04-30 Julian Brown <julian@codesourcery.com>
3610
3611 [BZ #16888]
3612 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3613 handling.
3614
3615 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3616
3617 [BZ #9894]
3618 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3619 Change to 2.6.32.
3620 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3621 * sysdeps/unix/sysv/linux/configure: Regenerated.
3622 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3623 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3624 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3625 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3626 * README: Update reference to required Linux kernel version.
3627 * manual/install.texi (Linux): Update reference to required Linux
3628 kernel headers version.
3629 * INSTALL: Regenerated.
3630
3631 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3632 header inclusion.
3633 [POSIX] (limits.h): Likewise.
3634 [POSIX] (math.h): Likewise.
3635 [POSIX] (sys/wait.h): Likewise.
3636 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3637 function.
3638 [POSIX] (stddef.h): Do not allow header inclusion.
3639
3640 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3641
3642 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3643
3644 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3645
3646 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3647 Return immediately after lll_futex_wake.
3648
3649 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3650
3651 [BZ #16791]
3652 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3653 structure.
3654 (datahead_init_pos): Call datahead_init_common early.
3655 (datahead_init_neg): Likewise.
3656
3657 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3658 datahead_init_neg): New functions.
3659 * nscd/aicache.c (addhstaiX): Use them.
3660 * nscd/grpcache.c (cache_addgr): Likewise.
3661 * nscd/hstcache.c (cache_addhst): Likewise.
3662 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3663 * nscd/netgroupcache.c (do_notfound): Likewise.
3664 (addgetnetgrentX): Likewise.
3665 (addinnetgrX): Likewise.
3666 * nscd/pwdcache.c (cache_addpw): Likewise.
3667 * nscd/servicescache.c (cache_addserv): Likewise.
3668
3669 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3670 Atsushi Onoe <atsushi@onoe.org>
3671
3672 [BZ #14308]
3673 [BZ #12994]
3674 [BZ #13651]
3675 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3676 one response is valid.
3677 * resolv/res_send.c (send_dg): Check for validity of other
3678 response if the current response is a referral.
3679
3680 2014-04-29 Steve Ellcey <sellcey@mips.com>
3681
3682 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3683
3684 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3685
3686 [BZ #16823]
3687 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3688 Always divide by positive zero when computing -Inf result.
3689 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3690 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3691
3692 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3693
3694 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3695 FPSCR if value do not change.
3696 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3697 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3698 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3699 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3700 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3701 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3702 function.
3703
3704 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3705
3706 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3707 * sysdeps/unix/sysv/linux/hppa: Move directory from
3708 ports/systeps/unix/sysv/linux/hppa.
3709 * README: Update listing for hppa-*-linux-gnu.
3710
3711 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3712
3713 [BZ #16754]
3714 * manual/stdio.texi (Hook functions): Fix types of stream hook
3715 functions.
3716 [BZ #16854]
3717 * socket/sys/socket.h: Fix typo in comment.
3718
3719 2014-04-28 Wilco <wdijkstr@arm.com>
3720
3721 * sysdeps/arm/fenv_private.h: New file.
3722 * sysdeps/arm/math_private.h: New file.
3723 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3724
3725 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3726
3727 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3728 with __int128_t.
3729 (La_x86_64_retval): Likewise.
3730
3731 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3732
3733 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3734 fpsr if value didn't change.
3735 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3736 to fpcr if value didn't change.
3737 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3738 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3739 fpsr or fpcr if value didn't change.
3740 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3741 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3742 fpcr if value didn't change.
3743 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3744 to fpsr if value didn't change.
3745
3746 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3747
3748 * nptl/tst-sem3.c: Use test-skeleton.c
3749 (main): Rename to do_test. Use return instead of
3750 exit.
3751 * nptl/tst-sem4.c: Use test-skeleton.c
3752 (main): Rename to do_test.
3753
3754 2014-04-22 David S. Miller <davem@davemloft.net>
3755
3756 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3757 (struct sigaction): New struct member __glibc_reserved0, change
3758 type of sa_flags to int.
3759
3760 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3761
3762 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3763 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3764
3765 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3766
3767 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3768 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3769
3770 2014-04-22 Will Newton <will.newton@linaro.org>
3771 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3772
3773 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3774 (__longjmp): Add longjmp and longjmp_target SystemTap
3775 probes.
3776 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3777 (__sigsetjmp): Add setjmp SystemTap probe.
3778
3779 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3780
3781 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3782 match manual order.
3783
3784 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3785
3786 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3787
3788 * sysdeps/powerpc/fpu/fenv_private.h
3789 (libc_feholdexcept_setroundl_ctx): Define to
3790 libc_feholdexcept_setround_ppc_ctx.
3791 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3792 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3793 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3794 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3795
3796 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3797
3798 * sysdeps/aarch64/math-tests.h: New file.
3799
3800 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3801
3802 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3803 New.
3804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3805 Check and set bit_AVX2_Usable.
3806 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3807 macro.
3808 (bit_AVX2): Likewise.
3809 (index_AVX2_Usable): Likewise.
3810 (CPUID_AVX2): Likewise.
3811 (HAS_AVX2): Likewise.
3812
3813 2014-04-17 Will Newton <will.newton@linaro.org>
3814
3815 * manual/setjmp.texi (System V contexts): Add note that
3816 calling setcontext on a context created by a call to a
3817 signal handler is undefined. Update text to note that
3818 setcontext from a signal handler is possible but not
3819 recommended.
3820
3821 [BZ #16629]
3822 * stdlib/tst-setcontext.c: Include signal.h.
3823 (main): Check that the signal stack before and
3824 after swapcontext is the same.
3825
3826 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3827 Re-implement to restore registers in user code and avoid
3828 rt_sigreturn system call.
3829
3830 2014-04-17 Wilco <wdijkstr@arm.com>
3831
3832 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3833 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3834 * math/test-fenv.c: Skip exception trap tests on targets which only
3835 support non-stop mode.
3836
3837 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3838 Wilco Dijkstra <wilco.dijkstra@arm.com>
3839
3840 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3841 (libc_feholdsetround_aarch64_ctx)
3842 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3843 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3844 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3845 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3846 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3847 (libc_feresetround_noexl_ctx): Define.
3848
3849 2014-04-16 Richard Henderson <rth@redhat.com>
3850
3851 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3852
3853 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3854 unwind tables.
3855
3856 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3857 const from the non-libc, non-ldso copy.
3858
3859 * sysdeps/alpha/libm-test-ulps: Regenerate.
3860
3861 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3862 Wilco Dijkstra <wilco.dijkstra@arm.com>
3863
3864 * sysdeps/aarch64/fpu/math_private.h: New file.
3865
3866 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3867
3868 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3869
3870 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3871
3872 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3873 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3874 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3875 Intel MPX bound registers before _dl_profile_fixup.
3876 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3877 registers after _dl_profile_fixup. Save and restore bound
3878 registers bnd0/bnd1 when calling _dl_call_pltexit.
3879 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3880 (LR_BND_OFFSET): Likewise.
3881 (LRV_BND0_OFFSET): Likewise.
3882 (LRV_BND1_OFFSET): Likewise.
3883
3884 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3885
3886 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3887 to...
3888 * sysdeps/mach/hurd/i386/tls.h: ... here.
3889 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3890 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3891 fields.
3892
3893 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3894
3895 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3896
3897 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3898
3899 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3900
3901 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3902
3903 [BZ #14770]
3904 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3905 * sysdeps/s390/configure: Regenerate.
3906
3907 [BZ #16824]
3908 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3909 Set round-to-nearest internally to reduce error accumulation.
3910
3911 2014-04-16 Alan Modra <amodra@gmail.com>
3912
3913 [BZ #16740]
3914 [BZ #16619]
3915 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3916 * math/libm-test.inc (frexp_test_data): Add tests.
3917 * NEWS: Update fixed bug list.
3918
3919 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3920
3921 * benchtests/Makefile: Depend on libraries in build directory.
3922 (bench-math): Separate out math tests.
3923 (bench-pthread): Separate out pthread tests.
3924 (bench): Include math and pthread tests.
3925
3926 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3927
3928 [BZ #16831]
3929 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3930 _dl_debug_initialize.
3931
3932 * configure.ac: Remove SELinux header check.
3933 * configure: Regenerate.
3934 * nscd/selinux.c (perms): Array of const char* to permission names.
3935 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3936 default policy. Call string_to_security_class and string_to_av_perm to
3937 translate strings. Enforce default policy and call avs_has_perm with
3938 results of translated strings.
3939
3940 2014-04-13 David S. Miller <davem@davemloft.net>
3941
3942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3943
3944 2014-04-12 Allan McRae <allan@archlinux.org>
3945
3946 [BZ #16838]
3947 * manual/string.texi (Collation Functions): Fix qsort argument
3948 order in example.
3949 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3950
3951 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3952
3953 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3954 Make the test a no-op if there are no exceptions defined.
3955
3956 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3957
3958 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3959 enable-hardcoded-path-in-tests
3960
3961 2014-04-11 Will Newton <will.newton@linaro.org>
3962
3963 * benchtests/Makefile (extra-objs): Add json-lib.o.
3964 (bench-func): Tidy up JSON output.
3965 * benchtests/bench-skeleton.c: Include json-lib.h.
3966 (main): Use JSON library functions to do output of
3967 benchmark results.
3968 * benchtests/bench-timing-type.c (main): Output the
3969 timing type simply, leaving formatting to the user.
3970 * benchtests/json-lib.c: New file.
3971 * benchtests/json-lib.h: Likewise.
3972
3973 2014-04-11 Torvald Riegel <triegel@redhat.com>
3974
3975 [BZ #15215]
3976 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3977 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3978 memory barriers. Add comments.
3979 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3980 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3981 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3982 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3983 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3984 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3985
3986 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3987
3988 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3989 * sysdeps/s390/s390-64/configure.ac: ... this ...
3990 * sysdeps/s390/configure.ac: ... to here.
3991 * sysdeps/s390/s390-32/configure: Delete file.
3992 * sysdeps/s390/s390-64/configure: Delete file.
3993 * sysdeps/s390/configure: Regenerate.
3994
3995 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3996
3997 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3998
3999 2014-04-11 Will Newton <will.newton@linaro.org>
4000
4001 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4002 to zero if it is not defined elsewhere. (mtrim): Test
4003 the value of MALLOC_DEBUG with #if rather than #ifdef.
4004
4005 2014-04-10 Torvald Riegel <triegel@redhat.com>
4006
4007 * benchtests/pthread_once-inputs: New file.
4008 * benchtests/pthread_once-source.c: New file.
4009 * benchtests/README: Update documentation.
4010
4011 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4012 H.J. Lu <hongjiu.lu@intel.com>
4013
4014 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4015 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4016 * sysdeps/x86_64/configure: Regenerated.
4017 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4018 macro.
4019 (REGISTER_SAVE_RAX): Likewise.
4020 (REGISTER_SAVE_RCX): Likewise.
4021 (REGISTER_SAVE_RDX): Likewise.
4022 (REGISTER_SAVE_RSI): Likewise.
4023 (REGISTER_SAVE_RDI): Likewise.
4024 (REGISTER_SAVE_R8): Likewise.
4025 (REGISTER_SAVE_R9): Likewise.
4026 (REGISTER_SAVE_BND0): Likewise.
4027 (REGISTER_SAVE_BND1): Likewise.
4028 (REGISTER_SAVE_BND2): Likewise.
4029 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4030 bound registers when calling _dl_fixup.
4031
4032 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4033
4034 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4035 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4036 of its definition.
4037 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4038 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4039 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4040 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4041 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4042 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4043 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4044
4045 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4046
4047 [BZ #15514]
4048 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4049 pathconf(_PC_NAME_MAX).
4050
4051 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4052
4053 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4054 Remove macro usage.
4055 (__PTHREAD_SPINS): Move definition to ...
4056 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4057 (__PTHREAD_SPINS): ... here.
4058 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4059 (__PTHREAD_SPIN): Likewise.
4060 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4061 (__PTHREAD_SPIN): Likewise.
4062 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4063 (__PTHREAD_SPIN): Likewise.
4064 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4065 (__PTHREAD_SPIN): Likewise.
4066 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4067 (__PTHREAD_SPIN): Likewise.
4068 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4069 (__PTHREAD_SPIN): Likewise.
4070 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4071 (__PTHREAD_SPIN): Likewise.
4072 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4073 (__PTHREAD_SPIN): Likewise.
4074 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4075 (__PTHREAD_SPIN): Likewise.
4076 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4077 (__PTHREAD_SPIN): Likewise.
4078 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4079 (__PTHREAD_SPIN): Likewise.
4080 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4081 (__PTHREAD_SPIN): Likewise.
4082
4083 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4084 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4085 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4086 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4087 imply folder.
4088 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4089 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4090 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4091 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4092 correct imply path.
4093 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4094 strlen symbol for non multi-arch builds.
4095 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4096 missing hidden_def and weak_alias.
4097
4098 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4099
4100 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4101
4102 2014-04-07 Will Newton <will.newton@linaro.org>
4103
4104 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4105 and contents. [!_LIBC] Remove #ifndef and contents.
4106 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4107 * string/memccpy.c (__memccpy): Use ANSI prototype.
4108 * string/memfrob.c (memfrob): Likewise.
4109 * string/strcoll.c (STRCOLL): Likewise.
4110 * string/strlen.c (strlen): Likewise.
4111 * string/strtok.c (STRTOK): Likewise.
4112 * string/strcat.c: Remove unused #include of memcopy.h.
4113 (strcat): Use ANSI prototype.
4114 * string/strchr.c: Remove unused #include of memcopy.h.
4115 (strchr): Use ANSI prototype.
4116 * string/strcmp.c: Remove unused #include of memcopy.h.
4117 (strcmp): Use ANSI prototype.
4118 * string/strcpy.c: Remove unused #include of memcopy.h.
4119 (strcpy): Use ANSI prototype.
4120
4121 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4122
4123 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4124 * config.make.in (config-extra-cppflags): Set it from
4125 libc_extra_cppflags.
4126 * configure.ac (libc_extra_cflags): Make it accumulate over
4127 configure fragments.
4128 (libc_extra_cppflags): New flag.
4129 * configure. Regenerate.
4130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4131 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4132 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4134
4135 [BZ #16815]
4136 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4137 result for FE_DOWNWARD rounding mode.
4138 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4139 Likewise.
4140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4141
4142 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4143
4144 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4145 in function argument name.
4146
4147 2014-04-03 David Svoboda <svoboda@cert.org>
4148
4149 [BZ #5666]
4150 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4151 explicitly.
4152
4153 2014-04-03 Roland McGrath <roland@hack.frob.com>
4154
4155 * elf/dl-unmap-segments.h: New file.
4156 * sysdeps/generic/ldsodefs.h
4157 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4158 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4159 * elf/dl-fptr.c: Likewise.
4160 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4161 * sysdeps/aarch64/tlsdesc.c: Likewise.
4162 * sysdeps/arm/tlsdesc.c: Likewise.
4163 * sysdeps/i386/tlsdesc.c: Likewise.
4164 * sysdeps/tile/dl-runtime.c: Likewise.
4165 * sysdeps/x86_64/tlsdesc.c: Likewise.
4166 * elf/dl-load.h: New file.
4167 * elf/dl-load.c: Include it.
4168 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4169 Macros moved to dl-load.h.
4170 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4171 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4172 Use _dl_unmap_segments in place of __munmap.
4173 Break out segment-mapping loop into ...
4174 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4175
4176 2014-04-03 Will Newton <will.newton@linaro.org>
4177
4178 * elf/dl-lookup.c (do_lookup_x): Remove comment
4179 referring to nested function and move variable
4180 declarations down to before first use.
4181
4182 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4183
4184 [BZ #16799]
4185 [BZ #16800]
4186 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4187 with 0 numerator.
4188 * math/s_catanf.c (__catanf): Likewise.
4189 * math/s_catanh.c (__catanh): Likewise.
4190 * math/s_catanhf.c (__catanhf): Likewise.
4191 * math/s_catanhl.c (__catanhl): Likewise.
4192 * math/s_catanl.c (__catanl): Likewise.
4193 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4194 by positive zero when computing -Inf result.
4195 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4196 (catanh_test): Likewise.
4197 * sysdeps/i386/fpu/libm-test-ulps: Update.
4198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4199
4200 [BZ #16789]
4201 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4202 instead of using underflowing value in computing result.
4203 * math/s_clog10.c (__clog10): Likewise.
4204 * math/s_clog10f.c (__clog10f): Likewise.
4205 * math/s_clog10l.c (__clog10l): Likewise.
4206 * math/s_clogf.c (__clogf): Likewise.
4207 * math/s_clogl.c (__clogl): Likewise.
4208 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4209 (clog10_test): Likewise.
4210 * sysdeps/i386/fpu/libm-test-ulps: Update.
4211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4212
4213 2014-04-02 Alan Modra <amodra@gmail.com>
4214
4215 [BZ #16739]
4216 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4217 output when value is near a power of two. Use int64_t for lx and
4218 remove casts. Use decimal rather than hex exponent constants.
4219 Don't use long double multiplication when double will suffice.
4220 * math/libm-test.inc (nextafter_test_data): Add tests.
4221 * NEWS: Add 16739 and 16786 to bug list.
4222
4223 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4224
4225 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4226
4227 2014-04-01 Will Newton <will.newton@linaro.org>
4228
4229 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4230 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4231
4232 2014-04-01 Florian Weimer <fweimer@redhat.com>
4233
4234 [BZ #13347]
4235 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4236 * nptl/tst-setuid2.c: New file.
4237 * nptl/Makefile (xtests): Add tst-setuid2.
4238
4239 2014-04-01 Alan Modra <amodra@gmail.com>
4240
4241 [BZ #16786]
4242 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4243
4244 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4245
4246 [BZ #6803]
4247 [BZ #6804]
4248 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4249 set errno as appropriate.
4250 * math/w_scalbf.c (__scalbf): Likewise.
4251 * math/w_scalbl.c (__scalbl): Likewise.
4252 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4253 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4254 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4255 Add more NaN tests.
4256
4257 [BZ #16349]
4258 * math/w_atan2.c: Include <errno.h>.
4259 (__atan2): Set errno for result underflowing to zero.
4260 * math/w_atan2f.c: Include <errno.h>.
4261 (__atan2f): Set errno for result underflowing to zero.
4262 * math/w_atan2l.c: Include <errno.h>.
4263 (__atan2l): Set errno for result underflowing to zero.
4264 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4265 tests.
4266 * math/auto-libm-test-out: Regenerated.
4267
4268 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4269
4270 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4271 Encode instruction correctly in little endian.
4272 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4273 Likewise.
4274 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4275 Likewise.
4276 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4277 Likewise.
4278 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4279 Likewise.
4280
4281 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4282
4283 [BZ #9894]
4284 * sysdeps/unix/sysv/linux/kernel-features.h
4285 [__sparc__ && !__arch64__ && !__sparc_v9__]
4286 (__ASSUME_SET_ROBUST_LIST): Do not define.
4287 [__sparc__ && !__arch64__ && !__sparc_v9__]
4288 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4289 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4290 Likewise.
4291 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4292 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4293 (__ASSUME_REQUEUE_PI): Likewise.
4294 (__ASSUME_SET_ROBUST_LIST): Likewise.
4295 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4296 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4297 Undefine.
4298 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4299 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4300 Likewise.
4301 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4302 Likewise.
4303 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4304 Likewise.
4305 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4306 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4307 Undefine.
4308 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4309 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4310 Likewise.
4311
4312 [BZ #16648]
4313 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4314 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4315 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4316
4317 2014-03-31 Will Newton <will.newton@linaro.org>
4318
4319 * benchtests/Makefile (bench): Add ffs and ffsll to list
4320 of tests.
4321 * benchtests/ffs-inputs: New file.
4322 * benchtests/ffsll-inputs: Likewise.
4323
4324 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4325
4326 [BZ #16770]
4327 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4328 too large before casting to int.
4329 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4330 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4331 * math/libm-test.inc (scalb_test_data): Add more tests.
4332
4333 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4334
4335 * benchtests/Makefile (DETAILED_OPT): New make option.
4336 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4337 set.
4338 * benchtests/bench-skeleton.c: Include stdbool.h.
4339 (main): Store and print timings per input.
4340 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4341 member to each argument value.
4342 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4343 (_print_arg_data): Initialize per-input timing to 0.
4344
4345 * benchtests/Makefile (timing-type): New binary.
4346 (bench-clean): Also remove bench-timing-type.
4347 (bench): New target for timing-type.
4348 (bench-func): Print output in JSON format.
4349 * benchtests/bench-skeleton.c (main): Print output in JSON
4350 format.
4351 * benchtests/bench-timing-type.c: New file.
4352 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4353 (TIMING_PRINT_STATS): Remove.
4354 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4355 name separately.
4356
4357 * benchtests/bench-modf.c: Remove.
4358 * benchtests/modf-inputs: New inputs file.
4359
4360 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4361
4362 [BZ #16362]
4363 * math/s_clog10.c (M_PI_LOG10E): New macro.
4364 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4365 imaginary parts are 0.
4366 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4367 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4368 imaginary parts are 0.
4369 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4370 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4371 imaginary parts are 0.
4372 * math/libm-test.inc (clog10_test_data): Update expected results
4373 for when real and imaginary parts are 0.
4374
4375 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4376
4377 * elf/dl-load.c: Finish conversion of __builtin_expect into
4378 __glibc_{un}likely.
4379
4380 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4381
4382 [BZ #16348]
4383 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4384 1+x for argument with exponent below -67.
4385 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4386 Likewise.
4387 * math/auto-libm-test-in: Add more tests of exp.
4388 * math/auto-libm-test-out: Regenerated.
4389
4390 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4391
4392 [BZ #16759]
4393 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4394 (nscd_getnetgrent): Use it.
4395
4396 [BZ #16760]
4397 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4398 of stpcpy.
4399
4400 2014-03-27 Andi Kleen <ak@linux.intel.com>
4401
4402 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4403 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4404 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4405 (lll_robust_unlock): Remove out of line section. Use cfi
4406 intrinsics.
4407 (LLL_STUB_UNWIND_INFO*): Remove.
4408 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4409 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4410 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4411 (lll_robust_unlock): Remove out of line section. Use cfi
4412 intrinsics.
4413 (LLL_STUB_UNWIND_INFO*): Remove.
4414
4415 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4416
4417 [BZ #16758]
4418 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4419 blank values.
4420
4421 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4422
4423 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4424
4425 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4426
4427 [BZ #16198]
4428 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4429 fnstenv.
4430 * math/test-fenv-preserve.c: New file.
4431 * math/Makefile (tests): Add test-fenv-preserve.
4432
4433 2014-03-26 Will Newton <will.newton@linaro.org>
4434
4435 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4436
4437 2014-03-25 Roland McGrath <roland@hack.frob.com>
4438
4439 * scripts/versionlist.awk: Partition the version sets and emit all
4440 GLIBC_* (sorted) before all others (sorted).
4441
4442 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4443
4444 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4445 GLIBC_2.2.5 version.
4446
4447 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4448
4449 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4450 calls.
4451
4452 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4453 previous change.
4454
4455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4456
4457 2014-03-25 Andreas Schwab <schwab@suse.de>
4458
4459 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4460 label to be used after in6ailist is initialized.
4461
4462 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4463
4464 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4465 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4466
4467 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4468
4469 [BZ #16357]
4470 [BZ #16599]
4471 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4472 min_plus_half.
4473 (fp_formats): Update initializers.
4474 (init_fp_formats): Initialize new field.
4475 (output_for_one_input_case): Allow underflow for results up to
4476 min_plus_half.
4477 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4478 * math/auto-libm-test-in: Don't mark some underflows from asin and
4479 atanh as spurious.
4480 * math/auto-libm-test-out: Regenerated.
4481 * sysdeps/i386/fpu/libm-test-ulps: Update.
4482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4483
4484 2014-03-25 Andreas Schwab <schwab@suse.de>
4485
4486 * libio/Makefile (tst-ftell-partial-wide-ENV)
4487 (tst-ftell-active-handler-ENV): Define.
4488
4489 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4490
4491 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4492
4493 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4494
4495 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4496
4497 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4498
4499 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4500 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4501 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4502
4503 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4504
4505 [BZ #16634]
4506 * elf/dl-load.c (open_verify): Add mode parameter.
4507 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4508 (open_path): Change from boolean 'secure' to complete flag 'mode'
4509 (_dl_map_object): Adjust.
4510 * elf/Makefile (tests): Add tst-dlopen-aout.
4511 * elf/tst-dlopen-aout.c: New test.
4512
4513 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4514
4515 [BZ #16714]
4516 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4517 (struct stat): Rename member pad0 to __glibc_reserved0.
4518
4519 [BZ #16712]
4520 * sysdeps/s390/s390-32/bits/wordsize.h
4521 (__WORDSIZE32_SIZE_ULONG): New define.
4522 * sysdeps/s390/s390-64/bits/wordsize.h
4523 (__WORDSIZE32_SIZE_ULONG): Likewise.
4524 * sysdeps/generic/stdint.h (SIZE_MAX):
4525 Define as UL if __WORDSIZE32_SIZE_ULONG.
4526
4527 [BZ #16713]
4528 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4529 (__glibc_reserved0): New variable.
4530 (sa_flags): Change type to int.
4531
4532 * posix/Makefile (before-compile): Use += before-compile instead
4533 of a :=.
4534
4535 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4536 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4537
4538 2014-03-20 Andreas Schwab <schwab@suse.de>
4539
4540 [BZ #16743]
4541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4542 non-matching result from nscd.
4543
4544 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4545
4546 * scripts/bench.py: Moved to ...
4547 * benchtests/scripts/bench.py: ... here.
4548 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4549
4550 2014-03-24 Andreas Schwab <schwab@suse.de>
4551
4552 [BZ #16002]
4553 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4554 alloca_account and account alloca use for struct in6ailist.
4555
4556 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4557
4558 [BZ #16284]
4559 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4560 rounding mode to recompute results that overflow to infinity or
4561 underflow to zero.
4562 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4563 bug 16284.
4564 * math/auto-libm-test-out: Regenerated.
4565 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4566 (ccosh_test): Likewise.
4567 (csin_test_data): Use plus_oflow.
4568 (csin_test): Use ALL_RM_TEST.
4569 (csinh_test_data): Use plus_oflow.
4570 (csinh_test): Use ALL_RM_TEST.
4571 * sysdeps/i386/fpu/libm-test-ulps: Update.
4572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4573
4574 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4575
4576 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4577 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4578 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4579
4580 [BZ #16731]
4581 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4582 when x - 1 is zero.
4583 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4584 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4585 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4586 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4587 argument is 1.
4588 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4589 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4590 zero.
4591 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4592 * sysdeps/i386/fpu/libm-test-ulps: Update.
4593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4594
4595 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4596
4597 * scripts/bench.pl: Remove file.
4598 * scripts/bench.py: New benchmark script.
4599 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4600 * benchtests/README: Mention python dependency.
4601 * scripts/pylintrc: New file.
4602 * scripts/pylint: New file.
4603
4604 * bits/mathdef.h: Use #ifdef instead of #if.
4605 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4606 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4607 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4608 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4609 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4610 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4611
4612 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4613 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4614
4615 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4617 and strpbrk-ppc64 objects.
4618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4619 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4620 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4621 multiarch strpbrk for POWER7.
4622 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4623 multiarch strpbrk for PPC64.
4624 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4625 ifunc selector.
4626 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4627 strpbrk for POWER7.
4628
4629 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4630
4631 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4632 (atan_test): Likewise.
4633 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4634 (atanh_test): Use ALL_RM_TEST.
4635 (atan2_test_data): Likewise.
4636 (cabs_test): Likewise.
4637 (cacosh_test): Likewise.
4638 (carg_test): Likewise.
4639 (casin_test): Likewise.
4640 (casinh_test): Likewise.
4641 (cbrt_test): Likewise.
4642 (csqrt_test): Likewise.
4643 (erf_test): Likewise.
4644 (erfc_test): Likewise.
4645 (pow10_test): Likewise.
4646 (exp2_test): Likewise.
4647 (hypot_test): Likewise.
4648 (j0_test): Likewise.
4649 (j1_test): Likewise.
4650 (lgamma_test): Likewise.
4651 (gamma_test): Likewise.
4652 (sincos_test): Likewise.
4653 (tanh_test): Likewise.
4654 (y0_test): Likewise.
4655 (y1_test): Likewise.
4656 * sysdeps/i386/fpu/libm-test-ulps: Update.
4657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4658
4659 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4660
4661 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4663 and strcspn-ppc64 objects.
4664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4665 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4666 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4667 multiarch strcspn for POWER7.
4668 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4669 multiarch strcspn for PPC64.
4670 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4671 ifunc selector.
4672 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4673 strcspn for POWER7.
4674
4675 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4676
4677 * math/gen-libm-test.pl (generate_testfile): Expect only function
4678 name as argument to AUTO_TESTS_* and pass results for all rounding
4679 modes to parse_args.
4680 (parse_auto_input): Separate inputs of automatic tests from
4681 outputs before storing in %auto_tests.
4682 * math/libm-test.inc (acos_test_data): Update call to
4683 AUTO_TESTS_f_f.
4684 (acos_test): Use ALL_RM_TEST.
4685 (acos_tonearest_test_data): Remove.
4686 (acos_test_tonearest): Likewise.
4687 (acos_towardzero_test_data): Likewise.
4688 (acos_test_towardzero): Likewise.
4689 (acos_downward_test_data): Likewise.
4690 (acos_test_downward): Likewise.
4691 (acos_upward_test_data): Likewise.
4692 (acos_test_upward): Likewise.
4693 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4694 (asin_test_data): Likewise.
4695 (asin_test): Use ALL_RM_TEST.
4696 (asin_tonearest_test_data): Remove.
4697 (asin_test_tonearest): Likewise.
4698 (asin_towardzero_test_data): Likewise.
4699 (asin_test_towardzero): Likewise.
4700 (asin_downward_test_data): Likewise.
4701 (asin_test_downward): Likewise.
4702 (asin_upward_test_data): Likewise.
4703 (asin_test_upward): Likewise.
4704 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4705 (atan_test_data): Likewise.
4706 (atanh_test_data): Likewise.
4707 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4708 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4709 (carg_test_data): Likewise.
4710 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4711 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4712 (ccosh_test_data): Likewise.
4713 (cexp_test_data): Likewise.
4714 (clog_test_data): Likewise.
4715 (clog10_test_data): Likewise.
4716 (cos_test_data): Update call to AUTO_TESTS_f_f.
4717 (cos_test): Use ALL_RM_TEST.
4718 (cos_tonearest_test_data): Remove.
4719 (cos_test_tonearest): Likewise.
4720 (cos_towardzero_test_data): Likewise.
4721 (cos_test_towardzero): Likewise.
4722 (cos_downward_test_data): Likewise.
4723 (cos_test_downward): Likewise.
4724 (cos_upward_test_data): Likewise.
4725 (cos_test_upward): Likewise.
4726 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4727 (cosh_test): Use ALL_RM_TEST.
4728 (cosh_tonearest_test_data): Remove.
4729 (cosh_test_tonearest): Likewise.
4730 (cosh_towardzero_test_data): Likewise.
4731 (cosh_test_towardzero): Likewise.
4732 (cosh_downward_test_data): Likewise.
4733 (cosh_test_downward): Likewise.
4734 (cosh_upward_test_data): Likewise.
4735 (cosh_test_upward): Likewise.
4736 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4737 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4738 (ctan_test_data): Likewise.
4739 (ctan_test): Use ALL_RM_TEST.
4740 (ctan_tonearest_test_data): Remove.
4741 (ctan_test_tonearest): Likewise.
4742 (ctan_towardzero_test_data): Likewise.
4743 (ctan_test_towardzero): Likewise.
4744 (ctan_downward_test_data): Likewise.
4745 (ctan_test_downward): Likewise.
4746 (ctan_upward_test_data): Likewise.
4747 (ctan_test_upward): Likewise.
4748 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4749 (ctanh_test): Use ALL_RM_TEST.
4750 (ctanh_tonearest_test_data): Remove.
4751 (ctanh_test_tonearest): Likewise.
4752 (ctanh_towardzero_test_data): Likewise.
4753 (ctanh_test_towardzero): Likewise.
4754 (ctanh_downward_test_data): Likewise.
4755 (ctanh_test_downward): Likewise.
4756 (ctanh_upward_test_data): Likewise.
4757 (ctanh_test_upward): Likewise.
4758 (erf_test_data): Update call to AUTO_TESTS_f_f.
4759 (erfc_test_data): Likewise.
4760 (exp_test_data): Likewise.
4761 (exp_test): Use ALL_RM_TEST.
4762 (exp_tonearest_test_data): Remove.
4763 (exp_test_tonearest): Likewise.
4764 (exp_towardzero_test_data): Likewise.
4765 (exp_test_towardzero): Likewise.
4766 (exp_downward_test_data): Likewise.
4767 (exp_test_downward): Likewise.
4768 (exp_upward_test_data): Likewise.
4769 (exp_test_upward): Likewise.
4770 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4771 (exp10_test): Use ALL_RM_TEST.
4772 (exp10_tonearest_test_data): Remove.
4773 (exp10_test_tonearest): Likewise.
4774 (exp10_towardzero_test_data): Likewise.
4775 (exp10_test_towardzero): Likewise.
4776 (exp10_downward_test_data): Likewise.
4777 (exp10_test_downward): Likewise.
4778 (exp10_upward_test_data): Likewise.
4779 (exp10_test_upward): Likewise.
4780 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4781 (expm1_test_data): Likewise.
4782 (expm1_test): Use ALL_RM_TEST.
4783 (expm1_tonearest_test_data): Remove.
4784 (expm1_test_tonearest): Likewise.
4785 (expm1_towardzero_test_data): Likewise.
4786 (expm1_test_towardzero): Likewise.
4787 (expm1_downward_test_data): Likewise.
4788 (expm1_test_downward): Likewise.
4789 (expm1_upward_test_data): Likewise.
4790 (expm1_test_upward): Likewise.
4791 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4792 (fma_test): Use ALL_RM_TEST.
4793 (fma_towardzero_test_data): Remove.
4794 (fma_test_towardzero): Likewise.
4795 (fma_downward_test_data): Likewise.
4796 (fma_test_downward): Likewise.
4797 (fma_upward_test_data): Likewise.
4798 (fma_test_upward): Likewise.
4799 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4800 (j0_test_data): Update call to AUTO_TESTS_f_f.
4801 (j1_test_data): Likewise.
4802 (jn_test_data): Update call to AUTO_TESTS_if_f.
4803 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4804 (log_test_data): Update call to AUTO_TESTS_f_f.
4805 (log10_test_data): Likewise.
4806 (log1p_test_data): Likewise.
4807 (log2_test_data): Likewise.
4808 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4809 (pow_tonearest_test_data): Likewise.
4810 (sin_test_data): Update call to AUTO_TESTS_f_f.
4811 (sin_test): Use ALL_RM_TEST.
4812 (sin_tonearest_test_data): Remove.
4813 (sin_test_tonearest): Likewise.
4814 (sin_towardzero_test_data): Likewise.
4815 (sin_test_towardzero): Likewise.
4816 (sin_downward_test_data): Likewise.
4817 (sin_test_downward): Likewise.
4818 (sin_upward_test_data): Likewise.
4819 (sin_test_upward): Likewise.
4820 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4821 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4822 (sinh_test): Use ALL_RM_TEST.
4823 (sinh_tonearest_test_data): Remove.
4824 (sinh_test_tonearest): Likewise.
4825 (sinh_towardzero_test_data): Likewise.
4826 (sinh_test_towardzero): Likewise.
4827 (sinh_downward_test_data): Likewise.
4828 (sinh_test_downward): Likewise.
4829 (sinh_upward_test_data): Likewise.
4830 (sinh_test_upward): Likewise.
4831 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4832 (sqrt_test): Use ALL_RM_TEST.
4833 (sqrt_tonearest_test_data): Remove.
4834 (sqrt_test_tonearest): Likewise.
4835 (sqrt_towardzero_test_data): Likewise.
4836 (sqrt_test_towardzero): Likewise.
4837 (sqrt_downward_test_data): Likewise.
4838 (sqrt_test_downward): Likewise.
4839 (sqrt_upward_test_data): Likewise.
4840 (sqrt_test_upward): Likewise.
4841 (tan_test_data): Update call to AUTO_TESTS_f_f.
4842 (tan_test): Use ALL_RM_TEST.
4843 (tan_tonearest_test_data): Remove.
4844 (tan_test_tonearest): Likewise.
4845 (tan_towardzero_test_data): Likewise.
4846 (tan_test_towardzero): Likewise.
4847 (tan_downward_test_data): Likewise.
4848 (tan_test_downward): Likewise.
4849 (tan_upward_test_data): Likewise.
4850 (tan_test_upward): Likewise.
4851 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4852 (tgamma_test_data): Likewise.
4853 (y0_test_data): Likewise.
4854 (y1_test_data): Likewise.
4855 (yn_test_data): Update call to AUTO_TESTS_if_f.
4856 (main): Do not call removed functions.
4857
4858 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4859
4860 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4861 (ldexp_test_data): Remove.
4862 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4863 scalbn_test_data.
4864 (scalb_test): Use ALL_RM_TEST.
4865
4866 2014-03-19 Andreas Schwab <schwab@suse.de>
4867
4868 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4869
4870 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4871
4872 [BZ #16649]
4873 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4874 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4875 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4876 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4877 (__ASSUME_PREADV): Undefine.
4878 (__ASSUME_PWRITEV): Likewise.
4879
4880 2014-03-18 Roland McGrath <roland@hack.frob.com>
4881
4882 * bits/mman-linux.h: Add comment about non-Linux use.
4883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4884 bits/mman-linux.h resting place.
4885
4886 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4887 * bits/mman-linux.h: ... here.
4888
4889 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4890
4891 * conform/conformtest.pl: Add standard definition when calling C
4892 preprocessor on data files.
4893 (checknamespace): Remove unused variable.
4894
4895 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4896
4897 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4898 minus_oflow, plus_uflow and minus_uflow in expected results.
4899 * math/libm-test.inc (scalbn_test_data): Add more tests of
4900 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4901 minus_uflow.
4902 (scalbn_test): Use ALL_RM_TEST.
4903 (scalbln_test_data): Add more tests of negative arguments. Use
4904 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4905 (scalbln_test): Use ALL_RM_TEST.
4906
4907 2014-03-18 Roland McGrath <roland@hack.frob.com>
4908
4909 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4910
4911 2014-03-18 Will Newton <will.newton@linaro.org>
4912
4913 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4914 inaccurate comment.
4915
4916 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4917
4918 * Makerules [!subdir] (check-abi): Exit with error status if a
4919 test failed.
4920
4921 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4922
4923 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4924 for rint. Include results for all rounding modes.
4925 (nearbyint_test): Use ALL_RM_TEST.
4926 (rint_test_data): Include all tests used for nearbyint.
4927
4928 2014-03-17 Will Newton <will.newton@linaro.org>
4929
4930 * nptl/sysdeps/pthread/pthread.h: Revert previous
4931 change.
4932
4933 * sysdeps/generic/ldsodefs.h: Revert previous
4934 change.
4935
4936 * libio/genops.c: Revert previous change.
4937 * libio/libioP.h: Likewise.
4938 * stdio-common/vfprintf.c: Likewise.
4939
4940 * sysdeps/generic/math_private.h: Revert previous
4941 change.
4942
4943 * sysdeps/generic/math_private.h: Check whether
4944 HAVE_RM_CTX is defined with #ifdef rather
4945 than #if.
4946
4947 * argp/argp-fmtstream.h: Check whether
4948 __STRICT_ANSI__ is defined with #ifdef rather
4949 than #if.
4950 * argp/argp.h: Likewise.
4951
4952 * libio/genops.c: Check whether
4953 _IO_JUMPS_OFFSET is defined with #ifdef rather
4954 than #if.
4955 * libio/libioP.h: Likewise.
4956 * stdio-common/vfprintf.c: Likewise.
4957
4958 * sysdeps/generic/ldsodefs.h: Check whether
4959 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4960 than #if.
4961
4962 * nptl/sysdeps/pthread/pthread.h: Check
4963 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4964 its value.
4965
4966 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4967
4968 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4969 setting O_APPEND.
4970 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4971 test case.
4972
4973 [BZ #16680]
4974 * libio/fileops.c (_IO_file_open): Seek to end of file but
4975 don't cache the offset.
4976 (get_file_offset): Remove function.
4977 (do_ftell): Use cached offset when available.
4978 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4979 don't cache the offset.
4980 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4981 case.
4982 (do_one_test): Call it.
4983 (do_ftell_test): Fix up expected old offset for a+ mode.
4984 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4985 available.
4986
4987 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4988 up test status with function return status.
4989 (do_write_test): Likewise.
4990 (do_append_test): Likewise.
4991
4992 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4993 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4994 Remove.
4995
4996 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4997
4998 * math/gen-libm-test.pl (parse_args): Handle results specified for
4999 each rounding mode separately.
5000 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5001 tests and results from lrint_tonearest_test_data,
5002 lrint_towardzero_test_data, lrint_downward_test_data and
5003 lrint_upward_test_data.
5004 (lrint_test): Use ALL_RM_TEST.
5005 (lrint_tonearest_test_data): Remove.
5006 (lrint_test_tonearest): Likewise.
5007 (lrint_towardzero_test_data): Likewise.
5008 (lrint_test_towardzero): Likewise.
5009 (lrint_downward_test_data): Likewise.
5010 (lrint_test_downward): Likewise.
5011 (lrint_upward_test_data): Likewise.
5012 (lrint_test_upward): Likewise.
5013 (llrint_test_data): Merge in per-rounding-mode tests and results
5014 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5015 llrint_downward_test_data and llrint_upward_test_data.
5016 (llrint_test): Use ALL_RM_TEST.
5017 (llrint_tonearest_test_data): Remove.
5018 (llrint_test_tonearest): Likewise.
5019 (llrint_towardzero_test_data): Likewise.
5020 (llrint_test_towardzero): Likewise.
5021 (llrint_downward_test_data): Likewise.
5022 (llrint_test_downward): Likewise.
5023 (llrint_upward_test_data): Likewise.
5024 (llrint_test_upward): Likewise.
5025 (rint_test_data): Merge in per-rounding-mode tests and results
5026 from rint_tonearest_test_data, rint_towardzero_test_data,
5027 rint_downward_test_data and rint_upward_test_data. Add
5028 per-rounding-mode results for tests not in those arrays.
5029 (rint_test): Use ALL_RM_TEST.
5030 (rint_tonearest_test_data): Remove.
5031 (rint_test_tonearest): Likewise.
5032 (rint_towardzero_test_data): Likewise.
5033 (rint_test_towardzero): Likewise.
5034 (rint_downward_test_data): Likewise.
5035 (rint_test_downward): Likewise.
5036 (rint_upward_test_data): Likewise.
5037 (rint_test_upward): Likewise.
5038 (main): Don't call removed functions.
5039
5040 2014-03-14 Roland McGrath <roland@hack.frob.com>
5041
5042 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5043 "Compiled on ..." crapola. It is anti-useful.
5044
5045 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5046
5047 * scripts/evaluate-test.sh: Handle fourth argument to determine
5048 whether test run should stop on failure.
5049 * Makeconfig (stop-on-test-failure): New variable.
5050 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5051 $(stop-on-test-failure).
5052 * Makefile (tests): Give a summary of results from testing and
5053 exit with failure status if they include an ERROR or FAIL.
5054 (xtests): Likewise.
5055 * manual/install.texi (Configuring and compiling): Mention
5056 stop-on-test-failure=y.
5057 * INSTALL: Regenerated.
5058
5059 2014-03-14 Roland McGrath <roland@hack.frob.com>
5060
5061 * scripts/versionlist.awk: New file.
5062 * Makerules [$(build-shared) = yes]
5063 (postclean-generated): Add Versions.def, not Versions.def.v and
5064 Versions.def.v.i.
5065 ($(common-objpfx)Versions.def.v.i): Target removed.
5066 ($(common-objpfx)Versions.def): New target.
5067 ($(common-objpfx)Versions.all): Depend on that rather that
5068 $(common-objpfx)Versions.def.v.
5069 * Versions.def: File removed.
5070
5071 * Makeconfig (+gccwarn): Add -Wundef.
5072 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5073 a dl-sysdep.h breaking its contract.
5074 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5075 * include/stackinfo.h: New file.
5076 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5077 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5078 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5079 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5080 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5081 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5082 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5083 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5084 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5085 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5086 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5087 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5088 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5089 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5090 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5091
5092 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5093
5094 [BZ #16707]
5095 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5096 implementation.
5097 * math/libm-test.inc (round_test_data): Add more tests.
5098
5099 [BZ #16706]
5100 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5101 implementation.
5102 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5103
5104 [BZ #16701]
5105 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5106 implementation.
5107 * math/libm-test.inc (ceil_test_data): Add more tests.
5108
5109 * math/libm-test.inc (trunc_test_data): Add more tests related to
5110 BZ#16414.
5111
5112 2014-03-14 Roland McGrath <roland@hack.frob.com>
5113
5114 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5115 with #if rather than #ifdef.
5116 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5117
5118 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5119
5120 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5121 first. Disable AVX-512 GCC support if assembler doesn't support
5122 it.
5123 * sysdeps/x86_64/configure: Regenerated.
5124
5125 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5126
5127 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5128 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5129 (__old_pthread_attr_setstack): Likewise.
5130 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5131 [!_STACK_GROWS_DOWN]: Likewise.
5132
5133 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5134
5135 * config.make.in (have-bash2): Delete.
5136 * configure.ac (libc_cv_have_bash2): Delete.
5137 * configure: Regenerate.
5138 * elf/Makefile (common-ldd-rewrite): Rename to ...
5139 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5140 (sh-ldd-rewrite): Delete.
5141 (bash-ldd-rewrite): Delete.
5142 (have-bash2): Delete checks.
5143 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5144 ldd-rewrite.
5145
5146 * config.make.in (have-ksh): Delete.
5147 (KSH): Delete.
5148 * configure.ac (libc_cv_have_ksh): Delete.
5149 * configure: Regenerate.
5150
5151 * elf/Makefile: Delete $(have-ksh) check.
5152 ($(objpfx)sotruss): Change KSH to BASH.
5153 * elf/sotruss.ksh: Rename to ...
5154 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5155 function style to match POSIX. Drop ksh vim mode setting.
5156
5157 * manual/time.texi (Specifying the Time Zone with TZ): Change
5158 Tuesday to Thursday.
5159
5160 * debug/tst-longjmp_chk2.c: Update header comment.
5161 (stackoverflow_handler): Add comment. Call assert on pass value.
5162
5163 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5164
5165 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5166 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5167 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5168 (La_x86_64_vector): Add zmm.
5169 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5170 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5171 ($(objpfx)tst-audit10): New target.
5172 ($(objpfx)tst-audit10.out): Likewise.
5173 (tst-audit10-ENV): New.
5174 (AVX512-CFLAGS): Likewise.
5175 (CFLAGS-tst-audit10.c): Likewise.
5176 (CFLAGS-tst-auditmod10a.c): Likewise.
5177 (CFLAGS-tst-auditmod10b.c): Likewise.
5178 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5179 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5180 * sysdeps/x86_64/configure: Regenerated.
5181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5182 AVX-512 zmm register support.
5183 (_dl_x86_64_save_sse): Likewise.
5184 (_dl_x86_64_restore_sse): Likewise.
5185 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5186 size vector registers.
5187 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5188 (ZMM_SIZE): Likewise.
5189 * sysdeps/x86_64/tst-audit10.c: New file.
5190 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5191 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5192
5193 2014-03-13 Roland McGrath <roland@hack.frob.com>
5194
5195 * configure.ac (HAVE_EHDR_START): New check.
5196 * configure: Regenerated.
5197 * config.h.in (HAVE_EHDR_START): New #undef.
5198 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5199 assuming the lowest-addressed segment maps the start of the file.
5200
5201 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5202
5203 * INSTALL: Regenerated.
5204
5205 2014-03-13 Will Newton <will.newton@linaro.org>
5206
5207 * manual/setjmp.texi (System V contexts): Improve
5208 clarity and grammar of documentation.
5209
5210 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5211
5212 [BZ #16381]
5213 * elf/Makefile (tests): Add tst-pie2.
5214 (tests-pie): Add tst-pie2.
5215 * elf/tst-pie2.c: New file.
5216 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5217 for ET_EXEC.
5218 * elf/rtld.c (map_doit): Load executable as lt_executable.
5219 (dl_main): Likewise.
5220
5221 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5222
5223 [BZ #16642]
5224 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5225 (__ASSUME_PSELECT): Undefine.
5226
5227 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5228
5229 [BZ #16689]
5230 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5231 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5232 static build.
5233 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5234 selector for static builds.
5235
5236 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5237
5238 [BZ #16695]
5239 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5240 key in the buffer.
5241
5242 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5243
5244 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5245 IFUNC selector for static builds.
5246
5247 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5248
5249 * sysdeps/mips/math_private.h [__mips_hard_float]
5250 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5251 libc_feresetround_mips_ctx.
5252 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5253 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5254 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5255
5256 [BZ #16677]
5257 * math/s_nextafter.c (__nextafter): Do not return value from
5258 overflowing computation.
5259 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5260 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5261 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5262 Likewise.
5263 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5264 Likewise.
5265 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5266 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5267
5268 2014-03-11 Roland McGrath <roland@hack.frob.com>
5269
5270 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5271 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5272 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5273 the new mov targetting sp.
5274
5275 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5276
5277 [BZ #16683]
5278 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5279 Define it for static builds as well.
5280 (NO_BZERO_IMPL): Likewise.
5281
5282 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5283
5284 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5285 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5286 multiarch strspn for PPC64.
5287 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5288 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5290 (__libc_ifunc_impl_list): Likewise.
5291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5292 multiarch optimizations
5293 * string/strspn.c (strspn): Using macro to redefine symbol name.
5294
5295 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5296 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5297
5298 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5299 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5300 multiarch strncat for PPC64.
5301 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5302 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5304 (__libc_ifunc_impl_list): Likewise.
5305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5306 multiarch optimizations
5307
5308 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5309
5310 [BZ #16639]
5311 * nscd/nscd.service: Make service type forking.
5312
5313 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5314
5315 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5316 sign in non default rounding modes.
5317 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5318
5319 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5320
5321 * math/libm-test.inc (ALL_RM_TEST): New macro.
5322 (ceil_test): Use ALL_RM_TEST.
5323 (cimag_test): Likewise.
5324 (conj_test): Likewise.
5325 (copysign_test): Likewise.
5326 (cproj_test): Likewise.
5327 (creal_test): Likewise.
5328 (fabs_test): Likewise.
5329 (floor_test): Likewise.
5330 (fmax_test): Likewise.
5331 (fmin_test): Likewise.
5332 (fmod_test): Likewise.
5333 (fpclassify_test): Likewise.
5334 (frexp_test): Likewise.
5335 (ilogb_test): Likewise.
5336 (isfinite_test): Likewise.
5337 (finite_test): Likewise.
5338 (isgreater_test): Likewise.
5339 (isgreaterequal_test): Likewise.
5340 (isinf_test): Likewise.
5341 (isless_test): Likewise.
5342 (islessequal_test): Likewise.
5343 (islessgreater_test): Likewise.
5344 (isnan_test): Likewise.
5345 (isnormal_test): Likewise.
5346 (issignaling_test): Likewise.
5347 (isunordered_test): Likewise.
5348 (logb_test): Likewise.
5349 (logb_downward_test_data): Remove.
5350 (logb_test_downward): Likewise.
5351 (lround_test): Use ALL_RM_TEST.
5352 (llround_test): Likewise.
5353 (modf_test): Likewise.
5354 (nexttoward_test): Likewise.
5355 (remainder_test): Likewise.
5356 (drem_test): Likewise.
5357 (remainder_tonearest_test_data): Likewise.
5358 (remainder_test_tonearest): Likewise.
5359 (drem_test_tonearest): Likewise.
5360 (remainder_towardzero_test_data): Likewise.
5361 (remainder_test_towardzero): Likewise.
5362 (drem_test_towardzero): Likewise.
5363 (remainder_downward_test_data): Likewise.
5364 (remainder_test_downward): Likewise.
5365 (drem_test_downward): Likewise.
5366 (remainder_upward_test_data): Likewise.
5367 (remainder_test_upward): Likewise.
5368 (drem_test_upward): Likewise.
5369 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5370 (round_test): Use ALL_RM_TEST.
5371 (signbit_test): Likewise.
5372 (trunc_test): Likewise.
5373 (significand_test): Likewise.
5374 (main): Don't call removed functions.
5375
5376 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5377
5378 [BZ #16674]
5379 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5380 || __USE_XOPEN2K8].
5381 (ILL_ILLOPN): Likewise.
5382 (ILL_ILLADR): Likewise.
5383 (ILL_ILLTRP): Likewise.
5384 (ILL_PRVOPC): Likewise.
5385 (ILL_PRVREG): Likewise.
5386 (ILL_COPROC): Likewise.
5387 (ILL_BADSTK): Likewise.
5388 (FPE_INTDIV): Likewise.
5389 (FPE_INTOVF): Likewise.
5390 (FPE_FLTDIV): Likewise.
5391 (FPE_FLTOVF): Likewise.
5392 (FPE_FLTUND): Likewise.
5393 (FPE_FLTRES): Likewise.
5394 (FPE_FLTINV): Likewise.
5395 (FPE_FLTSUB): Likewise.
5396 (SEGV_MAPERR): Likewise.
5397 (SEGV_ACCERR): Likewise.
5398 (BUS_ADRALN): Likewise.
5399 (BUS_ADRERR): Likewise.
5400 (BUS_OBJERR): Likewise.
5401 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5402 (TRAP_TRACE): Likewise.
5403 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5404 __USE_XOPEN2K8].
5405 (CLD_KILLED): Likewise.
5406 (CLD_DUMPED): Likewise.
5407 (CLD_TRAPPED): Likewise.
5408 (CLD_STOPPED): Likewise.
5409 (CLD_CONTINUED): Likewise.
5410 (POLL_IN): Likewise.
5411 (POLL_OUT): Likewise.
5412 (POLL_MSG): Likewise.
5413 (POLL_ERR): Likewise.
5414 (POLL_PRI): Likewise.
5415 (POLL_HUP): Likewise.
5416 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5417 Likewise.
5418 (ILL_ILLOPN): Likewise.
5419 (ILL_ILLADR): Likewise.
5420 (ILL_ILLTRP): Likewise.
5421 (ILL_PRVOPC): Likewise.
5422 (ILL_PRVREG): Likewise.
5423 (ILL_COPROC): Likewise.
5424 (ILL_BADSTK): Likewise.
5425 (FPE_INTDIV): Likewise.
5426 (FPE_INTOVF): Likewise.
5427 (FPE_FLTDIV): Likewise.
5428 (FPE_FLTOVF): Likewise.
5429 (FPE_FLTUND): Likewise.
5430 (FPE_FLTRES): Likewise.
5431 (FPE_FLTINV): Likewise.
5432 (FPE_FLTSUB): Likewise.
5433 (SEGV_MAPERR): Likewise.
5434 (SEGV_ACCERR): Likewise.
5435 (BUS_ADRALN): Likewise.
5436 (BUS_ADRERR): Likewise.
5437 (BUS_OBJERR): Likewise.
5438 (BUS_MCEERR_AR): Likewise.
5439 (BUS_MCEERR_AO): Likewise.
5440 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5441 (TRAP_TRACE): Likewise.
5442 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5443 __USE_XOPEN2K8].
5444 (CLD_KILLED): Likewise.
5445 (CLD_DUMPED): Likewise.
5446 (CLD_TRAPPED): Likewise.
5447 (CLD_STOPPED): Likewise.
5448 (CLD_CONTINUED): Likewise.
5449 (POLL_IN): Likewise.
5450 (POLL_OUT): Likewise.
5451 (POLL_MSG): Likewise.
5452 (POLL_ERR): Likewise.
5453 (POLL_PRI): Likewise.
5454 (POLL_HUP): Likewise.
5455 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5456 (ILL_ILLOPN): Likewise.
5457 (ILL_ILLADR): Likewise.
5458 (ILL_ILLTRP): Likewise.
5459 (ILL_PRVOPC): Likewise.
5460 (ILL_PRVREG): Likewise.
5461 (ILL_COPROC): Likewise.
5462 (ILL_BADSTK): Likewise.
5463 (FPE_INTDIV): Likewise.
5464 (FPE_INTOVF): Likewise.
5465 (FPE_FLTDIV): Likewise.
5466 (FPE_FLTOVF): Likewise.
5467 (FPE_FLTUND): Likewise.
5468 (FPE_FLTRES): Likewise.
5469 (FPE_FLTINV): Likewise.
5470 (FPE_FLTSUB): Likewise.
5471 (SEGV_MAPERR): Likewise.
5472 (SEGV_ACCERR): Likewise.
5473 (BUS_ADRALN): Likewise.
5474 (BUS_ADRERR): Likewise.
5475 (BUS_OBJERR): Likewise.
5476 (BUS_MCEERR_AR): Likewise.
5477 (BUS_MCEERR_AO): Likewise.
5478 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5479 (TRAP_TRACE): Likewise.
5480 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5481 __USE_XOPEN2K8].
5482 (CLD_KILLED): Likewise.
5483 (CLD_DUMPED): Likewise.
5484 (CLD_TRAPPED): Likewise.
5485 (CLD_STOPPED): Likewise.
5486 (CLD_CONTINUED): Likewise.
5487 (POLL_IN): Likewise.
5488 (POLL_OUT): Likewise.
5489 (POLL_MSG): Likewise.
5490 (POLL_ERR): Likewise.
5491 (POLL_PRI): Likewise.
5492 (POLL_HUP): Likewise.
5493 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5494 Likewise.
5495 (ILL_ILLOPN): Likewise.
5496 (ILL_ILLADR): Likewise.
5497 (ILL_ILLTRP): Likewise.
5498 (ILL_PRVOPC): Likewise.
5499 (ILL_PRVREG): Likewise.
5500 (ILL_COPROC): Likewise.
5501 (ILL_BADSTK): Likewise.
5502 (ILL_BADIADDR): Likewise.
5503 (ILL_BREAK): Likewise.
5504 (FPE_INTDIV): Likewise.
5505 (FPE_INTOVF): Likewise.
5506 (FPE_FLTDIV): Likewise.
5507 (FPE_FLTOVF): Likewise.
5508 (FPE_FLTUND): Likewise.
5509 (FPE_FLTRES): Likewise.
5510 (FPE_FLTINV): Likewise.
5511 (FPE_FLTSUB): Likewise.
5512 (FPE_DECOVF): Likewise.
5513 (FPE_DECDIV): Likewise.
5514 (FPE_DECERR): Likewise.
5515 (FPE_INVASC): Likewise.
5516 (FPE_INVDEC): Likewise.
5517 (SEGV_MAPERR): Likewise.
5518 (SEGV_ACCERR): Likewise.
5519 (SEGV_PSTKOVF): Likewise.
5520 (BUS_ADRALN): Likewise.
5521 (BUS_ADRERR): Likewise.
5522 (BUS_OBJERR): Likewise.
5523 (BUS_MCEERR_AR): Likewise.
5524 (BUS_MCEERR_AO): Likewise.
5525 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5526 (TRAP_TRACE): Likewise.
5527 (TRAP_BRANCH): Likewise.
5528 (TRAP_HWBKPT): Likewise.
5529 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5530 __USE_XOPEN2K8].
5531 (CLD_KILLED): Likewise.
5532 (CLD_DUMPED): Likewise.
5533 (CLD_TRAPPED): Likewise.
5534 (CLD_STOPPED): Likewise.
5535 (CLD_CONTINUED): Likewise.
5536 (POLL_IN): Likewise.
5537 (POLL_OUT): Likewise.
5538 (POLL_MSG): Likewise.
5539 (POLL_ERR): Likewise.
5540 (POLL_PRI): Likewise.
5541 (POLL_HUP): Likewise.
5542 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5543 (ILL_ILLOPN): Likewise.
5544 (ILL_ILLADR): Likewise.
5545 (ILL_ILLTRP): Likewise.
5546 (ILL_PRVOPC): Likewise.
5547 (ILL_PRVREG): Likewise.
5548 (ILL_COPROC): Likewise.
5549 (ILL_BADSTK): Likewise.
5550 (FPE_INTDIV): Likewise.
5551 (FPE_INTOVF): Likewise.
5552 (FPE_FLTDIV): Likewise.
5553 (FPE_FLTOVF): Likewise.
5554 (FPE_FLTUND): Likewise.
5555 (FPE_FLTRES): Likewise.
5556 (FPE_FLTINV): Likewise.
5557 (FPE_FLTSUB): Likewise.
5558 (SEGV_MAPERR): Likewise.
5559 (SEGV_ACCERR): Likewise.
5560 (BUS_ADRALN): Likewise.
5561 (BUS_ADRERR): Likewise.
5562 (BUS_OBJERR): Likewise.
5563 (BUS_MCEERR_AR): Likewise.
5564 (BUS_MCEERR_AO): Likewise.
5565 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5566 (TRAP_TRACE): Likewise.
5567 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5568 __USE_XOPEN2K8].
5569 (CLD_KILLED): Likewise.
5570 (CLD_DUMPED): Likewise.
5571 (CLD_TRAPPED): Likewise.
5572 (CLD_STOPPED): Likewise.
5573 (CLD_CONTINUED): Likewise.
5574 (POLL_IN): Likewise.
5575 (POLL_OUT): Likewise.
5576 (POLL_MSG): Likewise.
5577 (POLL_ERR): Likewise.
5578 (POLL_PRI): Likewise.
5579 (POLL_HUP): Likewise.
5580 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5581 (ILL_ILLOPN): Likewise.
5582 (ILL_ILLADR): Likewise.
5583 (ILL_ILLTRP): Likewise.
5584 (ILL_PRVOPC): Likewise.
5585 (ILL_PRVREG): Likewise.
5586 (ILL_COPROC): Likewise.
5587 (ILL_BADSTK): Likewise.
5588 (FPE_INTDIV): Likewise.
5589 (FPE_INTOVF): Likewise.
5590 (FPE_FLTDIV): Likewise.
5591 (FPE_FLTOVF): Likewise.
5592 (FPE_FLTUND): Likewise.
5593 (FPE_FLTRES): Likewise.
5594 (FPE_FLTINV): Likewise.
5595 (FPE_FLTSUB): Likewise.
5596 (SEGV_MAPERR): Likewise.
5597 (SEGV_ACCERR): Likewise.
5598 (BUS_ADRALN): Likewise.
5599 (BUS_ADRERR): Likewise.
5600 (BUS_OBJERR): Likewise.
5601 (BUS_MCEERR_AR): Likewise.
5602 (BUS_MCEERR_AO): Likewise.
5603 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5604 (TRAP_TRACE): Likewise.
5605 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5606 __USE_XOPEN2K8].
5607 (CLD_KILLED): Likewise.
5608 (CLD_DUMPED): Likewise.
5609 (CLD_TRAPPED): Likewise.
5610 (CLD_STOPPED): Likewise.
5611 (CLD_CONTINUED): Likewise.
5612 (POLL_IN): Likewise.
5613 (POLL_OUT): Likewise.
5614 (POLL_MSG): Likewise.
5615 (POLL_ERR): Likewise.
5616 (POLL_PRI): Likewise.
5617 (POLL_HUP): Likewise.
5618 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5619 (ILL_ILLOPN): Likewise.
5620 (ILL_ILLADR): Likewise.
5621 (ILL_ILLTRP): Likewise.
5622 (ILL_PRVOPC): Likewise.
5623 (ILL_PRVREG): Likewise.
5624 (ILL_COPROC): Likewise.
5625 (ILL_BADSTK): Likewise.
5626 (FPE_INTDIV): Likewise.
5627 (FPE_INTOVF): Likewise.
5628 (FPE_FLTDIV): Likewise.
5629 (FPE_FLTOVF): Likewise.
5630 (FPE_FLTUND): Likewise.
5631 (FPE_FLTRES): Likewise.
5632 (FPE_FLTINV): Likewise.
5633 (FPE_FLTSUB): Likewise.
5634 (SEGV_MAPERR): Likewise.
5635 (SEGV_ACCERR): Likewise.
5636 (BUS_ADRALN): Likewise.
5637 (BUS_ADRERR): Likewise.
5638 (BUS_OBJERR): Likewise.
5639 (BUS_MCEERR_AR): Likewise.
5640 (BUS_MCEERR_AO): Likewise.
5641 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5642 (TRAP_TRACE): Likewise.
5643 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5644 __USE_XOPEN2K8].
5645 (CLD_KILLED): Likewise.
5646 (CLD_DUMPED): Likewise.
5647 (CLD_TRAPPED): Likewise.
5648 (CLD_STOPPED): Likewise.
5649 (CLD_CONTINUED): Likewise.
5650 (POLL_IN): Likewise.
5651 (POLL_OUT): Likewise.
5652 (POLL_MSG): Likewise.
5653 (POLL_ERR): Likewise.
5654 (POLL_PRI): Likewise.
5655 (POLL_HUP): Likewise.
5656 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5657 (ILL_ILLOPN): Likewise.
5658 (ILL_ILLADR): Likewise.
5659 (ILL_ILLTRP): Likewise.
5660 (ILL_PRVOPC): Likewise.
5661 (ILL_PRVREG): Likewise.
5662 (ILL_COPROC): Likewise.
5663 (ILL_BADSTK): Likewise.
5664 (ILL_DBLFLT): Likewise.
5665 (ILL_HARDWALL): Likewise.
5666 (FPE_INTDIV): Likewise.
5667 (FPE_INTOVF): Likewise.
5668 (FPE_FLTDIV): Likewise.
5669 (FPE_FLTOVF): Likewise.
5670 (FPE_FLTUND): Likewise.
5671 (FPE_FLTRES): Likewise.
5672 (FPE_FLTINV): Likewise.
5673 (FPE_FLTSUB): Likewise.
5674 (SEGV_MAPERR): Likewise.
5675 (SEGV_ACCERR): Likewise.
5676 (BUS_ADRALN): Likewise.
5677 (BUS_ADRERR): Likewise.
5678 (BUS_OBJERR): Likewise.
5679 (BUS_MCEERR_AR): Likewise.
5680 (BUS_MCEERR_AO): Likewise.
5681 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5682 (TRAP_TRACE): Likewise.
5683 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5684 __USE_XOPEN2K8].
5685 (CLD_KILLED): Likewise.
5686 (CLD_DUMPED): Likewise.
5687 (CLD_TRAPPED): Likewise.
5688 (CLD_STOPPED): Likewise.
5689 (CLD_CONTINUED): Likewise.
5690 (POLL_IN): Likewise.
5691 (POLL_OUT): Likewise.
5692 (POLL_MSG): Likewise.
5693 (POLL_ERR): Likewise.
5694 (POLL_PRI): Likewise.
5695 (POLL_HUP): Likewise.
5696 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5697 (ILL_ILLOPN): Likewise.
5698 (ILL_ILLADR): Likewise.
5699 (ILL_ILLTRP): Likewise.
5700 (ILL_PRVOPC): Likewise.
5701 (ILL_PRVREG): Likewise.
5702 (ILL_COPROC): Likewise.
5703 (ILL_BADSTK): Likewise.
5704 (FPE_INTDIV): Likewise.
5705 (FPE_INTOVF): Likewise.
5706 (FPE_FLTDIV): Likewise.
5707 (FPE_FLTOVF): Likewise.
5708 (FPE_FLTUND): Likewise.
5709 (FPE_FLTRES): Likewise.
5710 (FPE_FLTINV): Likewise.
5711 (FPE_FLTSUB): Likewise.
5712 (SEGV_MAPERR): Likewise.
5713 (SEGV_ACCERR): Likewise.
5714 (BUS_ADRALN): Likewise.
5715 (BUS_ADRERR): Likewise.
5716 (BUS_OBJERR): Likewise.
5717 (BUS_MCEERR_AR): Likewise.
5718 (BUS_MCEERR_AO): Likewise.
5719 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5720 (TRAP_TRACE): Likewise.
5721 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5722 __USE_XOPEN2K8].
5723 (CLD_KILLED): Likewise.
5724 (CLD_DUMPED): Likewise.
5725 (CLD_TRAPPED): Likewise.
5726 (CLD_STOPPED): Likewise.
5727 (CLD_CONTINUED): Likewise.
5728 (POLL_IN): Likewise.
5729 (POLL_OUT): Likewise.
5730 (POLL_MSG): Likewise.
5731 (POLL_ERR): Likewise.
5732 (POLL_PRI): Likewise.
5733 (POLL_HUP): Likewise.
5734 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5735 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5736
5737 [BZ #16670]
5738 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5739 before #include of <time.h>.
5740 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5741 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5742 (test-xfail-UNIX98/sched.h/conform): Likewise.
5743
5744 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5745
5746 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5747 error absence of trapping exception support.
5748 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5749
5750 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5751
5752 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5753 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5754 * timezone/Makefile (testdata): Move definition above include of
5755 Rules.
5756 (test-zones): New variable.
5757 (tests-special): Add zone files.
5758 (build-testdata): Use $(evaluate-test).
5759
5760 * elf/Makefile (tests-special): Rename tests to end with .out.
5761 ($(objpfx)noload-mem): Likewise.
5762 ($(objpfx)tst-leaks1-mem): Likewise.
5763 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5764 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5765 $(objpfx)test-iconvconfig.out.
5766 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5767 set -e inside subshell and redirect output to file.
5768 * iconvdata/Makefile (generated): Rename tests to end with .out.
5769 Correct type.
5770 (tests-special): Rename tests to end with .out.
5771 ($(objpfx)mtrace-tst-loading): Likewise.
5772 * intl/Makefile (generated): Likewise.
5773 (tests-special): Likewise.
5774 ($(objpfx)mtrace-tst-gettext): Likewise.
5775 * misc/Makefile (generated): Likewise.
5776 (tests-special): Likewise.
5777 ($(objpfx)tst-error1-mem): Likewise.
5778 * nptl/Makefile (tests-special): Likewise.
5779 ($(objpfx)tst-stack3-mem): Likewise.
5780 (generated): Likewise.
5781 * posix/Makefile (generated): Likewise.
5782 (tests-special): Likewise.
5783 (xtests-special): Likewise.
5784 ($(objpfx)tst-fnmatch-mem): Likewise.
5785 ($(objpfx)bug-regex2-mem): Likewise.
5786 ($(objpfx)bug-regex14-mem): Likewise.
5787 ($(objpfx)bug-regex21-mem): Likewise.
5788 ($(objpfx)bug-regex31-mem): Likewise.
5789 ($(objpfx)tst-vfork3-mem): Likewise.
5790 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5791 ($(objpfx)tst-pcre-mem): Likewise.
5792 ($(objpfx)tst-boost-mem): Likewise.
5793 ($(objpfx)bug-ga2-mem): Likewise.
5794 ($(objpfx)bug-glob2-mem): Likewise.
5795 * resolv/Makefile (generate): Likewise.
5796 (tests-special): Likewise.
5797 (xtests-special): Likewise.
5798 (generated): Likewise.
5799 ($(objpfx)mtrace-tst-leaks): Likewise.
5800 ($(objpfx)mtrace-tst-leaks2): Likewise.
5801
5802 * scripts/merge-test-results.sh: New file.
5803 * Makefile (tests-special-notdir): New variable.
5804 (tests): Run merge-test-results.sh.
5805 (xtests): Likewise.
5806 * Rules (tests-special-notdir): New variable.
5807 (xtests-special-notdir): Likewise.
5808 (tests): Run merge-test-results.sh
5809 (xtests): Likewise.
5810
5811 * Makeconfig (test-xfail-name): New variable.
5812 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5813 compute variable name for expected failures.
5814 * conform/Makefile (conformtest-headers-data): New variable.
5815 (conformtest-standards): Likewise.
5816 (conformtest-headers-ISO): Likewise.
5817 (conformtest-headers-ISO99): Likewise.
5818 (conformtest-headers-ISO11): Likewise.
5819 (conformtest-headers-POSIX): Likewise.
5820 (conformtest-headers-XPG3): Likewise.
5821 (conformtest-headers-XPG4): Likewise.
5822 (conformtest-headers-UNIX98): Likewise.
5823 (conformtest-headers-XOPEN2K): Likewise.
5824 (conformtest-headers-POSIX2008): Likewise.
5825 (conformtest-headers-XOPEN2K8): Likewise.
5826 (conformtest-header-list-base): Likewise.
5827 (conformtest-header-list-tests): Likewise.
5828 (conformtest-header-base): Likewise.
5829 (conformtest-header-tests): Likewise.
5830 (tests-special): Add $(conformtest-header-list-tests). If
5831 [$(fast-check) && !$(cross-compiling)], add
5832 $(conformtest-header-tests) instead of
5833 $(objpfx)run-conformtest.out.
5834 (generated): Add $(conformtest-header-list-base). If
5835 [$(fast-check) && !$(cross-compiling)], add
5836 $(conformtest-header-base). Remove previous setting.
5837 ($(conformtest-header-list-tests)): New target.
5838 (test-xfail-run-conformtest): Remove variable.
5839 ($(objpfx)run-conformtest.out): Remove target.
5840 (test-xfail-ISO11/complex.h/conform): New variable.
5841 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5842 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5843 (test-xfail-XPG3/varargs.h/conform): Likewise.
5844 (test-xfail-XPG4/varargs.h/conform): Likewise.
5845 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5846 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5847 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5848 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5849 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5850 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5851 (test-xfail-XPG3/ftw.h/conform): Likewise.
5852 (test-xfail-XPG3/grp.h/conform): Likewise.
5853 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5854 (test-xfail-XPG3/limits.h/conform): Likewise.
5855 (test-xfail-XPG3/pwd.h/conform): Likewise.
5856 (test-xfail-XPG3/search.h/conform): Likewise.
5857 (test-xfail-XPG3/signal.h/conform): Likewise.
5858 (test-xfail-XPG3/stdio.h/conform): Likewise.
5859 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5860 (test-xfail-XPG3/string.h/conform): Likewise.
5861 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5862 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5863 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5864 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5865 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5866 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5867 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5868 (test-xfail-XPG3/termios.h/conform): Likewise.
5869 (test-xfail-XPG3/time.h/conform): Likewise.
5870 (test-xfail-XPG3/unistd.h/conform): Likewise.
5871 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5872 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5873 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5874 (test-xfail-XPG4/netdb.h/conform): Likewise.
5875 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5876 (test-xfail-XPG4/signal.h/conform): Likewise.
5877 (test-xfail-XPG4/stdio.h/conform): Likewise.
5878 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5879 (test-xfail-XPG4/stropts.h/conform): Likewise.
5880 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5881 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5882 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5883 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5884 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5885 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5886 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5887 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5888 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5889 (test-xfail-XPG4/termios.h/conform): Likewise.
5890 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5891 (test-xfail-XPG4/unistd.h/conform): Likewise.
5892 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5893 (test-xfail-POSIX/sched.h/conform): Likewise.
5894 (test-xfail-POSIX/signal.h/conform): Likewise.
5895 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5896 (test-xfail-POSIX/tar.h/conform): Likewise.
5897 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5898 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5899 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5900 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5901 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5902 (test-xfail-UNIX98/sched.h/conform): Likewise.
5903 (test-xfail-UNIX98/signal.h/conform): Likewise.
5904 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5905 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5906 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5907 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5908 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5909 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5910 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5911 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5912 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5913 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5914 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5915 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5916 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5917 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5918 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5919 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5920 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5921 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5922 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5923 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5924 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5925 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5926 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5927 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5928 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5929 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5930 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5931 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5932 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5933 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5934 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5935 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5936 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5937 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5938 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5939 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5940 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5941 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5942 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5943 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5944 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5945 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5946 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5947 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5948 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5949 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5950 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5951 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5952 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5953 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5954 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5955 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5956 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5957 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5958 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5959 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5960 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5961 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5962 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5963 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5964 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5965 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5966 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5967 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5968 (conformtest-cc-flags): Likewise.
5969 ($(conformtest-header-tests): New target.
5970 * conform/check-header-lists.sh: New file.
5971 * conform/run-conformtest.sh: Remove.
5972
5973 * conform/conformtest.pl: Allow ' and \ in values given for
5974 constants.
5975 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5976 inclusion.
5977 [POSIX] (sys/types.h): Likewise.
5978 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5979 inclusion.
5980 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5981 inclusion.
5982 * conform/data/signal.h-data (SIGIO): Remove expectation.
5983 [XPG3] (SIGBUS): Do not expect.
5984 [POSIX || XPG3] (SIGPOLL): Likewise.
5985 [POSIX || XPG3] (SIGPROF): Likewise.
5986 [POSIX || XPG3] (SIGSYS): Likewise.
5987 [XPG3] (SIGTRAP): Likewise.
5988 [POSIX || XPG3] (SIGURG): Likewise.
5989 [POSIX || XPG3] (SIGVTALRM): Likewise.
5990 [POSIX || XPG3] (SIGXCPU): Likewise.
5991 [POSIX || XPG3] (SIGXFSZ): Likewise.
5992 [POSIX] (SA_SIGINFO): Expect.
5993 [XPG3] (siginfo_t): Do not expect type or contents.
5994 [POSIX] (si_pid): Do not expect element.
5995 [POSIX] (si_uid): Likewise.
5996 [POSIX] (si_addr): Likewise.
5997 [POSIX] (si_status): Likewise.
5998 [POSIX] (si_band): Likewise.
5999 [XPG4] (si_value): Likewise.
6000 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6001 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6002 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6003 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6004 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6005 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6006 [POSIX || XPG3] (ILL_COPROC): Likewise.
6007 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6008 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6009 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6010 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6011 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6012 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6013 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6014 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6015 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6016 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6017 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6018 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6019 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6020 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6021 [POSIX || XPG3] (CLD_EXITED): Likewise.
6022 [POSIX || XPG3] (CLD_KILLED): Likewise.
6023 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6024 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6025 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6026 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6027 [POSIX || XPG3] (POLL_IN): Likewise.
6028 [POSIX || XPG3] (POLL_OUT): Likewise.
6029 [POSIX || XPG3] (POLL_MSG): Likewise.
6030 [POSIX || XPG3] (POLL_ERR): Likewise.
6031 [POSIX || XPG3] (POLL_PRI): Likewise.
6032 [POSIX || XPG3] (POLL_HUP): Likewise.
6033 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6034 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6035 (SIG*): Do not allow.
6036 [XPG3] (si_*): Likewise.
6037 [XPG3] (SI_*): Likewise.
6038 [XPG3 || XPG4] (sigev_*): Likewise.
6039 [XPG3 || XPG4] (SIGEV_*): Likewise.
6040 [XPG3 || XPG4] (sival_*): Likewise.
6041 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6042 [POSIX || XPG3] (BUS_*): Likewise.
6043 [POSIX || XPG3] (CLD_*): Likewise.
6044 [POSIX || XPG3] (FPE_*): Likewise.
6045 [POSIX || XPG3] (ILL_*): Likewise.
6046 [POSIX || XPG3] (POLL_*): Likewise.
6047 [POSIX || XPG3] (SEGV_*): Likewise.
6048 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6049 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6050 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6051 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6052 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6053 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6054 Specify type and value.
6055 (TVERSLEN): Likewise.
6056 (REGTYPE): Likewise.
6057 (AREGTYPE): Likewise.
6058 (LNKTYPE): Likewise.
6059 (SYMTYPE): Likewise.
6060 (CHRTYPE): Likewise.
6061 (BLKTYPE): Likewise.
6062 (DIRTYPE): Likewise.
6063 (FIFOTYPE): Likewise.
6064 (CONTTYPE): Likewise.
6065 (TSUID): Likewise.
6066 (TSGID): Likewise.
6067 (TSVTX): Likewise.
6068 (TUREAD): Likewise.
6069 (TUWRITE): Likewise.
6070 (TUEXEC): Likewise.
6071 (TGREAD): Likewise.
6072 (TGWRITE): Likewise.
6073 (TGEXEC): Likewise.
6074 (TOREAD): Likewise.
6075 (TOWRITE): Likewise.
6076 (TOEXEC): Likewise.
6077 [POSIX] (TSVTX): Expect constant.
6078
6079 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6080
6081 * Makefile (tests): Change dependencies to ....
6082 (tests-special): ... additions to this variable.
6083 (tests): Depend on $(tests-special).
6084 * Makerules (check-abi-list): New variable.
6085 (check-abi): Depend on $(check-abi-list).
6086 [$(subdir) = elf] (tests-special): Add
6087 $(objpfx)check-abi-libc.out.
6088 [$(build-shared) = yes && subdir] (tests-special): Add
6089 $(check-abi-list).
6090 [$(build-shared) = yes && subdir] (tests): Do not depend on
6091 check-abi.
6092 * Rules (tests): Depend on $(tests-special).
6093 (xtests): Depend on $(xtests-special).
6094 * catgets/Makefile (tests): Change dependencies to ....
6095 (tests-special): ... additions to this variable.
6096 * conform/Makefile (tests): Change dependencies to ....
6097 (tests-special): ... additions to this variable.
6098 * elf/Makefile (tests): Change dependencies to ....
6099 (tests-special): ... additions to this variable.
6100 * grp/Makefile (tests): Change dependencies to ....
6101 (tests-special): ... additions to this variable.
6102 * iconv/Makefile (xtests): Change dependencies to ....
6103 (xtests-special): ... additions to this variable.
6104 * iconvdata/Makefile (tests): Change dependencies to ....
6105 (tests-special): ... additions to this variable.
6106 * intl/Makefile (tests): Change dependencies to ....
6107 (tests-special): ... additions to this variable. Also add
6108 $(objpfx)tst-gettext.out.
6109 * io/Makefile (tests): Change dependencies to ....
6110 (tests-special): ... additions to this variable.
6111 * libio/Makefile (tests): Change dependencies to ....
6112 (tests-special): ... additions to this variable.
6113 * malloc/Makefile (tests): Change dependencies to ....
6114 (tests-special): ... additions to this variable.
6115 * misc/Makefile (tests): Change dependencies to ....
6116 (tests-special): ... additions to this variable.
6117 * nptl/Makefile (tests): Change dependencies to ....
6118 (tests-special): ... additions to this variable.
6119 * nptl_db/Makefile (tests): Change dependencies to ....
6120 (tests-special): ... additions to this variable.
6121 * posix/Makefile (tests): Change dependencies to ....
6122 (tests-special): ... additions to this variable.
6123 (xtests): Change dependencies to ....
6124 (xtests-special): ... additions to this variable.
6125 * resolv/Makefile (tests): Change dependencies to ....
6126 (tests-special): ... additions to this variable.
6127 (xtests): Change dependencies to ....
6128 (xtests-special): ... additions to this variable.
6129 * stdio-common/Makefile (tests): Change dependencies to ....
6130 (tests-special): ... additions to this variable.
6131 (do-tst-unbputc): Remove target.
6132 (do-tst-printf): Likewise.
6133 * stdlib/Makefile (tests): Change dependencies to ....
6134 (tests-special): ... additions to this variable.
6135 * string/Makefile (tests): Change dependencies to ....
6136 (tests-special): ... additions to this variable.
6137 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6138 (tests-special): ... additions to this variable.
6139
6140 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6141 whole file.
6142 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6143 whole file.
6144 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6145 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6146
6147 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6148 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6149 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6150 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6151 * conform/data/libgen.h-data [XPG3]: Likewise.
6152 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6153 * conform/data/ndbm.h-data [XPG3]: Likewise.
6154 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6155 * conform/data/netdb.h-data [XPG3]: Likewise.
6156 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6157 * conform/data/poll.h-data [XPG3]: Likewise.
6158 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6159 * conform/data/strings.h-data [XPG3]: Likewise.
6160 * conform/data/stropts.h-data [XPG3]: Likewise.
6161 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6162 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6163 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6164 Likewise.
6165 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6166 * conform/data/sys/time.h-data [XPG3]: Likewise.
6167 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6168 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6169 * conform/data/sys/un.h-data [XPG3]: Likewise.
6170 * conform/data/syslog.h-data [XPG3]: Likewise.
6171 * conform/data/ucontext.h-data [XPG3]: Likewise.
6172 * conform/data/utmpx.h-data [XPG3]: Likewise.
6173 * conform/data/varargs.h-data [UNIX98]: Enable file.
6174
6175 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6176
6177 * math/libm-test.inc (struct test_f_f_data): Move expected results
6178 into structure for each rounding mode.
6179 (struct test_ff_f_data): Likewise.
6180 (struct test_ff_f_data_nexttoward): Likewise.
6181 (struct test_fi_f_data): Likewise.
6182 (struct test_fl_f_data): Likewise.
6183 (struct test_if_f_data): Likewise.
6184 (struct test_fff_f_data): Likewise.
6185 (struct test_c_f_data): Likewise.
6186 (struct test_f_f1_data): Likewise.
6187 (struct test_fF_f1_data): Likewise.
6188 (struct test_ffI_f1_data): Likewise.
6189 (struct test_c_c_data): Likewise.
6190 (struct test_cc_c_data): Likewise.
6191 (struct test_f_i_data): Likewise.
6192 (struct test_ff_i_data): Likewise.
6193 (struct test_f_l_data): Likewise.
6194 (struct test_f_L_data): Likewise.
6195 (struct test_fFF_11_data): Likewise.
6196 (RM_): New macro.
6197 (RM_FE_DOWNWARD): Likewise.
6198 (RM_FE_TONEAREST): Likewise.
6199 (RM_FE_TOWARDZERO): Likewise.
6200 (RM_FE_UPWARD): Likewise.
6201 (RUN_TEST_LOOP_f_f): Update references to expected results.
6202 (RUN_TEST_LOOP_2_f): Likewise.
6203 (RUN_TEST_LOOP_fff_f): Likewise.
6204 (RUN_TEST_LOOP_c_f): Likewise.
6205 (RUN_TEST_LOOP_f_f1): Likewise.
6206 (RUN_TEST_LOOP_fF_f1): Likewise.
6207 (RUN_TEST_LOOP_fI_f1): Likewise.
6208 (RUN_TEST_LOOP_ffI_f1): Likewise.
6209 (RUN_TEST_LOOP_c_c): Likewise.
6210 (RUN_TEST_LOOP_cc_c): Likewise.
6211 (RUN_TEST_LOOP_f_i): Likewise.
6212 (RUN_TEST_LOOP_f_i_tg): Likewise.
6213 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6214 (RUN_TEST_LOOP_f_b): Likewise.
6215 (RUN_TEST_LOOP_f_b_tg): Likewise.
6216 (RUN_TEST_LOOP_f_l): Likewise.
6217 (RUN_TEST_LOOP_f_L): Likewise.
6218 (RUN_TEST_LOOP_fFF_11): Likewise.
6219 * math/gen-libm-test.pl (parse_args): Output four copies of
6220 expected results for each test.
6221
6222 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6223 (__ASSUME_UTIMES): Remove.
6224 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6225 (__ASSUME_UTIMES): Likewise.
6226
6227 * math/gen-auto-libm-tests.c: Update comment on output format.
6228 (output_for_one_input_case): Generate before-rounding and
6229 after-rounding information as conditions on output flags not
6230 floating-point format.
6231 * math/auto-libm-test-out: Regenerated.
6232 * math/gen-libm-test.pl (cond_value): New function.
6233 (or_cond_value): Use cond_value.
6234 (generate_testfile): Handle conditional exceptions.
6235
6236 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6237
6238 * math/libm-test.inc (max_valid_error): New variable.
6239 (init_max_error): Take new argument specifying whether function
6240 results are exactly determined. Set max_valid_error and bound
6241 other variables for errors based on this argument.
6242 (set_max_error): Do not record results above max_valid_error.
6243 (check_float_internal): Only accept errors of up to 0.5ulps if
6244 also at most max_valid_error.
6245 (START): Take new argument EXACT and pass it to init_max_error.
6246 (acos_test): Update call to START.
6247 (acos_test_tonearest): Likewise.
6248 (acos_test_towardzero): Likewise.
6249 (acos_test_downward): Likewise.
6250 (acos_test_upward): Likewise.
6251 (acosh_test): Likewise.
6252 (asin_test): Likewise.
6253 (asin_test_tonearest): Likewise.
6254 (asin_test_towardzero): Likewise.
6255 (asin_test_downward): Likewise.
6256 (asin_test_upward): Likewise.
6257 (asinh_test): Likewise.
6258 (atan_test): Likewise.
6259 (atanh_test): Likewise.
6260 (atan2_test): Likewise.
6261 (cabs_test): Likewise.
6262 (cacos_test): Likewise.
6263 (cacosh_test): Likewise.
6264 (carg_test): Likewise.
6265 (casin_test): Likewise.
6266 (casinh_test): Likewise.
6267 (catan_test): Likewise.
6268 (catanh_test): Likewise.
6269 (cbrt_test): Likewise.
6270 (ccos_test): Likewise.
6271 (ccosh_test): Likewise.
6272 (ceil_test): Likewise.
6273 (cexp_test): Likewise.
6274 (cimag_test): Likewise.
6275 (clog_test): Likewise.
6276 (clog10_test): Likewise.
6277 (conj_test): Likewise.
6278 (copysign_test): Likewise.
6279 (cos_test): Likewise.
6280 (cos_test_tonearest): Likewise.
6281 (cos_test_towardzero): Likewise.
6282 (cos_test_downward): Likewise.
6283 (cos_test_upward): Likewise.
6284 (cosh_test): Likewise.
6285 (cosh_test_tonearest): Likewise.
6286 (cosh_test_towardzero): Likewise.
6287 (cosh_test_downward): Likewise.
6288 (cosh_test_upward): Likewise.
6289 (cpow_test): Likewise.
6290 (cproj_test): Likewise.
6291 (creal_test): Likewise.
6292 (csin_test): Likewise.
6293 (csinh_test): Likewise.
6294 (csqrt_test): Likewise.
6295 (ctan_test): Likewise.
6296 (ctan_test_tonearest): Likewise.
6297 (ctan_test_towardzero): Likewise.
6298 (ctan_test_downward): Likewise.
6299 (ctan_test_upward): Likewise.
6300 (ctanh_test): Likewise.
6301 (ctanh_test_tonearest): Likewise.
6302 (ctanh_test_towardzero): Likewise.
6303 (ctanh_test_downward): Likewise.
6304 (ctanh_test_upward): Likewise.
6305 (erf_test): Likewise.
6306 (erfc_test): Likewise.
6307 (exp_test): Likewise.
6308 (exp_test_tonearest): Likewise.
6309 (exp_test_towardzero): Likewise.
6310 (exp_test_downward): Likewise.
6311 (exp_test_upward): Likewise.
6312 (exp10_test): Likewise.
6313 (exp10_test_tonearest): Likewise.
6314 (exp10_test_towardzero): Likewise.
6315 (exp10_test_downward): Likewise.
6316 (exp10_test_upward): Likewise.
6317 (pow10_test): Likewise.
6318 (exp2_test): Likewise.
6319 (expm1_test): Likewise.
6320 (expm1_test_tonearest): Likewise.
6321 (expm1_test_towardzero): Likewise.
6322 (expm1_test_downward): Likewise.
6323 (expm1_test_upward): Likewise.
6324 (fabs_test): Likewise.
6325 (fdim_test): Likewise.
6326 (floor_test): Likewise.
6327 (fma_test): Likewise.
6328 (fma_test_towardzero): Likewise.
6329 (fma_test_downward): Likewise.
6330 (fma_test_upward): Likewise.
6331 (fmax_test): Likewise.
6332 (fmin_test): Likewise.
6333 (fmod_test): Likewise.
6334 (fpclassify_test): Likewise.
6335 (frexp_test): Likewise.
6336 (hypot_test): Likewise.
6337 (ilogb_test): Likewise.
6338 (isfinite_test): Likewise.
6339 (finite_test): Likewise.
6340 (isgreater_test): Likewise.
6341 (isgreaterequal_test): Likewise.
6342 (isinf_test): Likewise.
6343 (isless_test): Likewise.
6344 (islessequal_test): Likewise.
6345 (islessgreater_test): Likewise.
6346 (isnan_test): Likewise.
6347 (isnormal_test): Likewise.
6348 (issignaling_test): Likewise.
6349 (isunordered_test): Likewise.
6350 (j0_test): Likewise.
6351 (j1_test): Likewise.
6352 (jn_test): Likewise.
6353 (ldexp_test): Likewise.
6354 (lgamma_test): Likewise.
6355 (gamma_test): Likewise.
6356 (lrint_test): Likewise.
6357 (lrint_test_tonearest): Likewise.
6358 (lrint_test_towardzero): Likewise.
6359 (lrint_test_downward): Likewise.
6360 (lrint_test_upward): Likewise.
6361 (llrint_test): Likewise.
6362 (llrint_test_tonearest): Likewise.
6363 (llrint_test_towardzero): Likewise.
6364 (llrint_test_downward): Likewise.
6365 (llrint_test_upward): Likewise.
6366 (log_test): Likewise.
6367 (log10_test): Likewise.
6368 (log1p_test): Likewise.
6369 (log2_test): Likewise.
6370 (logb_test): Likewise.
6371 (logb_test_downward): Likewise.
6372 (lround_test): Likewise.
6373 (llround_test): Likewise.
6374 (modf_test): Likewise.
6375 (nearbyint_test): Likewise.
6376 (nextafter_test): Likewise.
6377 (nexttoward_test): Likewise.
6378 (pow_test): Likewise.
6379 (pow_test_tonearest): Likewise.
6380 (pow_test_towardzero): Likewise.
6381 (pow_test_downward): Likewise.
6382 (pow_test_upward): Likewise.
6383 (remainder_test): Likewise.
6384 (drem_test): Likewise.
6385 (remainder_test_tonearest): Likewise.
6386 (drem_test_tonearest): Likewise.
6387 (remainder_test_towardzero): Likewise.
6388 (drem_test_towardzero): Likewise.
6389 (remainder_test_downward): Likewise.
6390 (drem_test_downward): Likewise.
6391 (remainder_test_upward): Likewise.
6392 (drem_test_upward): Likewise.
6393 (remquo_test): Likewise.
6394 (rint_test): Likewise.
6395 (rint_test_tonearest): Likewise.
6396 (rint_test_towardzero): Likewise.
6397 (rint_test_downward): Likewise.
6398 (rint_test_upward): Likewise.
6399 (round_test): Likewise.
6400 (scalb_test): Likewise.
6401 (scalbn_test): Likewise.
6402 (scalbln_test): Likewise.
6403 (signbit_test): Likewise.
6404 (sin_test): Likewise.
6405 (sin_test_tonearest): Likewise.
6406 (sin_test_towardzero): Likewise.
6407 (sin_test_downward): Likewise.
6408 (sin_test_upward): Likewise.
6409 (sincos_test): Likewise.
6410 (sinh_test): Likewise.
6411 (sinh_test_tonearest): Likewise.
6412 (sinh_test_towardzero): Likewise.
6413 (sinh_test_downward): Likewise.
6414 (sinh_test_upward): Likewise.
6415 (sqrt_test): Likewise.
6416 (sqrt_test_tonearest): Likewise.
6417 (sqrt_test_towardzero): Likewise.
6418 (sqrt_test_downward): Likewise.
6419 (sqrt_test_upward): Likewise.
6420 (tan_test): Likewise.
6421 (tan_test_tonearest): Likewise.
6422 (tan_test_towardzero): Likewise.
6423 (tan_test_downward): Likewise.
6424 (tan_test_upward): Likewise.
6425 (tanh_test): Likewise.
6426 (tgamma_test): Likewise.
6427 (trunc_test): Likewise.
6428 (y0_test): Likewise.
6429 (y1_test): Likewise.
6430 (yn_test): Likewise.
6431 (significand_test): Likewise.
6432
6433 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6434 individual tests in comment.
6435 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6436 (prev_max_error): New variable.
6437 (prev_real_max_error): Likewise.
6438 (prev_imag_max_error): Likewise.
6439 (compare_ulp_data): Don't refer to test names in comment.
6440 (find_test_ulps): Remove function.
6441 (find_function_ulps): Likewise.
6442 (find_complex_function_ulps): Likewise.
6443 (init_max_error): Take function name as argument. Look up ulps
6444 for that function.
6445 (print_ulps): Remove function.
6446 (print_max_error): Use prev_max_error instead of calling
6447 find_function_ulps.
6448 (print_complex_max_error): Use prev_real_max_error and
6449 prev_imag_max_error instead of calling find_complex_function_ulps.
6450 (check_float_internal): Take max_ulp parameter instead of calling
6451 find_test_ulps. Don't call print_ulps.
6452 (check_float): Update call to check_float_internal.
6453 (check_complex): Update calls to check_float_internal.
6454 (START): Pass argument to init_max_error.
6455 * math/gen-libm-test.pl (%results): Don't include "kind"
6456 information.
6457 (parse_ulps): Don't handle ulps of individual tests.
6458 (print_ulps_file): Likewise.
6459 (output_ulps): Likewise.
6460 * math/README.libm-test: Update.
6461 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6462 individual tests.
6463 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6464 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6465 * sysdeps/arm/libm-test-ulps: Likewise.
6466 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6467 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6468 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6469 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6470 * sysdeps/microblaze/libm-test-ulps: Likewise.
6471 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6472 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6473 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6474 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6475 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6476 * sysdeps/sh/libm-test-ulps: Likewise.
6477 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6478 * sysdeps/tile/libm-test-ulps: Likewise.
6479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6480
6481 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6482
6483 * math/libm-test.inc (print_complex_max_error): Check separately
6484 whether real and imaginary errors are within allowed range and
6485 pass 0 to print_complex_function_ulps instead of value within
6486 allowed range.
6487
6488 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6489
6490 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6491 formatting.
6492 (get_handles_fopen): Likewise.
6493 (do_write_test): Likewise.
6494
6495 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6496
6497 * libio/fileops.c (do_ftell): Use cached offset when
6498 available.
6499 * libio/iofwide.c (do_ftell_wide): Likewise.
6500 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6501 _IO_file_attach.
6502 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6503
6504 [BZ #16532]
6505 * libio/libioP.h (get_file_offset): New function.
6506 * libio/fileops.c (get_file_offset): Likewise.
6507 (do_ftell): Likewise.
6508 (_IO_new_file_seekoff): Split out ftell logic.
6509 * libio/wfileops.c (do_ftell_wide): Likewise.
6510 (_IO_wfile_seekoff): Split out ftell logic.
6511 * libio/tst-ftell-active-handler.c: New test case.
6512 * libio/Makefile (tests): Add it.
6513
6514 2014-03-03 Roland McGrath <roland@hack.frob.com>
6515
6516 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6517 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6518
6519 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6520
6521 [BZ #16639]
6522 * nscd/connections.c (nscd_init): Call do_exit.
6523 (start_threads): Call do_exit and notify_parent.
6524 (begin_drop_privileges): Call do_exit.
6525 (finish_drop_privileges): Likewise.
6526 * nscd/selinux.c (preserve_capabilities): Likewise.
6527 (install_real_capabilities): Likewise.
6528 (nscd_selinux_enabled): Likewise.
6529 (avc_create_thread): Likewise.
6530 (avc_alloc_lock): Likewise.
6531 (nscd_avc_init): Likewise.
6532 * nscd/nscd.c (parent_fd): New static variable.
6533 (main): Create a pipe between parent and child processes.
6534 Skip closing parent_fd.
6535 (monitor_child): New function.
6536 (do_exit): Likewise.
6537 (notify_parent): Likewise.
6538 * nscd/nscd.h (notify_parent): Likewise.
6539 (do_exit): Likewise.
6540
6541 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6542
6543 * malloc/malloc.c (__libc_calloc): Revert last change.
6544
6545 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6546
6547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6548
6549 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6550
6551 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6553 implementation.
6554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6555 (__libc_ifunc_impl_list): Likewise.
6556 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6557 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6558 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6559 * string/strrchr.c: Define STRRCHR.
6560
6561 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6562
6563 * benchtest/bench-strtok.c (simple_strtok): Delete.
6564 (strtok_string): Use as benchmark.
6565 * string/strtok (STRTOK): New macro.
6566
6567 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6568
6569 * manual/threads.texi: Add header and standard comments to all
6570 functions.
6571
6572 * elf/dl-lookup.c (check_match): New function.
6573 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6574 (do_lookup_x): Remove nested function check_match. Use non-nested
6575 function check_match.
6576
6577 2014-02-28 Roland McGrath <roland@hack.frob.com>
6578
6579 * csu/Makefile (generated, before-compile): Use += rather than =.
6580 * catgets/Makefile (generated, generated-dirs): Likewise.
6581 * debug/Makefile (generated): Likewise.
6582 * dlfcn/Makefile (generated): Likewise.
6583 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6584 * iconvdata/Makefile (before-compile, generated): Likewise.
6585 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6586 * libio/Makefile (generated): Likewise.
6587 * malloc/Makefile (generated): Likewise.
6588 * manual/Makefile (generated, generated-dirs): Likewise.
6589 * misc/Makefile (generated): Likewise.
6590 * posix/Makefile (generated): Likewise.
6591 * resolv/Makefile (generated): Likewise.
6592 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6593 * timezone/Makefile (generated, generated-dirs): Likewise.
6594
6595 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6596
6597 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6598
6599 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6600 power8 implementation.
6601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6602 file: POWER8 llround ifunc implementation.
6603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6604 (__lllround): Add POWER8 implementation.
6605 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6606 POWER8 llround implementation.
6607
6608 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6609 power8 implementation.
6610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6611 file: POWER8 llrint ifunc implementation.
6612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6613 Add POWER8 implementation.
6614 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6615 POWER8 llrint implementation.
6616
6617 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6618 power8 implementation.
6619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6620 file: POWER8 finite ifunc implementation.
6621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6622 Add POWER8 implementation.
6623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6624 Likewise.
6625 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6626 POWER8 finite implementation.
6627 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6628
6629 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6630 power8 implementation.
6631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6632 file: POWER8 isinf ifunc implementation.
6633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6634 POWER8 implementation.
6635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6636 Likewise.
6637 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6638 isinf implementation.
6639 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6640
6641 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6642 (INIT_ARCH): Add hwcap2 initialization.
6643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6644 power8 implementation.
6645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6646 file: POWER8 isnan ifunc implementation.
6647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6648 POWER8 implementation.
6649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6650 Likewise.
6651 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6652 isnan implementation.
6653 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6654
6655 2014-02-27 Joey Ye <joey.ye@arm.com>
6656
6657 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6658 (_FP_NANFRAC_Q): Set to zero.
6659
6660 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6661
6662 [BZ #16623]
6663 * math/auto-libm-test-in: New test inputs.
6664 * math/auto-libm-test-out: Regenerate.
6665 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6666 and DA.
6667 (__cos): Likewise.
6668 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6669
6670 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6671
6672 * scripts/evaluate-test.sh: Take new argument indicating whether
6673 failure is expected.
6674 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6675 indicating whether failure is expected.
6676 * conform/Makefile (test-xfail-run-conformtest): New variable.
6677 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6678 level.
6679 * posix/Makefile (test-xfail-annexc): New variable.
6680 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6681
6682 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6683
6684 * argp/Makefile: Include Makeconfig immediately after defining
6685 subdir.
6686 * assert/Makefile: Likewise.
6687 * benchtests/Makefile: Likewise.
6688 * catgets/Makefile: Likewise.
6689 * conform/Makefile: Likewise.
6690 * crypt/Makefile: Likewise.
6691 * csu/Makefile: Likewise.
6692 (all): Remove target.
6693 * ctype/Makefile: Include Makeconfig immediately after defining
6694 subdir.
6695 * debug/Makefile: Likewise.
6696 * dirent/Makefile: Likewise.
6697 * dlfcn/Makefile: Likewise.
6698 * gmon/Makefile: Likewise.
6699 * gnulib/Makefile: Likewise.
6700 * grp/Makefile: Likewise.
6701 * gshadow/Makefile: Likewise.
6702 * hesiod/Makefile: Likewise.
6703 * hurd/Makefile: Likewise.
6704 (all): Remove target.
6705 * iconvdata/Makefile: Include Makeconfig immediately after
6706 defining subdir.
6707 * inet/Makefile: Likewise.
6708 * intl/Makefile: Likewise.
6709 * io/Makefile: Likewise.
6710 * libio/Makefile: Likewise.
6711 (all): Remove target.
6712 * locale/Makefile: Include Makeconfig immediately after defining
6713 subdir.
6714 * login/Makefile: Likewise.
6715 * mach/Makefile: Likewise.
6716 (all): Remove target.
6717 * malloc/Makefile: Include Makeconfig immediately after defining
6718 subdir.
6719 (all): Remove target.
6720 * manual/Makefile: Include Makeconfig immediately after defining
6721 subdir.
6722 * math/Makefile: Likewise.
6723 * misc/Makefile: Likewise.
6724 * nis/Makefile: Likewise.
6725 * nss/Makefile: Likewise.
6726 * po/Makefile: Likewise.
6727 (all): Remove target.
6728 * posix/Makefile: Include Makeconfig immediately after defining
6729 subdir.
6730 * pwd/Makefile: Likewise.
6731 * resolv/Makefile: Likewise.
6732 * resource/Makefile: Likewise.
6733 * rt/Makefile: Likewise.
6734 * setjmp/Makefile: Likewise.
6735 * shadow/Makefile: Likewise.
6736 * signal/Makefile: Likewise.
6737 * socket/Makefile: Likewise.
6738 * soft-fp/Makefile: Likewise.
6739 * stdio-common/Makefile: Likewise.
6740 * stdlib/Makefile: Likewise.
6741 * streams/Makefile: Likewise.
6742 * string/Makefile: Likewise.
6743 * sunrpc/Makefile: Likewise.
6744 (all): Remove target.
6745 * sysvipc/Makefile: Include Makeconfig immediately after defining
6746 subdir.
6747 * termios/Makefile: Likewise.
6748 * time/Makefile: Likewise.
6749 * timezone/Makefile: Likewise.
6750 (all): Remove target.
6751 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6752 subdir.
6753 * wctype/Makefile: Likewise.
6754
6755 2014-02-26 Steve Ellcey <sellcey@mips.com>
6756
6757 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6758 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6759 (libc_feholdexcept_setround_mips): Ditto.
6760 (libc_feholdsetround): New.
6761 (libc_feholdsetroundf): New.
6762 (libc_feholdsetroundl): New.
6763 (libc_feupdateenv_test_mips): New.
6764 (libc_feupdateenv_test): New.
6765 (libc_feupdateenv_testf): New.
6766 (libc_feupdateenv_testl): New.
6767 (libc_feresetround): New.
6768 (libc_feresetroundf): New.
6769 (libc_feresetroundl): New.
6770 (libc_fetestexcept_mips): New.
6771 (libc_fetestexcept): New.
6772 (libc_fetestexceptf): New.
6773 (libc_fetestexceptl): New.
6774 (HAVE_RM_CTX): New.
6775 (libc_feholdexcept_setround_mips_ctx): New.
6776 (libc_feholdexcept_setround_ctx): New.
6777 (libc_feholdexcept_setroundf_ctx): New.
6778 (libc_feholdexcept_setroundl_ctx): New.
6779 (libc_fesetenv_mips_ctx): New.
6780 (libc_fesetenv_ctx): New.
6781 (libc_fesetenv_ctxf): New.
6782 (libc_fesetenv_ctxl): New.
6783 (libc_feupdateenv_mips_ctx): New.
6784 (libc_feupdateenv_ctx): New.
6785 (libc_feupdateenvf_ctx): New.
6786 (libc_feupdateenvl_ctx): New.
6787 (libc_feholdsetround_mips_ctx): New.
6788 (libc_feholdsetround_ctx): New.
6789 (libc_feholdsetroundf_ctx): New.
6790 (libc_feholdsetroundl_ctx): New.
6791 (libc_feresetround_mips_ctx): New.
6792 (libc_feresetround_ctx): New.
6793 (libc_feresetroundf_ctx): New.
6794 (libc_feresetroundl_ctx): New.
6795
6796 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6797
6798 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6799
6800 * manual/ipc.texi: New file.
6801 * manual/Makefile (chapters): Add ipc.
6802 * manual/job.texi: Add "Inter-Process Communication" to next.
6803 * manual/process.texi: Add "Inter-Process Communication" to prev.
6804
6805 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6806
6807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6808
6809 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6810
6811 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6812
6813 * manual/arith.texi: Fix spaces after sentences.
6814 * manual/charset.texi: Likewise.
6815 * manual/errno.texi: Likewise.
6816 * manual/install.texi: Likewise.
6817 * manual/llio.texi: Likewise.
6818 * manual/locale.texi: Likewise.
6819 * manual/maint.texi: Likewise.
6820 * manual/math.texi: Likewise.
6821 * manual/memory.texi: Likewise.
6822 * manual/message.texi: Likewise.
6823 * manual/probes.texi: Likewise.
6824 * manual/resource.texi: Likewise.
6825 * manual/signal.texi: Likewise.
6826 * manual/socket.texi: Likewise.
6827 * manual/stdio.texi: Likewise.
6828 * manual/string.texi: Likewise.
6829 * manual/time.texi: Likewise.
6830 * manual/users.texi: Likewise.
6831
6832 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6833
6834 [BZ #16632]
6835 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6836 _DEFAULT_SOURCE is defined.
6837
6838 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6839 Carlos O'Donell <carlos@redhat.com>
6840
6841 [BZ #16613]
6842 * elf/dl-tls.c (_dl_count_modids): New function.
6843 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6844 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6845 audit library and increment generation counter.
6846 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6847 * elf/tst-audit9.c: New file.
6848 * elf/tst-auditmod9a.c: New file.
6849 * elf/tst-auditmod9b.c: New file.
6850 * elf/Makefile: Add rules to build and run tst-audit9.
6851
6852 2014-02-25 Florian Weimer <fweimer@redhat.com>
6853
6854 [BZ #15347]
6855 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6856
6857 2014-02-25 Will Newton <will.newton@linaro.org>
6858
6859 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6860 (__longjmp): Restore sp and lr before restoring callee
6861 saved registers. Add longjmp and longjmp_target
6862 SystemTap probe point.
6863 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6864 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6865 Define to zero to match jmpbuf layout.
6866 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6867 (__sigsetjmp): Save sp and lr before saving callee
6868 saved registers. Add setjmp SystemTap probe point.
6869
6870 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6871
6872 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6873
6874 2014-02-24 Andreas Schwab <schwab@suse.de>
6875
6876 [BZ #15804]
6877 * elf/pldd.c (wait_for_ptrace_stop): New function.
6878 (main): Call it after attaching.
6879
6880 2014-02-22 Roland McGrath <roland@hack.frob.com>
6881
6882 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6883 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6884 Versions files is now verboten.
6885 * hurd/Versions (libc: GLIBC_2.0):
6886 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6887 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6888 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6889 * mach/Versions: Likewise.
6890
6891 * csu/Versions: Remove unused %include.
6892 * resolv/Versions: Likewise.
6893
6894 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6895
6896 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6897 ($(objpfx)check-local-headers.out): Likewise.
6898 ($(objpfx)begin-end-check.out): Likewise.
6899 * Makerules (check-abi-%.out): Likewise.
6900 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6901 ($(objpfx)test2.cat): Likewise.
6902 ($(objpfx)de/libc.cat): Likewise.
6903 ($(objpfx)test-gencat.out): Likewise.
6904 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6905 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6906 ($(objpfx)noload-mem): Likewise.
6907 ($(objpfx)tst-pathopt.out): Likewise.
6908 ($(objpfx)tst-rtld-load-self.out): Likewise.
6909 ($(objpfx)tst-array1-cmp.out): Likewise.
6910 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6911 ($(objpfx)tst-array2-cmp.out): Likewise.
6912 ($(objpfx)tst-array3-cmp.out): Likewise.
6913 ($(objpfx)tst-array4-cmp.out): Likewise.
6914 ($(objpfx)tst-array5-cmp.out): Likewise.
6915 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6916 ($(objpfx)check-textrel.out): Likewise.
6917 ($(objpfx)check-execstack.out): Likewise.
6918 ($(objpfx)check-localplt.out): Likewise.
6919 ($(objpfx)order2-cmp.out): Likewise.
6920 ($(objpfx)tst-leaks1-mem): Likewise.
6921 ($(objpfx)tst-leaks1-static-mem): Likewise.
6922 ($(objpfx)tst-initorder-cmp.out): Likewise.
6923 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6924 ($(objpfx)tst-unused-dep.out): Likewise.
6925 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6926 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6927 * iconv/Makefile (test-iconvconfig): Likewise.
6928 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6929 ($(objpfx)iconv-test.out): Likewise.
6930 ($(objpfx)tst-tables.out): Likewise.
6931 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6932 ($(objpfx)tst-gettext.out): Likewise.
6933 ($(objpfx)tst-translit.out): Likewise.
6934 ($(objpfx)tst-gettext2.out): Likewise.
6935 ($(objpfx)tst-gettext4.out): Likewise.
6936 ($(objpfx)tst-gettext6.out): Likewise.
6937 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6938 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6939 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6940 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6941 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6942 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6943 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6944 ($(objpfx)wordexp-tst.out): Likewise.
6945 ($(objpfx)annexc.out): Likewise.
6946 ($(objpfx)tst-fnmatch-mem): Likewise.
6947 ($(objpfx)bug-regex2-mem): Likewise.
6948 ($(objpfx)bug-regex14-mem): Likewise.
6949 ($(objpfx)bug-regex21-mem): Likewise.
6950 ($(objpfx)bug-regex31-mem): Likewise.
6951 ($(objpfx)tst-vfork3-mem): Likewise.
6952 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6953 ($(objpfx)tst-pcre-mem): Likewise.
6954 ($(objpfx)tst-boost-mem): Likewise.
6955 ($(objpfx)tst-getconf.out): Likewise.
6956 ($(objpfx)bug-ga2-mem): Likewise.
6957 ($(objpfx)bug-glob2-mem): Likewise.
6958 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6959 ($(objpfx)mtrace-tst-leaks2): Likewise.
6960 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6961 ($(objpfx)tst-printf.out): Likewise.
6962 ($(objpfx)tst-setvbuf1.out): Likewise.
6963 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6964 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6965 ($(objpfx)tst-fmtmsg.out): Likewise.
6966 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6967 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6968
6969 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6970 * bits/sigaction.h [__USE_MISC]: Likewise.
6971 * bits/waitstatus.h: Update #endif comments.
6972 * ctype/ctype.h: Likewise.
6973 * dirent/dirent.h: Likewise.
6974 [__USE_MISC]: Remove redundant conditionals.
6975 * grp/grp.h: Update #endif comments.
6976 [__USE_GNU]: Remove redundant conditionals.
6977 [__USE_MISC]: Likewise.
6978 * inet/netinet/in.h [__USE_GNU]: Likewise.
6979 * io/sys/stat.h [__USE_MISC]: Likewise.
6980 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6981 * libio/bits/stdio.h: Update #endif comments.
6982 [__USE_MISC]: Remove redundant conditionals.
6983 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6984 * libio/stdio.h: Update #endif comments.
6985 [__USE_MISC]: Remove redundant conditionals.
6986 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6987 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6988 * math/math.h: Update #else and #endif comments.
6989 [__USE_MISC]: Remove redundant conditionals.
6990 * misc/sys/uio.h: Update #endif comments.
6991 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6992 * posix/glob.h [__USE_MISC]: Likewise.
6993 * posix/sys/types.h: Update #endif comments.
6994 [__USE_MISC]: Remove redundant conditionals.
6995 * posix/sys/wait.h: Update #endif comments.
6996 [__USE_MISC]: Remove redundant conditionals.
6997 * posix/unistd.h: Update #endif comments.
6998 [__USE_MISC]: Remove redundant conditionals.
6999 * pwd/pwd.h [__USE_GNU]: Likewise.
7000 [__USE_MISC]: Likewise.
7001 * resolv/netdb.h [__USE_GNU]: Likewise.
7002 * signal/signal.h: Update #endif comments.
7003 [__USE_MISC]: Remove redundant conditionals.
7004 * stdlib/stdlib.h: Update #else and #endif comments.
7005 [__USE_MISC]: Remove redundant conditionals.
7006 [__USE_GNU]: Likewise.
7007 * string/bits/string2.h [__USE_MISC]: Likewise.
7008 * string/string.h: Update #endif comments.
7009 [__USE_MISC]: Remove redundant conditionals.
7010 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7011 Likewise.
7012 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7013 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7014 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7015 Likewise.
7016 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7017 Likewise.
7018 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7019 comments.
7020 [__USE_MISC]: Remove redundant conditionals.
7021 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7022 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7023 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7024 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7025 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7026 Likewise.
7027 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7028 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7029 Likewise.
7030 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7031 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7032 Likewise.
7033 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7034 Likewise.
7035 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7036 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7037 Likewise.
7038 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7039 Likewise.
7040 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7041 * sysdeps/x86/bits/string.h: Update #endif comments.
7042 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7043 conditionals.
7044 * time/sys/time.h: Update #endif comments.
7045 * time/time.h: Likewise.
7046 [__USE_MISC]: Remove redundant conditionals.
7047
7048 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7049
7050 [BZ #16600]
7051 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7052
7053 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7054
7055 * Versions.def (librt): Add GLIBC_2.17.
7056
7057 2014-02-21 Adam Conrad <adconrad@0c3.net>
7058
7059 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7060 synonym for _SYS_AUXV_H to allow direct inclusion.
7061 * sysdeps/sparc/bits/hwcap.h: Likewise.
7062 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7063 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7064 * sysdeps/sparc/sysdep.h: Likewise.
7065
7066 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7067
7068 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7069
7070 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7071
7072 * benchtests/bench-strrchr.c: Print length instead of position.
7073
7074 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7075
7076 [BZ #16611]
7077 * sysdeps/unix/sysv/linux/kernel-features.h
7078 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7079 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7080 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7081 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7082 Likewise.
7083 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7084 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7085 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7086 (__ASSUME_SENDMMSG): Define instead of using previous
7087 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7088 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7089 (__ASSUME_SENDMMSG_SYSCALL): Define.
7090 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7091 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7092 Likewise.
7093 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7094 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7095 Likewise.
7096 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7097 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7098 Likewise.
7099 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7100 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7101 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7102 [__ASSUME_SENDMMSG]: Change conditionals to
7103 [__ASSUME_SENDMMSG_SOCKETCALL].
7104 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7105 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7106 Define.
7107 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7108 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7109 Likewise.
7110 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7111 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7112 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7113 [!__ASSUME_SENDMMSG]: Change conditional to
7114 [!__ASSUME_SENDMMSG_SOCKETCALL].
7115 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7116 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7117 Define.
7118
7119 [BZ #16610]
7120 * sysdeps/unix/sysv/linux/kernel-features.h
7121 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7122 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7123 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7124 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7125 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7126 [__i386__ || __sparc__]
7127 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7128 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7129 (__ASSUME_RECVMMSG): Define instead of using previous
7130 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7131 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7132 (__ASSUME_RECVMMSG_SYSCALL): Define.
7133 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7134 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7135 Likewise.
7136 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7137 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7138 Likewise.
7139 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7140 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7141 Likewise.
7142 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7143 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7144 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7145 [__ASSUME_RECVMMSG]: Change condition to
7146 [__ASSUME_RECVMMSG_SOCKETCALL].
7147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7148 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7149 Define.
7150 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7151 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7152 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7153 Likewise.
7154 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7155 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7156 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7157 [!__ASSUME_RECVMMSG]: Change condition to
7158 [!__ASSUME_RECVMMSG_SOCKETCALL].
7159 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7160 (__ASSUME_RECVMMSG_SYSCALL): Define.
7161
7162 [BZ #16609]
7163 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7164 __powerpc__ || __s390__ || __sh__ || __sparc__]
7165 (__ASSUME_SOCKETCALL): Define.
7166 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7167 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7168 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7169 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7170 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7171 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7172 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7173 (__ASSUME_ACCEPT4): Define instead of using previous
7174 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7175 __powerpc__ || __sparc__ || __s390__)] condition.
7176 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7177 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7178 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7179 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7180 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7181 [!__ASSUME_ACCEPT4]: Change condition to
7182 [!__ASSUME_ACCEPT4_SOCKETCALL].
7183 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7184 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7185 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7186 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7187 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7188 __ASSUME_ACCEPT4_SYSCALL.
7189 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7190 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7191 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7192 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7193 __ASSUME_ACCEPT4_SYSCALL.
7194 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7195 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7196 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7197 [__ASSUME_ACCEPT4]: Change condition to
7198 [__ASSUME_ACCEPT4_SOCKETCALL].
7199 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7200 (__ASSUME_SOCKETCALL): Define.
7201 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7202 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7203 (__ASSUME_SOCKETCALL): Define.
7204 (__ASSUME_ACCEPT4): Remove.
7205 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7206 Define.
7207 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7208 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7209 Likewise.
7210 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7211 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7212
7213 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7214 macro.
7215 (HWCAP_ARM_LPAE): Likewise.
7216 (HWCAP_ARM_EVTSTRM): Likewise.
7217 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7218 Add vpfd32, lpae and evtstrm.
7219 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7220 Increase to 22.
7221
7222 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7223
7224 * math/auto-libm-test-in: Add tests of clog10.
7225 * math/auto-libm-test-out: Regenerated.
7226 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7227 * sysdeps/i386/fpu/libm-test-ulps: Update.
7228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7229
7230 2014-02-18 Andreas Schwab <schwab@suse.de>
7231
7232 [BZ #16574]
7233 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7234 Store non-zero if the second buffer was newly allocated.
7235 (send_dg): Likewise.
7236 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7237 to send_vc and send_dg.
7238 (res_nsend): Pass NULL for ansp2_malloced.
7239 * resolv/res_query.c (__libc_res_nquery): Add parameter
7240 answerp2_malloced and pass it down to __libc_res_nsend.
7241 (res_nquery): Pass additional NULL to __libc_res_nquery.
7242 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7243 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7244 second answer buffer if answerp2_malloced was set.
7245 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7246 (__libc_res_nquerydomain): Add parameter
7247 answerp2_malloced and pass it down to __libc_res_nquery.
7248 (res_nquerydomain): Pass additional NULL to
7249 __libc_res_nquerydomain.
7250 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7251 additional NULL to __libc_res_nsend and __libc_res_nquery.
7252 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7253 additional NULL to __libc_res_nsearch.
7254 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7255 parameter of __libc_res_nsearch to check for separately allocated
7256 second buffer.
7257 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7258 __libc_res_nquery.
7259 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7260 additional NULL to __libc_res_nquery.
7261 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7262 __libc_res_nsearch.
7263 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7264 * include/resolv.h: Update prototypes of __libc_res_nquery,
7265 __libc_res_nsearch, __libc_res_nsend.
7266
7267 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7268
7269 * math/auto-libm-test-in: Add tests of fma.
7270 * math/auto-libm-test-out: Regenerated.
7271 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7272 (fma_towardzero_test_data): Likewise.
7273 (fma_downward_test_data): Likewise.
7274 (fma_upward_test_data): Likewise.
7275 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7276 mpc_mode.
7277 (rounding_modes): Add values for new field.
7278 (func_calc_method): Add value mpfr_fff_f.
7279 (func_calc_desc): Add mpfr_fff_f union field.
7280 (test_function): Add field exact_args.
7281 (FUNC): Add macro argument EXACT_ARGS.
7282 (FUNC_mpfr_f_f): Update call to FUNC.
7283 (FUNC_mpfr_f_f): Likewise.
7284 (FUNC_mpfr_ff_f): Likewise.
7285 (FUNC_mpfr_if_f): Likewise.
7286 (FUNC_mpc_c_f): Likewise.
7287 (FUNC_mpc_c_c): Likewise.
7288 (test_functions): Add fma. Update calls to FUNC.
7289 (handle_input_arg): Add argument exact_args.
7290 (add_test): Update call to handle_input_arg.
7291 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7292 (output_for_one_input_case): Update call to calc_generic_results.
7293 Recalculate exact zero results in each rounding mode.
7294
7295 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7296 non-negative before setting low bit.
7297 * math/auto-libm-test-in: Mark one asin test possibly having
7298 spurious underflow.
7299 * math/auto-libm-test-out: Regenerated.
7300 * sysdeps/i386/fpu/libm-test-ulps: Update.
7301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7302
7303 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7304
7305 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7306 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7307 ports/sysdeps/unix/sysv/linux/microblaze.
7308 * README: Add missing listing for microblaze*-*-linux-gnu.
7309
7310 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7311
7312 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7313 * sysdeps/unix/sysv/linux/ia64: Move directory from
7314 ports/sysdeps/unix/sysv/linux/ia64.
7315 * README: Update listing for ia64-*-linux-gnu.
7316
7317 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7318 Joseph Myers <joseph@codesourcery.com>
7319
7320 * Makeconfig (test-name): New variable.
7321 (evaluate-test): Likewise.
7322 * Makerules (do-test-clean): Remove .test-result files.
7323 (common-mostlyclean): Likewise.
7324 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7325 * scripts/evaluate-test.sh: New file.
7326
7327 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7328
7329 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7330 separate $(objpfx)tst-fopenloc-cmp.out and
7331 $(objpfx)tst-fopenloc-mem.out targets.
7332 (tests): Update dependencies.
7333 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7334 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7335 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7336 (tst-rxspencer-no-utf8-ARGS): New variable.
7337 (tst-rxspencer-no-utf8-ENV): Likewise.
7338 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7339 instead of $(objpfx)tst-rxspencer-mem.
7340 ($(objpfx)tst-rxspencer-mem): Change target to
7341 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7342 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7343 * posix/tst-rxspencer-no-utf8.c: New file.
7344
7345 * elf/Makefile ($(objpfx)order.out): Remove rule.
7346 [$(run-built-tests) = yes] (tests): Depend on
7347 $(objpfx)order-cmp.out.
7348 ($(objpfx)order-cmp.out): New rule.
7349 [$(run-built-tests) = yes] (tests): Depend on
7350 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7351 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7352 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7353 $(objpfx)tst-array5-static-cmp.out.
7354 ($(objpfx)tst-array1.out): Remove rule.
7355 ($(objpfx)tst-array1-cmp.out): New rule.
7356 ($(objpfx)tst-array1-static.out): Remove rule.
7357 ($(objpfx)tst-array1-static-cmp.out): New rule.
7358 ($(objpfx)tst-array2.out): Remove rule.
7359 ($(objpfx)tst-array2-cmp.out): New rule.
7360 ($(objpfx)tst-array3.out): Remove rule.
7361 ($(objpfx)tst-array3-cmp.out): New rule.
7362 ($(objpfx)tst-array4.out): Remove rule.
7363 ($(objpfx)tst-array4-cmp.out): New rule.
7364 ($(objpfx)tst-array5.out): Remove rule.
7365 ($(objpfx)tst-array5-cmp.out): New rule.
7366 ($(objpfx)tst-array5-static.out): Remove rule.
7367 ($(objpfx)tst-array5-static-cmp.out): New rule.
7368 [$(run-built-tests) = yes] (tests): Depend on
7369 $(objpfx)order2-cmp.out.
7370 ($(objpfx)order2.out): Remove rule.
7371 ($(objpfx)order2-cmp.out): New rule.
7372 ($(objpfx)tst-initorder.out): Remove rule.
7373 [$(run-built-tests) = yes] (tests): Depend on
7374 $(objpfx)tst-initorder-cmp.out.
7375 ($(objpfx)tst-initorder-cmp.out): New rule.
7376 ($(objpfx)tst-initorder2.out): Remove rule.
7377 [$(run-built-tests) = yes] (tests): Depend on
7378 $(objpfx)tst-initorder2-cmp.out.
7379 ($(objpfx)tst-initorder2-cmp.out): New rule.
7380 [$(run-built-tests) = yes] (tests): Depend on
7381 $(objpfx)tst-unused-dep-cmp.out.
7382 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7383 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7384 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7385 on $(objpfx)tst-setvbuf1-cmp.out.
7386 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7387 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7388 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7389 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7390 ($(objpfx)tst-svc.out): Remove rule.
7391 ($(objpfx)tst-svc-cmp.out): New rule.
7392
7393 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7394
7395 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7396 * ctype/ctype.h [__USE_MISC]: Likewise.
7397 * dirent/dirent.h [__USE_MISC]: Likewise.
7398 * grp/grp.h [__USE_MISC]: Likewise.
7399 * io/fcntl.h [__USE_MISC]: Likewise.
7400 * io/sys/stat.h [__USE_MISC]: Likewise.
7401 * libio/stdio.h [__USE_MISC]: Likewise.
7402 * posix/unistd.h [__USE_MISC]: Likewise.
7403 * pwd/pwd.h [__USE_MISC]: Likewise.
7404 * stdlib.h [__USE_MISC]: Likewise.
7405 * string/bits/string2.h [__USE_MISC]: Likewise.
7406 * string/string.h [__USE_MISC]: Likewise.
7407 * time/time.h [__USE_MISC]: Likewise.
7408
7409 2014-02-13 Andreas Schwab <schwab@suse.de>
7410
7411 [BZ #16574]
7412 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7413 second answer buffer if it was separately allocated.
7414
7415 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7416
7417 * sysdeps/mips/math-tests.h: Include <features.h>.
7418 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7419 (ROUNDING_TESTS_long_double): Do not define.
7420 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7421 (EXCEPTION_TESTS_long_double): Likewise.
7422 * sysdeps/mips/mips64/libm-test-ulps: Update.
7423
7424 * include/features.h (__USE_BSD): Remove macro definitions.
7425 (__USE_SVID): Likewise.
7426 (_BSD_SOURCE): Likewise.
7427 (_SVID_SOURCE): Likewise.
7428 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7429 from definition of _DEFAULT_SOURCE.
7430 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7431 [_DEFAULT_SOURCE].
7432 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7433 * bits/mman.h [__USE_BSD]: Likewise.
7434 * bits/termios.h [__USE_BSD]: Likewise.
7435 * bits/waitstatus.h [__USE_BSD]: Likewise.
7436 * ctype/ctype.h [__USE_SVID]: Likewise.
7437 * dirent/dirent.h [__USE_BSD]: Likewise.
7438 * grp/grp.h [__USE_SVID]: Likewise.
7439 [__USE_BSD]: Likewise.
7440 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7441 * io/fcntl.h [__USE_BSD]: Likewise.
7442 * io/ftw.h [__USE_BSD]: Likewise.
7443 * io/sys/stat.h [__USE_BSD]: Likewise.
7444 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7445 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7446 * libio/stdio.h [__USE_SVID]: Likewise.
7447 [__USE_BSD]: Likewise.
7448 * math/math.h [__USE_SVID]: Likewise.
7449 [__USE_BSD]: Likewise.
7450 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7451 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7452 * misc/search.h [__USE_SVID]: Likewise.
7453 * misc/sys/mman.h [__USE_BSD]: Likewise.
7454 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7455 * misc/sys/uio.h [__USE_BSD]: Likewise.
7456 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7457 * posix/glob.h [__USE_BSD]: Likewise.
7458 * posix/regex.h [__USE_BSD]: Likewise.
7459 * posix/sys/types.h [__USE_BSD]: Likewise.
7460 [__USE_SVID]: Likewise.
7461 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7462 * posix/sys/wait.h [__USE_BSD]: Likewise.
7463 [__USE_SVID]: Likewise.
7464 * posix/unistd.h [__USE_BSD]: Likewise.
7465 [__USE_SVID]: Likewise.
7466 * pwd/pwd.h [__USE_SVID]: Likewise.
7467 * resolv/netdb.h [__USE_BSD]: Likewise.
7468 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7469 * signal/signal.h [__USE_BSD]: Likewise.
7470 [__USE_SVID]: Likewise.
7471 * socket/sys/socket.h [__USE_BSD]: Likewise.
7472 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7473 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7474 [__USE_SVID]: Likewise.
7475 * string/bits/string2.h [__USE_BSD]: Likewise.
7476 [__USE_SVID]: Likewise.
7477 * string/bits/string3.h [__USE_BSD]: Likewise.
7478 * string/endian.h [__USE_BSD]: Likewise.
7479 * string/string.h [__USE_SVID]: Likewise.
7480 [__USE_BSD]: Likewise.
7481 * string/strings.h [__USE_BSD]: Likewise.
7482 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7483 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7484 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7485 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7486 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7487 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7488 Likewise.
7489 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7490 Likewise.
7491 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7492 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7493 Likewise.
7494 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7495 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7496 Likewise.
7497 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7498 Likewise.
7499 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7500 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7501 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7502 Likewise.
7503 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7504 Likewise.
7505 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7506 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7507 * termios/termios.h [__USE_BSD]: Likewise.
7508 * time/sys/time.h [__USE_BSD]: Likewise.
7509 * time/time.h [__USE_BSD]: Likewise.
7510 [__USE_SVID]: Likewise.
7511
7512 * Makefile (subdir_targets): Remove subdir_lint.out.
7513
7514 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7515 (do-tst-printf): Likewise.
7516 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7517 $(objpfx)tst-printf.out.
7518
7519 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7520
7521 * Makerules (check-abi-%): Change target to
7522 $(objpfx)check-abi-%.out.
7523 (check-abi target): Update dependencies.
7524 (check-abi-pattern variable): Redirect output of diff to $@.
7525 (check-abi variable): Likewise.
7526 * elf/Makefile (check-abi): Update dependencies.
7527
7528 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7529 unused.
7530 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7531 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7532 subnormal range.
7533 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7534 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7535 value has largest subnormal exponent.
7536 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7537 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7538 * sysdeps/aarch64/soft-fp/sfp-machine.h
7539 (_FP_TININESS_AFTER_ROUNDING): New macro.
7540 * sysdeps/alpha/soft-fp/sfp-machine.h
7541 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7542 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7543 Likewise.
7544 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7545 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7546 * sysdeps/mips/soft-fp/sfp-machine.h
7547 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7548 * sysdeps/powerpc/soft-fp/sfp-machine.h
7549 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7550 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7551 Likewise.
7552 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7553 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7554 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7555 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7556 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7557 Likewise.
7558
7559 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7560
7561 [BZ #16545]
7562 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7563 model 1.
7564
7565 2014-02-12 Richard Henderson <rth@redhat.com>
7566
7567 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7568 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7569 * sysdeps/unix/sysv/linux/alpha: Move directory from
7570 ports/sysdeps/unix/sysv/linux/alpha.
7571 * README: Update listing for alpha-*-linux-gnu.
7572
7573 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7574
7575 * include/features.h: Update comment documenting feature test
7576 macros.
7577 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7578 _DEFAULT_SOURCE.
7579 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7580 (_SVID_SOURCE): Likewise.
7581 (_DEFAULT_SOURCE): Update description of default features.
7582 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7583 with _GNU_SOURCE.
7584 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7585 (S_ISVTX): Likewise.
7586 * manual/math.texi (Mathematical Constants): Likewise.
7587 * manual/signal.texi (Interrupted Primitives): Likewise.
7588 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7589 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7590 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7591 Don't refer to _SVID_SOURCE in warning text.
7592
7593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7594
7595 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7596 already defined.
7597 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7598 * sysdeps/mips/dl-lookup.c: Remove.
7599 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7600
7601 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7602
7603 [BZ #16447]
7604 * math/auto-libm-test-in: Add testcase for expl.
7605 * math/auto-libm-test-out: Regenerate.
7606 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7607 calculation of unsafe.
7608 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7609
7610 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7611
7612 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7613 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7614 ports/sysdeps/unix/sysv/linux/aarch64.
7615 * README: Update listing for aarch64*-*-linux-gnu.
7616
7617 2014-02-11 Will Newton <will.newton@linaro.org>
7618
7619 * manual/probes.texi (Mathematical Function Probes): Use
7620 "triggered" instead of "hit".
7621
7622 * manual/probes.texi (Internal Probes): Add documentation
7623 of setjmp, longjmp and longjmp_target probes.
7624
7625 * include/stap-probe.h: Add comment about probe argument
7626 format.
7627
7628 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7629 definition. (tr_where, tr_freehook, tr_mallochook,
7630 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7631
7632 2014-02-11 David S. Miller <davem@davemloft.net>
7633
7634 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7635 processing int_tests.
7636
7637 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7638
7639 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7640 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7641 * sysdeps/unix/sysv/linux/mips: Move directory from
7642 ports/sysdeps/unix/sysv/linux/mips.
7643 * README: Update listing for mips-*-linux-gnu and
7644 mips64-*-linux-gnu.
7645
7646 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7647
7648 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7649 * sysdeps/unix/sysv/linux/m68k: Move directory from
7650 ports/sysdeps/unix/sysv/linux/m68k.
7651 * README: Update listing for m68k-*-linux-gnu.
7652
7653 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7654
7655 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7656 * sysdeps/unix/sysv/linux/generic: Move directory from
7657 ports/sysdeps/unix/sysv/linux/generic.
7658 * sysdeps/unix/sysv/linux/tile: Move directory from
7659 ports/sysdeps/unix/sysv/linux/tile.
7660 * README: Update listing for tile*-*-linux-gnu.
7661
7662 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7663
7664 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7665 __builtin_expect.
7666 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7667 * catgets/open_catalog.c (__open_catalog): Likewise.
7668 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7669 * debug/confstr_chk.c: Likewise.
7670 * debug/fread_chk.c (__fread_chk): Likewise.
7671 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7672 * debug/getgroups_chk.c: Likewise.
7673 * debug/mbsnrtowcs_chk.c: Likewise.
7674 * debug/mbsrtowcs_chk.c: Likewise.
7675 * debug/mbstowcs_chk.c: Likewise.
7676 * debug/memcpy_chk.c: Likewise.
7677 * debug/memmove_chk.c: Likewise.
7678 * debug/mempcpy_chk.c: Likewise.
7679 * debug/memset_chk.c: Likewise.
7680 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7681 * debug/strcat_chk.c (__strcat_chk): Likewise.
7682 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7683 * debug/strncat_chk.c (__strncat_chk): Likewise.
7684 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7685 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7686 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7687 * debug/wcpncpy_chk.c: Likewise.
7688 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7689 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7690 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7691 * debug/wcsncpy_chk.c: Likewise.
7692 * debug/wcsnrtombs_chk.c: Likewise.
7693 * debug/wcsrtombs_chk.c: Likewise.
7694 * debug/wcstombs_chk.c: Likewise.
7695 * debug/wmemcpy_chk.c: Likewise.
7696 * debug/wmemmove_chk.c: Likewise.
7697 * debug/wmempcpy_chk.c: Likewise.
7698 * debug/wmemset_chk.c: Likewise.
7699 * dirent/scandirat.c (SCANDIRAT): Likewise.
7700 * dlfcn/dladdr1.c (dladdr1): Likewise.
7701 * dlfcn/dladdr.c (dladdr): Likewise.
7702 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7703 * dlfcn/dlerror.c (__dlerror): Likewise.
7704 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7705 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7706 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7707 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7708 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7709 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7710 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7711 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7712 Likewise.
7713 * elf/dl-conflict.c: Likewise.
7714 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7715 * elf/dl-dst.h: Likewise.
7716 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7717 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7718 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7719 * elf/dl-init.c (call_init, _dl_init): Likewise.
7720 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7721 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7722 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7723 Likewise.
7724 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7725 Likewise.
7726 * elf/dl-minimal.c (__libc_memalign): Likewise.
7727 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7728 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7729 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7730 * elf/dl-sym.c (do_sym): Likewise.
7731 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7732 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7733 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7734 * elf/dl-writev.h (_dl_writev): Likewise.
7735 * elf/ldconfig.c (search_dir): Likewise.
7736 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7737 (dl_main): Likewise.
7738 * elf/setup-vdso.h (setup_vdso): Likewise.
7739 * grp/compat-initgroups.c (compat_call): Likewise.
7740 * grp/fgetgrent.c (fgetgrent): Likewise.
7741 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7742 * grp/putgrent.c (putgrent): Likewise.
7743 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7744 Likewise.
7745 * hurd/hurdinit.c: Likewise.
7746 * iconvdata/8bit-gap.c (struct): Likewise.
7747 * iconvdata/ansi_x3.110.c : Likewise.
7748 * iconvdata/big5.c : Likewise.
7749 * iconvdata/big5hkscs.c : Likewise.
7750 * iconvdata/cp1255.c: Likewise.
7751 * iconvdata/cp1258.c : Likewise.
7752 * iconvdata/cp932.c : Likewise.
7753 * iconvdata/euc-cn.c: Likewise.
7754 * iconvdata/euc-jisx0213.c : Likewise.
7755 * iconvdata/euc-jp.c: Likewise.
7756 * iconvdata/euc-jp-ms.c : Likewise.
7757 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7758 * iconvdata/gb18030.c : Likewise.
7759 * iconvdata/gbbig5.c (const): Likewise.
7760 * iconvdata/gbgbk.c: Likewise.
7761 * iconvdata/gbk.c : Likewise.
7762 * iconvdata/ibm1364.c : Likewise.
7763 * iconvdata/ibm930.c : Likewise.
7764 * iconvdata/ibm932.c: Likewise.
7765 * iconvdata/ibm933.c : Likewise.
7766 * iconvdata/ibm935.c : Likewise.
7767 * iconvdata/ibm937.c : Likewise.
7768 * iconvdata/ibm939.c : Likewise.
7769 * iconvdata/ibm943.c: Likewise.
7770 * iconvdata/iso_11548-1.c: Likewise.
7771 * iconvdata/iso-2022-cn.c : Likewise.
7772 * iconvdata/iso-2022-cn-ext.c : Likewise.
7773 * iconvdata/iso-2022-jp-3.c: Likewise.
7774 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7775 * iconvdata/iso-2022-kr.c : Likewise.
7776 * iconvdata/iso646.c (gconv_end): Likewise.
7777 * iconvdata/iso_6937-2.c : Likewise.
7778 * iconvdata/iso_6937.c : Likewise.
7779 * iconvdata/iso8859-1.c: Likewise.
7780 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7781 * iconvdata/shift_jisx0213.c : Likewise.
7782 * iconvdata/sjis.c : Likewise.
7783 * iconvdata/t.61.c : Likewise.
7784 * iconvdata/tcvn5712-1.c : Likewise.
7785 * iconvdata/tscii.c: Likewise.
7786 * iconvdata/uhc.c : Likewise.
7787 * iconvdata/unicode.c (gconv_end): Likewise.
7788 * iconvdata/utf-16.c (gconv_end): Likewise.
7789 * iconvdata/utf-32.c (gconv_end): Likewise.
7790 * iconvdata/utf-7.c (base64): Likewise.
7791 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7792 * iconv/gconv_close.c (__gconv_close): Likewise.
7793 * iconv/gconv_open.c (__gconv_open): Likewise.
7794 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7795 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7796 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7797 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7798 (ucs4le_internal_loop_single): Likewise.
7799 * iconv/iconv.c (iconv): Likewise.
7800 * iconv/iconv_close.c: Likewise.
7801 * iconv/loop.c (SINGLE): Likewise.
7802 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7803 * include/atomic.h: Likewise.
7804 * inet/inet6_option.c (option_alloc): Likewise.
7805 * intl/bindtextdom.c (set_binding_values): Likewise.
7806 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7807 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7808 * intl/localealias.c (read_alias_file): Likewise.
7809 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7810 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7811 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7812 * libio/fmemopen.c (fmemopen): Likewise.
7813 * libio/iofgets.c (_IO_fgets): Likewise.
7814 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7815 * libio/iofgetws.c (fgetws): Likewise.
7816 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7817 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7818 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7819 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7820 * locale/findlocale.c (_nl_find_locale): Likewise.
7821 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7822 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7823 Likewise.
7824 * locale/setlocale.c (setlocale): Likewise.
7825 * login/programs/pt_chown.c (main): Likewise.
7826 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7827 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7828 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7829 (mmap, mmap64, mremap, munmap): Likewise.
7830 * math/e_exp2l.c: Likewise.
7831 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7832 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7833 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7834 * math/s_catan.c (__catan): Likewise.
7835 * math/s_catanf.c (__catanf): Likewise.
7836 * math/s_catanh.c (__catanh): Likewise.
7837 * math/s_catanhf.c (__catanhf): Likewise.
7838 * math/s_catanhl.c (__catanhl): Likewise.
7839 * math/s_catanl.c (__catanl): Likewise.
7840 * math/s_ccosh.c (__ccosh): Likewise.
7841 * math/s_ccoshf.c (__ccoshf): Likewise.
7842 * math/s_ccoshl.c (__ccoshl): Likewise.
7843 * math/s_cexp.c (__cexp): Likewise.
7844 * math/s_cexpf.c (__cexpf): Likewise.
7845 * math/s_cexpl.c (__cexpl): Likewise.
7846 * math/s_clog10.c (__clog10): Likewise.
7847 * math/s_clog10f.c (__clog10f): Likewise.
7848 * math/s_clog10l.c (__clog10l): Likewise.
7849 * math/s_clog.c (__clog): Likewise.
7850 * math/s_clogf.c (__clogf): Likewise.
7851 * math/s_clogl.c (__clogl): Likewise.
7852 * math/s_csin.c (__csin): Likewise.
7853 * math/s_csinf.c (__csinf): Likewise.
7854 * math/s_csinh.c (__csinh): Likewise.
7855 * math/s_csinhf.c (__csinhf): Likewise.
7856 * math/s_csinhl.c (__csinhl): Likewise.
7857 * math/s_csinl.c (__csinl): Likewise.
7858 * math/s_csqrt.c (__csqrt): Likewise.
7859 * math/s_csqrtf.c (__csqrtf): Likewise.
7860 * math/s_csqrtl.c (__csqrtl): Likewise.
7861 * math/s_ctan.c (__ctan): Likewise.
7862 * math/s_ctanf.c (__ctanf): Likewise.
7863 * math/s_ctanh.c (__ctanh): Likewise.
7864 * math/s_ctanhf.c (__ctanhf): Likewise.
7865 * math/s_ctanhl.c (__ctanhl): Likewise.
7866 * math/s_ctanl.c (__ctanl): Likewise.
7867 * math/w_pow.c: Likewise.
7868 * math/w_powf.c: Likewise.
7869 * math/w_powl.c: Likewise.
7870 * math/w_scalb.c (sysv_scalb): Likewise.
7871 * math/w_scalbf.c (sysv_scalbf): Likewise.
7872 * math/w_scalbl.c (sysv_scalbl): Likewise.
7873 * misc/error.c (error_tail): Likewise.
7874 * misc/pselect.c (__pselect): Likewise.
7875 * nis/nis_callback.c (__nis_create_callback): Likewise.
7876 * nis/nis_call.c (__nisfind_server): Likewise.
7877 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7878 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7879 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7880 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7881 * nis/nis_lookup.c (nis_lookup): Likewise.
7882 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7883 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7884 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7885 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7886 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7887 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7888 * nis/nss_compat/compat-initgroups.c (add_group)
7889 (internal_getgrent_r): Likewise.
7890 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7891 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7892 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7893 (internal_getspnam_r): Likewise.
7894 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7895 (_nss_nis_getaliasbyname_r): Likewise.
7896 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7897 (_nss_nis_getntohost_r): Likewise.
7898 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7899 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7900 (_nss_nis_getgrgid_r): Likewise.
7901 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7902 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7903 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7904 (_nss_nis_gethostbyname4_r): Likewise.
7905 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7906 (initgroups_netid): Likewise.
7907 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7908 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7909 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7910 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7911 (_nss_nis_getprotobynumber_r): Likewise.
7912 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7913 (_nss_nis_getsecretkey): Likewise.
7914 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7915 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7916 (_nss_nis_getpwuid_r): Likewise.
7917 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7918 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7919 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7920 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7921 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7922 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7923 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7924 Likewise.
7925 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7926 (_nss_nisplus_getntohost_r): Likewise.
7927 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7928 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7929 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7930 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7931 Likewise.
7932 * nis/nss_nisplus/nisplus-initgroups.c
7933 (_nss_nisplus_initgroups_dyn): Likewise.
7934 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7935 (_nss_nisplus_getnetbyaddr_r): Likewise.
7936 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7937 (_nss_nisplus_getprotobynumber_r): Likewise.
7938 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7939 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7940 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7941 Likewise.
7942 * nis/nss_nisplus/nisplus-service.c
7943 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7944 (_nss_nisplus_getservbyport_r): Likewise.
7945 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7946 (_nss_nisplus_getspnam_r): Likewise.
7947 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7948 Likewise.
7949 * nscd/aicache.c (addhstaiX): Likewise.
7950 * nscd/cache.c (cache_search, prune_cache): Likewise.
7951 * nscd/connections.c (register_traced_file, send_ro_fd)
7952 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7953 (main_loop_epoll): Likewise.
7954 * nscd/grpcache.c (addgrbyX): Likewise.
7955 * nscd/hstcache.c (addhstbyX): Likewise.
7956 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7957 * nscd/mem.c (gc, mempool_alloc): Likewise.
7958 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7959 (addinnetgrX): Likewise.
7960 * nscd/nscd-client.h (__nscd_acquire_maplock)
7961 (__nscd_drop_map_ref): Likewise.
7962 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7963 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7964 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7965 Likewise.
7966 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7967 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7968 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7969 (__nscd_get_map_ref): Likewise.
7970 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7971 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7972 Likewise.
7973 * nscd/pwdcache.c (addpwbyX): Likewise.
7974 * nscd/selinux.c (preserve_capabilities): Likewise.
7975 * nscd/servicescache.c (addservbyX): Likewise.
7976 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7977 * posix/fnmatch.c (fnmatch): Likewise.
7978 * posix/getopt.c (_getopt_internal_r): Likewise.
7979 * posix/glob.c (glob, glob_in_dir): Likewise.
7980 * posix/wordexp.c (exec_comm_child): Likewise.
7981 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7982 (getanswer_r, gaih_getanswer_slice): Likewise.
7983 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7984 * resolv/res_init.c: Likewise.
7985 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7986 * resolv/res_query.c (__libc_res_nquery): Likewise.
7987 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7988 Likewise.
7989 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7990 * stdio-common/perror.c (perror): Likewise.
7991 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7992 * stdio-common/tmpnam.c (tmpnam): Likewise.
7993 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7994 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7995 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7996 Likewise.
7997 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7998 * stdlib/putenv.c (putenv): Likewise.
7999 * stdlib/setenv.c (__add_to_environ): Likewise.
8000 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8001 * stdlib/strtol_l.c (INTERNAL): Likewise.
8002 * string/memmem.c (memmem): Likewise.
8003 * string/strerror.c (strerror): Likewise.
8004 * string/strnlen.c (__strnlen): Likewise.
8005 * string/test-memmem.c (simple_memmem): Likewise.
8006 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8007 * sunrpc/pm_getport.c (__get_socket): Likewise.
8008 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8009 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8010 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8011 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8012 Likewise.
8013 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8014 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8015 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8016 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8017 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8018 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8019 Likewise.
8020 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8021 Likewise.
8022 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8023 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8024 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8025 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8026 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8028 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8029 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8030 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8031 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8032 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8033 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8034 Likewise.
8035 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8036 Likewise.
8037 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8038 Likewise.
8039 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8040 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8041 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8042 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8043 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8044 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8045 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8046 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8047 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8048 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8049 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8050 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8051 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8052 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8054 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8055 Likewise.
8056 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8057 Likewise.
8058 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8059 Likewise.
8060 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8061 Likewise.
8062 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8063 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8064 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8065 Likewise.
8066 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8067 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8068 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8069 * sysdeps/posix/sleep.c: Likewise.
8070 * sysdeps/posix/tempname.c: Likewise.
8071 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8072 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8073 Likewise.
8074 * sysdeps/powerpc/powerpc32/dl-machine.h
8075 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8076 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8077 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8078 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8079 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8080 Likewise.
8081 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8082 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8083 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8084 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8085 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8086 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8087 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8088 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8089 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8090 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8091 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8092 (elf_machine_lazy_rel): Likewise.
8093 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8094 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8095 (elf_machine_lazy_rel): Likewise.
8096 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8097 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8098 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8099 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8100 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8101 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8102 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8103 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8104 Likewise.
8105 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8106 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8107 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8108 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8109 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8110 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8111 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8112 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8113 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8114 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8115 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8116 Likewise.
8117 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8118 (__posix_fallocate64_l64): Likewise.
8119 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8120 (posix_fallocate): Likewise.
8121 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8122 Likewise.
8123 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8124 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8125 (getifaddrs_internal): Likewise.
8126 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8127 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8128 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8129 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8130 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8131 (__posix_fallocate64_l64): Likewise.
8132 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8133 Likewise.
8134 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8135 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8136 (__get_clockfreq): Likewise.
8137 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8138 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8139 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8140 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8141 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8142 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8143 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8144 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8145 Likewise.
8146 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8147 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8148 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8149 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8150 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8151 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8152 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8153 Likewise.
8154 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8155 (posix_fallocate): Likewise.
8156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8157 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8158 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8159 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8160 (elf_machine_rela, elf_machine_rela_relative)
8161 (elf_machine_lazy_rel): Likewise.
8162 * time/asctime.c (asctime_internal): Likewise.
8163 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8164 * time/tzset.c (__tzset_parse_tz): Likewise.
8165 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8166 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8167 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8168 * wcsmbs/wcsmbsload.h: Likewise.
8169
8170 [BZ #15894]
8171 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8172
8173 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8174 (arena_get2): Remove THREAD_STATS conditionals.
8175 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8176 (__malloc_stats, int): Likewise.
8177
8178 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8179
8180 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8181 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8182
8183 * manual/setjmp.texi: Fix typos/grammar errors.
8184
8185 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8186 Only return early when n is <= 0. Delete unused return statement.
8187
8188 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8189 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8190 * debug/tst-longjmp_chk3.c: New file.
8191
8192 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8193 (test_main): Replace code with set_fortify_handler call.
8194 * debug/test-strcpy_chk.c: Likewise.
8195 * debug/tst-chk1.c: Likewise.
8196 * debug/tst-longjmp_chk.c: Likewise.
8197 * test-skeleton.c: Include fcntl.h & paths.h
8198 (set_fortify_handler): Define.
8199
8200 * debug/tst-longjmp_chk.c: Add header comment and include
8201 ../test-skeleton.c.
8202 (do_test): Mark static.
8203 (TEST_FUNCTION): Define.
8204
8205 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8206 (IP_PMTUDISC_INTERFACE): Likewise.
8207 (IP_MULTICAST_IF): Likewise.
8208 (IP_MULTICAST_TTL): Likewise.
8209 (IP_MULTICAST_LOOP): Likewise.
8210 (IP_ADD_MEMBERSHIP): Likewise.
8211 (IP_DROP_MEMBERSHIP): Likewise.
8212 (IP_UNBLOCK_SOURCE): Likewise.
8213 (IP_BLOCK_SOURCE): Likewise.
8214 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8215 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8216 (IP_MSFILTER): Likewise.
8217 (MCAST_JOIN_GROUP): Likewise.
8218 (MCAST_BLOCK_SOURCE): Likewise.
8219 (MCAST_UNBLOCK_SOURCE): Likewise.
8220 (MCAST_LEAVE_GROUP): Likewise.
8221 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8222 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8223 (MCAST_MSFILTER): Likewise.
8224 (IP_MULTICAST_ALL): Likewise.
8225 (IP_UNICAST_IF): Likewise.
8226
8227 * timezone/Makefile: Delete $(have-ksh) check.
8228 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8229 * timezone/tzselect.ksh: Add +x mode bits.
8230
8231 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8232 (ANON_INODE_FS_MAGIC): Likewise.
8233 (BDEVFS_MAGIC): Likewise.
8234 (BINFMTFS_MAGIC): Likewise.
8235 (BTRFS_TEST_MAGIC): Likewise.
8236 (CRAMFS_MAGIC_WEND): Likewise.
8237 (DEBUGFS_MAGIC): Likewise.
8238 (ECRYPTFS_SUPER_MAGIC): Likewise.
8239 (EXT3_SUPER_MAGIC): Likewise.
8240 (EXT4_SUPER_MAGIC): Likewise.
8241 (FUTEXFS_SUPER_MAGIC): Likewise.
8242 (HOSTFS_SUPER_MAGIC): Likewise.
8243 (HUGETLBFS_MAGIC): Likewise.
8244 (MINIX3_SUPER_MAGIC): Likewise.
8245 (MTD_INODE_FS_MAGIC): Likewise.
8246 (NILFS_SUPER_MAGIC): Likewise.
8247 (OPENPROM_SUPER_MAGIC): Likewise.
8248 (PIPEFS_MAGIC): Likewise.
8249 (PSTOREFS_MAGIC): Likewise.
8250 (QNX6_SUPER_MAGIC): Likewise.
8251 (RAMFS_MAGIC): Likewise.
8252 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8253 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8254 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8255 (SECURITYFS_MAGIC): Likewise.
8256 (SELINUX_MAGIC): Likewise.
8257 (SMACK_MAGIC): Likewise.
8258 (SOCKFS_MAGIC): Likewise.
8259 (SQUASHFS_MAGIC): Likewise.
8260 (STACK_END_MAGIC): Likewise.
8261 (TMPFS_MAGIC): Likewise.
8262 (USBDEVICE_SUPER_MAGIC): Likewise.
8263 (V9FS_MAGIC): Likewise.
8264 (XENFS_SUPER_MAGIC): Likewise.
8265 (CRAMFS_MAGIC): Fix typo in comment.
8266 (EXT2_SUPER_MAGIC): Update comment.
8267 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8268
8269 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8270
8271 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8272 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8273 * sysdeps/unix/sysv/linux/arm: Move directory from
8274 ports/sysdeps/unix/sysv/linux/arm.
8275 * README: Update listing for arm-*-linux-gnueabi.
8276
8277 * README: Remove mention of am33.
8278
8279 2014-02-07 Roland McGrath <roland@hack.frob.com>
8280
8281 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8282 than the comma operator, to avoid "rhs of comma has no effect"
8283 compiler warnings.
8284 (__sigfillset, __sigandset, __sigorset): Likewise.
8285 * include/signal.h (__sigemptyset): Likewise.
8286 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8287
8288 2014-02-07 Allan McRae <allan@archlinux.org>
8289
8290 * version.h (RELEASE): Set to "development".
8291 (VERSION): Set to "2.19.90"
8292 * NEWS: Add 2.20 section.
8293
8294 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8295
8296 [BZ #16529]
8297 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8298
8299 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8300
8301 * manual/contrib.texi: Update entry for Carlos O'Donell,
8302 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8303
8304 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8305
8306 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8307
8308 * sysdeps/unix/sysv/linux/kernel-features.h
8309 [__LINUX_KERNEL_VERSION >= 0x020621]
8310 (__ASSUME_PROC_PID_TASK_COMM): Define.
8311
8312 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8313
8314 [BZ #16398]
8315 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8316 conversion when destination buffer does not have enough space.
8317 * libio/tst-ftell-partial-wide.c: New test case.
8318 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8319
8320 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8321 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8322 Leonard and Allan McRae.
8323
8324 2014-02-04 David S. Miller <davem@davemloft.net>
8325
8326 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8327 32-bit.
8328
8329 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8330
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8332 New file
8333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8334 New file
8335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8336 New file.
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8338 New file.
8339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8340 New file.
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8342 New file.
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8344 New file.
8345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8346 New file.
8347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8348 New file.
8349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8350 New file.
8351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8352 New file.
8353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8354 New file.
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8356 New file.
8357
8358 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8359
8360 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8361 * shlib-versions: Likewise.
8362
8363 2014-02-04 Roland McGrath <roland@hack.frob.com>
8364 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8365
8366 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8367 (abilist-pattern): New variable, set to %-le.abilist.
8368
8369 * Makerules (abilist-pattern): New variable.
8370 (vpath): Use $(abilist-pattern) in place of %.abilist.
8371 (check-abi-% pattern rule): Likewise.
8372 (check-abi, update-abi): Likewise.
8373
8374 2014-02-04 Eric Wong <normalperson@yhbt.net>
8375
8376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8377
8378 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8379
8380 * manual/startup.texi: Add next, previous, and top entries for
8381 the `Program Arguments' and `Environment Variables' nodes.
8382
8383 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8384
8385 * manual/macros.texi: Add comments before MTASC-safety macros.
8386
8387 * manual/users.texi: Document MTASC-safety properties.
8388
8389 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8390 (pthread_getspecific, pthread_setspecific): Format with
8391 @deftypefun, and add @safety note.
8392 * manual/signal.texi: Move comments that analyze the above
8393 functions to their home place.
8394
8395 2014-02-03 Allan McRae <allan@archlinux.org>
8396
8397 * po/sl.po: Update Slovenian translation from translation project.
8398
8399 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8400
8401 * manual/time.texi (timegm): Add missing blank after @c.
8402 Reported by Joseph Myers <joseph@codesourcery.com>.
8403
8404 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8405
8406 * manual/check-safety.sh: New.
8407 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8408
8409 * manual/terminal.texi: Document MTASC-safety properties.
8410
8411 * manual/filesys.texi: Document MTASC-safety properties.
8412
8413 * manual/errno.texi: Document MTASC-safety properties.
8414
8415 * manual/intro.texi: Document safety identifiers and
8416 conditionals.
8417
8418 * manual/string.texi (wcstok): Fix prototype.
8419 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8420
8421 * manual/time.texi: Document MTASC-safety properties.
8422
8423 * manual/string.texi: Document MTASC-safety properties.
8424
8425 * manual/threads.texi: Document MTASC-safety properties.
8426
8427 * manual/stdio.texi: Document MTASC-safety properties.
8428
8429 * manual/syslog.texi: Document MTASC-safety properties.
8430
8431 * manual/sysinfo.texi: Document MTASC-safety properties.
8432
8433 * manual/startup.texi: Document MTASC-safety properties.
8434
8435 * manual/socket.texi: Document MTASC-safety properties.
8436
8437 * manual/signal.texi: Document MTASC-safety properties.
8438
8439 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8440
8441 * manual/setjmp.texi: Document MTASC-safety properties.
8442
8443 * manual/search.texi: Document MTASC-safety properties.
8444
8445 * manual/resource.texi: Document MTASC-safety properties.
8446
8447 * manual/process.texi: Document MTASC-safety properties.
8448
8449 * manual/platform.texi: Document MTASC-safety properties.
8450
8451 * manual/pipe.texi: Document MTASC-safety properties.
8452
8453 * manual/pattern.texi: Document MTASC-safety properties.
8454
8455 * manual/message.texi: Document MTASC-safety properties.
8456
8457 [BZ #12751]
8458 * manual/memory.texi: Document MTASC-safety properties.
8459
8460 * manual/math.texi: Document MTASC-safety properties.
8461
8462 * manual/locale.texi: Document MTASC-safety properties.
8463
8464 * manual/llio.texi: Document MTASC-safety properties.
8465
8466 * manual/libdl.texi: New.
8467
8468 * manual/lang.texi: Document MTASC-safety properties.
8469
8470 * manual/job.texi: Document MTASC-safety properties.
8471
8472 * manual/getopt.texi: Document MTASC-safety properties.
8473
8474 * manual/ctype.texi: Document MTASC-safety properties.
8475
8476 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8477
8478 [BZ #16046]
8479 * csu/libc-tls.c (static_map): Remove variable.
8480 (__libc_setup_tls): Use main executable's link map for TLS data.
8481 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8482 casing for LM_ID_BASE and GL(dl_nns).
8483 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8484 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8485 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8486 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8487 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8488 member.
8489 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8490 l_phnum members.
8491
8492 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8493
8494 * manual/debug.texi: Document MTASC-safety properties.
8495
8496 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8497
8498 [BZ #16510]
8499 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8500 of __x86_64__ when disabling x87 inline functions.
8501
8502 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8503
8504 * manual/charset.texi: Document MTASC-safety properties.
8505
8506 * manual/crypt.texi: Document MTASC-safety properties.
8507
8508 * manual/conf.texi: Document MTASC-safety properties.
8509
8510 * manual/arith.texi: Document MTASC-safety properties.
8511
8512 * manual/argp.texi: Document MTASC-safety properties.
8513
8514 * manual/macros.texi: Introduce macros to document multi
8515 thread, asynchronous signal and asynchronous cancellation
8516 safety properties.
8517 * manual/intro.texi: Introduce the properties themselves.
8518
8519 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8520
8521 * sysdeps/sh/sh4/Makefile: New file.
8522
8523 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8524
8525 * math/gen-libm-test.pl ($srcdir): New variable.
8526 ($auto_input): Use it.
8527
8528 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8529
8530 [BZ #16506]
8531 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8532 access beyond array bounds when parsing netgroups file.
8533
8534 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8535 the old buffer before realloc.
8536
8537 2014-01-27 Allan McRae <allan@archlinux.org>
8538
8539 * po/fr.po: Update French translation from translation project.
8540
8541 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8542
8543 * sysdeps/sh/libm-test-ulps: Regenerate.
8544
8545 2014-01-24 David S. Miller <davem@davemloft.net>
8546
8547 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8548
8549 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8550
8551 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8552 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8553
8554 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8555
8556 [BZ #16474]
8557 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8558 string pointers after reallocation.
8559
8560 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8561
8562 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8563 __SH4A__ instead of __SH_FPU_ANY__.
8564
8565 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8566
8567 * sysdeps/sh/fpu_control.h: New file.
8568 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8569 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8570 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8571 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8572 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8573 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8574 * sysdeps/sh/sys/ucontext.h: Remove.
8575 * sysdeps/sh/sys: Remove directory.
8576
8577 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8578
8579 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8580 s390/sys/ucontext.h.
8581 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8582 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8583
8584 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8585
8586 [BZ #15605]
8587 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8588
8589 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8590
8591 [BZ#16431]
8592 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8593 Adjust the vDSO correctly for internal calls.
8594 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8595
8596 2014-01-20 Allan McRae <allan@archlinux.org>
8597
8598 * po/ca.po: Update Catalan translation from translation project.
8599
8600 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8601
8602 * sysdeps/s390/sotruss-lib.c: New file.
8603
8604 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8605
8606 [BZ#16430]
8607 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8608 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8609 local calls issues by not having a PLT stub required for IFUNC calls.
8610 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8611
8612 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8613
8614 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8615 * math/test-fpucw-static.c: Likewise.
8616
8617 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8618
8619 [BZ #16453]
8620 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8621
8622 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8623
8624 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8625 implementation for powerpc.
8626
8627 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8628
8629 [BZ #14782]
8630 * sysdeps/posix/system.c (__libc_system): Do not enable
8631 asynchronous cancellation.
8632
8633 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8634
8635 [BZ #16427]
8636 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8637 handling only for numbers special also in the IEEE case.
8638
8639 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8640
8641 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8642
8643 2014-01-11 Allan McRae <allan@archlinux.org>
8644
8645 * po/bg.po: Update Bulgarian translation from translation project.
8646
8647 * po/de.po: Update German translation from translation project.
8648
8649 2014-01-10 Roland McGrath <roland@hack.frob.com>
8650
8651 * sysdeps/generic/gcc-compat.h: New file.
8652
8653 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8654
8655 * benchtests/asin-inputs: Correct slow inputs.
8656 * benchtests/acos-inputs: Likewise.
8657
8658 2014-01-10 Allan McRae <allan@archlinux.org>
8659
8660 * po:sv.po: Update Swedish translation from translation project.
8661
8662 * po/vi.po: Update Vietnamese translation from translation project.
8663
8664 * po/eo.po: Update Esperanto translation from translation project.
8665
8666 * po/cs.po: Update Czech translation from translation project.
8667
8668 * po/nl.po: Update Dutch translation from translation project.
8669
8670 * po/pl.po: Update Polish translation from translation project.
8671
8672 * po/ru.po: Update Russian translation from translation project.
8673
8674 * po/uk.po: Update Ukrainian translation from translation project.
8675
8676 2014-01-08 Brooks Moses <bmoses@google.com>
8677
8678 * elf/dl-load.c: Fix comment typo.
8679
8680 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8681
8682 * po/header.pot: Rename to...
8683 * po/pot.header: ... this.
8684 * po/Makefile: Use pot.header.
8685
8686 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8687 Maxim Kuvyrkov <maxim@kugelworks.com>
8688
8689 [BZ #16394]
8690 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8691 SRC and DEST against LEN.
8692
8693 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8694
8695 [BZ #16414]
8696 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8697 implementation.
8698 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8699
8700 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8701
8702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8703
8704 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8705
8706 [BZ #16408]
8707 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8708 for large positive arguments.
8709
8710 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8711
8712 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8713
8714 * math/auto-libm-test-in: Mark various tests with
8715 xfail-rounding:ldbl-128ibm.
8716 * math/auto-libm-test-out: Regenerated.
8717
8718 [BZ #16407]
8719 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8720 Increase overflow threshold.
8721
8722 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8723
8724 [BZ #14286]
8725 * stdio-common/vfprintf.c: Check for integer overflow.
8726
8727 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8728
8729 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8730 the first argument and return value of __tls_get_addr_internal.
8731
8732 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8733
8734 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8735 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8736
8737 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8738
8739 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8740 * sysdeps/s390/rtld-global-offsets.sym: New file.
8741 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8742 GLIBC_2.19 symbol.
8743 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8744 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8745 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8746 ... this.
8747 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8748 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8749 ... this.
8750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8751 Regenerate.
8752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8753 Regenerate.
8754 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8755 halfs of GPRs for high_gprs contexts.
8756 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8757 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8758 field.
8759 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8760 uc_flags field.
8761 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8762 64 bit versions:
8763 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8764 for high GPRs (uc_high_gprs) and for future extensions
8765 (__reserved).
8766 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8767 for future extensions (__reserved).
8768 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8769 64 bit versions:
8770 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8771 SC_HIGHGPRS offset definition.
8772 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8773 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8774
8775 * Versions.def: Add GLIBC_2.19 for libpthread.
8776 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8777 siglongjmp for libpthread with GLIBC_2.19 symver.
8778 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8779 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8780 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8781 * sysdeps/s390/__longjmp.c: New file.
8782 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8783 * sysdeps/s390/longjmp.c: New file.
8784 * sysdeps/s390/setjmp.S: New file.
8785 * sysdeps/s390/sigjmp.S: New file.
8786 * sysdeps/s390/v1-longjmp.c: New file.
8787 * sysdeps/s390/v1-setjmp.h: New file.
8788 * sysdeps/s390/v1-sigjmp.c: New file.
8789 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8790 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8791 GLIBC_2.19 version.
8792 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8793 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8794 versioned symbols for ____longjmp_chk.
8795 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8796 Likewise.
8797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8798 Regenerate.
8799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8800 Regenerate.
8801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8802 Regenerate.
8803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8804 Regenerate.
8805 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8806 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8807 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8808 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8809 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8810 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8811 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8812 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8813 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8814 * sysdeps/s390/rtld-__longjmp.c: New file.
8815 * sysdeps/s390/rtld-setjmp.S: New file.
8816
8817 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8818
8819 [BZ #16400]
8820 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8821 Return -__logl (x) for small positive arguments without evaluating
8822 a polynomial.
8823
8824 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8825
8826 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8827 Rename to ...
8828 (__ptrace_peeksiginfo_args): ... this.
8829 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8830 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8831 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8832
8833 2014-01-06 Allan McRae <allan@archlinux.org>
8834
8835 * inet/netinet/in.h: Fix typo in comment.
8836
8837 2014-01-05 Andreas Jaeger <aj@suse.de>
8838
8839 * sysdeps/i386/fpu/libm-test-ulps: Update.
8840
8841 2014-01-05 Allan McRae <allan@archlinux.org>
8842
8843 * po/libc.pot: Regenerated.
8844
8845 * malloc/memusagestat.c: Fix gettext call formatting.
8846
8847 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8848
8849 * nscd/nscd.c: Improve usage() output.
8850
8851 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8852
8853 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8854 * sysdeps/unix/sysv/linux/configure: Regenerated.
8855 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8856 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8857
8858 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8859
8860 [BZ #16390]
8861 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8862 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8863
8864 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8865
8866 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8867 extra tokens at end of #undef directive.
8868 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8869 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8870 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8871
8872 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8873
8874 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8875
8876 * math/auto-libm-test-in: Mark various tests with
8877 xfail-rounding:ldbl-128ibm.
8878 * math/auto-libm-test-out: Regenerated.
8879
8880 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8881
8882 [BZ #16386]
8883 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8884 numbers with subnormal high part when calculating exponent.
8885
8886 [BZ #16385]
8887 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8888 fabs.
8889
8890 [BZ #16384]
8891 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8892 M_LN2l.
8893 (__ieee754_acoshl): Use __log1pl not __log1p.
8894
8895 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8896
8897 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8898 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8899 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8900 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8901 (reused_arena, arena_get2): Convert to GNU style.
8902 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8903 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8904 (memalign_check, __malloc_set_state): Likewise.
8905 * malloc/mallocbug.c (main): Likewise.
8906 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8907 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8908 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8909 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8910 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8911 (__posix_memalign, malloc_info): Likewise.
8912 * malloc/malloc.h: Likewise.
8913 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8914 (mallochook, memalignhook, reallochook, mabort): Likewise.
8915 * malloc/mcheck.h: Likewise.
8916 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8917 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8918 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8919 * malloc/morecore.c (__default_morecore): Likewise.
8920 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8921 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8922 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8923 (print_and_abort): Likewise.
8924 * malloc/obstack.h: Likewise.
8925 * malloc/set-freeres.c (__libc_freeres): Likewise.
8926 * malloc/tst-mallocstate.c (main): Likewise.
8927 * malloc/tst-mtrace.c (main): Likewise.
8928 * malloc/tst-realloc.c (do_test): Likewise.
8929
8930 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8931
8932 [BZ #16366]
8933 * nscd/netgroupcache.c (do_notfound): New function.
8934 (addgetnetgrentX): Use it.
8935
8936 [BZ # 16365]
8937 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8938 NSS_STATUS_NOTFOUND.
8939
8940 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8941
8942 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8944
8945 2014-01-01 Allan McRae <allan@archlinux.org>
8946
8947 * scripts/update-copyrights: Update configure input file suffix.
8948
8949 * NEWS: Update copyright year.
8950 * catgets/gencat.c: Likewise.
8951 * csu/version.c: Likewise.
8952 * debug/catchsegv.sh: Likewise.
8953 * debug/pcprofiledump.c: Likewise.
8954 * debug/xtrace.sh: Likewise.
8955 * elf/ldconfig.c: Likewise.
8956 * elf/ldd.bash.in: Likewise.
8957 * elf/pldd.c: Likewise.
8958 * elf/sotruss.ksh: Likewise.
8959 * elf/sprof.c: Likewise.
8960 * iconv/iconv_prog.c: Likewise.
8961 * iconv/iconvconfig.c: Likewise.
8962 * locale/programs/locale.c: Likewise.
8963 * locale/programs/localedef.c: Likewise.
8964 * login/programs/pt_chown.c: Likewise.
8965 * malloc/memusage.sh: Likewise.
8966 * malloc/memusagestat.c: Likewise.
8967 * malloc/mtrace.pl: Likewise.
8968 * manual/libc.texinfo: Likewise.
8969 * nscd/nscd.c: Likewise.
8970 * nss/getent.c: Likewise.
8971 * nss/makedb.c: Likewise.
8972 * posix/getconf.c: Likewise.
8973 * scripts/test-installation.pl: Likewise.
8974
8975 * All files with FSF copyright notices: Update copyright dates
8976 using scripts/update-copyrights.
8977 * intl/plural.c: Regenerated.
8978 * locale/programs/charmap-kw.h: Likewise.
8979 * locale/programs/locfile-kw.h: Likewise.
8980
8981 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8982
8983 * sysdeps/unix/sysv/linux/configure: Regenerated.
8984 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8985 the linux/fanotify.h header.
8986 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8987 HAVE_LINUX_FANOTIFY_H is defined.
8988
8989 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8990
8991 * benchtests/cos-inputs: New inputs.
8992 * benchtests/sin-inputs: Likewise.
8993
8994 * benchtests/atan-inputs: New inputs. Fix name of multiple
8995 precision fallback inputs.
8996
8997 * benchtests/atanh-inputs: New inputs.
8998 * benchtests/tanh-inputs: Likewise.
8999
9000 * benchtests/acosh-inputs: New inputs.
9001 * benchtests/asinh-inputs: Likewise.
9002
9003 * benchtests/cosh-inputs: New inputs.
9004 * benchtests/sinh-inputs: Likewise.
9005
9006 * benchtests/acos-inputs: Add more inputs.
9007 * benchtests/asin-inputs: Likewise.
9008
9009 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9010
9011 [BZ #16375]
9012 * manual/arith.texi: Fix spelling.
9013 * manual/charset.texi: Likewise.
9014 * manual/errno.texi: Likewise.
9015 * manual/filesys.texi: Likewise.
9016 * manual/lang.texi: Likewise.
9017 * manual/llio.texi: Likewise.
9018 * manual/locale.texi: Likewise.
9019 * manual/message.texi: Likewise.
9020 * manual/resource.texi: Likewise.
9021 * manual/search.texi: Likewise.
9022 * manual/setjmp.texi: Likewise.
9023 * manual/stdio.texi: Likewise.
9024 * manual/string.texi: Likewise.
9025 * manual/sysinfo.texi: Likewise.
9026 * manual/time.texi: Likewise.
9027
9028 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9029
9030 * po/sl.po: New file.
9031
9032 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9033
9034 * .gitignore: Add core/.gdbinit/.gdb_history.
9035
9036 2013-12-27 Allan McRae <allan@archlinux.org>
9037
9038 [BZ #16369]
9039 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9040 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9041
9042 2013-12-24 Brooks Moses <bmoses@google.com>
9043
9044 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9045 all compilers that claim C++98 compliance, not just GCC.
9046 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9047 Likewise.
9048
9049 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9050
9051 * NEWS: Restore accidentally deleted bug-fix entries.
9052
9053 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9054 Ondřej Bílka <neleai@seznam.cz>
9055
9056 [BZ #15073]
9057 * malloc/malloc.c (_int_free): Perform sanity check only if we
9058 have_lock.
9059
9060 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9061
9062 [BZ #12986]
9063 * manual/stdio.texi (String Input Conversions): Clarify that character
9064 classes are not supported.
9065
9066 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9067
9068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9069
9070 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9071
9072 [BZ #16337]
9073 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9074 Calculate results for small negative arguments directly rather
9075 than using reflection formula with special underflow handling.
9076
9077 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9078 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9079 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9080 (fchflags): Likewise.
9081 (revoke): Likewise.
9082 (setlogin): Likewise.
9083 (sigaltstack): Likewise.
9084 (wait4): Likewise.
9085 (sigblock): Remove.
9086 (sigsetmask): Likewise.
9087 (wait3): Likewise.
9088 (waitpid): Likewise.
9089 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9090 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9091 file.
9092 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9093 * sysdeps/unix/bsd/Makefile: ... here.
9094 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9095 * sysdeps/unix/bsd/Versions: ... here.
9096 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9097 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9098 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9099 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9100 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9101 * sysdeps/unix/bsd/sigblock.c: ... here.
9102 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9103 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9104 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9105 * sysdeps/unix/bsd/sigvec.c: ... here.
9106 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9107 * sysdeps/unix/bsd/tcdrain.c: ... here.
9108 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9109 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9110 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9111 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9112 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9113 * sysdeps/unix/bsd/wait.c: ... here.
9114 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9115 * sysdeps/unix/bsd/wait3.c: ... here.
9116 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9117 * sysdeps/unix/bsd/waitpid.c: ... here.
9118
9119 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9120
9121 [BZ #16356]
9122 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9123 round-to-nearest for [!USE_AS_EXPM1L].
9124 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9125 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9126 more tests of exp and exp10. Expect some exp10 tests to miss
9127 exceptions or fail in directed rounding modes.
9128 * math/auto-libm-test-out: Regenerated.
9129 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9130 (exp10_test_tonearest): New function.
9131 (exp10_towardzero_test_data): New array.
9132 (exp10_test_towardzero): New function.
9133 (exp10_downward_test_data): New array.
9134 (exp10_test_downward): New function.
9135 (exp10_upward_test_data): New array.
9136 (exp10_test_upward): New function.
9137 (main): Call the new functions.
9138 * sysdeps/i386/fpu/libm-test-ulps: Update.
9139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9140
9141 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9142
9143 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9144 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9145 * math/auto-libm-test-out: Regenerated.
9146 * math/libm-test.inc (acosh_test_data): Add more tests.
9147 (atanh_test_data): Likewise.
9148 (ceil_test_data): Likewise.
9149 (copysign_test_data): Likewise.
9150 * sysdeps/i386/fpu/libm-test-ulps: Update.
9151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9152
9153 * timezone/checktab.awk: Update from tzcode 2013i.
9154 * timezone/private.h: Likewise.
9155 * timezone/scheck.c: Likewise.
9156 * timezone/tzfile.h: Likewise.
9157 * timezone/tzselect.ksh: Likewise.
9158 * timezone/zdump.c: Likewise.
9159 * timezone/zic.c: Likewise.
9160
9161 * math/auto-libm-test-in: Add tests of cpow.
9162 * math/auto-libm-test-out: Regenerated.
9163 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9164 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9165 mpc_cc_c.
9166 (func_calc_desc): Add mpc_cc_c union field.
9167 (test_functions): Add cpow.
9168 (special_fill_2pi): New function.
9169 (special_real_inputs): Add 2pi.
9170 (calc_generic_results): Handle mpc_cc_c.
9171 * sysdeps/i386/fpu/libm-test-ulps: Update.
9172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9173
9174 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9175 csqrt, ctan and ctanh.
9176 * math/auto-libm-test-out: Regenerated.
9177 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9178 (TEST_COND_x86): Likewise.
9179 (ccos_test_data): Use AUTO_TESTS_c_c.
9180 (ccosh_test_data): Likewise.
9181 (cexp_test_data): Likewise.
9182 (clog_test_data): Likewise.
9183 (csqrt_test_data): Likewise.
9184 (ctan_test_data): Likewise.
9185 (ctan_tonearest_test_data): Likewise.
9186 (ctan_towardzero_test_data): Likewise.
9187 (ctan_downward_test_data): Likewise.
9188 (ctan_upward_test_data): Likewise.
9189 (ctanh_test_data): Likewise.
9190 (ctanh_tonearest_test_data): Likewise.
9191 (ctanh_towardzero_test_data): Likewise.
9192 (ctanh_downward_test_data): Likewise.
9193 (ctanh_upward_test_data): Likewise.
9194 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9195 mpc_c_c.
9196 (func_calc_desc): Add mpc_c_c union field.
9197 (FUNC_mpc_c_c): New macro.
9198 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9199 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9200 ctanh.
9201 (special_fill_min_subnorm_p120): New function.
9202 (special_real_inputs): Add min_subnorm_p120.
9203 (calc_generic_results): Handle mpc_c_c.
9204 * sysdeps/i386/fpu/libm-test-ulps: Update.
9205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9206
9207 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9208
9209 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9210 (do_sin_slow): New functions.
9211 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9212 (cslow2, csloww1, csloww2): Use the new functions.
9213
9214 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9215 Use M to change sign of result instead of X. Assume X is
9216 positive.
9217 (csloww1): Likewise.
9218 (__sin): Adjust.
9219 (__cos): Adjust.
9220
9221 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9222 arguments A and DA.
9223 (__sin): Adjust.
9224 (__cos): Likewise.
9225
9226 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9227 (__cos): Likewise.
9228 (sloww1): Don't adjust sign of DX.
9229 (csloww1): Likewise.
9230 (sloww2): Use X directly and don't adjust sign of DX.
9231 (csloww2): Likewise.
9232
9233 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9234
9235 * math/auto-libm-test-in: Add tests of cabs and carg.
9236 * math/auto-libm-test-out: Regenerated.
9237 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9238 (carg_test_data): Likewise.
9239 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9240 mpc_c_f.
9241 (func_calc_desc): Add mpc_c_f union field.
9242 (test_functions): Add cabs and carg.
9243 (calc_generic_results): Handle mpc_c_f.
9244
9245 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9246 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9247 as a macro and a compat symbol.
9248 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9249 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9250 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9251 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9252 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9253 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9254 not use .hidden.
9255 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9256 Likewise.
9257 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9258 Likewise.
9259 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9260 Likewise.
9261 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9262 Likewise.
9263 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9264 Likewise.
9265 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9266 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9267 from GLIBC_2.3.2.
9268
9269 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9270
9271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9272
9273 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9274
9275 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9276 trailing whitespace removed.
9277 * scripts/config.guess: Update to version 2013-11-29.
9278 * scripts/config.sub: Update to version 2013-10-01.
9279
9280 * math/auto-libm-test-in: Add tests of sincos.
9281 * math/auto-libm-test-out: Regenerated.
9282 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9283 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9284 mpfr_f_11.
9285 (func_calc_desc): Add mpfr_f_11 union field.
9286 (test_functions): Add sincos.
9287 (calc_generic_results): Handle mpfr_f_11.
9288 * sysdeps/i386/fpu/libm-test-ulps: Update.
9289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9290
9291 2013-12-19 Andreas Schwab <schwab@suse.de>
9292
9293 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9294 CALL_MCOUNT.
9295 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9296 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9297 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9298
9299 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9300
9301 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9302 * sysdeps/i386/fpu/libm-test-ulps: Update.
9303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9304
9305 [BZ #16293]
9306 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9307 round-to-nearest mode when using frndint.
9308 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9309 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9310 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9311 Likewise.
9312 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9313 sinh test to fail.
9314 * math/auto-libm-test-out: Regenerated.
9315 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9316 (TEST_COND_x86): Likewise.
9317 (expm1_tonearest_test_data): New array.
9318 (expm1_test_tonearest): New function.
9319 (expm1_towardzero_test_data): New array.
9320 (expm1_test_towardzero): New function.
9321 (expm1_downward_test_data): New array.
9322 (expm1_test_downward): New function.
9323 (expm1_upward_test_data): New array.
9324 (expm1_test_upward): New function.
9325 (main): Run the new test functions.
9326 * sysdeps/i386/fpu/libm-test-ulps: Update.
9327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9328
9329 * include/features.h: Update comment documenting feature test
9330 macros. Mention _DEFAULT_SOURCE in comment.
9331 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9332 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9333 _BSD_SOURCE and _SVID_SOURCE.
9334 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9335 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9336 !_SVID_SOURCE]: Likewise.
9337 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9338 (__USE_POSIX_IMPLICITLY): Define.
9339 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9340 (_POSIX_SOURCE): Undefine and redefine.
9341 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9342 (_POSIX_C_SOURCE): Likewise.
9343 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9344 (Feature Test Macros): Update documentation of default features.
9345
9346 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9347
9348 * benchtests/Makefile: Add bench-strtok.
9349 * benchtests/bench-strtok.c: New file: strtok benchtest.
9350
9351 2013-12-19 Allan McRae <allan@archlinux.org>
9352
9353 * manual/install.texi: Suppress menu for plain text output.
9354 * INSTALL: Regenerated.
9355
9356 2013-12-18 Brooks Moses <bmoses@google.com>
9357
9358 [BZ #15846]
9359 * misc/getauxval.c: Include errno.h.
9360 (__getauxval): Set errno to ENOENT if the requested type is not
9361 found.
9362 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9363 don't declare with __attribute_const__.
9364 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9365 * manual/startup.texi: Document that getauxval sets errno.
9366
9367 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9368
9369 * math/auto-libm-test-in: Add tests of jn and yn.
9370 * math/auto-libm-test-out: Regenerated.
9371 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9372 (yn_test_data): Likewise.
9373 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9374 mpfr_if_f.
9375 (func_calc_desc): Add mpfr_if_f union field.
9376 (FUNC_mpfr_if_f): New macro.
9377 (test_functions): Add jn and yn.
9378 (calc_generic_results): Assert type of second input for
9379 mpfr_ff_f. Handle mpfr_if_f.
9380 (output_for_one_input_case): Disable all checking for arguments
9381 fitting floating-point types in case of an integer argument.
9382 * sysdeps/i386/fpu/libm-test-ulps: Update.
9383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9384
9385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9386 Don't expect fegetround reference in libm.so.
9387
9388 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9389
9390 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9391 $(config-cflags-nofma).
9392
9393 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9394
9395 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9396 * math/auto-libm-test-out: Regenerated.
9397
9398 [BZ #16338]
9399 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9400 to determine exponent and adjust argument to have exponent of -1.
9401 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9402 log2.
9403 * math/auto-libm-test-out: Regenerated.
9404 * sysdeps/i386/fpu/libm-test-ulps: Update.
9405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9406
9407 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9408
9409 * manual/probes.texi: Remove cases when per-thread arenas are
9410 disabled.
9411
9412 2013-12-18 Andreas Schwab <schwab@suse.de>
9413
9414 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9415 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9416 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9417 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9418 * sysdeps/i386/i686/multiarch/Makefile: Update.
9419 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9420
9421 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9422
9423 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9424 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9425
9426 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9427
9428 [BZ #15968]
9429 Support TZ transition times < 00:00:00.
9430 This is needed for version-3 tz-format files; it supports time
9431 stamps past 2037 for America/Godthab (the only entry in the tz
9432 database for which this change is relevant).
9433 * manual/time.texi (TZ Variable): Document transition times
9434 from -167:59:59 through -00:00:01.
9435 * time/tzset.c (tz_rule): Time of day is now signed.
9436 (__tzset_parse_tz): Parse negative time of day.
9437
9438 Document TZ transition times >= 25:00:00.
9439 * manual/time.texi (TZ Variable): Document transition times from
9440 25:00:00 through 167:59:59. These are already supported, and this
9441 support will help with version-3 tz-format files.
9442
9443 * manual/time.texi (TZ Variable): Modernize North America example
9444 to reflect current (i.e., 2007-and-later) daylight saving rules.
9445
9446 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9447
9448 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9449
9450 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9451 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9452 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9453 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9454 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9455 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9456 * sysdeps/unix/bsd/clock.c: Likewise.
9457 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9458 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9459 * sysdeps/unix/bsd/init-posix.c: Likewise.
9460 * sysdeps/unix/bsd/poll.c: Likewise.
9461 * sysdeps/unix/bsd/ptsname.c: Likewise.
9462 * sysdeps/unix/bsd/seekdir.c: Likewise.
9463 * sysdeps/unix/bsd/setegid.c: Likewise.
9464 * sysdeps/unix/bsd/seteuid.c: Likewise.
9465 * sysdeps/unix/bsd/setgid.c: Likewise.
9466 * sysdeps/unix/bsd/setrgid.c: Likewise.
9467 * sysdeps/unix/bsd/setruid.c: Likewise.
9468 * sysdeps/unix/bsd/setsid.c: Likewise.
9469 * sysdeps/unix/bsd/setuid.c: Likewise.
9470 * sysdeps/unix/bsd/sigaction.c: Likewise.
9471 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9472 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9473 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9474 * sysdeps/unix/bsd/telldir.c: Likewise.
9475 * sysdeps/unix/bsd/times.c: Likewise.
9476 * sysdeps/unix/bsd/usleep.c: Likewise.
9477
9478 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9479 ($(objpfx)libbsd-compat.a): Remove rule.
9480
9481 * include/features.h (__FAVOR_BSD): Do not define.
9482 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9483 features conflicting with POSIX.
9484 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9485 (_BSD_SOURCE): Remove description of not being a subset of other
9486 feature test macros.
9487 * manual/job.texi (getpgrp): Do not document BSD version.
9488 (getpgid): Do not document by reference to BSD getpgrp.
9489 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9490 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9491 * signal/signal.h [__FAVOR_BSD]: Likewise.
9492 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9493 instead of making contents conditional on [__FAVOR_BSD].
9494 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9495
9496 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9497
9498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9499
9500 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9501
9502 [BZ #16314]
9503 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9504 values below 2**-450, not 2**-500.
9505 * math/auto-libm-test-in: Don't allow spurious underflow from
9506 hypot.
9507 * math/auto-libm-test-out: Regenerated.
9508
9509 [BZ #16316]
9510 [BZ #16330]
9511 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9512 values of ha and hb and sort them after adjusting subnormal
9513 arguments.
9514 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9515 Likewise.
9516 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9517 values of ea and eb and sort them after adjusting subnormal
9518 arguments.
9519 * math/auto-libm-test-in: Do not expect some hypot tests of
9520 subnormals to fail. Add more hypot tests.
9521 * math/auto-libm-test-out: Regenerated.
9522
9523 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9524
9525 [BZ #13304]
9526 * sysdeps/sh/s_fma.c: New file.
9527 * sysdeps/sh/s_fmaf.c: New file.
9528 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9529 version.
9530 * sysdeps/sh/Implies: Add sh/soft-fp.
9531
9532 2013-12-16 Roland McGrath <roland@hack.frob.com>
9533
9534 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9535 level of indirection to members `objname', `errstring', `malloced'.
9536 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9537 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9538 it as the __longjmp argument (just pass 1 instead).
9539 (_dl_catch_error): Initialize C with argument pointers and address of
9540 volatile local ERRCODE rather than copying values out of C at return.
9541
9542 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9543
9544 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9545 * math/auto-libm-test-out: Regenerated.
9546 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9547 (hypot_test_data): Likewise.
9548 (pow_test_data): Likewise.
9549 (pow_tonearest_test_data): Likewise.
9550 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9551 mpfr_ff_f.
9552 (func_calc_desc): Add mpfr_ff_f union field.
9553 (FUNC_mpfr_ff_f): New macro.
9554 (test_functions): Add atan2, hypot and pow.
9555 (special_fill_min): New function.
9556 (special_fill_minus_min): Likewise.
9557 (special_fill_min_subnorm): Likewise.
9558 (special_fill_minus_min_subnorm): Likewise.
9559 (special_real_inputs): Add min, -min, min_subnorm and
9560 -min_subnorm.
9561 (calc_generic_results): Handle mpfr_ff_f.
9562 * sysdeps/i386/fpu/libm-test-ulps: Update.
9563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9564
9565 2013-12-16 Will Newton <will.newton@linaro.org>
9566
9567 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9568 (Aligned Memory Blocks): Add documentation for aligned_alloc
9569 and suggest it as an alternative to posix_memalign.
9570 (Hooks for Malloc): Document __memalign_hook is also called
9571 for aligned_alloc. (Summary of Malloc): Add summary for
9572 aligned alloc. Document __memalign_hook is also called
9573 for aligned_alloc.
9574
9575 2013-12-16 Will Newton <will.newton@linaro.org>
9576
9577 * manual/memory.texi (Malloc Examples): Clarify default
9578 alignment documentation. Suggest posix_memalign rather
9579 than memalign or valloc.
9580 (Aligned Memory Blocks): Remove suggestion to use memalign
9581 or valloc. Remove obsolete comment about BSD.
9582 Document memalign errno values and mark the function obsolete.
9583 Document posix_memalign returned error codes. Mark valloc
9584 as obsolete. (Hooks for Malloc): __memalign_hook is also
9585 called for posix_memalign and valloc.
9586 (Summary of Malloc): Add posix_memalign to function summary.
9587 __memalign_hook is also called for posix_memalign and valloc.
9588
9589 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9590
9591 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9592 TAYLOR_SIN.
9593 (__sin): Adjust.
9594 (__cos): Likewise.
9595 (sloww): Use mynumber union. Expand ternary operator into
9596 if-else statements.
9597 (cslow): use mynumber union.
9598
9599 2013-12-16 Allan McRae <allan@archlinux.org>
9600
9601 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9602 * configure: Regenerated.
9603
9604 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9605
9606 [BZ #14120]
9607 * configure.ac: Added --enable-maintainer-mode. Check for
9608 autoconf when enabled.
9609 * configure: Regenerated.
9610
9611 * nscd/nscd.service: New file.
9612 * nscd/nscd.tmpfiles: New file.
9613
9614 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9615
9616 [BZ #12100]
9617 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9618 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9619 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9620 (strstr): Add __strstr_sse2_unaligned ifunc.
9621 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9622 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9623 (strcasestr): Remove __strcasestr_sse42 ifunc.
9624 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9625 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9627
9628 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9629
9630 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9631 * sysdeps/sh/bits/fenv.h: ... here.
9632 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9633
9634 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9635
9636 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9637
9638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9639 hypotf multiarch implementations.
9640 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9641 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9642 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9643 multiarch hypot for PPC64.
9644 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9645 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9646 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9647 multiarch hypotf for PPC64.
9648
9649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9650 modff multiarch implementations.
9651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9654 multiarch modf for PPC64.
9655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9658 multiarch modff for PPC64.
9659
9660 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9661 and logl multiarch implementations.
9662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9665 multiarch logb for PPC64.
9666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9669 multiarch logb for PPC64.
9670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9673 multiarch logb for PPC64.
9674
9675 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9676 isinff multiarch implementation.
9677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9678 file.
9679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9681 multiarch isinf for PPC64.
9682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9683 file.
9684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9685 multiarch isinff for PPC64.
9686
9687 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9688 finitef multiarch implementation.
9689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9690 file.
9691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9693 multiarch finite for PPC64.
9694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9695 file.
9696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9697 multiarch finitef for PPC64.
9698
9699 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9700 lrint multiarch implementation.
9701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9702 file.
9703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9705 multiarch llrint for PPC64.
9706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9707 multiarch lrint for PPC64.
9708
9709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9710 copysignf multiarch implementation.
9711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9712 file.
9713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9714 file.
9715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9716 multiarch copysign for PPC64.
9717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9718 multiarch copysignf for PPC64.
9719
9720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9721 multiarch implementation.
9722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9723 file.
9724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9725 file.
9726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9727 file.
9728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9729 file.
9730 multiarch llround for PPC64.
9731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9732 multiarch trunc for PPC64.
9733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9734 multiarch truncf for PPC64.
9735
9736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9737 multiarch implementation.
9738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9739 file.
9740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9741 file.
9742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9743 file.
9744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9745 file.
9746 multiarch llround for PPC64.
9747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9748 multiarch round for PPC64.
9749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9750 multiarch roundf for PPC64.
9751
9752 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9753 multiarch implementation.
9754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9755 file.
9756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9757 file.
9758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9759 file.
9760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9761 file.
9762 multiarch llround for PPC64.
9763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9764 multiarch floor for PPC64.
9765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9766 multiarch floorf for PPC64.
9767
9768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9769 multiarch implementation.
9770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9771 file.
9772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9773 file.
9774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9775 file.
9776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9777 file.
9778 multiarch llround for PPC64.
9779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9780 multiarch ceil for PPC64.
9781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9782 multiarch ceilf for PPC64.
9783
9784 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9785 multiarch implementation.
9786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9787 file.
9788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9789 file.
9790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9791 file.
9792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9793 multiarch llround for PPC64.
9794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9795 multiarch lround for PPC64.
9796
9797 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9798 multiarch implementation.
9799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9802 file.
9803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9806 multiarch isnan for PPC64.
9807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9808 multiarch isnanf for PPC64.
9809
9810 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9811 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9812 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9813 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9814 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9816
9817 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9818 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9819 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9820 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9821
9822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9823 multiarch implementations.
9824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9825 (__libc_ifunc_impl_list): Likewise.
9826 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9827 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9828 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9829 multiarch stpcpy for PPC64.
9830
9831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9832 multiarch implementations.
9833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9834 (__libc_ifunc_impl_list): Likewise.
9835 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9836 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9837 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9838 multiarch strcpy for PPC64.
9839
9840 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9841 redefine function name.
9842 (_wordcopy_fwd_dest_aligned): Likewise.
9843 (_wordcopy_bwd_aligned): Likewise.
9844 (_wordcopy_bwd_dest_aligned): Likewise.
9845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9846 multiarch implementations.
9847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9848 (__libc_ifunc_impl_list): Likewise.
9849 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9850 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9851 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9852 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9853 multiarch wcscpy for PPC64.
9854
9855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9856 multiarch implementations.
9857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9858 (__libc_ifunc_impl_list): Likewise.
9859 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9860 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9861 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9862 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9863 multiarch wcscpy for PPC64.
9864
9865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9866 multiarch implementations.
9867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9868 (__libc_ifunc_impl_list): Likewise.
9869 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9870 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9871 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9872 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9873 multiarch wcsrchr for PPC64.
9874
9875 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9876 multiarch implementations.
9877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9878 (__libc_ifunc_impl_list): Likewise.
9879 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9880 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9881 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9882 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9883 multiarch wcschr for PPC64.
9884
9885 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9886 multiarch implementations.
9887 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9888 (__libc_ifunc_impl_list): Likewise.
9889 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9890 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9891 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9892 multiarch strchrnul for PPC64.
9893
9894 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9895 implementations.
9896 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9897 (__libc_ifunc_impl_list): Likewise.
9898 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9899 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9900 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9901 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9902 strchr for PPC64.
9903
9904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9905 implementations.
9906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9907 (__libc_ifunc_impl_list): Likewise.
9908 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9909 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9910 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9911 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9912 strncmp for PPC64.
9913
9914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9915 multiarch implementations.
9916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9917 (__libc_ifunc_impl_list): Likewise.
9918 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9919 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9920 strncasecmp for PPC64.
9921 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9922 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9923 multiarch strncasecmp_l for PPC64.
9924
9925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9926 multiarch implementations.
9927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9928 (__libc_ifunc_impl_list): Likewise.
9929 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9930 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9931 multiarch strcasecmp for PPC64.
9932 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9933 file.
9934 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9935 multiarch strcasecmp_l for PPC64.
9936
9937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9938 implementations.
9939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9940 (__libc_ifunc_impl_list): Likewise.
9941 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9942 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9943 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9944 strnlen for PPC64.
9945
9946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9947 implementations.
9948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9949 (__libc_ifunc_impl_list): Likewise.
9950 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9951 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9952 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9953 strlen for PPC64.
9954
9955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9956 implementations.
9957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9958 (__libc_ifunc_impl_list): Likewise.
9959 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9960 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9961 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9962 rawmemrchr for PPC64.
9963
9964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9965 implementation.
9966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9967 (__libc_ifunc_impl_list): Likewise.
9968 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9969 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9970 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9971 memrchr for PPC64.
9972
9973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9974 implementation.
9975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9976 (__libc_ifunc_impl_list): Likewise.
9977 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9978 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9979 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9980 memchr for PPC64.
9981
9982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9983 implementation.
9984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9985 (__libc_ifunc_impl_list): Likewise.
9986 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9987 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9988 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9989 mempcpy for PPC64.
9990
9991 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9992 avoid cretion of __bzero symbol.
9993 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9994 Likewise.
9995 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9996 Likewise.
9997 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9998 Likewise.
9999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10000 multiarch implementations.
10001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10002 (__libc_ifunc_impl_list): Likewise.
10003 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10004 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10005 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10006 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10007 bzero for PPC32.
10008 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10009 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10010 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10011 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10012 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10013 memset for PPC64.
10014 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10015
10016 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10018 implementations.
10019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10020 (__libc_ifunc_impl_list): Likewise.
10021 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10022 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10023 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10024 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10025 memcmp for PPC64.
10026
10027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10028 multiarch for POWER/PPC64.
10029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10030 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10031 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10032 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10033 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10034 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10035 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10036 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10037 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10038 memcpy for PPC64.
10039
10040 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10041 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10042 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10043 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10044 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10045 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10046 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10047 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10048 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10049 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10050 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10051 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10052 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10053 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10054 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10062
10063 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10064
10065 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10066
10067 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10068
10069 * benchtests/Makefile (bench): Add exp2 and log2.
10070 (LDLIBS-bench-exp2): Add -lm.
10071 (LDLIBS-bench-log2): Likewise.
10072 * benchtests/exp2-inputs: New inputs file.
10073 * benchtests/log2-inputs: New inputs file.
10074 * benchtests/log-inputs: Add new inputs.
10075 * benchtests/tan-inputs: Likewise.
10076
10077 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10078
10079 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10080 definition...
10081 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10082 (csloww2): ... from here.
10083
10084 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10085 instead of structures.
10086 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10087 (POLYNOMIAL): Likewise.
10088 (TAYLOR_SLOW): Likewise.
10089 (__sin): Likewise.
10090 (__cos): Likewise.
10091 (slow1): Likewise.
10092 (slow2): Likewise.
10093 (sloww): Likewise.
10094 (sloww1); Likewise.
10095 (sloww2): Likewise.
10096 (bsloww1): Likewise.
10097 (bsloww2): Likewise.
10098 (cslow2): Likewise.
10099 (csloww): Likewise.
10100 (csloww1): Likewise.
10101 (csloww2): Likewise.
10102
10103 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10104
10105 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10106 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10107 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10108 * malloc/hooks.c (realloc_check): Likewise.
10109
10110 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10111 * malloc/arena.c: Remove PER_THREAD conditional.
10112 [!PER_THREAD]: Remove code.
10113 (ptmalloc_unlock_all2): Likewise.
10114 (ptmalloc_init): Likewise.
10115 (_int_new_arena): Likewise.
10116 (arena_get2): Likewise.
10117 * malloc/hooks.c (__malloc_get_state): Likewise.
10118 (__malloc_set_state): Likewise.
10119 * malloc/malloc.c: Likewise.
10120 (struct malloc_state): Likewise.
10121 (struct malloc_par): Likewise.
10122 (__libc_realloc): Likewise.
10123 (__libc_mallopt): Likewise.
10124
10125 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10126
10127 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10128
10129 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10130
10131 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10132 macro to a function. Check for zero perturb_byte.
10133 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10134
10135 * malloc/malloc.c: (force_reg): Remove.
10136 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10137 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10138 force_reg by atomic_forced_read.
10139 * malloc/arena.c (ptmalloc_init): Likewise.
10140 * malloc/hooks.c (top_check): Likewise.
10141
10142 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10143
10144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10145
10146 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10147
10148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10149
10150 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10151
10152 * math/auto-libm-test-in: Add tests of lgamma.
10153 * math/auto-libm-test-out: Regenerated.
10154 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10155 (M_LOG_2_SQRT_PIl): Likewise.
10156 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10157 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10158 mpfr_f_f1.
10159 (func_calc_desc): Add mpfr_f_f1 union field.
10160 (ARGS1): New macro.
10161 (ARGS2): Likewise.
10162 (ARGS3): Likewise.
10163 (ARGS4): Likewise.
10164 (RET1): Likewise.
10165 (RET2): Likewise.
10166 (CALC): Likewise.
10167 (FUNC): Likewise.
10168 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10169 (test_functions): Add lgamma.
10170 (calc_generic_results): Handle mpfr_f_f1.
10171 * sysdeps/i386/fpu/libm-test-ulps: Update.
10172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10173
10174 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10175
10176 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10177 __mpn_add_n for PowerPC64/POWER7.
10178 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10179 __mpn_sub_n for PowerPC64/POWER7.
10180
10181 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10182 __mpn_addmul_1 for PowerPC64.
10183 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10184 __mpn_submul_1 for PowerPC64.
10185 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10186 for PowerPC64.
10187 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10188 for PowerPC64.
10189
10190 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10191
10192 [BZ #15089]
10193 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10194
10195 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10196
10197 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10198
10199 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10200 add multiarch folders.
10201 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10202 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10203 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10204 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10205 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10206 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10207 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10208 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10209 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10210 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10211 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10218
10219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10220 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10222 New file.
10223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10224 New file.
10225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10226 multiarch __ieee754_hypot for PowerPC32.
10227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10228 New file.
10229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10230 New file.
10231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10232 multiarch __ieee754_hypotf for PowerPC32.
10233
10234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10235 long_double_symbol only if __logbl is defined.
10236 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10237 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10238 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10239 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10240 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10241 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10242 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10243 path for implementation.
10244 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10245 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10247 logb, and logbl multiarch implementations for PowerPC32.
10248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10249 file.
10250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10251 file.
10252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10253 multiarch logb for PowerPC32.
10254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10255 file.
10256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10257 file.
10258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10259 multiarch logbf for PowerPC32.
10260 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10262 file.
10263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10264 multiarch logbl implementation for PowerPC32.
10265
10266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10267 and modff multiarch implementations.
10268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10269 New file.
10270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10271 New file.
10272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10273 multiarch modf for PowerPC32.
10274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10275 New file.
10276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10277 New file.
10278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10279 multiarch modff for PowerPC32.
10280
10281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10282 and lrintf multiarch implementations.
10283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10284 New file.
10285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10286 New file.
10287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10288 multiarch lrint for PowerPC32.
10289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10290 file: multiarch lrintf for PowerPC32.
10291
10292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10293 and lroundf multiarch implementations.
10294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10295 New file.
10296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10297 New file.
10298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10299 New file.
10300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10301 multiarch lround for PowerPC32.
10302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10303 file: multiarch lroundf for PowerPC32.
10304
10305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10306 copysign and copysignf multiarch implementations.
10307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10308 New file.
10309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10310 New file.
10311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10312 file: multiarch copysign for PowerPC32.
10313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10314 file: multiarch copysignf for PowerPC32.
10315
10316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10317 and truncf multiarch implementations.
10318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10319 New file.
10320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10321 file.
10322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10323 multiarch trunc for PowerPC32.
10324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10325 New file.
10326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10327 New file.
10328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10329 multiarch truncf for PowerPC32.
10330
10331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10332 and roundf multiarch implementations.
10333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10334 New file.
10335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10336 file.
10337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10338 multiarch round for PowerPC32.
10339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10340 New file.
10341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10342 New file.
10343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10344 multiarch roundf for PowerPC32.
10345
10346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10347 and floorf multiarch implementations.
10348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10349 New file.
10350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10351 file.
10352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10353 multiarch floor for PowerPC32.
10354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10355 New file.
10356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10357 New file.
10358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10359 multiarch floorf for PowerPC32.
10360
10361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10362 and ceilf multiarch implementations.
10363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10364 New file.
10365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10366 file.
10367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10368 multiarch ceil for PowerPC32.
10369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10370 New file.
10371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10372 file.
10373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10374 multiarch ceilf for PowerPC32.
10375
10376 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10377 is defined.
10378 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10379 FINITEF is defined.
10380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10381 and finitef multiarch implementations.
10382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10383 New file.
10384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10385 file.
10386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10387 multiarch finite for PowerPC32.
10388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10389 New file.
10390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10391 file: multiarch finitef for PowerPC32.
10392
10393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10394 and isinff multiarch implementations.
10395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10396 file.
10397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10398 file.
10399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10400 multiarch isinf for PowerPC32.
10401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10402 New file.
10403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10404 multiarch isinff for PowerPC32.
10405
10406 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10407 alias when __isnan is defined.
10408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10409 and isnanf multiarch implementations.
10410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10411 file.
10412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10413 file.
10414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10415 file.
10416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10417 file.
10418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10419 multiarch isnan for PowerPC32.
10420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10421 New file.
10422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10423 New file.
10424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10425 multiarch isnanf for PowerPC32.
10426
10427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10428 and sqrtf multiarch implementations.
10429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10430 file.
10431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10432 file.
10433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10434 multiarch sqrt for PowerPC32.
10435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10436 file.
10437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10438 file.
10439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10440 multiarch sqrtf for PowerPC32.
10441
10442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10443 and llroundf multiarch implementations.
10444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10445 New file.
10446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10447 New file.
10448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10449 New file.
10450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10451 file: multiarch llround for PowerPC32.
10452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10453 file: multiarch llroundf for PowerPC32.
10454
10455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10456 multiarch PowerPC32 fpu implementations.
10457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10458 New file.
10459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10460 New file.
10461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10462 multiarch llrint for PowerPC32.
10463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10464 New file.
10465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10466 New file.
10467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10468 file.
10469
10470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10471
10472 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10473 file.
10474 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10475 file.
10476 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10477 file.
10478 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10479 multiarch wordcopy for PPC32.
10480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10481 wordcopy objects.
10482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10483 (__libc_ifunc_impl_list): Likewise.
10484 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10485 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10486 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10487 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10488 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10489 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10490
10491 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10492 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10493 file.
10494 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10495 file.
10496 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10497 file.
10498 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10499 multiarch wcscpy for PPC32.
10500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10501 multiarch objects.
10502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10503 (__libc_ifunc_impl_list): Likewise.
10504 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10505 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10506 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10507 sysdeps/powerpc/power6/wcscpy.c.
10508
10509 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10510 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10511 file.
10512 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10513 file.
10514 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10515 file.
10516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10517 multiarch wcsrchr for PPC32.
10518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10519 multiarch objects.
10520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10521 (__libc_ifunc_impl_list): Likewise.
10522 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10523 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10524 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10525 sysdeps/powerpc/power6/wcsrchr.c.
10526
10527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10528 file.
10529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10530 file.
10531 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10532 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10533 multiarch wcschr for PPc32.
10534 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10535 multiarch objects.
10536 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10537 (__libc_ifunc_impl_list): Likewise.
10538 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10539 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10540 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10541 sysdeps/powerpc/power6/wcschr.c.
10542
10543 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10544 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10545 file.
10546 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10547 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10548 file: multiarch strchr for PPC32.
10549 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10550 multiarch objects.
10551 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10552 (__libc_ifunc_impl_list): Likewise.
10553
10554 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10555 name.
10556 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10557 file.
10558 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10559 file.
10560 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10561 multiarch strchrnul for PPC32.
10562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10563 multiarch objects.
10564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10565 (__libc_ifunc_impl_list): Likewise.
10566
10567 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10568 file.
10569 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10570 multiarch strncasecmp for PPC32.
10571 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10572 file.
10573 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10574 multiarch strncasecmp_l for PPC32.
10575 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10576 strncasecmp multiarch objects.
10577 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10578 (__libc_ifunc_impl_list): Likewise.
10579
10580 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10581 file.
10582 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10583 multiarch strncasecmp for PPC32.
10584 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10585 New file.
10586 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10587 multiarch strcasecmp_l for PPC32.
10588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10589 multiarch objects.
10590 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10591 (__libc_ifunc_impl_list): Likewise.
10592
10593 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10594 file.
10595 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10596 file.
10597 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10598 multiarch strncmp for PPC32.
10599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10600 multiarch objects.
10601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10602 (__libc_ifunc_impl_list): Likewise.
10603
10604 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10605 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10606 file.
10607 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10608 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10609 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10610 multiarch objects.
10611 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10612 (__libc_ifunc_impl_list): Likewise.
10613
10614 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10615 file.
10616 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10617 file.
10618 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10619 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10620 multiarch objects.
10621 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10622 (__libc_ifunc_impl_list): Likewise.
10623
10624 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10625 file.
10626 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10627 file.
10628 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10629 multiarch rawmemchr for PPC32.
10630 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10631 multiarch objects.
10632 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10633 (__libc_ifunc_impl_list): Likewise.
10634
10635 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10636 file.
10637 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10638 file.
10639 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10640 file: memrchr multiarch for PPC32.
10641 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10642 multiarch objects.
10643 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10644 (__libc_ifunc_impl_list): Likewise.
10645
10646 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10647 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10648 file.
10649 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10650 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10651 multiarch memchr for PPC32.
10652 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10653 multiarch objects.
10654 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10655 (__libc_ifunc_impl_list): Likewise.
10656
10657 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10658 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10659 file.
10660 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10661 file.
10662 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10663 file: multiarch mempcpy for PPC32.
10664 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10665 multiarch objects.
10666 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10667 (__libc_ifunc_impl_list): Likewise.
10668
10669 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10670 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10671 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10672 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10673 multiarch bzero for PPC32.
10674 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10675 file.
10676 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10677 file.
10678 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10679 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10680 file: multiarch memset for PPC32.
10681 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10683 memset multiarch objects.
10684 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10685 (__libc_ifunc_impl_list): Likewise.
10686
10687 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10688 file.
10689 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10690 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10691 memcmp for PPC32.
10692 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10693 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10694 multiarch objects.
10695 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10696 (__libc_ifunc_impl_list): Likewise.
10697
10698 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10699 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10700 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10701 file.
10702 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10703 file.
10704 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10705 file.
10706 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10707 multiarch memcpy for PPC32.
10708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10709 multiarch objects.
10710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10711 (__libc_ifunc_impl_list): Likewise.
10712
10713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10714 support multiarch for POWER/PPC32.
10715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10716 Likewise.
10717 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10719 Implies file to make multiarch folder appers before the fpu and
10720 default folder for power4 configuration.
10721
10722 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10723
10724 * scripts/bench.pl: Append volatile keyword to type.
10725
10726 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10727
10728 * sysdeps/sh/sotruss-lib.c: New file.
10729 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10730
10731 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10732
10733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10734
10735 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10736
10737 [BZ #6810]
10738 * math/w_tgamma.c: Include <errno.h>.
10739 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10740 * math/w_tgammaf.c: Include <errno.h>.
10741 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10742 * math/w_tgammal.c: Include <errno.h>.
10743 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10744 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10745 underflow. Add more tgamma tests.
10746 * math/auto-libm-test-out: Regenerated.
10747 * sysdeps/i386/fpu/libm-test-ulps: Update.
10748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10749
10750 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10751 sin, sinh, tan, tanh, tgamma, y0 and y1.
10752 * math/auto-libm-test-out: Regenerated.
10753 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10754 (TEST_COND_x86): Likewise.
10755 (M_E2l): Remove macro.
10756 (M_E3l): Likewise.
10757 (M_2_SQRT_PIl): Likewise.
10758 (M_SQRT_PIl): Likewise.
10759 (M_1_DIV_El): Likewise.
10760 (log_test_data): Use AUTO_TESTS_f_f.
10761 (log10_test_data): Likewise.
10762 (log1p_test_data): Likewise.
10763 (log2_test_data): Likewise.
10764 (sin_test_data): Likewise.
10765 (sin_tonearest_test_data): Likewise.
10766 (sin_towardzero_test_data): Likewise.
10767 (sin_downward_test_data): Likewise.
10768 (sin_upward_test_data): Likewise.
10769 (sinh_test_data): Likewise.
10770 (sinh_tonearest_test_data): Likewise.
10771 (sinh_towardzero_test_data): Likewise.
10772 (sinh_downward_test_data): Likewise.
10773 (sinh_upward_test_data): Likewise.
10774 (tan_test_data): Likewise.
10775 (tan_tonearest_test_data): Likewise.
10776 (tan_towardzero_test_data): Likewise.
10777 (tan_downward_test_data): Likewise.
10778 (tan_upward_test_data): Likewise.
10779 (tanh_test_data): Likewise.
10780 (tgamma_test_data): Likewise.
10781 (y0_test_data): Likewise.
10782 (y1_test_data): Likewise.
10783 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10784 (special_real_inputs): Add pi/4.
10785 * sysdeps/i386/fpu/libm-test-ulps: Update.
10786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10787
10788 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10789
10790 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10791 "longjmp_target" static probes.
10792 (__longjmp): Rename to __longjmp_symbol.
10793 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10794 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10795 on which longjmp to generate.
10796 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10797 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10798 probe.
10799 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10800 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10801 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10802 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10803 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10804 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10806 __longjmp_symbol based on which __longjmp to generate.
10807 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10808 probe.
10809 (setjmp): Rename to setjmp_symbol.
10810 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10811 (_setjmp): Rename to _setjmp_symbol.
10812 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10813 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10814 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10815 which setjmp to generate.
10816 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10817 "longjmp_target" static probes.
10818
10819 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10820
10821 * benchtests/README: Add note about output arguments.
10822 * benchtests/bench-sincos.c: Remove file.
10823 * benchtests/sincos-inputs: New file.
10824 * scripts/bench.pl: Identify output arguments and define
10825 static variables for them.
10826
10827 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10828
10829 [BZ #15941]
10830 * Makefile (INSTALL): Add install-plain.texi as the primary
10831 dependency.
10832 * manual/install-plain.texi: New file.
10833 * manual/install.texi: Include node directive only for
10834 non-plaintext output.
10835
10836 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10837
10838 * stdlib/longlong.h: Update from GCC.
10839
10840 [BZ #6807]
10841 [BZ #15901]
10842 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10843 * math/w_j0f.c (y0f): Likewise.
10844 * math/w_j0l.c (__y0l): Likewise.
10845 * math/w_j1.c (y1): Likewise.
10846 * math/w_j1f.c (y1f): Likewise.
10847 * math/w_j1l.c (__y1l): Likewise
10848 * math/w_jn.c (yn): Likewise.
10849 * math/w_jnf.c (ynf): Likewise.
10850 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10851 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10852 value for Bessel function domain errors outside _SVID_ mode.
10853 Adjust sign of return value for yn (negative integer, 0).
10854 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10855 by zero in return for negative x and set sign appropriately for
10856 negative n.
10857 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10858 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10859 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10860 expectations in error cases.
10861 (y1_test_data): Likewise.
10862 (yn_test_data): Likewise.
10863 * sysdeps/i386/fpu/libm-test-ulps: Update.
10864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10865
10866 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10867
10868 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10869 "64" to "64-v1". Add "64-v2".
10870 (abi-64-options): Rename to ...
10871 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10872 (abi-64-condition): Rename to ...
10873 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10874 (abi-64-ld-soname): Rename to ...
10875 (abi-64-v1-ld-soname): ... this.
10876 (abi-64-v2-options): Define.
10877 (abi-64-v2-condition): Likewise.
10878 (abi-64-v2-ld-soname): Likewise.
10879 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10880 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10884
10885 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10886 Alan Modra <amodra@gmail.com>
10887
10888 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10889 New versions for use with the ELFv2 ABI.
10890 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10891 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10892 declaration.
10893 (struct La_ppc64v2_retval): Likewise.
10894 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10895 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10896 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10897 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10898 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10899 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10900 Do not save or restore CR.
10901 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10902 (_dl_profile_resolve): Do no save or restore CR. Support extended
10903 return values for ELFv2 ABI. Fix location of FPR return registers.
10904 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10905 updated values for _CALL_ELF == 2.
10906 (La_regs, La_retval, int_retval): Likewise.
10907
10908 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10909
10910 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10911 (FRAME_MIN_SIZE_PARM): Likewise.
10912 (FRAME_BACKCHAIN): Likewise.
10913 (FRAME_CR_SAVE): Likewise.
10914 (FRAME_LR_SAVE): Likewise.
10915 (FRAME_TOC_SAVE): Likewise.
10916 (FRAME_PARM_SAVE): Likewise.
10917 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10918 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10919 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10920 (call_mcount_parm_offset): New macro.
10921 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10922 (PROF): Use symbolic stack frame offsets.
10923 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10924 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10925 Redefine in terms of FRAME_MIN_SIZE.
10926 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10927 (_dl_profile_resolve): Likewise. Update comment.
10928 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10929 symbols stack frame offsets.
10930 (__sigsetjmp): Likewise.
10931 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10932 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10933 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10934 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10935
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10937 (FRAME_BACKCHAIN): Remove.
10938 (FRAME_CR_SAVE): Likewise.
10939 (FRAME_LR_SAVE): Likewise.
10940 (FRAME_COMPILER_DW): Likewise.
10941 (FRAME_LINKER_DW): Likewise.
10942 (FRAME_TOC_SAVE): Likewise.
10943 (FRAME_PARM_SAVE): Likewise.
10944 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10945 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10946 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10948 (CHECK_SP): Use symbolic stack frame offsets.
10949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10950 zone" instead of caller's parameter save area for temp storage.
10951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10952 Likewise. Also, use symbolic stack frame offsets.
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10954 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10955 our own stack frame instead of the caller's.
10956 (__socket): Use symbolic stack frame offsets.
10957
10958 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10959 Alan Modra <amodra@gmail.com>
10960
10961 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10962 Define.
10963 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10964 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10965 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10966 New function.
10967 (elf_machine_fixup_plt): Call it.
10968 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10969 reloc arguments.
10970 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10971 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10972 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10973 r2 before calling target.
10974
10975 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10976 Alan Modra <amodra@gmail.com>
10977
10978 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10979 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10980 versions of macros to support ELFv2 ABI.
10981 (LOCALENTRY): New macro.
10982 (ENTRY, EALIGN): Use it.
10983 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10984 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10985 fall through into ENTRY entry point.
10986 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10987 Only define if _CALL_ELF != 2.
10988
10989 (elf_machine_matches_host): Verify ABI version matches.
10990 (RTLD_START): Use LOCALENTRY.
10991 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10992 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10993 (PLT_ENTRY_WORDS): New macro.
10994 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10995 (elf_machine_runtime_setup): Support ELFv2 ABI.
10996 (elf_machine_fixup_plt): Likewise.
10997 (elf_machine_plt_conflict): Likewise.
10998 (resolve_ifunc): Likewise.
10999 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11000 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11001 Likewise.
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11003 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11005 (makecontext): Support ELFv2 ABI.
11006 * elf/elf.h (EF_PPC64_ABI): Define.
11007
11008 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11009
11010 * sysdeps/powerpc/powerpc64/sysdep.h
11011 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11012 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11013 (ENTRY) [ASSEMBLER]: ... but instead here ...
11014 (EALIGN) [ASSEMBLER]: ... and here.
11015 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11016 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11017 (ENTRY_2) [!ASSEMBLER]: Use it.
11018 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11019 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11020 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11021 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11022 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11024 Use PPC64_LOAD_FUNCPTR.
11025
11026 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11027
11028 2013-12-04 Alan Modra <amodra@gmail.com>
11029
11030 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11031 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11032 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11033 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11034
11035 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11036 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11037 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11038 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11039 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11040 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11041
11042 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11043
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11045 (__makecontext): Fix incorrect CFI when backtracing out of
11046 context created via makecontext.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11048 (__setcontext): Fix incorrect CFI during switch to new context.
11049 (__novec_setcontext): Likewise.
11050
11051 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11052
11053 [BZ #4772]
11054 * time/strptime_l.c (__strptime_internal): Allow modifiers
11055 in strptime.
11056 * time/tst-strptime.c (day_tests): Add testcase.
11057
11058 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11059
11060 * scripts/bench.pl: Skip over blank lines.
11061
11062 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11063
11064 [BZ #926]
11065 * manual/time.texi (Calendar Time): Clarify what timezone functions
11066 use.
11067
11068 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11069
11070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11071
11072 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11073
11074 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11075 implementation.
11076 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11077 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11078 * debug/memset_chk.c (__memset_chk): Likewise.
11079 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11080 * debug/strncpy_chk.c: Likewise.
11081
11082 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11083
11084 [BZ #15268]
11085 [BZ #15425]
11086 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11087 (__ieee754_exp): For possibly underflowing results, check size of
11088 result and force underflow exception if required.
11089 * math/auto-libm-test-in: Add more tests of exp.
11090 * math/auto-libm-test-out: Regenerated.
11091 * sysdeps/i386/fpu/libm-test-ulps: Update.
11092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11093
11094 [BZ #16283]
11095 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11096 * math/w_exp2f.c (__exp2f): Likewise.
11097 * math/w_exp2l.c (__exp2l): Likewise.
11098 * math/auto-libm-test-in: Do not allow missing errno on exp2
11099 underflow.
11100 * math/auto-libm-test-out: Regenerated.
11101
11102 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11103
11104 [BZ #16274]
11105 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11106 handle filename validation.
11107 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11108 (do_open): Delete.
11109
11110 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11111
11112 [BZ #6786]
11113 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11114 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11115 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11116 <float.h>.
11117 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11118 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11119 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11120 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11121 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11122 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11123 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11124 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11125 Add more erfc tests.
11126 * math/auto-libm-test-out: Regenerated.
11127 * sysdeps/i386/fpu/libm-test-ulps: Update.
11128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11129
11130 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11131 exp2, expm1, j0 and j1.
11132 * math/auto-libm-test-out: Regenerated.
11133 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11134 (erfc_test_data): Likewise.
11135 (exp_test_data): Likewise.
11136 (exp_tonearest_test_data): Likewise.
11137 (exp_towardzero_test_data): Likewise.
11138 (exp_downward_test_data): Likewise.
11139 (exp_upward_test_data): Likewise.
11140 (exp10_test_data): Likewise.
11141 (exp2_test_data): Likewise.
11142 (expm1_test_data): Likewise.
11143 (j0_test_data): Likewise.
11144 (j1_test_data): Likewise.
11145 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11146 (input_flag_type): Add flag_xfail_rounding.
11147 (input_flags): Add xfail-rounding.
11148 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11149 (output_for_one_input_case): Handle flag_xfail_rounding.
11150 * sysdeps/i386/fpu/libm-test-ulps: Update.
11151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11152
11153 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11154
11155 [BZ #16289]
11156 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11157 division by 0.
11158
11159 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11160
11161 [BZ #16195]
11162 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11163 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11164 (STAP_PROBE0): New macro.
11165 (STAP_PROBE1): Likewise.
11166 (STAP_PROBE2): Likewise.
11167 (STAP_PROBE3): Likewise.
11168 (STAP_PROBE4): Likewise.
11169
11170 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11171
11172 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11173
11174 2013-12-02 Steve Ellcey <sellcey@mips.com>
11175
11176 * benchtests/Makefile (bench): Add sqrt.
11177 (LDLIBS-bench-sqrt): New.
11178 * benchtests/sqrt-input: New.
11179
11180 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11181
11182 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11183 (GAIH_EAI): Likewise.
11184 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11185 (gaih_inet): Likewise.
11186 (getaddrinfo): Don't use GAIH_EAI.
11187
11188 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11189 (struct gaih): Remove definition.
11190
11191 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11192
11193 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11194 Use HERRNOP directly.
11195
11196 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11197
11198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11199
11200 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11201
11202 * math/gen-auto-libm-tests.c (test_functions): Add more
11203 single-argument functions.
11204 (special_fill_pi_2): New function.
11205 (special_fill_minus_pi_2): Likewise.
11206 (special_fill_pi_6): Likewise.
11207 (special_fill_minus_pi_6): Likewise.
11208 (special_fill_pi_3): Likewise.
11209 (special_fill_2pi_3): Likewise.
11210 (special_fill_e): Likewise.
11211 (special_fill_1_e): Likewise.
11212 (special_fill_e_minus_1): Likewise.
11213 (special_real_inputs): Add more special inputs.
11214 (output_for_one_input_case): Do not require ERANGE on underflow to
11215 zero if round-to-nearest result does not underflow to zero, unless
11216 exact results required.
11217 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11218 atan, atanh, cbrt, cos and cosh.
11219 * math/auto-libm-test-out: Regenerated.
11220 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11221 (acos_tonearest_test_data): Likewise.
11222 (acos_towardzero_test_data): Likewise.
11223 (acos_downward_test_data): Likewise.
11224 (acos_upward_test_data): Likewise.
11225 (acosh_test_data): Likewise.
11226 (asin_test_data): Likewise.
11227 (asin_tonearest_test_data): Likewise.
11228 (asin_towardzero_test_data): Likewise.
11229 (asin_upward_test_data): Likewise.
11230 (asinh_test_data): Likewise.
11231 (atan_test_data): Likewise.
11232 (atanh_test_data): Likewise.
11233 (cbrt_test_data): Likewise.
11234 (cos_test_data): Likewise.
11235 (cos_tonearest_test_data): Likewise.
11236 (cos_towardzero_test_data): Likewise.
11237 (cos_downward_test_data): Likewise.
11238 (cos_upward_test_data): Likewise.
11239 (cosh_test_data): Likewise.
11240 (cosh_tonearest_test_data): Likewise.
11241 (cosh_towardzero_test_data): Likewise.
11242 (cosh_downward_test_data): Likewise.
11243 (cosh_upward_test_data): Likewise.
11244 * sysdeps/i386/fpu/libm-test-ulps: Update.
11245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11246
11247 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11248
11249 [BZ #6787]
11250 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11251 * math/w_exp10f.c (__exp10f): Likewise.
11252 * math/w_exp10l.c (__exp10l): Likewise.
11253 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11254 errno settings in existing tests.
11255
11256 [BZ #14032]
11257 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11258 precision control set to double precision.
11259 * sysdeps/i386/fpu/w_sqrt.c: New file.
11260 * math/auto-libm-test-in: Add more tests.
11261 * math/auto-libm-test-out: Update.
11262
11263 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11264 (sqrt_test_tonearest): New function.
11265 (sqrt_towardzero_test_data): New variable.
11266 (sqrt_test_towardzero): New function.
11267 (sqrt_downward_test_data): New variable.
11268 (sqrt_test_downward): New function.
11269 (sqrt_upward_test_data): New variable.
11270 (sqrt_test_upward): New function.
11271 (main): Call the new functions.
11272
11273 * math/gen-auto-libm-tests.c: New file.
11274 * math/auto-libm-test-in: Likewise.
11275 * math/auto-libm-test-out: New generated file.
11276 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11277 variables.
11278 (%beautify): Add generated representations of zero.
11279 (top level): Set $auto_input and call parse_auto_input.
11280 (beautify): Remove trailing "f" from hex float constants.
11281 (parse_args): Handle XFAIL_TEST.
11282 (convert_condition): New function.
11283 (or_value): Likewise.
11284 (or_cond_value): Likewise.
11285 (generate_testfile): Handle AUTO_TESTS_* lines.
11286 (parse_auto_input): New function.
11287 * math/libm-test.inc (XFAIL_TEST): New macro.
11288 (ERRNO_UNCHANGED): Update value.
11289 (ERRNO_EDOM): Likewise.
11290 (ERRNO_ERANGE): Likewise.
11291 (IGNORE_RESULT): Likewise.
11292 (TEST_COND_flt_32): New macro.
11293 (TEST_COND_dbl_64): Likewise.
11294 (TEST_COND_ldbl_96_intel): Likewise.
11295 (TEST_COND_ldbl_96_m68k): Likewise.
11296 (TEST_COND_ldbl_128): Likewise.
11297 (TEST_COND_ldbl_128ibm): Likewise.
11298 (TEST_COND_long32): Likewise.
11299 (TEST_COND_long64): Likewise.
11300 (TEST_COND_before_rounding): Likewise.
11301 (TEST_COND_after_rounding): Likewise.
11302 (enable_test): Handle XFAIL_TEST flag.
11303 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11304 with finite results.
11305 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11306 auto-libm-test-out.
11307
11308 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11309 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11310
11311 [BZ #16214]
11312 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11313 __tls_get_addr_internal instead of __tls_get_offset in order to
11314 avoid GOT pointer dependency. Make rtld export
11315 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11316 __tls_get_addr since we are a __tls_get_offset platform.
11317 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11318 GOT pointer being set up before.
11319 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11320
11321 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11322
11323 * manual/math.texi (Errors in Math Functions): Document accuracy
11324 goals.
11325
11326 [BZ #15004]
11327 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11328 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11329 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11331 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11332 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11333 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11342 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11343
11344 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11345 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11346 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11347 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11348 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11349 Likewise.
11350 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11351 Likewise.
11352 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11353 Likewise.
11354 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11355 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11356 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11357 atomic-feupdateenv and flt-rounds.
11358 * sysdeps/powerpc/nofpu/Versions (libc): Add
11359 __atomic_feholdexcept, __atomic_feclearexcept,
11360 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11361 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11362 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11363 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11364 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11365 here.
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11367 Update.
11368
11369 * manual/arith.texi (FP Exceptions): Document that exceptions may
11370 not be raised when matherr is used.
11371 (Math Error Reporting): Document overflow in directed rounding
11372 modes. Document that errno may not be set when finite values are
11373 returned on overflow. Document intent to set errno on underflow
11374 only for underflow to zero.
11375
11376 [BZ #16271]
11377 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11378 round-to-nearest then adjust result for other rounding modes.
11379 * include/fenv.h (fegetround): Use libm_hidden_proto.
11380 * math/fegetround.c (fegetround): Use libm_hidden_def.
11381 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11382 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11383 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11384 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11385 Likewise.
11386 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11387 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11388 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11389 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11390
11391 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11392
11393 [BZ #16077]
11394 * nss/Versions (libnss_files): Add
11395 _nss_files_gethostbyname3_r.
11396 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11397 New function.
11398 (HOST_DB_LOOKUP): Remove macro.
11399 (_nss_files_gethostbyname_r): Implement function without the
11400 HOST_DB_LOOKUP macro.
11401 (_nss_files_gethostbyname2_r): Likewise.
11402
11403 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11404
11405 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11406
11407 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11408
11409 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11410 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11411 warning.
11412
11413 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11414
11415 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11416 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11417 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11418 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11419 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11420 __fe_nomask_env_priv and attribute_hidden.
11421 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11422 (libc_feupdateenv_test_ppc): Likewise.
11423 (libc_feresetround_ppc): Likewise.
11424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11425 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11426 compat_symbol macro.
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11428 (__fe_nomask_env): Likewise.
11429 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11430
11431 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11432
11433 * string/Makefile: Remove ifunc tests.
11434 * string/test-string.h: Define TEST_IFUNC.
11435 * string/test-bcopy-ifunc.c: Remove.
11436 * string/test-bzero-ifunc.c: Likewise.
11437 * string/test-memccpy-ifunc.c: Likewise.
11438 * string/test-memchr-ifunc.c: Likewise.
11439 * string/test-memcmp-ifunc.c: Likewise.
11440 * string/test-memcpy-ifunc.c: Likewise.
11441 * string/test-memmem-ifunc.c: Likewise.
11442 * string/test-memmove-ifunc.c: Likewise.
11443 * string/test-mempcpy-ifunc.c: Likewise.
11444 * string/test-memrchr-ifunc.c: Likewise.
11445 * string/test-memset-ifunc.c: Likewise.
11446 * string/test-rawmemchr-ifunc.c: Likewise.
11447 * string/test-stpcpy-ifunc.c: Likewise.
11448 * string/test-stpncpy-ifunc.c: Likewise.
11449 * string/test-strcasecmp-ifunc.c: Likewise.
11450 * string/test-strcasestr-ifunc.c: Likewise.
11451 * string/test-strcat-ifunc.c: Likewise.
11452 * string/test-strchr-ifunc.c: Likewise.
11453 * string/test-strchrnul-ifunc.c: Likewise.
11454 * string/test-strcmp-ifunc.c: Likewise.
11455 * string/test-strcpy-ifunc.c: Likewise.
11456 * string/test-strcspn-ifunc.c: Likewise.
11457 * string/test-strlen-ifunc.c: Likewise.
11458 * string/test-strncasecmp-ifunc.c: Likewise.
11459 * string/test-strncat-ifunc.c: Likewise.
11460 * string/test-strncmp-ifunc.c: Likewise.
11461 * string/test-strncpy-ifunc.c: Likewise.
11462 * string/test-strnlen-ifunc.c: Likewise.
11463 * string/test-strpbrk-ifunc.c: Likewise.
11464 * string/test-strrchr-ifunc.c: Likewise.
11465 * string/test-strspn-ifunc.c: Likewise.
11466 * string/test-strstr-ifunc.c: Likewise.
11467
11468 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11469
11470 * benchtests/Makefile: Remove ifunc tests.
11471 * benchtests/bench-string.h: Define TEST_IFUNC.
11472 * benchtests/bench-bcopy-ifunc.c: Remove.
11473 * benchtests/bench-bzero-ifunc.c: Likewise.
11474 * benchtests/bench-memccpy-ifunc.c: Likewise.
11475 * benchtests/bench-memchr-ifunc.c: Likewise.
11476 * benchtests/bench-memcmp-ifunc.c: Likewise.
11477 * benchtests/bench-memcpy-ifunc.c: Likewise.
11478 * benchtests/bench-memmem-ifunc.c: Likewise.
11479 * benchtests/bench-memmove-ifunc.c: Likewise.
11480 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11481 * benchtests/bench-memrchr-ifunc.c: Likewise.
11482 * benchtests/bench-memset-ifunc.c: Likewise.
11483 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11484 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11485 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11486 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11487 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11488 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11489 * benchtests/bench-strcat-ifunc.c: Likewise.
11490 * benchtests/bench-strchr-ifunc.c: Likewise.
11491 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11492 * benchtests/bench-strcmp-ifunc.c: Likewise.
11493 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11494 * benchtests/bench-strcpy-ifunc.c: Likewise.
11495 * benchtests/bench-strcspn-ifunc.c: Likewise.
11496 * benchtests/bench-strlen-ifunc.c: Likewise.
11497 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11498 * benchtests/bench-strncat-ifunc.c: Likewise.
11499 * benchtests/bench-strncmp-ifunc.c: Likewise.
11500 * benchtests/bench-strncpy-ifunc.c: Likewise.
11501 * benchtests/bench-strnlen-ifunc.c: Likewise.
11502 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11503 * benchtests/bench-strrchr-ifunc.c: Likewise.
11504 * benchtests/bench-strsep-ifunc.c: Likewise.
11505 * benchtests/bench-strspn-ifunc.c: Likewise.
11506 * benchtests/bench-strstr-ifunc.c: Likewise.
11507
11508 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11509
11510 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11511
11512 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11513
11514 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11515 * rt/aio.h: Likewise.
11516 * sysdeps/gnu/bits/utmp.h: Likewise.
11517 * sysdeps/gnu/bits/utmpx.h: Likewise.
11518 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11519 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11520 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11521 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11522 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11523 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11524 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11525 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11526 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11527 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11529 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11530 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11532 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11533 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11534 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11535 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11536 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11537 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11538 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11539 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11540 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11541 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11542 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11544 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11545 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11546 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11547 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11548 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11549 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11550 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11551 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11552 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11553 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11554 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11555 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11556 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11557 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11558 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11559 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11560
11561 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11562
11563 [BZ #16245]
11564 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11565 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11566
11567 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11568
11569 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11570 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11571 Likewise.
11572
11573 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11574
11575 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11576 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11577 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11578 (__fesetround): Remove define.
11579 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11580 rounding and exceptions handling.
11581 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11582 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11583 (__fe_nomask_env): Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11585 __fegetround instead of fegetround.
11586 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11587 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11588
11589 2013-11-21 Roland McGrath <roland@hack.frob.com>
11590
11591 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11592 it's there.
11593
11594 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11595
11596 2013-11-21 Meador Inge <meadori@codesourcery.com>
11597
11598 [BZ #11157]
11599 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11600 (encrypt_r): Likewise.
11601 * malloc/obstack.h (obstack_free): Likewise.
11602 * posix/unistd.h (encrypt): Likewise.
11603
11604 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11605
11606 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11607 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11608 DL_CALL_DT_FINI() that call the functions directly.
11609 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11610 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11611 * elf/dl-fini.c: Likewise.
11612
11613 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11614
11615 * malloc/hooks.c (memalign_check): Add alignment rounding.
11616 * malloc/malloc.c (_mid_memalign): New function.
11617 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11618 Implement by calling _mid_memalign.
11619 * manual/probes.texi (Memory Allocation Probes): Remove
11620 memory_valloc_retry and memory_pvalloc_retry.
11621
11622 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11623
11624 * locale/programs/locarchive.c (open_archive): Add const
11625 qualifier to ARCHIVEFNAME and copy default fname to
11626 DEFAULT_FNAME.
11627
11628 [BZ #15601]
11629 * libio/tst-widetext.input: Rename Oriya to Odia.
11630 * locale/iso-639.def: Likewise.
11631
11632 * manual/probes.texi (Mathematical Function Probes): Add
11633 documentation for sin, cos, asin and acos probes.
11634 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11635 (__sin32): Add slowasin probe.
11636 (__cos32): Add slowacos probe.
11637 (__mpsin): Add slowsin probe.
11638 (__mpcos): Add slowcos probe.
11639
11640 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11641
11642 [BZ #15483]
11643 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11644 thread-local __sim_exceptions_thread and global
11645 __sim_exceptions_global.
11646 (__sim_disabled_exceptions): Change to thread-local
11647 __sim_disabled_exceptions_thread and global
11648 __sim_disabled_exceptions_global.
11649 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11650 and global __sim_round_mode_global.
11651 (__simulate_exceptions): Use thread-local floating-point state and
11652 set global state from it as needed.
11653 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11654 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11655 __sim_round_mode_thread.
11656 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11657 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11658 and global __sim_exceptions_global.
11659 (__sim_disabled_exceptions): Change to thread-local
11660 __sim_disabled_exceptions_thread and global
11661 __sim_disabled_exceptions_global.
11662 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11663 and global __sim_round_mode_global.
11664 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11665 (SIM_SET_GLOBAL): Likewise.
11666 * sysdeps/powerpc/soft-fp/sfp-machine.h
11667 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11668 __sim_round_mode_thread.
11669 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11670 __sim_disabled_exceptions_thread.
11671 (__sim_exceptions): Change to __sim_exceptions_thread.
11672 (__sim_disabled_exceptions): Change to
11673 __sim_disabled_exceptions_thread.
11674 (__sim_round_mode): Change to __sim_round_mode_thread.
11675 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11676 thread-local floating-point state and set global state from it as
11677 needed.
11678 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11679 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11680 (__sim_disabled_exceptions): Remove extern declaration.
11681 (feenableexcept): Use thread-local floating-point state and set
11682 global state from it as needed.
11683 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11684 extern declaration.
11685 (__sim_disabled_exceptions): Likewise.
11686 (__sim_round_mode): Likewise.
11687 (__fegetenv): Use thread-local floating-point state.
11688 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11689 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11690 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11691 floating-point state and set global state from it as needed.
11692 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11693 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11694 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11695 Likewise.
11696 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11697 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11698 Likewise.
11699 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11700 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11701 Use __sim_round_mode_thread.
11702 * math/test-fenv-tls.c: New file.
11703 * math/Makefile (tests): Add test-fenv-tls.
11704 ($(objpfx)test-fenv-tls): Depend on
11705 $(common-objpfx)nptl/libpthread.so.
11706
11707 2013-11-19 Andreas Schwab <schwab@suse.de>
11708
11709 * locale/programs/locale.c (show_info): Decode wordarray elements.
11710 * locale/categories.def (LC_MONETARY): Add element for
11711 _NL_MONETARY_CRNCYSTR.
11712 * locale/C-monetary.c (conversion_rate): New variable.
11713 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11714 element.
11715
11716 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11717
11718 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11719 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11720
11721 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11722
11723 * elf/Makefile (tst-auxv): New test.
11724 * elf/tst-auxv.c: New
11725 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11726
11727 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11728
11729 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11730 (hidden_proto): Caller changed.
11731 (hidden_tls_proto): New macro.
11732 (libc_hidden_tls_proto): Likewise.
11733 (rtld_hidden_tls_proto): Likewise.
11734 (libm_hidden_tls_proto): Likewise.
11735 (libresolv_hidden_tls_proto): Likewise.
11736 (librt_hidden_tls_proto): Likewise.
11737 (libdl_hidden_tls_proto): Likewise.
11738 (libnss_files_hidden_tls_proto): Likewise.
11739 (libnsl_hidden_tls_proto): Likewise.
11740 (libnss_nisplus_hidden_tls_proto): Likewise.
11741 (libutil_hidden_tls_proto): Likewise.
11742
11743 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11744
11745 [BZ #10253]
11746 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11747 (decompose_rpath): Defer expansion to fillin_rpath.
11748 (_dl_init_paths): Pass linkmap to fillin_rpath.
11749
11750 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11751
11752 * benchtests/Makefile: Add strsep.
11753 * benchtests/bench-strsep.c: New file: strsep benchtest.
11754 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11755
11756 2013-11-18 Andreas Schwab <schwab@suse.de>
11757
11758 * locale/programs/locale.c (show_info) [case byte]: Check for
11759 '\377' instead of '\177'.
11760 * locale/C-monetary.c (not_available): Always use "\377".
11761 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11762 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11763 detect unavailable sign_posn locale elements.
11764 * locale/localeconv.c (__localeconv): For grouping and
11765 mon_grouping handle "\177" and "\377" like no grouping.
11766 (INT_ELEM): New macro. Use it to set all numeric members.
11767 * locale/programs/ld-monetary.c (monetary_read)
11768 <tok_mon_grouping>: Normalize single -1 to the empty string.
11769 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11770 Likewise.
11771
11772 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11773
11774 [BZ #16055]
11775 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11776 when we match (nil).
11777 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11778
11779 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11780
11781 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11782 (NO_TEST_INLINE): Update value.
11783 (ERRNO_UNCHANGED): Likewise.
11784 (ERRNO_EDOM): Likewise.
11785 (ERRNO_ERANGE): Likewise.
11786 (IGNORE_RESULT): Likewise.
11787 (check_float_internal): Check signs of NaN results if
11788 TEST_NAN_SIGN used.
11789 (check_complex): Pass TEST_NAN_SIGN flag through to second
11790 check_float_internal call.
11791 (copysign_test_data): Add tests with quiet NaNs as second
11792 argument. Use TEST_NAN_SIGN.
11793 (fabs_test_data): Add test of negative quiet NaN argument. Use
11794 TEST_NAN_SIGN.
11795 (signbit_test_data): Add tests of quiet NaN argument.
11796 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11797
11798 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11799 $ignore_result.
11800 (parse_args): Handle function results specified as IGNORE.
11801 * math/libm-test.inc (IGNORE_RESULT): New macro.
11802 (check_float_internal): Do not check numerical result if flag
11803 IGNORE_RESULT set.
11804 (check_complex): Pass through IGNORE_RESULT to second
11805 check_float_internal call.
11806 (check_int): Do not check numerical result if flag IGNORE_RESULT
11807 set.
11808 (check_long): Likewise.
11809 (check_bool): Likewise.
11810 (check_longlong): Likewise.
11811 (lrint_test_data): Add tests of infinite and NaN arguments.
11812 (lrint_tonearest_test_data): Likewise.
11813 (lrint_towardzero_test_data): Likewise.
11814 (lrint_downward_test_data): Likewise.
11815 (lrint_upward_test_data): Likewise.
11816 (llrint_test_data): Likewise.
11817 (llrint_tonearest_test_data): Likewise.
11818 (llrint_towardzero_test_data): Likewise.
11819 (llrint_downward_test_data): Likewise.
11820 (llrint_upward_test_data): Likewise.
11821 (lround_test_data): Likewise.
11822 (llround_test_data): Likewise.
11823
11824 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11825 (ERRNO_UNCHANGED): Update value.
11826 (ERRNO_EDOM): Likewise.
11827 (ERRNO_ERANGE): Likewise.
11828 (NO_TEST_INLINE_FLOAT): New macro.
11829 (NO_TEST_INLINE_DOUBLE): Likewise.
11830 (enable_test): New function.
11831 (RUN_TEST_f_f): Check enable_test before running test.
11832 (RUN_TEST_2_f): Likewise.
11833 (RUN_TEST_fff_f): Likewise.
11834 (RUN_TEST_c_f): Likewise.
11835 (RUN_TEST_f_f1): Likewise.
11836 (RUN_TEST_fF_f1): Likewise.
11837 (RUN_TEST_fI_f1): Likewise.
11838 (RUN_TEST_ffI_f1): Likewise.
11839 (RUN_TEST_c_c): Likewise.
11840 (RUN_TEST_cc_c): Likewise.
11841 (RUN_TEST_f_i): Likewise.
11842 (RUN_TEST_f_i_tg): Likewise.
11843 (RUN_TEST_ff_i_tg): Likewise.
11844 (RUN_TEST_f_b): Likewise.
11845 (RUN_TEST_f_b_tg): Likewise.
11846 (RUN_TEST_f_l): Likewise.
11847 (RUN_TEST_f_L): Likewise.
11848 (RUN_TEST_fFF_11): Likewise.
11849 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11850 conditionals.
11851 (cosh_test_data): Likewise.
11852 (exp_test_data): Likewise.
11853 (expm1_test_data): Likewise.
11854 (hypot_test_data): Likewise.
11855 (pow_test_data): Likewise.
11856 (sinh_test_data): Likewise.
11857 (tanh_test_data): Likewise.
11858 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11859 flags argument.
11860
11861 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11862 tests with quiet NaN input and output.
11863 (acosh_test_data): Likewise.
11864 (asin_test_data): Likewise.
11865 (asinh_test_data): Likewise.
11866 (atan_test_data): Likewise.
11867 (atanh_test_data): Likewise.
11868 (atan2_test_data): Likewise.
11869 (cbrt_test_data): Likewise.
11870 (cos_test_data): Likewise.
11871 (cosh_test_data): Likewise.
11872 (erf_test_data): Likewise.
11873 (erfc_test_data): Likewise.
11874 (exp_test_data): Likewise.
11875 (exp10_test_data): Likewise.
11876 (exp2_test_data): Likewise.
11877 (expm1_test_data): Likewise.
11878 (hypot_test_data): Likewise.
11879 (j0_test_data): Likewise.
11880 (j1_test_data): Likewise.
11881 (jn_test_data): Likewise.
11882 (lgamma_test_data): Likewise.
11883 (log_test_data): Likewise.
11884 (log10_test_data): Likewise.
11885 (log1p_test_data): Likewise.
11886 (log2_test_data): Likewise.
11887 (pow_test_data): Likewise.
11888 (scalb_test_data): Likewise.
11889 (sin_test_data): Likewise.
11890 (sincos_test_data): Likewise.
11891 (sinh_test_data): Likewise.
11892 (tan_test_data): Likewise.
11893 (tanh_test_data): Likewise.
11894 (tgamma_test_data): Likewise.
11895 (y0_test_data): Likewise.
11896 (y1_test_data): Likewise.
11897 (yn_test_data): Likewise.
11898
11899 [BZ #16167]
11900 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11901 argument being NaN and avoid computations with second argument in
11902 that case.
11903 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11904 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11905 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11906
11907 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11908
11909 * locale/iso-639.def: Add Chitwani Tharu (the).
11910
11911 2013-11-14 Andreas Schwab <schwab@suse.de>
11912
11913 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11914 word instead of empty string.
11915
11916 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11917
11918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11919 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11921 (__fe_nomask_env): Likewise.
11922
11923 2013-11-13 Steve Ellcey <sellcey@mips.com>
11924
11925 * benchtests/bench-timing.h: Include time.h.
11926
11927 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11928
11929 [BZ #15997]
11930 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11931 to 3.4.0 for x32.
11932 * sysdeps/unix/sysv/linux/configure: Regenerated.
11933
11934 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11935
11936 [BZ #16151]
11937 * stdlib/strtod_l.c (round_and_return): Do not consider
11938 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11939 exponent one less than half the least subnormal exponent.
11940 * stdlib/test-strtod-round-data: Add more tests.
11941 * stdlib/tst-strtod-round.c (tests): Regenerated.
11942
11943 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11944
11945 [BZ #14143]
11946 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11947 (__fe_mask_env): Likewise.
11948 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11949 libm_hidden_proto and add function prototype.
11950 (__fe_mask_env): Add function prototype.
11951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11952 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11954 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11956 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11957
11958 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11959
11960 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11961 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11962
11963 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11964
11965 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11966 of htab_find_slot().
11967
11968 2013-11-11 David S. Miller <davem@davemloft.net>
11969
11970 [BZ #16150]
11971 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11972 symbol in the non-vis3 case in static builds.
11973 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11974 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11975 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11976 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11977
11978 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11979
11980 [BZ #387]
11981 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11982 it is empty.
11983
11984 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11985
11986 * benchtests/Makefile: Add bench-strtod.
11987 * benchtests/bench-strtod.c: New file: strtod benchtest
11988
11989 2013-11-11 Andreas Schwab <schwab@suse.de>
11990
11991 [BZ #16153]
11992 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11993 terminating NUL in key length.
11994
11995 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11996
11997 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11998 Add artificial ODP entry for vDSO symbol for PPC64.
11999 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12000 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12001
12002 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12003
12004 [BZ #15374]
12005 * nss/getent.c (services_keys): Recognize services starting with digit.
12006
12007 2013-11-06 David S. Miller <davem@davemloft.net>
12008
12009 [BZ #15985]
12010 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12011 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12012
12013 2013-11-06 Will Newton <will.newton@linaro.org>
12014
12015 * manual/memory.texi (Malloc Examples): Remove register
12016 keyword from examples.
12017
12018 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12019
12020 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12021
12022 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12023
12024 [BZ #6981]
12025 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12026 depending on [__GCC_IEC_559 > 0].
12027 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12028 depending on [__GCC_IEC_559_COMPLEX > 0].
12029
12030 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12031
12032 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12033 to iso-639.def.
12034
12035 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12036
12037 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12038
12039 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12040
12041 [BZ #16112]
12042 * malloc/malloc (malloc_info): Do not handle first bin as
12043 special case.
12044
12045 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12046
12047 * locale/iso-639.def: Add Central Nahuatl (nhn).
12048
12049 2013-11-01 Bruno Haible <bruno@clisp.org>
12050
12051 [BZ #7003]
12052 * manual/math.texi (BSD Random): Specify range upper bound as
12053 in POSIX.
12054
12055 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12056
12057 * locale/iso-639.def: Add Meadow Mari (mhr).
12058
12059 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12060
12061 [BZ #14752], [BZ #15763]
12062 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12063 Validate name.
12064 * rt/tst_shm.c: Add test for escaping directory.
12065
12066 2013-10-31 Andreas Schwab <schwab@suse.de>
12067
12068 [BZ #15917]
12069 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12070 followed by 'x' as part of digit sequence.
12071 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12072
12073 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12074
12075 [BZ #16037]
12076 * configure.ac: allow GNU Make 4.0 and greater.
12077 * configure: Regenerated.
12078
12079 2013-10-30 Will Newton <will.newton@linaro.org>
12080
12081 [BZ #16038]
12082 * malloc/hooks.c (memalign_check): Limit alignment to the
12083 maximum representable power of two.
12084 * malloc/malloc.c (__libc_memalign): Likewise.
12085 * malloc/tst-memalign.c (do_test): Add test for very
12086 large alignment values.
12087 * malloc/tst-posix_memalign.c (do_test): Likewise.
12088
12089 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12090
12091 [BZ #11087]
12092 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12093 (munmap_chunk): Likewise.
12094 (mremap_chunk): Likewise.
12095
12096 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12097
12098 [BZ #15799]
12099 * stdlib/div.c (div): Remove obsolete code.
12100 * stdlib/ldiv.c (ldiv): Likewise.
12101 * stdlib/lldiv.c (lldiv): Likewise.
12102
12103 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12104
12105 [BZ #16071]
12106 * nss/nss_files/files-XXX.c (get_contents_ret): New
12107 enumerator.
12108 (get_contents): New function.
12109 (internal_getent): Use it. Expand size of LINEBUFLEN.
12110
12111 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12112
12113 * configure.in: Moved to ...
12114 * configure.ac: ... here. Change reference to configure.in
12115 to configure.ac.
12116 * sysdeps/arm/preconfigure.ac: ... here.
12117 configure.in to configure.ac.
12118 * sysdeps/gnu/configure.in: Moved to ...
12119 * sysdeps/gnu/configure.ac: ... here.
12120 * sysdeps/i386/configure.in: Moved to ...
12121 * sysdeps/i386/configure.ac: ... here.
12122 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12123 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12124 * sysdeps/mach/configure.in: Moved to ...
12125 * sysdeps/mach/configure.ac: ... here.
12126 * sysdeps/mach/hurd/configure.in: Moved to ...
12127 * sysdeps/mach/hurd/configure.ac: ... here.
12128 * sysdeps/powerpc/configure.in: Moved to ...
12129 * sysdeps/powerpc/configure.ac: ... here.
12130 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12131 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12132 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12133 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12134 * sysdeps/s390/s390-32/configure.in: Moved to ...
12135 * sysdeps/s390/s390-32/configure.ac: ... here.
12136 * sysdeps/s390/s390-64/configure.in: Moved to ...
12137 * sysdeps/s390/s390-64/configure.ac: ... here.
12138 * sysdeps/sh/configure.in: Moved to ...
12139 * sysdeps/sh/configure.ac: ... here.
12140 * sysdeps/sparc/configure.in: Moved to ...
12141 * sysdeps/sparc/configure.ac: ... here.
12142 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12143 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12144 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12145 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12146 * sysdeps/x86_64/configure.in: Moved to ...
12147 * sysdeps/x86_64/configure.ac: ... here.
12148 * sysdeps/x86_64/preconfigure.in: Moved to ...
12149 * sysdeps/x86_64/preconfigure.ac: ... here.
12150 * aclocal.m4: Change reference to configure.in to configure.ac.
12151 * config.h.in: Likewise.
12152 * manual/install.texi: Likewise.
12153 * manual/maint.texi: Likewise.
12154 * Makefile: Likewise.
12155 * malloc/Makefile: Likewise.
12156 * nscd/Makefile: Likewise.
12157 * Makeconfig: Change reference to configure.in and
12158 preconfigure.in to configure.ac and preconfigure.ac
12159 respectively.
12160 * INSTALL: Regenerated.
12161 * configure: Likewise.
12162 * sysdeps/gnu/configure: Likewise.
12163 * sysdeps/i386/configure: Likewise.
12164 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12165 * sysdeps/mach/configure: Likewise.
12166 * sysdeps/mach/hurd/configure: Likewise.
12167 * sysdeps/powerpc/configure: Likewise.
12168 * sysdeps/powerpc/powerpc32/configure: Likewise.
12169 * sysdeps/powerpc/powerpc64/configure: Likewise.
12170 * sysdeps/s390/s390-32/configure: Likewise.
12171 * sysdeps/s390/s390-64/configure: Likewise.
12172 * sysdeps/sh/configure: Likewise.
12173 * sysdeps/sparc/configure: Likewise.
12174 * sysdeps/unix/sysv/linux/configure: Likewise.
12175 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12176 * sysdeps/x86_64/configure: Likewise.
12177 * sysdeps/x86_64/preconfigure: Likewise.
12178
12179 2013-10-29 Andreas Schwab <schwab@suse.de>
12180
12181 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12182
12183 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12184
12185 * benchtests/pow-inputs: Add new inputs.
12186
12187 * benchtests/exp-inputs: Add new inputs.
12188
12189 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12190 conditional check for return value.
12191 (__cos32): Likewise.
12192
12193 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12194
12195 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12196 to provide a boost for large inputs with word alignment.
12197 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12198 implementation based on optimized PPC64 strcpy.
12199 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12200 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12201 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12202 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12203
12204 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12205
12206 [BZ #2801]
12207 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12208
12209 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12210
12211 [BZ #14876]
12212 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12213 * time/tst-strptime.c (day_tests): Add testcase.
12214
12215 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12216
12217 [BZ #14029]
12218 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12219
12220 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12221
12222 [BZ #16074]
12223 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12224 MAP_FAILED on error.
12225
12226 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12227
12228 [BZ #16072]
12229 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12230 heap for large requests.
12231
12232 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12233
12234 [BZ #9954]
12235 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12236 result if the result has no associated interface.
12237 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12238 interface for all 127.X.Y.Z addresses.
12239
12240 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12241
12242 * locale/iso-639.def: Add Ligurian (lij)
12243
12244 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12245
12246 [BZ #15825]
12247 * sunrpc/rpc_main.c: Document rpcgen -5.
12248
12249 2013-10-19 Michael Stahl <mstahl@redhat.com>
12250
12251 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12252
12253 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12254
12255 [BZ #10278]
12256 * posix/glob.c: Match only directories when trailing slash is present.
12257 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12258 (main): Add testcase.
12259
12260 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12261
12262 [BZ #15670]
12263 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12264
12265 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12266
12267 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12268 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12269 AUTH_DES and cindex for FIPS 140-2.
12270 (DES Encryption): Add cindex FIPS 46-3.
12271
12272 * locale/locarchive.h (struct locarhandle): Add fname.
12273 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12274 if an optional argument was specified to --list-archive,
12275 otherwise NULL.
12276 * locale/programs/locarchive.c (show_archive_content): Take new
12277 argument fname and pass it via ah.fname to open_archive.
12278 * locale/programs/localedef.h: Update decl.
12279 (open_archive): If AH->fname is non-null, open that file
12280 rather than the default file name, and don't ignore ENOENT.
12281 (create_archive): Set AH.fname to NULL.
12282 (delete_locales_from_archive): Likewise.
12283 (add_locales_to_archive): Likewise.
12284 * locale/programs/locfile.c (write_all_categories): Likewise.
12285
12286 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12287 Aldy Hernandez <aldyh@redhat.com>
12288
12289 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12290 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12291 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12292 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12293 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12294 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12295 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12296 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12297 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12298 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12299 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12300 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12301 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12302 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12303 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12304 Likewise.
12305 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12306 Likewise.
12307 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12308 Likewise.
12309 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12310 Likewise.
12311 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12312 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12313 Likewise.
12314 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12315 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12316 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12317 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12318 Likewise.
12319 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12320 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12321 * sysdeps/powerpc/preconfigure: Likewise.
12322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12323 Likewise.
12324 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12325 Replace contents of file by #include of <fenv_libc.h>.
12326 * sysdeps/powerpc/soft-fp/sfp-machine.h
12327 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12328 and <sys/prctl.h>.
12329 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12330 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12331 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12332 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12333 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12334 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12335 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12336 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12337 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12338 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12339 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12340 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12342 Allow copysignl PLT reference to be missing.
12343
12344 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12345 Joseph Myers <joseph@codesourcery.com
12346
12347 [BZ #15948]
12348 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12349 single character.
12350 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12351
12352 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12353
12354 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12355 * elf/tst-tls1.c: Likewise.
12356 * elf/tst-tls10.h: Likewise.
12357 * elf/tst-tls14.c: Likewise.
12358 * elf/tst-tls2.c: Likewise.
12359 * elf/tst-tls3.c: Likewise.
12360 * elf/tst-tls4.c: Likewise.
12361 * elf/tst-tls5.c: Likewise.
12362 * elf/tst-tls6.c: Likewise.
12363 * elf/tst-tls7.c: Likewise.
12364 * elf/tst-tls8.c: Likewise.
12365 * elf/tst-tls9.c: Likewise.
12366 * elf/tst-tlsmod1.c: Likewise.
12367 * elf/tst-tlsmod13.c: Likewise.
12368 * elf/tst-tlsmod13a.c: Likewise.
12369 * elf/tst-tlsmod14a.c: Likewise.
12370 * elf/tst-tlsmod16a.c: Likewise.
12371 * elf/tst-tlsmod16b.c: Likewise.
12372 * elf/tst-tlsmod2.c: Likewise.
12373 * elf/tst-tlsmod3.c: Likewise.
12374 * elf/tst-tlsmod4.c: Likewise.
12375 * elf/tst-tlsmod5.c: Likewise.
12376 * elf/tst-tlsmod6.c: Likewise.
12377
12378 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12379
12380 [BZ #12486]
12381 * malloc/malloc.c: remove checks for statistics.
12382
12383 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12384
12385 [BZ #15277]
12386 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12387 * inet/tst-network.c: Add testcase.
12388
12389 2013-10-17 Andreas Schwab <schwab@suse.de>
12390
12391 [BZ #15218]
12392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12393 to determine canonical name.
12394
12395 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12396
12397 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12398 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12400 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12402 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12403 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12404 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12405 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12406 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12407 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12411 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12412 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12421 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12422 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12427 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12435 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12436 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12437 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12439 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12440 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12441 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12442 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12443 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12444 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12445 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12446 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12447 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12448 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12449 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12450 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12451 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12452 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12453 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12454 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12455
12456 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12457
12458 [BZ #16041]
12459 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12460 make result into a quiet NaN.
12461
12462 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12463
12464 * soft-fp/adddf3.c: Fix horizontal whitespace.
12465 * soft-fp/addsf3.c: Likewise.
12466 * soft-fp/addtf3.c: Likewise.
12467 * soft-fp/divdf3.c: Likewise.
12468 * soft-fp/divsf3.c: Likewise.
12469 * soft-fp/divtf3.c: Likewise.
12470 * soft-fp/double.h: Likewise.
12471 * soft-fp/eqdf2.c: Likewise.
12472 * soft-fp/eqsf2.c: Likewise.
12473 * soft-fp/eqtf2.c: Likewise.
12474 * soft-fp/extenddftf2.c: Likewise.
12475 * soft-fp/extended.h: Likewise.
12476 * soft-fp/extendsfdf2.c: Likewise.
12477 * soft-fp/extendsftf2.c: Likewise.
12478 * soft-fp/extendxftf2.c: Likewise.
12479 * soft-fp/fixdfdi.c: Likewise.
12480 * soft-fp/fixdfsi.c: Likewise.
12481 * soft-fp/fixdfti.c: Likewise.
12482 * soft-fp/fixsfdi.c: Likewise.
12483 * soft-fp/fixsfsi.c: Likewise.
12484 * soft-fp/fixsfti.c: Likewise.
12485 * soft-fp/fixtfdi.c: Likewise.
12486 * soft-fp/fixtfsi.c: Likewise.
12487 * soft-fp/fixtfti.c: Likewise.
12488 * soft-fp/fixunsdfdi.c: Likewise.
12489 * soft-fp/fixunsdfsi.c: Likewise.
12490 * soft-fp/fixunsdfti.c: Likewise.
12491 * soft-fp/fixunssfdi.c: Likewise.
12492 * soft-fp/fixunssfsi.c: Likewise.
12493 * soft-fp/fixunssfti.c: Likewise.
12494 * soft-fp/fixunstfdi.c: Likewise.
12495 * soft-fp/fixunstfsi.c: Likewise.
12496 * soft-fp/fixunstfti.c: Likewise.
12497 * soft-fp/floatdidf.c: Likewise.
12498 * soft-fp/floatdisf.c: Likewise.
12499 * soft-fp/floatditf.c: Likewise.
12500 * soft-fp/floatsidf.c: Likewise.
12501 * soft-fp/floatsisf.c: Likewise.
12502 * soft-fp/floatsitf.c: Likewise.
12503 * soft-fp/floattidf.c: Likewise.
12504 * soft-fp/floattisf.c: Likewise.
12505 * soft-fp/floattitf.c: Likewise.
12506 * soft-fp/floatundidf.c: Likewise.
12507 * soft-fp/floatundisf.c: Likewise.
12508 * soft-fp/floatunditf.c: Likewise.
12509 * soft-fp/floatunsidf.c: Likewise.
12510 * soft-fp/floatunsisf.c: Likewise.
12511 * soft-fp/floatunsitf.c: Likewise.
12512 * soft-fp/floatuntidf.c: Likewise.
12513 * soft-fp/floatuntisf.c: Likewise.
12514 * soft-fp/floatuntitf.c: Likewise.
12515 * soft-fp/fmadf4.c: Likewise.
12516 * soft-fp/fmasf4.c: Likewise.
12517 * soft-fp/fmatf4.c: Likewise.
12518 * soft-fp/gedf2.c: Likewise.
12519 * soft-fp/gesf2.c: Likewise.
12520 * soft-fp/getf2.c: Likewise.
12521 * soft-fp/ledf2.c: Likewise.
12522 * soft-fp/lesf2.c: Likewise.
12523 * soft-fp/letf2.c: Likewise.
12524 * soft-fp/muldf3.c: Likewise.
12525 * soft-fp/mulsf3.c: Likewise.
12526 * soft-fp/multf3.c: Likewise.
12527 * soft-fp/negdf2.c: Likewise.
12528 * soft-fp/negsf2.c: Likewise.
12529 * soft-fp/negtf2.c: Likewise.
12530 * soft-fp/op-1.h: Likewise.
12531 * soft-fp/op-2.h: Likewise.
12532 * soft-fp/op-4.h: Likewise.
12533 * soft-fp/op-8.h: Likewise.
12534 * soft-fp/op-common.h: Likewise.
12535 * soft-fp/quad.h: Likewise.
12536 * soft-fp/single.h: Likewise.
12537 * soft-fp/soft-fp.h: Likewise.
12538 * soft-fp/sqrtdf2.c: Likewise.
12539 * soft-fp/sqrtsf2.c: Likewise.
12540 * soft-fp/sqrttf2.c: Likewise.
12541 * soft-fp/subdf3.c: Likewise.
12542 * soft-fp/subsf3.c: Likewise.
12543 * soft-fp/subtf3.c: Likewise.
12544 * soft-fp/truncdfsf2.c: Likewise.
12545 * soft-fp/trunctfdf2.c: Likewise.
12546 * soft-fp/trunctfsf2.c: Likewise.
12547 * soft-fp/trunctfxf2.c: Likewise.
12548 * soft-fp/unorddf2.c: Likewise.
12549 * soft-fp/unordsf2.c: Likewise.
12550 * soft-fp/unordtf2.c: Likewise.
12551
12552 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12553
12554 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12555 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12556
12557 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12558
12559 * elf/dl-libc.c: Clear initfini list after freeing.
12560
12561 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12562
12563 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12564 * soft-fp/addsf3.c: Likewise.
12565 * soft-fp/addtf3.c: Likewise.
12566 * soft-fp/divdf3.c: Likewise.
12567 * soft-fp/divsf3.c: Likewise.
12568 * soft-fp/divtf3.c: Likewise.
12569 * soft-fp/double.h: Likewise.
12570 * soft-fp/eqdf2.c: Likewise.
12571 * soft-fp/eqsf2.c: Likewise.
12572 * soft-fp/eqtf2.c: Likewise.
12573 * soft-fp/extenddftf2.c: Likewise.
12574 * soft-fp/extended.h: Likewise.
12575 * soft-fp/extendsfdf2.c: Likewise.
12576 * soft-fp/extendsftf2.c: Likewise.
12577 * soft-fp/extendxftf2.c: Likewise.
12578 * soft-fp/fixdfdi.c: Likewise.
12579 * soft-fp/fixdfsi.c: Likewise.
12580 * soft-fp/fixdfti.c: Likewise.
12581 * soft-fp/fixsfdi.c: Likewise.
12582 * soft-fp/fixsfsi.c: Likewise.
12583 * soft-fp/fixsfti.c: Likewise.
12584 * soft-fp/fixtfdi.c: Likewise.
12585 * soft-fp/fixtfsi.c: Likewise.
12586 * soft-fp/fixtfti.c: Likewise.
12587 * soft-fp/fixunsdfdi.c: Likewise.
12588 * soft-fp/fixunsdfsi.c: Likewise.
12589 * soft-fp/fixunsdfti.c: Likewise.
12590 * soft-fp/fixunssfdi.c: Likewise.
12591 * soft-fp/fixunssfsi.c: Likewise.
12592 * soft-fp/fixunssfti.c: Likewise.
12593 * soft-fp/fixunstfdi.c: Likewise.
12594 * soft-fp/fixunstfsi.c: Likewise.
12595 * soft-fp/fixunstfti.c: Likewise.
12596 * soft-fp/floatdidf.c: Likewise.
12597 * soft-fp/floatdisf.c: Likewise.
12598 * soft-fp/floatditf.c: Likewise.
12599 * soft-fp/floatsidf.c: Likewise.
12600 * soft-fp/floatsisf.c: Likewise.
12601 * soft-fp/floatsitf.c: Likewise.
12602 * soft-fp/floattidf.c: Likewise.
12603 * soft-fp/floattisf.c: Likewise.
12604 * soft-fp/floattitf.c: Likewise.
12605 * soft-fp/floatundidf.c: Likewise.
12606 * soft-fp/floatundisf.c: Likewise.
12607 * soft-fp/floatunsidf.c: Likewise.
12608 * soft-fp/floatunsisf.c: Likewise.
12609 * soft-fp/floatuntidf.c: Likewise.
12610 * soft-fp/floatuntisf.c: Likewise.
12611 * soft-fp/floatuntitf.c: Likewise.
12612 * soft-fp/fmadf4.c: Likewise.
12613 * soft-fp/fmasf4.c: Likewise.
12614 * soft-fp/fmatf4.c: Likewise.
12615 * soft-fp/gedf2.c: Likewise.
12616 * soft-fp/gesf2.c: Likewise.
12617 * soft-fp/getf2.c: Likewise.
12618 * soft-fp/ledf2.c: Likewise.
12619 * soft-fp/lesf2.c: Likewise.
12620 * soft-fp/letf2.c: Likewise.
12621 * soft-fp/muldf3.c: Likewise.
12622 * soft-fp/mulsf3.c: Likewise.
12623 * soft-fp/multf3.c: Likewise.
12624 * soft-fp/negdf2.c: Likewise.
12625 * soft-fp/negsf2.c: Likewise.
12626 * soft-fp/negtf2.c: Likewise.
12627 * soft-fp/op-1.h: Likewise.
12628 * soft-fp/op-2.h: Likewise.
12629 * soft-fp/op-4.h: Likewise.
12630 * soft-fp/op-8.h: Likewise.
12631 * soft-fp/op-common.h: Likewise.
12632 * soft-fp/quad.h: Likewise.
12633 * soft-fp/single.h: Likewise.
12634 * soft-fp/soft-fp.h: Likewise.
12635 * soft-fp/sqrtdf2.c: Likewise.
12636 * soft-fp/sqrtsf2.c: Likewise.
12637 * soft-fp/sqrttf2.c: Likewise.
12638 * soft-fp/subdf3.c: Likewise.
12639 * soft-fp/subsf3.c: Likewise.
12640 * soft-fp/subtf3.c: Likewise.
12641 * soft-fp/truncdfsf2.c: Likewise.
12642 * soft-fp/trunctfdf2.c: Likewise.
12643 * soft-fp/trunctfsf2.c: Likewise.
12644 * soft-fp/trunctfxf2.c: Likewise.
12645 * soft-fp/unorddf2.c: Likewise.
12646 * soft-fp/unordsf2.c: Likewise.
12647 * soft-fp/unordtf2.c: Likewise.
12648
12649 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12650
12651 [BZ #15672]
12652 * misc/error.c (error_tail): Fix possible buffer overflow.
12653
12654 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12655
12656 [BZ #13028]
12657 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12658 address.
12659
12660 2013-10-14 P. J. McDermott <pj@pehjota.net>
12661
12662 [BZ #832]
12663 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12664 testing pipefail option.
12665
12666 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12667
12668 * soft-fp/double.h: Indent preprocessor directives inside #if.
12669 * soft-fp/extended.h: Likewise.
12670 * soft-fp/op-2.h: Likewise.
12671 * soft-fp/op-4.h: Likewise.
12672 * soft-fp/op-common.h: Likewise.
12673 * soft-fp/quad.h: Likewise.
12674 * soft-fp/single.h: Likewise.
12675 * soft-fp/soft-fp.h: Likewise.
12676
12677 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12678
12679 * iconv/iconv_prog.c: Fix typos.
12680 * stdio-common/psiginfo-data.h: Likewise.
12681
12682 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12683
12684 [BZ #15764]
12685 * locale/setlocale.c: Fix typo.
12686
12687 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12688
12689 [BZ #16036]
12690 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12691 signaling NaN arguments.
12692 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12693 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12694
12695 [BZ #14910]
12696 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12697 unordered operands.
12698 * soft-fp/gesf2.c (__gesf2): Likewise.
12699 * soft-fp/getf2.c (__getf2): Likewise.
12700 * soft-fp/ledf2.c (__ledf2): Likewise.
12701 * soft-fp/lesf2.c (__lesf2): Likewise.
12702 * soft-fp/letf2.c (__letf2): Likewise.
12703
12704 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12705 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12706 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12707 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12708 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12709 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12710 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12711 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12712 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12713 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12714 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12715 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12716 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12717 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12718 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12719 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12720 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12721 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12722 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12723 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12724 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12725 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12726 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12727 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12728 * soft-fp/floattidf.c (__floattidf): Likewise.
12729 * soft-fp/floattisf.c (__floattisf): Likewise.
12730 * soft-fp/floattitf.c (__floattitf): Likewise.
12731 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12732 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12733 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12734 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12735 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12736 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12737 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12738 * soft-fp/gesf2.c (__gesf2): Likewise.
12739 * soft-fp/getf2.c (__getf2): Likewise.
12740 * soft-fp/ledf2.c (__ledf2): Likewise.
12741 * soft-fp/lesf2.c (__lesf2): Likewise.
12742 * soft-fp/letf2.c (__letf2): Likewise.
12743
12744 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12745 Undefine and redefine.
12746 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12747 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12748 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12749 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12750 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12751 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12752 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12753 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12754 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12755 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12756 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12757 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12758 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12759 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12760 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12761
12762 [BZ #16032]
12763 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12764 without decrementing exponent if mantissa >= that for the
12765 denominator, not >.
12766 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12767 denominator, not >. Decrement exponent in < case instead of
12768 incrementing in >= case.
12769 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12770 without decrementing exponent if mantissa >= that for the
12771 denominator, not >.
12772
12773 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12774 computing saturated result for unsigned overflow.
12775
12776 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12777 Jeff Law <law@redhat.com>
12778
12779 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12780 (atan2Mp): Add systemtap probe marker.
12781 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12782 (__ieee754_log): Add systemtap probe marker.
12783 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12784 (atanMp): Add systemtap probe marker.
12785 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12786 (tanMp): Add systemtap probe marker.
12787 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12788 (__slowexp): Add systemtap probe marker.
12789 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12790 (__slowpow): Add systemtap probe marker.
12791 * manual/probes.texi: Document probes.
12792
12793 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12794
12795 [BZ #15362]
12796 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12797 written.
12798 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12799 written.
12800 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12801 written to buffer but not flushed.
12802 * libio/iofwrite_u.c: Likewise.
12803 * libio/iopadn.c: Return bytes returned even if EOF was
12804 encountered.
12805 * libio/iowpadn.c: Likewise.
12806 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12807 if _IO_padn does not write the whole buffer.
12808 [!COMPILE_WPRINTF] (PAD): Likewise.
12809
12810 2013-10-10 David S. Miller <davem@davemloft.net>
12811
12812 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12813 directory block.
12814
12815 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12816
12817 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12818 instead of FSF address.
12819 * soft-fp/fixdfti.c: Likewise.
12820 * soft-fp/fixsfti.c: Likewise.
12821 * soft-fp/fixtfti.c: Likewise.
12822 * soft-fp/fixunsdfti.c: Likewise.
12823 * soft-fp/fixunssfti.c: Likewise.
12824 * soft-fp/fixunstfti.c: Likewise.
12825 * soft-fp/floattidf.c: Likewise.
12826 * soft-fp/floattisf.c: Likewise.
12827 * soft-fp/floattitf.c: Likewise.
12828 * soft-fp/floatuntidf.c: Likewise.
12829 * soft-fp/floatuntisf.c: Likewise.
12830 * soft-fp/floatuntitf.c: Likewise.
12831 * soft-fp/trunctfxf2.c: Likewise.
12832
12833 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12834 * soft-fp/fixdfti.c: Likewise.
12835 * soft-fp/fixsfti.c: Likewise.
12836 * soft-fp/fixtfti.c: Likewise.
12837 * soft-fp/fixunsdfti.c: Likewise.
12838 * soft-fp/fixunssfti.c: Likewise.
12839 * soft-fp/fixunstfti.c: Likewise.
12840 * soft-fp/floattidf.c: Likewise.
12841 * soft-fp/floattisf.c: Likewise.
12842 * soft-fp/floattitf.c: Likewise.
12843 * soft-fp/floatuntidf.c: Likewise.
12844 * soft-fp/floatuntisf.c: Likewise.
12845 * soft-fp/floatuntitf.c: Likewise.
12846 * soft-fp/trunctfxf2.c: Likewise.
12847
12848 2013-10-10 David S. Miller <davem@davemloft.net>
12849
12850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12851
12852 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12853
12854 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12855 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12856 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12857 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12858 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12859 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12860 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12861
12862 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12863 for NaNs before doing comparisons on argument.
12864 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12865 Likewise.
12866
12867 2013-10-10 Will Newton <will.newton@linaro.org>
12868
12869 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12870 passed to _int_memalign does not overflow.
12871
12872 2013-10-10 Torvald Riegel <triegel@redhat.com>
12873
12874 * scripts/bench.pl: Add include-sources directive.
12875 * benchtests/README: Update documentation.
12876
12877 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12878
12879 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12880 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12881 instead of FP_INIT_ROUNDMODE.
12882 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12883 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12884
12885 [BZ #16034]
12886 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12887 copy class of input value.
12888 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12889 not handle exceptions.
12890 * soft-fp/negsf2.c (__negsf2): Likewise.
12891 * soft-fp/negtf2.c (__negtf2): Likewise.
12892 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12893
12894 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12895
12896 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12897 semicolon. From Linux kernel.
12898
12899 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12900
12901 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12902
12903 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12904
12905 [BZ #156]
12906 * manual/socket.texi: Added statement about buffer
12907 for gethostbyname2_r.
12908
12909 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12910
12911 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12912 Use .p2align directive instead, throughout.
12913 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12914 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12915 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12916 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12917 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12918 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12919 * sysdeps/x86_64/strchr.S: Likewise.
12920 * sysdeps/x86_64/strrchr.S: Likewise.
12921
12922 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12923
12924 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12925
12926 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12927
12928 * sysdeps/generic/math_private.h (__mpsin1): Remove
12929 declaration.
12930 (__mpcos1): Likewise.
12931 (__mpsin): New argument __range_reduce.
12932 (__mpcos): Likewise.
12933 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12934 (slow): Use __mpsin and __mpcos.
12935 (slow1): Likewise.
12936 (slow2): Likewise.
12937 (sloww): Likewise.
12938 (sloww1): Likewise.
12939 (sloww2): Likewise.
12940 (bsloww): Likewise.
12941 (bsloww1): Likewise.
12942 (bsloww2): Likewise.
12943 (cslow2): Likewise.
12944 (csloww): Likewise.
12945 (csloww1): Likewise.
12946 (csloww2): Likewise.
12947 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12948 range_reduce. Merge in __mpsin1.
12949 (__mpcos): Likewise.
12950 (__mpsin1): Remove.
12951 (__mpcos1): Likewise.
12952
12953 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12954
12955 * locale/loadlocale.c (_nl_intern_locale_data): Use
12956 LOCFILE_ALIGNED_P.
12957 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12958 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12959 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12960 obstack data is appropriately aligned.
12961 (obstack_int32_grow_fast): Likewise.
12962 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12963 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12964 (add_locale_uint32_array): Likewise.
12965
12966 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12967
12968 * benchtests/Makefile: Remove ARGLIST and RET variables.
12969 ($(objpfx)bench-%.c): Pass only function name to the script.
12970 * benchtests/README: Update documentation.
12971 * benchtests/acos-inputs: Add new directives.
12972 * benchtests/acosh-inputs: Likewise.
12973 * benchtests/asin-inputs: Likewise.
12974 * benchtests/asinh-inputs: Likewise.
12975 * benchtests/atan-inputs: Likewise.
12976 * benchtests/atanh-inputs: Likewise.
12977 * benchtests/cos-inputs: Likewise.
12978 * benchtests/cosh-inputs: Likewise.
12979 * benchtests/exp-inputs: Likewise.
12980 * benchtests/log-inputs: Likewise.
12981 * benchtests/pow-inputs: Likewise.
12982 * benchtests/rint-inputs: Likewise.
12983 * benchtests/sin-inputs: Likewise.
12984 * benchtests/sinh-inputs: Likewise.
12985 * benchtests/tan-inputs: Likewise.
12986 * benchtests/tanh-inputs: Likewise.
12987 * scripts/bench.pl: Add support for new directives.
12988
12989 2013-10-07 Alan Modra <amodra@gmail.com>
12990
12991 * README: Fix careless merge.
12992
12993 2013-10-05 Alan Modra <amodra@gmail.com>
12994
12995 * NEWS: Mention powerpc64le support and bugs fixed.
12996 * README: Both big-endian and little-endian powerpc64 supported.
12997
12998 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12999
13000 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13001 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13002 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13003 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13004
13005 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13006
13007 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13008 match prototype.
13009
13010 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13011
13012 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13013 Move -mhard-float appending from
13014 ports/sysdeps/powerpc/powerpc32/Makefile.
13015 [$(with-fp) = yes] (ASFLAGS): Likewise.
13016 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13017 * sysdeps/powerpc/nofpu: Move directory from
13018 ports/sysdeps/powerpc/nofpu.
13019 * sysdeps/powerpc/soft-fp: Move directory from
13020 ports/sysdeps/powerpc/soft-fp.
13021 * sysdeps/powerpc/powerpc32/405: Move directory from
13022 ports/sysdeps/powerpc/powerpc32/405.
13023 * sysdeps/powerpc/powerpc32/440: Move directory from
13024 ports/sysdeps/powerpc/powerpc32/440.
13025 * sysdeps/powerpc/powerpc32/464: Move directory from
13026 ports/sysdeps/powerpc/powerpc32/464.
13027 * sysdeps/powerpc/powerpc32/476: Move directory from
13028 ports/sysdeps/powerpc/powerpc32/476.
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13030 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13032 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13034 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13036 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13038 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13039 * README: Update for powerpc-*-linux-gnu software floating point
13040 support in libc.
13041
13042 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13043 case to powerpc/powerpc32*.
13044 * sysdeps/unix/sysv/linux/configure: Regenerated.
13045
13046 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13047 (_FPU_MASK_OM): Define as 0x04.
13048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13050 0x00c10080.
13051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13052 0x0000003c.
13053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13054
13055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13056 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13057 getcontext_e500.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13059 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13060 setcontext_e500.
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13062 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13063 and setcontext_e500.
13064
13065 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13066
13067 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13068
13069 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13070
13071 * manual/threads.texi (Default Thread Attributes): Fix typo.
13072
13073 2013-10-04 Will Newton <will.newton@linaro.org>
13074
13075 * malloc/Makefile: Add tst-memalign.
13076 * malloc/tst-memalign.c: New file.
13077
13078 * malloc/tst-posix_memalign.c: Add comments.
13079 (do_test): Add comments and call free on all potentially
13080 allocated pointers. Add space after cast.
13081
13082 * malloc/tst-pvalloc.c: Add comments.
13083 (do_test): Add comments and call free on all potentially
13084 allocated pointers. Remove duplicate check for NULL pointer.
13085 Add space after cast.
13086
13087 * malloc/tst-valloc.c: Add comments.
13088 (do_test): Add comments and call free on all potentially
13089 allocated pointers. Remove duplicate check for NULL pointer.
13090 Add space after cast.
13091
13092 2013-10-04 Alan Modra <amodra@gmail.com>
13093
13094 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13095 Use stdint types in rather than __attribute__((mode())).
13096 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13097
13098 2013-10-04 Alan Modra <amodra@gmail.com>
13099
13100 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13101 Correct handling of unaligned relocs for little-endian.
13102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13103
13104 2013-10-04 Alan Modra <amodra@gmail.com>
13105
13106 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13107 * configure: Regenerate.
13108 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13109 * shlib-versions: Likewise.
13110
13111 2013-10-04 Alan Modra <amodra@gmail.com>
13112
13113 * string/tester.c (test_memrchr): Increment reported test cycle.
13114
13115 2013-10-04 Alan Modra <amodra@gmail.com>
13116
13117 * string/test-memcpy.c (do_one_test): When reporting errors, print
13118 string address and don't overrun end of string.
13119
13120 2013-10-04 Alan Modra <amodra@gmail.com>
13121
13122 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13123 insrdi. Make better use of reg selection to speed exit slightly.
13124 Schedule entry path a little better. Remove useless "are we done"
13125 checks on entry to main loop. Handle wrapping around zero address.
13126 Correct main loop count. Handle single left-over word from main
13127 loop inline rather than by using loop_small. Remove extra word
13128 case in loop_small caused by wrong loop count. Add little-endian
13129 support.
13130 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13131 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13132 cache hint.
13133 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13134 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13135 support. Avoid rlwimi.
13136 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13137
13138 2013-10-04 Alan Modra <amodra@gmail.com>
13139
13140 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13141 insrdi. Formatting.
13142 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13143 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13144 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13145 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13146 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13147 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13148
13149 2013-10-04 Alan Modra <amodra@gmail.com>
13150
13151 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13152 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13153 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13154 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13155 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13156 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13157 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13158 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13159 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13160 use of regs. Use power7 mtocrf. Tidy function tails.
13161
13162 2013-10-04 Alan Modra <amodra@gmail.com>
13163
13164 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13165 Formatting. Consistently use rXXX register defines or rN defines.
13166 Use early exit labels that avoid restoring unused non-volatile regs.
13167 Make cr field use more consistent with rWORDn compares. Rename
13168 regs used as shift registers for unaligned loop, using rN defines
13169 for short lifetime/multiple use regs.
13170 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13171 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13172 addi 1,1,64 to pop stack frame. Simplify return value code.
13173 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13174
13175 2013-10-04 Alan Modra <amodra@gmail.com>
13176
13177 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13178 support. Correct typos, formatting. Optimize tail. Use insrdi
13179 rather than rlwimi.
13180 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13181 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13182 little-endian support. Correct typos.
13183 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13184 rather than rlwimi.
13185 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13186 in loop and entry code to keep "and." results.
13187 (strchr): Add little-endian support. Comment. Move cntlzd
13188 earlier in tail.
13189 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13190
13191 2013-10-04 Alan Modra <amodra@gmail.com>
13192
13193 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13194 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13195 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13196 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13197
13198 2013-10-04 Alan Modra <amodra@gmail.com>
13199
13200 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13201 (rTMP): Define as r11.
13202 (strcmp): Add little-endian support. Optimise tail.
13203 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13204 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13205 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13206 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13207 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13208 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13209 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13210
13211 2013-10-04 Alan Modra <amodra@gmail.com>
13212
13213 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13214 little-endian support. Remove unnecessary "are we done" tests.
13215 Handle "s" wrapping around zero and extremely large "size".
13216 Correct main loop count. Handle single left-over word from main
13217 loop inline rather than by using small_loop. Correct comments.
13218 Delete "zero" tail, use "end_max" instead.
13219 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13220
13221 2013-10-04 Alan Modra <amodra@gmail.com>
13222
13223 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13224 support. Don't branch over align.
13225 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13226 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13227 support. Rearrange tmp reg use to suit. Comment.
13228 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13229
13230 2013-10-04 Alan Modra <amodra@gmail.com>
13231
13232 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13233
13234 2013-10-04 Alan Modra <amodra@gmail.com>
13235
13236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13237 conditional form of branch and link when obtaining pc.
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13239
13240 2013-10-04 Alan Modra <amodra@gmail.com>
13241
13242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13243 HIWORD/LOWORD.
13244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13246
13247 2013-10-04 Alan Modra <amodra@gmail.com>
13248
13249 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13250 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13251 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13252 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13253 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13254 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13255 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13256 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13257 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13258 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13259
13260 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13261 Alistair Popple <alistair@ozlabs.au.ibm.com>
13262 Alan Modra <amodra@gmail.com>
13263
13264 [BZ #15723]
13265 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13266 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13267 _dl_hwcap access for little-endian.
13268 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13269 destroy vmx regs when saving unaligned.
13270 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13271 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13272 destroy vmx regs when saving unaligned.
13273
13274 2013-10-04 Alan Modra <amodra@gmail.com>
13275
13276 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13277 Don't use a union to pack hi/low value.
13278
13279 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13280
13281 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13282 for little-endian.
13283 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13285 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13286 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13287 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13288
13289 2013-10-04 Alan Modra <amodra@gmail.com>
13290
13291 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13292 constants to usual value for .cst8 section, and remove redundant
13293 high address load.
13294 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13295 constant for 0x1p52. Load little-endian words of double from
13296 correct stack offsets.
13297
13298 2013-10-04 Alan Modra <amodra@gmail.com>
13299
13300 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13301 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13302 words of double from correct stack offsets.
13303 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13304 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13305 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13306 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13307 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13308 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13309 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13310 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13311 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13312 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13313 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13314 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13315 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13316 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13317 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13318 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13319 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13320
13321 2013-10-04 Alan Modra <amodra@gmail.com>
13322
13323 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13324 64-bit int/double union.
13325 (_FPU_SETCW): Likewise.
13326 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13327 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13328
13329 2013-10-04 Alan Modra <amodra@gmail.com>
13330
13331 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13332 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13333
13334 2013-10-04 Alan Modra <amodra@gmail.com>
13335
13336 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13337 use vector int constants.
13338 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13339
13340 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13341
13342 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13343 array with long long.
13344 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13345 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13346 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13347 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13348 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13349 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13350 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13351 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13352 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13353 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13354 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13355 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13356 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13357
13358 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13359
13360 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13361 (__signbit): Likewise. Correct for little-endian.
13362 (__signbitl): Call __signbit.
13363 (lrint): Correct for little-endian.
13364 (lrintf): Call lrint.
13365
13366 2013-10-04 Alan Modra <amodra@gmail.com>
13367
13368 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13369 union 32-bit int array member with 64-bit int array.
13370 (t515, tm256): Double rather than long double.
13371 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13372
13373 2013-10-04 Alan Modra <amodra@gmail.com>
13374
13375 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13376 Delete.
13377 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13378 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13379 version of math_ldbl.h.
13380
13381 2013-10-04 Alan Modra <amodra@gmail.com>
13382
13383 [BZ #15734], [BZ #15735]
13384 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13385 all uses of ieee875 long double macros and unions. Simplify test
13386 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13387 ldbl_extract_mantissa value for ix,iy exponents. Properly
13388 normalize after ldbl_extract_mantissa, and don't add hidden bit
13389 already handled. Don't treat low word of ieee854 mantissa like
13390 low word of IBM long double and mask off bit when testing for
13391 zero.
13392 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13393 all uses of ieee875 long double macros and unions. Simplify tests
13394 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13395 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13396 two1022, instead use their values. Recognise that tests for large
13397 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13398 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13399 Rewrite all uses of ieee875 long double macros and unions. Simplify
13400 test for 0.0L and nan. Correct negation.
13401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13402 ieee875 long double macros and unions. Correct output for large
13403 magnitude x. Correct absolute value calculation.
13404 (__erfcl): Likewise.
13405 * math/libm-test.inc: Add tests for errors discovered in IBM long
13406 double versions of fmodl, remainderl, erfl and erfcl.
13407
13408 2013-10-04 Alan Modra <amodra@gmail.com>
13409
13410 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13411 all uses of ieee854 long double macros and unions. Simplify tests
13412 for long doubles that are fully specified by the high double.
13413 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13414 Likewise.
13415 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13416 Remove dead code too.
13417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13418 (__ieee754_ynl): Likewise.
13419 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13420 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13421 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13422 Remove dead code too.
13423 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13424 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13425 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13426 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13427 Simplify.
13428 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13429 Simplify.
13430 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13431 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13433 Comment on variable precision.
13434 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13435 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13436 Likewise.
13437 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13438 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13439 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13440 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13441 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13442
13443 2013-10-04 Alan Modra <amodra@gmail.com>
13444
13445 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13446 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13447 all uses of ieee854 long double macros and unions.
13448 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13449 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13450 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13451 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13452 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13453 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13454 Likewise.
13455 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13456 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13458 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13460 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13461 Simplify sign and nan test too.
13462 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13463 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13465 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13466 Likewise.
13467 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13468 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13469 Likewise.
13470 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13471 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13472 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13473 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13474 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13475 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13476
13477 2013-10-04 Alan Modra <amodra@gmail.com>
13478
13479 * stdio-common/printf_size.c (__printf_size): Don't use
13480 union ieee854_long_double in fpnum union.
13481 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13482 signbit macro to retrieve sign from long double.
13483 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13484 retrieve sign from long double.
13485 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13486 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13487 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13488 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13489 * math/test-misc.c (main): Don't use union ieee854_long_double.
13490
13491 2013-10-04 Alan Modra <amodra@gmail.com>
13492
13493 [BZ #15680]
13494 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13495 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13496 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13497 calculation. Remove unnecessary test for denormal exponent.
13498 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13499 Correct handling of denormals. Avoid undefined shift behaviour.
13500 Correct normalisation of low mantissa when low double is denormal.
13501 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13502 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13503 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13504 Correct normalisation of low mantissa. Test for overflow of high
13505 mantissa and normalise.
13506 (ldbl_nearbyint): Use more readable constant for two52.
13507 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13508 (__mpn_construct_long_double): Fix test for overflow of high
13509 mantissa and correct normalisation. Avoid undefined shift.
13510
13511 2013-10-04 Alan Modra <amodra@gmail.com>
13512
13513 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13514 (union ibm_extended_long_double): Define as an array of ieee754_double.
13515 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13516 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13517 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13518 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13522 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13526
13527 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13528
13529 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13530 page size instead of calling getpagesize.
13531
13532 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13533 (LOCFILE_ALIGN_MASK): Likewise.
13534 (LOCFILE_ALIGN_UP): Likewise.
13535 (LOCFILE_ALIGNED_P): Likewise.
13536 * locale/programs/ld-collate.c (collate_output): Use the new
13537 macros instead of __alignof__ (int32_t).
13538 * locale/weight.h (findidx): Likewise.
13539
13540 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13541
13542 [BZ #431]
13543 * manual/string.texi: Fix strncat and wcsncat.
13544
13545 2013-10-03 Brooks Moses <bmoses@google.com>
13546
13547 [BZ #15915]
13548 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13549 * Makerules: ...here, and adjust associated comments.
13550
13551 2013-10-02 Will Newton <will.newton@linaro.org>
13552
13553 * malloc/Makefile: Add tst-pvalloc.
13554 * malloc/tst-pvalloc.c: New file.
13555
13556 2013-10-02 Will Newton <will.newton@linaro.org>
13557
13558 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13559 improve test coverage.
13560
13561 2013-10-02 Will Newton <will.newton@linaro.org>
13562
13563 * malloc/Makefile: Add tst-posix_memalign.
13564 * malloc/tst-posix_memalign.c: New file.
13565
13566 2013-10-01 Eric Blake <eblake@redhat.com>
13567
13568 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13569 Use __THROWNL rather than __THROW on static functions.
13570
13571 2013-09-30 Petr Machata <pmachata@redhat.com>
13572
13573 * elf/elf.h (R_AARCH64_ABS16): New macro.
13574 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13575 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13576 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13577 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13578 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13579 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13580 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13581 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13582 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13583 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13584 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13585 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13586 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13587 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13588 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13589 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13590 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13591 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13592 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13593 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13594 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13595 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13596 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13597 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13598 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13599 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13600 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13601 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13602 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13603 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13604 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13605 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13606 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13607 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13608 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13609 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13610 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13611 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13612 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13613 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13614 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13615 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13616 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13617 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13618 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13619 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13620 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13621 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13622 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13623 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13624 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13625 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13626 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13627 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13628 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13629 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13630 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13631 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13632 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13633 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13634 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13635 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13636 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13637 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13638 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13639 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13640 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13641 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13642 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13643 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13644 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13645 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13646 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13647 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13648 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13649 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13650 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13651 (R_AARCH64_TLSDESC_LDR): Likewise.
13652 (R_AARCH64_TLSDESC_ADD): Likewise.
13653 (R_AARCH64_TLSDESC_CALL): Likewise.
13654
13655 2013-09-30 Andreas Schwab <schwab@suse.de>
13656
13657 [BZ #15048]
13658 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13659 the nss database lookup.
13660 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13662
13663 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13664
13665 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13666
13667 2013-09-28 P. J. McDermott <pj@pehjota.net>
13668
13669 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13670 ${Bash-specific parameter/pattern/string} parameter expansion.
13671 * sysdeps/unix/make-syscalls.sh: Likewise.
13672
13673 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13674
13675 * sysdeps/sh/stackguard-macros.h: New file.
13676
13677 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13678
13679 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13681 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13682 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13683 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13684 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13685
13686 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13687
13688 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13689 Fix thread ID register.
13690
13691 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13692
13693 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13694 [POSIX || UNIX98]: Require rather than permitting all symbols from
13695 <time.h>.
13696 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13697 element of struct sched_param.
13698 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13699 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13700 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13701 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13702 constant.
13703
13704 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13705
13706 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13707 argument calculation.
13708
13709 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13710
13711 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13712 Expect macro.
13713 [POSIX] (pthread_attr_t): Do not require type.
13714 [POSIX] (pthread_cond_t): Likewise.
13715 [POSIX] (pthread_condattr_t): Likewise.
13716 [POSIX] (pthread_key_t): Likewise.
13717 [POSIX] (pthread_mutex_t): Likewise.
13718 [POSIX] (pthread_mutexattr_t): Likewise.
13719 [POSIX] (pthread_once_t): Likewise.
13720 [POSIX] (pthread_t): Likewise.
13721 [POSIX-based standards] (pthread_atfork): Expect function.
13722
13723 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13724 Richard Sandiford <richard@codesourcery.com>
13725
13726 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13727 (swap_endianness_p): New extern variable.
13728 (set_big_endian): New inline function.
13729 (maybe_swap_uint32): Likewise.
13730 (maybe_swap_uint32_array): Likewise.
13731 (maybe_swap_uint32_obstack): Likewise.
13732 * locale/programs/locfile.c: Include <stdbool.h>.
13733 (swap_endianness_p): New variable.
13734 (add_locale_uint32): Call maybe_swap_uint32.
13735 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13736 (write_locale_data): Call maybe_swap_uint32_array.
13737 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13738 maybe_swap_uint32.
13739 (obstack_int32_grow_fast): Likewise.
13740 (output_weightwc): Call maybe_swap_uint32_obstack.
13741 (collate_output): Likewise.
13742 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13743 (OPT_LITTLE_ENDIAN): Likewise.
13744 (options): Add --little-endian and --big-endian options.
13745 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13746 * locale/programs/locarchive.c: Include "locfile.h".
13747 (GET): New macro.
13748 (SET): Likewise.
13749 (INC): Likewise.
13750 (create_archive): Use the new macros to access fields of
13751 structures directly mapped from or written to locale archives.
13752 (oldlocrecentcmp): Likewise.
13753 (enlarge_archive): Likewise.
13754 (insert_name): Likewise.
13755 (add_alias): Likewise.
13756 (add_locale): Likewise.
13757 (delete_locales_from_archive): Likewise.
13758 (show_archive_content): Likewise.
13759 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13760 locale data.
13761
13762 2013-09-24 Roland McGrath <roland@hack.frob.com>
13763
13764 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13765 http://www.gnu.org/doc/freemanuals.texi.
13766 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13767
13768 2013-09-24 Will Newton <will.newton@linaro.org>
13769
13770 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13771 macro.
13772
13773 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13774
13775 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13776 unsigned char.
13777
13778 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13779
13780 * manual/threads.texi (POSIX Threads): Fix a typo.
13781
13782 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13783
13784 [BZ #14547]
13785 * string/tst-strcoll-overflow.c: New test case.
13786 * string/Makefile (xtests): Add tst-strcoll-overflow.
13787 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13788 cache if string sizes may cause integer overflow.
13789
13790 [BZ #14547]
13791 * string/strcoll_l.c (coll_seq): New members rule, idx,
13792 save_idx and back_us.
13793 (get_next_seq_nocache): New function.
13794 (do_compare_nocache): New function.
13795 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13796 when malloc fails.
13797
13798 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13799
13800 [BZ #15754]
13801 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13802 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13803 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13804
13805 [BZ #15754]
13806 * elf/Makefile (tests): Add tst-ptrguard1.
13807 (tests-static): Add tst-ptrguard1-static.
13808 (tst-ptrguard1-ARGS): Define.
13809 (tst-ptrguard1-static-ARGS): Define.
13810 * elf/tst-ptrguard1.c: New file.
13811 * elf/tst-ptrguard1-static.c: New file.
13812 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13813 * sysdeps/i386/stackguard-macros.h: Likewise.
13814 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13815 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13816 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13817 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13818 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13819 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13820
13821 2013-09-23 Hector Marco <hecmargi@upv.es>
13822 Ismael Ripoll <iripoll@disca.upv.es>
13823 Carlos O'Donell <carlos@redhat.com>
13824
13825 [BZ #15754]
13826 * sysdeps/generic/stackguard-macros.h: Define
13827 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13828 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13829 Define __pointer_chk_guard_local.
13830 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13831 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13832
13833 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13834
13835 [BZ #15859]
13836 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13837
13838 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13839
13840 * include/string.h (__ffs): Declare as hidden.
13841 * string/ffs.c (__ffs): Define as hidden.
13842 * sysdeps/i386/ffs.c (__ffs): Likewise.
13843 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13844 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13845 * sysdeps/s390/ffs.c (__ffs): Likewise.
13846 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13847
13848 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13849
13850 * NEWS: Mention malloc probes.
13851
13852 * malloc/arena.c (new_heap): New memory_heap_new probe.
13853 (grow_heap): New memory_heap_more probe.
13854 (shrink_heap): New memory_heap_less probe.
13855 (heap_trim): New memory_heap_free probe.
13856 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13857 (systrim): New memory_sbrk_less probe.
13858 * manual/probes.texi: Document them.
13859
13860 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13861 * manual/probes.texi: Document it.
13862
13863 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13864 (__libc_realloc): Add memory_realloc_retry probe.
13865 (__libc_memalign): Add memory_memalign_retry probe.
13866 (__libc_valloc): Add memory_valloc_retry probe.
13867 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13868 (__libc_calloc): Add memory_calloc_retry probe.
13869 * manual/probes.texi: Document them.
13870
13871 * malloc/arena.c (get_free_list): Add probe
13872 memory_arena_reuse_free_list.
13873 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13874 and memory_arena_reuse.
13875 (arena_get2) [!PER_THREAD]: Likewise.
13876 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13877 memory_arena_reuse_realloc.
13878 * manual/probes.texi: Document them.
13879
13880 * malloc/malloc.c (__libc_free): Add
13881 memory_mallopt_free_dyn_thresholds probe.
13882 (__libc_mallopt): Add multiple memory_mallopt probes.
13883 * manual/probes.texi: Document them.
13884
13885 * malloc/malloc.c: Include stap-probe.h.
13886 (__libc_mallopt): Add memory_mallopt probe.
13887 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13888 * manual/probes.texi: New.
13889 * manual/Makefile (chapters): Add probes.
13890 * manual/threads.texi: Set next node.
13891
13892 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13893
13894 [BZ #15963, #13985]
13895 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13896 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13897 Add `Chinese' to `nan' entry name.
13898
13899 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13900
13901 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13902 (POLYNOMIAL): Likewise.
13903 (TAYLOR_SINCOS): Likewise.
13904 (TAYLOR_SLOW): Likewise.
13905 (__sin): Use TAYLOR_SINCOS.
13906 (__cos): Likewise.
13907 (slow): Use TAYLOR_SLOW.
13908 (sloww): Likewise.
13909 (bsloww): Likewise.
13910 (csloww): Likewise.
13911
13912 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13913
13914 * stdlib/strtod_l.c: Fix buffer overrun.
13915
13916 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13917
13918 * benchtests/Makefile (bench): Add sincos.
13919 * benchtests/bench-sincos.c: New file.
13920
13921 * math/libm-test.inc (cos_test_data): New test inputs.
13922 (sin_test_data): Likewise.
13923
13924 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13925 macro.
13926 (__sin): Use it.
13927 (__cos): Likewise.
13928 (slow1): Likewise.
13929 (slow2): Likewise.
13930 (sloww1): Likewise.
13931 (sloww2): Likewise.
13932 (bsloww1): Likewise.
13933 (bsloww2): Likewise.
13934 (cslow2): Likewise.
13935 (csloww1): Likewise.
13936 (csloww2): Likewise.
13937
13938 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13939 function.
13940 (__sin): Use it.
13941 (__cos): Likewise.
13942
13943 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13944 gotos.
13945 (__cos): Likewise.
13946
13947 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13948
13949 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13950 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13951 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13952 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13953 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13954 * elf/cache.c (print_entry): Handle the new cache flags.
13955
13956 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13957 Aldy Hernandez <aldyh@redhat.com>
13958
13959 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13960 Change condition to [_SOFT_FLOAT].
13961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13962 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13964 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13973 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13974 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13975 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13976 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13977 declaration.
13978
13979 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13980
13981 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13982 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13983 (__longjmp): Use LOAD_GP to load saved GPRs.
13984 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13985 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13986 (__sigsetjmp): Use SAVE_GP to save GPRs.
13987
13988 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13989 Do not append -msoft-float.
13990 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13991
13992 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13993
13994 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13995
13996 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13997
13998 [BZ #15966]
13999 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14000 (_FPU_GETCW): Use initial "__" on variable and field names but not
14001 on macro parameter name.
14002 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14003 parentheses around reference to macro parameter.
14004
14005 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14006
14007 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14008 prototype.
14009 (ctype_startup): Use uint32_t in cast and sizeof for
14010 ctype->charnames.
14011
14012 2013-09-11 Jia Liu <proljc@gmail.com>
14013
14014 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14015 __daddr_t_defined.
14016 [__FreeBSD__]: Likewise.
14017
14018 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14019
14020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14021 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14022 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14023 (strchr): Remove __strchr_sse42 ifunc selection.
14024 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14025 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14026
14027 2013-09-11 Will Newton <will.newton@linaro.org>
14028
14029 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14030 parameter to RES. Remove hardcoded 1000 value.
14031 * benchtests/bench-skeleton.c (main): Pass RES parameter
14032 to TIMING_INIT and multiply result by 1000.
14033
14034 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14035
14036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14037
14038 2013-09-11 Andreas Schwab <schwab@suse.de>
14039
14040 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14041 if not defined.
14042 (O_TMPFILE) [__USE_GNU]: Define.
14043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14044 Define.
14045
14046 2013-09-11 Will Newton <will.newton@linaro.org>
14047
14048 [BZ #15857]
14049 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14050 does not overflow.
14051
14052 2013-09-11 Will Newton <will.newton@linaro.org>
14053
14054 [BZ #15856]
14055 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14056 does not overflow.
14057
14058 2013-09-11 Will Newton <will.newton@linaro.org>
14059
14060 [BZ #15855]
14061 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14062 does not overflow.
14063
14064 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14065
14066 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14067 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14071
14072 2013-09-10 Allan McRae <allan@archlinux.org>
14073
14074 [BZ #15748]
14075 * manual/arith.texi (Parsing of Floats): Clarify
14076 cross-reference.
14077
14078 [BZ #15849]
14079 * manual/install.texi (Running make install): Mention
14080 --enable-pt-chown.
14081 * INSTALL: Regenerated.
14082
14083 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14084
14085 * csu/init-first.c (_init): Remove the !SHARED condition around
14086 FPU control word initialization.
14087 * elf/dl-support.c (_dl_fpu_control): New variable.
14088 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14089 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14090 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14091 * math/test-fpucw-static.c: New file.
14092 * math/test-fpucw-ieee.c: New file.
14093 * math/test-fpucw-ieee-static.c: New file.
14094 * math/Makefile (tests): Add `test-fpucw-ieee' and
14095 `$(tests-static)'.
14096 (tests-static): New variable.
14097 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14098 dependency to...
14099 [($(build-shared),yes)]
14100 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14101 ... this.
14102 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14103 New dependency.
14104
14105 2013-09-09 Allan McRae <allan@archlinux.org>
14106
14107 [BZ #15939]
14108 * manual/string.texi (Collation Functions): Fix typo in
14109 strcoll example.
14110 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14111
14112 [BZ #15893]
14113 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14114
14115 [BZ #15892]
14116 * libio/memstream.c (open_memstream): Fix memory leak.
14117 * libio/wmemstream.c (open_wmemstream): Likewise.
14118
14119 [BZ #15895]
14120 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14121
14122 2013-09-09 Will Newton <will.newton@linaro.org>
14123
14124 * malloc/Makefile: Add tst-realloc to tests.
14125 * malloc/tst-realloc.c: New file.
14126
14127 2013-09-09 Allan McRae <allan@archlinux.org>
14128
14129 [BZ #15844]
14130 * COPYING: Update from GNU website to fix FSF address.
14131 * COPYING.LIB: Likewise.
14132
14133 2013-09-06 David S. Miller <davem@davemloft.net>
14134
14135 * po/zh_TW.po: Update Chinese (traditional) translation from
14136 translation project.
14137
14138 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14139 Joseph Myers <joseph@codesourcery.com>
14140
14141 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14142 "localeinfo.h".
14143 (obstack_chunk_alloc): New macro.
14144 (obstack_chunk_free): Likewise.
14145 (record_offset): New function.
14146 (init_locale_data): Likewise.
14147 (align_locale_data): Likewise.
14148 (add_locale_empty): Likewise.
14149 (add_locale_raw_data): Likewise.
14150 (add_locale_raw_obstack): Likewise.
14151 (add_locale_string): Likewise.
14152 (add_locale_wstring): Likewise.
14153 (add_locale_uint32): Likewise.
14154 (add_locale_uint32_array): Likewise.
14155 (add_locale_char): Likewise.
14156 (start_locale_structure): Likewise.
14157 (end_locale_structure): Likewise.
14158 (start_locale_prelude): Likewise.
14159 (end_locale_prelude): Likewise.
14160 (write_locale_data): Take locale_file structure rather than an
14161 iovec.
14162 * locale/programs/locfile.h: Include "obstack.h".
14163 (struct locale_file): Change to store locale file contents instead
14164 of header.
14165 (init_locale_data): New prototype.
14166 (align_locale_data): Likewise.
14167 (add_locale_empty): Likewise.
14168 (add_locale_raw_data): Likewise.
14169 (add_locale_raw_obstack): Likewise.
14170 (add_locale_string): Likewise.
14171 (add_locale_wstring): Likewise.
14172 (add_locale_uint32): Likewise.
14173 (add_locale_uint32_array): Likewise.
14174 (add_locale_char): Likewise.
14175 (start_locale_structure): Likewise.
14176 (end_locale_structure): Likewise.
14177 (start_locale_prelude): Likewise.
14178 (end_locale_prelude): Likewise.
14179 (write_locale_data): Update prototype.
14180 * locale/programs/3level.h (struct TABLE): Remove result field.
14181 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14182 Use new locale_file interface.
14183 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14184 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14185 * locale/programs/ld-address.c (address_output): Use new
14186 locale_file interface.
14187 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14188 NO_ADD_LOCALE.
14189 (collate_finish): Don't call collseq_table_finalize.
14190 (collate_output): Use new locale_file interface.
14191 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14192 in file.
14193 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14194 (TABLE): Move defines earlier in file.
14195 (ELEMENT): Likewise.
14196 (DEFAULT): Likewise.
14197 (wctrans_table_add): Move macro and inline function earlier in
14198 file.
14199 (struct wctype_table): Move type earlier in file.
14200 (add_locale_wctype_table): New static prototype.
14201 (struct locale_ctype_t): Use logical types instead of struct iovec
14202 pointers for members.
14203 (ctype_output): Use new locale_file interface.
14204 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14205 new locale_file interface.
14206 (allocate_arrays): Update for use of new locale_file interface.
14207 * locale/programs/ld-identification.c (identification_output): Use
14208 new locale_file interface.
14209 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14210 * locale/programs/ld-messages.c (messages_output): Likewise.
14211 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14212 * locale/programs/ld-name.c (name_output): Likewise.
14213 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14214 * locale/programs/ld-paper.c (paper_output): Likewise.
14215 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14216 * locale/programs/ld-time.c (time_output): Likewise.
14217
14218 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14219
14220 * benchtests/Makefile: Add memrchr benchmark.
14221 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14222 benchmark as memrchr.
14223 * benchtests/bench-memrchr-ifunc.c: New file.
14224 * benchtests/bench-memrchr.c: New file.
14225
14226 2013-09-06 Will Newton <will.newton@linaro.org>
14227
14228 * benchtests/Makefile (string-bench): Add memcpy.
14229
14230 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14231 Cong Wang <amwang@redhat.com>
14232
14233 [BZ #15850]
14234 * sysdeps/unix/sysv/linux/bits/in.h
14235 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14236 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14237 before __USE_KERNEL_IPV6_DEFS uses.
14238 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14239 IPPROTO_BEETPH.
14240 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14241 sockaddr_in6, or ipv6_mreq.
14242
14243 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14244
14245 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14246 memory access for final bytes in some large inputs.
14247 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14248
14249 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14250
14251 * string/test-memrchr.c: New file.
14252 * string/test-memrchr-ifunc.c: New file.
14253 * string/Makefile: Add new memrchr testcase.
14254
14255 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14256
14257 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14258 fanotify_init returns EPERM.
14259
14260 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14261
14262 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14263 errors.
14264 (top level): Treat second token from macro or constant entries for
14265 allowed headers as allowed.
14266 * include/complex.h: Condition internal declarations on
14267 [!_ISOMAC].
14268 * include/fenv.h: Condition include of <stdbool.h> and internal
14269 declarations on [!_ISOMAC].
14270
14271 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14272
14273 [BZ #15923]
14274 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14275
14276 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14277
14278 * configure.in (--enable-versioning): Remove configure option.
14279 (libc_cv_asm_symver_directive): Remove configure test.
14280 (libc_cv_ld_version_script_option): Likewise.
14281 (VERSIONING): Remove variable and AC_SUBST.
14282 (DO_VERSIONING): Remove AC_DEFINE.
14283 * configure: Regenerated.
14284 * config.h.in (DO_VERSIONING): Remove macro.
14285 * Makerules [$(versioning) = yes]: Change conditionals to
14286 [$(build-shared) = yes].
14287 * config.make.in (versioning): Remove variable.
14288 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14289 [$(build-shared) = yes].
14290 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14291 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14292 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14293 [$(build-shared) = yes].
14294 * extra-lib.mk [$(versioning) = yes]: Likewise.
14295 * hurd/Makefile [$(versioning) = yes]: Likewise.
14296 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14297 [SHARED].
14298 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14299 [SHARED].
14300 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14301 [SHARED && !NO_HIDDEN].
14302 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14303 [SHARED].
14304 [SHARED && DO_VERSIONING]: Likewise..
14305 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14306 [$(build-shared) = yes].
14307 * manual/install.texi (--disable-versioning): Remove
14308 documentation.
14309 * INSTALL: Regenerated.
14310 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14311 to [SHARED].
14312 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14313 [$(build-shared) = yes].
14314 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14315 * sysdeps/i386/i686/multiarch/strstr-c.c
14316 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14317 [SHARED && !NO_HIDDEN].
14318 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14319 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14320 * sysdeps/powerpc/powerpc32/dl-machine.c
14321 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14322 * sysdeps/powerpc/powerpc32/sysdep.h
14323 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14324 to [SHARED && PIC && !NO_HIDDEN].
14325 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14326 conditional to [SHARED].
14327
14328 2013-09-04 Will Newton <will.newton@linaro.org>
14329
14330 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14331 * benchtests/bench-string.h: Include bench-timing.h instead
14332 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14333 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14334 call to HP_TIMING_DIFF_INIT.
14335 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14336 instead of hp-timing.h macros.
14337 * benchtests/bench-memchr.c: Likewise.
14338 * benchtests/bench-memcmp.c: Likewise.
14339 * benchtests/bench-memcpy.c: Likewise.
14340 * benchtests/bench-memmem.c: Likewise.
14341 * benchtests/bench-memmove.c: Likewise.
14342 * benchtests/bench-memset.c: Likewise.
14343 * benchtests/bench-rawmemchr.c: Likewise.
14344 * benchtests/bench-strcasecmp.c: Likewise.
14345 * benchtests/bench-strcasestr.c: Likewise.
14346 * benchtests/bench-strcat.c: Likewise.
14347 * benchtests/bench-strchr.c: Likewise.
14348 * benchtests/bench-strcmp.c: Likewise.
14349 * benchtests/bench-strcpy.c: Likewise.
14350 * benchtests/bench-strcpy_chk.c: Likewise.
14351 * benchtests/bench-strlen.c: Likewise.
14352 * benchtests/bench-strncasecmp.c: Likewise.
14353 * benchtests/bench-strncat.c: Likewise.
14354 * benchtests/bench-strncmp.c: Likewise.
14355 * benchtests/bench-strncpy.c: Likewise.
14356 * benchtests/bench-strnlen.c: Likewise.
14357 * benchtests/bench-strpbrk.c: Likewise.
14358 * benchtests/bench-strrchr.c: Likewise.
14359 * benchtests/bench-strspn.c: Likewise.
14360 * benchtests/bench-strstr.c: Likewise.
14361
14362 2013-09-04 Will Newton <will.newton@linaro.org>
14363
14364 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14365
14366 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14367
14368 [BZ #15427]
14369 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14370 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14371 * math/libm-test.inc (lgamma_test_data): Add more tests.
14372 * sysdeps/i386/fpu/libm-test-ulps: Update.
14373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14374
14375 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14376
14377 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14378 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14379 Add ifunc.
14380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14381 Add strcmp-sse2-unaligned
14382 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14383
14384 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14385
14386 * Versions.def (libc): Add GLIBC_2.19.
14387
14388 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14389
14390 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14391 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14392
14393 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14394
14395 [BZ #14155]
14396 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14397 intermediate calculations in recurrence.
14398 (__ieee754_ynf): Likewise.
14399 * math/libm-test.inc (jn_test_data): Do not allow spurious
14400 underflow exception. Add more tests.
14401 (yn_test_data): Add more tests.
14402 * sysdeps/i386/fpu/libm-test-ulps: Update.
14403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14404
14405 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14406
14407 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14408
14409 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14410
14411 * csu/init-first.c: Fix then/than typos.
14412 * locale/programs/ld-collate.c: Likewise.
14413 * locale/programs/linereader.h: Likewise.
14414 * manual/charset.texi: Likewise.
14415 * manual/filesys.texi: Likewise.
14416 * manual/stdio.texi: Likewise.
14417 * manual/string.texi: Likewise.
14418 * stdlib/fmtmsg.c: Likewise.
14419 * sysdeps/i386/stpncpy.S: Likewise.
14420 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14421 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14422 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14423 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14424
14425 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14426
14427 * elf/dl-open.c: Fix typos.
14428 * iconvdata/gbbig5.c: Likewise.
14429 * iconvdata/iso-2022-jp.c: Likewise.
14430 * iconv/gconv_int.h: Likewise.
14431 * iconv/loop.c: Likewise.
14432 * nis/rpcsvc/nis.h: Likewise.
14433 * resolv/ns_name.c: Likewise.
14434 * stdio-common/vfscanf.c: Likewise.
14435 * streams/stropts.h: Likewise.
14436 * sunrpc/rpc_thread.c: Likewise.
14437 * sysdeps/i386/strpbrk.S: Likewise.
14438 * sysdeps/ieee754/k_standard.c: Likewise.
14439 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14440 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14441 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14442 * sysdeps/mach/hurd/profil.c: Likewise.
14443 * sysdeps/s390/dl-procinfo.h: Likewise.
14444 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14445 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14446 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14447 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14448 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14449
14450 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14451
14452 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14453 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14454
14455 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14456
14457 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14458 aix specific files.
14459 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14460 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14461 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14462 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14463 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14464 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14465 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14466 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14467
14468 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14469 Roland McGrath <roland@hack.frob.com>
14470
14471 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14472 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14473
14474 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14475
14476 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14477 __executable_start symbol instead of _start.
14478
14479 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14480
14481 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14482 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14483 Move macros to...
14484 * sysdeps/gnu/ldsodefs.h: ... this new file.
14485
14486 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14487 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14488 instead of ELFOSABI_LINUX.
14489
14490 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14491 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14492 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14493 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14494 Likewise.
14495 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14496 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14497 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14498 Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14500 (ibm_extended_long_double): Add ieee_nan member.
14501 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14502 (do_test): New function.
14503
14504 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14505 TEST_TRUNC.
14506 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14507 functions, renamed from truncdfsf_test, trunctfsf_test,
14508 trunctfdf_test.
14509 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14510 functions.
14511 (do_test): Run all these.
14512
14513 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14514
14515 * argp/argp-help.c: Fix typos.
14516 * argp/argp-parse.c: Likewise.
14517 * debug/backtracesyms.c: Likewise.
14518 * elf/elf.h: Likewise.
14519 * malloc/malloc.c: Likewise.
14520 * nis/nis_print.c: Likewise.
14521 * resolv/res_comp.c: Likewise.
14522 * stdlib/stdlib.h: Likewise.
14523 * sunrpc/clnt_tcp.c: Likewise.
14524 * sunrpc/clnt_udp.c: Likewise.
14525 * sunrpc/clnt_unix.c: Likewise.
14526 * sysdeps/unix/bsd/ptsname.c: Likewise.
14527 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14528 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14530 Likewise.
14531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14532 Likewise.
14533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14534 Likewise.
14535 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14536
14537 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14538
14539 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14541
14542 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14543
14544 [BZ #15897]
14545 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14546 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14547 ($(objpfx)bug-dl-leaf): New rule.
14548 ($(objpfx)bug-dl-leaf.so): Likewise.
14549 ($(objpfx)bug-dl-leaf.out): Likewise.
14550 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14551 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14552 * dlfcn/bug-dl-leaf.c: New test.
14553 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14554 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14555 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14556 (dlclose): Likewise.
14557 (dlmopen): Likewise.
14558
14559 2013-08-27 Roland McGrath <roland@hack.frob.com>
14560
14561 * include/netdb.h [!_ISOMAC]:
14562 Don't include <tls.h>.
14563 (h_errno, __libc_h_errno): Move declaration and macros out of
14564 [_LIBC_REENTRANT].
14565
14566 * include/resolv.h [_RESOLV_H_]:
14567 Don't include <tls.h>.
14568 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14569 * resolv/res_libc.c: Don't include <tls.h>.
14570 (_res): Use __attribute__ ((nocommon)) in place of
14571 __attribute__ ((section (".bss"))).
14572
14573 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14574 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14575
14576 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14577
14578 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14579 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14580
14581 * resolv/res_mkquery.c: Include <sys/time.h>.
14582
14583 * inet/ifreq.c: Moved to ...
14584 * sysdeps/unix/ifreq.c: ... here.
14585 * inet/ifreq.c: New file, true stub version.
14586
14587 * socket/sa_len.c: New file.
14588 * socket/Makefile (aux): Add it.
14589 * sysdeps/unix/sysv/linux/Makefile
14590 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14591 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14592 and #include <socket/sa_len.c>.
14593 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14594 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14595
14596 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14597 * bits/socket.h: ... here.
14598
14599 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14600 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14601 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14602
14603 2013-08-27 Andreas Schwab <schwab@suse.de>
14604
14605 [BZ #15736]
14606 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14607 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14608 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14609 * string/test-strcasecmp.c (test_main): Run tests in several
14610 locales.
14611 * string/test-strncasecmp.c (test_main): Likewise.
14612
14613 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14614 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14615 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14617 (__strncasecmp_ssse3) [PIC]: Likewise.
14618
14619 2013-08-26 Roland McGrath <roland@hack.frob.com>
14620
14621 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14622
14623 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14624 instead of explicitly declaring xdecrypt.
14625 * nis/nss_nis/nis-publickey.c: Likewise.
14626
14627 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14628
14629 [BZ #15890]
14630 * nscd/aicache.c: Include res_hconf.h.
14631 (addhstaiX): Initialize res_hconf.
14632
14633 2013-08-26 Andreas Schwab <schwab@suse.de>
14634
14635 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14636 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14637
14638 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14639
14640 * nscd/aicache.c (addhstaiX): Fix indentation.
14641
14642 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14643
14644 * configure.ac: Quote $build_pt_chown test.
14645 * configure: Regenerated.
14646
14647 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14648
14649 [BZ #15532]
14650 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14651 * math/s_cexpf.c (__cexpf): Likewise.
14652 * math/s_cexpl.c (__cexpl): Likewise.
14653 * math/libm-test.inc (cexp_test_data): Correct expected return
14654 value for NaN + i0. Add another test.
14655
14656 2013-08-22 David S. Miller <davem@davemloft.net>
14657
14658 * po/ca.po: Update Catalan translation from translation project.
14659 * po/uk.po: Add Ukrainian translations from translation project.
14660
14661 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14662
14663 [BZ #15797]
14664 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14665 is infinite, not alongside NaN test.
14666 * math/s_fdimf.c (__fdimf): Likewise.
14667 * math/s_fdiml.c (__fdiml): Likewise.
14668 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14669 errno is unchanged.
14670
14671 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14672
14673 * argp/argp-help.c: Fix typos.
14674 * crypt/speeds.c: Likewise.
14675 * csu/check_fds.c: Likewise.
14676 * elf/dl-load.c: Likewise.
14677 * elf/dl-open.c: Likewise.
14678 * elf/reldep3.c: Likewise.
14679 * elf/reldep.c: Likewise.
14680 * elf/sprof.c: Likewise.
14681 * iconv/iconv_charmap.c: Likewise.
14682 * iconv/skeleton.c: Likewise.
14683 * iconv/strtab.c: Likewise.
14684 * io/lockf64.c: Likewise.
14685 * libio/libioP.h: Likewise.
14686 * resolv/gai_notify.c: Likewise.
14687 * resolv/ns_name.c: Likewise.
14688 * resolv/ns_samedomain.c: Likewise.
14689 * resolv/res_send.c: Likewise.
14690 * stdlib/random.c: Likewise.
14691 * sunrpc/rpc/xdr.h: Likewise.
14692 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14693 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14694 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14695 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14696 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14697 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14699 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14700 * sysdeps/mach/hurd/check_fds.c: Likewise.
14701 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14702 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14703 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14704 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14705 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14706 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14707 * sysdeps/pthread/aio_notify.c: Likewise.
14708 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14709 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14710 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14711 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14712 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14713
14714 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14715
14716 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14717 version if bit_Slow_SSE4_2 is set.
14718 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14719 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14720
14721 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14722
14723 [BZ #15867]
14724 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14725 trampoline stack frame information.
14726 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14727 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14728 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14729 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14730 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14731 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14732 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14733 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14734 sa_flags value.
14735 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14736 interrupting a syscall and set with option SA_SIGINFO.
14737
14738 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14739
14740 [BZ #15531]
14741 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14742 argument is infinite.
14743 * math/s_cprojf.c (__cprojf): Likewise.
14744 * math/s_cprojl.c (__cprojl): Likewise.
14745 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14746 * math/libm-test.inc (cproj_test_data): Add more tests.
14747
14748 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14749
14750 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14751 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14752 size. Use __ffs to determine corresponding shift.
14753
14754 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14755 Roland McGrath <roland@hack.frob.com>
14756
14757 * Makefile (INSTALL): Remove trailing blank lines from output of
14758 makeinfo.
14759
14760 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14761
14762 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14763 Align 32 bit compat elf_greg to 8 bytes.
14764
14765 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14766
14767 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14768
14769 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14770
14771 * string/strcoll_l.c (coll_seq): New structure.
14772 (get_next_seq_cached): New function.
14773 (get_next_seq): New function.
14774 (do_compare): New function.
14775 (STRCOLL): Use GNU style definition. Simplify implementation
14776 by using get_next_seq, get_next_seq_cached and do_compare.
14777
14778 2013-08-16 Florian Weimer <fweimer@redhat.com>
14779
14780 [BZ #14699]
14781 CVE-2013-4237
14782 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14783 member.
14784 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14785 member.
14786 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14787 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14788 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14789 conditional.
14790 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14791 GETDENTS_64BIT_ALIGNED.
14792 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14793 * manual/filesys.texi (Reading/Closing Directory): Document
14794 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14795 strongly.
14796 * manual/conf.texi (Limits for Files): Add portability note to
14797 NAME_MAX, PATH_MAX.
14798 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14799
14800 2013-08-13 Andreas Schwab <schwab@suse.de>
14801
14802 [BZ #15749]
14803 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14804 of fabs.
14805 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14806 LDBL_MAX_EXP >= 16384]: Add tests for it.
14807
14808 2013-08-12 David S. Miller <davem@davemloft.net>
14809
14810 * version.h (RELEASE): Set to "development".
14811 (VERSION): Set to "2.18.90".
14812 * NEWS: Add 2.19 section.
14813
14814 2013-08-03 David S. Miller <davem@davemloft.net>
14815
14816 * po/ko.po: Update Korean translation from translation project.
14817
14818 2013-08-01 David S. Miller <davem@davemloft.net>
14819
14820 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14821 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14822 Bilka.
14823
14824 2013-07-30 David S. Miller <davem@davemloft.net>
14825
14826 * po/fr.po: Update French translation from translation project.
14827
14828 2013-07-28 David S. Miller <davem@davemloft.net>
14829
14830 * po/cs.po: Update Czech translation from translation project.
14831
14832 * po/sv.po: Update Swedish translation from translation project.
14833
14834 2013-07-27 David S. Miller <davem@davemloft.net>
14835
14836 * po/eo.po: Update Esperanto translation from translation project.
14837
14838 * po/vi.po: Update Vietnamese translation from translation project.
14839
14840 * po/de.po: Update German translation from translation project.
14841
14842 2013-07-26 David S. Miller <davem@davemloft.net>
14843
14844 * po/bg.po: Update Bulgarian translation from translation project.
14845
14846 * po/nl.po: Update Dutch translation from translation project.
14847 * po/pl.po: Update Polish translation from translation project.
14848 * po/ru.po: Update Russian translation from translation project.
14849
14850 2013-07-24 David S. Miller <davem@davemloft.net>
14851
14852 * po/libc.pot: Update.
14853
14854 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14855
14856 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14857 variable page size.
14858 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14859 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14860 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14861
14862 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14863
14864 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14865
14866 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14867 Andreas Schwab <schwab@suse.de>
14868 Roland McGrath <roland@hack.frob.com>
14869 Joseph Myers <joseph@codesourcery.com>
14870 Carlos O'Donell <carlos@redhat.com>
14871
14872 [BZ #15755]
14873 * config.h.in: Define HAVE_PT_CHOWN.
14874 * config.make.in (build-pt-chown): New variable.
14875 * configure.in (--enable-pt_chown): New configure option.
14876 * configure: Regenerate.
14877 * login/Makefile: Include Makeconfig. Build pt_chown only if
14878 build-pt-chown is enabled.
14879 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14880 pt_chown to fix pty ownership.
14881 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14882 CLOSE_ALL_FDS.
14883 * manual/install.texi (Configuring and compiling): Mention
14884 --enable-pt_chown. Add @findex for grantpt.
14885 * INSTALL: Regenerate.
14886
14887 2013-07-20 David S. Miller <davem@davemloft.net>
14888
14889 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14890 difference between 32-bit and 64-bit.
14891
14892 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14893
14894 [BZ #15711]
14895 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14896 Avoid system header dependency with -ffreestanding.
14897 ($(objpfx)bits/syscall%d): Likewise.
14898
14899 2013-07-13 David S. Miller <davem@davemloft.net>
14900
14901 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14902 underflows from atanl/atan2l due to bug 15319.
14903 (casinh_test_data): Likewise.
14904
14905 2013-07-07 David S. Miller <davem@davemloft.net>
14906
14907 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14908
14909 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14910
14911 * sysdeps/i386/fpu/libm-test-ulps: Update.
14912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14913
14914 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14915
14916 * configure.in (--enable-lock-elision): Fix message text.
14917 * INSTALL: Regenerate.
14918 * configure: Regenerate.
14919
14920 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14921
14922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14923
14924 2013-07-03 Andreas Jaeger <aj@suse.de>
14925
14926 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14927 define.
14928 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14929 (ptrace_peeksiginfo_args): Add.
14930 (__ptrace_peeksiginfo_flags): Add.
14931 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14932 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14933 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14934
14935 2013-07-03 Allan McRae <allan@archlinux.org>
14936
14937 * sysdeps/i386/fpu/libm-test-ulps: Update.
14938
14939 2013-07-02 David S. Miller <davem@davemloft.net>
14940
14941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14942
14943 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14944
14945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14946
14947 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14948
14949 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14951
14952 2013-07-02 Andi Kleen <ak@linux.intel.com>
14953
14954 * config.h.in (ENABLE_LOCK_ELISION): Add.
14955 * configure.in (--enable-lock-elision): Add option.
14956 * manual/install.texi: Document --enable lock elision.
14957 * configure: Regenerate
14958 * INSTALL: Regenerate.
14959
14960 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14961
14962 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14963 SSE4.2 strcasecmp for libc.a.
14964 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14965
14966 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14967
14968 [BZ #13304]
14969 * soft-fp/op-common.h (_FP_FMA): New macro.
14970 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14971 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14972 (_FP_MUL_MEAT_1_imm): ... here.
14973 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14974 (_FP_MUL_MEAT_1_wide): ... here.
14975 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14976 (_FP_MUL_MEAT_1_hard): ... here.
14977 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14978 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14979 (_FP_MUL_MEAT_2_wide): ... here.
14980 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14981 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14982 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14983 (_FP_MUL_MEAT_2_gmp): ... here.
14984 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14985 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14986 (_FP_MUL_MEAT_4_wide): ... here.
14987 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14988 (_FP_MUL_MEAT_4_gmp): ... here.
14989 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14990 (_FP_WFRACBITS_DW_S): Likewise.
14991 (_FP_WFRACXBITS_DW_S): Likewise.
14992 (_FP_HIGHBIT_DW_S): Likewise.
14993 (FP_FMA_S): Likewise.
14994 (_FP_FRAC_HIGH_DW_S): Likewise.
14995 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14996 (_FP_WFRACBITS_DW_D): Likewise.
14997 (_FP_WFRACXBITS_DW_D): Likewise.
14998 (_FP_HIGHBIT_DW_D): Likewise.
14999 (FP_FMA_D): Likewise.
15000 (_FP_FRAC_HIGH_DW_D): Likewise.
15001 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15002 (_FP_WFRACBITS_DW_E): Likewise.
15003 (_FP_WFRACXBITS_DW_E): Likewise.
15004 (_FP_HIGHBIT_DW_E): Likewise.
15005 (FP_FMA_E): Likewise.
15006 (_FP_FRAC_HIGH_DW_E): Likewise.
15007 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15008 (_FP_WFRACBITS_DW_Q): Likewise.
15009 (_FP_WFRACXBITS_DW_Q): Likewise.
15010 (_FP_HIGHBIT_DW_Q): Likewise.
15011 (FP_FMA_Q): Likewise.
15012 (_FP_FRAC_HIGH_DW_Q): Likewise.
15013 * soft-fp/fmasf4.c: New file.
15014 * soft-fp/fmadf4.c: Likewise.
15015 * soft-fp/fmatf4.c: Likewise.
15016
15017 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15018
15019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15020 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15021 Silvermont.
15022 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15023 macro.
15024 (index_Slow_SSE4_2): Likewise.
15025 (index_Prefer_PMINUB_for_stringop): Likewise.
15026 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15027 bit_Slow_SSE4_2 is set.
15028 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15029 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15030
15031 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15032
15033 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15034 rtld_global._dl_hwcap2.
15035 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15036 POWER8.
15037 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15038 POWER8 feature descriptions defined in _dl_hwcap2.
15039 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15040 string handling for POWER8 feature bits.
15041 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15042 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15043 _dl_powerpc_cap_flags.
15044 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15045 * sysdeps/powerpc/rtld-global-offsets.sym
15046 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15047 _dl_hwcap2 in the rtld_global_ro structure.
15048
15049 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15050
15051 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15052 hardware capabilities in support of AT_HWCAP2.
15053 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15054 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15055 GLRO(dl_hwcap2).
15056 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15057 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15058 explicitly the unknown a_type display mechanism is used.
15059 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15060 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15061 struct member.
15062 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15063 to macro prototype for AT_HWCAP2 support.
15064 * sysdeps/i386/dl-procinfo.h: Likewise.
15065 * sysdeps/s390/dl-procinfo.h: Likewise.
15066 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15067 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15068 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15069 return -1 for unknown a_type display fallback.
15070 * sysdeps/sparc/dl-procinfo.h: Likewise.
15071 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15072 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15073
15074 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15075
15076 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15077 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15078
15079 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15080
15081 [BZ #12492]
15082 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15083 mprotect making __stack_prot writable.
15084
15085 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15086 Joseph Myers <joseph@codesourcery.com>
15087
15088 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15089 as being properly aligned.
15090
15091 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15092
15093 * dlfcn/modstatic5.c: New file.
15094 * dlfcn/tststatic5.c: New file.
15095 * dlfcn/Makefile (tests): Add tststatic5.
15096 (tests-static): Likewise.
15097 (modules-names): Add modstatic5.
15098 (tststatic5-ENV): New variable.
15099 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15100
15101 [BZ #15022]
15102 * elf/dl-support.c (_dl_main_map): New variable.
15103 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15104 (_dl_nns, _dl_load_adds): Set to 1.
15105 (_dl_initial_searchlist): Refer to _dl_main_map.
15106 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15107 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15108 call to _dl_get_origin.
15109 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15110 around call_map.
15111 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15112 * dlfcn/modstatic3.c: New file.
15113 * dlfcn/tststatic3.c: New file.
15114 * dlfcn/tststatic4.c: New file.
15115 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15116 (tests-static): Likewise.
15117 (modules-names): Add modstatic3.
15118 (tststatic3-ENV, tststatic4-ENV): New variables.
15119 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15120 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15121
15122 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15123
15124 * configure.in (CC): Require GCC version 4.4 or later.
15125 * configure: Regenerated.
15126 * manual/install.texi (Tools for Compilation): Update GCC version
15127 requirement.
15128 * INSTALL: Regenerated.
15129
15130 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15131
15132 [BZ #15674]
15133 * string/test-memcmp.c (check2): New.
15134 (main): Call check2.
15135
15136 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15137
15138 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15139
15140 [BZ #15022]
15141 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15142 over to...
15143 (dl_open_worker) [!SHARED]: ... here.
15144
15145 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15146
15147 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15148
15149 2013-06-25 Richard Henderson <rth@redhat.com>
15150
15151 * locale/programs/locarchive.c: Include <libc-internal.h>
15152
15153 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15154
15155 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15156 trailing whitespace removed.
15157
15158 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15159
15160 [BZ #10283]
15161 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15162 * locale/programs/locarchive.c: Include libc-mmap.h.
15163 (prepare_address_space): Take two new outputs (the mmap base and len).
15164 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15165 values.
15166 (create_archive): Declare new mmap base and len values for
15167 prepare_address_space, and store the result in ah.
15168 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15169 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15170 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15171 Declare new mmap base and len values for
15172 prepare_address_space, and store the result in new_ah.
15173 (open_archive): Declare new mmap base and len values for
15174 prepare_address_space, and store the result in ah.
15175 (close_archive): If ah->mmap_base is not NULL, use that and
15176 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15177 * sysdeps/generic/libc-mmap.h: New file.
15178
15179 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15180
15181 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15182 (ALIGN_UP): Likewise.
15183 (PTR_ALIGN_DOWN): Likewise.
15184 (PTR_ALIGN_UP): Likewise.
15185
15186 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15187
15188 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15189 entry mapped to PPC_PLATFORM_POWER8.
15190 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15191 POWER8.
15192 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15193 (_dl_string_platform): Add case for exporting platform position for
15194 POWER8.
15195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15196 search path to sysdeps/powerpc/powerpc32/power8 directory.
15197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15198 search path to sysdeps/powerpc/powerpc64/power8 directory.
15199 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15200 power7 directories.
15201 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15202 power7 directories.
15203
15204 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15205
15206 * INSTALL: Regenerate.
15207
15208 * nscd/connections.c (nscd_init): Fix comment.
15209
15210 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15211
15212 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15213
15214 [BZ #15667]
15215 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15216 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15217
15218 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15219
15220 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15221 DL_DST_REQ_STATIC.
15222 (DL_DST_REQ_STATIC): Remove macro.
15223
15224 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15225
15226 [BZ #7006]
15227 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15228 with a shift of 0 bits.
15229
15230 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15231
15232 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15233 $(tststatic-ENV).
15234
15235 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15236
15237 [BZ #15655]
15238 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15239
15240 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15241
15242 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15243 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15244 accepts -fno-tree-loop-distribute-patterns.
15245 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15246 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15247 recursive call.
15248 * string/memset.c (memset): Likewise.
15249 * string/test-memmove.c (simple_memmove): Disable loop transformation
15250 to library calls.
15251 * string/test-memset.c (simple_memset): Likewise.
15252 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15253 * benchtests/bench-memset.c (simple_memset): Likewise.
15254 * configure: Regenerated.
15255
15256 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15257
15258 * math/test-misc.c (main): Ignore fesetround failure when failures
15259 of subsequent rounding tests would be ignored.
15260
15261 [BZ #15654]
15262 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15263 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15264 * math/fegetenv.c (__fegetenv): Return 0.
15265 * math/fegetexcept.c (fegetexcept): Return 0.
15266 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15267 FE_TONEAREST.
15268 * math/feholdexcpt.c (feholdexcept): Return 0.
15269 * math/fesetenv.c (__fesetenv): Return 0.
15270 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15271 argument FE_TONEAREST.
15272 * math/feupdateenv.c (__feupdateenv): Return 0.
15273 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15274
15275 2013-06-18 Roland McGrath <roland@hack.frob.com>
15276
15277 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15278 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15279 ($(objpfx)rtld-%.os rules): Use them.
15280
15281 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15282
15283 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15284 fields.
15285
15286 2013-06-17 Roland McGrath <roland@hack.frob.com>
15287
15288 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15289 length of target pattern, then descending length of dependency pattern.
15290 * configure.in (AWK): Require gawk 3.1.2 or newer.
15291 * manual/install.texi (Tools for Compilation): Say that we do.
15292 * configure: Regenerated.
15293
15294 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15295 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15296 * scripts/sysd-rules.awk: ... this new script.
15297 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15298 than a glob-style pattern.
15299
15300 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15301
15302 * math/test-misc.c (main): Do not treat incorrectly rounded
15303 conversions as failure unless ROUNDING_TESTS passes.
15304
15305 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15306
15307 [BZ #15631]
15308 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15309 restore exception state around main square root computation, then
15310 check for inexactness explicitly.
15311
15312 * math/libm-test.inc (fma_test_data): Add another test.
15313
15314 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15315
15316 * manual/threads.texi (Non-POSIX Extensions): New document
15317 node. Document pthread_getattr_default_np and
15318 pthread_setattr_default_np.
15319
15320 * Versions.def (libpthread): Add GLIBC_2.18.
15321 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15323 Likewise.
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15325 Likewise.
15326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15327 Likewise.
15328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15329 Likewise.
15330 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15331 Likewise.
15332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15333 Likewise.
15334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15335 Likewise.
15336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15337 Likewise.
15338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15339 Likewise.
15340
15341 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15342
15343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15344 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15345
15346 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15347 H.J. Lu <hjl.tools@gmail.com>
15348
15349 [BZ #15627]
15350 * sysdeps/x86_64/rtld-memset.c: Remove file.
15351 * sysdeps/x86_64/rtld-memset.S: New file.
15352
15353 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15354
15355 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15356 (test_in_one_mode): Take arguments for whether the rounding mode
15357 is supported for each floating-point type.
15358 (do_test): Pass new arguments to test_in_one_mode using
15359 ROUNDING_TESTS.
15360
15361 2013-06-13 Roland McGrath <roland@hack.frob.com>
15362
15363 * posix/tst-waitid.c (do_test): Distinguish different instances of
15364 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15365 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15366 before entering the kernel for waitpid.
15367
15368 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15369
15370 * NEWS: Fix note on clock function precision. Text by Roland
15371 McGrath.
15372
15373 2013-06-13 Roland McGrath <roland@hack.frob.com>
15374
15375 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15376 it into place only when and if the sanity check passes.
15377
15378 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15379
15380 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15381 output for whether conversion result is exact. Take argument
15382 indicating whether type is IBM long double.
15383 (round_for_all): Change need_exact field to ibm_ld.
15384 * stdlib/tst-strtod-round.c (struct exactness): New type.
15385 (struct test): Change bool ld_ok field to struct exactness exact.
15386 (TEST): Update all definitions for change to field.
15387 (tests): Regenerate array contents.
15388 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15389 field value. Check for IBM long double here.
15390 (do_test): Update calls to test_in_one_mode.
15391
15392 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15393
15394 [BZ #12515]
15395 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15396 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15397
15398 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15399
15400 [BZ #15605]
15401 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15402 generated by the compiler on loop optimizations.
15403 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15404 general definitions.
15405
15406 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15407
15408 * math/bug-nextafter.c: Include <math-tests.h>.
15409 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15410 the relevant type.
15411 * math/bug-nexttoward.c: Include <math-tests.h>.
15412 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15413 the relevant type.
15414 * math/test-misc.c: Include <math-tests.h>.
15415 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15416 the relevant type.
15417
15418 2013-06-12 Andreas Jaeger <aj@suse.de>
15419
15420 * po/ia.po: Update Interlingua translation from translation
15421 project.
15422
15423 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15424
15425 * include/fenv.h: Include stdbool.h.
15426 (struct rm_ctx): New structure.
15427 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15428 Define macro.
15429 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15430 (SET_RESTORE_ROUNDF): Likewise.
15431 (SET_RESTORE_ROUNDL): Likewise.
15432 (SET_RESTORE_ROUND_NOEX): Likewise.
15433 (SET_RESTORE_ROUND_NOEXF): Likewise.
15434 (SET_RESTORE_ROUND_NOEXL): Likewise.
15435 (SET_RESTORE_ROUND_53BIT): Likewise.
15436 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15437 (libc_feresetround_noexf_ctx): Likewise.
15438 (libc_feresetround_noexl_ctx): Likewise.
15439 (libc_feholdsetround_53bit_ctx): Likewise.
15440 (libc_feresetround_53bit_ctx): Likewise.
15441 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15442 (libc_feholdexcept_setround_sse_ctx): New function.
15443 (libc_fesetenv_sse_ctx): Likewise.
15444 (libc_feupdateenv_sse_ctx): Likewise.
15445 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15446 (libc_feholdexcept_setround_387_ctx): Likewise.
15447 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15448 (libc_feholdsetround_387_prec_ctx): Likewise.
15449 (libc_feholdsetround_387_ctx): Likewise.
15450 (libc_feholdsetround_387_53bit_ctx): Likewise.
15451 (libc_feholdsetround_sse_ctx): Likewise.
15452 (libc_feresetround_sse_ctx): Likewise.
15453 (libc_feresetround_387_ctx): Likewise.
15454 (libc_feupdateenv_387_ctx): Likewise.
15455 (libc_feholdexcept_setroundf_ctx): Define macro.
15456 (libc_fesetenvf_ctx): Likewise.
15457 (libc_feupdateenvf_ctx): Likewise.
15458 (libc_feholdsetroundf_ctx): Likewise.
15459 (libc_feresetroundf_ctx): Likewise.
15460 (libc_feholdexcept_setround_ctx): Likewise.
15461 (libc_fesetenv_ctx): Likewise.
15462 (libc_feupdateenv_ctx): Likewise.
15463 (libc_feholdsetround_ctx): Likewise.
15464 (libc_feresetround_ctx): Likewise.
15465 (libc_feholdexcept_setroundl_ctx): Likewise.
15466 (libc_feupdateenvl_ctx): Likewise.
15467 (libc_feholdsetroundl_ctx): Likewise.
15468 (libc_feresetroundl_ctx): Likewise.
15469 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15470 (libc_feresetround_53bit_ctx): Likewise.
15471
15472 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15473
15474 * locale/iso-639.def: Convert to UTF-8.
15475
15476 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15477
15478 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15479 (EXCEPTION_TESTS_double): Likewise.
15480 (EXCEPTION_TESTS_long_double): Likewise.
15481 (EXCEPTION_TESTS): Likewise.
15482 * math/libm-test.inc (test_exceptions): Only test exceptions if
15483 EXCEPTION_TESTS (FLOAT).
15484
15485 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15486
15487 * benchtests/Makefile (string-bench): Add strcpy_chk and
15488 stpcpy_chk.
15489 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15490 * benchtests/bench-stpcpy_chk.c: New file.
15491 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15492 * benchtests/bench-strcpy_chk.c: New file.
15493 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15494 code.
15495 (do_test): Likewise.
15496
15497 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15498
15499 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15500 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15501 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15502 with tabs where appropriate.
15503 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15504 dl-procinfo.h.
15505 [PPC_PLATFORM_PPC440]: Likewise.
15506 [PPC_PLATFORM_PPC464]: Likewise.
15507 [PPC_PLATFORM_PPC476]: Likewise.
15508 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15509 ppc464, and ppc476 platform strings merging from ports/
15510 dl-procinfo.h.
15511
15512 2013-06-11 Andreas Schwab <schwab@suse.de>
15513
15514 [BZ #14991]
15515 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15516 (from_ucs4_idx): Regenerate.
15517 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15518 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15519 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15520 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15521 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15522 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15523 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15524 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15525 from FROM_LOOP and TO_LOOP specific macros.
15526 (BODY): Handle combining characters.
15527 * iconvdata/BIG5HKSCS.irreversible: Update.
15528 * iconvdata/BIG5HKSCS.precomposed: New file.
15529 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15530 characters.
15531 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15532
15533 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15534
15535 * include/sys/time.h: Fix indentation and add copyright header.
15536
15537 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15538 (do_test): Likewise.
15539 * string/test-memchr.c (do_one_test): Likewise.
15540 (do_test): Likewise.
15541 * string/test-memcmp.c (do_one_test): Likewise.
15542 (do_test): Likewise.
15543 * string/test-memcpy.c (do_one_test): Likewise.
15544 (do_test): Likewise.
15545 * string/test-memmem.c (do_one_test): Likewise.
15546 (do_test): Likewise.
15547 (do_random_tests): Likewise.
15548 * string/test-memmove.c (do_one_test): Likewise.
15549 (do_test): Likewise.
15550 * string/test-memset.c (do_one_test): Likewise.
15551 (do_test): Likewise.
15552 * string/test-rawmemchr.c (do_one_test): Likewise.
15553 (do_test): Likewise.
15554 * string/test-strcasecmp.c (do_one_test): Likewise.
15555 (do_test): Likewise.
15556 * string/test-strcasestr.c (do_one_test): Likewise.
15557 (do_test): Likewise.
15558 * string/test-strcat.c (do_one_test): Likewise.
15559 (do_test): Likewise.
15560 * string/test-strchr.c (do_one_test): Likewise.
15561 (do_test): Likewise.
15562 * string/test-strcmp.c (do_one_test): Likewise.
15563 (do_test): Likewise.
15564 * string/test-strcpy.c (do_one_test): Likewise.
15565 (do_test): Likewise.
15566 * string/test-string.h: Likewise.
15567 (test_init): Likewise.
15568 * string/test-strlen.c (do_one_test): Likewise.
15569 (do_test): Likewise.
15570 * string/test-strncasecmp.c (do_one_test): Likewise.
15571 (do_test): Likewise.
15572 * string/test-strncat.c (do_one_test): Likewise.
15573 (do_test): Likewise.
15574 * string/test-strncmp.c (do_one_test): Likewise.
15575 (do_test_limit): Likewise.
15576 (do_test): Likewise.
15577 * string/test-strncpy.c (do_one_test): Likewise.
15578 (do_test): Likewise.
15579 * string/test-strnlen.c (do_one_test): Likewise.
15580 (do_test): Likewise.
15581 * string/test-strpbrk.c (do_one_test): Likewise.
15582 (do_test): Likewise.
15583 * string/test-strrchr.c (do_one_test): Likewise.
15584 (do_test): Likewise.
15585 * string/test-strspn.c (do_one_test): Likewise.
15586 (do_test): Likewise.
15587 * string/test-strstr.c (do_one_test): Likewise.
15588 (do_test): Likewise.
15589
15590 * benchtests/Makefile (string-bench): Add string benchmarks.
15591 * benchtests/bench-bcopy-ifunc.c: New file.
15592 * benchtests/bench-bcopy.c: New file.
15593 * benchtests/bench-bzero-ifunc.c: New file.
15594 * benchtests/bench-bzero.c: New file.
15595 * benchtests/bench-memccpy-ifunc.c: New file.
15596 * benchtests/bench-memccpy.c: New file.
15597 * benchtests/bench-memchr-ifunc.c: New file.
15598 * benchtests/bench-memchr.c: New file.
15599 * benchtests/bench-memcmp-ifunc.c: New file.
15600 * benchtests/bench-memcmp.c: New file.
15601 * benchtests/bench-memmem-ifunc.c: New file.
15602 * benchtests/bench-memmem.c: New file.
15603 * benchtests/bench-memmove-ifunc.c: New file.
15604 * benchtests/bench-memmove.c: New file.
15605 * benchtests/bench-mempcpy-ifunc.c: New file.
15606 * benchtests/bench-mempcpy.c: New file.
15607 * benchtests/bench-memset-ifunc.c: New file.
15608 * benchtests/bench-memset.c: New file.
15609 * benchtests/bench-rawmemchr-ifunc.c: New file.
15610 * benchtests/bench-rawmemchr.c: New file.
15611 * benchtests/bench-stpcpy-ifunc.c: New file.
15612 * benchtests/bench-stpcpy.c: New file.
15613 * benchtests/bench-stpncpy-ifunc.c: New file.
15614 * benchtests/bench-stpncpy.c: New file.
15615 * benchtests/bench-strcasecmp-ifunc.c: New file.
15616 * benchtests/bench-strcasecmp.c: New file.
15617 * benchtests/bench-strcasestr-ifunc.c: New file.
15618 * benchtests/bench-strcasestr.c: New file.
15619 * benchtests/bench-strcat-ifunc.c: New file.
15620 * benchtests/bench-strcat.c: New file.
15621 * benchtests/bench-strchr-ifunc.c: New file.
15622 * benchtests/bench-strchr.c: New file.
15623 * benchtests/bench-strchrnul-ifunc.c: New file.
15624 * benchtests/bench-strchrnul.c: New file.
15625 * benchtests/bench-strcmp-ifunc.c: New file.
15626 * benchtests/bench-strcmp.c: New file.
15627 * benchtests/bench-strcpy-ifunc.c: New file.
15628 * benchtests/bench-strcpy.c: New file.
15629 * benchtests/bench-strcspn-ifunc.c: New file.
15630 * benchtests/bench-strcspn.c: New file.
15631 * benchtests/bench-strlen-ifunc.c: New file.
15632 * benchtests/bench-strlen.c: New file.
15633 * benchtests/bench-strncasecmp-ifunc.c: New file.
15634 * benchtests/bench-strncasecmp.c: New file.
15635 * benchtests/bench-strncat-ifunc.c: New file.
15636 * benchtests/bench-strncat.c: New file.
15637 * benchtests/bench-strncmp-ifunc.c: New file.
15638 * benchtests/bench-strncmp.c: New file.
15639 * benchtests/bench-strncpy-ifunc.c: New file.
15640 * benchtests/bench-strncpy.c: New file.
15641 * benchtests/bench-strnlen-ifunc.c: New file.
15642 * benchtests/bench-strnlen.c: New file.
15643 * benchtests/bench-strpbrk-ifunc.c: New file.
15644 * benchtests/bench-strpbrk.c: New file.
15645 * benchtests/bench-strrchr-ifunc.c: New file.
15646 * benchtests/bench-strrchr.c: New file.
15647 * benchtests/bench-strspn-ifunc.c: New file.
15648 * benchtests/bench-strspn.c: New file.
15649 * benchtests/bench-strstr-ifunc.c: New file.
15650 * benchtests/bench-strstr.c: New file.
15651
15652 * benchtests/Makefile: Disable parallel execution of targets.
15653 (string-bench): Add memcpy.
15654 (benchset): New variable to store a list of benchmark sets.
15655 (bench-func): Renamed from bench.
15656 (bench-set): New target.
15657 (bench): Depend on bench-func and bench-set.
15658 * benchtests/README: Add section on benchmark sets.
15659 * benchtests/bench-memcpy-ifunc.c: New file.
15660 * benchtests/bench-memcpy.c: New file.
15661 * benchtests/bench-string.h: New file.
15662
15663 2013-06-11 Andreas Schwab <schwab@suse.de>
15664
15665 [BZ #15577]
15666 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15667 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15668 values in the triple.
15669 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15670 terminator in the group key.
15671
15672 2013-06-11 Andreas Jaeger <aj@suse.de>
15673
15674 * po/zh_TW.po: Update Chinese (traditional) translation from
15675 translation project.
15676
15677 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15678
15679 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15680 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15681 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15682 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15683 (clock_getcpuclockid): Likewise.
15684 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15685 Add weak_alias and libc_hidden_def.
15686 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15687 * rt/clock_gettime.c (clock_gettime): Rename to
15688 __clock_gettime. Add weak_alias and libc_hidden_def.
15689 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15690 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15691 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15692 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15693 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15694 Likewise.
15695 * rt/clock_settime.c (clock_settime): Rename to
15696 __clock_settime. Add weak_alias and libc_hidden_def.
15697 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15698
15699 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15700
15701 * mach/err_boot.sub: Remove trailing whitespace.
15702 * mach/err_ipc.sub: Likewise.
15703 * mach/err_mach.sub: Likewise.
15704
15705 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15706 (ROUNDING_TESTS_double): Likewise.
15707 (ROUNDING_TESTS_long_double): Likewise.
15708 (ROUNDING_TESTS): Likewise.
15709 * math/libm-test.inc: Include <math-tests.h>.
15710 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15711 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15712 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15713 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15714
15715 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15716
15717 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15718 of assigning.
15719
15720 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15721
15722 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15723 otherwise empty TRANS lines.
15724 * sysdeps/gnu/errlist.c: Regenerated.
15725
15726 * catgets/gencat.c (error_print): Use (void) in function
15727 definition.
15728 * crypt/crypt_util.c (__init_des): Likewise.
15729 * crypt/speeds.c (Stop): Likewise.
15730 (main): Likewise.
15731 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15732 * inet/ruserpass.c (token): Likewise.
15733 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15734 * intl/localealias.c (extend_alias_table): Likewise.
15735 * intl/plural-exp.c (init_germanic_plural): Likewise.
15736 * libio/fcloseall.c (__fcloseall): Likewise.
15737 * libio/genops.c (_IO_flush_all): Likewise.
15738 (_IO_flush_all_linebuffered): Likewise.
15739 (_IO_cleanup): Likewise.
15740 (_IO_iter_begin): Likewise.
15741 (_IO_iter_end): Likewise.
15742 (_IO_list_lock): Likewise.
15743 (_IO_list_unlock): Likewise.
15744 (_IO_list_resetlock): Likewise.
15745 * libio/getchar.c (getchar): Likewise.
15746 * libio/getchar_u.c (getchar_unlocked): Likewise.
15747 * libio/getwchar.c (getwchar): Likewise.
15748 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15749 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15750 * login/getpt.c (__getpt): Likewise.
15751 * login/tst-utmp.c (main): Likewise.
15752 * malloc/hooks.c (__malloc_check_init): Likewise.
15753 * malloc/malloc.c (__malloc_stats): Likewise.
15754 * malloc/mtrace.c (tr_break): Likewise.
15755 (mtrace): Likewise.
15756 (muntrace): Likewise.
15757 * misc/fstab.c (endfsent): Likewise.
15758 * misc/getclktck.c (__getclktck): Likewise.
15759 * misc/getdtsz.c (__getdtablesize): Likewise.
15760 * misc/gethostid.c (gethostid): Likewise.
15761 * misc/getpagesize.c (__getpagesize): Likewise.
15762 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15763 (__get_nprocs): Likewise.
15764 (__get_phys_pages): Likewise.
15765 (__get_avphys_pages): Likewise.
15766 * misc/getttyent.c (getttyent): Likewise.
15767 (setttyent): Likewise.
15768 (endttyent): Likewise.
15769 * misc/getusershell.c (getusershell): Likewise.
15770 (endusershell): Likewise.
15771 (setusershell): Likewise.
15772 (initshells): Likewise.
15773 * misc/hsearch.c (__hdestroy): Likewise.
15774 * misc/sync.c (sync): Likewise.
15775 * misc/syslog.c (closelog_internal): Likewise.
15776 (closelog): Likewise.
15777 * misc/ttyslot.c (ttyslot): Likewise.
15778 * misc/vhangup.c (vhangup): Likewise.
15779 * posix/fork.c (__fork): Likewise.
15780 * posix/getegid.c (__getegid): Likewise.
15781 * posix/geteuid.c (__geteuid): Likewise.
15782 * posix/getgid.c (__getgid): Likewise.
15783 * posix/getpid.c (__getpid): Likewise.
15784 * posix/getppid.c (__getppid): Likewise.
15785 * posix/getuid.c (__getuid): Likewise.
15786 * posix/pause.c (pause): Likewise.
15787 * posix/setpgrp.c (setpgrp): Likewise.
15788 * posix/setsid.c (__setsid): Likewise.
15789 * posix/test-vfork.c (noop): Likewise.
15790 * resolv/gethnamaddr.c (_endhtent): Likewise.
15791 (_gethtent): Likewise.
15792 (ht_endhostent): Likewise.
15793 (gethostent): Likewise.
15794 (dns_service): Likewise.
15795 * stdlib/drand48.c (drand48): Likewise.
15796 * stdlib/lrand48.c (lrand48): Likewise.
15797 * stdlib/mrand48.c (mrand48): Likewise.
15798 * stdlib/rand.c (rand): Likewise.
15799 * stdlib/random.c (__random): Likewise.
15800 * stdlib/setenv.c (clearenv): Likewise.
15801 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15802 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15803 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15804 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15805 (__get_nprocs): Likewise.
15806 (__get_phys_pages): Likewise.
15807 (__get_avphys_pages): Likewise.
15808 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15809 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15810 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15811 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15812 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15813 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15814 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15815 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15816 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15817 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15818 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15819 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15820 * sysdeps/posix/clock.c (clock): Likewise.
15821 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15822 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15823 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15824 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15825 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15827 (__get_nprocs_conf): Likewise.
15828 (__get_phys_pages): Likewise.
15829 (__get_avphys_pages): Likewise.
15830 * time/clock.c (clock): Likewise.
15831 * time/tzset.c (__tzname_max): Likewise.
15832
15833 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15834
15835 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15836 (__bswap_32): Do not use "register".
15837 * crypt/crypt.c (_ufc_doit_r): Likewise.
15838 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15839 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15840 * gmon/gmon.c (__monstartup): Likewise.
15841 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15842 * hurd/hurdmalloc.c (more_memory): Likewise.
15843 (malloc): Likewise.
15844 (free): Likewise.
15845 (realloc): Likewise.
15846 (malloc_fork_prepare): Likewise.
15847 (malloc_fork_parent): Likewise.
15848 (malloc_fork_child): Likewise.
15849 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15850 (_svcauth_des): Likewise.
15851 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15852 * inet/inet_net.c (inet_network): Likewise.
15853 * inet/inet_netof.c (inet_netof): Likewise.
15854 * inet/rcmd.c (__validuser2_sa): Likewise.
15855 * io/fts.c (fts_open): Likewise.
15856 (fts_load): Likewise.
15857 (fts_close): Likewise.
15858 (fts_read): Likewise.
15859 (fts_children): Likewise.
15860 (fts_build): Likewise.
15861 (fts_stat): Likewise.
15862 (fts_sort): Likewise.
15863 (fts_alloc): Likewise.
15864 (fts_lfree): Likewise.
15865 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15866 (_IO_file_xsgetn): Likewise.
15867 (_IO_file_xsgetn_mmap): Likewise.
15868 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15869 (_IO_cookie_write): Likewise.
15870 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15871 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15872 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15873 * malloc/obstack.c (_obstack_begin): Likewise.
15874 (_obstack_begin_1): Likewise.
15875 (_obstack_newchunk): Likewise.
15876 (_obstack_allocated_p): Likewise.
15877 (obstack_free): Likewise.
15878 (_obstack_memory_used): Likewise.
15879 * misc/getttyent.c (getttynam): Likewise.
15880 (getttyent): Likewise.
15881 (skip): Likewise.
15882 (value): Likewise.
15883 * misc/getusershell.c (initshells): Likewise.
15884 * misc/syslog.c (__vsyslog_chk): Likewise.
15885 * misc/ttyslot.c (ttyslot): Likewise.
15886 * nis/nis_hash.c (__nis_hash): Likewise.
15887 * posix/fnmatch_loop.c (FCT): Likewise.
15888 * posix/getconf.c (print_all): Likewise.
15889 (main): Likewise.
15890 * posix/getopt.c (exchange): Likewise.
15891 * posix/glob.c (globfree): Likewise.
15892 (prefix_array): Likewise.
15893 (__glob_pattern_type): Likewise.
15894 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15895 (NS_GET32): Likewise.
15896 (NS_PUT16): Likewise.
15897 (NS_PUT32): Likewise.
15898 * resolv/gethnamaddr.c (getanswer): Likewise.
15899 (gethostbyname2): Likewise.
15900 (gethostbyaddr): Likewise.
15901 (_gethtent): Likewise.
15902 (_gethtbyname2): Likewise.
15903 (_gethtbyaddr): Likewise.
15904 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15905 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15906 * resolv/res_init.c (__res_vinit): Likewise.
15907 (net_mask): Likewise.
15908 * resolv/res_mkquery.c (outchar): Likewise.
15909 (PRINT): Likewise.
15910 * stdio-common/printf_fp.c (outchar): Likewise.
15911 (PRINT): Likewise.
15912 * stdio-common/printf_fphex.c (outchar): Likewise.
15913 (PRINT): Likewise.
15914 * stdio-common/printf_size.c (outchar): Likewise.
15915 (PRINT): Likewise.
15916 * stdio-common/test_rdwr.c (main): Likewise.
15917 * stdio-common/tfformat.c (matches): Likewise.
15918 * stdio-common/vfprintf.c (outchar): Likewise.
15919 (printf_unknown): Likewise.
15920 (buffered_vfprintf): Likewise.
15921 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15922 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15923 (ReadFile): Likewise.
15924 * stdlib/qsort.c (SWAP): Likewise.
15925 (_quicksort): Likewise.
15926 * stdlib/setenv.c (__add_to_environ): Likewise.
15927 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15928 * stdlib/strtol_l.c (__strtol_l): Likewise.
15929 * stdlib/tst-strtod.c (main): Likewise.
15930 * stdlib/tst-strtol.c (main): Likewise.
15931 * stdlib/tst-strtoll.c (main): Likewise.
15932 * string/bits/string2.h (__strcmp_cc): Likewise.
15933 (__strcmp_cg): Likewise.
15934 (__strcspn_c1): Likewise.
15935 (__strcspn_c2): Likewise.
15936 (__strcspn_c3): Likewise.
15937 (__strspn_c1): Likewise.
15938 (__strspn_c2): Likewise.
15939 (__strspn_c3): Likewise.
15940 (__strsep_1c): Likewise.
15941 (__strsep_2c): Likewise.
15942 (__strsep_3c): Likewise.
15943 * string/memccpy.c (__memccpy): Likewise.
15944 * string/stpcpy.c (__stpcpy): Likewise.
15945 * string/strcmp.c (strcmp): Likewise.
15946 * string/strrchr.c (strrchr): Likewise.
15947 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15948 Likewise.
15949 * sysdeps/mach/hurd/getcwd.c
15950 (_hurd_canonicalize_directory_name_internal): Likewise.
15951 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15952 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15953 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15954 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15955 Likewise, in both definitions.
15956 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15957 definitions.
15958 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15959 64] (__bswap_64): Likewise.
15960 * time/test_time.c (main): Likewise.
15961 * time/tzfile.c (__tzfile_read): Likewise.
15962 (__tzfile_compute): Likewise.
15963 * time/tzset.c (__tzset_parse_tz): Likewise.
15964 (tzset_internal): Likewise.
15965 (compute_change): Likewise.
15966 * wcsmbs/wcscat.c (__wcscat): Likewise.
15967 * wcsmbs/wcschr.c (wcschr): Likewise.
15968 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15969 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15970 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15971 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15972 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15973 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15974 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15975 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15976 * wcsmbs/wmemset.c (wmemset): Likewise.
15977
15978 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15979
15980 * scripts/config.guess: Update to version 2013-05-16.
15981 * scripts/config.sub: Update to version 2013-04-24.
15982 * scripts/install-sh: Update to version 2011-11-20.07.
15983 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15984 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15985
15986 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15987
15988 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15989 * elf/sln.c: Likewise.
15990 * hurd/hurd/ioctl.h: Likewise.
15991 * hurd/hurdmalloc.c: Likewise.
15992 * hurd/xattr.c: Likewise.
15993 * include/shlib-compat.h: Likewise.
15994 * inet/ruserpass.c: Likewise.
15995 * libio/iofgets_u.c: Likewise.
15996 * libio/iofgetws_u.c: Likewise.
15997 * locale/programs/ld-identification.c: Likewise.
15998 * locale/programs/ld-time.c: Likewise.
15999 * mach/msg-destroy.c: Likewise.
16000 * nss/nss_files/files-netgrp.c: Likewise.
16001 * resolv/res_data.c: Likewise.
16002 * soft-fp/op-1.h: Likewise.
16003 * soft-fp/op-2.h: Likewise.
16004 * soft-fp/op-4.h: Likewise.
16005 * soft-fp/op-common.h: Likewise.
16006 * stdio-common/printf_fphex.c: Likewise.
16007 * stdlib/strtod_l.c: Likewise.
16008 * sunrpc/rpc/clnt.h: Likewise.
16009 * sysdeps/generic/framestate.c: Likewise.
16010 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16011 * sysdeps/i386/bsd-setjmp.S: Likewise.
16012 * sysdeps/i386/__longjmp.S: Likewise.
16013 * sysdeps/i386/setjmp.S: Likewise.
16014 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16015 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16016 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16020 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16021 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16022 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16023 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16024 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16025 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16028 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16031 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16032 * sysdeps/ieee754/support.c: Likewise.
16033 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16034 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16035 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16036 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16037 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16038 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16039 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16040 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16041 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16042 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16043 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16044 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16045 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16046 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16047 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16048 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16049 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16051
16052 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16053
16054 * posix/transbug.c: Remove executable mode.
16055
16056 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16057
16058 * crypt/speeds.c: Remove trailing whitespace.
16059 * dlfcn/default.c: Likewise.
16060 * elf/ifuncdep2.c: Likewise.
16061 * elf/ifuncmain1.c: Likewise.
16062 * elf/ifuncmain1vis.c: Likewise.
16063 * elf/testobj.h: Likewise.
16064 * elf/tst-stackguard1.c: Likewise.
16065 * gmon/sys/gmon.h: Likewise.
16066 * hurd/hurdmsg.c: Likewise.
16067 * hurd/new-fd.c: Likewise.
16068 * hurd/ports-get.c: Likewise.
16069 * iconvdata/ibm1008_420.c: Likewise.
16070 * inet/tst-getni1.c: Likewise.
16071 * inet/tst-getni2.c: Likewise.
16072 * libio/ioungetc.c: Likewise.
16073 * libio/wfiledoalloc.c: Likewise.
16074 * manual/libm-err-tab.pl: Likewise.
16075 * math/w_dremf.c: Likewise.
16076 * misc/ftruncate.c: Likewise.
16077 * posix/bug-glob2.c: Likewise.
16078 * posix/tst-pcre.c: Likewise.
16079 * posix/wait4.c: Likewise.
16080 * resolv/README: Likewise.
16081 * resolv/res_debug.h: Likewise.
16082 * resolv/tst-inet_ntop.c: Likewise.
16083 * setjmp/bug269-setjmp.c: Likewise.
16084 * soft-fp/extended.h: Likewise.
16085 * soft-fp/op-1.h: Likewise.
16086 * soft-fp/op-2.h: Likewise.
16087 * soft-fp/op-4.h: Likewise.
16088 * soft-fp/op-8.h: Likewise.
16089 * soft-fp/testit.c: Likewise.
16090 * stdio-common/bug16.c: Likewise.
16091 * stdlib/random.c: Likewise.
16092 * sunrpc/rpcsvc/rquota.x: Likewise.
16093 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16094 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16095 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16096 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16097 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16098 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16099 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16100 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16101 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16102 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16103 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16104 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16105 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16109 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16110 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16111 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16112 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16113 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16114 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16115 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16116 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16118 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16119 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16120 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16122 * sysdeps/ieee754/s_lib_version.c: Likewise.
16123 * sysdeps/mach/hurd/check_fds.c: Likewise.
16124 * sysdeps/mach/hurd/getsockname.c: Likewise.
16125 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16126 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16127 * sysdeps/powerpc/bits/link.h: Likewise.
16128 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16129 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16130 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16131 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16132 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16133 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16134 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16135 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16136 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16137 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16138 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16139 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16140 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16141 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16142 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16143 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16144 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16145 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16146 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16147 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16148 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16149 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16150 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16151 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16152 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16153 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16154 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16155 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16156 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16157 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16158 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16159 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16160 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16161 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16162 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16163 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16164 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16165 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16166 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16167 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16168 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16169 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16170 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16171 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16172 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16173 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16174 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16175 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16176 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16177 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16178 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16179 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16180 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16181 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16182 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16183 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16184 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16185 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16186 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16187 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16188 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16189 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16190 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16191 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16192 * sysdeps/powerpc/sysdep.h: Likewise.
16193 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16194 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16195 * sysdeps/sh/dl-trampoline.S: Likewise.
16196 * sysdeps/sh/memset.S: Likewise.
16197 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16198 * sysdeps/sh/strlen.S: Likewise.
16199 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16200 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16201 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16202 * sysdeps/sparc/sparc32/rem.S: Likewise.
16203 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16204 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16205 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16206 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16207 * sysdeps/sparc/sparc32/urem.S: Likewise.
16208 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16209 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16210 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16211 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16212 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16213 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16214 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16215 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16216 * sysdeps/unix/bsd/times.c: Likewise.
16217 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16218 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16222 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16223 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16224 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16225 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16226 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16227 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16228 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16229 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16230 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16231 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16232 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16233 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16234 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16235 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16236 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16237 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16238 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16239 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16240 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16241 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16242 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16243 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16244 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16245 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16246 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16247 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16248 * sysdeps/x86_64/strcspn.S: Likewise.
16249
16250 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16251
16252 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16253 generated file. Regenerate properly from gen-translit.pl.
16254 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16255 locale/C-translit.h.
16256
16257 2013-06-05 Andreas Schwab <schwab@suse.de>
16258
16259 [BZ #15100]
16260 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16261 week as 6 instead of -1.
16262 * time/tst-strptime.c (day_tests): Add test case.
16263
16264 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16265
16266 * sysdeps/generic/math_private.h
16267 (libc_feholdexcept_setround_53bit): Replace with
16268 libc_feholdsetround_53bit.
16269 (libc_feupdateenv_53bit): Replace with
16270 libc_feresetround_53bit.
16271 (SET_RESTORE_ROUND_53BIT): Adjust.
16272
16273 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16274
16275 * string/test-strchrnul.c: Add copyright header.
16276
16277 * posix/tst-getaddrinfo4.c: Increase test timeout.
16278
16279 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16280
16281 [BZ #15536]
16282 * math/libm-test.inc (MAX_EXP): Remove
16283 (MIN_EXP): Define.
16284 (ulp): Use MIN_EXP - MANT_DIG.
16285 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16286
16287 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16288
16289 * po/be.po: Revert last change.
16290 * po/zh_CN.po: Likewise.
16291 * po/header.pot: Likewise.
16292
16293 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16294
16295 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16296 link-libc-deps to empty as target-specific variable.
16297 * Makerules (link-libc-args): New variable.
16298 (libc-for-link): Likewise.
16299 (link-libc-deps): Likewise.
16300 (lib%.so): Depend on $(link-libc-deps). Link with
16301 $(link-libc-args).
16302 (build-module): Link with $(link-libc-args).
16303 (build-module-asneeded): Likewise.
16304 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16305 list of objects.
16306 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16307 target-specific variable.
16308 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16309 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16310 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16311 libc.
16312 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16313 libc and ld.so.
16314 ($(objpfx)libpcprofile.so): Likewise.
16315 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16316 libc_nonshared.a.
16317 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16318 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16319 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16320 $(link-libc-deps).
16321 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16322 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16323 * login/Makefile ($(objpfx)libutil.so): Likewise.
16324 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16325 * math/Makefile ($(objpfx)libm.so): Likewise.
16326 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16327 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16328 variable instead of depending directly on libc.
16329 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16330 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16331 $(link-libc-deps).
16332 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16333 libc.
16334 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16335 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16336 ($(objpfx)libanl.so): Likewise.
16337 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16338 ld.so.
16339 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16340 $(link-libc-deps).
16341 * sysdeps/i386/fpu/Makefile: Remove file.
16342 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16343 ($(objpfx)libm.so): Remove dependency on ld.so.
16344
16345 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16346
16347 [BZ # 15553]
16348 * nis/yp_xdr.c (XDRMAXNAME): Define.
16349 (XDRMAXRECORD): Define.
16350 (xdr_domainname): Use XDRMAXNAME.
16351 (xdr_mapname): Likewise.
16352 (xdr_peername): Likewise.
16353 (xdr_keydat): Use XDRMAXRECORD.
16354 (xdr_valdat): Likewise.
16355
16356 2013-05-30 Jeff Law <law@redhat.com>
16357
16358 [BZ #14256]
16359 * manual/errno.texi (ESTALE): Update to account for more than
16360 just NFS file systems.
16361 * sysdeps/gnu/errlist.c: Regenerated.
16362
16363 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16364
16365 [BZ #15465]
16366 * elf/Makefile (tests): Add tst-null-argv.
16367 (modules-names): Add tst-null-argv-lib.
16368 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16369 (tst-null-argv-ENV): Set environment for tst-null-argv.
16370 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16371 (RTLD_PROGNAME): New macro.
16372 * elf/tst-null-argv.c: New test case.
16373 * elf/tst-null-argv-lib.c: Library for test case.
16374 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16375 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16376 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16377 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16378 * elf/dl-init.c (call_init): Likewise.
16379 (_dl_init): Likewise.
16380 * elf/dl-load.c (print_search_path): Likewise.
16381 (_dl_map_object): Likewise.
16382 * elf/dl-lookup.c (do_lookup_x): Likewise.
16383 (add_dependency): Likewise.
16384 (_dl_lookup_symbol_x): Likewise.
16385 (_dl_debug_bindings): Likewise.
16386 * elf/dl-open.c (_dl_show_scope): Likewise.
16387 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16388 * elf/dl-version.c (match_symbol): Likewise.
16389 (_dl_check_map_versions): Likewise.
16390 * elf/rtld.c (dl_main): Likewise.
16391 (print_unresolved): Use RTLD_PROGNAME.
16392 (print_missing_version): Likewise.
16393 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16394 (elf_machine_rela): Likewise.
16395 * sysdeps/powerpc/powerpc32/dl-machine.c
16396 (__process_machine_rela): Likewise.
16397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16398 Likewise.
16399 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16400 Likewise.
16401 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16402 Likewise.
16403 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16404 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16405 Likewise.
16406 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16407 Likewise.
16408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16409
16410 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16411
16412 * po/be.po: Add descriptive title.
16413 * po/zh_CN.po: Likewise.
16414 * po/header.pot: Likewise.
16415
16416 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16417
16418 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16419 error message.
16420 (enlarge_archive): Likewise.
16421
16422 2013-05-28 Ben North <ben@redfrontdoor.org>
16423
16424 * manual/arith.texi (frexp): It is the magnitude of the return
16425 value which lies in [0.5, 1), not the return value itself.
16426
16427 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16428
16429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16430
16431 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16432
16433 * stdio-common/bug26.c (main): Correct fscanf template.
16434
16435 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16436 declare _dl_skip_args.
16437
16438 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16439 Don't declare.
16440
16441 * manual/platform.texi: Add missing @end deftypefun.
16442
16443 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16444
16445 [BZ #15529]
16446 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16447 bit of mantissa of 2^16382.
16448 * math/libm-test.inc (hypot_test_data): Add more tests.
16449
16450 * math/libm-test.inc: Add drem and pow10 to list of tested
16451 functions.
16452 (pow10_test): New function.
16453 (drem_test): Likewise.
16454 (drem_test_tonearest): Likewise.
16455 (drem_test_towardzero): Likewise.
16456 (drem_test_downward): Likewise.
16457 (drem_test_upward): Likewise.
16458 (main): Call the new functions.
16459
16460 * math/libm-test.inc (finite_test_data): Remove.
16461 (finite_test): Run tests from isfinite_test_data.
16462 (gamma_test_data): Remove.
16463 (gamma_test): Run tests from lgamma_test_data.
16464 * sysdeps/i386/fpu/libm-test-ulps: Update.
16465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16466
16467 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16468
16469 * manual/platform.texi: Add PowerPC PPR function set documentation.
16470 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16471 implementation.
16472
16473 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16474
16475 * math/libm-test.inc (MAX_EXP): Define.
16476 (ULPDIFF): Define.
16477 (ulp): New function.
16478 (check_float_internal): Use ULPDIFF.
16479 (cpow_test): Disable failing test.
16480 (check_ulp): Test ulp() implemetnation.
16481 (main): Call check_ulp before starting tests.
16482
16483 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16484
16485 * math/gen-libm-test.pl (generate_testfile): Do not handle
16486 START_DATA and END_DATA.
16487 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16488 END_DATA.
16489 (acos_tonearest_test_data): Likewise.
16490 (acos_towardzero_test_data): Likewise.
16491 (acos_downward_test_data): Likewise.
16492 (acos_upward_test_data): Likewise.
16493 (acosh_test_data): Likewise.
16494 (asin_test_data): Likewise.
16495 (asin_tonearest_test_data): Likewise.
16496 (asin_towardzero_test_data): Likewise.
16497 (asin_downward_test_data): Likewise.
16498 (asin_upward_test_data): Likewise.
16499 (asinh_test_data): Likewise.
16500 (atan_test_data): Likewise.
16501 (atanh_test_data): Likewise.
16502 (atan2_test_data): Likewise.
16503 (cabs_test_data): Likewise.
16504 (cacos_test_data): Likewise.
16505 (cacosh_test_data): Likewise.
16506 (carg_test_data): Likewise.
16507 (casin_test_data): Likewise.
16508 (casinh_test_data): Likewise.
16509 (catan_test_data): Likewise.
16510 (catanh_test_data): Likewise.
16511 (cbrt_test_data): Likewise.
16512 (ccos_test_data): Likewise.
16513 (ccosh_test_data): Likewise.
16514 (ceil_test_data): Likewise.
16515 (cexp_test_data): Likewise.
16516 (cimag_test_data): Likewise.
16517 (clog_test_data): Likewise.
16518 (clog10_test_data): Likewise.
16519 (conj_test_data): Likewise.
16520 (copysign_test_data): Likewise.
16521 (cos_test_data): Likewise.
16522 (cos_tonearest_test_data): Likewise.
16523 (cos_towardzero_test_data): Likewise.
16524 (cos_downward_test_data): Likewise.
16525 (cos_upward_test_data): Likewise.
16526 (cosh_test_data): Likewise.
16527 (cosh_tonearest_test_data): Likewise.
16528 (cosh_towardzero_test_data): Likewise.
16529 (cosh_downward_test_data): Likewise.
16530 (cosh_upward_test_data): Likewise.
16531 (cpow_test_data): Likewise.
16532 (cproj_test_data): Likewise.
16533 (creal_test_data): Likewise.
16534 (csin_test_data): Likewise.
16535 (csinh_test_data): Likewise.
16536 (csqrt_test_data): Likewise.
16537 (ctan_test_data): Likewise.
16538 (ctan_tonearest_test_data): Likewise.
16539 (ctan_towardzero_test_data): Likewise.
16540 (ctan_downward_test_data): Likewise.
16541 (ctan_upward_test_data): Likewise.
16542 (ctanh_test_data): Likewise.
16543 (ctanh_tonearest_test_data): Likewise.
16544 (ctanh_towardzero_test_data): Likewise.
16545 (ctanh_downward_test_data): Likewise.
16546 (ctanh_upward_test_data): Likewise.
16547 (erf_test_data): Likewise.
16548 (erfc_test_data): Likewise.
16549 (exp_test_data): Likewise.
16550 (exp_tonearest_test_data): Likewise.
16551 (exp_towardzero_test_data): Likewise.
16552 (exp_downward_test_data): Likewise.
16553 (exp_upward_test_data): Likewise.
16554 (exp10_test_data): Likewise.
16555 (exp2_test_data): Likewise.
16556 (expm1_test_data): Likewise.
16557 (fabs_test_data): Likewise.
16558 (fdim_test_data): Likewise.
16559 (finite_test_data): Likewise.
16560 (floor_test_data): Likewise.
16561 (fma_test_data): Likewise.
16562 (fma_towardzero_test_data): Likewise.
16563 (fma_downward_test_data): Likewise.
16564 (fma_upward_test_data): Likewise.
16565 (fmax_test_data): Likewise.
16566 (fmin_test_data): Likewise.
16567 (fmod_test_data): Likewise.
16568 (fpclassify_test_data): Likewise.
16569 (frexp_test_data): Likewise.
16570 (gamma_test_data): Likewise.
16571 (hypot_test_data): Likewise.
16572 (ilogb_test_data): Likewise.
16573 (isfinite_test_data): Likewise.
16574 (isgreater_test_data): Likewise.
16575 (isgreaterequal_test_data): Likewise.
16576 (isinf_test_data): Likewise.
16577 (isless_test_data): Likewise.
16578 (islessequal_test_data): Likewise.
16579 (islessgreater_test_data): Likewise.
16580 (isnan_test_data): Likewise.
16581 (isnormal_test_data): Likewise.
16582 (issignaling_test_data): Likewise.
16583 (isunordered_test_data): Likewise.
16584 (j0_test_data): Likewise.
16585 (j1_test_data): Likewise.
16586 (jn_test_data): Likewise.
16587 (ldexp_test_data): Likewise.
16588 (lgamma_test_data): Likewise.
16589 (lrint_test_data): Likewise.
16590 (lrint_tonearest_test_data): Likewise.
16591 (lrint_towardzero_test_data): Likewise.
16592 (lrint_downward_test_data): Likewise.
16593 (lrint_upward_test_data): Likewise.
16594 (llrint_test_data): Likewise.
16595 (llrint_tonearest_test_data): Likewise.
16596 (llrint_towardzero_test_data): Likewise.
16597 (llrint_downward_test_data): Likewise.
16598 (llrint_upward_test_data): Likewise.
16599 (log_test_data): Likewise.
16600 (log10_test_data): Likewise.
16601 (log1p_test_data): Likewise.
16602 (log2_test_data): Likewise.
16603 (logb_test_data): Likewise.
16604 (logb_downward_test_data): Likewise.
16605 (lround_test_data): Likewise.
16606 (llround_test_data): Likewise.
16607 (modf_test_data): Likewise.
16608 (nearbyint_test_data): Likewise.
16609 (nextafter_test_data): Likewise.
16610 (nexttoward_test_data): Likewise.
16611 (pow_test_data): Likewise.
16612 (pow_tonearest_test_data): Likewise.
16613 (pow_towardzero_test_data): Likewise.
16614 (pow_downward_test_data): Likewise.
16615 (pow_upward_test_data): Likewise.
16616 (remainder_test_data): Likewise.
16617 (remainder_tonearest_test_data): Likewise.
16618 (remainder_towardzero_test_data): Likewise.
16619 (remainder_downward_test_data): Likewise.
16620 (remainder_upward_test_data): Likewise.
16621 (remquo_test_data): Likewise.
16622 (rint_test_data): Likewise.
16623 (rint_tonearest_test_data): Likewise.
16624 (rint_towardzero_test_data): Likewise.
16625 (rint_downward_test_data): Likewise.
16626 (rint_upward_test_data): Likewise.
16627 (round_test_data): Likewise.
16628 (scalb_test_data): Likewise.
16629 (scalbn_test_data): Likewise.
16630 (scalbln_test_data): Likewise.
16631 (signbit_test_data): Likewise.
16632 (sin_test_data): Likewise.
16633 (sin_tonearest_test_data): Likewise.
16634 (sin_towardzero_test_data): Likewise.
16635 (sin_downward_test_data): Likewise.
16636 (sin_upward_test_data): Likewise.
16637 (sincos_test_data): Likewise.
16638 (sinh_test_data): Likewise.
16639 (sinh_tonearest_test_data): Likewise.
16640 (sinh_towardzero_test_data): Likewise.
16641 (sinh_downward_test_data): Likewise.
16642 (sinh_upward_test_data): Likewise.
16643 (sqrt_test_data): Likewise.
16644 (tan_test_data): Likewise.
16645 (tan_tonearest_test_data): Likewise.
16646 (tan_towardzero_test_data): Likewise.
16647 (tan_downward_test_data): Likewise.
16648 (tan_upward_test_data): Likewise.
16649 (tanh_test_data): Likewise.
16650 (tgamma_test_data): Likewise.
16651 (trunc_test_data): Likewise.
16652 (y0_test_data): Likewise.
16653 (y1_test_data): Likewise.
16654 (yn_test_data): Likewise.
16655 (significand_test_data): Likewise.
16656
16657 * math/gen-libm-test.pl (@functions): Remove variable.
16658 (generate_testfile): Don't handle START and END lines.
16659 * math/libm-test.inc (START): New macro.
16660 (END): Likewise.
16661 (END_COMPLEX): Likewise.
16662 (acos_test): Use END macro without arguments.
16663 (acos_test_tonearest): Likewise.
16664 (acos_test_towardzero): Likewise.
16665 (acos_test_downward): Likewise.
16666 (acos_test_upward): Likewise.
16667 (acosh_test): Likewise.
16668 (asin_test): Likewise.
16669 (asin_test_tonearest): Likewise.
16670 (asin_test_towardzero): Likewise.
16671 (asin_test_downward): Likewise.
16672 (asin_test_upward): Likewise.
16673 (asinh_test): Likewise.
16674 (atan_test): Likewise.
16675 (atanh_test): Likewise.
16676 (atan2_test): Likewise.
16677 (cabs_test): Likewise.
16678 (cacos_test): Use END_COMPLEX macro without arguments.
16679 (cacosh_test): Likewise.
16680 (carg_test): Use END macro without arguments.
16681 (casin_test): Use END_COMPLEX macro without arguments.
16682 (casinh_test): Likewise.
16683 (catan_test): Likewise.
16684 (catanh_test): Likewise.
16685 (cbrt_test): Use END macro without arguments.
16686 (ccos_test): Use END_COMPLEX macro without arguments.
16687 (ccosh_test): Likewise.
16688 (ceil_test): Use END macro without arguments.
16689 (cexp_test): Use END_COMPLEX macro without arguments.
16690 (cimag_test): Use END macro without arguments.
16691 (clog_test): Use END_COMPLEX macro without arguments.
16692 (clog10_test): Likewise.
16693 (conj_test): Likewise.
16694 (copysign_test): Use END macro without arguments.
16695 (cos_test): Likewise.
16696 (cos_test_tonearest): Likewise.
16697 (cos_test_towardzero): Likewise.
16698 (cos_test_downward): Likewise.
16699 (cos_test_upward): Likewise.
16700 (cosh_test): Likewise.
16701 (cosh_test_tonearest): Likewise.
16702 (cosh_test_towardzero): Likewise.
16703 (cosh_test_downward): Likewise.
16704 (cosh_test_upward): Likewise.
16705 (cpow_test): Use END_COMPLEX macro without arguments.
16706 (cproj_test): Likewise.
16707 (creal_test): Use END macro without arguments.
16708 (csin_test): Use END_COMPLEX macro without arguments.
16709 (csinh_test): Likewise.
16710 (csqrt_test): Likewise.
16711 (ctan_test): Likewise.
16712 (ctan_test_tonearest): Likewise.
16713 (ctan_test_towardzero): Likewise.
16714 (ctan_test_downward): Likewise.
16715 (ctan_test_upward): Likewise.
16716 (ctanh_test): Likewise.
16717 (ctanh_test_tonearest): Likewise.
16718 (ctanh_test_towardzero): Likewise.
16719 (ctanh_test_downward): Likewise.
16720 (ctanh_test_upward): Likewise.
16721 (erf_test): Use END macro without arguments.
16722 (erfc_test): Likewise.
16723 (exp_test): Likewise.
16724 (exp_test_tonearest): Likewise.
16725 (exp_test_towardzero): Likewise.
16726 (exp_test_downward): Likewise.
16727 (exp_test_upward): Likewise.
16728 (exp10_test): Likewise.
16729 (exp2_test): Likewise.
16730 (expm1_test): Likewise.
16731 (fabs_test): Likewise.
16732 (fdim_test): Likewise.
16733 (finite_test): Likewise.
16734 (floor_test): Likewise.
16735 (fma_test): Likewise.
16736 (fma_test_towardzero): Likewise.
16737 (fma_test_downward): Likewise.
16738 (fma_test_upward): Likewise.
16739 (fmax_test): Likewise.
16740 (fmin_test): Likewise.
16741 (fmod_test): Likewise.
16742 (fpclassify_test): Likewise.
16743 (frexp_test): Likewise.
16744 (gamma_test): Likewise.
16745 (hypot_test): Likewise.
16746 (ilogb_test): Likewise.
16747 (isfinite_test): Likewise.
16748 (isgreater_test): Likewise.
16749 (isgreaterequal_test): Likewise.
16750 (isinf_test): Likewise.
16751 (isless_test): Likewise.
16752 (islessequal_test): Likewise.
16753 (islessgreater_test): Likewise.
16754 (isnan_test): Likewise.
16755 (isnormal_test): Likewise.
16756 (issignaling_test): Likewise.
16757 (isunordered_test): Likewise.
16758 (j0_test): Likewise.
16759 (j1_test): Likewise.
16760 (jn_test): Likewise.
16761 (ldexp_test): Likewise.
16762 (lgamma_test): Likewise.
16763 (lrint_test): Likewise.
16764 (lrint_test_tonearest): Likewise.
16765 (lrint_test_towardzero): Likewise.
16766 (lrint_test_downward): Likewise.
16767 (lrint_test_upward): Likewise.
16768 (llrint_test): Likewise.
16769 (llrint_test_tonearest): Likewise.
16770 (llrint_test_towardzero): Likewise.
16771 (llrint_test_downward): Likewise.
16772 (llrint_test_upward): Likewise.
16773 (log_test): Likewise.
16774 (log10_test): Likewise.
16775 (log1p_test): Likewise.
16776 (log2_test): Likewise.
16777 (logb_test): Likewise.
16778 (logb_test_downward): Likewise.
16779 (lround_test): Likewise.
16780 (llround_test): Likewise.
16781 (modf_test): Likewise.
16782 (nearbyint_test): Likewise.
16783 (nextafter_test): Likewise.
16784 (nexttoward_test): Likewise.
16785 (pow_test): Likewise.
16786 (pow_test_tonearest): Likewise.
16787 (pow_test_towardzero): Likewise.
16788 (pow_test_downward): Likewise.
16789 (pow_test_upward): Likewise.
16790 (remainder_test): Likewise.
16791 (remainder_test_tonearest): Likewise.
16792 (remainder_test_towardzero): Likewise.
16793 (remainder_test_downward): Likewise.
16794 (remainder_test_upward): Likewise.
16795 (remquo_test): Likewise.
16796 (rint_test): Likewise.
16797 (rint_test_tonearest): Likewise.
16798 (rint_test_towardzero): Likewise.
16799 (rint_test_downward): Likewise.
16800 (rint_test_upward): Likewise.
16801 (round_test): Likewise.
16802 (scalb_test): Likewise.
16803 (scalbn_test): Likewise.
16804 (scalbln_test): Likewise.
16805 (signbit_test): Likewise.
16806 (sin_test): Likewise.
16807 (sin_test_tonearest): Likewise.
16808 (sin_test_towardzero): Likewise.
16809 (sin_test_downward): Likewise.
16810 (sin_test_upward): Likewise.
16811 (sincos_test): Likewise.
16812 (sinh_test): Likewise.
16813 (sinh_test_tonearest): Likewise.
16814 (sinh_test_towardzero): Likewise.
16815 (sinh_test_downward): Likewise.
16816 (sinh_test_upward): Likewise.
16817 (sqrt_test): Likewise.
16818 (tan_test): Likewise.
16819 (tan_test_tonearest): Likewise.
16820 (tan_test_towardzero): Likewise.
16821 (tan_test_downward): Likewise.
16822 (tan_test_upward): Likewise.
16823 (tanh_test): Likewise.
16824 (tgamma_test): Likewise.
16825 (trunc_test): Likewise.
16826 (y0_test): Likewise.
16827 (y1_test): Likewise.
16828 (yn_test): Likewise.
16829 (significand_test): Likewise.
16830
16831 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16832
16833 [BZ #15381]
16834 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16835
16836 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16837
16838 [BZ #14894]
16839 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16840 __ppc_mdoio and __ppc_mdoom.
16841 * manual/platform.texi: Document new functions __ppc_yield,
16842 __ppc_mdoio and __ppc_mdoom.
16843
16844 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16845
16846 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16847 (main): Mention "tls" pseudo-hwcap is legacy.
16848 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16849
16850 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16851
16852 * math/gen-libm-test.pl (parse_args): Output only string of
16853 arguments as text for test name, not full call or descriptions of
16854 tests for extra outputs.
16855 (generate_testfile): Do not pass function name to parse_args.
16856 Generate this_func variable from START.
16857 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16858 field to arg_str.
16859 (struct test_ff_f_data): Likewise.
16860 (test_ff_f_data_nexttoward): Likewise.
16861 (struct test_fi_f_data): Likewise.
16862 (struct test_fl_f_data): Likewise.
16863 (struct test_if_f_data): Likewise.
16864 (struct test_fff_f_data): Likewise.
16865 (struct test_c_f_data): Likewise.
16866 (struct test_f_f1_data): Likewise. Remove field extra_name.
16867 (struct test_fF_f1_data): Likewise.
16868 (struct test_ffI_f1_data): Likewise.
16869 (struct test_c_c_data): Rename test_name field to arg_str.
16870 (struct test_cc_c_data): Likewise.
16871 (struct test_f_i_data): Likewise.
16872 (struct test_ff_i_data): Likewise.
16873 (struct test_f_l_data): Likewise.
16874 (struct test_f_L_data): Likewise.
16875 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16876 and extra2_name.
16877 (COMMON_TEST_SETUP): New macro.
16878 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16879 (COMMON_TEST_CLEANUP): Likewise.
16880 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16881 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16882 macros.
16883 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16884 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16885 macros.
16886 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16887 (RUN_TEST_fff_f): Take argument string. Call new setup and
16888 cleanup macros.
16889 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16890 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16891 macros.
16892 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16893 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16894 macros.
16895 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16896 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16897 cleanup macros.
16898 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16899 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16900 cleanup macros.
16901 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16902 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16903 cleanup macros.
16904 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16905 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16906 macros.
16907 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16908 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16909 macros.
16910 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16911 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16912 macros.
16913 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16914 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16915 cleanup macros.
16916 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16917 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16918 cleanup macros.
16919 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16920 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16921 macros.
16922 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16923 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16924 cleanup macros.
16925 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16926 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16927 macros.
16928 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16929 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16930 macros.
16931 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16932 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16933 cleanup macros.
16934 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16935
16936 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16937
16938 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16939 to _sifields.sigfault.
16940 (si_addr_lsb): Define new macro.
16941 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16942 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16943 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16944
16945 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16946
16947 [BZ #15441]
16948 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16949 returns -1.
16950 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16951 null return -1.
16952 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16953 loading the domain.
16954
16955 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16956
16957 * math/gen-libm-test.pl (parse_args): Do not include expected
16958 result in test name.
16959 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16960 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16961 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16962 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16963 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16965
16966 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16967
16968 * benchtests/Makefile: Sort function entries.
16969
16970 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16971 tanh, asinh, acosh, atanh.
16972 * benchtests/acos-inputs: New file.
16973 * benchtests/acosh-inputs: New file.
16974 * benchtests/asin-inputs: New file.
16975 * benchtests/asinh-inputs: New file.
16976 * benchtests/atanh-inputs: New file.
16977 * benchtests/cosh-inputs: New file.
16978 * benchtests/log-inputs: New file.
16979 * benchtests/sinh-inputs: New file.
16980 * benchtests/tanh-inputs: New file.
16981
16982 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16983
16984 [BZ #15339]
16985 * posix/tst-getaddrinfo4.c: New test.
16986 * posix/Makefile (tests): Add it.
16987
16988 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16989
16990 [BZ #15339]
16991 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16992 when no services were used.
16993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16994 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16995
16996 2013-05-21 Andreas Schwab <schwab@suse.de>
16997
16998 [BZ #15014]
16999 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17000 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17001 successful.
17002 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17003 redundant variable declarations and reallocation of buffer when
17004 parsing as IPv6 address. Always set NSS status when called from
17005 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17006 buffer too small. Correct computation of needed size.
17007 * nss/Makefile (tests): Add test-digits-dots.
17008 * nss/test-digits-dots.c: New test.
17009
17010 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17011
17012 * benchtests/Makefile: Remove instructions for adding
17013 benchmark tests.
17014 * benchtests/README: New file to explain how to execute and
17015 enhance the benchmark tests.
17016
17017 2013-05-21 Andreas Schwab <schwab@suse.de>
17018
17019 [BZ #15493]
17020 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17021 * setjmp/tst-sigsetjmp.c: New test.
17022
17023 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17024
17025 * sysdeps/x86_64/memset.S (memset): New implementation.
17026 (__bzero): Likewise.
17027 (__memset_tail): New function.
17028
17029 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17030
17031 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17032 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17033 __memcpy_sse2_unaligned ifunc selection.
17034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17035 Add memcpy-sse2-unaligned.S.
17036 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17037 Add: __memcpy_sse2_unaligned.
17038
17039 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17040
17041 [BZ #15490]
17042 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17043 math_force_eval before restoring floating-point envrionment.
17044 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17045 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17046 Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17048 <math_private.h>.
17049 (__nearbyintl): Use math_force_eval before restoring
17050 floating-point environment.
17051 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17052
17053 * math/gen-libm-test.pl (special_functions): Remove.
17054 (parse_args): Don't handle TEST_extra. Handle functions with no
17055 return value.
17056 * math/libm-test.inc (struct test_sincos_data): Replace with
17057 struct test_fFF_11_data.
17058 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17059 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17060 (sincos_test_data): Change element type to struct
17061 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17062 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17063 RUN_TEST_LOOP_sincos.
17064 * math/README.libm-test: Don't mention special handling of
17065 individual functions.
17066 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17068 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17069 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17070 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17072
17073 * math/gen-libm-test.pl (get_variable): Remove function.
17074 (parse_args): Don't show pointer parameters to call in test
17075 names. Use "extra output N" in test names for extra outputs
17076 rather than naming variables.
17077
17078 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17079
17080 [BZ #15488]
17081 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17082 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17083 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17084 double tests.
17085 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17086 disable.
17087 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17088 check_long_double.
17089
17090 * math/gen-libm-test.pl (@tests): Remove variable.
17091 ($count): Likewise.
17092 (new_test): Remove function.
17093 (show_exceptions): New function.
17094 (special_functions): Use show_exceptions instead of new_test.
17095 (parse_args): Likewise.
17096 (generate_testfile): Pass only function name in generated call to
17097 print_max_error or print_complex_max_error.
17098 (get_ulps): Do not handle complex tests specially.
17099 (output_test): Rename to ...
17100 (get_all_ulps_for_test): ... this. Return a string rather than
17101 printing to a file. Require ulps to be present.
17102 (output_ulps): Generate arrays rather than #defines.
17103 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17104 (struct ulp_data): New type.
17105 (BUILD_COMPLEX_ULP): Remove macro.
17106 (compare_ulp_data): New function.
17107 (find_ulps): Likewise.
17108 (find_test_ulps): Likewise.
17109 (find_function_ulps): Likewise.
17110 (find_complex_function_ulps): Likewise.
17111 (print_max_error): Determine allowed ulps using
17112 find_function_ulps.
17113 (print_complex_max_error): Determine allowed ulps using
17114 find_complex_function_ulps.
17115 (check_float_internal): Determine max ulps using find_test_ulps.
17116 (check_float): Do not take max_ulp parameter. Update call to
17117 check_float_internal.
17118 (check_complex): Likewise.
17119 (check_int): Do not take max_ulp parameter.
17120 (check_long): Likewise.
17121 (check_bool): Likewise.
17122 (check_longlong): Likewise.
17123 (struct test_f_f_data): Remove max_ulp field.
17124 (struct test_ff_f_data): Likewise.
17125 (struct test_ff_f_data_nexttoward): Likewise.
17126 (struct test_fi_f_data): Likewise.
17127 (struct test_fl_f_data): Likewise.
17128 (struct test_if_f_data): Likewise.
17129 (struct test_fff_f_data): Likewise.
17130 (struct test_c_f_data): Likewise.
17131 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17132 (struct test_fF_f1_data): Likewise.
17133 (struct test_ffI_f1_data): Likewise.
17134 (struct test_c_c_data): Remove max_ulp field.
17135 (struct test_cc_c_data): Likewise.
17136 (struct test_f_i_data): Likewise.
17137 (struct test_ff_i_data): Likewise.
17138 (struct test_f_l_data): Likewise.
17139 (struct test_f_L_data): Likewise.
17140 (struct test_sincos_data): Likewise.
17141 (RUN_TEST_f_f): Do not handle ulps.
17142 (RUN_TEST_LOOP_f_f): Likewise.
17143 (RUN_TEST_2_f): Likewise.
17144 (RUN_TEST_LOOP_2_f): Likewise.
17145 (RUN_TEST_fff_f): Likewise.
17146 (RUN_TEST_LOOP_fff_f): Likewise.
17147 (RUN_TEST_c_f): Likewise.
17148 (RUN_TEST_LOOP_c_f): Likewise.
17149 (RUN_TEST_f_f1): Likewise.
17150 (RUN_TEST_LOOP_f_f1): Likewise.
17151 (RUN_TEST_fF_f1): Likewise.
17152 (RUN_TEST_LOOP_fF_f1): Likewise.
17153 (RUN_TEST_fI_f1): Likewise.
17154 (RUN_TEST_LOOP_fI_f1): Likewise.
17155 (RUN_TEST_ffI_f1): Likewise.
17156 (RUN_TEST_LOOP_ffI_f1): Likewise.
17157 (RUN_TEST_c_c): Likewise.
17158 (RUN_TEST_LOOP_c_c): Likewise.
17159 (RUN_TEST_cc_c): Likewise.
17160 (RUN_TEST_LOOP_cc_c): Likewise.
17161 (RUN_TEST_f_i): Likewise.
17162 (RUN_TEST_LOOP_f_i): Likewise.
17163 (RUN_TEST_f_i_tg): Likewise.
17164 (RUN_TEST_LOOP_f_i_tg): Likewise.
17165 (RUN_TEST_ff_i_tg): Likewise.
17166 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17167 (RUN_TEST_f_b): Likewise.
17168 (RUN_TEST_LOOP_f_b): Likewise.
17169 (RUN_TEST_f_b_tg): Likewise.
17170 (RUN_TEST_LOOP_f_b_tg): Likewise.
17171 (RUN_TEST_f_l): Likewise.
17172 (RUN_TEST_LOOP_f_l): Likewise.
17173 (RUN_TEST_f_L): Likewise.
17174 (RUN_TEST_LOOP_f_L): Likewise.
17175 (RUN_TEST_sincos): Likewise.
17176 (RUN_TEST_LOOP_sincos): Likewise.
17177
17178 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17179
17180 [BZ #15480]
17181 [BZ #15485]
17182 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17183 main case of finite arguments, set rounding mode to FE_TONEAREST
17184 and discard exceptions.
17185 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17186 exceptions.
17187 (remainder_tonearest_test_data): New variable.
17188 (remainder_test_tonearest): New function.
17189 (remainder_towardzero_test_data): New variable.
17190 (remainder_test_towardzero): New function.
17191 (remainder_downward_test_data): New variable.
17192 (remainder_test_downward): New function.
17193 (remainder_upward_test_data): New variable.
17194 (remainder_test_upward): New function.
17195 (main): Call the new test functions.
17196
17197 * math/libm-test.inc (struct test_f_f1_data): Remove field
17198 extra_init.
17199 (struct test_fF_f1_data): Likewise.
17200 (struct test_ffI_f1_data): Likewise.
17201 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17202 based on value of EXTRA_EXPECTED.
17203 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17204 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17205 EXTRA_VAR based on value of EXTRA_EXPECTED.
17206 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17207 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17208 EXTRA_VAR based on value of EXTRA_EXPECTED.
17209 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17210 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17211 EXTRA_VAR based on value of EXTRA_EXPECTED.
17212 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17213 * math/gen-libm-test.pl (parse_args): Don't output initializers
17214 for extra output values.
17215
17216 * math/libm-test.inc (check_int): Expect result to be exactly
17217 equal to expected value and do not handle ulps.
17218 (check_long): Likewise.
17219 (check_longlong): Likewise.
17220
17221 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17222 exceptions.
17223 (cimag_test_data): Likewise.
17224 (conj_test_data): Likewise.
17225 (copysign_test_data): Likewise.
17226 (cproj_test_data): Likewise.
17227 (creal_test_data): Likewise.
17228 (fabs_test_data): Likewise.
17229 (fdim_test_data): Likewise.
17230 (finite_test_data): Likewise.
17231 (floor_test_data): Likewise.
17232 (fmax_test_data): Likewise.
17233 (fmin_test_data): Likewise.
17234 (fmod_test_data): Likewise.
17235 (fpclassify_test_data): Likewise.
17236 (frexp_test_data): Likewise.
17237 (ilogb_test_data): Likewise.
17238 (isfinite_test_data): Likewise.
17239 (isgreater_test_data): Likewise.
17240 (isgreaterequal_test_data): Likewise.
17241 (isinf_test_data): Likewise.
17242 (isless_test_data): Likewise.
17243 (islessequal_test_data): Likewise.
17244 (islessgreater_test_data): Likewise.
17245 (isnan_test_data): Likewise.
17246 (isnormal_test_data): Likewise.
17247 (issignaling_test_data): Likewise.
17248 (isunordered_test_data): Likewise.
17249 (ldexp_test_data): Likewise.
17250 (lrint_test_data): Likewise.
17251 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17252 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17253 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17254 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17255 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17256 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17257 test input.
17258 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17259 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17260 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17261 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17262 that test input.
17263 (lrint_downward_test_data): Test for "inexact" exceptions.
17264 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17265 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17266 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17267 test input.
17268 (lrint_upward_test_data): Test for "inexact" exceptions.
17269 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17270 test input.
17271 (llrint_test_data): Test for "inexact" exceptions.
17272 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17273 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17274 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17275 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17276 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17277 (llrint_downward_test_data): Test for "inexact" exceptions.
17278 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17279 (llrint_upward_test_data): Test for "inexact" exceptions.
17280 (logb_test_data): Likewise.
17281 (logb_downward_test_data): Likewise.
17282 (nextafter_test_data): Likewise.
17283 (nexttoward_test_data): Likewise.
17284 (remainder_test_data): Likewise.
17285 (remquo_test_data): Likewise.
17286 (scalbn_test_data): Likewise.
17287 (scalbln_test_data): Likewise.
17288 (signbit_test_data): Likewise.
17289 (sqrt_test_data): Likewise.
17290 (significand_test_data): Likewise.
17291
17292 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17293
17294 [BZ #15424]
17295 * benchtests/bench-modf.c (struct args): Mark arg0 as
17296 volatile.
17297 * scripts/bench.pl: Mark members of struct args as volatile.
17298
17299 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17300
17301 [BZ # 15497]
17302 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17303 negative infinity on POWER6 or lower.
17304 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17305
17306 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17307
17308 [BZ #15442]
17309 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17310 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17311 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17312 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17313 (_FP_SETQNAN): New macro.
17314 (_FP_SETQNAN_SEMIRAW): Likewise.
17315 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17316 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17317 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17318 (FP_EXTEND): Use _FP_FRAC_SNANP.
17319 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17320 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17321 into account.
17322 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17323 New macro.
17324 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17325 Likewise.
17326
17327 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17328
17329 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17330 with DIVIDE_BY_ZERO_EXCEPTION.
17331 (gamma_test_data): Likewise.
17332 (lgamma_test_data): Likewise.
17333 (log_test_data): Likewise.
17334 (log10_test_data): Likewise.
17335 (log2_test_data): Likewise.
17336 (tgamma_test_data): Likewise.
17337
17338 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17339 (acos_test_tonearest): Likewise.
17340 (acos_test_towardzero): Likewise.
17341 (acos_test_downward): Likewise.
17342 (acos_test_upward): Likewise.
17343 (acosh_test): Likewise.
17344 (asin_test): Likewise.
17345 (asin_test_tonearest): Likewise.
17346 (asin_test_towardzero): Likewise.
17347 (asin_test_downward): Likewise.
17348 (asin_test_upward): Likewise.
17349 (asinh_test): Likewise.
17350 (atan_test): Likewise.
17351 (atanh_test): Likewise.
17352 (atan2_test): Likewise.
17353 (cabs_test): Likewise.
17354 (cacos_test): Likewise.
17355 (cacosh_test): Likewise.
17356 (casin_test): Likewise.
17357 (casinh_test): Likewise.
17358 (catan_test): Likewise.
17359 (catanh_test): Likewise.
17360 (cbrt_test): Likewise.
17361 (ccos_test): Likewise.
17362 (ccosh_test): Likewise.
17363 (cexp_test): Likewise.
17364 (clog_test): Likewise.
17365 (clog10_test): Likewise.
17366 (cos_test): Likewise.
17367 (cos_test_tonearest): Likewise.
17368 (cos_test_towardzero): Likewise.
17369 (cos_test_downward): Likewise.
17370 (cos_test_upward): Likewise.
17371 (cosh_test): Likewise.
17372 (cosh_test_tonearest): Likewise.
17373 (cosh_test_towardzero): Likewise.
17374 (cosh_test_downward): Likewise.
17375 (cosh_test_upward): Likewise.
17376 (cpow_test): Likewise.
17377 (csin_test): Likewise.
17378 (csinh_test): Likewise.
17379 (csqrt_test): Likewise.
17380 (ctan_test): Likewise.
17381 (ctan_test_tonearest): Likewise.
17382 (ctan_test_towardzero): Likewise.
17383 (ctan_test_downward): Likewise.
17384 (ctan_test_upward): Likewise.
17385 (ctanh_test): Likewise.
17386 (ctanh_test_tonearest): Likewise.
17387 (ctanh_test_towardzero): Likewise.
17388 (ctanh_test_downward): Likewise.
17389 (ctanh_test_upward): Likewise.
17390 (erf_test): Likewise.
17391 (erfc_test): Likewise.
17392 (exp_test): Likewise.
17393 (exp_test_tonearest): Likewise.
17394 (exp_test_towardzero): Likewise.
17395 (exp_test_downward): Likewise.
17396 (exp_test_upward): Likewise.
17397 (exp10_test): Likewise.
17398 (exp2_test): Likewise.
17399 (expm1_test): Likewise.
17400 (fmod_test): Likewise.
17401 (gamma_test): Likewise.
17402 (hypot_test): Likewise.
17403 (j0_test): Likewise.
17404 (j1_test): Likewise.
17405 (jn_test): Likewise.
17406 (lgamma_test): Likewise.
17407 (log_test): Likewise.
17408 (log10_test): Likewise.
17409 (log1p_test): Likewise.
17410 (log2_test): Likewise.
17411 (logb_test_downward): Likewise.
17412 (pow_test): Likewise.
17413 (pow_test_tonearest): Likewise.
17414 (pow_test_towardzero): Likewise.
17415 (pow_test_downward): Likewise.
17416 (pow_test_upward): Likewise.
17417 (remainder_test): Likewise.
17418 (remquo_test): Likewise.
17419 (sin_test): Likewise.
17420 (sin_test_tonearest): Likewise.
17421 (sin_test_towardzero): Likewise.
17422 (sin_test_downward): Likewise.
17423 (sin_test_upward): Likewise.
17424 (sincos_test): Likewise.
17425 (sinh_test): Likewise.
17426 (sinh_test_tonearest): Likewise.
17427 (sinh_test_towardzero): Likewise.
17428 (sinh_test_downward): Likewise.
17429 (sinh_test_upward): Likewise.
17430 (sqrt_test): Likewise.
17431 (tan_test): Likewise.
17432 (tan_test_tonearest): Likewise.
17433 (tan_test_towardzero): Likewise.
17434 (tan_test_downward): Likewise.
17435 (tan_test_upward): Likewise.
17436 (tanh_test): Likewise.
17437 (tgamma_test): Likewise.
17438 (y0_test): Likewise.
17439 (y1_test): Likewise.
17440 (yn_test): Likewise.
17441
17442 * math/gen-libm-test.pl (adjust_arg): Remove function.
17443 (special_function): Remove argument $in_func. Only handle
17444 generating output for tables of tests, not inside functions.
17445 (parse_args): Likewise.
17446 (generate_testfile): Remove variable $in_func. Update call to
17447 parse_args.
17448 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17449 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17450 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17451 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17452 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17453 (MAX_VALUE_INIT): Rename macro to max_value.
17454 (MIN_VALUE_INIT): Rename macro to min_value.
17455 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17456 (plus_zero): Remove variable.
17457 (minus_zero): Likewise.
17458 (plus_infty): Likewise.
17459 (minus_infty): Likewise.
17460 (qnan_value): Likewise.
17461 (max_value): Likewise.
17462 (min_value): Likewise.
17463 (min_subnorm_value): Likewise.
17464
17465 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17466
17467 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17468 uint64_t or uint32_t usage.
17469 * crypt/sha256-block.c: Likewise.
17470 * crypt/sha256-crypt.c: Likewise.
17471 * crypt/sha256.c: Likewise.
17472 * crypt/sha512-block.c: Likewise.
17473 * crypt/sha512-crypt.c: Likewise.
17474 * crypt/sha512.c: Likewise.
17475 * debug/backtrace-tst.c: Likewise.
17476 * debug/pcprofiledump.c: Likewise.
17477 * elf/cache.c: Likewise.
17478 * elf/dl-cache.c: Likewise.
17479 * elf/dl-misc.c: Likewise.
17480 * elf/dl-profile.c: Likewise.
17481 * elf/dl-support.c: Likewise.
17482 * elf/ldconfig.c: Likewise.
17483 * elf/sprof.c: Likewise.
17484 * iconv/dummy-repertoire.c: Likewise.
17485 * iconv/iconv_charmap.c: Likewise.
17486 * iconv/skeleton.c: Likewise.
17487 * iconvdata/8bit-generic.c: Likewise.
17488 * iconvdata/cp737.h: Likewise.
17489 * iconvdata/cp775.h: Likewise.
17490 * iconvdata/ibm1008.h: Likewise.
17491 * iconvdata/ibm1025.h: Likewise.
17492 * iconvdata/ibm1046.h: Likewise.
17493 * iconvdata/ibm1097.h: Likewise.
17494 * iconvdata/ibm1112.h: Likewise.
17495 * iconvdata/ibm1122.h: Likewise.
17496 * iconvdata/ibm1123.h: Likewise.
17497 * iconvdata/ibm1124.h: Likewise.
17498 * iconvdata/ibm1129.h: Likewise.
17499 * iconvdata/ibm1130.h: Likewise.
17500 * iconvdata/ibm1132.h: Likewise.
17501 * iconvdata/ibm1133.h: Likewise.
17502 * iconvdata/ibm1137.h: Likewise.
17503 * iconvdata/ibm1140.h: Likewise.
17504 * iconvdata/ibm1141.h: Likewise.
17505 * iconvdata/ibm1142.h: Likewise.
17506 * iconvdata/ibm1143.h: Likewise.
17507 * iconvdata/ibm1144.h: Likewise.
17508 * iconvdata/ibm1145.h: Likewise.
17509 * iconvdata/ibm1146.h: Likewise.
17510 * iconvdata/ibm1147.h: Likewise.
17511 * iconvdata/ibm1148.h: Likewise.
17512 * iconvdata/ibm1149.h: Likewise.
17513 * iconvdata/ibm1153.h: Likewise.
17514 * iconvdata/ibm1154.h: Likewise.
17515 * iconvdata/ibm1155.h: Likewise.
17516 * iconvdata/ibm1156.h: Likewise.
17517 * iconvdata/ibm1157.h: Likewise.
17518 * iconvdata/ibm1158.h: Likewise.
17519 * iconvdata/ibm1160.h: Likewise.
17520 * iconvdata/ibm1161.h: Likewise.
17521 * iconvdata/ibm1162.h: Likewise.
17522 * iconvdata/ibm1163.h: Likewise.
17523 * iconvdata/ibm1164.h: Likewise.
17524 * iconvdata/ibm1166.h: Likewise.
17525 * iconvdata/ibm1167.h: Likewise.
17526 * iconvdata/ibm12712.h: Likewise.
17527 * iconvdata/ibm1390.h: Likewise.
17528 * iconvdata/ibm1399.h: Likewise.
17529 * iconvdata/ibm16804.h: Likewise.
17530 * iconvdata/ibm4517.h: Likewise.
17531 * iconvdata/ibm4899.h: Likewise.
17532 * iconvdata/ibm4909.h: Likewise.
17533 * iconvdata/ibm4971.h: Likewise.
17534 * iconvdata/ibm5347.h: Likewise.
17535 * iconvdata/ibm803.h: Likewise.
17536 * iconvdata/ibm856.h: Likewise.
17537 * iconvdata/ibm901.h: Likewise.
17538 * iconvdata/ibm902.h: Likewise.
17539 * iconvdata/ibm9030.h: Likewise.
17540 * iconvdata/ibm9066.h: Likewise.
17541 * iconvdata/ibm921.h: Likewise.
17542 * iconvdata/ibm922.h: Likewise.
17543 * iconvdata/ibm9448.h: Likewise.
17544 * iconvdata/isiri-3342.h: Likewise.
17545 * iconvdata/jis0201.h: Likewise.
17546 * include/link.h: Likewise.
17547 * include/netdb.h: Likewise.
17548 * inet/check_native.c: Likewise.
17549 * inet/check_pf.c: Likewise.
17550 * inet/getipv4sourcefilter.c: Likewise.
17551 * inet/getnameinfo.c: Likewise.
17552 * inet/getsourcefilter.c: Likewise.
17553 * inet/htonl.c: Likewise.
17554 * inet/setipv4sourcefilter.c: Likewise.
17555 * inet/setsourcefilter.c: Likewise.
17556 * inet/test-inet6_opt.c: Likewise.
17557 * inet/tst-network.c: Likewise.
17558 * locale/C-collate.c: Likewise.
17559 * locale/C-ctype.c: Likewise.
17560 * locale/C-time.c: Likewise.
17561 * locale/C-translit.h: Likewise.
17562 * locale/loadarchive.c: Likewise.
17563 * locale/programs/3level.h: Likewise.
17564 * locale/programs/charmap.c: Likewise.
17565 * locale/programs/charmap.h: Likewise.
17566 * locale/programs/ld-address.c: Likewise.
17567 * locale/programs/ld-collate.c: Likewise.
17568 * locale/programs/ld-ctype.c: Likewise.
17569 * locale/programs/ld-identification.c: Likewise.
17570 * locale/programs/ld-measurement.c: Likewise.
17571 * locale/programs/ld-messages.c: Likewise.
17572 * locale/programs/ld-monetary.c: Likewise.
17573 * locale/programs/ld-name.c: Likewise.
17574 * locale/programs/ld-numeric.c: Likewise.
17575 * locale/programs/ld-paper.c: Likewise.
17576 * locale/programs/ld-telephone.c: Likewise.
17577 * locale/programs/ld-time.c: Likewise.
17578 * locale/programs/linereader.c: Likewise.
17579 * locale/programs/locale.c: Likewise.
17580 * locale/programs/locarchive.c: Likewise.
17581 * locale/programs/locfile.h: Likewise.
17582 * locale/programs/repertoire.c: Likewise.
17583 * locale/programs/simple-hash.c: Likewise.
17584 * locale/programs/simple-hash.h: Likewise.
17585 * malloc/memusage.c: Likewise.
17586 * malloc/memusagestat.c: Likewise.
17587 * nis/nis_defaults.c: Likewise.
17588 * nis/nis_hash.c: Likewise.
17589 * nis/nis_print.c: Likewise.
17590 * nis/nis_xdr.c: Likewise.
17591 * nscd/connections.c: Likewise.
17592 * nscd/hstcache.c: Likewise.
17593 * nscd/nscd_gethst_r.c: Likewise.
17594 * nscd/nscd_getserv_r.c: Likewise.
17595 * nscd/nscd_helper.c: Likewise.
17596 * nscd/servicescache.c: Likewise.
17597 * nss/makedb.c: Likewise.
17598 * nss/nss_db/db-XXX.c: Likewise.
17599 * nss/nss_db/db-initgroups.c: Likewise.
17600 * nss/nss_db/db-netgrp.c: Likewise.
17601 * nss/nss_files/files-network.c: Likewise.
17602 * nss/nss_files/files-parse.c: Likewise.
17603 * posix/bug-regex5.c: Likewise.
17604 * posix/fnmatch_loop.c: Likewise.
17605 * posix/regcomp.c: Likewise.
17606 * posix/regexec.c: Likewise.
17607 * posix/tst-rfc3484-2.c: Likewise.
17608 * posix/tst-rfc3484-3.c: Likewise.
17609 * posix/tst-rfc3484.c: Likewise.
17610 * resolv/nss_dns/dns-canon.c: Likewise.
17611 * resolv/nss_dns/dns-network.c: Likewise.
17612 * resolv/res_init.c: Likewise.
17613 * resolv/res_mkquery.c: Likewise.
17614 * resolv/tst-aton.c: Likewise.
17615 * stdlib/cxa_atexit.c: Likewise.
17616 * stdlib/cxa_finalize.c: Likewise.
17617 * stdlib/gen-fpioconst.c: Likewise.
17618 * stdlib/strtol_l.c: Likewise.
17619 * string/tst-endian.c: Likewise.
17620 * sunrpc/auth_des.c: Likewise.
17621 * sunrpc/clnt_udp.c: Likewise.
17622 * sunrpc/rtime.c: Likewise.
17623 * sunrpc/svcauth_des.c: Likewise.
17624 * sunrpc/xdr.c: Likewise.
17625 * sunrpc/xdr_intXX_t.c: Likewise.
17626 * sunrpc/xdr_rec.c: Likewise.
17627 * sysdeps/generic/ldconfig.h: Likewise.
17628 * sysdeps/generic/ldsodefs.h: Likewise.
17629 * sysdeps/generic/memusage.h: Likewise.
17630 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17631 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17632 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17633 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17636 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17637 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17638 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17639 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17640 * sysdeps/posix/getaddrinfo.c: Likewise.
17641 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17642 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17643 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17644 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17645 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17646 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17647 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17648 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17649 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17650 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17651 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17652 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17653 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17654 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17655 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17656 * sysdeps/x86_64/dl-tls.h: Likewise.
17657 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17658 * time/alt_digit.c: Likewise.
17659 * time/era.c: Likewise.
17660 * wcsmbs/tst-c16c32-1.c: Likewise.
17661
17662 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17663
17664 * math/libm-test.inc (struct test_sincos_data): New type.
17665 (RUN_TEST_LOOP_sincos): New macro.
17666 (sincos_test_data): New variable.
17667 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17668
17669 2013-05-16 Richard Henderson <rth@redhat.com>
17670
17671 * math/atest-exp2.c (LIMB64): New macro.
17672 (CONSTSZ): New macro.
17673 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17674 (hexdig): Move ...
17675 (print_mpn_fp): ... to function scope.
17676 (read_mpn_hex): Remove.
17677 (get_log2): Remove.
17678 (exp2_mpn): Use mp_log2.
17679 (main): Use mp_exp1.
17680
17681 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17682
17683 * math/libm-test.inc: Remove comment about not testing "inexact"
17684 exceptions.
17685 (INEXACT_EXCEPTION): New macro.
17686 (NO_INEXACT_EXCEPTION): Likewise.
17687 (INVALID_EXCEPTION_OK): Update value.
17688 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17689 (OVERFLOW_EXCEPTION_OK): Likewise.
17690 (UNDERFLOW_EXCEPTION_OK): Likewise.
17691 (IGNORE_ZERO_INF_SIGN): Likewise.
17692 (ERRNO_UNCHANGED): Likewise.
17693 (ERRNO_EDOM): Likewise.
17694 (ERRNO_ERANGE): Likewise.
17695 (test_exceptions): Handle testing "inexact" exceptions.
17696 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17697 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17698 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17699 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17700 INEXACT_EXCEPTION.
17701 (rint_towardzero_test_data): Likewise.
17702 (rint_downward_test_data): Likewise.
17703 (rint_upward_test_data): Likewise.
17704
17705 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17706 with OVERFLOW_EXCEPTION.
17707 (exp10_test_data): Likewise.
17708 (exp2_test_data): Likewise.
17709 (expm1_test_data): Likewise.
17710 (lgamma_test_data): Likewise.
17711 (pow_test_data): Likewise.
17712 (tgamma_test_data): Likewise.
17713 (yn_test_data): Remove duplicate test of overflow.
17714
17715 * math/libm-test.inc (struct test_cc_c_data): New type.
17716 (RUN_TEST_LOOP_cc_c): New macro.
17717 (cpow_test_data): New variable.
17718 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17719
17720 * math/libm-test.inc (struct test_f_L_data): New type.
17721 (RUN_TEST_LOOP_f_L): New macro.
17722 (llrint_test_data): New variable.
17723 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17724 (llrint_tonearest_test_data): New variable.
17725 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17726 (llrint_towardzero_test_data): New variable.
17727 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17728 (llrint_downward_test_data): New variable.
17729 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17730 (llrint_upward_test_data): New variable.
17731 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17732 (llround_test_data): New variable.
17733 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17734
17735 2013-05-13 Peter Collingbourne <pcc@google.com>
17736
17737 * math/atest-exp2.c (get_log2): Remove const attribute.
17738
17739 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17740
17741 * math/libm-test.inc (struct test_f_l_data): New type.
17742 (RUN_TEST_LOOP_f_l): New macro.
17743 (lrint_test_data): New variable.
17744 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17745 (lrint_tonearest_test_data): New variable.
17746 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17747 (lrint_towardzero_test_data): New variable.
17748 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17749 (lrint_downward_test_data): New variable.
17750 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17751 (lrint_upward_test_data): New variable.
17752 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17753 (lround_test_data): New variable.
17754 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17755
17756 2013-05-15 Peter Collingbourne <pcc@google.com>
17757
17758 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17759 (EXTRACT_WORDS64) Use where appropriate.
17760 (INSERT_WORDS64) Likewise.
17761
17762 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17763 constraints with x constraints.
17764 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17765
17766 * malloc/obstack.c (_obstack_compat): Add initializer.
17767
17768 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17769
17770 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17771 si_trapno and add si_addr_lsb to _sifields.sigfault.
17772 (si_trapno): Remove macro.
17773 (si_addr_lsb): Define new macro.
17774 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17775
17776 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17777
17778 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17779 instead of TEST_f_l.
17780 (llrint_test_tonearest): Likewise.
17781 (llrint_test_towardzero): Likewise.
17782 (llrint_test_downward): Likewise.
17783 (llrint_test_upward): Likewise.
17784 (llround_test): Likewise.
17785
17786 * math/libm-test.inc (struct test_f_i_data): Add comment.
17787 (RUN_TEST_LOOP_f_b): New macro.
17788 (RUN_TEST_LOOP_f_b_tg): Likewise.
17789 (finite_test_data): New variable.
17790 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17791 (isfinite_test_data): New variable.
17792 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17793 (isinf_test_data): New variable.
17794 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17795 (isnan_test_data): New variable.
17796 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17797 (isnormal_test_data): New variable.
17798 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17799 (issignaling_test_data): New variable.
17800 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17801 (signbit_test_data): New variable.
17802 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17803
17804 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17805 with INVALID_EXCEPTION.
17806 (acosh_test_data): Likewise.
17807 (asin_test_data): Likewise.
17808 (atanh_test_data): Likewise.
17809 (fmod_test_data): Likewise.
17810 (log_test_data): Likewise.
17811 (log10_test_data): Likewise.
17812 (log2_test_data): Likewise.
17813 (pow_test_data): Likewise.
17814 (sqrt_test_data): Likewise.
17815 (y0_test_data): Likewise.
17816 (y1_test_data): Likewise.
17817 (yn_test_data): Likewise.
17818
17819 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17820 function contents.
17821
17822 * math/libm-test.inc (struct test_ff_i_data): New type.
17823 (RUN_TEST_LOOP_ff_i_tg): New macro.
17824 (isgreater_test_data): New variable.
17825 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17826 (isgreaterequal_test_data): New variable.
17827 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17828 (isless_test_data): New variable.
17829 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17830 (islessequal_test_data): New variable.
17831 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17832 (islessgreater_test_data): New variable.
17833 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17834 (isunordered_test_data): New variable.
17835 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17836
17837 2013-05-14 David S. Miller <davem@davemloft.net>
17838
17839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17840
17841 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17842
17843 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17844
17845 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17846 extra_test to int.
17847 (struct test_f_i_data): Change type of max_ulp to int.
17848
17849 * math/libm-test.inc (test_ffI_f1_data): New type.
17850 (RUN_TEST_LOOP_ffI_f1): New macro.
17851 (remquo_test_data): New variable.
17852 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17853
17854 * setjmp/tst-setjmp-fp.c: New file.
17855 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17856 (link-libm): New variable.
17857 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17858
17859 * math/libm-test.inc (struct test_f_i_data): New type.
17860 (RUN_TEST_LOOP_f_i): New macro.
17861 (RUN_TEST_LOOP_f_i_tg): Likewise.
17862 (fpclassify_test_data): New variable.
17863 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17864 (ilogb_test_data): New variable.
17865 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17866
17867 * math/libm-test.inc (scalbln_test): Correct function name in END
17868 call.
17869
17870 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17871 (RUN_TEST_LOOP_fI_f1): New macro.
17872 (frexp_test_data): New variable.
17873 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17874
17875 * math/libm-test.inc (struct test_fF_f1_data): New type.
17876 (RUN_TEST_LOOP_fF_f1): New macro.
17877 (modf_test_data): New variable.
17878 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17879
17880 * math/libm-test.inc (struct test_f_f1_data): New type.
17881 (RUN_TEST_LOOP_f_f1): New macro.
17882 (gamma_test_data): New variable.
17883 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17884 (lgamma_test_data): New variable.
17885 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17886
17887 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17888
17889 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17890 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17891 (main): Comment "tls" pseudo-hwcap.
17892
17893 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17894
17895 * math/libm-test.inc (struct test_fl_f_data): New type.
17896 (RUN_TEST_LOOP_fl_f): New variable.
17897 (scalbln_test_data): New variable.
17898 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17899
17900 * math/libm-test.inc (struct test_fi_f_data): New type.
17901 (RUN_TEST_LOOP_fi_f): New macro.
17902 (ldexp_test_data): New variable.
17903 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17904 (scalbn_test_data): New variable.
17905 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17906
17907 * math/libm-test.inc (struct test_c_f_data): New type.
17908 (RUN_TEST_LOOP_c_f): New macro.
17909 (cabs_test_data): New variable.
17910 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17911 (carg_test_data): New variable.
17912 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17913 (cimag_test_data): New variable.
17914 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17915 (creal_test_data): New variable.
17916 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17917
17918 * math/libm-test.inc (struct test_if_f_data): New type.
17919 (RUN_TEST_LOOP_if_f): New macro.
17920 (jn_test_data): New variable.
17921 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17922 (yn_test_data): New variable.
17923 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17924
17925 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17926
17927 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17928
17929 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17930 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17931
17932 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17933
17934 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17935 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17936 (bench-deps): Add bench-timing.h.
17937 * benchtests-bench-skeleton.c: Include bench-timing.h.
17938 (main): Use TIMING_* macros instead of clock_gettime.
17939 * benchtests/bench-timing.h: New file.
17940
17941 [BZ #14582]
17942 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17943 Renamed from _LIB_VERSION.
17944 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17945
17946 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17947
17948 * math/libm-test.inc (struct test_fff_f_data): New type.
17949 (RUN_TEST_LOOP_fff_f): New macro.
17950 (fma_test_data): New variable.
17951 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17952 (fma_towardzero_test_data): New variable.
17953 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17954 (fma_downward_test_data): New variable.
17955 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17956 (fma_upward_test_data): New variable.
17957 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17958
17959 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17960 (struct test_c_c_data): New type.
17961 (RUN_TEST_LOOP_c_c): New macro.
17962 (cacos_test_data): New variable.
17963 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17964 (cacosh_test_data): New variable.
17965 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17966 (casin_test_data): New variable.
17967 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17968 (casinh_test_data): New variable.
17969 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17970 (catan_test_data): New variable.
17971 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17972 (catanh_test_data): New variable.
17973 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17974 (ccos_test_data): New variable.
17975 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17976 (ccosh_test_data): New variable.
17977 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17978 (cexp_test_data): New variable.
17979 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17980 (clog_test_data): New variable.
17981 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17982 (clog10_test_data): New variable.
17983 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17984 (conj_test_data): New variable.
17985 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17986 (cproj_test_data): New variable.
17987 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17988 (csin_test_data): New variable.
17989 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17990 (csinh_test_data): New variable.
17991 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17992 (csqrt_test_data): New variable.
17993 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17994 (ctan_test_data): New variable.
17995 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17996 (ctan_tonearest_test_data): New variable.
17997 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17998 (ctan_towardzero_test_data): New variable.
17999 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18000 (ctan_downward_test_data): New variable.
18001 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18002 (ctan_upward_test_data): New variable.
18003 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18004 (ctanh_test_data): New variable.
18005 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18006 (ctanh_tonearest_test_data): New variable.
18007 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18008 (ctanh_towardzero_test_data): New variable.
18009 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18010 (ctanh_downward_test_data): New variable.
18011 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18012 (ctanh_upward_test_data): New variable.
18013 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18014 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18015 of BUILD_COMPLEX.
18016
18017 * math/libm-test.inc (struct test_ff_f_data): New type.
18018 (struct test_ff_f_data_nexttoward): Likewise.
18019 (RUN_TEST_LOOP_2_f): New macro.
18020 (RUN_TEST_LOOP_ff_f): Likewise.
18021 (atan2_test_data): New variable.
18022 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18023 (copysign_test_data): New variable.
18024 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18025 (fdim_test_data): New variable.
18026 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18027 (fmax_test_data): New variable.
18028 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18029 (fmin_test_data): New variable.
18030 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18031 (fmod_test_data): New variable.
18032 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18033 (hypot_test_data): New variable.
18034 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18035 (nextafter_test_data): New variable.
18036 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18037 (nexttoward_test_data): New variable.
18038 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18039 (pow_test_data): New variable.
18040 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18041 (pow_tonearest_test_data): New variable.
18042 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18043 (pow_towardzero_test_data): New variable.
18044 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18045 (pow_downward_test_data): New variable.
18046 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18047 (pow_upward_test_data): New variable.
18048 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18049 (remainder_test_data): New variable.
18050 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18051 (scalb_test_data): New variable.
18052 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18053 * sysdeps/i386/fpu/libm-test-ulps: Update.
18054
18055 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18056
18057 * math/libm-test.inc (fma_test): Use max_value instead of local
18058 variable fltmax.
18059 (nextafter_test): Likewise.
18060
18061 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18062 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18063 (acos_downward_test_data): New variable.
18064 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18065 (acos_upward_test_data): New variable.
18066 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18067 (acosh_test_data): New variable.
18068 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18069 (asin_test_data): New variable.
18070 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18071 (asin_tonearest_test_data): New variable.
18072 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18073 (asin_towardzero_test_data): New variable.
18074 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18075 (asin_downward_test_data): New variable.
18076 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18077 (asin_upward_test_data): New variable.
18078 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18079 (asinh_test_data): New variable.
18080 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18081 (atan_test_data): New variable.
18082 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18083 (atanh_test_data): New variable.
18084 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18085 (cbrt_test_data): New variable.
18086 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18087 (ceil_test_data): New variable.
18088 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18089 (cos_test_data): New variable.
18090 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18091 (cos_tonearest_test_data): New variable.
18092 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18093 (cos_towardzero_test_data): New variable.
18094 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18095 (cos_downward_test_data): New variable.
18096 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18097 (cos_upward_test_data): New variable.
18098 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18099 (cosh_test_data): New variable.
18100 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18101 (cosh_tonearest_test_data): New variable.
18102 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18103 (cosh_towardzero_test_data): New variable.
18104 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18105 (cosh_downward_test_data): New variable.
18106 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18107 (cosh_upward_test_data): New variable.
18108 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18109 (erf_test_data): New variable.
18110 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18111 (erfc_test_data): New variable.
18112 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18113 (exp_test_data): New variable.
18114 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18115 (exp_tonearest_test_data): New variable.
18116 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18117 (exp_towardzero_test_data): New variable.
18118 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18119 (exp_downward_test_data): New variable.
18120 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18121 (exp_upward_test_data): New variable.
18122 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18123 (exp10_test_data): New variable.
18124 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18125 (exp2_test_data): New variable.
18126 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18127 (expm1_test_data): New variable.
18128 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18129 (fabs_test_data): New variable.
18130 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18131 (floor_test_data): New variable.
18132 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18133 (j0_test_data): New variable.
18134 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18135 (j1_test_data): New variable.
18136 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18137 (log_test_data): New variable.
18138 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18139 (log10_test_data): New variable.
18140 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18141 (log1p_test_data): New variable.
18142 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18143 (log2_test_data): New variable.
18144 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18145 (logb_test_data): New variable.
18146 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18147 (logb_downward_test_data): New variable.
18148 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18149 (nearbyint_test_data): New variable.
18150 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18151 (rint_test_data): New variable.
18152 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18153 (rint_tonearest_test_data): New variable.
18154 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18155 (rint_towardzero_test_data): New variable.
18156 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18157 (rint_downward_test_data): New variable.
18158 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18159 (rint_upward_test_data): New variable.
18160 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18161 (round_test_data): New variable.
18162 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18163 (sin_test_data): New variable.
18164 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18165 (sin_tonearest_test_data): New variable.
18166 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18167 (sin_towardzero_test_data): New variable.
18168 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18169 (sin_downward_test_data): New variable.
18170 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18171 (sin_upward_test_data): New variable.
18172 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18173 (sinh_test_data): New variable.
18174 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18175 (sinh_tonearest_test_data): New variable.
18176 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18177 (sinh_towardzero_test_data): New variable.
18178 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18179 (sinh_downward_test_data): New variable.
18180 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18181 (sinh_upward_test_data): New variable.
18182 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18183 (sqrt_test_data): New variable.
18184 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18185 (tan_test_data): New variable.
18186 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18187 (tan_tonearest_test_data): New variable.
18188 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18189 (tan_towardzero_test_data): New variable.
18190 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18191 (tan_downward_test_data): New variable.
18192 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18193 (tan_upward_test_data): New variable.
18194 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18195 (tanh_test_data): New variable.
18196 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18197 (tgamma_test_data): New variable.
18198 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18199 (trunc_test_data): New variable.
18200 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18201 (y0_test_data): New variable.
18202 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18203 (y1_test_data): New variable.
18204 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18205 (significand_test_data): New variable.
18206 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18207
18208 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18209
18210 [BZ #12387]
18211 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18212
18213 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18214
18215 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18216
18217 2013-05-10 Andreas Jaeger <aj@suse.de>
18218
18219 [BZ #15448]
18220 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18221 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18222
18223 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18224
18225 * math/gen-libm-test.pl (adjust_arg): New function.
18226 (special_functions): Handle generating output in both functions
18227 and arrays.
18228 (parse_args): Likewise.
18229 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18230 $in_func argument to parse_args.
18231 * math/libm-test.inc (struct test_f_f_data): New type.
18232 (IF_ROUND_INIT_): New macro.
18233 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18234 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18235 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18236 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18237 (ROUND_RESTORE_): Likewise.
18238 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18239 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18240 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18241 (ROUND_RESTORE_FE_UPWARD): Likewise.
18242 (RUN_TEST_LOOP_f_f): New macro.
18243 (acos_test_data): New variable.
18244 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18245 (acos_tonearest_test_data): New variable.
18246 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18247
18248 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18249
18250 * benchtests/bench-skeleton.c (startup): Fix coding style.
18251
18252 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18253
18254 [BZ #6809]
18255 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18256 negative infinity argument.
18257 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18258 negative infinity argument.
18259 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18260 negative infinity argument.
18261 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18262 domain errors.
18263
18264 2013-05-10 Florian Weimer <fweimer@redhat.com>
18265
18266 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18267 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18268 * iconv/iconv_prog.c (main): Likewise.
18269 * locale/programs/charmap-dir.c (charmap_readdir)
18270 (fopen_uncompressed): Likewise.
18271 * locale/programs/locfile.c (siblings_uncached)
18272 (write_locale_data): Use lstat64 instead of lstat.
18273 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18274 stat.
18275
18276 2013-05-10 Andreas Jaeger <aj@suse.de>
18277
18278 [BZ #15395]
18279 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18280 localization.
18281 Include <locale.h>.
18282
18283 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18284
18285 * elf/dl-close.c (_dl_close_worker): Add comments.
18286
18287 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18288
18289 [BZ #15359]
18290 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18291 high part of pi/2.
18292 (__ieee754_rem_pio2l): Update comments.
18293
18294 [BZ #15429]
18295 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18296 high part of pi/2.
18297 (__ieee754_rem_pio2l): Update comments.
18298
18299 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18300 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18301
18302 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18303 M_PI_4l.
18304
18305 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18306 (M_PI_34_LOG10El): Likewise.
18307 (M_PI2_LOG10El): Likewise.
18308 (M_PI4_LOG10El): Likewise.
18309 (M_PI_LOG10El): Likewise.
18310
18311 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18312
18313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18314
18315 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18316
18317 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18318 (MINUS_ZERO_INIT): Likewise.
18319 (PLUS_INFTY_INIT): Likewise.
18320 (MINUS_INFTY_INIT): Likewise.
18321 (QNAN_VALUE_INIT): Likewise.
18322 (MAX_VALUE_INIT): Likewise.
18323 (MIN_VALUE_INIT): Likewise.
18324 (MIN_SUBNORM_VALUE_INIT): Likewise.
18325 (plus_zero): Initialize with PLUS_ZERO_INIT.
18326 (minus_zero): Initialize with MINUS_ZERO_INIT.
18327 (plus_infty): Initialize with PLUS_INFTY_INIT.
18328 (minus_infty): Initialize with MINUS_INFTY_INIT.
18329 (qnan_value): Initialize with QNAN_VALUE_INIT.
18330 (max_value): Initialize with MAX_VALUE_INIT.
18331 (min_value): Initialize with MIN_VALUE_INIT.
18332 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18333
18334 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18335 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18336 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18337 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18338
18339 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18340 (RUN_TEST_2_f): Likewise.
18341 (RUN_TEST_ff_f): Likewise.
18342 (RUN_TEST_fi_f): Likewise.
18343 (RUN_TEST_fl_f): Likewise.
18344 (RUN_TEST_fff_f): Likewise.
18345 (RUN_TEST_c_f): Likewise.
18346 (RUN_TEST_f_f1): Likewise.
18347 (RUN_TEST_fF_f1): Likewise.
18348 (RUN_TEST_fI_f1): Likewise.
18349 (RUN_TEST_ffI_f1): Likewise.
18350 (RUN_TEST_c_c): Likewise.
18351 (RUN_TEST_cc_c): Likewise.
18352 (RUN_TEST_f_i): Likewise.
18353 (RUN_TEST_f_i_tg): Likewise.
18354 (RUN_TEST_ff_i_tg): Likewise.
18355 (RUN_TEST_f_b): Likewise.
18356 (RUN_TEST_f_b_tg): Likewise.
18357 (RUN_TEST_f_l): Likewise.
18358 (RUN_TEST_f_L): Likewise.
18359 (RUN_TEST_sincos): Likewise.
18360 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18361 whether to show exceptions. Do not include ");\n" in return
18362 value.
18363 (special_functions): Output call to RUN_TEST_sincos instead of
18364 check_float calls. Update calls to new_test.
18365 (parse_args): Output call to single RUN_TEST_* macro instead of
18366 check_* calls and other assignments. Update calls to new_test.
18367
18368 [BZ #2546]
18369 [BZ #2560]
18370 [BZ #5159]
18371 [BZ #15426]
18372 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18373 input to result for tgamma overflow.
18374 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18375 (gamma_coeff): New variable.
18376 (NCOEFF): New macro.
18377 (gamma_positive): New function.
18378 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18379 underflow here. Use gamma_positive instead of exp (lgamma) for
18380 other arguments.
18381 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18382 (gamma_coeff): New variable.
18383 (NCOEFF): New macro.
18384 (gammaf_positive): New function.
18385 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18386 underflow here. Use gamma_positive instead of exp (lgamma) for
18387 other arguments.
18388 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18389 (gamma_coeff): New variable.
18390 (NCOEFF): New macro.
18391 (gammal_positive): New function.
18392 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18393 underflow here. Use gamma_positive instead of exp (lgamma) for
18394 other arguments.
18395 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18396 (gamma_coeff): New variable.
18397 (NCOEFF): New macro.
18398 (gammal_positive): New function.
18399 (__ieee754_gammal_r): Handle positive infinity, overflow and
18400 underflow here. Handle NaN the same as positive infinity. Remove
18401 check x < 0xffffffff for negative integers. Use gamma_positive
18402 instead of exp (lgamma) for other arguments.
18403 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18404 (gamma_coeff): New variable.
18405 (NCOEFF): New macro.
18406 (gammal_positive): New function.
18407 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18408 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18409 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18410 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18411 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18412 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18413 * sysdeps/generic/math_private.h (__gamma_productf): New
18414 prototype.
18415 (__gamma_product): Likewise.
18416 (__gamma_productl): Likewise.
18417 * math/Makefile (libm-calls): Add gamma_product.
18418 * math/libm-test.inc (tgamma_test): Add more tests.
18419 * sysdeps/i386/fpu/libm-test-ulps: Update.
18420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18421
18422 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18423
18424 * benchtests/bench-skeleton.c (main): Preheat CPU.
18425
18426 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18427
18428 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18429
18430 2013-05-07 Roland McGrath <roland@hack.frob.com>
18431
18432 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18433 and _dl_skip_args_internal.
18434
18435 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18436
18437 * manual/message.texi (Message Translation): Talk about users.
18438 Message to key mapping impacts design.
18439
18440 2013-05-06 Roland McGrath <roland@hack.frob.com>
18441
18442 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18443
18444 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18445
18446 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18447 * sysdeps/wordsize-64/glob64.c: ... here.
18448
18449 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18450 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18451 New macros.
18452
18453 * debug/getlogin_r_chk.c: Moved to ...
18454 * login/getlogin_r_chk.c: ... here.
18455 * debug/Makefile (routines): Move getlogin_r_chk to ...
18456 * login/Makefile (routines): ... here.
18457 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18458 * login/Versions (libc: GLIBC_2.4): ... here.
18459
18460 * io/poll.c (__poll): Renamed from poll.
18461 Add libc_hidden_def.
18462 (poll): Define as weak alias.
18463
18464 * debug/ptsname_r_chk.c: Moved to ...
18465 * login/ptsname_r_chk.c: ... here.
18466 * debug/Makefile (routines): Move ptsname_r_chk to ...
18467 * login/Makefile (routines): ... here.
18468 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18469 * login/Versions (libc: GLIBC_2.4): ... here.
18470
18471 * posix/getlogin.c: Moved to ...
18472 * login/getlogin.c: ... here.
18473 * posix/getlogin_r.c: Moved to ...
18474 * login/getlogin_r.c: ... here.
18475 * posix/getlogin_r.c: Moved to ...
18476 * login/getlogin_r.c: ... here.
18477 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18478 * login/Makefile (routines): ... here.
18479 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18480 * login/Versions (libc: GLIBC_2.0): ... here.
18481
18482 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18483 (setrlimit): Define as weak alias.
18484
18485 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18486 Call __ names for open, ftruncate, and close.
18487 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18488 (truncate): Define as weak alias.
18489
18490 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18491
18492 * math/gen-libm-test.pl (parse_args): Initialize x before each
18493 test of frexp, modf and remquo.
18494
18495 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18496 test signgam value.
18497
18498 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18499
18500 [BZ #15418]
18501 [BZ #15419]
18502 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18503 internal tests.
18504 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18505
18506 2013-05-06 Roland McGrath <roland@hack.frob.com>
18507
18508 * elf/dl-writev.h: New file.
18509 * elf/dl-misc.c: Include it.
18510 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18511 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18512
18513 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18514
18515 * math/libm-test.inc (noXFails): Remove variable.
18516 (noXPasses): Likewise.
18517 (BUILD_COMPLEX_INT): Remove macro.
18518 (print_screen): Remove xfail argument.
18519 (print_screen_max_error): Likewise.
18520 (update_stats): Likewise.
18521 (print_max_error): Likewise. Update calls to other affected
18522 functions.
18523 (print_complex_max_error): Likewise.
18524 (test_single_exception): Update calls to print_screen.
18525 (test_single_errno): Likewise.
18526 (check_float_internal): Remove xfail argument. Update calls to
18527 other affected functions.
18528 (check_float): Likewise.
18529 (check_complex): Likewise.
18530 (check_int): Likewise.
18531 (check_long): Likewise.
18532 (check_bool): Likewise.
18533 (check_longlong): Likewise.
18534 (main): Don't print noXFails and noXPasses.
18535 * math/gen-libm-test.pl (top level): Don't mention expected
18536 failure handling in comment.
18537 (new_test): Don't handle expected failures.
18538 (parse_args): Don't mention expected failure handling in comment.
18539 (generate_testfile): Don't handle expected failures.
18540 (parse_ulps): Likewise.
18541 (print_ulps_file): Likewise.
18542 (get_failure): Remove function.
18543 (output_test): Don't handle expected failures.
18544 * make/README.libm-test: Don't mention expected failure handling.
18545
18546 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18547 (minus_zero): Likewise.
18548 (plus_infty): Likewise.
18549 (minus_infty): Likewise.
18550 (qnan_value): Likewise.
18551 (max_value): Likewise.
18552 (min_value): Likewise.
18553 (min_subnorm_value): Likewise.
18554 (initialize): Do not initialize those variables dynamically.
18555
18556 2013-05-03 Roland McGrath <roland@hack.frob.com>
18557
18558 * io/open.c (__open_2): Moved to ...
18559 * io/open_2.c: ... this new file.
18560 * io/open64.c (__open64_2): Moved to ...
18561 * io/open64_2.c: ... this new file.
18562 * io/openat.c (__openat_2): Moved to ...
18563 * io/openat_2.c: ... this new file.
18564 * io/openat64.c (__openat64_2): Moved to ...
18565 * io/openat64_2.c: ... this new file.
18566 * io/Makefile (routines): Add them.
18567 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18568 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18569 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18570 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18571 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18572 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18573 (__openat64): Add hidden_ver.
18574 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18575 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18576
18577 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18578 Separately conditionalize setting of GLRO(dl_sysinfo) so
18579 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18580 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18581
18582 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18583
18584 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18585 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18586 definition.
18587 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18588 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18589 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18590 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18591 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18592
18593 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18594
18595 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18596 test signgam value.
18597
18598 * math/libm-test.inc (hypot_test): Do not use
18599 IGNORE_ZERO_INF_SIGN.
18600
18601 2013-05-03 Andreas Jaeger <aj@suse.de>
18602
18603 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18604 Linux 3.9.
18605 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18606 (PF_MAX): Adjust for VSOCK change.
18607
18608 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18609
18610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18611
18612 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18613
18614 [BZ #15264]
18615 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18616 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18617 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18618
18619 2013-05-02 David S. Miller <davem@davemloft.net>
18620
18621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18622
18623 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18624
18625 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18626
18627 2013-05-01 Roland McGrath <roland@hack.frob.com>
18628
18629 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18630
18631 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18632
18633 [BZ #14952]
18634 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18635 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18636 Use __attribute__ ((__gnu_inline__)).
18637 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18638 Don't use __attribute__ ((__gnu_inline__)).
18639
18640 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18641
18642 [BZ #15423]
18643 * math/s_catan.c (__catan): Handle small real or imaginary part of
18644 input specially to avoid spurious underflow.
18645 * math/s_catanf.c (__catanf): Likewise.
18646 * math/s_catanh.c (__catanh): Likewise.
18647 * math/s_catanhf.c (__catanhf): Likewise.
18648 * math/s_catanhl.c (__catanhl): Likewise.
18649 * math/s_catanl.c (__catanl): Likewise.
18650 * math/libm-test.inc (catan_test): Add more tests.
18651 (catanh_test): Likewise.
18652 * sysdeps/i386/fpu/libm-test-ulps: Update.
18653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18654
18655 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18656
18657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18658
18659 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18660
18661 [BZ #15416]
18662 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18663 accurately for denominator in atan2.
18664 * math/s_catanf.c (__catanf): Likewise.
18665 * math/s_catanh.c (__catanh): Likewise.
18666 * math/s_catanhf.c (__catanhf): Likewise.
18667 * math/s_catanhl.c (__catanhl): Likewise.
18668 * math/s_catanl.c (__catanl): Likewise.
18669 * math/libm-test.inc (catan_test): Add more tests.
18670 (catanh_test): Likewise.
18671 * sysdeps/i386/fpu/libm-test-ulps: Update.
18672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18673
18674 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18675
18676 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18677
18678 * benchtests/Makefile (bench): Remove slow benchmarks.
18679 * benchtests/atan-inputs: Add slow benchmark inputs.
18680 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18681 (BENCH_FUNC): Accept variant offset.
18682 (VARIANT): Define.
18683 * benchtests/bench-skeleton.c (main): Run benchmark for each
18684 variant.
18685 * benchtests/cos-inputs: Add slow benchmark inputs.
18686 * benchtests/exp-inputs: Likewise.
18687 * benchtests/pow-inputs: Likewise.
18688 * benchtests/sin-inputs: Likewise.
18689 * benchtests/slowatan-inputs: Remove.
18690 * benchtests/slowatan.c: Remove.
18691 * benchtests/slowcos-inputs: Remove.
18692 * benchtests/slowcos.c: Remove.
18693 * benchtests/slowexp-inputs: Remove.
18694 * benchtests/slowexp.c: Remove.
18695 * benchtests/slowpow-inputs: Remove.
18696 * benchtests/slowpow.c: Remove.
18697 * benchtests/slowsin-inputs: Remove.
18698 * benchtests/slowsin.c: Remove.
18699 * benchtests/slowtan-inputs: Remove.
18700 * benchtests/slowtan.c: Remove.
18701 * benchtests/tan-inputs: Add slow benchmark inputs.
18702 * scripts/bench.pl: Parse comments and directives.
18703
18704 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18705 in CPPFLAGS.
18706 ($(objpfx)bench-%.c): Remove *-ITER.
18707 * benchtests/bench-modf.c: Remove definition of ITER.
18708 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18709 (main): Loop for DURATION seconds instead of fixed number of
18710 iterations.
18711 * scripts/bench.pl: Don't expect iterations in parameters.
18712
18713 2013-04-29 Roland McGrath <roland@hack.frob.com>
18714
18715 * io/fchdir.c (__fchdir): Renamed from fchdir.
18716 (fchdir): Define as weak alias.
18717
18718 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18719
18720 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18721 (ERRNO_EDOM): Likewise.
18722 (ERRNO_ERANGE): Likewise.
18723 (noErrnoTests): New variable.
18724 (init_max_error): Set errno to 0.
18725 (test_single_errno): New function.
18726 (test_errno): Likewise.
18727 (check_float_internal): Call test_errno. Set errno to 0.
18728 (check_complex): Refer to errno tests in comment.
18729 (check_int): Call test_errno. Set errno to 0.
18730 (check_long): Likewise.
18731 (check_bool): Likewise.
18732 (check_longlong): Likewise.
18733 (cos_test): Use ERRNO_* flags for errno tests instead of
18734 check_int.
18735 (expm1_test): Likewise.
18736 (fmod_test): Likewise.
18737 (ilogb_test): Likewise.
18738 (lgamma_test): Likewise.
18739 (pow_test): Likewise.
18740 (remainder_test): Likewise.
18741 (sin_test): Likewise.
18742 (tan_test): Likewise.
18743 (yn_test): Likewise.
18744 (initialize): Set errno to 0.
18745 (main): Print number of errno tests.
18746 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18747
18748 2013-04-29 Andreas Jaeger <aj@suse.de>
18749
18750 [BZ #15084]
18751 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18752 and RES_USEVC.
18753
18754 [BZ #15085]
18755 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18756 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18757 unimplemented.
18758
18759 [BZ #15380]
18760 * stdlib/random.c (__initstate): Return NULL if
18761 __initstate fails.
18762
18763 [BZ #15086]
18764 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18765 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18766 RES_SNGLKUPREOP.
18767
18768 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18769
18770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18771
18772 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18773
18774 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18775 of individual tests.
18776 (casin_test): Likewise.
18777 (casinh_test): Likewise.
18778
18779 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18780
18781 [BZ #15409]
18782 * math/s_catan.c (__catan): Handle arguments with large real or
18783 imaginary part separately without squaring.
18784 * math/s_catanf.c (__catanf): Likewise.
18785 * math/s_catanh.c (__catanh): Likewise.
18786 * math/s_catanhf.c (__catanhf): Likewise.
18787 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18788 and redefine.
18789 (__catanhl): Handle arguments with large real or imaginary part
18790 separately without squaring.
18791 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18792 and redefine.
18793 (__catanl): Handle arguments with large real or imaginary part
18794 separately without squaring.
18795 * math/libm-test.inc (catan_test): Add more tests.
18796 (catanh_test): Likewise.
18797 * sysdeps/i386/fpu/libm-test-ulps: Update.
18798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18799
18800 2013-04-27 Andreas Jaeger <aj@suse.de>
18801
18802 [BZ #15007]
18803 * stdlib/stdlib.h: Update guards for qecvt.
18804 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18805 <stdlib.h>.
18806
18807 2013-04-27 Allan McRae <allan@archlinux.org>
18808
18809 * sysdeps/i386/fpu/libm-test-ulps: Update.
18810
18811 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18812
18813 [BZ #15406]
18814 * math/s_catan.c: Include <float.h>.
18815 (__catan): Ensure underflow exception occurs for underflowed
18816 result.
18817 * math/s_catanf.c: Include <float.h>.
18818 (__catanf): Ensure underflow exception occurs for underflowed
18819 result.
18820 * math/s_catanh.c: Include <float.h>.
18821 (__catanh): Ensure underflow exception occurs for underflowed
18822 result.
18823 * math/s_catanhf.c: Include <float.h>.
18824 (__catanhf): Ensure underflow exception occurs for underflowed
18825 result.
18826 * math/s_catanhl.c: Include <float.h>.
18827 (__catanhl): Ensure underflow exception occurs for underflowed
18828 result.
18829 * math/s_catanl.c: Include <float.h>.
18830 (__catanl): Ensure underflow exception occurs for underflowed
18831 result.
18832 * math/libm-test.inc (catan_test): Add more tests.
18833 (catanh_test): Likewise.
18834
18835 [BZ #15405]
18836 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18837 underflowed result.
18838 * math/s_ccoshf.c (__ccoshf): Likewise.
18839 * math/s_ccoshl.c (__ccoshl): Likewise.
18840 * math/s_csin.c (__csin): Likewise.
18841 * math/s_csinf.c (__csinf): Likewise.
18842 * math/s_csinh.c (__csinh): Likewise.
18843 * math/s_csinhf.c (__csinhf): Likewise.
18844 * math/s_csinhl.c (__csinhl): Likewise.
18845 * math/s_csinl.c (__csinl): Likewise.
18846 * math/libm-test.inc (ccos_test): Add more tests.
18847 (ccosh_test): Likewise.
18848 (csin_test): Likewise.
18849 (csinh_test): Likewise.
18850
18851 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18852
18853 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18854 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18855 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18856 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18857 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18858 powerpc/power5+/fpu folders.
18859 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18860
18861
18862 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18863
18864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18865
18866 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18867
18868 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18869 additions to variable.
18870 [$(config-machine) = x86_64] (modules-names): Likewise.
18871 ($(objpfx)tst-audit3): Remove dependency.
18872 ($(objpfx)tst-audit3.out): Likewise.
18873 ($(objpfx)tst-audit4): Likewise.
18874 ($(objpfx)tst-audit4.out): Likewise.
18875 ($(objpfx)tst-audit5): Likewise.
18876 ($(objpfx)tst-audit5.out): Likewise.
18877 ($(objpfx)tst-audit6): Likewise.
18878 ($(objpfx)tst-audit6.out): Likewise.
18879 ($(objpfx)tst-audit7): Likewise.
18880 ($(objpfx)tst-audit7.out): Likewise.
18881 (tst-audit3-ENV): Remove variable.
18882 (tst-audit4-ENV): Likewise.
18883 (tst-audit5-ENV): Likewise.
18884 (tst-audit6-ENV): Likewise.
18885 (tst-audit7-ENV): Likewise.
18886 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18887 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18888 addition to variable.
18889 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18890 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18891 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18892 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18893 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18894 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18895 tst-audit3, tst-audit4 and tst-audit5.
18896 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18897 tst-audit6 and tst-audit7.
18898 [$(subdir) = elf] (modules-names): Add audit modules for those
18899 tests.
18900 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18901 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18902 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18903 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18904 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18905 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18906 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18907 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18908 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18909 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18910 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18911 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18912 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18913 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18914 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18915 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18916 Likewise.
18917 [$(subdir) = elf && $(config-cflags-avx) = yes]
18918 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18919 [$(subdir) = elf && $(config-cflags-avx) = yes]
18920 (CFLAGS-tst-auditmod4a.c): Likewise.
18921 [$(subdir) = elf && $(config-cflags-avx) = yes]
18922 (CFLAGS-tst-auditmod4b.c): Likewise.
18923 [$(subdir) = elf && $(config-cflags-avx) = yes]
18924 (CFLAGS-tst-auditmod6b.c): Likewise.
18925 [$(subdir) = elf && $(config-cflags-avx) = yes]
18926 (CFLAGS-tst-auditmod6c.c): Likewise.
18927 [$(subdir) = elf && $(config-cflags-avx) = yes]
18928 (CFLAGS-tst-auditmod7b.c): Likewise.
18929 * elf/tst-audit3.c: Move to ...
18930 * sysdeps/x86_64/tst-audit3.c: ... here.
18931 * elf/tst-audit4.c: Move to ...
18932 * sysdeps/x86_64/tst-audit4.c: ... here.
18933 * elf/tst-audit5.c: Move to ...
18934 * sysdeps/x86_64/tst-audit5.c: ... here.
18935 * elf/tst-audit6.c: Move to ...
18936 * sysdeps/x86_64/tst-audit6.c: ... here.
18937 * elf/tst-audit7.c: Move to ...
18938 * sysdeps/x86_64/tst-audit7.c: ... here.
18939 * elf/tst-auditmod3a.c: Move to ...
18940 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18941 * elf/tst-auditmod3b.c: Move to ...
18942 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18943 * elf/tst-auditmod4a.c: Move to ...
18944 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18945 * elf/tst-auditmod4b.c: Move to ...
18946 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18947 * elf/tst-auditmod5a.c: Move to ...
18948 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18949 * elf/tst-auditmod5b.c: Move to ...
18950 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18951 * elf/tst-auditmod6a.c: Move to ...
18952 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18953 * elf/tst-auditmod6b.c: Move to ...
18954 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18955 * elf/tst-auditmod6c.c: Move to ...
18956 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18957 * elf/tst-auditmod7a.c: Move to ...
18958 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18959 * elf/tst-auditmod7b.c: Move to ...
18960 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18961
18962 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18963
18964 [BZ #15366]
18965 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18966 define unconditionally.
18967 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18968 define unconditionally.
18969 (INT8_C, INT16_C, etc.): Likewise.
18970
18971 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18972
18973 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18974 __ehdr_start with hidden visibility.
18975
18976 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18977
18978 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18979
18980 * math/libm-test.inc (cos_test): Use accurate hex constants.
18981 (sincost_test): Likewise.
18982
18983 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18984
18985 * math/libm-test.inc (catan_test): Add more tests.
18986 (catanh_test): Likewise.
18987
18988 * math/s_catanf.c (__catanf): Use suffixed floating-point
18989 constants.
18990 * math/s_catanhf.c (__catanhf): Likewise.
18991 * math/s_catanhl.c (__catanhl): Likewise.
18992 * math/s_catanl.c (__catanl): Likewise.
18993
18994 [BZ #15394]
18995 * math/s_catan.c (__catan): Calculate imaginary part of result
18996 with log1p not log unless computing log of number close to 0.
18997 * math/s_catanf.c (__catanf): Likewise.
18998 * math/s_catanl.c (__catanl): Likewise.
18999 * math/s_catanh.c (__catanh): Calculate real part of result with
19000 log1p not log unless computing log of number close to 0.
19001 * math/s_catanhf.c (__catanhf): Likewise.
19002 * math/s_catanhl.c (__catanhl): Likewise.
19003 * math/libm-test.inc (catan_test): Add more tests.
19004 (catanh_test): Likewise.
19005 * sysdeps/i386/fpu/libm-test-ulps: Update.
19006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19007
19008 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19009
19010 * benchtests/Makefile: Mention files in which fast and slow
19011 paths of math functions are implemented.
19012
19013 2013-04-23 Roland McGrath <roland@hack.frob.com>
19014
19015 * sysdeps/posix/timespec_get.c: New file.
19016
19017 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19018
19019 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19020 POWER.
19021 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19022 for POWER.
19023 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19024 powerpc/power5/fpu folders.
19025 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19026 * benchtests/Makefile: Add modf testcase.
19027 * benchtests/bench-modf.c: New file: Benchmark test for mo
19028
19029 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19030
19031 [BZ #14888]
19032 * time/Makefile (tests): Add tst-strptime-whitespace.
19033 * time/strptime_l.c (get_number): Use ISSPACE.
19034 (__strptime_internal): Likewise.
19035 * time/tst-strptime-whitespace.c: New test case.
19036
19037 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19038
19039 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19040 member.
19041 (_nss_files_init): Set it here.
19042
19043 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19044
19045 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19046 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19047 unsigned.
19048
19049 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19050
19051 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19052
19053 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19054
19055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19056 size just once.
19057
19058 2013-04-21 David S. Miller <davem@davemloft.net>
19059
19060 * po/ru.po: Update Russion translation from translation project.
19061
19062 2013-04-17 Adam Conrad <adconrad@0c3.net>
19063
19064 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19065 and setfsgid.
19066
19067 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19068
19069 * configure.in: Remove i386 configure warning. Remove i386 case.
19070 * configure: Regenerate.
19071 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19072 Add example to error message.
19073 * sysdeps/i386/configure: Regenerate.
19074
19075 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19076
19077 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19078 slowtan.
19079 * benchtests/cos-inputs: New file.
19080 * benchtests/slowcos-inputs: New file.
19081 * benchtests/slowcos.c: New file.
19082 * benchtests/slowtan-inputs: New file.
19083 * benchtests/slowtan.c: New file.
19084 * benchtests/tan-inputs: New file.
19085
19086 2013-04-16 Roland McGrath <roland@hack.frob.com>
19087
19088 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19089 considered kosher.
19090
19091 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19092
19093 * benchtests/Makefile: Include cppflags-iterator.mk to add
19094 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19095
19096 * Makefile.in (bench-clean): New target.
19097 * benchtests/Makefile (bench-clean): Likewise.
19098
19099 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19100
19101 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19102
19103 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19104
19105 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19106
19107 2013-04-15 Andreas Schwab <schwab@suse.de>
19108
19109 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19111 * nscd/pwdcache.c (cache_addpw): Likewise.
19112 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19113 more than recsize.
19114
19115 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19116
19117 * benchtests/Makefile (bench): Write all output to
19118 bench-out.tmp together.
19119
19120 2013-04-15 Andreas Schwab <schwab@suse.de>
19121
19122 * nscd/nscd.c (main): Don't fork again after closing files.
19123
19124 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19125
19126 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19127
19128 * benchtests/Rules (bench-deps): Collect dependencies into a
19129 single variable. Add Makefile to dependencies.
19130 ($(objpfx)bench-%.c): Depend on bench-deps.
19131
19132 2013-04-12 Roland McGrath <roland@hack.frob.com>
19133 Xavier Roche <roche+kml2@exalead.com>
19134
19135 [BZ #15361]
19136 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19137 just that it's a file descriptor.
19138 * manual/llio.texi (Synchronizing AIO Operations): Update description
19139 for EBADF error from aio_fsync.
19140
19141 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19142
19143 * Rules (bench): Move target definition...
19144 * benchtests/Makefile: ... here.
19145
19146 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19147
19148 * math/libm-test.inc (cos_test): Fix PI/2 test.
19149 (sincos_test): Likewise.
19150 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19151 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19152
19153 2013-04-11 Andreas Schwab <schwab@suse.de>
19154
19155 [BZ #13988]
19156 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19157 accept exponent character only when digits were seen.
19158 * stdio-common/Makefile (tests): Add bug26.
19159 * stdio-common/bug26.c: New file.
19160
19161 [BZ #14293]
19162 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19163 non-freeable.
19164
19165 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19166
19167 * Makeconfig (rtld-prefix): Define built linker prefix.
19168 * Rules (run-bench): Use it.
19169 * math/Makefile (run-regen-ulps): Likewise.
19170
19171 * Rules (bench): Remove eval.
19172
19173 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19174 Roland McGrath <roland@hack.frob.com>
19175 Ondrej Bilka <neleai@seznam.cz>
19176
19177 [BZ #15346]
19178 * time/getdate.c: Include ctype.h and alloca.h.
19179 (__getdate_r): Trim leading and trailing spaces of input.
19180 * time/tst-getdate.c (tests): Add tests with leading and
19181 trailing spaces.
19182
19183 2013-04-08 Roland McGrath <roland@hack.frob.com>
19184
19185 [BZ #14280]
19186 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19187 when computing value.
19188
19189 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19190
19191 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19192 Use testrun.sh to run libm tests.
19193
19194 [BZ #15309]
19195 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19196
19197 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19198
19199 [BZ #15264]
19200 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19201
19202 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19203
19204 * Makefile.in (regen-ulps): New target.
19205 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19206 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19207 [ifneq (no,$(PERL)] (regen-ulps): New target.
19208 [ifeq (no,$(PERL)] (regen-ulps): New target.
19209 * math/libm-test.inc (ulps_file_name): Define.
19210 (output_dir): New variable.
19211 (options): Add "output-dir" option.
19212 (parse_opt): Handle 'o' case.
19213 (main): If output_dir is non-NULL use it as a prefix
19214 otherwise use "".
19215 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19216
19217 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19218
19219 [BZ #10060, #10062]
19220 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19221 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19222 fail configure if __sync_val_compare_and_swap is not inlined.
19223 * sysdeps/i386/configure: Regenerate.
19224 * configure.in: Build for i686 when configured for i386.
19225 * configure: Regenerate.
19226 * README: Remove i386 reference.
19227
19228 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19229
19230 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19231 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19232
19233 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19234
19235 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19236 (lmsnanval): New variables.
19237 (F): Add conversion tests.
19238 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19239 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19240
19241 * stdio-common/tstdiomisc.c (F): Properly collect individual
19242 tests' results.
19243
19244 [BZ #14686, #15336]
19245 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19246 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19247 Instead, use input NaN values or generate a qNaN by arithmetic
19248 operation. Also fix bugs to comply with the standard.
19249 * math/libm-test.inc (remainder_test): Add more tests.
19250
19251 [BZ #15335, #15342]
19252 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19253 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19254 input NaN values or generate a qNaN by arithmetic operation.
19255
19256 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19257 unreachable code.
19258
19259 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19260 definitions.
19261
19262 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19263
19264 [BZ #14478]
19265 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19266 underflowed result.
19267 * math/s_cexpf.c (__cexpf): Likewise.
19268 * math/s_cexpl.c (__cexpl): Likewise.
19269 * math/libm-test.inc (cexp_test): Add more tests.
19270
19271 2013-04-03 Andreas Schwab <schwab@suse.de>
19272
19273 [BZ #15330]
19274 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19275 order arrays from heap if bigger than alloca cutoff.
19276
19277 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19278
19279 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19280 (SNAN_TESTS_double): Refer to GCC PR56831.
19281 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19282 GCC PR56828.
19283
19284 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19285
19286 * Rules (bench): Move bench.out after the run is complete.
19287
19288 * Rules (bench): Echo currently running benchmark.
19289
19290 * benchtests/Makefile (bench): Add atan and slowatan.
19291 * benchtests/atan-inputs: New file.
19292 * benchtests/slowatan-inputs: New file.
19293 * benchtests/slowatan.c: New file.
19294
19295 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19296 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19297 its value.
19298
19299 [BZ #15305]
19300 * sysdeps/unix/sysv/linux/kernel-features.h
19301 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19302 __ASSUME_XFS_RESTRICTED_CHOWN.
19303 * sysdeps/unix/sysv/linux/pathconf.c
19304 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19305 Save and restore errno.
19306
19307 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19308
19309 [BZ #15327]
19310 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19311 arguments using __kernel_casinh.
19312 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19313 arguments using __kernel_casinhf.
19314 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19315 arguments using __kernel_casinhl.
19316 * math/libm-test.inc (cacosh_test): Add more tests.
19317 * sysdeps/i386/fpu/libm-test-ulps: Update.
19318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19319
19320 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19321
19322 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19324
19325 * bench/Makefile (bench): Add sin and slowsin.
19326 * benchtests/sin-inputs: New file.
19327 * benchtests/slowsin-inputs: New file.
19328 * benchtests/slowsin.c: New file.
19329
19330 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19331 (bench): Add slowexp and slowpow.
19332 (exp-ITER): Increase iterations.
19333 (pow-ITER): Likewise.
19334 * benchtests/exp-inputs: Change input.
19335 * benchtests/pow-inputs: Likewise.
19336 * benchtests/slowexp-inputs: New file.
19337 * benchtests/slowexp.c: New file.
19338 * benchtests/slowpow-inputs: New file.
19339 * benchtests/slowpow.c: New file.
19340
19341 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19342
19343 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19344 instructions.
19345 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19346 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19347 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19348 * benchtests/Makefile: Add rint benchtest.
19349 * benchtests/rint-inputs: Input for rint benchtest.
19350
19351 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19352
19353 * Versions.def (libm): Add GLIBC_2.18.
19354 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19355 hidden libm prototypes.
19356 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19357 * math/Makefile (libm-calls): Add s_issignaling.
19358 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19359 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19360 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19361 declaration.
19362 * math/math.h [__USE_GNU] (issignaling): New macro.
19363 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19364 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19365 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19366 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19367 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19368 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19369 * manual/arith.texi (issignaling): New section.
19370 * manual/libm-err-tab.pl (@all_functions): Update comment.
19371 * math/gen-libm-test.pl (parse_args): Apply special handling for
19372 issignaling.
19373 * math/libm-test.inc (print_float, issignaling_test): New
19374 functions.
19375 (check_float_internal): Add issignaling checks.
19376 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19377 default definition.
19378 * sysdeps/powerpc/math-tests.h: New file.
19379 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19380 tests.
19381 * math/test-snan.c (TEST_FUNC): Likewise.
19382
19383 2013-03-30 David S. Miller <davem@davemloft.net>
19384
19385 * po/de.po: Update from translation team.
19386
19387 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19388
19389 [BZ #10357]
19390 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19391 imaginary part less than 1.0 and real part less than 0.5
19392 specially.
19393 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19394 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19395 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19396 (cacos_test): Add more tests.
19397 (casin_test): Likewise.
19398 (casinh_test): Likewise.
19399 * sysdeps/i386/fpu/libm-test-ulps: Update.
19400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19401
19402 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19403
19404 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19405 ONE with its value.
19406
19407 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19408 (__pow_mp): Replace ONE and MONE with their values.
19409 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19410 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19411 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19412 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19413 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19414 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19415
19416 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19417
19418 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19419 (__pow_mp): Replace ZERO and MZERO with their values.
19420 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19421 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19422 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19424 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19425 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19426 (__sqr): Likewise.
19427
19428 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19429
19430 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19431
19432 2013-03-28 Roland McGrath <roland@hack.frob.com>
19433
19434 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19435 Declare with __attribute__ ((weak)).
19436 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19437 Call __call_tls_dtors only if it's not NULL.
19438
19439 2013-03-28 Roland McGrath <roland@hack.frob.com>
19440
19441 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19442 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19443 magic __ehdr_start linker symbol if it's defined.
19444 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19445 them up here if it was already done.
19446
19447 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19448 (_dl_aux_init): Use const in cast when setting it.
19449 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19450 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19451 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19452
19453 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19454 Declare them here.
19455 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19456 * csu/libc-tls.c: Nor here.
19457 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19458
19459 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19460 (__libc_message): Never call vsyslog.
19461
19462 2013-03-28 Alan Modra <amodra@gmail.com>
19463
19464 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19465 Define as empty.
19466 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19467 Likewise.
19468
19469 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19470
19471 [BZ #15214]
19472 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19473 underflow.
19474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19475
19476 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19477
19478 [BZ #15304]
19479 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19480 Don't add gid passed as argument.
19481
19482 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19483
19484 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19485
19486 [BZ #15307]
19487 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19488 imaginary part between 1.0 and 1.5 and real part less than 0.5
19489 specially.
19490 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19491 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19492 * math/libm-test.inc (cacos_test): Add more tests.
19493 (casin_test): Likewise.
19494 (casinh_test): Likewise.
19495 * sysdeps/i386/fpu/libm-test-ulps: Update.
19496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19497
19498 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19499
19500 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19501 constants.
19502 (norm): Likewise.
19503 (denorm): Likewise.
19504 (__dbl_mp): Likewise.
19505 (add_magnitudes): Likewise.
19506 (sub_magnitudes): Likewise.
19507 (__add): Likewise.
19508 (__sub): Likewise.
19509 (__mul): Likewise.
19510 (__sqr): Likewise.
19511 (__inv): Likewise.
19512 (__dvd): Likewise.
19513
19514 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19515 commented code.
19516 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19517 (__dubcos): Likewise.
19518 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19519 (__ieee754_acos): Likewise.
19520 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19521 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19522 (__exp1): Likewise.
19523 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19524 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19525 (log1): Likewise.
19526 (my_log2): Likewise.
19527 (checkint): Likewise.
19528 * sysdeps/ieee754/dbl-64/e_remainder.c
19529 (__ieee754_remainder): Likewise.
19530 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19531 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19532 (bsloww): Likewise.
19533 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19534
19535 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19536 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19537 MANTISSA_STORE_T to store computations on mantissa. Use
19538 macros for rounding and division.
19539 (denorm): Likewise.
19540 (__dbl_mp): Likewise.
19541 (add_magnitudes): Likewise.
19542 (sub_magnitudes): Likewise.
19543 (__mul): Likewise.
19544 (__sqr): Likewise.
19545 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19546 powers of two in terms of TWOPOW macro.
19547 (mp_no): Make type of mantissa as MANTISSA_T.
19548 [!RADIXI]: Define RADIXI.
19549 [!TWO52]: Define TWO52.
19550 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19551
19552 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19553
19554 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19555 llroundl symbol when building for PPC32.
19556
19557 2013-03-24 Mark H Weaver <mhw@netris.org>
19558
19559 * manual/arith.texi (Normalization Functions): Fix prototypes for
19560 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19561
19562 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19563
19564 [BZ #13889]
19565 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19566 high value to check if expl overflow.
19567 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19568 to check for underflow and overflow.
19569 * math/libm-test.inc: Add exp test.
19570
19571 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19572
19573 [BZ #11120]
19574 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19575 with NOT_IN_libc.
19576
19577 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19578
19579 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19580 symbol.
19581
19582 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19583
19584 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19585 wrap blocks consisting of several statements.
19586
19587 * sysdeps/generic/math-tests.h: New file.
19588 * sysdeps/i386/fpu/math-tests.h: Likewise.
19589 * math/test-snan.c: Include it.
19590 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19591
19592 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19593
19594 [BZ #15285]
19595 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19596 (__ieee754_j0l): Do not improve calculations using cos of twice
19597 input for inputs above LDBL_MAX / 2.0L.
19598 (__ieee754_y0l): Likewise.
19599 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19600 (__ieee754_j1l): Do not improve calculations using cos of twice
19601 input for inputs above LDBL_MAX / 2.0L.
19602 (__ieee754_y1l): Likewise.
19603 * math/libm-test.inc (j0_test): Add another test.
19604 (j1_test): Likewise.
19605 (y0_test): Likewise.
19606 (y1_test): Likewise.
19607 * sysdeps/i386/fpu/libm-test-ulps: Update.
19608
19609 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19610
19611 * Rules ($(objpfx)bench-%.c): Include code from a C source
19612 file.
19613
19614 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19615
19616 [BZ #15287]
19617 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19618 imaginary part 1.0 and real part less than 0.5 specially.
19619 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19620 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19621 * math/libm-test.inc (cacos_test): Add more tests.
19622 (casin_test): Likewise.
19623 (casinh_test): Likewise.
19624 * sysdeps/i386/fpu/libm-test-ulps: Update.
19625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19626
19627 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19628
19629 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19630 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19631
19632 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19633
19634 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19635 * config.make.in (config-cflags-sse4): Remove variable.
19636 (config-cflags-avx): Likewise.
19637 (config-cflags-sse2avx): Likewise.
19638 (config-cflags-novzeroupper): Likewise.
19639 (config-asflags-i686): Likewise.
19640 (have-mfma4): Likewise.
19641 (have-as-vis3): Likewise.
19642 (MIG): Likewise.
19643 * configure.in (MIG): Do not AC_SUBST.
19644 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19645 (libc_cv_cc_sse4): Do not AC_SUBST.
19646 (libc_cv_cc_avx): Likewise.
19647 (libc_cv_cc_sse2avx): Likewise.
19648 (libc_cv_cc_novzeroupper): Likewise.
19649 (libc_cv_cc_fma4): Likewise.
19650 (libc_cv_as_i686): Likewise.
19651 (libc_cv_sparc_as_vis3): Likewise.
19652 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19653 LIBC_CONFIG_VAR.
19654 (config-asflags-i686): Likewise.
19655 (config-cflags-avx): Likewise.
19656 (config-cflags-sse2avx): Likewise.
19657 (have-mfma4): Likewise.
19658 (config-cflags-novzeroupper): Likewise.
19659 * sysdeps/mach/configure.in (MIG): Likewise.
19660 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19661 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19662 LIBC_CONFIG_VAR.
19663 (config-cflags-avx): Likewise.
19664 (config-cflags-sse2avx): Likewise.
19665 (have-mfma4): Likewise.
19666 (config-cflags-novzeroupper): Likewise.
19667 * configure: Regenerated.
19668 * sysdeps/i386/configure: Likewise.
19669 * sysdeps/mach/configure: Likewise.
19670 * sysdeps/sparc/configure: Likewise.
19671 * sysdeps/x86_64/configure: Likewise.
19672
19673 2013-03-20 Roland McGrath <roland@hack.frob.com>
19674
19675 [BZ #14812]
19676 * locale/programs/localedef.c (options): Put N_ translation marker
19677 on argument names, not just descriptions.
19678
19679 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19680
19681 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19682
19683 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19684
19685 [BZ #14176]
19686 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19687
19688 2013-03-19 Roland McGrath <roland@hack.frob.com>
19689
19690 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19691 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19692 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19693 [!BEFORE_ABORT] (before_abort): New function.
19694 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19695 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19696 (writev_for_fatal): New function.
19697 (WRITEV_FOR_FATAL): New macro; call that.
19698 (backtrace_and_maps): New function.
19699 (BEFORE_ABORT): New macro; call that.
19700 (struct str_list): Type removed.
19701 (__libc_message, __libc_fatal): Functions removed.
19702 Include <sysdeps/posix/libc_fatal.c> instead.
19703
19704 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19705
19706 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19707 constants.
19708 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19709 double constants.
19710
19711 2013-03-19 Andreas Schwab <schwab@suse.de>
19712
19713 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19714 * sysdeps/gnu/configure: Regenerate.
19715
19716 * configure.in: Substitute libc_cv_rtlddir.
19717 * configure: Regenerate.
19718 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19719 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19720 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19721 * elf/Makefile (install-others, CFLAGS-interp.c)
19722 (ldso_install, common-ldd-rewrite): Likewise.
19723 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19724 $(inst_slibdir)/$(rtld-installed-name).
19725 * scripts/rellns-sh: Add -p option.
19726 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19727 for source.
19728
19729 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19730
19731 * manual/nptl.texi: Renamed to ...
19732 * manual/threads.texi: ... this.
19733 * manual/Makefile (chapters): Update.
19734
19735 2013-03-18 Roland McGrath <roland@hack.frob.com>
19736
19737 [BZ #14812]
19738 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19739 on argument names, not just descriptions.
19740 * malloc/memusagestat.c (options): Likewise.
19741 * nss/getent.c (options): Likewise.
19742
19743 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19744
19745 [BZ #14812]
19746 * iconv/iconv_prog.c (options): Put N_ translation marker
19747 on argument names, not just descriptions.
19748 * iconv/iconvconfig.c (options): Likewise.
19749
19750 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19751
19752 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19753 implementation which is faster on all x86_64 architectures.
19754 Tested on AMD, Intel Nehalem, SNB, IVB.
19755 * sysdeps/x86_64/strnlen.S: Likewise.
19756
19757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19758 Remove all multiarch strlen and strnlen versions.
19759 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19760 Remove strlen and strnlen related parts.
19761
19762 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19763 Inline strlen part.
19764 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19765
19766 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19767 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19768 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19769 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19770 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19771 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19772
19773 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19774
19775 * manual/memory.texi (Malloc Tunable Parameters):
19776 Sort parameters alphabetically. Add comments for missing entries.
19777
19778 2013-03-17 David S. Miller <davem@davemloft.net>
19779
19780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19781
19782 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19783
19784 [BZ #15283]
19785 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19786 for arguments at most half maximum finite value.
19787 * math/libm-test.inc (j0_test): Add more tests.
19788 (j1_test): Likewise.
19789 (y0_test): Likewise.
19790 (y1_test): Likewise.
19791 * sysdeps/i386/fpu/libm-test-ulps: Update.
19792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19793
19794 [BZ #14155]
19795 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19796 1 / x and functions P and Q for arguments above 0x1p256L.
19797 (__ieee754_y0l): Likewise.
19798 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19799 (__ieee754_y1l): Likewise.
19800 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19801 (j1_test): Likewise.
19802 (y0_test): Likewise.
19803 (y1_test): Likewise.
19804
19805 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19806
19807 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19808 variable.
19809
19810 2013-03-15 Roland McGrath <roland@hack.frob.com>
19811
19812 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19813 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19814 zero since it's initialized to EXEC_PAGESIZE.
19815
19816 * sysdeps/unix/sysv/linux/ldsodefs.h
19817 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19818 * sysdeps/generic/ldsodefs.h: ... here.
19819
19820 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19821
19822 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19823
19824 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19825 math/test-snan.c.
19826 * math/test-snan.c: Renamed from
19827 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19828 * math/Makefile (tests): Add test-snan.
19829 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19830 test-powerpc-snan.
19831
19832 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19833 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19834 functions.
19835 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19836 __builtin_nan family of functions.
19837 * math/libm-test.inc (initialize): Initialize qnan_value with
19838 __builtin_nan family of functions.
19839 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19840 Remove variables.
19841 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19842 Remove functions.
19843 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19844 storage class. Initialize qNaN_var and sNaN_var with
19845 __builtin_nan and __builtin_nans families of functions,
19846 respectively.
19847
19848 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19849 (sqrt_test): Remove duplicate test with qNaN input.
19850 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19851 (round_test, signbit_test, significand_test): Note missing +/-Inf
19852 as well as qNaN tests.
19853
19854 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19855 qNaN_var. Fix a few strings, too.
19856 * math/libm-test.inc (nan_value): Rename to qnan_value.
19857 * math/gen-libm-test.pl (%beautify): Adjust to that.
19858 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19859 * math/test-misc.c (main): Likewise.
19860 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19861 to __qnan_bytes, and __qnan_union, respectively.
19862 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19863 Likewise.
19864 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19865 and lqnanval, respectively.
19866 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19867 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19868 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19869 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19870
19871 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19872 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19873 doubles.
19874
19875 * math/test-misc.c (main): Fix copy'n'pastos.
19876 * misc/tst-efgcvt.c (special): Likewise.
19877
19878 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19879 Remove declarations.
19880
19881 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19882
19883 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19884 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19885 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19886 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19887
19888 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19889
19890 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19891 macro to return vdso values correctly in IFUNC implementations.
19892 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19893 Optimization by using IFUNC.
19894
19895 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19896 Richard Henderson <rth@redhat.com>
19897 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19898
19899 * Makefile.in (bench): New target.
19900 * NEWS: Mention the benchmark framework.
19901 * Rules (bench): Likewise.
19902 (binaries-bench): Generate binaries for functions to
19903 benchmark.
19904 * benchtests/Makefile: New makefile for benchmark tests.
19905 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19906 programs.
19907 * benchtests/exp-inputs: New input file for EXP function.
19908 * benchtests/pow-inputs: New input file for POW function.
19909 * scripts/bench.pl: New script to generate source files for
19910 benchmark programs.
19911
19912 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19913
19914 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19915 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19916 computations on mantissa. Use macros for rounding and
19917 division.
19918 (denorm): Likewise.
19919 (__dbl_mp): Likewise.
19920 (add_magnitudes): Likewise.
19921 (sub_magnitudes): Likewise.
19922 (__mul): Likewise.
19923 (__sqr): Likewise.
19924 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19925 powers of two in terms of TWOPOW macro.
19926 (mp_no): Make type of mantissa as MANTISSA_T.
19927 [!RADIXI]: Define RADIXI.
19928 [!TWO52]: Define TWO52.
19929 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19930
19931 * manual/nptl.texi (cindex): Modify threads to pthreads.
19932
19933 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19934
19935 * sysdeps/x86_64/preconfigure: Regenerated.
19936
19937 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19938
19939 [BZ #14155]
19940 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19941 0x1p28 and above.
19942 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19943 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19944 0x1p28 and above.
19945 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19946 * math/libm-test.inc (j0_test): Do not allow one spurious
19947 underflow exception.
19948 (y1_test): Likewise.
19949
19950 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19951
19952 * manual/Makefile (chapters): Add nptl.
19953 * manual/debug.texi (Debugging Support): Add link to Threads
19954 chapter.
19955 * manual/nptl.texi: New file.
19956
19957 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19958
19959 2013-03-14 Petr Baudis <pasky@ucw.cz>
19960
19961 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19962 for non-NULL pointer before the memory validity test. Pointed
19963 out by Holger Brunck <holger.brunck@keymile.com>.
19964
19965 2013-03-13 Andreas Schwab <schwab@suse.de>
19966
19967 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19968 instead of .os.
19969
19970 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19971
19972 * timezone/zic.c: Update from tzcode 2013b.
19973
19974 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19975
19976 * manual/install.texi (Configuring and compiling):
19977 Mention i686 and i586.
19978 * INSTALL: Regenerate.
19979
19980 2013-03-12 Roland McGrath <roland@hack.frob.com>
19981
19982 * sysdeps/init_array/elf-init.c: New file.
19983 * csu/elf-init.c
19984 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19985 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19986
19987 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19988 __gmon_start__ as global, but as static with a .preinit_array pointer.
19989 * sysdeps/init_array/gmon-start.c: New file. Use that.
19990 * sysdeps/init_array/crti.S: New file, empty except for comments.
19991 * sysdeps/init_array/crtn.S: Likewise.
19992
19993 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19994
19995 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19996 definining bcopy.
19997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19998 Remove Prefer_SSE_for_memop.
19999 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20000 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20001 HAS_PREFER_SSE_FOR_MEMOP.
20002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20003 memset-x86-64.
20004 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20005 Remove bzero, memset ifunc support.
20006 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20007 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20008 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20009 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20010
20011 2013-03-11 Andreas Schwab <schwab@suse.de>
20012
20013 [BZ #15234]
20014 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20015 by SHLIB_COMPAT.
20016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20017 (GLIBC_2.16): Remove pthread_atfork.
20018
20019 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20020
20021 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20022 (ptestcases.h): Likewise.
20023
20024 2013-03-08 Roland McGrath <roland@hack.frob.com>
20025
20026 * Makeconfig ($(common-objpfx)config.status): Depend on
20027 sysdeps/*/preconfigure{,.in} too.
20028
20029 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20030
20031 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20032 (__free_hook): Use void * instead of __malloc_ptr_t.
20033 (__malloc_hook): Likewise.
20034 (__realloc_hook): Likewise.
20035 (__memalign_hook): Likewise.
20036 (__after_morecore_hook): Likewise.
20037 * malloc/arena.c (save_malloc_hook): Likewise.
20038 (save_free_hook): Likewise.
20039 * malloc/hooks.c (malloc_hook_ini): Likewise.
20040 (realloc_hook_ini): Likewise.
20041 (memalign_hook_ini): Likewise.
20042 * malloc/malloc.c (malloc_hook_ini): Likewise.
20043 (realloc_hook_ini): Likewise.
20044 (memalign_hook_ini): Likewise.
20045 (__free_hook): Likewise.
20046 (__malloc_hook): Likewise.
20047 (__realloc_hook): Likewise.
20048 (__memalign_hook): Likewise.
20049 (__libc_malloc): Likewise.
20050 (__libc_free): Likewise.
20051 (__libc_realloc): Likewise.
20052 (__libc_memalign): Likewise.
20053 (__libc_valloc): Likewise.
20054 (__libc_pvalloc): Likewise.
20055 (__libc_calloc): Likewise.
20056 (__posix_memalign): Likewise.
20057 * malloc/morecore.c (__sbrk): Likewise.
20058 (__default_morecore): Likewise.
20059
20060 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20061
20062 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20063 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20064 __malloc_ptrdiff_t.
20065
20066 * malloc/malloc.h (__malloc_size_t): Remove macro.
20067 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20068 __malloc_size_t.
20069 (old_memalign_hook): Likewise.
20070 (old_realloc_hook): Likewise.
20071 (struct hdr): Likewise.
20072 (flood): Likewise.
20073 (mallochook): Likewise.
20074 (memalignhook): Likewise.
20075 (reallochook): Likewise.
20076 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20077 (tr_old_realloc_hook): Likewise.
20078 (tr_old_memalign_hook): Likewise.
20079 (tr_mallochook): Likewise.
20080 (tr_reallochook): Likewise.
20081 (tr_memalignhook): Likewise.
20082
20083 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20084
20085 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20086 default_ldbl_pack and using as default implementation.
20087 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20088 implementation.
20089 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20090 redundant definition.
20091 (ldbl_insert_mantissa): Likewise.
20092 (ldbl_canonicalize): Likewise.
20093 (ldbl_nearbyint): Likewise.
20094 (ldbl_pack): Rename to ldbl_pack_ppc.
20095 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20096 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20097 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20098
20099 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20100
20101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20102 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20103 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20104 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20106 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20107 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20108 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20109
20110 2013-03-07 Andreas Jaeger <aj@suse.de>
20111
20112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20113 bits/mman-linux.h.
20114
20115 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20116
20117 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20118 Include mpa.h and declare __MPEXP.
20119 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20120 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20121 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20122 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20123 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20124 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20125 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20126
20127 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20128 (__slowpow): Use long double EXPL and LOGL functions to
20129 compute POW.
20130 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20131 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20132 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20133 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20134 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20135 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20136
20137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20138 intermediate variable to calculate exponent.
20139 (__sqr): Likewise.
20140 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20141 Likewise.
20142 (__sqr): Likewise.
20143
20144 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20145 [!NO__SQR]: Define __sqr.
20146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20147 and NO__SQR. Remove all code except __mul and __sqr. Include
20148 sysdeps/ieee754/dbl-64/mpa.c.
20149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20150
20151 [BZ #12723]
20152 * posix/Makefile (tests): Add tst-pathconf.
20153 * posix/tst-pathconf.c: New test case.
20154 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20155 _PC_PIPE_BUF.
20156 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20157
20158 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20159
20160 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20161
20162 2013-03-06 Andreas Jaeger <aj@suse.de>
20163
20164 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20165 definition via __MAP_ANONYMOUS.
20166
20167 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20168 it's not part of Linux headers.
20169
20170 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20171 (MAP_HUGE_MASK): Define.
20172
20173 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20174 Define.
20175 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20176 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20177 Define.
20178 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20179 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20180 Define.
20181 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20182 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20183 Define.
20184 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20185
20186 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20187 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20188 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20189 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20190 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20191 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20192
20193 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20194 Handle f2fs.
20195
20196 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20197 Handle f2fs and efivarfs.
20198
20199 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20200 f2fs.
20201
20202 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20203 (EFIVARFS_MAGIC): Add.
20204 (F2FS_LINK_MAX): Add.
20205
20206 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20207
20208 * stdio-common/vfprintf.c: Replace __builtin_expect with
20209 __glibc_unlikely.
20210
20211 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20212
20213 [BZ #13550]
20214 * sysdeps/generic/bp-sym.h: Remove file.
20215 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20216 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20217 <bp-sym.h> and <bp-asm.h>.
20218 (__longjmp): Don't use BP_SYM.
20219 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20220 and <bp-asm.h>.
20221 (memcpy): Don't use BP_SYM.
20222 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20223 <bp-sym.h> and <bp-asm.h>.
20224 (memcpy): Don't use BP_SYM.
20225 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20226 <bp-asm.h>.
20227 (memcpy): Don't use BP_SYM.
20228 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20229 <bp-asm.h>.
20230 (memset): Don't use BP_SYM.
20231 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20232 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20233 (__bzero): Don't use BP_SYM.
20234 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20235 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20236 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20237 <bp-sym.h> and <bp-asm.h>.
20238 (memcmp): Don't use BP_SYM. Remove comment about bounded
20239 pointers.
20240 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20241 <bp-sym.h> and <bp-asm.h>.
20242 (memcpy): Don't use BP_SYM.
20243 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20244 <bp-sym.h> and <bp-asm.h>.
20245 (memset): Don't use BP_SYM.
20246 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20247 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20248 (__bzero): Don't use BP_SYM.
20249 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20250 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20251 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20252 <bp-sym.h> and <bp-asm.h>.
20253 (strncmp): Don't use BP_SYM. Remove comment about bounded
20254 pointers.
20255 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20256 <bp-sym.h> and <bp-asm.h>.
20257 (memcpy): Don't use BP_SYM.
20258 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20259 <bp-sym.h> and <bp-asm.h>.
20260 (memset): Don't use BP_SYM.
20261 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20262 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20263 (__bzero): Don't use BP_SYM.
20264 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20265 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20266 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20267 <bp-sym.h> and <bp-asm.h>.
20268 (__memchr): Don't use BP_SYM.
20269 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20270 <bp-sym.h> and <bp-asm.h>.
20271 (memcmp): Don't use BP_SYM. Remove comment about bounded
20272 pointers.
20273 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20274 <bp-sym.h> and <bp-asm.h>.
20275 (memcpy): Don't use BP_SYM.
20276 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20277 <bp-sym.h> and <bp-asm.h>.
20278 (__mempcpy): Don't use BP_SYM.
20279 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20280 <bp-sym.h> and <bp-asm.h>.
20281 (__memrchr): Don't use BP_SYM.
20282 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20283 <bp-sym.h> and <bp-asm.h>.
20284 (memset): Don't use BP_SYM.
20285 (__bzero): Likewise.
20286 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20287 <bp-sym.h> and <bp-asm.h>.
20288 (__rawmemchr): Don't use BP_SYM.
20289 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20290 <bp-sym.h> and <bp-asm.h>.
20291 (__STRCMP): Don't use BP_SYM.
20292 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20293 <bp-sym.h> and <bp-asm.h>.
20294 (strchr): Don't use BP_SYM.
20295 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20296 <bp-sym.h> and <bp-asm.h>.
20297 (__strchrnul): Don't use BP_SYM.
20298 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20299 <bp-sym.h> and <bp-asm.h>.
20300 (strlen): Don't use BP_SYM.
20301 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20302 <bp-sym.h> and <bp-asm.h>.
20303 (strncmp): Don't use BP_SYM. Remove comment about bounded
20304 pointers.
20305 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20306 <bp-sym.h> and <bp-asm.h>.
20307 (__strnlen): Don't use BP_SYM.
20308 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20309 <bp-sym.h> and <bp-asm.h>.
20310 (__GI__setjmp): Don't use BP_SYM.
20311 (_setjmp): Likewise.
20312 (__sigsetjmp): Likewise.
20313 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20314 (L(start_addresses)): Don't use BP_SYM.
20315 (_start): Likewise.
20316 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20317 <bp-asm.h>.
20318 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20319 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20320 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20321 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20322 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20323 <bp-asm.h>.
20324 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20325 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20326 about bounded pointers.
20327 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20328 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20329 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20330 <bp-asm.h>.
20331 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20332 about bounded pointers. Remove GKM FIXME comments.
20333 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20334 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20335 <bp-asm.h>.
20336 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20337 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20338 Remove GKM FIXME comments.
20339 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20340 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20341 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20342 <bp-asm.h>.
20343 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20344 about bounded pointers. Remove GKM FIXME comment.
20345 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20346 and <bp-asm.h>.
20347 (strncmp): Don't use BP_SYM. Remove comment about bounded
20348 pointers.
20349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20350 <bp-sym.h> and <bp-asm.h>.
20351 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20353 <bp-sym.h> and <bp-asm.h>.
20354 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20355 comment.
20356
20357 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20358
20359 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20360 call free(NULL).
20361
20362 2013-03-05 David S. Miller <davem@davemloft.net>
20363
20364 * po/es.po: Update from translation team.
20365
20366 2013-03-05 Andreas Jaeger <aj@suse.de>
20367
20368 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20369 <bits/mman-linux.h>.
20370 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20371 is fine.
20372 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20373 <bits/mman-linux.h> to end of file.
20374 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20375 is fine.
20376 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20377 <bits/mman-linux.h> to end of file.
20378 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20379 is fine.
20380 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20381 <bits/mman-linux.h> to end of file.
20382
20383 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20384 (MCL_CURRENT, MCL_FUTURE): Define here.
20385
20386 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20387
20388 [BZ #15232]
20389 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20390 attribute_hidden.
20391 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20392
20393 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20394
20395 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20396 fourth parameter needed for rt_sigprocmask syscall.
20397 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20398 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20399 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20400 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20401 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20402 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20403
20404 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20405
20406 [BZ #13550]
20407 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20408 comment about bounded pointers.
20409 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20410 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20411
20412 2013-03-04 Andreas Jaeger <aj@suse.de>
20413
20414 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20415 common definitions.
20416
20417 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20418 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20419 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20420 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20421 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20422 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20423
20424 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20425
20426 [BZ #15055]
20427 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20428 __ieee754_sqrl instead of __sqrl.
20429
20430 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20431
20432 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20433 * sysdeps/powerpc/fpu_control.h: ... here.
20434 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20435 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20436 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20437 * sysdeps/powerpc/bits/mathinline.h: ... here.
20438
20439 2013-03-01 Roland McGrath <roland@hack.frob.com>
20440
20441 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20442 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20443 to just [NEED_DL_SYSINFO_DSO].
20444 * elf/dl-support.c: Likewise.
20445 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20446 * elf/rtld.c (dl_main): Likewise.
20447 * elf/setup-vdso.h (setup_vdso): Likewise.
20448 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20449 * sysdeps/unix/sysv/linux/dl-sysdep.c
20450 (_dl_discover_osversion): Likewise.
20451
20452 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20453
20454 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20455 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20456
20457 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20458
20459 * NEWS: Mention libm performance improvements and non-x86 PI
20460 futex support.
20461
20462 * csu/libc-start.c (__pthread_initialize_minimal): Change
20463 function arguments.
20464 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20465
20466 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20467
20468 [BZ #13550]
20469 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20470 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20471 <bp-sym.h> and <bp-asm.h>.
20472 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20473 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20474 and <bp-asm.h>.
20475 (memcpy): Don't use BP_SYM.
20476 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20477 <bp-asm.h>.
20478 (__mpn_add_n): Don't use BP_SYM.
20479 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20480 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20481 and <bp-asm.h>.
20482 (__mpn_addmul_1): Don't use BP_SYM.
20483 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20484 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20485 <bp-sym.h>.
20486 (_setjmp): Don't use BP_SYM.
20487 (__novmx_setjmp): Likewise.
20488 (__GI__setjmp): Likewise.
20489 (__vmx_setjmp): Likewise.
20490 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20491 <bp-sym.h>.
20492 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20493 (__bzero): Don't use BP_SYM.
20494 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20495 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20496 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20497 <bp-sym.h> and <bp-asm.h>.
20498 (memcpy): Don't use BP_SYM.
20499 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20500 <bp-sym.h> and <bp-asm.h>.
20501 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20502 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20503 <bp-sym.h> and <bp-asm.h>.
20504 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20505 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20506 <bp-asm.h>.
20507 (__mpn_lshift): Don't use BP_SYM.
20508 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20509 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20510 <bp-asm.h>.
20511 (memset): Don't use BP_SYM.
20512 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20513 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20514 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20515 <bp-asm.h>.
20516 (__mpn_mul_1): Don't use BP_SYM.
20517 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20518 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20519 <bp-sym.h> and <bp-asm.h>.
20520 (memcmp): Don't use BP_SYM.
20521 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20522 <bp-sym.h> and <bp-asm.h>.
20523 (memcpy): Don't use BP_SYM.
20524 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20525 <bp-sym.h> and <bp-asm.h>.
20526 (memset): Don't use BP_SYM.
20527 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20528 <bp-sym.h> and <bp-asm.h>.
20529 (strncmp): Don't use BP_SYM.
20530 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20531 <bp-sym.h> and <bp-asm.h>.
20532 (memcpy): Don't use BP_SYM.
20533 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20534 <bp-sym.h> and <bp-asm.h>.
20535 (memset): Don't use BP_SYM.
20536 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20537 <bp-sym.h> and <bp-asm.h>.
20538 (__memchr): Don't use BP_SYM.
20539 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20540 <bp-sym.h> and <bp-asm.h>.
20541 (memcmp): Don't use BP_SYM.
20542 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20543 <bp-sym.h> and <bp-asm.h>.
20544 (memcpy): Don't use BP_SYM.
20545 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20546 <bp-sym.h> and <bp-asm.h>.
20547 (__mempcpy): Don't use BP_SYM.
20548 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20549 <bp-sym.h> and <bp-asm.h>.
20550 (__memrchr): Don't use BP_SYM.
20551 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20552 <bp-sym.h> and <bp-asm.h>.
20553 (memset): Don't use BP_SYM.
20554 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20555 <bp-sym.h> and <bp-asm.h>.
20556 (__rawmemchr): Don't use BP_SYM.
20557 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20558 <bp-sym.h> and <bp-asm.h>.
20559 (__STRCMP): Don't use BP_SYM.
20560 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20561 <bp-sym.h> and <bp-asm.h>.
20562 (strchr): Don't use BP_SYM.
20563 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20564 <bp-sym.h> and <bp-asm.h>.
20565 (__strchrnul): Don't use BP_SYM.
20566 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20567 <bp-sym.h> and <bp-asm.h>.
20568 (strlen): Don't use BP_SYM.
20569 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20570 <bp-sym.h> and <bp-asm.h>.
20571 (strncmp): Don't use BP_SYM.
20572 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20573 <bp-sym.h> and <bp-asm.h>.
20574 (__strnlen): Don't use BP_SYM.
20575 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20576 <bp-asm.h>.
20577 (__mpn_rshift): Don't use BP_SYM.
20578 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20579 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20580 <bp-sym.h> and <bp-asm.h>.
20581 (__sigsetjmp): Don't use BP_SYM.
20582 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20583 (L(start_addresses)): Don't use BP_SYM.
20584 (_start): Likewise.
20585 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20586 <bp-asm.h>.
20587 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20588 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20589 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20590 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20591 <bp-asm.h>.
20592 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20593 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20594 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20595 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20596 <bp-asm.h>.
20597 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20598 comments.
20599 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20600 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20601 <bp-asm.h>.
20602 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20603 FIXME comments.
20604 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20605 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20606 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20607 <bp-asm.h>.
20608 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20609 comment.
20610 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20611 and <bp-asm.h>.
20612 (strncmp): Don't use BP_SYM,
20613 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20614 <bp-asm.h>.
20615 (__mpn_sub_n): Don't use BP_SYM.
20616 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20617 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20618 and <bp-asm.h>.
20619 (__mpn_submul_1): Don't use BP_SYM.
20620 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20622 <bp-sym.h> and <bp-asm.h>.
20623 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20625 <bp-sym.h> and <bp-asm.h>.
20626 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20627 comment.
20628
20629 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20630
20631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20632 Use ZK to minimize writes to Z.
20633 (sub_magnitudes): Simplify code a bit.
20634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20635 Use ZK to minimize writes to Z.
20636 (sub_magnitudes): Simplify code a bit.
20637
20638 2013-02-27 Roland McGrath <roland@hack.frob.com>
20639
20640 * csu/gmon-start.c: Add special exception to license text.
20641
20642 2013-02-27 Richard Henderson <rth@redhat.com>
20643
20644 * scripts/config.guess: Update from config.git.
20645 * scripts/config.sub: Likewise.
20646
20647 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20648
20649 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20650
20651 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20652
20653 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20654
20655 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20656
20657 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20658
20659 2013-02-26 Roland McGrath <roland@hack.frob.com>
20660
20661 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20662 [$(build-shared = yes].
20663
20664 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20665
20666 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20667 (__mul): Reduce iterations for calculating mantissa.
20668
20669 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20670 MPTWO.
20671 (__mpranred): Likewise.
20672
20673 [BZ #15160]
20674 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20675 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20676
20677 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20678
20679 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20680 Define __attribute__.
20681
20682 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20683
20684 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20685 unused.
20686 * posix/regex_internal.h (__attribute): Remove.
20687 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20688 (re_string_context_at): Likewise.
20689 (bitset_not): Use __attribute__ and mark function as possibly
20690 unused.
20691 (bitset_merge): Likewise.
20692 (bitset_mask): Likewise.
20693 (re_string_char_size_at): Likewise.
20694 (re_string_wchar_at): Likewise.
20695 (re_string_elem_size_at): Likewise.
20696
20697 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20698
20699 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20700 code.
20701 (cc32): Likewise.
20702
20703 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20704 (__acr): Likewise.
20705 (__cpy): Likewise.
20706 (norm): Likewise.
20707 (denorm): Likewise.
20708 (__dbl_mp): Likewise.
20709 (add_magnitudes): Likewise.
20710 (sub_magnitudes): Likewise.
20711 (__mul): Likewise.
20712 (__inv): Likewise.
20713
20714 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20715 style.
20716
20717 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20718 style.
20719
20720 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20721 code.
20722
20723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20724 up changes with default code.
20725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20726 Likewise.
20727
20728 2013-02-24 Allan McRae <allan@archlinux.org>
20729
20730 * manual/socket.texi (The Internet Namespace): Order menu items
20731 to match that in the file.
20732
20733 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20734 node listing of the info page menu.
20735
20736 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20737
20738 [BZ #13550]
20739 * sysdeps/i386/bp-asm.h: Remove file.
20740 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20741 (PARMS): Do not use macros from bp-asm.h.
20742 (S1): Likewise.
20743 (S2): Likewise.
20744 (SIZE): Likewise.
20745 (__mpn_add_n): Do not use BP_SYM
20746 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20747 "bp-asm.h".
20748 (PARMS): Do not use macros from bp-asm.h.
20749 (S1): Likewise.
20750 (SIZE): Likewise.
20751 (__mpn_addmul_1): Do not use BP_SYM
20752 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20753 "bp-asm.h".
20754 (PARMS): Do not use macros from bp-asm.h.
20755 (SIGMSK): Likewise.
20756 (_setjmp): Likewise. Do not use BP_SYM.
20757 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20758 "bp-asm.h".
20759 (PARMS): Do not use macros from bp-asm.h.
20760 (SIGMSK): Likewise.
20761 (setjmp): Likewise. Do not use BP_SYM.
20762 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20763 "bp-asm.h".
20764 (PARMS): Do not use macros from bp-asm.h.
20765 (__frexp): Do not use BP_SYM.
20766 (frexp): Likewise.
20767 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20768 "bp-asm.h".
20769 (PARMS): Do not use macros from bp-asm.h.
20770 (__frexpf): Do not use BP_SYM.
20771 (frexpf): Likewise.
20772 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20773 "bp-asm.h".
20774 (PARMS): Do not use macros from bp-asm.h.
20775 (__frexpl): Do not use BP_SYM.
20776 (frexpl): Likewise.
20777 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20778 "bp-asm.h".
20779 (PARMS): Do not use macros from bp-asm.h.
20780 (__remquo): Do not use BP_SYM.
20781 (remquo): Likewise.
20782 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20783 "bp-asm.h".
20784 (PARMS): Do not use macros from bp-asm.h.
20785 (__remquof): Do not use BP_SYM.
20786 (remquof): Likewise.
20787 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20788 "bp-asm.h".
20789 (PARMS): Do not use macros from bp-asm.h.
20790 (__remquol): Do not use BP_SYM.
20791 (remquol): Likewise.
20792 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20793 "bp-asm.h".
20794 (PARMS): Do not use macros from bp-asm.h.
20795 (DEST): Likewise.
20796 (SRC): Likewise.
20797 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20798 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20799 "bp-asm.h".
20800 (PARMS): Do not use macros from bp-asm.h.
20801 (strlen): Do not use BP_SYM.
20802 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20803 "bp-asm.h".
20804 (PARMS): Do not use macros from bp-asm.h.
20805 (S1): Likewise.
20806 (S2): Likewise.
20807 (SIZE): Likewise.
20808 (__mpn_add_n): Do not use BP_SYM.
20809 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20810 "bp-asm.h".
20811 (PARMS): Do not use macros from bp-asm.h.
20812 (S1): Likewise.
20813 (SIZE): Likewise.
20814 (__mpn_addmul_1): Do not use BP_SYM.
20815 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20816 weak_alias.
20817 (bzero): Likewise.
20818 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20819 "bp-asm.h".
20820 (PARMS): Do not use macros from bp-asm.h.
20821 (S): Likewise.
20822 (SIZE): Likewise.
20823 (__mpn_lshift): Do not use BP_SYM.
20824 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20825 "bp-asm.h".
20826 (PARMS): Do not use macros from bp-asm.h.
20827 (DEST): Likewise.
20828 (SRC): Likewise.
20829 (LEN): Likewise.
20830 (memcpy): Likewise. Do not use BP_SYM.
20831 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20832 libc_hidden_def and weak_alias.
20833 (mempcpy): Do not use BP_SYM in weak_alias.
20834 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20835 "bp-asm.h".
20836 (PARMS): Do not use macros from bp-asm.h.
20837 (DEST): Likewise.
20838 (LEN): Likewise.
20839 [!BZERO_P] (CHR): Likewise.
20840 (memset): Likewise. Do not use BP_SYM.
20841 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20842 "bp-asm.h".
20843 (PARMS): Do not use macros from bp-asm.h.
20844 (S1): Likewise.
20845 (SIZE): Likewise.
20846 (__mpn_mul_1): Do not use BP_SYM.
20847 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20848 "bp-asm.h".
20849 (PARMS): Do not use macros from bp-asm.h.
20850 (S): Likewise.
20851 (SIZE): Likewise.
20852 (__mpn_rshift): Do not use BP_SYM.
20853 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20854 "bp-asm.h".
20855 (PARMS): Do not use macros from bp-asm.h.
20856 (STR): Likewise.
20857 (CHR): Likewise.
20858 (strchr): Likewise. Do not use BP_SYM.
20859 (index): Do not use BP_SYM in weak_alias.
20860 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20861 "bp-asm.h".
20862 (PARMS): Do not use macros from bp-asm.h.
20863 (DEST): Likewise.
20864 (SRC): Likewise.
20865 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20866 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20867 "bp-asm.h".
20868 (PARMS): Do not use macros from bp-asm.h.
20869 (strlen): Do not use BP_SYM.
20870 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20871 "bp-asm.h".
20872 (PARMS): Do not use macros from bp-asm.h.
20873 (S1): Likewise.
20874 (S2): Likewise.
20875 (SIZE): Likewise.
20876 (__mpn_sub_n): Do not use BP_SYM.
20877 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20878 "bp-asm.h".
20879 (PARMS): Do not use macros from bp-asm.h.
20880 (S1): Likewise.
20881 (SIZE): Likewise.
20882 (__mpn_submul_1): Do not use BP_SYM.
20883 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20884 "bp-asm.h".
20885 (PARMS): Do not use macros from bp-asm.h.
20886 (S1): Likewise.
20887 (S2): Likewise.
20888 (SIZE): Likewise.
20889 (__mpn_add_n): Do not use BP_SYM.
20890 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20891 weak_alias.
20892 (bzero): Likewise.
20893 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20894 "bp-asm.h".
20895 (PARMS): Do not use macros from bp-asm.h.
20896 (BLK2): Likewise.
20897 (LEN): Likewise.
20898 (memcmp): Do not use BP_SYM.
20899 (bcmp): Do not use BP_SYM in weak_alias.
20900 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20901 "bp-asm.h".
20902 (PARMS): Do not use macros from bp-asm.h.
20903 (DEST): Likewise.
20904 (SRC): Likewise.
20905 (LEN): Likewise.
20906 (memcpy): Likewise. Do not use BP_SYM.
20907 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20908 "bp-asm.h".
20909 (PARMS): Do not use macros from bp-asm.h.
20910 (DEST): Likewise.
20911 (SRC): Likewise.
20912 (LEN): Likewise.
20913 (memmove): Likewise. Do not use BP_SYM.
20914 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20915 "bp-asm.h".
20916 (PARMS): Do not use macros from bp-asm.h.
20917 (DEST): Likewise.
20918 (SRC): Likewise.
20919 (LEN): Likewise.
20920 (__mempcpy): Likewise. Do not use BP_SYM.
20921 (mempcpy): Do not use BP_SYM in weak_alias.
20922 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20923 "bp-asm.h".
20924 (PARMS): Do not use macros from bp-asm.h.
20925 (DEST): Likewise.
20926 (LEN): Likewise.
20927 [!BZERO_P] (CHR): Likewise.
20928 (memset): Likewise. Do not use BP_SYM.
20929 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20930 "bp-asm.h".
20931 (PARMS): Do not use macros from bp-asm.h.
20932 (STR2): Likewise.
20933 (strcmp): Do not use BP_SYM.
20934 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20935 "bp-asm.h".
20936 (PARMS): Do not use macros from bp-asm.h.
20937 (STR): Likewise.
20938 (DELIM): Likewise.
20939 [USE_AS_STRTOK_R] (SAVE): Likewise.
20940 (FUNCTION): Likewise. Do not use BP_SYM.
20941 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20942 aliases.
20943 (strtok_r): Likewise.
20944 (__GI___strtok_r): Likewise.
20945 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20946 (PARMS): Do not use macros from bp-asm.h.
20947 (S): Likewise.
20948 (SIZE): Likewise.
20949 (__mpn_lshift): Do not use BP_SYM.
20950 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20951 (PARMS): Do not use macros from bp-asm.h.
20952 (STR): Likewise.
20953 (CHR): Likewise.
20954 (__memchr): Do not use BP_SYM.
20955 (memchr): Do not use BP_SYM in weak_alias.
20956 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20957 (PARMS): Do not use macros from bp-asm.h.
20958 (BLK2): Likewise.
20959 (LEN): Likewise.
20960 (memcmp): Do not use BP_SYM.
20961 (bcmp): Do not use BP_SYM in weak_alias.
20962 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20963 (PARMS): Do not use macros from bp-asm.h.
20964 (S1): Likewise.
20965 (SIZE): Likewise.
20966 (__mpn_mul_1): Do not use BP_SYM.
20967 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20968 "bp-asm.h".
20969 (PARMS): Do not use macros from bp-asm.h.
20970 (STR): Likewise.
20971 (CHR): Likewise.
20972 (__rawmemchr): Do not use BP_SYM.
20973 (rawmemchr): Do not use BP_SYM in weak_alias.
20974 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20975 (PARMS): Do not use macros from bp-asm.h.
20976 (S): Likewise.
20977 (SIZE): Likewise.
20978 (__mpn_rshift): Do not use BP_SYM.
20979 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20980 (PARMS): Do not use macros from bp-asm.h.
20981 (SIGMSK): Likewise.
20982 (__sigsetjmp): Likewise. Do not use BP_SYM.
20983 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20984 (_start): Do not use BP_SYM.
20985 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20986 (PARMS): Do not use macros from bp-asm.h.
20987 (DEST): Likewise.
20988 (SRC): Likewise.
20989 (__stpcpy): Likewise. Do not use BP_SYM.
20990 (stpcpy): Do not use BP_SYM in weak_alias.
20991 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20992 "bp-asm.h".
20993 (PARMS): Do not use macros from bp-asm.h.
20994 (DEST): Likewise.
20995 (SRC): Likewise.
20996 (LEN): Likewise.
20997 (__stpncpy): Likewise. Do not use BP_SYM.
20998 (stpncpy): Do not use BP_SYM in weak_alias.
20999 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21000 (PARMS): Do not use macros from bp-asm.h.
21001 (STR): Likewise.
21002 (CHR): Likewise.
21003 (strchr): Likewise. Do not use BP_SYM.
21004 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21005 "bp-asm.h".
21006 (PARMS): Do not use macros from bp-asm.h.
21007 (STR): Likewise.
21008 (CHR): Likewise.
21009 (__strchrnul): Likewise. Do not use BP_SYM.
21010 (strchrnul): Do not use BP_SYM in weak_alias.
21011 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21012 "bp-asm.h".
21013 (PARMS): Do not use macros from bp-asm.h.
21014 (STOP): Likewise.
21015 (strcspn): Do not use BP_SYM.
21016 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21017 "bp-asm.h".
21018 (PARMS): Do not use macros from bp-asm.h.
21019 (STR): Likewise.
21020 (STOP): Likewise.
21021 (strpbrk): Likewise. Do not use BP_SYM.
21022 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21023 "bp-asm.h".
21024 (PARMS): Do not use macros from bp-asm.h.
21025 (STR): Likewise.
21026 (CHR): Likewise.
21027 (strrchr): Likewise. Do not use BP_SYM.
21028 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21029 (PARMS): Do not use macros from bp-asm.h.
21030 (SKIP): Likewise.
21031 (strspn): Do not use BP_SYM.
21032 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21033 (PARMS): Do not use macros from bp-asm.h.
21034 (STR): Likewise.
21035 (DELIM): Likewise.
21036 (SAVE): Likewise.
21037 (FUNCTION): Likewise. Do not use BP_SYM.
21038 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21039 aliases.
21040 (strtok_r): Likewise.
21041 (__GI___strtok_r): Likewise.
21042 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21043 (PARMS): Do not use macros from bp-asm.h.
21044 (S1): Likewise.
21045 (S2): Likewise.
21046 (SIZE): Likewise.
21047 (__mpn_sub_n): Do not use BP_SYM.
21048 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21049 "bp-asm.h".
21050 (PARMS): Do not use macros from bp-asm.h.
21051 (S1): Likewise.
21052 (SIZE): Likewise.
21053 (__mpn_submul_1): Do not use BP_SYM.
21054 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21055 <bp-sym.h>.
21056 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21057 and <bp-asm.h>.
21058 (PARMS): Do not use macros from bp-asm.h.
21059 (FLAGS): Likewise.
21060 (PTID): Likewise.
21061 (TLS): Likewise.
21062 (CTID): Likewise.
21063 (__clone): Do not use BP_SYM.
21064 (clone): Do not use BP_SYM in weak_alias.
21065 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21066 and <bp-asm.h>.
21067 (PARMS): Do not use macros from bp-asm.h.
21068 (LEN): Likewise.
21069 (__mmap64): Do not use BP_SYM.
21070 (mmap64): Do not use BP_SYM in weak_alias.
21071 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21072 <bp-sym.h> and <bp-asm.h>.
21073 (PARMS): Do not use macros from bp-asm.h.
21074 (__posix_fadvise64_l64): Do not use BP_SYM.
21075 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21076 (PARMS): Do not use macros from bp-asm.h.
21077 (NSOPS): Likewise.
21078 (semtimedop): Do not use BP_SYM.
21079 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21080 and <bp-asm.h>.
21081
21082 2013-02-21 Allan McRae <allan@archlinux.org>
21083
21084 * manual/message.texi (Charset conversion in gettext):
21085 Move @end statement to beginning of line.
21086
21087 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21088
21089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21090 static.
21091 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21092 Likewise.
21093
21094 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21095 (denorm): Likewise.
21096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21097 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21098
21099 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21100
21101 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21102 tail-call to the resolved function if pltexit isn't needed.
21103
21104 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21105
21106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21107 or Y being zero as being unlikely.
21108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21109 Likewise.
21110
21111 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21112
21113 * manual/nss.texi (System Databases and Name Service Switch):
21114 Remove frobnicate @pxref.
21115
21116 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21117
21118 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21119 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21120
21121 2013-02-20 Petr Machata <pmachata@redhat.com>
21122
21123 * elf/elf.h (R_ARM_TARGET1): New macro.
21124 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21125 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21126 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21127 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21128 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21129 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21130 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21131 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21132 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21133 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21134 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21135 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21136 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21137 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21138 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21139 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21140 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21141 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21142 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21143 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21144 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21145 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21146 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21147 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21148 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21149 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21150 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21151 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21152 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21153 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21154 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21155 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21156 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21157 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21158 (R_ARM_THM_GOT_BREL12): Likewise.
21159 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21160 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21161 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21162 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21163 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21164 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21165 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21166 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21167 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21168
21169 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21170
21171 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21172 __attribute_used__ to __attribute__ ((unused)).
21173
21174 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21175
21176 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21177 powerpc mpa.c.
21178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21179 comment formatting.
21180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21181
21182 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21183
21184 [BZ #13550]
21185 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21186 Remove macro.
21187 (ENTER): Remove both macro definitions.
21188 (LEAVE): Likewise.
21189 (CHECK_BOUNDS_LOW): Likewise.
21190 (CHECK_BOUNDS_HIGH): Likewise.
21191 (CHECK_BOUNDS_BOTH): Likewise.
21192 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21193 (RETURN_BOUNDED_POINTER): Likewise.
21194 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21195 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21196 (POP_ERRNO_LOCATION_RETURN): Likewise.
21197 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21198 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21199 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21200 macros.
21201 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21202 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21203 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21204 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21205 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21206 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21207 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21208 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21209 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21210 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21211 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21212 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21213 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21214 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21215 removed macros.
21216 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21217 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21218 macros.
21219 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21220 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21221 * sysdeps/i386/i586/memset.S (memset): Likewise.
21222 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21223 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21224 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21225 macros.
21226 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21227 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21228 Change uses of L(2) to L(out).
21229 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21230 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21231 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21232 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21233 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21234 removed macros.
21235 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21236 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21237 macros.
21238 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21239 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21240 (RETURN): Do not use macro LEAVE.
21241 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21242 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21243 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21244 * sysdeps/i386/i686/memset.S (memset): Likewise.
21245 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21246 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21247 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21248 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21249 Likewise.
21250 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21251 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21252 L(1_2) and L(1_3) into L(1).
21253 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21254 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21255 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21256 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21257 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21258 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21259 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21260 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21261 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21262 macros.
21263 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21264 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21265 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21266 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21267 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21268 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21269 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21270 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21271 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21272 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21273 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21274 * sysdeps/i386/strspn.S (strspn): Likewise.
21275 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21276 conditional code.
21277 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21278 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21279 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21280 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21281 L(1_3) into L(1_1).
21282 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21283 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21284 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21285 macros.
21286 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21287
21288 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21289
21290 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21291 macro.
21292
21293 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21294
21295 * math/atest-exp.c (exp_mpn): Remove ROUND.
21296 * math/atest-exp2.c (exp_mpn): Likewise.
21297 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21298
21299 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21300 * stdlib/tst-tls-atexit-lib.c: Likewise.
21301 * stdlib/tst-tls-atexit.c: Likewise.
21302
21303 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21304
21305 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21306 and __attribute_alloc_size__.
21307
21308 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21309
21310 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21311 __attribute_alloc_size__.
21312 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21313 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21314
21315 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21316
21317 * include/programs/xmalloc.h: New file.
21318 * catgets/gencat.c: Include it.
21319 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21320 * elf/pldd.c: Likewise.
21321 * iconv/iconv_charmap.c: Likewise.
21322 * iconv/iconvconfig.c: Likewise.
21323 * iconv/strtab.c: Likewise.
21324 * locale/programs/locale.c: Likewise.
21325 * locale/programs/localedef.h: Likewise.
21326 * locale/programs/simple-hash.c: Likewise.
21327 * nscd/nscd.h: Likewise.
21328 * nss/makedb.c: Likewise.
21329 * sysdeps/generic/ldconfig.h: Likewise.
21330
21331 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21332
21333 * Versions.def: Add GLIBC_2.18.
21334 * include/link.h (struct link_map): New member l_tls_dtor_count.
21335 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21336 (__call_tls_dtors): Likewise.
21337 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21338 __cxa_thread_atexit_impl.
21339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21340 Likewise.
21341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21342 Likewise.
21343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21344 Likewise.
21345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21346 Likewise.
21347 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21349 Likewise.
21350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21351 Likewise.
21352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21354 Likewise.
21355 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21356 (tests): Add test case tst-tls-atexit.
21357 (modules-names): Add shared library for tst-tls-atexit.
21358 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21359 (GLIBC_PRIVATE): Add __call_tls_dtors.
21360 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21361 for libstdc++.
21362 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21363 * stdlib/tst-tls-atexit.c: New test case.
21364 * stdlib/tst-tls-atexit-lib.c: New test case.
21365
21366 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21367
21368 * elf/Versions (ld): Add _dl_find_dso_for_object.
21369 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21370 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21371 (dl_open_worker): Use _dl_find_dso_for_object.
21372 * elf/dl-sym.c (do_sym): Likewise.
21373 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21374
21375 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21376
21377 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21378 Syntactic changes only.
21379 (_dl_runtime_profile): Do a tail-call to the resolved function.
21380
21381 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21382
21383 [BZ #13550]
21384 * sysdeps/x86_64/bp-asm.h: Remove file.
21385 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21386 <bp-sym.h> and <bp-asm.h>.
21387 (__clone): Do not use BP_SYM.
21388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21389 <bp-sym.h> and <bp-asm.h>.
21390 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21391 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21392 "bp-asm.h".
21393 (_setjmp): Do not use BP_SYM.
21394 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21395 "bp-asm.h".
21396 (setjmp): Do not use BP_SYM.
21397 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21398 libc_hidden_def.
21399 (mempcpy): Do not use BP_SYM in weak_alias.
21400 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21401 "bp-asm.h".
21402 (strchr): Do not use BP_SYM.
21403 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21404 "bp-asm.h".
21405 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21406 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21407 (_start): Do not use BP_SYM.
21408 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21409 "bp-asm.h".
21410 (strcat): Do not use BP_SYM.
21411 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21412 "bp-asm.h".
21413 (STRCMP): Do not use BP_SYM.
21414 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21415 "bp-asm.h".
21416 (STRCPY): Do not use BP_SYM.
21417 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21418 "bp-asm.h".
21419 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21420 "bp-asm.h".
21421 (FUNCTION): Do not use BP_SYM.
21422 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21423 weak_alias.
21424 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21425
21426 2013-02-17 Andreas Jaeger <aj@suse.de>
21427
21428 * time/Versions: Sort entries.
21429 * string/Versions: Likewise.
21430 * resolv/Versions: Likewise.
21431 * posix/Versions: Likewise.
21432 * iconv/Versions: Likewise.
21433 * elf/Versions: Likewise.
21434 * wcsmbs/Versions: Likewise.
21435
21436 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21437
21438 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21439 loop termination condition.
21440
21441 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21442 variable to calculate EZ.
21443 (__sqr): Likewise.
21444
21445 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21446 the lower precision input.
21447
21448 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21449
21450 [BZ #13550]
21451 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21452 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21453 (run-via-rtld-prefix): Do not handle %-bp tests.
21454 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21455 (all-object-suffixes): Remove .ob.
21456 (bppfx): Remove variable.
21457 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21458 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21459 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21460 [$(build-bounded) = yes] (libtype.ob): Likewise.
21461 * Makerules (elide-routines.ob): Remove variable.
21462 (do-tests-clean): Do not handle *-bp.out.
21463 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21464 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21465 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21466 (tests): Do not include $(tests-bp.out).
21467 (xtests): Do not include $(xtests-bp.out).
21468 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21469 [$(build-bounded) = yes] ($(addprefix
21470 $(objpfx),$(binaries-bounded))): Remove rule.
21471 ($(objpfx)%-bp.out): Remove rule.
21472 * config.make.in (build-bounded): Remove variable.
21473 * crypt/Makefile [$(build-bounded) = yes]
21474 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21475 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21476 append to variable.
21477 [$(build-bounded) = yes] (install-lib): Likewise.
21478 [$(build-bounded) = yes] (generated): Likewise.
21479 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21480 Remove rule.
21481 * intl/Makefile [$(build-bounded) = yes]
21482 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21483 * math/Makefile [$(build-bounded) = yes]
21484 ($(tests:%=$(objpfx)%-bp): Likewise.
21485 * misc/Makefile [$(build-bounded) = yes]
21486 ($(objpfx)tst-tsearch-bp): Likewise.
21487 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21488 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21489 Remove dependency.
21490 * string/Makefile (o-objects.ob): Remove variable.
21491 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21492 (CFLAGS-.ob): Remove variable.
21493 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21494 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21495 both definitions of variable.
21496 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21497 (ASFLAGS-.ob): Remove variable.
21498
21499 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21500
21501 [BZ #13550]
21502 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21503 Remove __BOUNDED_POINTERS__ from condition.
21504 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21505 * string/bits/string2.h [!__NO_STRING_INLINES &&
21506 !__BOUNDED_POINTERS__]: Likewise.
21507 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21508 Likewise.
21509 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21510 Remove conditional code.
21511 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21512 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21513 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21514 condition.
21515
21516 [BZ #13550]
21517 * csu/libc-start.c: Do not include <bp-sym.h>.
21518 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21519 * elf/dl-open.c: Do not include <bp-sym.h>.
21520 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21521 * math/fegetenv.c: Do not include <bp-sym.h>.
21522 (fegetenv): Do not use BP_SYM in versioned symbols.
21523 * nptl/sysdeps/pthread/bits/libc-lockP.h
21524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21525 <bp-sym.h>.
21526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21527 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21529 (__pthread_mutex_destroy): Likewise.
21530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21531 (__pthread_mutex_lock): Likewise.
21532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21533 (__pthread_mutex_trylock): Likewise.
21534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21535 (__pthread_mutex_unlock): Likewise.
21536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21537 (__pthread_mutexattr_init): Likewise.
21538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21539 (__pthread_mutexattr_destroy): Likewise.
21540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21541 (__pthread_mutexattr_settype): Likewise.
21542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21543 (__pthread_rwlock_init): Likewise.
21544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21545 (__pthread_rwlock_destroy): Likewise.
21546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21547 (__pthread_rwlock_rdlock): Likewise.
21548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21549 (__pthread_rwlock_tryrdlock): Likewise.
21550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21551 (__pthread_rwlock_wrlock): Likewise.
21552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21553 (__pthread_rwlock_trywrlock): Likewise.
21554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21555 (__pthread_rwlock_unlock): Likewise.
21556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21557 (__pthread_key_create): Likewise.
21558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21559 (__pthread_setspecific): Likewise.
21560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21561 (__pthread_getspecific): Likewise.
21562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21563 Likewise.
21564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21565 (_pthread_cleanup_push_defer): Likewise.
21566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21567 (_pthread_cleanup_pop_restore): Likewise.
21568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21569 (pthread_setcancelstate): Likewise.
21570 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21571 <bp-sym.h>.
21572 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21573 (memchr): Do not use BP_SYM in weak_alias.
21574 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21575 (fegetenv): Do not use BP_SYM in versioned symbols.
21576 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21577 (fesetenv): Do not use BP_SYM in versioned symbols.
21578 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21579 (feupdateenv): Do not use BP_SYM in versioned symbols.
21580 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21581 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21582 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21583 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21584 (open64): Do not use BP_SYM in weak_alias.
21585 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21586 (fegetenv): Do not use BP_SYM in versioned symbols.
21587 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21588 (fesetenv): Do not use BP_SYM in versioned symbols.
21589 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21590 (feupdateenv): Do not use BP_SYM in versioned symbols.
21591 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21592 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21593 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21594 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21595 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21596 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21597 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21598 <bp-sym.h>.
21599 (__libc_start_main): Do not use BP_SYM.
21600
21601 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21602
21603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21604 redundant return line.
21605 (norm): Likewise.
21606 (denorm): Likewise.
21607 (dbl_mp): Likewise.
21608 (sub_magnitudes): Likewise.
21609 (__add): Likewise.
21610 (__sub): Likewise.
21611 (__mul): Likewise.
21612 (__inv): Likewise.
21613 (__dvd): Likewise.
21614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21615 (norm): Likewise.
21616 (denorm): Likewise.
21617 (dbl_mp): Likewise.
21618 (sub_magnitudes): Likewise.
21619 (__add): Likewise.
21620 (__sub): Likewise.
21621 (__mul): Likewise.
21622 (__inv): Likewise.
21623 (__dvd): Likewise.
21624
21625 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21626 instead of __mul.
21627 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21628 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21629 (cc32): Likewise.
21630
21631 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21632 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21634 of __mul for squares.
21635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21636 function
21637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21638 Likewise.
21639 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21640 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21641
21642 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21643
21644 [BZ #13550]
21645 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21646 code.
21647 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21648 prototype or function definition. Rename ubp_* variables and
21649 parameters. Remove argv definitions conditional on
21650 [__BOUNDED_POINTERS__].
21651 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21652 * elf/dl-runtime.c (_dl_fixup): Likewise.
21653 * include/set-hooks.h (RUN_HOOK): Likewise.
21654 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21655 definition.
21656 * string/strcpy.c (strcpy): Do not use __unbounded.
21657 * sysdeps/generic/frame.h (struct layout): Likewise.
21658 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21659 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21660 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21661 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21662 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21663 (__backtrace): Likewise.
21664 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21665 use __ptrvalue.
21666 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21667 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21668 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21669 Likewise.
21670 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21671 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21672 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21673 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21674 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21675 Do not use __unbounded.
21676 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21677 Rename __unboundedrlimits parameter to rlimits in prototype.
21678 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21679 Do not use __unbounded.
21680 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21681 not use __ptrvalue.
21682 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21683 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21684 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21685 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21686 __ptrvalue or __unbounded.
21687 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21688 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21689 use __unbounded.
21690 (__new_msgctl): Do not use __ptrvalue.
21691 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21692 __unbounded.
21693 (__libc_msgrcv): Do not use __ptrvalue.
21694 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21695 startup_info): Do not use __unbounded.
21696 (__libc_start_main): Likewise. Rename ubp_* variables and
21697 parameters. Remove argv definitions conditional on
21698 [__BOUNDED_POINTERS__].
21699 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21700 __ptrvalue.
21701 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21702 use __unbounded.
21703 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21704 or __ptrvalue.
21705 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21706 use __unbounded.
21707 (__new_shmctl): Do not use __ptrvalue.
21708 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21709 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21710 Likewise.
21711 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21712 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21713 (__libc_sigaction): Likewise.
21714 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21715 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21716 Likewise.
21717 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21718
21719 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21720
21721 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21722
21723 * string/mempcpy.c: Implement by calling memcpy.
21724
21725 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21726
21727 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21728
21729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21730 evaluation.
21731
21732 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21733 values in the mantissa.
21734
21735 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21736 minimize writes to Z.
21737 (sub_magnitudes): Simplify code a bit.
21738
21739 2013-02-12 Roland McGrath <roland@hack.frob.com>
21740
21741 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21742 from the message. The linker prefixes all warnings with that already.
21743
21744 2013-02-12 Andreas Schwab <schwab@suse.de>
21745
21746 [BZ #15078]
21747 * posix/regexec.c (extend_buffers): Add parameter min_len.
21748 (check_matching): Pass minimum needed length.
21749 (clean_state_log_if_needed): Likewise.
21750 (get_subexp): Likewise.
21751 * posix/Makefile (tests): Add bug-regex34.
21752 (bug-regex34-ENV): Define.
21753 * posix/bug-regex34.c: New file.
21754
21755 [BZ #11561]
21756 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21757 elements compare against the byte sequence of it, not its name.
21758 * posix/Makefile (tests): Add bug-regex35.
21759 (bug-regex35-ENV): Define.
21760 * posix/bug-regex35.c: New file.
21761
21762 2013-02-11 Tom de Vries <tom@codesourcery.com>
21763
21764 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21765 comment.
21766 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21767 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21768 (CHECK_EOL): Add undef.
21769
21770 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21771
21772 * bits/stdlib-bsearch.h: New file.
21773 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21774 * stdlib/stdlib.h: Likewise.
21775
21776 2013-02-11 Roland McGrath <roland@hack.frob.com>
21777
21778 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21779 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21780 declaration.
21781 * manual/search.texi (Array Search Function): Add missing const in
21782 lfind prototype.
21783 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21784 declaration to use rlim_t.
21785 (Basic Scheduling Functions): Remove erroneous const from
21786 sched_getparam prototype. Remove erroneous * from
21787 sched_get_priority_max and sched_get_priority_min prototypes.
21788 (Resource Usage): Fix summary @comment on vtimes to refer to
21789 sys/vtimes.h rather than vtimes.h.
21790 Add missing *s in vtimes prototype.
21791 (Limits on Resources): Fix ulimit prototype to return long int.
21792 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21793 prototypes to use long int rather than double.
21794 (BSD Random): Fix initstate and setstate to use char *, not void *.
21795 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21796 prototype to make second argument 'struct aiocb64 *const[]'.
21797 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21798 (Status of AIO Operations): Remove erroneous const in aio_return and
21799 aio_return64 prototypes.
21800 (Synchronizing I/O): Fix sync prototype to return void.
21801 * manual/startup.texi (Suboptions): Remove an erroneous const in
21802 getsubopt prototype.
21803 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21804 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21805 use size_t rather than int.
21806 (Scanning All Users): Likewise for getpwent_r.
21807 (Setting Groups): Add missing const to setgroups prototype.
21808 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21809 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21810 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21811 'const void *' rather than 'const char *'.
21812 (Host Address Functions): Likewise for inet_ntop.
21813 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21814 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21815 ssize_t for return value.
21816 (Sending Data): Likewise for send, sendto, sendmsg.
21817 (Socket Option Functions): Add a missing const in setsockopt prototype.
21818 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21819 use wchar_t for the argument.
21820 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21821 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21822 take no arguments.
21823 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21824 double/float/long double for second argument.
21825 Fix return types of significand, significandf, significandl.
21826 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21827 argument in fchmod prototype.
21828 (File Owner): Use uid_t and gid_t in fchown prototype.
21829 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21830 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21831 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21832 use 'const struct dirent **' as argument types to CMP function pointer
21833 argument.
21834 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21835 (File Times): Fix summary magic @comment for struct utimbuf and utime
21836 to refer to utime.h, not time.h.
21837 * manual/string.texi (Argz Functions): Add missing const in
21838 argz_extract and argz_next prototypes.
21839 (Finding Tokens in a String): Likewise for basename.
21840 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21841 (Copying and Concatenation): Fix typo in wmemmove prototype.
21842 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21843 (Signal Stack): Remove erroneous const in sigstack prototype.
21844 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21845 prototype.
21846 (Simple Calendar Time): Likewise for stime.
21847 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21848 prototype.
21849 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21850 say sys/sysctl.h instead.
21851 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21852 and vsyslog prototypes.
21853
21854 2013-02-11 Tom de Vries <tom@codesourcery.com>
21855
21856 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21857 Remove.
21858
21859 2013-02-11 Roland McGrath <roland@hack.frob.com>
21860
21861 * misc/sys/mman.h: Fix typo in mremap comment.
21862
21863 2013-02-08 Roland McGrath <roland@hack.frob.com>
21864
21865 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21866 the '\0' terminator.
21867
21868 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21869
21870 [BZ #13550]
21871 * debug/segfault.c: Don't include <bp-checks.h>.
21872 * sysdeps/generic/bp-checks.h: Remove file.
21873 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21874 (__GETDENTS): Don't use CHECK_N.
21875 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21876 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21877 (__getgroups): Don't use CHECK_N.
21878 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21879 (setgroups): Don't use CHECK_N.
21880 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21881 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21882 (__libc_msgrcv): Don't use CHECK_N.
21883 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21884 (__libc_msgsnd): Don't use CHECK_N.
21885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21886 <bp-checks.h>.
21887 (__libc_pread): Don't use CHECK_N.
21888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21889 include <bp-checks.h>.
21890 (__libc_pread64): Don't use CHECK_N.
21891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21892 include <bp-checks.h>.
21893 (__libc_pwrite): Don't use CHECK_N.
21894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21895 include <bp-checks.h>.
21896 (__libc_pwrite64): Don't use CHECK_N.
21897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21898 <bp-checks.h>.
21899 (__libc_pread): Don't use CHECK_N.
21900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21901 include <bp-checks.h>.
21902 (__libc_pread64): Don't use CHECK_N.
21903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21904 include <bp-checks.h>.
21905 (__libc_pwrite): Don't use CHECK_N.
21906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21907 include <bp-checks.h>.
21908 (__libc_pwrite64): Don't use CHECK_N.
21909 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21910 (do_pread): Don't use CHECK_N.
21911 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21912 (do_pread64): Don't use CHECK_N.
21913 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21914 (do_pwrite): Don't use CHECK_N.
21915 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21916 (do_pwrite64): Don't use CHECK_N.
21917 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21918 (__libc_readv): Don't use CHECK_N.
21919 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21920 (semop): Don't use CHECK_N.
21921 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21922 <bp-checks.h>.
21923 (semtimedop): Don't use CHECK_N.
21924 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21925 (__libc_pread): Don't use CHECK_N.
21926 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21927 <bp-checks.h>.
21928 (__libc_pread64): Don't use CHECK_N.
21929 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21930 <bp-checks.h>.
21931 (__libc_pwrite): Don't use CHECK_N.
21932 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21933 <bp-checks.h>.
21934 (__libc_pwrite64): Don't use CHECK_N.
21935 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21936 <bp-checks.h>.
21937 (__libc_msgrcv): Don't use CHECK_N.
21938 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21939 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21940 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21941 (__libc_writev): Don't use CHECK_N.
21942
21943 2013-02-08 Roland McGrath <roland@hack.frob.com>
21944
21945 * string/strcpy.c: Removed unused variable.
21946
21947 * Makeconfig (+sysdep-includes): Define with := rather than =.
21948 Use an existing include/ subdir of each sysdeps dir before it.
21949
21950 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21951
21952 * nscd/connection.c (register_traced_file): Comment function.
21953 [HAVE_INOTIFY] (union __inev): Define.
21954 [HAVE_INOTIFY] (inotify_check_files): New function.
21955 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21956 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21957 clear_db_cache.
21958 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21959
21960 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21961
21962 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21963 loaded if not already and that a failure is permanent.
21964
21965 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21966
21967 [BZ #15006]
21968 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21969 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21970
21971 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21972
21973 [BZ #13550]
21974 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21975 (CHECK_1_NULL_OK): Likewise.
21976 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21977 (__fxstat): Do not use CHECK_1.
21978 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21979 <bp-checks.h>.
21980 (___fxstat64): Do not use CHECK_1.
21981 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21982 <bp-checks.h>.
21983 (__fxstatat): Do not use CHECK_1.
21984 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21985 <bp-checks.h>.
21986 (__fxstatat64): Do not use CHECK_1.
21987 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21988 <bp-checks.h>.
21989 (__fxstat): Do not use CHECK_1.
21990 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21991 <bp-checks.h>.
21992 (__fxstatat): Do not use CHECK_1.
21993 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21994 <bp-checks.h>.
21995 (__getresgid): Do not use CHECK_1.
21996 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21997 <bp-checks.h>.
21998 (__getresuid): Do not use CHECK_1.
21999 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22000 <bp-checks.h>.
22001 (__lxstat): Do not use CHECK_1.
22002 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22003 <bp-checks.h>.
22004 (__old_msgctl): Do not use CHECK_1.
22005 (__new_msgctl): Likewise.
22006 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22007 <bp-checks.h>.
22008 (__new_setrlimit): Do not use CHECK_1.
22009 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22010 <bp-checks.h>.
22011 (__old_shmctl): Do not use CHECK_1.
22012 (__new_shmctl): Likewise.
22013 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22014 <bp-checks.h>.
22015 (__xstat): Do not use CHECK_1.
22016 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22017 (__lxstat): Do not use CHECK_1.
22018 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22019 <bp-checks.h>.
22020 (___lxstat64): Do not use CHECK_1.
22021 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22022 (__old_msgctl): Do not use CHECK_1.
22023 (__new_msgctl): Likewise.
22024 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22025 <bp-checks.h>.
22026 (__gettimeofday): Do not use CHECK_1.
22027 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22028 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22029 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22030 <bp-checks.h>.
22031 (__gettimeofday): Do not use CHECK_1.
22032 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22033 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22034 (__new_shmctl): Do not use CHECK_1.
22035 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22036 <bp-checks.h>.
22037 (do_sigtimedwait): Do not use CHECK_1.
22038 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22039 <bp-checks.h>.
22040 (do_sigwaitinfo): Do not use CHECK_1.
22041 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22042 <bp-checks.h>.
22043 (msgctl): Do not use CHECK_1.
22044 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22045 <bp-checks.h>.
22046 (shmctl): Do not use CHECK_1.
22047 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22048 (ustat): Do not use CHECK_1.
22049 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22050 <bp-checks.h>.
22051 (__fxstat): Do not use CHECK_1.
22052 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22053 <bp-checks.h>.
22054 (__fxstatat): Do not use CHECK_1.
22055 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22056 <bp-checks.h>.
22057 (__lxstat): Do not use CHECK_1.
22058 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22059 <bp-checks.h>.
22060 (__xstat): Do not use CHECK_1.
22061 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22062 (__xstat): Do not use CHECK_1.
22063 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22064 (___xstat64): Do not use CHECK_1.
22065
22066 [BZ #13550]
22067 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22068 definitions.
22069 (CHECK_BOUNDS_HIGH): Likewise.
22070 * string/strcpy.c: Do not include <bp-checks.h>.
22071 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22072
22073 2013-02-07 Roland McGrath <roland@hack.frob.com>
22074
22075 * nscd/nscd-client.h (__nscd_drop_map_ref):
22076 Add __attribute__ ((unused)).
22077 * nis/nss-nisplus.h (niserr2nss): Likewise.
22078
22079 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22080 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22081
22082 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22083 Remove inline keyword.
22084 * include/rounding-mode.h (round_away): Likewise.
22085 * libio/wfileops.c (adjust_wide_data): Likewise.
22086 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22087 (__m128i_strloadu_tolower): Likewise.
22088 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22089 (__m128i_strloadu_tolower): Likewise.
22090 * time/mktime.c (ydhms_diff): Likewise.
22091 * locale/elem-hash.h (elem_hash): Likewise.
22092 * locale/setlocale.c (setdata): Likewise.
22093 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22094 (re_string_wchar_at): Likewise.
22095 (bitset_not, bitset_merge, bitset_mask): Likewise.
22096 [!(__GNUC__ > 3)] (inline): Remove macro.
22097 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22098 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22099 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22100 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22101 * string/memcmp.c (memcmp_bytes): Likewise.
22102 * locale/programs/locarchive.c (compute_hashval): Likewise.
22103 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22104 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22105 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22106 * nss/getent.c (print_rpc, print_protocols): Likewise.
22107 (print_passwd, print_group, print_aliases): Likewise.
22108 * nis/nss-nisplus.h (niserr2nss): Likewise.
22109 * nscd/connections.c (restart_p): Likewise.
22110 Change return type to bool.
22111
22112 2013-02-05 Roland McGrath <roland@hack.frob.com>
22113
22114 * Makeconfig (all-Depend-files): Add existing
22115 $(sorted-subdirs:=/Depend) files.
22116 (all-subdirs): Remove nss.
22117 * sysdeps/unix/inet/Subdirs: Add it here instead.
22118 * hesiod/Depend: New file.
22119
22120 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22121 instead of calling alloca.
22122
22123 * io/lseek.c (__lseek): Rename to __libc_lseek.
22124 Define __lseek as an alias.
22125
22126 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22127
22128 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22129
22130 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22131 else clause and remove check for non-standard endianness.
22132
22133 2013-02-04 David S. Miller <davem@davemloft.net>
22134
22135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22136
22137 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22138
22139 [BZ #13550]
22140 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22141 (__ubp_memchr): Remove prototype.
22142 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22143 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22144 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22145 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22146 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22147 Remove alias.
22148 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22149 (__ubp_memchr): Likewise.
22150 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22151 (__ubp_memchr): Likewise.
22152 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22153 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22154 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22155 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22156 CHECK_STRING.
22157 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22158 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22159 (__getcwd): Do not use CHECK_STRING.
22160 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22161 <bp-checks.h>.
22162 (__real_chown): Do not use CHECK_STRING.
22163 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22164 <bp-checks.h>.
22165 (fchownat): Do not use CHECK_STRING.
22166 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22167 CHECK_STRING.
22168 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22169 <bp-checks.h>.
22170 (__lchown): Do not use CHECK_STRING.
22171 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22172 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22173 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22174 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22176 include <bp-checks.h>.
22177 (truncate64): Do not use CHECK_STRING.
22178 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22179 <bp-checks.h>.
22180 (__real_chown): Do not use CHECK_STRING.
22181 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22182 <bp-checks.h>.
22183 (__lchown): Do not use CHECK_STRING.
22184 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22185 <bp-checks.h>.
22186 (__chown): Do not use CHECK_STRING.
22187 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22188 <bp-checks.h>.
22189 (truncate64): Do not use CHECK_STRING.
22190 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22191 Likewise.
22192 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22193 (__xmknod): Do not use CHECK_STRING.
22194 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22195 <bp-checks.h>.
22196 (__xmknodat): Do not use CHECK_STRING.
22197 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22198 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22199
22200 2013-02-04 Andreas Schwab <schwab@suse.de>
22201
22202 [BZ #14142]
22203 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22204 * include/netdb.h: Likewise for h_errno.
22205 * elf/tst-stackguard1.c: Include <tls.h>.
22206
22207 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22208
22209 * elf/link.h (struct link_map): Extend the l_addr comment.
22210 * include/link.h (struct link_map): Likewise.
22211
22212 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22213
22214 [BZ #13550]
22215 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22216 (BOUNDED_1): Remove macro.
22217 * debug/backtrace.c: Don't include <bp-checks.h>.
22218 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22219 (__backtrace): Likewise.
22220 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22221 <bp-checks.h>.
22222 (__backtrace): Don't use BOUNDED_1.
22223 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22224 <bp-checks.h>.
22225 (__backtrace): Don't use BOUNDED_1.
22226 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22227 (__backtrace): Don't use BOUNDED_1.
22228 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22229 (shmat): Don't use BOUNDED_N.
22230
22231 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22232
22233 [BZ #13550]
22234 * sysdeps/generic/bp-start.h: Remove file.
22235 * csu/libc-start.c: Don't include <bp-start.h>.
22236 (LIBC_START_MAIN): Set up __environ directly instead of using
22237 INIT_ARGV_and_ENVIRON.
22238 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22239 <bp-start.h>.
22240
22241 [BZ #13550]
22242 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22243 definitions.
22244 (CHECK_FCNTL): Likewise.
22245 (CHECK_N_PAGES): Likewise.
22246
22247 [BZ #13550]
22248 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22249 definitions.
22250 (CHECK_SIGSET_NULL_OK): Likewise.
22251 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22252 <bp-checks.h>.
22253 (sigpending): Don't use CHECK_SIGSET.
22254 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22255 <bp-checks.h>.
22256 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22257 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22258 <bp-checks.h>.
22259 (do_sigsuspend): Don't use CHECK_SIGSET.
22260 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22261 use CHECK_SIGSET.
22262 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22263 (do_sigwait): Don't use CHECK_SIGSET.
22264 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22265 use CHECK_SIGSET.
22266 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22267 include <bp-checks.h>.
22268 (sigpending): Don't use CHECK_SIGSET.
22269 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22270 include <bp-checks.h>.
22271 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22272 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22273 <bp-checks.h>.
22274 (sigpending): Don't use CHECK_SIGSET.
22275 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22276 <bp-checks.h>.
22277 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22278
22279 [BZ #13550]
22280 * sysdeps/generic/bp-semctl.h: Remove file.
22281 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22282 <bp-checks.h> and <bp-semctl.h>.
22283 (__old_semctl): Don't use CHECK_SEMCTL.
22284 (__new_semctl): Likewise.
22285 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22286 and <bp-semctl.h>.
22287 (__old_semctl): Don't use CHECK_SEMCTL.
22288 (__new_semctl): Likewise.
22289 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22290 <bp-checks.h> and <bp-semctl.h>.
22291 (__old_semctl): Don't use CHECK_SEMCTL.
22292 (__new_semctl): Likewise.
22293 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22294 <bp-checks.h> and <bp-semctl.h>.
22295 (semctl): Don't use CHECK_SEMCTL.
22296
22297 [BZ #13550]
22298 * Makerules (elide-bp-thunks): Remove variable.
22299 (elide-routines.oS): Don't use $(elide-bp-thunks).
22300 (elide-routines.os): Likewise.
22301 (elide-routines.o): Likewise.
22302 (elide-routines.op): Likewise.
22303 (elide-routines.og): Likewise.
22304 (objects): Don't use $(bp-thunks).
22305 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22306 include.
22307 (common-generated): Do not add s-proto-bp.d.
22308 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22309 (int): Likewise.
22310 (typ): Likewise.
22311 Do not generate makefile rules for bounded-pointer thunks.
22312 * sysdeps/generic/bp-thunks.h: Remove file.
22313 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22314 * sysdeps/unix/s-proto-bp.S: Likewise.
22315
22316 [BZ #15062]
22317 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22318 parts of result separately when argument is not close to line from
22319 -i to i and one part of argument is small.
22320 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22321 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22322 * math/libm-test.inc (cacos_test): Add more tests.
22323 (casin_test): Likewise.
22324 (casinh_test): Likewise.
22325 * sysdeps/i386/fpu/libm-test-ulps: Update.
22326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22327
22328 2013-01-31 David S. Miller <davem@davemloft.net>
22329
22330 * po/de.po: Update from translation team.
22331
22332 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22333
22334 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22335
22336 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22337
22338 * configure.in (_AC_PROG_CC_C89): New definition.
22339 * configure: Regenerate.
22340
22341 * configure.in (AC_PROG_CPP): New definition.
22342 * configure: Regenerate.
22343
22344 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22345
22346 * debug/tst-backtrace.h: New file.
22347 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22348 (ret): Remove variable.
22349 (x): Likewise.
22350 (FAIL): Remove macro.
22351 (NO_INLINE): Likewise.
22352 (fn1): Use match function instead of strstr.
22353 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22354 (ret): Remove variable.
22355 (x): Likewise.
22356 (FAIL): Remove macro.
22357 (NO_INLINE): Likewise.
22358 (fn): Use match function instead of strstr.
22359 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22360 (ret): Remove variable.
22361 (x): Likewise.
22362 (FAIL): Remove macro.
22363 (NO_INLINE): Likewise.
22364 (handle_signal): Use match function instead of strstr.
22365 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22366 (ret): Remove variable.
22367 (x): Likewise.
22368 (FAIL): Remove macro.
22369 (NO_INLINE): Likewise.
22370 (handle_signal): Use match function instead of strstr.
22371
22372 2013-01-23 Roland McGrath <roland@hack.frob.com>
22373
22374 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22375
22376 2013-01-23 David S. Miller <davem@davemloft.net>
22377
22378 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22379 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22380 argument of CAS if possible.
22381 * sysdeps/sparc/sparc64/bits/atomic.h
22382 (__arch_compare_and_exchange_val_32_acq): Likewise.
22383 (__arch_compare_and_exchange_val_64_acq): Likewise.
22384
22385 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22386
22387 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22388 * sysdeps/posix/ulimit.c: ... this.
22389 Include <limits.h>.
22390 * sysdeps/unix/bsd/ulimit.c: Remove file.
22391
22392 2013-01-23 Adam Conrad <adconrad@0c3.net>
22393
22394 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22395 (LDFLAGS-tst-array5): Likewise.
22396
22397 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22398
22399 [BZ #15036]
22400 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22401 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22402 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22403 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22404
22405 2013-01-21 David S. Miller <davem@davemloft.net>
22406
22407 * sysdeps/sparc/backtrace.c: New file.
22408 * sysdeps/sparc/sparc32/backtrace.h: New file.
22409 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22410 * sysdeps/sparc/sparc64/backtrace.h: New file.
22411 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22412 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22413 -funwind-tables.
22414
22415 2013-01-21 Andreas Schwab <schwab@suse.de>
22416
22417 [BZ #15020]
22418 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22419 closed its stdout.
22420
22421 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22422
22423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22424 "mpa2.h".
22425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22426
22427 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22428 Mark Mitchell <mark@codesourcery.com>
22429 Tom de Vries <tom@codesourcery.com>
22430 Paul Pluzhnikov <ppluzhnikov@google.com>
22431
22432 * debug/tst-backtrace2.c: New file.
22433 * debug/tst-backtrace3.c: Likewise.
22434 * debug/tst-backtrace4.c: Likewise.
22435 * debug/tst-backtrace5.c: Likewise.
22436 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22437 (CFLAGS-tst-backtrace3.c): Likewise.
22438 (CFLAGS-tst-backtrace4.c): Likewise.
22439 (CFLAGS-tst-backtrace5.c): Likewise.
22440 (LDFLAGS-tst-backtrace2): Likewise.
22441 (LDFLAGS-tst-backtrace3): Likewise.
22442 (LDFLAGS-tst-backtrace4): Likewise.
22443 (LDFLAGS-tst-backtrace5): Likewise.
22444 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22445 tst-backtrace4 and tst-backtrace5.
22446
22447 2013-01-18 Anton Blanchard <anton@samba.org>
22448 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22449
22450 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22451 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22452 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22453 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22455 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22456 "+r" and remove output regs list as redundant. Add explicit inline
22457 asm to specify register of return val to work around compiler codegen
22458 bug. Remove (int) cast on return value. Add return type parameter to
22459 use in macro so that this macro does not truncate return value for
22460 64-bit values.
22461 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22462 pass to INTERNAL_VSYSCALL_NCS.
22463 (INLINE_VSYSCALL): Add 'long int' as return type to
22464 INTERNAL_VSYSCALL_NCS macro invocation.
22465 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22466 INTERNAL_VSYSCALL_NCS macro invocation.
22467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22468
22469 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22470
22471 [BZ #14496]
22472 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22473 Fix application of SIMD FP exception mask.
22474
22475 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22476 mp_no from a power of two.
22477 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22478 __mpexp_twomm1. Use __pow_mp.
22479
22480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22481 multiplication.
22482
22483 2013-01-17 David S. Miller <davem@davemloft.net>
22484
22485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22486
22487 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22488
22489 [BZ #15023]
22490 * include/complex.h: Condition contents on [!_COMPLEX_H].
22491 (__kernel_casinhf): New prototype.
22492 (__kernel_casinh): Likewise.
22493 (__kernel_casinhl): Likewise.
22494 * math/Makefile (libm_calls): Add k_casinh.
22495 * math/k_casinh.c: New file.
22496 * math/k_casinhf.c: Likewise.
22497 * math/k_casinhl.c: Likewise.
22498 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22499 finite nonzero arguments.
22500 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22501 finite nonzero arguments.
22502 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22503 finite nonzero arguments.
22504 * math/s_casinh.c: Do not include <float.h>.
22505 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22506 * math/s_casinhf.c: Do not include <float.h>.
22507 (__casinhf): Move code for finite nonzero arguments to
22508 k_casinhf.c.
22509 * math/s_casinhl.c: Do not include <float.h>.
22510 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22511 redefine.
22512 (__casinhl): Move code for finite nonzero arguments to
22513 k_casinhl.c.
22514 * math/libm-test.inc (cacos_test): Add more tests.
22515 * sysdeps/i386/fpu/libm-test-ulps: Update.
22516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22517
22518 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22519
22520 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22521 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22522 [!HAVE_MREMAP]: Remove [defined linux] case.
22523 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22524
22525 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22526
22527 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22528
22529 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22530
22531 * elf/elf.h (R_386_SIZE32): New relocation.
22532 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22533 R_386_SIZE32.
22534 (elf_machine_rela): Likewise.
22535 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22536 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22537
22538 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22539
22540 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22541 (FP_FAST_FMA): Do not define.
22542 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22543 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22544 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22545 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22546 !_SOFT_FLOAT]: Likewise.
22547 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22548 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22549 value.
22550 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22551 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22552 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22553 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22554 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22555 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22556 file.
22557
22558 2013-01-16 Andreas Schwab <schwab@suse.de>
22559
22560 [BZ #14327]
22561 * include/stdlib.h (__mktemp): Add declaration.
22562 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22563 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22564
22565 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22566
22567 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22568 definitions.
22569 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22570 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22571 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22572 definitions here.
22573 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22574 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22575 definitions.
22576 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22577 and ONE.
22578 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22579 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22580 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22581 definitions.
22582 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22583 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22584 definitions.
22585 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22586
22587 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22588
22589 2013-01-15 David S. Miller <davem@davemloft.net>
22590
22591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22592 trunc{,f} to libm-sysdep_routes.
22593 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22595 file.
22596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22598 file.
22599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22600 file.
22601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22603 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22604 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22605 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22606 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22607 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22608 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22609
22610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22611 nearbyint{,f} to libm-sysdep_routes.
22612 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22614 New file.
22615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22616 file.
22617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22618 New file.
22619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22620 file.
22621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22623 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22624 file.
22625 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22626 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22627 file.
22628 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22629 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22630 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22631
22632 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22633 libc_feholdexcept and libc_fesetenv.
22634
22635 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22636
22637 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22638
22639 2013-01-14 David S. Miller <davem@davemloft.net>
22640
22641 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22642 (SPARC_ASM_VIS2_IFUNC): Likewise.
22643 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22645 use of 'siam' instruction.
22646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22647 Likewise.
22648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22649 Likewise.
22650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22651 Likewise.
22652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22655 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22657 file.
22658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22659 file.
22660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22661 file.
22662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22663 file.
22664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22669 new VIS2 routines.
22670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22673 Likewise.
22674 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22676 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22679 routines to libm-sysdep_routines.
22680 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22681
22682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22683 fdim/fdimf to libm-sysdep_routines.
22684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22685 file.
22686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22688 file.
22689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22692 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22693 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22694 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22695 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22696
22697 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22698
22699 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22700 to optimize copies.
22701
22702 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22705
22706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22707 local variable MPTWO.
22708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22709 Likewise.
22710
22711 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22712
22713 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22714 GLOB_NOESCAPE.
22715
22716 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22717
22718 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22719
22720 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22721
22722 * manual/pattern.texi (glob_t): Document gl_flags.
22723 (glob64_t): Likewise.
22724
22725 2013-01-11 David S. Miller <davem@davemloft.net>
22726
22727 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22728 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22729 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22730 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22731 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22732 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22733 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22734 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22735 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22736 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22737 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22738 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22739 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22740
22741 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22742 sparc V9 rather than using V8 code.
22743 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22744 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22745
22746 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22747 Move to...
22748 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22749 Here.
22750
22751 2013-01-11 Roland McGrath <roland@hack.frob.com>
22752
22753 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22754 not in the main loop.
22755 * configure: Regenerated.
22756
22757 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22758
22759 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22760 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22761 to just #else.
22762 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22763 [!__GLIBC_HAVE_LONG_LONG] case.
22764 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22765 condition to just #else.
22766 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22767 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22768 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22769 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22770 unconditional.
22771 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22772 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22773 #elif condition to just #else.
22774 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22775 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22776 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22777 #elif condition to just #else.
22778
22779 2013-01-11 Steve Ellcey <sellcey@mips.com>
22780
22781 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22782 (EF_MIPS_ARCH_64): Fix value.
22783 (EF_MIPS_ARCH_32R2): New.
22784 (EF_MIPS_ARCH_64R2): New.
22785
22786 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22787
22788 * Makeconfig (+link-pie-before-libc): New.
22789 (+link-pie-after-libc): Likewise.
22790 (+link-pie-tests): Likewise.
22791 (+link-pie): Rewritten.
22792 (link-before-libc): Remove $(config-LDFLAGS).
22793 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22794 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22795 (config-LDFLAGS): Renamed to ...
22796 (rtld-LDFLAGS): This.
22797 (rtld-tests-LDFLAGS): New macro.
22798 (link-libc-rpath-link): Likewise.
22799 (link-libc-tests-rpath-link): Likewise.
22800 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22801 (link-libc): Prepand $(link-libc-rpath-link).
22802 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22803 (test-program-prefix): New macro.
22804 (test-via-rtld-prefix): Likewise.
22805 (test-program-cmd): Likewise.
22806 (host-test-program-cmd): Likewise.
22807 * Makefile ($(common-objpfx)testrun.sh): Replace
22808 $(run-program-prefix) with $(test-program-prefix).
22809 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22810 $(rtld-LDFLAGS).
22811 ($(common-objpfx)shlib.lds): Likewise.
22812 (build-module-helper): Likewise.
22813 ($(common-objpfx)format.lds): Likewise.
22814 * Rules (binaries-pie-tests): New.
22815 (binaries-pie-notests): Likewise.
22816 (binaries-pie): Rewritten.
22817 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22818 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22819 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22820 (make-test-out): Replace $(host-built-program-cmd) with
22821 $(host-test-program-cmd).
22822 * config.make.in (build-hardcoded-path-in-tests): New variable.
22823 * configure.in (--enable-hardcoded-path-in-tests): New configure
22824 option.
22825 (hardcoded_path_in_tests): New AC_SUBST.
22826 * configure: Regenerated.
22827 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22828 $(built-program-cmd) with $(test-program-cmd).
22829 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22830 (test_program_cmd): This.
22831 * elf/Makefile ($(objpfx)order.out): Run test with
22832 $(test-program-prefix).
22833 ($(objpfx)order2.out): Likewise.
22834 ($(objpfx)tst-initorder.out): Likewise.
22835 ($(objpfx)tst-initorder2.out): Likewise.
22836 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22837 $(test-program-cmd).
22838 ($(objpfx)tst-array1-static.out): Likewise.
22839 ($(objpfx)tst-array2.out): Likewise.
22840 ($(objpfx)tst-array3.out): Likewise.
22841 ($(objpfx)tst-array4.out): Likewise.
22842 ($(objpfx)tst-array5.out): Likewise.
22843 ($(objpfx)tst-array5-static.out): Likewise.
22844 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22845 $(test-program-cmd).
22846 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22847 $(run-program-prefix) with $(test-program-prefix).
22848 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22849 (test_program_prefix): This.
22850 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22851 $(run-program-prefix) with $(test-program-prefix).
22852 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22853 (test_program_prefix): This.
22854 * iconvdata/tst-tables.sh: Likewise.
22855 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22856 $(run-program-prefix) with $(test-program-prefix).
22857 ($(objpfx)tst-translit.out): Likewise.
22858 ($(objpfx)tst-gettext2.out): Likewise.
22859 ($(objpfx)tst-gettext4.out): Likewise.
22860 ($(objpfx)tst-gettext6.out): Likewise.
22861 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22862 (test_program_prefix): This.
22863 * intl/tst-gettext2.sh: Likewise.
22864 * intl/tst-gettext4.sh Likewise.
22865 * intl/tst-gettext6.sh: Likewise.
22866 * intl/tst-translit.sh: Likewise.
22867 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22868 with $(test-program-cmd).
22869 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22870 $(run-program-prefix) with $(test-program-prefix).
22871 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22872 (test_program_prefix): This.
22873 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22874 $(run-program-prefix) with $(test-program-prefix).
22875 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22876 (test_program_prefix): This.
22877 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22878 * posix/Makefile ($(objpfx)globtest.out): Replace
22879 $(run-via-rtld-prefix) and $(test-wrapper) with
22880 $(test-program-prefix) and $(test-via-rtld-prefix).
22881 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22882 $(test-program-prefix).
22883 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22884 $(host-test-program-cmd).
22885 (tst-spawn-ARGS): Likewise.
22886 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22887 $(test-program-prefix).
22888 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22889 (test_via_rtld_prefix): This.
22890 (test_wrapper): Renamed to ...
22891 (test_program_prefix): This.
22892 (run_program_prefix): Replaced by test_program_prefix.
22893 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22894 (test_program_prefix): This.
22895 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22896 with $(host-test-program-cmd).
22897 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22898 $(run-program-prefix) with $(test-program-prefix).
22899 ($(objpfx)tst-printf.out): Likewise.
22900 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22901 $(test-program-cmd).
22902 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22903 (test_program_prefix): This.
22904 * stdio-common/tst-unbputc.sh: Likewise.
22905 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22906 $(run-program-prefix) with $(test-program-prefix).
22907 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22908 (test_program_prefix): This.
22909 * string/Makefile ($(objpfx)tst-svc.out): Replace
22910 $(built-program-cmd) with $(test-program-cmd).
22911
22912 2013-01-11 Andreas Jaeger <aj@suse.de>
22913
22914 [BZ #15003]
22915 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22916 value. Sync with Linux 3.7.
22917
22918 2013-01-10 David S. Miller <davem@davemloft.net>
22919
22920 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22921 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22922 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22923
22924 2013-01-10 Roland McGrath <roland@hack.frob.com>
22925
22926 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22927 never set.
22928 * configure: Regenerated.
22929
22930 2013-01-10 David S. Miller <davem@davemloft.net>
22931
22932 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22933 sparc V9 rather than using V8 code.
22934 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22935 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22936
22937 2013-01-10 Roland McGrath <roland@hack.frob.com>
22938
22939 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22940 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22941 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22942 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22943 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22944 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22945 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22946 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22947 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22948 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22949 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22950 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22951 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22952 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22953 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22954 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22955 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22956 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22957 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22958 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22959 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22960 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22961 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22962 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22963 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22964 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22965 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22966
22967 2013-01-10 David S. Miller <davem@davemloft.net>
22968
22969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22970
22971 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22972
22973 * posix/Makefile (tests-static): New variable.
22974 (tests): Add $(tests-static).
22975 (tst-exec-static-ARGS): New variable.
22976 (tst-spawn-static-ARGS): Likewise.
22977 * posix/tst-exec-static.c: New file.
22978 * posix/tst-spawn-static.c: Likewise.
22979 * posix/tst-exec.c: Support run directly.
22980 * posix/tst-spawn.c: Likewise.
22981
22982 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22983
22984 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22985 long.
22986 * math/bits/mathcalls.h (llrint): Likewise.
22987 (llround): Likewise.
22988 * stdlib/stdlib.h (struct drand48_data): Likewise.
22989 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22990 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22991 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22992 Likewise.
22993 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22994 Likewise.
22995 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22996 (elf_greg_t): Likewise.
22997 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22998 (__jmp_buf): Likewise.
22999 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23000 definitions.
23001 (llrint): Likewise, for all definitions.
23002 (llrintl): Likewise.
23003
23004 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23005 Remove [__GNUC__] condition.
23006 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23007 condition to just [__USE_ISOC99].
23008 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23009
23010 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23011
23012 [BZ #14200]
23013 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23014 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23015 defined.
23016 (_POSIX_V6_ILP32_OFF32): Likewise.
23017 (_XBS5_ILP32_OFF32): Likewise.
23018 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23019 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23020
23021 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23022
23023 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23024
23025 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23026 doubles __mpexp_twomm1. Adjust usage.
23027 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23028 Remove.
23029
23030 2013-01-10 Andreas Schwab <schwab@suse.de>
23031
23032 [BZ #14964]
23033 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23034 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23035
23036 2013-01-09 David S. Miller <davem@davemloft.net>
23037
23038 [BZ #15003]
23039 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23040 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23041 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23042 (TCP_FASTOPEN): Define.
23043 (tcp_repair_opt): New structure.
23044 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23045 enum values.
23046 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23047 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23048 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23049 (tcp_cookie_transactions): New structure.
23050
23051 2013-01-09 Anton Blanchard <anton@samba.org>
23052
23053 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23054 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23055 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23056 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23057
23058 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23059
23060 * include/features.h (__USE_ANSI): Remove.
23061
23062 2013-01-09 Roland McGrath <roland@hack.frob.com>
23063
23064 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23065
23066 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23067
23068 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23069
23070 * sysdeps/s390/fpu/libm-test-ulps: Update.
23071
23072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23073
23074 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23075 (__acr): Likewise.
23076 (__cpy): Likewise.
23077 (norm): Likewise.
23078 (denorm): Likewise.
23079 (__mp_dbl): Likewise.
23080 (__dbl_mp): Likewise.
23081 (add_magnitudes): Likewise.
23082 (sub_magnitudes): Likewise.
23083 (__add): Likewise.
23084 (__sub): Likewise.
23085 (__mul): Likewise.
23086 (__inv): Likewise.
23087 (__dvd): Likewise.
23088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23089 (__acr): Likewise.
23090 (__cpy): Likewise.
23091 (norm): Likewise.
23092 (denorm): Likewise.
23093 (__mp_dbl): Likewise.
23094 (__dbl_mp): Likewise.
23095 (add_magnitudes): Likewise.
23096 (sub_magnitudes): Likewise.
23097 (__add): Likewise.
23098 (__sub): Likewise.
23099 (__mul): Likewise.
23100 (__inv): Likewise.
23101 (__dvd): Likewise.
23102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23103 (__acr): Likewise.
23104 (__cpy): Likewise.
23105 (norm): Likewise.
23106 (denorm): Likewise.
23107 (__mp_dbl): Likewise.
23108 (__dbl_mp): Likewise.
23109 (add_magnitudes): Likewise.
23110 (sub_magnitudes): Likewise.
23111 (__add): Likewise.
23112 (__sub): Likewise.
23113 (__mul): Likewise.
23114 (__inv): Likewise.
23115 (__dvd): Likewise.
23116
23117 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23118
23119 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23120 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23121 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23122 2 && __USE_EXTERN_INLINES]: Likewise.
23123
23124 2013-01-08 Andreas Jaeger <aj@suse.de>
23125
23126 [BZ# 14985]
23127 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23128 Remove.
23129 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23130 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23131
23132 2013-01-07 Anton Blanchard <anton@samba.org>
23133
23134 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23135 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23136 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23137 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23138 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23139 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23140 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23141 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23143 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23144 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23145 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23146 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23147 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23148 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23149 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23150 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23151 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23152 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23153 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23154 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23155 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23156 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23157 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23158 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23159 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23160 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23161 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23162 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23163 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23164 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23166 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23167 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23168 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23169 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23170 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23171 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23172 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23173 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23174 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23175 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23176 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23177
23178 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23179
23180 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23181 (__MALLOC_PMT): Likewise.
23182 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23183 [__GNUC__], only on [_LIBC].
23184 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23185 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23186 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23187 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23188 forward declaration.
23189 (realloc_hook_ini): Likewise.
23190 (memalign_hook_ini): Likewise.
23191 (__libc_memalign): Do not use __MALLOC_PMT in variable
23192 declaration.
23193 (__libc_valloc): Likewise.
23194 (__libc_pvalloc): Likewise.
23195 (__libc_calloc): Likewise.
23196 (__posix_memalign): Likewise.
23197
23198 [BZ #14996]
23199 * math/s_casinh.c: Include <float.h>.
23200 (__casinh): Do not do computation with squaring and square root
23201 for large arguments.
23202 * math/s_casinhf.c: Include <float.h>.
23203 (__casinhf): Do not do computation with squaring and square root
23204 for large arguments.
23205 * math/s_casinhl.c: Include <float.h>.
23206 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23207 (__casinhl): Do not do computation with squaring and square root
23208 for large arguments.
23209 * math/libm-test.inc (casin_test): Add more tests.
23210 (casinh_test): Likewise.
23211 * sysdeps/i386/fpu/libm-test-ulps: Update.
23212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23213
23214 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23215
23216 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23217 (__x86_64_raw_data_cache_size): Likewise.
23218 (__x86_64_data_cache_size_half): Likewise.
23219 (__x86_64_raw_data_cache_size_half): Likewise.
23220 (__x86_64_shared_cache_size): Likewise.
23221 (__x86_64_raw_shared_cache_size): Likewise.
23222 (__x86_64_shared_cache_size_half): Likewise.
23223 (__x86_64_raw_shared_cache_size_half): Likewise.
23224 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23225 to ...
23226 (__x86_data_cache_size): This.
23227 (__x86_64_raw_data_cache_size): Renamed to ...
23228 (__x86_raw_data_cache_size): This.
23229 (__x86_64_data_cache_size_half): Renamed to ...
23230 (__x86_data_cache_size_half): This.
23231 (__x86_64_raw_data_cache_size_half): Renamed to ...
23232 (__x86_raw_data_cache_size_half): This.
23233 (__x86_64_shared_cache_size): Renamed to ...
23234 (__x86_shared_cache_size): This.
23235 (__x86_64_raw_shared_cache_size): Renamed to ...
23236 (__x86_raw_shared_cache_size): This.
23237 (__x86_64_shared_cache_size_half): Renamed to ...
23238 (__x86_shared_cache_size_half): This.
23239 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23240 (__x86_raw_shared_cache_size_half): This.
23241 * sysdeps/x86_64/memcpy.S: Updated.
23242 * sysdeps/x86_64/memset.S: Likewise.
23243 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23244 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23245 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23246
23247 2013-01-04 David S. Miller <davem@davemloft.net>
23248
23249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23250
23251 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23252
23253 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23254 1 to avoid redefinition warning.
23255 (__USE_GNU): Don't define.
23256 (init_signaling_nan): Protoize.
23257
23258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23259
23260 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23261
23262 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23264 (__cpymn): Likewise.
23265 (norm): Remove commented code.
23266 (denorm): Likewise.
23267 (__mp_dbl): Likewise.
23268 (__inv): Likewise.
23269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23270 (__cpymn): Likewise.
23271 (norm): Remove commented code.
23272 (denorm): Likewise.
23273 (__mp_dbl): Likewise.
23274 (__inv): Likewise.
23275
23276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23277 mp_no value for 1.0 and 2.0.
23278 (norm): Use RADIXI instead of radixi.d.
23279 (denorm): Likewise.
23280 (__mul): Use 0.0 instead of zero.d.
23281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23282 mp_no value for 1.0 and 2.0.
23283 (norm): Use RADIXI instead of radixi.d.
23284 (denorm): Likewise.
23285 (__mul): Use 0.0 instead of zero.d.
23286
23287 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23288
23289 [BZ #14994]
23290 * math/s_casinh.c (__casinh): Reduce finite argument to first
23291 quadrant then set signs of results at the end.
23292 * math/s_casinhf.c (__casinhf): Likewise.
23293 * math/s_casinhl.c (__casinhl): Likewise.
23294 * math/libm-test.inc (casin_test): Add more tests.
23295 (casinh_test): Likewise.
23296 * sysdeps/i386/fpu/libm-test-ulps: Update.
23297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23298
23299 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23300
23301 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23302
23303 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23304
23305 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23306 declarations.
23307 (denorm): Likewise.
23308 (__mp_dbl): Likewise.
23309 (__inv): Likewise.
23310
23311 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23312 and adjust the header comment.
23313
23314 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23315 variable name from declaration.
23316
23317 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23318
23319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23320 Initialize COMMON_CPUID_INDEX_7 element.
23321 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23322 (CPUID_RTM): Likewise.
23323 (HAS_RTM): Likewise.
23324 (COMMON_CPUID_INDEX_7): New enum.
23325
23326 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23327
23328 [BZ #14981]
23329 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23330 size is zero, record memory as freed.
23331
23332 2013-01-03 Andreas Jaeger <aj@suse.de>
23333
23334 * po/ia.po: Add new Interlingua translation.
23335
23336 2012-01-03 Allan McRae <allan@archlinux.org>
23337
23338 * locale/programs/localedef.c: Fix description of '--posix' flag.
23339
23340 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23341
23342 * NEWS: Update dates in second copyright notice.
23343 * README: Update copyright dates in example.
23344 * manual/libc.texinfo: Update copyright dates.
23345 * scripts/test-installation.pl: Update copyright date in --version
23346 output.
23347
23348 * hurd/ctty-input.c: Fix copyright notice formatting.
23349 * hurd/ctty-output.c: Likewise.
23350 * hurd/dtable.c: Likewise.
23351 * hurd/hurd-raise.c: Likewise.
23352 * hurd/hurdprio.c: Likewise.
23353 * hurd/msgportdemux.c: Likewise.
23354 * misc/sys/file.h: Likewise.
23355 * misc/sys/ioctl.h: Likewise.
23356 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23357 * sysdeps/mach/hurd/chdir.c: Likewise.
23358 * sysdeps/mach/hurd/fchdir.c: Likewise.
23359 * sysdeps/mach/hurd/rename.c: Likewise.
23360 * sysdeps/mach/hurd/rmdir.c: Likewise.
23361 * sysdeps/mach/hurd/seekdir.c: Likewise.
23362 * sysdeps/mach/hurd/setsid.c: Likewise.
23363 * sysdeps/posix/wait3.c: Likewise.
23364
23365 * All files with FSF copyright notices: Update copyright dates
23366 using scripts/update-copyrights.
23367 * intl/plural.c: Regenerated.
23368 * locale/programs/charmap-kw.h: Likewise.
23369 * locale/programs/locfile-kw.h: Likewise.
23370
23371 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23372
23373 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23374 four values.
23375
23376 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23377 calculation loop and add branch prediction.
23378
23379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23380 check access beyond bounds of m1np.
23381
23382 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23383 MPTWO.
23384 (__inv): Remove local variable MPTWO to use the global
23385 constant.
23386 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23387 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23388 variable MPTWO.
23389 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23390 MP3HALFS static const.
23391
23392 2013-01-01 David S. Miller <davem@davemloft.net>
23393
23394 * po/ca.po: Update from translation team.
23395
23396 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23397
23398 * scripts/update-copyrights: New file.
23399 * Makeconfig: Reformat copyright notice.
23400 * ctype/ctype.h: Likewise.
23401 * debug/swprintf_chk.c: Likewise.
23402 * elf/dl-cache.c: Likewise.
23403 * elf/dl-debug.c: Likewise.
23404 * elf/dl-object.c: Likewise.
23405 * grp/initgroups.c: Likewise.
23406 * hurd/Makefile: Likewise.
23407 * hurd/hurd/signal.h: Likewise.
23408 * hurd/hurdfault.c: Likewise.
23409 * hurd/hurdioctl.c: Likewise.
23410 * hurd/hurdlookup.c: Likewise.
23411 * hurd/intr-msg.c: Likewise.
23412 * iconv/gconv_open.c: Likewise.
23413 * libio/swprintf.c: Likewise.
23414 * locale/lc-ctype.c: Likewise.
23415 * locale/nl_langinfo.c: Likewise.
23416 * mach/Machrules: Likewise.
23417 * mach/Makefile: Likewise.
23418 * malloc/obstack.h: Likewise.
23419 * manual/Makefile: Likewise.
23420 * manual/tsort.awk: Likewise.
23421 * misc/bits/stab.def: Likewise.
23422 * nis/nis_print_group_entry.c: Likewise.
23423 * nis/nis_table.c: Likewise.
23424 * nis/nss_compat/compat-pwd.c: Likewise.
23425 * nis/nss_compat/compat-spwd.c: Likewise.
23426 * po/Makefile: Likewise.
23427 * posix/fnmatch.c: Likewise.
23428 * posix/regex.h: Likewise.
23429 * resolv/Makefile: Likewise.
23430 * resolv/nss_dns/dns-network.c: Likewise.
23431 * resolv/res_hconf.c: Likewise.
23432 * scripts/gen-sorted.awk: Likewise.
23433 * soft-fp/soft-fp.h: Likewise.
23434 * stdio-common/printf.h: Likewise.
23435 * stdlib/monetary.h: Likewise.
23436 * stdlib/random.c: Likewise.
23437 * stdlib/random_r.c: Likewise.
23438 * sysdeps/generic/Makefile: Likewise.
23439 * sysdeps/gnu/Makefile: Likewise.
23440 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23443 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23444 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23447 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23448 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23449 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23450 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23451 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23452 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23453 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23454 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23455 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23456 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23457 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23458 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23461 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23462 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23463 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23464 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23465 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23466 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23467 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23468 * sysdeps/mach/hurd/errnos.awk: Likewise.
23469 * sysdeps/mach/hurd/fork.c: Likewise.
23470 * sysdeps/mach/hurd/getcwd.c: Likewise.
23471 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23472 * sysdeps/mach/hurd/mmap.c: Likewise.
23473 * sysdeps/mach/hurd/utimes.c: Likewise.
23474 * sysdeps/mach/hurd/xmknod.c: Likewise.
23475 * sysdeps/posix/profil.c: Likewise.
23476 * sysdeps/posix/readdir_r.c: Likewise.
23477 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23478 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23479 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23480 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23482 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23483 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23484 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23486 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23487 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23488 * sysdeps/pthread/lio_listio.c: Likewise.
23489 * sysdeps/sparc/dl-procinfo.h: Likewise.
23490 * sysdeps/unix/i386/sysdep.S: Likewise.
23491 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23492 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23493 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23494 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23496 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23497 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23498 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23499 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23500 * sysdeps/wordsize-32/divdi3.c: Likewise.
23501 * time/sys/time.h: Likewise.
23502 * wcsmbs/Makefile: Likewise.
23503
23504 2013-01-01 David S. Miller <davem@davemloft.net>
23505
23506 * po/fr.po: Update from translation team.
23507
23508 * catgets/gencat.c: Update copyright year.
23509 * csu/version.c: Likewise.
23510 * debug/catchsegv.sh: Likewise.
23511 * debug/pcprofiledump.c: Likewise.
23512 * debug/xtrace.sh: Likewise.
23513 * elf/ldconfig.c: Likewise.
23514 * elf/ldd.bash.in: Likewise.
23515 * elf/pldd.c: Likewise.
23516 * elf/sotruss.ksh: Likewise.
23517 * elf/sprof.c: Likewise.
23518 * iconv/iconv_prog.c: Likewise.
23519 * iconv/iconvconfig.c: Likewise.
23520 * locale/programs/locale.c: Likewise.
23521 * locale/programs/localedef.c: Likewise.
23522 * login/programs/pt_chown.c: Likewise.
23523 * malloc/memusage.sh: Likewise.
23524 * malloc/memusagestat.c: Likewise.
23525 * malloc/mtrace.pl: Likewise.
23526 * nscd/nscd.c: Likewise.
23527 * nss/getent.c: Likewise.
23528 * nss/makedb.c: Likewise.
23529 * posix/getconf.c: Likewise.
23530
23531 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23532
23533 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23534 numbers.
23535
23536 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23537
23538 * math/bits/mathcalls.h (modf): Use __nonnull.
23539
23540 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23541
23542 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23543 (split): Use macro CN instead of the bare value.
23544 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23545 could be used.
23546 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23547 instead of the bare value.
23548 (power1): Likewise.
23549
23550 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23551
23552 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23553 __ATAN_TWOM.
23554 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23555
23556 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23557 their values.
23558 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23559 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23560 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23561 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23562
23563 2012-12-28 Andreas Jaeger <aj@suse.de>
23564
23565 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23566 values are from Linux 3.7.
23567
23568 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23569 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23570
23571 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23572
23573 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23574 TRUE case.
23575
23576 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23577 (norm): Likewise.
23578 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23579 variables with preprocessor constants.
23580 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23581 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23582 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23583
23584 2012-12-27 Bruno Haible <bruno@clisp.org>
23585
23586 [BZ #14317]
23587 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23588 only if needed.
23589
23590 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23591
23592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23593 and use variable directly.
23594 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23595
23596 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23597 MPONE.
23598 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23599 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23600 variable MPONE.
23601 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23602 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23603 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23604 include directive. Remove local variable MPONE.
23605 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23606 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23607 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23608
23609 2012-12-25 David S. Miller <davem@davemloft.net>
23610
23611 * version.h (RELEASE): Set to "development".
23612 (VERSION): Set to "2.17.90".
23613 * NEWS: Add 2.18 section.
23614
23615 2012-12-21 David S. Miller <davem@davemloft.net>
23616
23617 * po/hr.po: Update from translation team.
23618
23619 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23620
23621 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23622
23623 2012-12-19 Steve Ellcey <sellcey@mips.com>
23624
23625 * NEWS: Mention new memcpy for MIPS.
23626
23627 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23628
23629 * manual/contrib.texi (Contributors): Spelling correction.
23630
23631 2012-12-15 David S. Miller <davem@davemloft.net>
23632
23633 * po/ru.po: Update from translation team.
23634
23635 2012-12-13 David S. Miller <davem@davemloft.net>
23636
23637 * NEWS: Mention IFUNC testsuite enhancements.
23638
23639 * po/pl.po: Update from translation team.
23640 * po/bg.po: Likewise.
23641
23642 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23643 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23644
23645 2012-12-11 David S. Miller <davem@davemloft.net>
23646
23647 * po/sv.po: Update from translation team.
23648
23649 * po/vi.po: Update from translation team.
23650
23651 * po/cs.po: Update from translation team.
23652
23653 * po/de.po: Update from translation team.
23654 * po/eo.po: Likewise.
23655 * po/nl.po: Likewise.
23656
23657 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23658
23659 [BZ #14246]
23660 * manual/argp.texi (Argp Helper Functions): Move node to follow
23661 Argp Parsing State.
23662
23663 [BZ #14872]
23664 * manual/conf.texi (Limits on File System Capacity): Mention if
23665 terminating null is included in the max size.
23666
23667 2012-12-10 Andreas Jaeger <aj@suse.de>
23668
23669 * po/cs.po: Update from translation team.
23670
23671 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23672
23673 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23674 void pointer and cast to uintptr_t.
23675 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23676 path.
23677 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23678 * sysdeps/s390/s390-64/memset.S: Likewise.
23679
23680 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23681
23682 [BZ #14833]
23683 * menual/message.texi (Message Translation): Fix typos.
23684 (Helper programs for gettext): Likewise.
23685
23686 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23687
23688 [BZ #14898]
23689 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23690 Change to -1.
23691
23692 2012-12-07 David S. Miller <davem@davemloft.net>
23693
23694 * po/libc.pot: Update.
23695
23696 2012-12-07 Richard Henderson <rth@redhat.com>
23697
23698 [BZ #10114]
23699 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23700 normal/normal case to before the switch.
23701 (_FP_DIV): Likewise.
23702
23703 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23704 Mike Frysinger <vapier@gentoo.org>
23705
23706 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23707 check for __NR_fadvise64_64.
23708
23709 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23710
23711 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23712 0, not just to plain "0" as a statement.
23713 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23714 with cw.
23715
23716 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23717
23718 * NEWS: Use sourceware.org in Bugzilla URL.
23719
23720 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23721
23722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23723 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23724
23725 * stdio-common/tst-put-error.c (do_test): Add newline to the
23726 padded test to ensure flush.
23727
23728 2012-12-05 Jeff Law <law@redhat.com>
23729
23730 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23731
23732 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23733
23734 * README: Don't refer to ports add-on as distributed separately.
23735 Mention AArch64 in list of systems supported in the ports add-on.
23736
23737 * LICENSES: Add more non-FSF copyright and license notices.
23738
23739 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23740 ((unused)).
23741
23742 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23743
23744 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23745 10000 as width of padded output.
23746
23747 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23748
23749 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23750
23751 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23752 variable LX with __attribute__ ((unused)).
23753 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23754 Likewise.
23755 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23756 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23757 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23758 with __attribute__ ((unused)).
23759
23760 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23761
23762 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23763
23764 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23765
23766 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23767 (CFLAGS-nldbl-acos.c): New variable.
23768 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23769 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23770 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23771 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23772 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23773 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23774 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23775 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23776 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23777 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23778 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23779 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23780 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23781 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23782 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23783 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23784 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23785 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23786 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23787 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23788 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23789 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23790 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23791 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23792 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23793 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23794 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23795 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23796 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23797 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23798 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23799 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23800 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23801 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23802 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23803 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23804 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23805 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23806 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23807 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23808 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23809 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23810 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23811 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23812 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23813 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23814 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23815 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23816 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23817 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23818 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23819 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23820 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23821 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23822 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23823 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23824 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23825 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23826 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23827 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23828 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23829 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23830 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23831 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23832 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23833 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23834 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23835 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23836 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23837 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23838 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23839 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23840 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23841 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23842 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23843 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23844 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23845 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23846 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23847 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23848 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23849 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23850 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23851 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23852 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23853 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23854 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23855 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23856 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23857 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23858 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23859 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23860 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23861 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23862 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23863 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23864 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23865
23866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23867 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23868
23869 [BZ #14914]
23870 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23871 whole low double instead of just low 47 bits when splitting values
23872 into two parts.
23873
23874 2012-12-03 Allan McRae <allan@archlinux.org>
23875
23876 * manual/stdio.texi (Predefined Printf Handlers): Remove
23877 @hsep and @vsep usage.
23878
23879 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23880
23881 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23882 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23883
23884 2012-12-03 Jeff Law <law@redhat.com>
23885
23886 * time/sys/time.h (settimeofday): Do not mark TV argument
23887 as __nonnull.
23888
23889 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23890
23891 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23892 when currently writing and seek to current position when not.
23893 * libio/Makefile (tests): Remove bug-fclose1.
23894 * libio/bug-fclose1.c: Delete.
23895
23896 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23897
23898 * manual/arith.texi (feenableexcept): Fix typo.
23899 (fedisableexcept): Likewise.
23900
23901 2012-11-30 Roland McGrath <roland@hack.frob.com>
23902
23903 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23904 second, differently-typed declaration, rather than a cast.
23905
23906 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23907
23908 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23909 * include/rpc/svc.h: ... here.
23910
23911 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23912
23913 [BZ #13013]
23914 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23915 depending n and resplen2 to catch cases where answer
23916 equals answerp2.
23917
23918 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23919
23920 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23921 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23922
23923 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23924
23925 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23926
23927 2012-11-29 Roland McGrath <roland@hack.frob.com>
23928
23929 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23930
23931 2012-11-28 Jeff Law <law@redhat.com>
23932
23933 [BZ #13761]
23934 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23935 dataset_temporary. Track alloca usage into alloca_used.
23936 If dataset is large allocate and release it via malloc/free.
23937
23938 2012-06-04 Florian Weimer <fweimer@redhat.com>
23939
23940 [BZ #14197]
23941 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23942
23943 2012-11-28 David S. Miller <davem@davemloft.net>
23944
23945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23946
23947 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23948
23949 [BZ #14803]
23950 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23951 of pi/2 rounded to nearest to 64 bits.
23952 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23953 nearest to 64 bits.
23954 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23955 bits.
23956
23957 2012-11-28 Jeff Law <law@redhat.com>
23958 Martin Osvald <mosvald@redhat.com>
23959
23960 [BZ #14889]
23961 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23962 * sunrpc/svc.c: Include time.h.
23963 (__svc_accept_failed): New function.
23964 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23965 any reason other than EINTR, call __svc_accept_failed.
23966 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23967 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23968
23969 2012-11-28 Andreas Schwab <schwab@suse.de>
23970
23971 * scripts/abilist.awk: Also handle indirect functions in .opd
23972 section.
23973
23974 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23975
23976 [BZ #13881]
23977 * sysdeps/x86/fpu/powl_helper.c: New file.
23978 * sysdeps/x86/fpu/Makefile: Likewise.
23979 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23980 (p3): New object.
23981 (__ieee754_powl): Use __powl_helper for finite arguments except
23982 integer exponents below 8.
23983 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23984 (p3): New object.
23985 (__ieee754_powl): Use __powl_helper for finite arguments except
23986 integer exponents below 8.
23987 * math/libm-test.inc (pow_test): Add more tests and enable some
23988 previously disabled tests.
23989 * sysdeps/i386/fpu/libm-test-ulps: Update.
23990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23991
23992 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23993 Carlos O'Donell <carlos_odonell@mentor.com>
23994
23995 * nss/makedb.c (is_prime): Assert that input is odd and greater
23996 than 4. Note that fact in a comment too.
23997 (next_prime): Add 4 to input.
23998
23999 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24000
24001 [BZ #11741]
24002 * libio/Makefile (tests): Add test case tst-fwrite-error.
24003 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24004 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24005 * libio/tst-fwrite-error.c: New test case.
24006
24007 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24008
24009 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24010 before casting to void *.
24011 * include/libc-internal.h (__pointer_type): New macro.
24012 (__integer_if_pointer_type_sub): Likewise.
24013 (__integer_if_pointer_type): Likewise.
24014 (cast_to_integer): Likewise.
24015 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24016 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24017 before casting to atomic64_t.
24018 (atomic_exchange_acq): Likewise.
24019 (__arch_exchange_and_add_body): Likewise.
24020 (__arch_add_body): Likewise.
24021 (atomic_add_negative): Likewise.
24022 (atomic_add_zero): Likewise.
24023
24024 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24025
24026 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24027 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24028 (add_fdes): Likewise.
24029 (linear_search_fdes): Likewise.
24030 (binary_search_unencoded_fdes): Likewise.
24031
24032 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24033
24034 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24035
24036 2012-11-24 Adam Conrad <adconrad@0c3.net>
24037
24038 * configure.in: Autodetect C++ header directories.
24039 * configure: Regenerated.
24040
24041 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24042
24043 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24044
24045 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24046
24047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24048
24049 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24050
24051 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24052 LDBL_MANT_DIG == 106]: Disable some tests.
24053 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24054 Likewise.
24055 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24056 Likewise.
24057
24058 [BZ #14871]
24059 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24060 input for small inputs. Return +/- pi/2 for large inputs.
24061 * math/libm-test.inc (atan_test): Add more tests.
24062
24063 * sysdeps/generic/unwind-dw2-fde-glibc.c
24064 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24065 __attribute__ ((unused)).
24066
24067 [BZ #14645]
24068 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24069 x * y if x and y are nonzero and z is zero.
24070
24071 [BZ #14811]
24072 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24073 nonzero exponents with absolute value below 0x1p-117 to +/-
24074 0x1p-117.
24075
24076 [BZ #14869]
24077 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24078 up arguments below 2**-450, not just those below 2**-500.
24079 * math/libm-test.inc (hypot_test): Add another test.
24080
24081 [BZ #14868]
24082 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24083 Return a+b for ratio over 2**120, not 2**60.
24084 * math/libm-test.inc (hypot_test): Add another test.
24085
24086 * math/libm-test.inc (clog_test): Use
24087 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24088 (clog10_test): Likewise.
24089
24090 [BZ #6778]
24091 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24092
24093 2012-11-22 Andreas Schwab <schwab@suse.de>
24094
24095 * sysdeps/i386/fpu/libm-test-ulps: Update.
24096
24097 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24098
24099 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24100 printf output with newline.
24101
24102 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24103
24104 [BZ #14865]
24105 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24106 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24107 -z nodlopen, -z initfirst and -z execstack support.
24108 * configure: Regenerated.
24109
24110 * elf/elf.h (DF_1_NODIRECT): New macro.
24111 (DF_1_IGNMULDEF): Likewise.
24112 (DF_1_NOKSYMS): Likewise.
24113 (DF_1_NOHDR): Likewise.
24114 (DF_1_EDITED): Likewise.
24115 (DF_1_NORELOC): Likewise.
24116 (DF_1_SYMINTPOSE): Likewise.
24117 (DF_1_GLOBAUDIT): Likewise.
24118 (DF_1_SINGLETON): Likewise.
24119 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24120 DT_1_SUPPORTED_MASK bits.
24121 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24122
24123 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24124
24125 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24126
24127 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24128
24129 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24130 macro.
24131
24132 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24133 (sendmmsg): Move declarations...
24134 * socket/sys/socket.h: ... here.
24135 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24136 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24137 include it from...
24138 * socket/recvmmsg.c: ... this new file.
24139 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24140 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24141 definition of __sendmmsg hidden.
24142 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24143 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24144 Move ENOSYS stub into and include it from...
24145 * socket/sendmmsg.c: ... this new file.
24146 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24147 (sysdep_routines): Move recvmmsg and sendmmsg...
24148 * socket/Makefile (routines): ... here.
24149 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24150 (GLIBC_PRIVATE): Add __sendmmsg.
24151 * include/sys/socket.h (__sendmmsg): Add declarations.
24152 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24153 sendmmsg.
24154
24155 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24156
24157 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24158 variable I1 with __attribute__ ((unused)).
24159 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24160
24161 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24162
24163 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24164 DUMMY variables with __attribute__ ((unused)).
24165
24166 * bits/byteswap.h: Include <bits/types.h>.
24167 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24168
24169 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24170
24171 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24172 string_t. Do not manually set errno.
24173 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24174 length with __strnlen. Make sure to both set errno and return it on
24175 failure.
24176
24177 2012-11-19 David S. Miller <davem@davemloft.net>
24178
24179 With help from Joseph Myers.
24180 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24181 very large arguments properly.
24182 * math/libm-test.inc (atan_test): New tests.
24183 (atan2_test): New tests.
24184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24186
24187 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24188
24189 [BZ #14856]
24190 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24191 Define to 3.
24192
24193 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24194 [POSIX] (EADDRNOTAVAIL): Likewise.
24195 [POSIX] (EAFNOSUPPORT): Likewise.
24196 [POSIX] (EALREADY): Likewise.
24197 [POSIX] (ECONNABORTED): Likewise.
24198 [POSIX] (ECONNREFUSED): Likewise.
24199 [POSIX] (ECONNRESET): Likewise.
24200 [POSIX] (EDESTADDRREQ): Likewise.
24201 [POSIX] (EDQUOT): Likewise.
24202 [POSIX] (EHOSTUNREACH): Likewise.
24203 [POSIX] (EIDRM): Likewise.
24204 [POSIX] (EISCONN): Likewise.
24205 [POSIX] (ELOOP): Likewise.
24206 [POSIX] (EMULTIHOP): Likewise.
24207 [POSIX] (ENETDOWN): Likewise.
24208 [POSIX] (ENETUNREACH): Likewise.
24209 [POSIX] (ENOBUFS): Likewise.
24210 [POSIX] (ENODATA): Likewise.
24211 [POSIX] (ENOLINK): Likewise.
24212 [POSIX] (ENOMSG): Likewise.
24213 [POSIX] (ENOPROTOOPT): Likewise.
24214 [POSIX] (ENOSR): Likewise.
24215 [POSIX] (ENOSTR): Likewise.
24216 [POSIX] (ENOTCONN): Likewise.
24217 [POSIX] (ENOTSOCK): Likewise.
24218 [POSIX] (EOPNOTSUPP): Likewise.
24219 [POSIX] (EOVERFLOW): Likewise.
24220 [POSIX] (EPROTO): Likewise.
24221 [POSIX] (EPROTONOSUPPORT): Likewise.
24222 [POSIX] (EPROTOTYPE): Likewise.
24223 [POSIX] (ESTALE): Likewise.
24224 [POSIX] (ETIME): Likewise.
24225 [POSIX] (ETXTBSY): Likewise.
24226 [POSIX] (EWOULDBLOCK): Likewise.
24227 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24228 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24229 [POSIX] (SEEK_CUR): Likewise.
24230 [POSIX] (SEEK_END): Likewise.
24231 [POSIX || UNIX98] (mode_t): Do not require.
24232 [POSIX] (off_t): Likewise.
24233 [POSIX] (pid_t): Likewise.
24234 [POSIX] (sys/stat.h): Do not allow header.
24235 [POSIX] (unistd.h): Likewise.
24236 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24237 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24238 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24239 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24240 require.
24241 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24242 sigevent): Specify elements.
24243 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24244 entry.
24245 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24246 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24247
24248 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24249 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24250 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24251 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24252 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24253 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24254 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24255 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24256 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24257 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24258 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24259 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24260 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24261 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24262 Likewise.
24263 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24264 Likewise.
24265 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24266 Likewise.
24267 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24268 Likewise.
24269 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24270 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24271 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24272 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24273 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24274 Specify lower bound on value.
24275 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24276 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24277 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24278 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24279 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24280 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24281 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24282 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24283 value.
24284 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24285 as optional.
24286 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24287 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24288 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24289 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24290 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24291 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24292 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24293 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24294 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24295 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24296 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24297 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24298 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24299 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24300 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24301 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24302 entry.
24303 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24304 optional.
24305 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24306 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24307 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24308 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24309 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24310 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24311 Likewise.
24312 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24313 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24314 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24315 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24316 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24317 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24318 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24319 as optional.
24320 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24321 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24322 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24323 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24324 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24325 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24326 specify as optional.
24327 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24328 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24329 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24330 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24331 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24332 [XPG3] (NL_LANGMAX): Likewise.
24333 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24334 [POSIX || XPG3] (NL_NMAX): Likewise.
24335 [POSIX || XPG3] (NL_SETMAX): Likewise.
24336 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24337 [XPG3] (NZERO): Likewise.
24338 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24339 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24340 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24341 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24342 (REG_ERANGE): Expect.
24343 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24344 optional-constant.
24345 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24346 Use (void) in prototype.
24347 [POSIX] (*_t): Allow.
24348 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24349 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24350 (WRDE_BADVAL): Expect.
24351
24352 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24353 expect.
24354 [XPG3 || XPG4] (O_RSYNC): Likewise.
24355 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24356 Likewise.
24357 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24358 [XPG3 || XPG4] (sigqueue): Likewise.
24359 [XPG3 || XPG4] (sigtimedwait): Likewise.
24360 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24361 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24362 [XPG3 || XPG4] (vsnprintf): Likewise.
24363 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24364 Likewise.
24365 [XPG3 || XPG4] (blksize_t): Likewise.
24366 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24367 Likewise.
24368 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24369 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24370 [XPG3 || XPG4] (struct itimerspec): Likewise.
24371 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24372 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24373 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24374 [XPG3 || XPG4] (clockid_t): Likewise.
24375 [XPG3 || XPG4] (timer_t): Likewise.
24376 [XPG3 || XPG4] (clock_getres): Likewise.
24377 [XPG3 || XPG4] (clock_gettime): Likewise.
24378 [XPG3 || XPG4] (clock_settime): Likewise.
24379 [XPG3 || XPG4] (nanosleep): Likewise.
24380 [XPG3 || XPG4] (timer_create): Likewise.
24381 [XPG3 || XPG4] (timer_delete): Likewise.
24382 [XPG3 || XPG4] (timer_gettime): Likewise.
24383 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24384 [XPG3 || XPG4] (timer_settime): Likewise.
24385 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24386 [XPG3 || XPG4] (getlogin_r): Likewise.
24387 [XPG3 || XPG4] (pread): Likewise.
24388 [XPG3 || XPG4] (pthread_atfork): Likewise.
24389 [XPG3 || XPG4] (pwrite): Likewise.
24390
24391 [BZ #14835]
24392 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24393 <bits/siginfo.h>.
24394
24395 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24396
24397 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24398 finalizing MALLSTREAM.
24399
24400 * sysdeps/mach/hurd/syncfs.c: New file.
24401
24402 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24403
24404 [BZ #14719]
24405 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24406 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24407 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24408 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24409 (_nss_dns_gethostbyname4_r): Likewise.
24410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24411 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24412
24413 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24414
24415 [BZ #13763]
24416 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24417
24418 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24419
24420 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24421 * elf/cache.c (print_entry): Print ",AArch64" for
24422 FLAG_AARCH64_LIB64
24423
24424 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24425 * elf/cache.c (print_entry): Print ",hard-float" for
24426 FLAG_ARM_LIBHF.
24427
24428 2012-11-18 David S. Miller <davem@davemloft.net>
24429
24430 With help from Joseph Myers.
24431 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24432 cutoff to 2**-13.
24433 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24434 cutoff to 2**-25.
24435 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24436 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24437 small.
24438 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24439 * math/libm-test.inc (y0_test): New tests.
24440 (y1_test): New tests.
24441 * sysdeps/i386/fpu/libm-test-ulps: Update.
24442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24444
24445 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24446
24447 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24448 64-bit targets.
24449 * configure: Regenerated.
24450
24451 2012-11-17 David S. Miller <davem@davemloft.net>
24452
24453 [BZ #14811]
24454 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24455 nonzero exponents with absolute value below 0x1p-128 to +/-
24456 0x1p-128.
24457
24458 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24459
24460 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24461
24462 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24463
24464 * posix/getconf-speclist.c: New file.
24465 * posix/posix-envs.def: Likewise.
24466 * posix/confstr.c (START_ENV_GROUP): New macro.
24467 (END_ENV_GROUP): Likewise.
24468 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24469 (KNOWN_PRESENT_ENV_STRING): Likewise.
24470 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24471 (UNKNOWN_ENVIRONMENT): Likewise.
24472 (confstr): Include posix-envs.def instead of handling
24473 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24474 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24475 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24476 (END_ENV_GROUP): Likewise.
24477 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24478 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24479 (UNKNOWN_ENVIRONMENT): Likewise.
24480 (__sysconf): Include posix-envs.def instead of handling associated
24481 cases directly here.
24482 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24483 preprocessing getconf-speclist.c rather than running getconf or
24484 generating empty file.
24485
24486 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24487
24488 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24489
24490 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24491
24492 [BZ #14672]
24493 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24494
24495 2012-11-16 David S. Miller <davem@davemloft.net>
24496
24497 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24498 smaller than LDBL_EPSILON/2.0L, just return xm1.
24499
24500 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24501
24502 * elf/tst-array1.c (init): Set constructor priority to 1000.
24503 (fini): Set destructor priority to 1000.
24504 * elf/tst-array2dep.c: Likewise.
24505
24506 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24507
24508 [BZ #11741]
24509 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24510 (_IO_new_file_xsputn): Also return EOF if none of the input
24511 data was written when overflow failed.
24512 * libio/iopadn.c (_IO_padn): Likewise.
24513 * libio/iowpadn.c (_IO_wpadn): Likewise.
24514 * stdio-common/tst-put-error.c: Add copyright notice.
24515 (do_test): Add case for printing padded string.
24516 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24517 _IO_padn returned error.
24518 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24519 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24520 return EOF.
24521
24522 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24523
24524 * libio/libioP.h: Add comment note that the references to C++
24525 bits are now obsolete.
24526
24527 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24528
24529 * math/libm-test.inc (check_complex): Use asprintf.
24530
24531 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24532
24533 * debug/pcprofiledump.c (print_version): Update copyright year.
24534 * malloc/memusagestat.c (print_version): Likewise.
24535
24536 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24537
24538 [BZ #14831]
24539 * elf/Makefile (tests): Add tst-audit8.
24540 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24541 ($(objpfx)tst-audit8.out): New target.
24542 (tst-audit8-ENV): New variable.
24543 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24544 audit if l_reloc_result is NULL.
24545 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24546 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24547 * elf/tst-audit8.c: New file.
24548
24549 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24550
24551 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24552 * misc/Makefile (CFLAGS-select.c): Define.
24553 * posix/Makefile (CFLAGS-pause.c): Define.
24554
24555 2012-11-13 David S. Miller <davem@davemloft.net>
24556
24557 * crypt/Makefile: Move test targets after toplevel Rules
24558 inclusion. Grab any necessary sysdep routines when linking.
24559 * crypt/md5.c (md5_process_block): Remove define, we will always
24560 name it __md5_process_block.
24561 (md5_finish_ctx): Update md5_process_block call.
24562 (md5_stream): Likewise.
24563 (md5_process_bytes): Likewise.
24564 (md5_process_block): Rename to __md5_process_block and move to ...
24565 * crypt/md5-block.c: ... here.
24566 * crypt/sha256.c (sha256_process_block): Move to ...
24567 * crypt/sha256-block.c: ... here.
24568 * crypt/sha512.c (sha512_process_block): Move to ...
24569 * crypt/sha512-block.c: ... here.
24570 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24571 path.
24572 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24573 * sysdeps/sparc/sparc64/multiarch/Makefile
24574 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24575 crypt subdir.
24576 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24577 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24578 multiarch changes.
24579 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24580 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24581 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24582 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24583 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24584 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24585 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24586 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24587 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24588 file.
24589 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24590 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24591 file.
24592 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24593
24594 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24595
24596 * timezone/tzselect.ksh: Update from tzcode git revision
24597 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24598 * timezone/zdump.c: Likewise.
24599 * timezone/zic.c: Likewise.
24600 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24601 in TZVERSION setting, not $(PKGVERSION).
24602 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24603 REPORT_BUGS_TO settings.
24604
24605 [BZ #14838]
24606 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24607 macro.
24608
24609 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24610
24611 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24612 detection to immediately after _FP_ROUND().
24613 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24614 bits are 0.
24615
24616 2012-11-11 David S. Miller <davem@davemloft.net>
24617
24618 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24619 inttypes.h
24620 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24621 __close rather than their public counterparts.
24622
24623 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24624
24625 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24626 file.
24627 [UNIX98] (sem_timedwait): Do not expect.
24628 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24629 [XPG4 || UNIX98] (sockatmark): Do not expect.
24630 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24631 (clock_getcpuclockid): Do not expect.
24632 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24633 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24634 Do not expect.
24635 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24636 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24637 [UNIX98] (vwscanf): Likewise.
24638 [UNIX98] (vswscanf): Likewise.
24639
24640 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24641
24642 * timezone/version.h: Remove file.
24643 * timezone/README: Do not refer to version.h.
24644 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24645 $(objpfx)version.h.
24646 ($(objpfx)zdump.o): Likewise.
24647 ($(objpfx)version.h): New target.
24648
24649 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24650 2012i.
24651 * timezone/README: Don't mention modification to tzselect.ksh.
24652 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24653 work on unmodified tzselect.ksh. Substitute version numbers in
24654 tzselect.ksh.
24655
24656 * Makefile (format-me): Remove.
24657 (INSTALL): Adjust indentation. Use commands directly instead of
24658 using $(format-me).
24659
24660 * aclocal.m4 (ACX_PKGVERSION): New macro.
24661 (ACX_BUGURL): Likewise.
24662 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24663 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24664 (REPORT_BUGS_TO): Likewise.
24665 * configure: Regenerated.
24666 * config.h.in (PKGVERSION): New macro.
24667 (REPORT_BUGS_TO): Likewise.
24668 * config.make.in (PKGVERSION): New variable.
24669 (PKGVERSION_TEXI): Likewise.
24670 (REPORT_BUGS_TO): Likewise.
24671 (REPORT_BUGS_TEXI): Likewise.
24672 * Makefile (format-me): Use -I$(common-objpfx)manual.
24673 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24674 ($(common-objpfx)manual/%): New target.
24675 (manual/%): Remove target.
24676 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24677 (print_version): Use PKGVERSION.
24678 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24679 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24680 and REPORT_BUGS_TO.
24681 ($(objpfx)xtrace): Likewise.
24682 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24683 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24684 (print_version): Use PKGVERSION.
24685 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24686 (do_version): Use PKGVERSION.
24687 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24688 REPORT_BUGS_TO.
24689 (common-ldd-rewrite): Likewise.
24690 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24691 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24692 (print_version): Use PKGVERSION.
24693 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24694 * elf/pldd.c (argp_program_bug_address): Remove variable.
24695 (more_help): New function.
24696 (argp): Use more_help.
24697 (print_version): Use PKGVERSION.
24698 * elf/sln.c (main): Use PKGVERSION.
24699 (usage): Use REPORT_BUGS_TO.
24700 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24701 (top level): Use PKGVERSION.
24702 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24703 (print_version): Use PKGVERSION.
24704 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24705 (print_version): Use PKGVERSION.
24706 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24707 (print_version): Use PKGVERSION.
24708 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24709 (print_version): Use PKGVERSION.
24710 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24711 (print_version): Use PKGVERSION.
24712 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24713 (print_version): Use PKGVERSION.
24714 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24715 and BUGURL.
24716 ($(objpfx)memusage): Likewise.
24717 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24718 (do_version): Use PKGVERSION.
24719 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24720 (print_version): Use PKGVERSION.
24721 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24722 ($PKGVERSION): New variable.
24723 ($REPORT_BUGS_TO): Likewise.
24724 (usage): Use $REPORT_BUGS_TO.
24725 (top level): Use $PKGVERSION.
24726 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24727 ($(objpfx)pkgvers.texi): New rule.
24728 ($(objpfx)stamp-pkgvers): Likewise.
24729 * manual/install.texi: Include pkgvers.texi.
24730 (--with-pkgversion): Document new configure option.
24731 (--with-bugurl): Likewise.
24732 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24733 than necessarily for this particular distribution. Use
24734 REPORT_BUGS_TO for where to report bugs.
24735 * INSTALL: Regenerated.
24736 * manual/libc.texinfo: Include pkgvers.texi.
24737 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24738 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24739 (print_version): Use PKGVERSION.
24740 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24741 (print_version): Use PKGVERSION.
24742 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24743 (print_version): Use PKGVERSION.
24744 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24745 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24746 macro.
24747 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24748 (print_version): Use PKGVERSION.
24749 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24750 (print_version): Use PKGVERSION.
24751 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24752 and PKGVERSION.
24753
24754 * timezone/checktab.awk: Update from tzcode 2012i.
24755 * timezone/ialloc.c: Likewise.
24756 * timezone/private.h: Likewise.
24757 * timezone/scheck.c: Likewise.
24758 * timezone/tzfile.h: Likewise.
24759 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24760 (TZVERSION): Hardcode tzcode version number.
24761 * timezone/zdump.c: Update from tzcode 2012i.
24762 * timezone/zic.c: Likewise.
24763 * timezone/version.h: New file.
24764 * timezone/README: Describe version.h. Update upstream location.
24765
24766 [BZ #14824]
24767 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24768 (mktemp): Enable declaration.
24769 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24770 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24771 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24772 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24773 Likewise.
24774 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24775 Likewise.
24776 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24777 Likewise.
24778 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24779 Likewise.
24780 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24781 Likewise.
24782 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24783 Likewise.
24784
24785 [BZ #14821]
24786 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24787 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24788 for copies of such integer values.
24789 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24790 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24791
24792 2012-11-09 Andreas Jaeger <aj@suse.de>
24793
24794 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24795 definitions and declarations that are provided by
24796 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24797
24798 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24799
24800 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24801 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24802 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24803 definition.
24804
24805 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24806
24807 * elf/elf.h: Update comment before AArch64 relocations.
24808
24809 2012-11-07 David S. Miller <davem@davemloft.net>
24810
24811 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24812 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24813 (__start_context): Declare.
24814 (__makecontext_ret): Delete.
24815 (__makecontext): Hook up __start_context instead of
24816 __makecontext_ret.
24817 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24818 (sysdep_routines): Add __start_context when in stdlib.
24819
24820 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24821
24822 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24823 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24824 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24825 hardcoded "nm".
24826 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24827 (READELF): New variable. Use it instead of hardcoded "readelf".
24828
24829 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24830
24831 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24832 * sysdeps/x86/Makefile: Here.
24833 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24834 * sysdeps/x86/tst-xmmymm.sh: This.
24835
24836 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24837
24838 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24839 expectations.
24840 [UNIX98] (pthread_barrier_t): Do not expect.
24841 [UNIX98] (pthread_barrierattr_t): Likewise.
24842 [UNIX98] (pthread_spinlock_t): Likewise.
24843 [UNIX98] (pthread_barrier_destroy): Likewise.
24844 [UNIX98] (pthread_barrier_init): Likewise.
24845 [UNIX98] (pthread_barrier_wait): Likewise.
24846 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24847 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24848 [UNIX98] (pthread_barrierattr_init): Likewise.
24849 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24850 [UNIX98] (pthread_getcpuclockid): Likewise.
24851 [UNIX98] (pthread_mutex_timedlock): Likewise.
24852 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24853 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24854 [UNIX98] (pthread_sigmask): Likewise.
24855 [UNIX98] (pthread_spin_destroy): Likewise.
24856 [UNIX98] (pthread_spin_init): Likewise.
24857 [UNIX98] (pthread_spin_lock): Likewise.
24858 [UNIX98] (pthread_spin_trylock): Likewise.
24859 [UNIX98] (pthread_spin_unlock): Likewise.
24860 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24861 Do not expect.
24862 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24863 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24864 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24865 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24866 [XPG3 || XPG4] (pthread_key_t): Likewise.
24867 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24868 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24869 [XPG3 || XPG4] (pthread_once_t): Likewise.
24870 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24871 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24872 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24873 [XPG3 || XPG4] (pthread_t): Likewise.
24874
24875 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24876 not expect.
24877 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24878
24879 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24880 Change function return type to int.
24881
24882 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24883 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24884 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24885 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24886 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24887 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24888 [!POSIX] (posix_madvise): Likewise.
24889 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24890 && !UNIX98].
24891 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24892 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24893 (mode_t): Likewise.
24894 (posix_mem_offset): Likewise.
24895 (posix_typed_mem_get_info): Likewise.
24896 (posix_typed_mem_open): Likewise.
24897
24898 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24899 Change condition to [XOPEN2K8].
24900
24901 * conform/conformtest.pl: Preprocess allow-header data with -x c
24902 instead of from stdin.
24903 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24904 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24905 [C99-based standards] (cerfc): Likewise.
24906 [C99-based standards] (cexp2): Likewise.
24907 [C99-based standards] (cexpm1): Likewise.
24908 [C99-based standards] (clog10): Likewise.
24909 [C99-based standards] (clog1p): Likewise.
24910 [C99-based standards] (clog2): Likewise.
24911 [C99-based standards] (clgamma): Likewise.
24912 [C99-based standards] (ctgamma): Likewise.
24913 [C99-based standards] (cerff): Likewise.
24914 [C99-based standards] (cerfcf): Likewise.
24915 [C99-based standards] (cexp2f): Likewise.
24916 [C99-based standards] (cexpm1f): Likewise.
24917 [C99-based standards] (clog10f): Likewise.
24918 [C99-based standards] (clog1pf): Likewise.
24919 [C99-based standards] (clog2f): Likewise.
24920 [C99-based standards] (clgammaf): Likewise.
24921 [C99-based standards] (ctgammaf): Likewise.
24922 [C99-based standards] (cerfl): Likewise.
24923 [C99-based standards] (cerfcl): Likewise.
24924 [C99-based standards] (cexp2l): Likewise.
24925 [C99-based standards] (cexpm1l): Likewise.
24926 [C99-based standards] (clog10l): Likewise.
24927 [C99-based standards] (clog1pl): Likewise.
24928 [C99-based standards] (clog2l): Likewise.
24929 [C99-based standards] (clgammal): Likewise.
24930 [C99-based standards] (ctgammal): Likewise.
24931 * conform/data/inttypes.h-data [C99-based standards]: Include
24932 stdint.h-data. Remove all expectations for stdint.h contents.
24933 [C99-based standards] (PRI*): Do not allow.
24934 [C99-based standards] (SCN*): Likewise.
24935 [C99-based standards] (*_t): Likewise.
24936 [C99-based-standards] (PRId8): Expect macro.
24937 [C99-based-standards] (PRIi8): Likewise.
24938 [C99-based-standards] (PRIo8): Likewise.
24939 [C99-based-standards] (PRIu8): Likewise.
24940 [C99-based-standards] (PRIx8): Likewise.
24941 [C99-based-standards] (PRIX8): Likewise.
24942 [C99-based-standards] (SCNd8): Likewise.
24943 [C99-based-standards] (SCNi8): Likewise.
24944 [C99-based-standards] (SCNo8): Likewise.
24945 [C99-based-standards] (SCNu8): Likewise.
24946 [C99-based-standards] (SCNx8): Likewise.
24947 [C99-based-standards] (PRIdLEAST8): Likewise.
24948 [C99-based-standards] (PRIiLEAST8): Likewise.
24949 [C99-based-standards] (PRIoLEAST8): Likewise.
24950 [C99-based-standards] (PRIuLEAST8): Likewise.
24951 [C99-based-standards] (PRIxLEAST8): Likewise.
24952 [C99-based-standards] (PRIXLEAST8): Likewise.
24953 [C99-based-standards] (SCNdLEAST8): Likewise.
24954 [C99-based-standards] (SCNiLEAST8): Likewise.
24955 [C99-based-standards] (SCNoLEAST8): Likewise.
24956 [C99-based-standards] (SCNuLEAST8): Likewise.
24957 [C99-based-standards] (SCNxLEAST8): Likewise.
24958 [C99-based-standards] (PRIdFAST8): Likewise.
24959 [C99-based-standards] (PRIiFAST8): Likewise.
24960 [C99-based-standards] (PRIoFAST8): Likewise.
24961 [C99-based-standards] (PRIuFAST8): Likewise.
24962 [C99-based-standards] (PRIxFAST8): Likewise.
24963 [C99-based-standards] (PRIXFAST8): Likewise.
24964 [C99-based-standards] (SCNdFAST8): Likewise.
24965 [C99-based-standards] (SCNiFAST8): Likewise.
24966 [C99-based-standards] (SCNoFAST8): Likewise.
24967 [C99-based-standards] (SCNuFAST8): Likewise.
24968 [C99-based-standards] (SCNxFAST8): Likewise.
24969 [C99-based-standards] (PRId16): Likewise.
24970 [C99-based-standards] (PRIi16): Likewise.
24971 [C99-based-standards] (PRIo16): Likewise.
24972 [C99-based-standards] (PRIu16): Likewise.
24973 [C99-based-standards] (PRIx16): Likewise.
24974 [C99-based-standards] (PRIX16): Likewise.
24975 [C99-based-standards] (SCNd16): Likewise.
24976 [C99-based-standards] (SCNi16): Likewise.
24977 [C99-based-standards] (SCNo16): Likewise.
24978 [C99-based-standards] (SCNu16): Likewise.
24979 [C99-based-standards] (SCNx16): Likewise.
24980 [C99-based-standards] (PRIdLEAST16): Likewise.
24981 [C99-based-standards] (PRIiLEAST16): Likewise.
24982 [C99-based-standards] (PRIoLEAST16): Likewise.
24983 [C99-based-standards] (PRIuLEAST16): Likewise.
24984 [C99-based-standards] (PRIxLEAST16): Likewise.
24985 [C99-based-standards] (PRIXLEAST16): Likewise.
24986 [C99-based-standards] (SCNdLEAST16): Likewise.
24987 [C99-based-standards] (SCNiLEAST16): Likewise.
24988 [C99-based-standards] (SCNoLEAST16): Likewise.
24989 [C99-based-standards] (SCNuLEAST16): Likewise.
24990 [C99-based-standards] (SCNxLEAST16): Likewise.
24991 [C99-based-standards] (PRIdFAST16): Likewise.
24992 [C99-based-standards] (PRIiFAST16): Likewise.
24993 [C99-based-standards] (PRIoFAST16): Likewise.
24994 [C99-based-standards] (PRIuFAST16): Likewise.
24995 [C99-based-standards] (PRIxFAST16): Likewise.
24996 [C99-based-standards] (PRIXFAST16): Likewise.
24997 [C99-based-standards] (SCNdFAST16): Likewise.
24998 [C99-based-standards] (SCNiFAST16): Likewise.
24999 [C99-based-standards] (SCNoFAST16): Likewise.
25000 [C99-based-standards] (SCNuFAST16): Likewise.
25001 [C99-based-standards] (SCNxFAST16): Likewise.
25002 [C99-based-standards] (PRId32): Likewise.
25003 [C99-based-standards] (PRIi32): Likewise.
25004 [C99-based-standards] (PRIo32): Likewise.
25005 [C99-based-standards] (PRIu32): Likewise.
25006 [C99-based-standards] (PRIx32): Likewise.
25007 [C99-based-standards] (PRIX32): Likewise.
25008 [C99-based-standards] (SCNd32): Likewise.
25009 [C99-based-standards] (SCNi32): Likewise.
25010 [C99-based-standards] (SCNo32): Likewise.
25011 [C99-based-standards] (SCNu32): Likewise.
25012 [C99-based-standards] (SCNx32): Likewise.
25013 [C99-based-standards] (PRIdLEAST32): Likewise.
25014 [C99-based-standards] (PRIiLEAST32): Likewise.
25015 [C99-based-standards] (PRIoLEAST32): Likewise.
25016 [C99-based-standards] (PRIuLEAST32): Likewise.
25017 [C99-based-standards] (PRIxLEAST32): Likewise.
25018 [C99-based-standards] (PRIXLEAST32): Likewise.
25019 [C99-based-standards] (SCNdLEAST32): Likewise.
25020 [C99-based-standards] (SCNiLEAST32): Likewise.
25021 [C99-based-standards] (SCNoLEAST32): Likewise.
25022 [C99-based-standards] (SCNuLEAST32): Likewise.
25023 [C99-based-standards] (SCNxLEAST32): Likewise.
25024 [C99-based-standards] (PRIdFAST32): Likewise.
25025 [C99-based-standards] (PRIiFAST32): Likewise.
25026 [C99-based-standards] (PRIoFAST32): Likewise.
25027 [C99-based-standards] (PRIuFAST32): Likewise.
25028 [C99-based-standards] (PRIxFAST32): Likewise.
25029 [C99-based-standards] (PRIXFAST32): Likewise.
25030 [C99-based-standards] (SCNdFAST32): Likewise.
25031 [C99-based-standards] (SCNiFAST32): Likewise.
25032 [C99-based-standards] (SCNoFAST32): Likewise.
25033 [C99-based-standards] (SCNuFAST32): Likewise.
25034 [C99-based-standards] (SCNxFAST32): Likewise.
25035 [C99-based-standards] (PRId64): Likewise.
25036 [C99-based-standards] (PRIi64): Likewise.
25037 [C99-based-standards] (PRIo64): Likewise.
25038 [C99-based-standards] (PRIu64): Likewise.
25039 [C99-based-standards] (PRIx64): Likewise.
25040 [C99-based-standards] (PRIX64): Likewise.
25041 [C99-based-standards] (SCNd64): Likewise.
25042 [C99-based-standards] (SCNi64): Likewise.
25043 [C99-based-standards] (SCNo64): Likewise.
25044 [C99-based-standards] (SCNu64): Likewise.
25045 [C99-based-standards] (SCNx64): Likewise.
25046 [C99-based-standards] (PRIdLEAST64): Likewise.
25047 [C99-based-standards] (PRIiLEAST64): Likewise.
25048 [C99-based-standards] (PRIoLEAST64): Likewise.
25049 [C99-based-standards] (PRIuLEAST64): Likewise.
25050 [C99-based-standards] (PRIxLEAST64): Likewise.
25051 [C99-based-standards] (PRIXLEAST64): Likewise.
25052 [C99-based-standards] (SCNdLEAST64): Likewise.
25053 [C99-based-standards] (SCNiLEAST64): Likewise.
25054 [C99-based-standards] (SCNoLEAST64): Likewise.
25055 [C99-based-standards] (SCNuLEAST64): Likewise.
25056 [C99-based-standards] (SCNxLEAST64): Likewise.
25057 [C99-based-standards] (PRIdFAST64): Likewise.
25058 [C99-based-standards] (PRIiFAST64): Likewise.
25059 [C99-based-standards] (PRIoFAST64): Likewise.
25060 [C99-based-standards] (PRIuFAST64): Likewise.
25061 [C99-based-standards] (PRIxFAST64): Likewise.
25062 [C99-based-standards] (PRIXFAST64): Likewise.
25063 [C99-based-standards] (SCNdFAST64): Likewise.
25064 [C99-based-standards] (SCNiFAST64): Likewise.
25065 [C99-based-standards] (SCNoFAST64): Likewise.
25066 [C99-based-standards] (SCNuFAST64): Likewise.
25067 [C99-based-standards] (SCNxFAST64): Likewise.
25068 [C99-based-standards] (PRIdMAX): Likewise.
25069 [C99-based-standards] (PRIiMAX): Likewise.
25070 [C99-based-standards] (PRIoMAX): Likewise.
25071 [C99-based-standards] (PRIuMAX): Likewise.
25072 [C99-based-standards] (PRIxMAX): Likewise.
25073 [C99-based-standards] (PRIXMAX): Likewise.
25074 [C99-based-standards] (SCNdMAX): Likewise.
25075 [C99-based-standards] (SCNiMAX): Likewise.
25076 [C99-based-standards] (SCNoMAX): Likewise.
25077 [C99-based-standards] (SCNuMAX): Likewise.
25078 [C99-based-standards] (SCNxMAX): Likewise.
25079 [C99-based-standards] (PRIdPTR): Likewise.
25080 [C99-based-standards] (PRIiPTR): Likewise.
25081 [C99-based-standards] (PRIoPTR): Likewise.
25082 [C99-based-standards] (PRIuPTR): Likewise.
25083 [C99-based-standards] (PRIxPTR): Likewise.
25084 [C99-based-standards] (PRIXPTR): Likewise.
25085 [C99-based-standards] (SCNdPTR): Likewise.
25086 [C99-based-standards] (SCNiPTR): Likewise.
25087 [C99-based-standards] (SCNoPTR): Likewise.
25088 [C99-based-standards] (SCNuPTR): Likewise.
25089 [C99-based-standards] (SCNxPTR): Likewise.
25090 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25091 allow.
25092 * conform/data/stdint.h-data: Update comments to clarify
25093 requirements.
25094 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25095 type.
25096 [C99-based standards] (INT8_MAX): Likewise.
25097 [C99-based standards] (INT16_MIN): Likewise.
25098 [C99-based standards] (INT16_MAX): Likewise.
25099 [C99-based standards] (INT32_MIN): Likewise.
25100 [C99-based standards] (INT32_MAX): Likewise.
25101 [C99-based standards] (INT64_MIN): Likewise.
25102 [C99-based standards] (INT64_MAX): Likewise.
25103 [C99-based standards] (UINT8_MAX): Likewise.
25104 [C99-based standards] (UINT16_MAX): Likewise.
25105 [C99-based standards] (UINT32_MAX): Likewise.
25106 [C99-based standards] (UINT64_MAX): Likewise.
25107 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25108 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25109 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25110 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25111 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25112 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25113 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25114 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25115 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25116 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25117 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25118 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25119 [C99-based standards] (INT_FAST8_MIN): Likewise.
25120 [C99-based standards] (INT_FAST8_MAX): Likewise.
25121 [C99-based standards] (INT_FAST16_MIN): Likewise.
25122 [C99-based standards] (INT_FAST16_MAX): Likewise.
25123 [C99-based standards] (INT_FAST32_MIN): Likewise.
25124 [C99-based standards] (INT_FAST32_MAX): Likewise.
25125 [C99-based standards] (INT_FAST64_MIN): Likewise.
25126 [C99-based standards] (INT_FAST64_MAX): Likewise.
25127 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25128 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25129 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25130 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25131 [C99-based standards] (INTPTR_MIN): Likewise.
25132 [C99-based standards] (INTPTR_MAX): Likewise.
25133 [C99-based standards] (UINTPTR_MAX): Likewise.
25134 [C99-based standards] (INTMAX_MIN): Likewise.
25135 [C99-based standards] (INTMAX_MAX): Likewise.
25136 [C99-based standards] (UINTMAX_MAX): Likewise.
25137 [C99-based standards] (PTRDIFF_MIN): Likewise.
25138 [C99-based standards] (PTRDIFF_MAX): Likewise.
25139 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25140 [C99-based standards] (SIZE_MAX): Likewise.
25141 [C99-based standards] (WCHAR_MAX): Likewise.
25142 [C99-based standards] (WINT_MAX): Likewise.
25143 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25144 constraint on value.
25145 [C99-based standards] (WCHAR_MIN): Likewise.
25146 [C99-based standards] (WINT_MIN): Likewise.
25147 [C99-based standards] (*_t): Allow.
25148 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25149 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25150 Include math.h-data and complex.h-data. Remove all expectations
25151 of math.h and complex.h contents.
25152 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25153 at end of line.
25154 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25155 (struct tm): Expect tag.
25156 [C99-based-standards] (wcstof): Expect function.
25157 [C99-based-standards] (wcstold): Likewise.
25158 [C99-based-standards] (wcstoll): Likewise.
25159 [C99-based-standards] (wcstoull): Likewise.
25160 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25161 macro-int-constant. Specify type.
25162 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25163 constraint on value.
25164 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25165 Specify type.
25166 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25167 Specify value.
25168 [ISO C standards]: Do not allow headers.
25169 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25170 wcs[abcdefghijklmnopqrstuvwxyz]*.
25171 [ISO C standards] (*_t): Do not allow.
25172 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25173 Expect function.
25174 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25175 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25176 Specify type.
25177 [ISO C standards]: Do not allow headers.
25178 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25179 is[abcdefghijklmnopqrstuvwxyz]*.
25180 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25181 to[abcdefghijklmnopqrstuvwxyz]*.
25182 [ISO C standards] (*_t): Do not allow.
25183 * conform/data/stdalign.h-data: New file.
25184 * conform/data/stdbool.h-data: Likewise.
25185 * conform/data/stdnoreturn.h-data: Likewise.
25186
25187 2012-11-07 Roland McGrath <roland@hack.frob.com>
25188
25189 [BZ #14815]
25190 * manual/filesys.texi (Directory Entries): Typo fix.
25191 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25192
25193 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25194
25195 * elf/elf.h (EM_AARCH64): New macro.
25196 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25197 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25198 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25199 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25200 (R_AARCH64_TLSDESC): Likewise.
25201 (NT_ARM_TLS): Likewise.
25202 (NT_ARM_HW_BREAK): Likewise.
25203 (NT_ARM_HW_WATCH): Likewise.
25204
25205 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25206
25207 [BZ #14811]
25208 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25209 (__ieee754_powl): Saturate nonzero exponents with absolute value
25210 below 0x1p-79 to +/- 0x1p-79.
25211 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25212 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25213 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25214 nonzero exponents with absolute value below 0x1p-32 to +/-
25215 0x1p-32.
25216 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25217 (__ieee754_powl): Saturate nonzero exponents with absolute value
25218 below 0x1p-79 to +/- 0x1p-79.
25219 * math/libm-test.inc (pow_test): Add more tests.
25220
25221 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25222
25223 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25224 _dl_s390_cap_flags with kernel. Increase string length.
25225 (_dl_s390_platforms): Add z196 and zEC12.
25226
25227 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25228
25229 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25230 Change XOPEN21K to XOPEN2K.
25231
25232 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25233
25234 * string/memmove.c: Use memcpy when possible.
25235
25236 2012-11-06 Andreas Jaeger <aj@suse.de>
25237
25238 * po/eo.po: Update from translation team.
25239
25240 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25241
25242 [BZ #14793]
25243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25244 exponent and small x and y exponents, scale x or y up. Increase
25245 by 2 the exponent used in scaling up.
25246 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25247 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25248 * math/libm-test.inc (fma_test): Add more tests.
25249 (fma_test_towardzero): Likewise.
25250 (fma_test_downward): Likewise.
25251 (fma_test_upward): Likewise.
25252
25253 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25254
25255 [BZ #14805]
25256 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25257 fenv_t *.
25258
25259 [BZ #14801]
25260 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25261 namespace for names of struct fields.
25262 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25263 fenv_t fields.
25264 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25265 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25266
25267 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25268
25269 [BZ #3665]
25270 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25271
25272 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25273
25274 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25275 PTR_DEMANGLE.
25276
25277 [BZ #5246]
25278 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25279 PTR_DEMANGLE.
25280
25281 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25282
25283 [BZ #14797]
25284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25285 definitely overflow as x * y not x * y + z.
25286 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25287 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25288 * math/libm-test.inc (fma_test): Add more tests.
25289 (fma_test_towardzero): Likewise.
25290 (fma_test_downward): Likewise.
25291 (fma_test_upward): Likewise.
25292
25293 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25294
25295 [BZ #157]
25296
25297 * include/stub-tag.h: Remove file.
25298 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25299 '#include' of it.
25300 * manual/maint.texi (Porting): Don't reference it.
25301 * Makerules ($(objpfx)stubs): Likewise.
25302 * dirent/closedir.c: Don't include <stub-tag.h>.
25303 * dirent/dirfd.c: Likewise.
25304 * dirent/fdopendir.c: Likewise.
25305 * dirent/getdents.c: Likewise.
25306 * dirent/getdents64.c: Likewise.
25307 * dirent/opendir.c: Likewise.
25308 * dirent/readdir.c: Likewise.
25309 * dirent/readdir64.c: Likewise.
25310 * dirent/readdir64_r.c: Likewise.
25311 * dirent/readdir_r.c: Likewise.
25312 * dirent/rewinddir.c: Likewise.
25313 * dirent/seekdir.c: Likewise.
25314 * dirent/telldir.c: Likewise.
25315 * gmon/profil.c: Likewise.
25316 * grp/setgroups.c: Likewise.
25317 * inet/if_index.c: Likewise.
25318 * io/access.c: Likewise.
25319 * io/chdir.c: Likewise.
25320 * io/chmod.c: Likewise.
25321 * io/chown.c: Likewise.
25322 * io/close.c: Likewise.
25323 * io/dup.c: Likewise.
25324 * io/dup2.c: Likewise.
25325 * io/dup3.c: Likewise.
25326 * io/euidaccess.c: Likewise.
25327 * io/faccessat.c: Likewise.
25328 * io/fchdir.c: Likewise.
25329 * io/fchmod.c: Likewise.
25330 * io/fchmodat.c: Likewise.
25331 * io/fchown.c: Likewise.
25332 * io/fchownat.c: Likewise.
25333 * io/fcntl.c: Likewise.
25334 * io/flock.c: Likewise.
25335 * io/fstatfs.c: Likewise.
25336 * io/fstatfs64.c: Likewise.
25337 * io/fstatvfs.c: Likewise.
25338 * io/fstatvfs64.c: Likewise.
25339 * io/futimens.c: Likewise.
25340 * io/fxstat.c: Likewise.
25341 * io/fxstat64.c: Likewise.
25342 * io/fxstatat.c: Likewise.
25343 * io/fxstatat64.c: Likewise.
25344 * io/getcwd.c: Likewise.
25345 * io/isatty.c: Likewise.
25346 * io/lchmod.c: Likewise.
25347 * io/lchown.c: Likewise.
25348 * io/link.c: Likewise.
25349 * io/linkat.c: Likewise.
25350 * io/lseek.c: Likewise.
25351 * io/lseek64.c: Likewise.
25352 * io/lxstat64.c: Likewise.
25353 * io/mkdir.c: Likewise.
25354 * io/mkdirat.c: Likewise.
25355 * io/mkfifo.c: Likewise.
25356 * io/mkfifoat.c: Likewise.
25357 * io/open.c: Likewise.
25358 * io/open64.c: Likewise.
25359 * io/openat.c: Likewise.
25360 * io/openat64.c: Likewise.
25361 * io/pipe.c: Likewise.
25362 * io/pipe2.c: Likewise.
25363 * io/poll.c: Likewise.
25364 * io/posix_fadvise.c: Likewise.
25365 * io/posix_fadvise64.c: Likewise.
25366 * io/posix_fallocate.c: Likewise.
25367 * io/posix_fallocate64.c: Likewise.
25368 * io/read.c: Likewise.
25369 * io/readlink.c: Likewise.
25370 * io/readlinkat.c: Likewise.
25371 * io/rmdir.c: Likewise.
25372 * io/sendfile.c: Likewise.
25373 * io/sendfile64.c: Likewise.
25374 * io/statfs.c: Likewise.
25375 * io/statfs64.c: Likewise.
25376 * io/statvfs.c: Likewise.
25377 * io/statvfs64.c: Likewise.
25378 * io/symlink.c: Likewise.
25379 * io/symlinkat.c: Likewise.
25380 * io/ttyname.c: Likewise.
25381 * io/ttyname_r.c: Likewise.
25382 * io/umask.c: Likewise.
25383 * io/unlink.c: Likewise.
25384 * io/unlinkat.c: Likewise.
25385 * io/utime.c: Likewise.
25386 * io/utimensat.c: Likewise.
25387 * io/write.c: Likewise.
25388 * io/xmknod.c: Likewise.
25389 * io/xmknodat.c: Likewise.
25390 * io/xstat.c: Likewise.
25391 * io/xstat64.c: Likewise.
25392 * login/getpt.c: Likewise.
25393 * login/grantpt.c: Likewise.
25394 * login/unlockpt.c: Likewise.
25395 * math/e_acoshl.c: Likewise.
25396 * math/e_acosl.c: Likewise.
25397 * math/e_asinl.c: Likewise.
25398 * math/e_atan2l.c: Likewise.
25399 * math/e_atanhl.c: Likewise.
25400 * math/e_coshl.c: Likewise.
25401 * math/e_expl.c: Likewise.
25402 * math/e_fmodl.c: Likewise.
25403 * math/e_gammal_r.c: Likewise.
25404 * math/e_hypotl.c: Likewise.
25405 * math/e_j0l.c: Likewise.
25406 * math/e_j1l.c: Likewise.
25407 * math/e_jnl.c: Likewise.
25408 * math/e_lgammal_r.c: Likewise.
25409 * math/e_log10l.c: Likewise.
25410 * math/e_log2l.c: Likewise.
25411 * math/e_logl.c: Likewise.
25412 * math/e_powl.c: Likewise.
25413 * math/e_rem_pio2l.c: Likewise.
25414 * math/e_sinhl.c: Likewise.
25415 * math/e_sqrtl.c: Likewise.
25416 * math/fclrexcpt.c: Likewise.
25417 * math/fedisblxcpt.c: Likewise.
25418 * math/feenablxcpt.c: Likewise.
25419 * math/fegetenv.c: Likewise.
25420 * math/fegetexcept.c: Likewise.
25421 * math/fegetround.c: Likewise.
25422 * math/feholdexcpt.c: Likewise.
25423 * math/fesetenv.c: Likewise.
25424 * math/fesetround.c: Likewise.
25425 * math/feupdateenv.c: Likewise.
25426 * math/fgetexcptflg.c: Likewise.
25427 * math/fraiseexcpt.c: Likewise.
25428 * math/fsetexcptflg.c: Likewise.
25429 * math/ftestexcept.c: Likewise.
25430 * math/k_cosl.c: Likewise.
25431 * math/k_rem_pio2l.c: Likewise.
25432 * math/k_sinl.c: Likewise.
25433 * math/k_tanl.c: Likewise.
25434 * math/s_asinhl.c: Likewise.
25435 * math/s_atanl.c: Likewise.
25436 * math/s_cbrtl.c: Likewise.
25437 * math/s_erfl.c: Likewise.
25438 * math/s_expm1l.c: Likewise.
25439 * math/s_log1pl.c: Likewise.
25440 * math/s_tanhl.c: Likewise.
25441 * misc/acct.c: Likewise.
25442 * misc/brk.c: Likewise.
25443 * misc/chflags.c: Likewise.
25444 * misc/chroot.c: Likewise.
25445 * misc/fchflags.c: Likewise.
25446 * misc/fgetxattr.c: Likewise.
25447 * misc/flistxattr.c: Likewise.
25448 * misc/fremovexattr.c: Likewise.
25449 * misc/fsetxattr.c: Likewise.
25450 * misc/fsync.c: Likewise.
25451 * misc/ftruncate.c: Likewise.
25452 * misc/futimes.c: Likewise.
25453 * misc/futimesat.c: Likewise.
25454 * misc/getdomain.c: Likewise.
25455 * misc/getdtsz.c: Likewise.
25456 * misc/gethostid.c: Likewise.
25457 * misc/gethostname.c: Likewise.
25458 * misc/getloadavg.c: Likewise.
25459 * misc/getpagesize.c: Likewise.
25460 * misc/getsysstats.c: Likewise.
25461 * misc/getxattr.c: Likewise.
25462 * misc/gtty.c: Likewise.
25463 * misc/ioctl.c: Likewise.
25464 * misc/lgetxattr.c: Likewise.
25465 * misc/listxattr.c: Likewise.
25466 * misc/llistxattr.c: Likewise.
25467 * misc/lremovexattr.c: Likewise.
25468 * misc/lsetxattr.c: Likewise.
25469 * misc/lutimes.c: Likewise.
25470 * misc/madvise.c: Likewise.
25471 * misc/mincore.c: Likewise.
25472 * misc/mlock.c: Likewise.
25473 * misc/mlockall.c: Likewise.
25474 * misc/mmap.c: Likewise.
25475 * misc/mprotect.c: Likewise.
25476 * misc/msync.c: Likewise.
25477 * misc/munlock.c: Likewise.
25478 * misc/munlockall.c: Likewise.
25479 * misc/munmap.c: Likewise.
25480 * misc/preadv.c: Likewise.
25481 * misc/preadv64.c: Likewise.
25482 * misc/ptrace.c: Likewise.
25483 * misc/pwritev.c: Likewise.
25484 * misc/pwritev64.c: Likewise.
25485 * misc/readv.c: Likewise.
25486 * misc/reboot.c: Likewise.
25487 * misc/remap_file_pages.c: Likewise.
25488 * misc/removexattr.c: Likewise.
25489 * misc/revoke.c: Likewise.
25490 * misc/select.c: Likewise.
25491 * misc/setdomain.c: Likewise.
25492 * misc/setegid.c: Likewise.
25493 * misc/seteuid.c: Likewise.
25494 * misc/sethostid.c: Likewise.
25495 * misc/sethostname.c: Likewise.
25496 * misc/setregid.c: Likewise.
25497 * misc/setreuid.c: Likewise.
25498 * misc/setxattr.c: Likewise.
25499 * misc/sstk.c: Likewise.
25500 * misc/stty.c: Likewise.
25501 * misc/swapoff.c: Likewise.
25502 * misc/swapon.c: Likewise.
25503 * misc/sync.c: Likewise.
25504 * misc/syncfs.c: Likewise.
25505 * misc/syscall.c: Likewise.
25506 * misc/truncate.c: Likewise.
25507 * misc/ualarm.c: Likewise.
25508 * misc/usleep.c: Likewise.
25509 * misc/ustat.c: Likewise.
25510 * misc/utimes.c: Likewise.
25511 * misc/vhangup.c: Likewise.
25512 * misc/writev.c: Likewise.
25513 * posix/_exit.c: Likewise.
25514 * posix/alarm.c: Likewise.
25515 * posix/execve.c: Likewise.
25516 * posix/fexecve.c: Likewise.
25517 * posix/fork.c: Likewise.
25518 * posix/fpathconf.c: Likewise.
25519 * posix/getaddrinfo.c: Likewise.
25520 * posix/getegid.c: Likewise.
25521 * posix/geteuid.c: Likewise.
25522 * posix/getgid.c: Likewise.
25523 * posix/getgroups.c: Likewise.
25524 * posix/getlogin.c: Likewise.
25525 * posix/getlogin_r.c: Likewise.
25526 * posix/getpgid.c: Likewise.
25527 * posix/getpid.c: Likewise.
25528 * posix/getppid.c: Likewise.
25529 * posix/getresgid.c: Likewise.
25530 * posix/getresuid.c: Likewise.
25531 * posix/getsid.c: Likewise.
25532 * posix/getuid.c: Likewise.
25533 * posix/glob64.c: Likewise.
25534 * posix/nanosleep.c: Likewise.
25535 * posix/pathconf.c: Likewise.
25536 * posix/pause.c: Likewise.
25537 * posix/posix_madvise.c: Likewise.
25538 * posix/pread.c: Likewise.
25539 * posix/pread64.c: Likewise.
25540 * posix/pwrite.c: Likewise.
25541 * posix/pwrite64.c: Likewise.
25542 * posix/sched_getaffinity.c: Likewise.
25543 * posix/sched_getp.c: Likewise.
25544 * posix/sched_gets.c: Likewise.
25545 * posix/sched_primax.c: Likewise.
25546 * posix/sched_primin.c: Likewise.
25547 * posix/sched_rr_gi.c: Likewise.
25548 * posix/sched_setaffinity.c: Likewise.
25549 * posix/sched_setp.c: Likewise.
25550 * posix/sched_sets.c: Likewise.
25551 * posix/sched_yield.c: Likewise.
25552 * posix/setgid.c: Likewise.
25553 * posix/setlogin.c: Likewise.
25554 * posix/setpgid.c: Likewise.
25555 * posix/setresgid.c: Likewise.
25556 * posix/setresuid.c: Likewise.
25557 * posix/setsid.c: Likewise.
25558 * posix/setuid.c: Likewise.
25559 * posix/sleep.c: Likewise.
25560 * posix/spawni.c: Likewise.
25561 * posix/sysconf.c: Likewise.
25562 * posix/times.c: Likewise.
25563 * posix/wait.c: Likewise.
25564 * posix/wait3.c: Likewise.
25565 * posix/wait4.c: Likewise.
25566 * posix/waitpid.c: Likewise.
25567 * resolv/gai_sigqueue.c: Likewise.
25568 * resource/getpriority.c: Likewise.
25569 * resource/getrlimit.c: Likewise.
25570 * resource/getrusage.c: Likewise.
25571 * resource/nice.c: Likewise.
25572 * resource/setpriority.c: Likewise.
25573 * resource/setrlimit.c: Likewise.
25574 * resource/ulimit.c: Likewise.
25575 * rt/aio_cancel.c: Likewise.
25576 * rt/aio_fsync.c: Likewise.
25577 * rt/aio_read.c: Likewise.
25578 * rt/aio_sigqueue.c: Likewise.
25579 * rt/aio_suspend.c: Likewise.
25580 * rt/aio_write.c: Likewise.
25581 * rt/clock_getres.c: Likewise.
25582 * rt/clock_gettime.c: Likewise.
25583 * rt/clock_nanosleep.c: Likewise.
25584 * rt/clock_settime.c: Likewise.
25585 * rt/lio_listio.c: Likewise.
25586 * rt/mq_close.c: Likewise.
25587 * rt/mq_getattr.c: Likewise.
25588 * rt/mq_notify.c: Likewise.
25589 * rt/mq_open.c: Likewise.
25590 * rt/mq_receive.c: Likewise.
25591 * rt/mq_send.c: Likewise.
25592 * rt/mq_setattr.c: Likewise.
25593 * rt/mq_timedreceive.c: Likewise.
25594 * rt/mq_timedsend.c: Likewise.
25595 * rt/mq_unlink.c: Likewise.
25596 * rt/shm_open.c: Likewise.
25597 * rt/shm_unlink.c: Likewise.
25598 * rt/timer_create.c: Likewise.
25599 * rt/timer_delete.c: Likewise.
25600 * rt/timer_getoverr.c: Likewise.
25601 * rt/timer_gettime.c: Likewise.
25602 * rt/timer_settime.c: Likewise.
25603 * setjmp/__longjmp.c: Likewise.
25604 * setjmp/setjmp.c: Likewise.
25605 * signal/kill.c: Likewise.
25606 * signal/killpg.c: Likewise.
25607 * signal/raise.c: Likewise.
25608 * signal/sigaction.c: Likewise.
25609 * signal/sigaltstack.c: Likewise.
25610 * signal/sigblock.c: Likewise.
25611 * signal/sigignore.c: Likewise.
25612 * signal/sigintr.c: Likewise.
25613 * signal/signal.c: Likewise.
25614 * signal/sigpause.c: Likewise.
25615 * signal/sigpending.c: Likewise.
25616 * signal/sigqueue.c: Likewise.
25617 * signal/sigreturn.c: Likewise.
25618 * signal/sigset.c: Likewise.
25619 * signal/sigsetmask.c: Likewise.
25620 * signal/sigstack.c: Likewise.
25621 * signal/sigsuspend.c: Likewise.
25622 * signal/sigtimedwait.c: Likewise.
25623 * signal/sigvec.c: Likewise.
25624 * signal/sigwait.c: Likewise.
25625 * signal/sigwaitinfo.c: Likewise.
25626 * signal/sysv_signal.c: Likewise.
25627 * socket/accept.c: Likewise.
25628 * socket/accept4.c: Likewise.
25629 * socket/bind.c: Likewise.
25630 * socket/connect.c: Likewise.
25631 * socket/getpeername.c: Likewise.
25632 * socket/getsockname.c: Likewise.
25633 * socket/getsockopt.c: Likewise.
25634 * socket/isfdtype.c: Likewise.
25635 * socket/listen.c: Likewise.
25636 * socket/recv.c: Likewise.
25637 * socket/recvfrom.c: Likewise.
25638 * socket/recvmsg.c: Likewise.
25639 * socket/send.c: Likewise.
25640 * socket/sendmsg.c: Likewise.
25641 * socket/sendto.c: Likewise.
25642 * socket/setsockopt.c: Likewise.
25643 * socket/shutdown.c: Likewise.
25644 * socket/sockatmark.c: Likewise.
25645 * socket/socket.c: Likewise.
25646 * socket/socketpair.c: Likewise.
25647 * stdio-common/ctermid.c: Likewise.
25648 * stdio-common/cuserid.c: Likewise.
25649 * stdio-common/remove.c: Likewise.
25650 * stdio-common/rename.c: Likewise.
25651 * stdio-common/renameat.c: Likewise.
25652 * stdio-common/tempname.c: Likewise.
25653 * stdlib/getcontext.c: Likewise.
25654 * stdlib/makecontext.c: Likewise.
25655 * stdlib/setcontext.c: Likewise.
25656 * stdlib/swapcontext.c: Likewise.
25657 * stdlib/system.c: Likewise.
25658 * streams/fattach.c: Likewise.
25659 * streams/fdetach.c: Likewise.
25660 * streams/getmsg.c: Likewise.
25661 * streams/getpmsg.c: Likewise.
25662 * streams/putmsg.c: Likewise.
25663 * streams/putpmsg.c: Likewise.
25664 * sysdeps/unix/bsd/getpt.c: Likewise.
25665 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25666 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25667 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25669 Likewise.
25670 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25671 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25672 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25673 * sysvipc/msgctl.c: Likewise.
25674 * sysvipc/msgget.c: Likewise.
25675 * sysvipc/msgrcv.c: Likewise.
25676 * sysvipc/msgsnd.c: Likewise.
25677 * sysvipc/semctl.c: Likewise.
25678 * sysvipc/semget.c: Likewise.
25679 * sysvipc/semop.c: Likewise.
25680 * sysvipc/semtimedop.c: Likewise.
25681 * sysvipc/shmat.c: Likewise.
25682 * sysvipc/shmctl.c: Likewise.
25683 * sysvipc/shmdt.c: Likewise.
25684 * sysvipc/shmget.c: Likewise.
25685 * termios/tcdrain.c: Likewise.
25686 * termios/tcflow.c: Likewise.
25687 * termios/tcflush.c: Likewise.
25688 * termios/tcgetattr.c: Likewise.
25689 * termios/tcgetpgrp.c: Likewise.
25690 * termios/tcsendbrk.c: Likewise.
25691 * termios/tcsetattr.c: Likewise.
25692 * termios/tcsetpgrp.c: Likewise.
25693 * time/adjtime.c: Likewise.
25694 * time/clock.c: Likewise.
25695 * time/getitimer.c: Likewise.
25696 * time/gettimeofday.c: Likewise.
25697 * time/setitimer.c: Likewise.
25698 * time/settimeofday.c: Likewise.
25699 * time/stime.c: Likewise.
25700 * time/time.c: Likewise.
25701
25702 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25703
25704 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25705 /usr/old/bin.
25706
25707 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25708 instead of spaces.
25709 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25710
25711 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25712
25713 [BZ #14796]
25714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25715 FE_TONEAREST before applying Dekker multiplication and Knuth
25716 addition. Clear inexact exceptions and check for exact zero
25717 results afterwards.
25718 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25719 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25720 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25721 * math/libm-test.inc (fma_test): Add more tests.
25722 (fma_test_towardzero): Likewise.
25723 (fma_test_downward): Likewise.
25724 (fma_test_upward): Likewise.
25725 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25726 function.
25727 (libc_fesetround): New macro.
25728 (libc_fesetroundf): Likewise.
25729 (libc_fesetroundl): Likewise.
25730 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25731 function.
25732 (libc_fesetround_387): Likewise.
25733 (libc_fesetroundf): New macro.
25734 (libc_fesetround): Likewise.
25735 (libc_fesetroundl): Likewise.
25736 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25737 function.
25738 (libc_fesetroundf): New macro.
25739 (libc_fesetround): Likewise.
25740 (libc_fesetroundl): Likewise.
25741 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25742 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25743 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25744 libm_hidden_ver.
25745 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25746 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25747 libm_hidden_def.
25748 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25749 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25750 libm_hidden_ver.
25751 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25752 libm_hidden_def.
25753
25754 [BZ #3439]
25755 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25756 integer constant usable in #if and use that to give value to enum
25757 constant.
25758 (FE_DIVBYZERO): Likewise.
25759 (FE_UNDERFLOW): Likewise.
25760 (FE_OVERFLOW): Likewise.
25761 (FE_INVALID): Likewise.
25762 (FE_INVALID_SNAN): Likewise.
25763 (FE_INVALID_ISI): Likewise.
25764 (FE_INVALID_IDI): Likewise.
25765 (FE_INVALID_ZDZ): Likewise.
25766 (FE_INVALID_IMZ): Likewise.
25767 (FE_INVALID_COMPARE): Likewise.
25768 (FE_INVALID_SOFTWARE): Likewise.
25769 (FE_INVALID_SQRT): Likewise.
25770 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25771 (FE_TONEAREST): Likewise.
25772 (FE_TOWARDZERO): Likewise.
25773 (FE_UPWARD): Likewise.
25774 (FE_DOWNWARD): Likewise.
25775 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25776 (FE_DIVBYZERO): Likewise.
25777 (FE_OVERFLOW): Likewise.
25778 (FE_UNDERFLOW): Likewise.
25779 (FE_INEXACT): Likewise.
25780 (FE_TONEAREST): Likewise.
25781 (FE_DOWNWARD): Likewise.
25782 (FE_UPWARD): Likewise.
25783 (FE_TOWARDZERO): Likewise.
25784 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25785 (FE_UNDERFLOW): Likewise.
25786 (FE_OVERFLOW): Likewise.
25787 (FE_DIVBYZERO): Likewise.
25788 (FE_INVALID): Likewise.
25789 (FE_TONEAREST): Likewise.
25790 (FE_TOWARDZERO): Likewise.
25791 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25792 (FE_OVERFLOW): Likewise.
25793 (FE_UNDERFLOW): Likewise.
25794 (FE_DIVBYZERO): Likewise.
25795 (FE_INEXACT): Likewise.
25796 (FE_TONEAREST): Likewise.
25797 (FE_TOWARDZERO): Likewise.
25798 (FE_UPWARD): Likewise.
25799 (FE_DOWNWARD): Likewise.
25800 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25801 (FE_DIVBYZERO): Likewise.
25802 (FE_OVERFLOW): Likewise.
25803 (FE_UNDERFLOW): Likewise.
25804 (FE_INEXACT): Likewise.
25805 (FE_TONEAREST): Likewise.
25806 (FE_DOWNWARD): Likewise.
25807 (FE_UPWARD): Likewise.
25808 (FE_TOWARDZERO): Likewise.
25809
25810 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25811
25812 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25813
25814 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25815
25816 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25817 commands. Quote $PWD.
25818 (blacklist_exports): Don't use remove_newlines. Replace "declare
25819 -x" by "export".
25820 (remove_newlines): Remove.
25821
25822 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25823
25824 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25825 * stdlib/stdlib.h (atof): Moved to ...
25826 * include/bits/stdlib-float.h: Here. New file.
25827 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25828 * stdlib/bits/stdlib-float.h: New file.
25829 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25830 -mno-sse -mno-mmx.
25831 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25832 <xmmintrin.h>.
25833
25834 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25835
25836 * conform/conformtest.pl (@headers): Add fenv.h.
25837 * conform/data/fenv.h-data: New file.
25838 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25839 include of <math/fenv.h>.
25840
25841 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25842 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25843 && !UNIX98]. Enables tests for XOPEN2K8.
25844 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25845 POSIX2008]: Likewise.
25846
25847 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25848 (struct rusage): Do not expect type or its members.
25849
25850 [BZ #3439]
25851 * math/math.h (FP_NAN): Define macro to integer constant usable in
25852 #if and use that to give value to enum constant.
25853 (FP_INFINITE): Likewise.
25854 (FP_ZERO): Likewise.
25855 (FP_SUBNORMAL): Likewise.
25856 (FP_NORMAL): Likewise.
25857
25858 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25859
25860 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25861 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25862 arguments.
25863
25864 2012-11-02 Roland McGrath <roland@hack.frob.com>
25865
25866 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25867 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25868 autoconf-time if not.
25869 * configure.in: Remove AC_PREREQ.
25870
25871 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25872
25873 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25874 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25875 of the internal implementation.
25876
25877 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25878
25879 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25880 except include of <misc/sys/syslog.h>.
25881
25882 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25883
25884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25885 function returns with a NULL context exit with zero.
25886
25887 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25888
25889 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25890
25891 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25892
25893 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25894 (run_program_cmd): This.
25895 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25896 (tst_langinfo): New variable. Use it.
25897
25898 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25899
25900 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25901 floating point opcodes.
25902
25903 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25904
25905 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25906 variable.
25907
25908 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25909
25910 * sysdeps/mach/hurd/powerpc: Remove directory.
25911 * sysdeps/mach/powerpc: Likewise.
25912
25913 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25914
25915 * scripts/check-local-headers.sh: Ignore c++ headers.
25916
25917 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25918
25919 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25920 __libc_cleanup_region_start argument.
25921
25922 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25923
25924 [BZ #14784]
25925 [BZ #14785]
25926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25927 x * y using scaling, not as x * y + z.
25928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25930 * math/libm-test.inc (fma_test): Add more tests.
25931 (fma_test_towardzero): Likewise.
25932 (fma_test_downward): Likewise.
25933 (fma_test_upward): Likewise.
25934
25935 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25936
25937 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25938
25939 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25940
25941 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25942 New variable.
25943
25944 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25945
25946 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25947
25948 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25949
25950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25951 Fix sort order.
25952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25953 Likewise.
25954
25955 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25956
25957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25958 Fix the order of the list for glibc 2.17.
25959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25960 Likewise.
25961
25962 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25963
25964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25965
25966 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25967
25968 [BZ #14610]
25969 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25970 for low part of x being zero before using __atanl (y).
25971 * math/libm-test.inc (atan2_test): Add another test.
25972
25973 * manual/install.texi (Configuring and compiling): Document
25974 general use of test-wrapper and test-wrapper-env.
25975 * INSTALL: Regenerated.
25976
25977 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25978 (__fma): Do not extract and scale down low bits on after-rounding
25979 systems when result rounded to normal precision would have normal
25980 exponent.
25981 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25982 (__fmal): Do not extract and scale down low bits on after-rounding
25983 systems when result rounded to normal precision would have normal
25984 exponent.
25985 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25986 (__fmal): Do not extract and scale down low bits on after-rounding
25987 systems when result rounded to normal precision would have normal
25988 exponent.
25989 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25990 macro.
25991 (fma_test): Add more tests.
25992 (fma_test_towardzero): Likewise.
25993 (fma_test_downward): Likewise.
25994 (fma_test_upward): Likewise.
25995
25996 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25997
25998 * sysdeps/i386/tininess.h: Renamed to ...
25999 * sysdeps/x86/tininess.h: This.
26000 * sysdeps/x86_64/tininess.h: Removed.
26001
26002 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26003
26004 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26005 input. Use $(build-program-cmd).
26006 ($(objpfx)tst-array1-static.out): Likewise.
26007 ($(objpfx)tst-array2.out): Likewise.
26008 ($(objpfx)tst-array3.out): Likewise.
26009 ($(objpfx)tst-array4.out): Likewise.
26010 ($(objpfx)tst-array5.out): Likewise.
26011 ($(objpfx)tst-array5-static.out): Likewise.
26012
26013 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26014
26015 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26016 if defined.
26017
26018 * nss/nsswitch.h (nss_interface_function): Provide new
26019 macro for use with NSS functions.
26020 * grp/initgroups.c: Use new macro.
26021 * nss/getXXbyYY.c: Likewise.
26022 * nss/getXXbyYY_r.c: Likewise.
26023 * nss/getXXent.c: Likewise.
26024 * nss/getXXent_r.c: Likewise.
26025 * sysdeps/posix/getaddrinfo.c: Likewise.
26026
26027 2012-10-30 Andreas Jaeger <aj@suse.de>
26028
26029 * po/ru.po: Update Russion translation from translation project.
26030
26031 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26032
26033 [BZ #14152]
26034 [BZ #14783]
26035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26036 result and shift together with sticky bit instead of replicating
26037 round-to-nearest rounding.
26038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26040 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26041 missing underflow exceptions.
26042 (fma_test_towardzero): Add more tests.
26043 (fma_test_downward): Likewise.
26044 (fma_test_upward): Likewise.
26045
26046 [BZ #14047]
26047 * sysdeps/generic/tininess.h: New file.
26048 * sysdeps/i386/tininess.h: Likewise.
26049 * sysdeps/sh/tininess.h: Likewise.
26050 * sysdeps/x86_64/tininess.h: Likewise.
26051 * stdlib/tst-strtod-underflow.c: Likewise.
26052 * stdlib/tst-tininess.c: Likewise.
26053 * stdlib/strtod_l.c: Include <tininess.h>.
26054 (round_and_return): Do not set errno for exact underflow cases.
26055 Force an underflow exception when setting errno for underflow.
26056 Determine underflow based on rounding to normal precision if
26057 TININESS_AFTER_ROUNDING.
26058 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26059 ERANGE for exact underflow cases.
26060 * stdlib/Makefile (tests): Add tst-tininess and
26061 tst-strtod-underflow.
26062 ($(objpfx)tst-tininess): Use $(link-libm).
26063 ($(objpfx)tst-strtod-underflow): Likewise.
26064
26065 2012-10-30 Andreas Jaeger <aj@suse.de>
26066
26067 [BZ#14767]
26068 * elf/Makefile (tests): Remove conditional for have-initfini-array
26069 since this is now always required and the variable does not exist
26070 anymore.
26071 (tests-static): Likewise.
26072 (modules-names): Likewise.
26073
26074 * po/eo.po: Add Esperanto translation from translation project.
26075
26076 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26077 merged with constructor/destructor.
26078 (init_array): Likewise.
26079 * elf/tst-array2dep.c (fini_array): Likewise.
26080 (init_array): Likewise.
26081
26082 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26083
26084 * manual/message.texi: Delete @cartouche tags.
26085
26086 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26087
26088 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26089 EOPNOTSUPP.
26090 * sysdeps/mach/hurd/fsync.c: Likewise.
26091
26092 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26093 [_POSIX_REALTIME_SIGNALS]: Change condition to
26094 [_POSIX_REALTIME_SIGNALS > 0].
26095
26096 2012-10-27 Andreas Jaeger <aj@suse.de>
26097
26098 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26099 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26100 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26101 [__WORDSIZE != 64]: Likewise.
26102
26103 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26104
26105 * iconvdata/tst-table.sh: Remove ${SHELL}.
26106 * iconvdata/tst-tables.sh: Likewise.
26107
26108 2012-10-25 David S. Miller <davem@davemloft.net>
26109
26110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26111 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26112 of strtoull.
26113
26114 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26115 ifunc-impl-list.c
26116 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26117 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26118 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26119 file.
26120
26121 2012-10-25 Roland McGrath <roland@hack.frob.com>
26122
26123 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26124 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26125 __getdirentries.
26126
26127 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26128 Jim Blandy <jimb@codesourcery.com>
26129
26130 * scripts/cross-test-ssh.sh: New file.
26131 * manual/install.texi (Configuring and compiling): Document use of
26132 cross-test-ssh.sh.
26133 * INSTALL: Regenerated.
26134
26135 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26136
26137 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26138 EOPNOTSUPP.
26139
26140 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26141
26142 * Makeconfig (run-program-prefix): Fix comment.
26143
26144 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26145 Jim Blandy <jimb@codesourcery.com>
26146
26147 * Makeconfig (test-wrapper): New variable,
26148 (test-wrapper-env): Likewise.
26149 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26150 (run-built-tests): Define to yes.
26151 (run-program-prefix): Use $(test-wrapper).
26152 (built-program-cmd): Likewise.
26153 * Rules (make-test-out): Use $(test-wrapper-env) and
26154 $(host-built-program-cmd).
26155 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26156 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26157 tst-pathopt.sh.
26158 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26159 $(test-wrapper-env) to tst-rtld-load-self.sh.
26160 ($(objpfx)order2.out): Use $(test-wrapper).
26161 ($(objpfx)tst-initorder.out): Likewise.
26162 ($(objpfx)tst-initorder2.out): Likewise.
26163 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26164 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26165 (test_wrapper_env): New variable. Use it to run ld.so.
26166 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26167 Use it to run ld.so.
26168 (test_wrapper_env): Likewise.
26169 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26170 $(test-wrapper) to run-iconv-test.sh.
26171 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26172 (ICONV): Use $test_wrapper.
26173 * posix/Makefile ($(objpfx)globtest.out): Pass
26174 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26175 globtest.sh, not $(run-program-prefix).
26176 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26177 (test_wrapper): Likewise.
26178 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26179 set together with run_via_rtld_prefix.
26180 (run_program_prefix): Define in terms of test_wrapper and
26181 run_via_rtld_prefix.
26182
26183 2012-10-24 Roland McGrath <roland@hack.frob.com>
26184
26185 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26186 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26187 Targets removed.
26188
26189 [BZ #14743]
26190 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26191 Declare __clock_getres, __clock_gettime, __clock_settime,
26192 __clock_nanosleep, and __clock_getcpuclockid.
26193 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26194 Remove librt_hidden_def (clock_gettime).
26195 * sysdeps/unix/clock_gettime.c: Likewise.
26196 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26197 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26198 * rt/clock_getres.c: Define __clock_getres as an alias.
26199 * sysdeps/posix/clock_getres.c: Likewise.
26200 * rt/clock_settime.c: Define __clock_settime as an alias.
26201 * sysdeps/unix/clock_settime.c: Likewise.
26202 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26203 * sysdeps/unix/clock_nanosleep.c: Likewise.
26204 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26205 * rt/clock-compat.c: New file.
26206 * rt/Makefile (librt-routines): Add clock-compat and move
26207 $(clock-routines) to ...
26208 (routines): ... here, new variable.
26209 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26210 Don't add get_clockfreq here.
26211 * rt/Versions (libc: GLIBC_2.17): New version set.
26212 Add clock_* symbols here.
26213 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26214 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26215 (GLIBC_2.17): Add clock_* symbols.
26216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26218 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26220 Likewise.
26221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26222 Likewise.
26223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26227 * NEWS: Mention the move.
26228
26229 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26230 Use __open, __read, __close rather than their public counterparts.
26231 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26232 (__get_clockfreq_via_cpuinfo): Likewise.
26233 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26234 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26235
26236 * config.h.in (HAVE_IFUNC): New #undef.
26237 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26238 was successful.
26239 * configure: Regenerated.
26240
26241 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26242
26243 * configure.in: Move READELF check to start of file.
26244 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26245 libc_cv_asm_gnu_indirect_function in the process.
26246 * configure: Regenerated.
26247
26248 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26249
26250 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26251 send the output to /dev/null.
26252 (libc_cv_cc_with_libunwind): Likewise.
26253 (libc_cv_as_noexecstack): Likewise.
26254 * configure: Regenerate.
26255
26256 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26257
26258 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26259
26260 * posix/globtest.sh (TMPDIR): Do not set.
26261 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26262 (testout): Likewise.
26263
26264 2012-10-24 Andreas Jaeger <aj@suse.de>
26265
26266 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26267 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26268 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26269 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26270 posix_fadvise64, posix_fallocate64.
26271
26272 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26273 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26274 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26275 Likewise.
26276 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26277 Likewise.
26278 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26279
26280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26281 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26282 <bits/fcntl-linux.h>.
26283 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26284
26285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26286 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26287 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26288 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26289 [__WORDSIZE != 64]: Likewise.
26290
26291 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26292
26293 * Makeconfig (run-built-tests): New variable.
26294 * Rules [$(cross-compiling) = yes]: Change condition to
26295 [$(run-built-tests) = no].
26296 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26297 to [$(run-built-tests) = yes].
26298 * elf/Makefile [$(cross-compiling) = no]: Likewise
26299 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26300 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26301 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26302 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26303 * io/Makefile [$(cross-compiling) = no]: Likewise.
26304 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26305 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26306 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26307 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26308 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26309 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26310 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26311 * string/Makefile [$(cross-compiling) = no]: Likewise.
26312
26313 * posix/Makefile ($(objpfx)globtest.out): Pass
26314 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26315 $(rtld-installed-name).
26316 * posix/globtest.sh (elf_objpfx): Remove variable.
26317 (rtld_installed_name): Likewise.
26318 (library_path): Likewise.
26319 (run_program_prefix): New variable. Use for running globtest
26320 binary.
26321
26322 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26323 Joseph Myers <joseph@codesourcery.com>
26324
26325 * Makeconfig (host-built-program-cmd): New variable.
26326 * elf/Makefile (tst-stackguard1-ARGS): Use
26327 $(host-built-program-cmd).
26328 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26329 (tst-spawn-ARGS): Likewise.
26330 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26331
26332 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26333 Jim Blandy <jimb@codesourcery.com>
26334
26335 * Makeconfig (run-via-rtld-prefix): New variable.
26336 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26337 (built-program-cmd): Likewise.
26338
26339 2012-10-22 Andreas Jaeger <aj@suse.de>
26340
26341 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26342 __O_RSYNC if it exists, otherwise to O_SYNC.
26343
26344 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26345 Joseph Myers <joseph@codesourcery.com>
26346
26347 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26348 /dev/null.
26349 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26350 from /dev/null
26351 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26352 /dev/null.
26353
26354 2012-10-22 Andreas Jaeger <aj@suse.de>
26355
26356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26357 Define always.
26358 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26359
26360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26361 bits/fcntl-linux.h.
26362
26363 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26364 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26365
26366 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26367 to __O_LARGEFILE.
26368 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26369 to __O_LARGEFILE.
26370
26371 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26372 Joseph Myers <joseph@codesourcery.com>
26373
26374 * config.make.in (NM): New variable.
26375
26376 2012-10-21 Andreas Jaeger <aj@suse.de>
26377
26378 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26379 definitions and declarations that are provided by
26380 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26381
26382 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26383
26384 [BZ #14683]
26385 * elf/Makefile (tests-static): Add tst-leaks1-static.
26386 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26387 ($(objpfx)tst-leaks1-static): New rule.
26388 ($(objpfx)tst-leaks1-static-mem): Likewise.
26389 (tst-leaks1-static-ENV): New macro.
26390 * elf/dl-open.c (dl_open_worker): Check the main application
26391 only if SHARED is defined.
26392 * elf/tst-leaks1-static.c: New file.
26393
26394 2012-10-20 Andreas Jaeger <aj@suse.de>
26395
26396 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26397 generic values for Linux.
26398 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26399 and declarations that are provided by <bits/fcntl-linux.h> and
26400 include <bits/fcntl-linux.h>.
26401 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26403
26404 2012-10-20 Roland McGrath <roland@hack.frob.com>
26405
26406 * io/fcntl.h: Move include of <bits/types.h> to the top and
26407 include it unconditionally.
26408
26409 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26410
26411 * wcsmbs/Makefile (tests-ifunc): New variable.
26412 (tests): Add $(tests-ifunc).
26413 * wcsmbs/test-wcschr-ifunc.c: New file.
26414 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26415 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26416 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26417 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26418 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26419
26420 * string/Makefile (tests-ifunc): New variable.
26421 (tests): Add $(tests-ifunc).
26422 * string/test-memccpy.c (TEST_NAME): New macro.
26423 * string/test-memchr.c (TEST_NAME): Likewise.
26424 * string/test-memcmp.c (TEST_NAME): Likewise.
26425 * string/test-memcpy.c (TEST_NAME): Likewise.
26426 * string/test-memmem.c (TEST_NAME): Likewise.
26427 * string/test-memmove.c (TEST_NAME): Likewise.
26428 * string/test-memset.c (TEST_NAME): Likewise.
26429 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26430 * string/test-stpcpy.c (TEST_NAME): Likewise.
26431 * string/test-stpncpy.c (TEST_NAME): Likewise.
26432 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26433 * string/test-strcasestr.c (TEST_NAME): Likewise.
26434 * string/test-strcat.c (TEST_NAME): Likewise.
26435 * string/test-strchr.c (TEST_NAME): Likewise.
26436 * string/test-strcmp.c(TEST_NAME): Likewise.
26437 * string/test-strcpy.c (TEST_NAME): Likewise.
26438 * string/test-strcspn.c (TEST_NAME): Likewise.
26439 * string/test-strlen.c (TEST_NAME): Likewise.
26440 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26441 * string/test-strncmp.c (TEST_NAME): Likewise.
26442 * string/test-strncpy.c (TEST_NAME): Likewise.
26443 * string/test-strnlen.c (TEST_NAME): Likewise.
26444 * string/test-strpbrk.c (TEST_NAME): Likewise.
26445 * string/test-strrchr.c (TEST_NAME): Likewise.
26446 * string/test-strspn.c (TEST_NAME): Likewise.
26447 * string/test-strstr.c (TEST_NAME): Likewise.
26448 * string/test-bcopy-ifunc.c: New file.
26449 * string/test-bzero-ifunc.c: Likewise.
26450 * string/test-memccpy-ifunc.c: Likewise.
26451 * string/test-memchr-ifunc.c: Likewise.
26452 * string/test-memcmp-ifunc.c: Likewise.
26453 * string/test-memcpy-ifunc.c: Likewise.
26454 * string/test-memmem-ifunc.c: Likewise.
26455 * string/test-memmove-ifunc.c: Likewise.
26456 * string/test-mempcpy-ifunc.c: Likewise.
26457 * string/test-memset-ifunc.c: Likewise.
26458 * string/test-rawmemchr-ifunc.c: Likewise.
26459 * string/test-stpcpy-ifunc.c: Likewise.
26460 * string/test-stpncpy-ifunc.c: Likewise.
26461 * string/test-strcasecmp-ifunc.c: Likewise.
26462 * string/test-strcasestr-ifunc.c: Likewise.
26463 * string/test-strcat-ifunc.c: Likewise.
26464 * string/test-strchr-ifunc.c: Likewise.
26465 * string/test-strchrnul-ifunc.c: Likewise.
26466 * string/test-strcmp-ifunc.c: Likewise.
26467 * string/test-strcpy-ifunc.c: Likewise.
26468 * string/test-strcspn-ifunc.c: Likewise.
26469 * string/test-strlen-ifunc.c: Likewise.
26470 * string/test-strncasecmp-ifunc.c: Likewise.
26471 * string/test-strncat-ifunc.c: Likewise.
26472 * string/test-strncmp-ifunc.c: Likewise.
26473 * string/test-strncpy-ifunc.c: Likewise.
26474 * string/test-strnlen-ifunc.c: Likewise.
26475 * string/test-strpbrk-ifunc.c: Likewise.
26476 * string/test-strrchr-ifunc.c: Likewise.
26477 * string/test-strspn-ifunc.c: Likewise.
26478 * string/test-strstr-ifunc.c: Likewise.
26479
26480 * debug/Makefile (tests-ifunc): New variable.
26481 (tests): Add $(tests-ifunc).
26482 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26483 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26484 * debug/test-stpcpy_chk-ifunc.c: New file.
26485 * debug/test-strcpy_chk-ifunc.c: Likewise.
26486
26487 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26488
26489 [BZ #13601]
26490 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26491 header is not read in.
26492
26493 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26494
26495 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26496 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26497 directly. Pass built executable to script as
26498 $(built-program-cmd).
26499 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26500 $testprogram without using LD_LIBRARY_PATH and $ldso.
26501
26502 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26503 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26504 $(rtld-installed-name).
26505 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26506 (rtld_installed_name): Likewise.
26507 (library_path): Likewise.
26508 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26509 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26510 $(run-program-prefix) to tst-tables.sh.
26511 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26512 it to run tst-table-from and tst-table-to.
26513 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26514 Pass it to tst-table.sh.
26515 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26516 $(run-program-prefix) to tst-gettext.sh.
26517 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26518 tst-translit.sh.
26519 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26520 tst-gettext2.sh.
26521 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26522 to run tst-gettext.
26523 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26524 to run tst-gettext2.
26525 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26526 to run tst-translit.
26527 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26528 $(run-program-prefix) to tst-mtrace.sh.
26529 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26530 to run tst-mtrace.
26531 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26532 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26533 $(rtld-installed-name).
26534 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26535 (rtld_installed_name): Likewise.
26536 (run_program_prefix): New variable. Use it to run wordexp-test.
26537
26538 * Makeconfig (ARCH): Remove all definitions.
26539 (machine): Likewise.
26540 [ARCH]: Remove conditional code.
26541 [!objdir]: Give error.
26542 [!objdir] (objpfx): Remove.
26543 [!objdir] (common-objpfx): Likewise.
26544 [!objdir] (common-objdir): Likewise.
26545 * configure.in (config_makefile): Remove. Hardcode Makefile in
26546 AC_CONFIG_FILES call.
26547 * configure: Regenerated.
26548
26549 [BZ #13888]
26550 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26551 or TMPDIR.
26552 (testout): Likewise.
26553
26554 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26555 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26556 $(rtld-installed-name).
26557 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26558 (rtld_installed_name): Likwise.
26559 (runit): Remove function.
26560 (run_getconf): New variable, Use it for running getconf binary.
26561
26562 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26563
26564 [BZ #14716]
26565 * string/test-memmem.c (check_result): New function.
26566 (do_one_test): Use it.
26567 (check1): New function.
26568 (test_main): Use it.
26569
26570 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26571
26572 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26573
26574 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26575
26576 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26577 (_G_LSEEK64): Likewise.
26578 (_G_MMAP64): Likewise.
26579 (_G_FSTAT64): Likewise.
26580 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26581 (_G_LSEEK64): Likewise.
26582 (_G_MMAP64): Likewise.
26583 (_G_FSTAT64): Likewise.
26584 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26585 unconditional. Call __mmap64 directly.
26586 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26587 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26588 __lseek64 directly.
26589 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26590 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26591 __mmap64 directly.
26592 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26593 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26594 __lseek64 directly.
26595 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26596 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26597 __lseek64 directly.
26598 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26599 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26600 __lseek64 directly.
26601 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26602 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26603 __fxstat64 directly.
26604 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26605 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26606 unconditional.
26607 (freopen64) [!_G_OPEN64]: Remove conditional code.
26608 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26609 unconditional.
26610 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26611 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26612 unconditional.
26613 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26614 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26615 unconditional.
26616 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26617 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26618 unconditional.
26619 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26620 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26621 unconditional.
26622 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26623 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26624 unconditional.
26625 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26626 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26627 unconditional.
26628 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26629
26630 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26631
26632 [BZ #12140]
26633 * manual/memory.texi (Malloc Tunable Parameters): Add note
26634 about free list pointers overwriting some perturb bytes.
26635 Wording suggested by Roland McGrath.
26636
26637 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26638
26639 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26640 (lgamma_test): Likewise.
26641 (tgamma_test): Likewise.
26642
26643 2012-10-16 Florian Weimer <fweimer@redhat.com>
26644
26645 [BZ #14700]
26646 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26647 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26648
26649 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26650
26651 * NEWS: Mention BZ #14716.
26652 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26653 when removing AVAILABLE1_USES_J macro.
26654
26655 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26656
26657 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26658 (__bswap_64): __uint64_t for unsigned 64-bit int.
26659
26660 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26661
26662 * include/string.h (memmem): Declare libc hidden alias.
26663 * string/memmem.c (memmem): Define libc hidden alias.
26664 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26665 __read, __close instead of open, read, close.
26666
26667 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26668
26669 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26670 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26671 global and hidden.
26672 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26673 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26674 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26675 Likewise.
26676 (__rawmemchr_sse2): Likewise.
26677 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26678 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26679 (__strchr_sse2): Likewise.
26680 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26681 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26682 (__strcasecmp_sse2): Likewise.
26683 (__strncasecmp_sse2): Likewise.
26684 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26685 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26686 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26687 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26688 (__strrchr_sse2): Likewise.
26689 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26690 ifunc-impl-list.c.
26691 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26692 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26693 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26694 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26695 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26696 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26697 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26698 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26699 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26700 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26701 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26702 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26703 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26704 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26705 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26706 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26707 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26708 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26709 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26710 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26711 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26712 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26713 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26714 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26715 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26716 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26717 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26718 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26719 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26720 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26721
26722 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26723 global and hidden.
26724 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26725 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26726 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26727 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26728 Likewise.
26729 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26730 Likewise.
26731 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26732 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26733 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26734 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26735 ifunc-impl-list.c.
26736 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26737 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26738 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26739 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26740 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26741 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26742 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26743 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26744 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26745 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26746 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26747 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26748 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26749 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26750 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26751 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26752 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26753 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26754 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26755 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26756 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26757 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26758 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26759 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26760 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26761 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26762 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26763 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26764 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26765 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26766 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26767 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26768 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26769 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26770 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26771 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26772 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26773 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26774 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26775 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26776 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26777
26778 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26779 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26780 * include/ifunc-impl-list.h: New file.
26781 * misc/ifunc-impl-list.c: Likewise.
26782 * misc/Makefile (routines): Add ifunc-impl-list.
26783 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26784 * string/test-string.h: Include <ifunc-impl-list.h>.
26785 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26786 TEST_NAME]: New variables.
26787 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26788 are defined.
26789 (test_init): Call __libc_ifunc_impl_list to initialize
26790 func_list if TEST_IFUNC and TEST_NAME are defined.
26791
26792 * string/Makefile (strop-tests): Add bcopy and bzero.
26793 * string/test-bcopy.c: New file.
26794 * string/test-bzero.c: Likewise.
26795 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26796 defined.
26797 * string/test-memset.c: Support bzero test if TEST_BZERO is
26798 defined.
26799 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26800 __libc_memmove.
26801 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26802 __libc_memset.
26803 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26804 of memset.
26805
26806 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26807
26808 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26809 * configure: Regenerated.
26810
26811 * Makeconfig (+link-static-before-libc): Don't include
26812 $(link-static-libc).
26813
26814 * libio/libio.h (_IO_pos_t): Remove.
26815
26816 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26817
26818 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26819 McGrath.
26820
26821 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26822
26823 * crypt/crypt-entry.c: Include fips-private.h.
26824 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26825 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26826 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26827 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26828
26829 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26830
26831 * crypt/crypt-private.h: Include stdbool.h.
26832 (_ufc_setup_salt_r): Return bool.
26833 * crypt/crypt-entry.c: Include errno.h.
26834 (__crypt_r): Return NULL with EINVAL for bad salt.
26835 * crypt/crypt_util.c (bad_for_salt): New.
26836 (_ufc_setup_salt_r): Check that salt is long enough and within
26837 the specified alphabet.
26838 * crypt/badsalttest.c: New file.
26839 * crypt/Makefile (tests): Add it.
26840 ($(objpfx)badsalttest): New.
26841
26842 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26843
26844 * NEWS: Add entry for BZ #14602.
26845
26846 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26847
26848 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26849 type-generic.
26850 * math/libm-test.inc: Update comment listing what functions and
26851 macros are tested.
26852 (isgreater_test): New function.
26853 (isgreaterequal_test): Likewise.
26854 (isless_test): Likewise.
26855 (islessequal_test): Likewise.
26856 (islessgreater_test): Likewise.
26857 (isunordered_test): Likewise.
26858 (main): Call the new functions.
26859
26860 2012-10-09 Roland McGrath <roland@hack.frob.com>
26861
26862 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26863 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26864 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26865 * sysdeps/i386/configure: Regenerated.
26866 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26867 * sysdeps/mach/configure: Regenerated.
26868 * sysdeps/mach/hurd/configure: Regenerated.
26869 * sysdeps/powerpc/configure: Regenerated.
26870 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26871 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26872 * sysdeps/s390/s390-32/configure: Regenerated.
26873 * sysdeps/s390/s390-64/configure: Regenerated.
26874 * sysdeps/sh/configure: Regenerated.
26875 * sysdeps/sparc/configure: Regenerated.
26876 * sysdeps/unix/sysv/linux/configure: Regenerated.
26877 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26878 * sysdeps/x86_64/configure: Regenerated.
26879
26880 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26881 defined. Don't check if MAP is NULL.
26882
26883 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26884
26885 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26886 (_G_stat64): Likewise.
26887 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26888 (_G_stat64): Likewise.
26889 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26890 instead of struct _G_stat64.
26891 * libio/fileops.c (mmap_remap_check): Likewise.
26892 (decide_maybe_mmap): Likewise.
26893 (_IO_new_file_seekoff): Likewise.
26894 (_IO_file_stat): Likewise.
26895 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26896 _G_off64_t.
26897 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26898 instead of struct _G_stat64.
26899 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26900
26901 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26902
26903 [BZ #14602]
26904 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26905 Replace with ...
26906 (CHECK_EOL): New macro.
26907 (two_way_short_needle): Check beginning of haystack for EOL. Use
26908 CHECK_EOL.
26909 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26910 Replace with CHECK_EOL.
26911 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26912 Replace with CHECK_EOL.
26913
26914 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26915
26916 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26917 type-generic.
26918 * math/libm-test.inc: Update comment listing what functions and
26919 macros are tested.
26920 (finite_test): New function.
26921 (isinf_test): Likewise.
26922 (isnan_test): Likewise.
26923 (fpclassify_test): Test subnormal input.
26924 (isfinite_test): Likewise.
26925 (isnormal_test): Likewise.
26926 (main): Call the new functions.
26927
26928 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26929
26930 [BZ #14660]
26931 * Makerules (%.dynsym): Force C locale when running
26932 $(OBJDUMP) --dynamic-syms.
26933
26934 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26935
26936 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26937 <stdint.h>.
26938
26939 2012-10-06 David S. Miller <davem@davemloft.net>
26940
26941 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26942 upper 32-bits of the length value in %o2 since we use branch-on-register
26943 tests which consider the entire 64-bit register.
26944
26945 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26946
26947 * string/test-strstr.c (check2): Add a test for page boundary.
26948
26949 2012-10-05 David S. Miller <davem@davemloft.net>
26950
26951 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26952 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26953 file.
26954 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26955 sysdep_routines.
26956 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26957 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26958 and bzero when HWCAP_SPARC_CRYPTO is present.
26959
26960 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26961
26962 [BZ #14602]
26963 * string/test-strstr.c (check2): New function.
26964 (test_main): Call check2.
26965
26966 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26967 and bug-strchr1.
26968 * string/bug-strcasestr1.c (do_test): Moved to ...
26969 * string/test-strcasestr.c (check1): Here. New function.
26970 (do_one_test): Break out result checking code into ...
26971 (check_result): This. New function.
26972 (do_one_test): Call check_result.
26973 (test_main): Call check1.
26974 * string/bug-strchr1.c (do_test): Moved to ...
26975 * string/test-strchr.c (check1): Here. New function.
26976 (do_one_test): Break out result checking code into ...
26977 (check_result): This. New function.
26978 (do_one_test): Call check_result.
26979 (test_main): Call check1.
26980 * string/bug-strstr1.c (main): Moved to ...
26981 * string/test-strstr.c (check1): Here. New function.
26982 (do_one_test): Break out result checking code into ...
26983 (check_result): This. New function.
26984 (do_one_test): Call check_result.
26985 (test_main): Call check1.
26986 * string/bug-strcasestr1.c: Removed.
26987 * string/bug-strchr1.c: Likewise.
26988 * string/bug-strstr1.c: Likewise.
26989
26990 * elf/Makefile (dl-routines): Add hwcaps.
26991 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26992 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26993 (_dl_important_hwcaps): Moved to ...
26994 * elf/dl-hwcaps.c: Here. New file.
26995 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26996
26997 [BZ #14557]
26998 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26999 if IS_IN_rtld isn't defined.
27000
27001 * elf/dl-support.c (_dl_sysinfo_map): New.
27002 Include "get-dynamic-info.h" and "setup-vdso.h".
27003 (_dl_non_dynamic_init): Call setup_vdso.
27004 * elf/dynamic-link.h: Don't include <assert.h>.
27005 (elf_get_dynamic_info): Moved to ...
27006 * elf/get-dynamic-info.h: Here. New file.
27007 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27008 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27009 * elf/setup-vdso.h: Here. New file.
27010 * elf/rtld.c: Include "setup-vdso.h".
27011 (dl_main): Call setup_vdso.
27012
27013 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27014
27015 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27016 creal in comment listing functions tested. List finite, isinf,
27017 isnan, isless, islessequal, isgreater, isgreaterequal,
27018 islessgreater, isunordered, lgamma_r and pow10 as functions and
27019 macros not tested. Mention which functions not tested are aliases
27020 for other functions. Fix typo. Note that signs of NaNs are not
27021 tested.
27022
27023 * scripts/config.guess: Update from config.git.
27024 * scripts/config.sub: Likewise.
27025
27026 2012-10-04 Roland McGrath <roland@hack.frob.com>
27027
27028 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27029 * misc/madvise.c (madvise): Renamed to __madvise.
27030 Make madvise a weak alias.
27031 * include/sys/mman.h: Declare __madvise.
27032 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27033 * sysdeps/unix/syscalls.list
27034 (madvise): Make __madvise the strong name, and madvise a weak alias.
27035 * sysdeps/unix/sysv/linux/syscalls.list
27036 (madvise, mmap): Remove redundant entries.
27037 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27038 * malloc/malloc.c (mtrim): Likewise.
27039 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27040
27041 2012-10-03 Roland McGrath <roland@hack.frob.com>
27042
27043 * sysdeps/mach/hurd/dl-cache.c: File removed.
27044 * config.h.in (USE_LDCONFIG): New #undef.
27045 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27046 * configure: Regenerated.
27047 * elf/Makefile (dl-routines): Add dl-cache only under
27048 [$(use-ldconfig) = yes].
27049 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27050 cache on [USE_LDCONFIG].
27051 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27052 [USE_LDCONFIG].
27053 * elf/rtld.c (dl_main): Likewise.
27054
27055 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27056
27057 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27058 _SC_LEVEL4_CACHE_LINESIZE.
27059
27060 2012-10-03 Roland McGrath <roland@hack.frob.com>
27061
27062 * sysdeps/unix/bsd/confstr.h: File removed.
27063
27064 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27065
27066 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27067 sys/sdt-config.h.
27068
27069 2012-10-02 Roland McGrath <roland@hack.frob.com>
27070
27071 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27072 Make 'mapoff' field ElfW(Off) rather than off_t.
27073
27074 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27075
27076 * nscd/Makefile: Remove nscd-cflags and all its users.
27077 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27078 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27079
27080 [BZ #10631]
27081 * malloc.c (malloc_printerr): Clarify error message.
27082
27083 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27084
27085 [BZ #14648]
27086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27087 Set bit_FMA_Usable if FMA is supported.
27088 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27089 macro.
27090 (bit_FMA4_Usable): Updated.
27091 (index_FMA_Usable): New macro.
27092 (CPUID_FMA): Likewise
27093 (HAS_FMA): Defined with bit_FMA_Usable.
27094
27095 2012-10-01 Roland McGrath <roland@hack.frob.com>
27096
27097 * bits/types.h (__swblk_t): Type removed.
27098 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27099 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27100 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27101 (__SWBLK_T_TYPE): Likewise.
27102 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27103 (__SWBLK_T_TYPE): Likewise.
27104 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27105 (__SWBLK_T_TYPE): Likewise.
27106 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27107 (__SWBLK_T_TYPE): Likewise.
27108
27109 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27110 Honza Horak <hhorak@redhat.com>
27111
27112 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27113 (xdr_mapname): Use YPMAXMAP as maxsize.
27114 (xdr_peername): Use YPMAXPEER as maxsize.
27115 (xdr_keydat): Use YPAXRECORD as maxsize.
27116 (xdr_valdat): Use YPMAXRECORD as maxsize.
27117
27118 2012-10-01 Roland McGrath <roland@hack.frob.com>
27119
27120 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27121
27122 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27123 * csu/init-first.c: ... here.
27124 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27125 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27126 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27127 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27128 * sysdeps/i386/init-first.c: File removed.
27129 * sysdeps/sh/init-first.c: File removed.
27130
27131 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27132
27133 [BZ #14645]
27134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27135 if x * y might underflow to zero and z is zero.
27136 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27137 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27138 * math/libm-test.inc (min_subnorm_value): New variable.
27139 (fma_test): Add more tests.
27140 (fma_test_towardzero): Likewise.
27141 (fma_test_downward): Likewise
27142 (fma_test_upward): Likewise.
27143 (initialize): Set min_subnorm_value.
27144
27145 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27146
27147 [BZ #14638]
27148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27149 0 + 0.
27150 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27151 mode for addition resulting in exact zero.
27152 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27154 exact 0 + 0.
27155 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27156 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27157 * math/libm-test.inc (fma_test): Add more tests.
27158 (fma_test_towardzero): New function.
27159 (fma_test_downward): Likewise.
27160 (fma_test_upward): Likewise.
27161 (main): Call the new functions.
27162
27163 2012-09-28 David S. Miller <davem@davemloft.net>
27164
27165 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27166
27167 2012-09-28 Roland McGrath <roland@hack.frob.com>
27168
27169 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27170 instead of SIGALRM.
27171
27172 * sysdeps/gnu/_G_config.h: Moved to ...
27173 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27174 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27175 * sysdeps/generic/_G_config.h: ... here.
27176
27177 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27178
27179 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27180
27181 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27182 Conditionalize target on [libnss_test1.so-version].
27183
27184 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27185
27186 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27187 (elfobjdir): Move out of conditionals.
27188
27189 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27190 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27191 (__nss_lookup_function): Conditionalize label remove_from_tree on
27192 [!DO_STATIC_NSS || SHARED], matching its only use.
27193
27194 2012-09-28 David S. Miller <davem@davemloft.net>
27195
27196 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27197 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27198 file.
27199 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27200 sysdep_routines.
27201 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27202 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27203 when HWCAP_SPARC_CRYPTO is present.
27204
27205 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27206
27207 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27208
27209 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27210
27211 [BZ #6530]
27212 * stdio-common/vfprintf.c (process_string_arg): Revert
27213 2000-07-22 change.
27214
27215 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27216
27217 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27218 for testcase.
27219 * stdio-common/tst-sprintf.c: Include <locale.h>
27220 (main): Test sprintf's handling of incomplete multibyte
27221 characters.
27222
27223 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27224
27225 * elf/dl-runtime.c (VERSYMIDX): Removed.
27226 * elf/dl-version.c (VERSYMIDX): Likewise.
27227 * elf/do-rel.h (VERSYMIDX): Likewise.
27228 (VALIDX): Likewise.
27229 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27230 * elf/rtld.c (VALIDX): Likewise.
27231 (ADDRIDX): Likewise.
27232 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27233 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27234 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27235 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27236 (VALIDX): Likewise.
27237 (ADDRIDX): Likewise.
27238
27239 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27240
27241 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27242
27243 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27244
27245 [BZ #11438]
27246 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27247 to global scope.
27248 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27249 addresses are in the same scope as 192.0.2/24.
27250 * posix/gai.conf: Document new scope table defaults.
27251
27252 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27253
27254 [BZ #5298]
27255 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27256 for ftell. Compute offsets from write pointers instead.
27257 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27258
27259 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27260
27261 [BZ #14543]
27262 * libio/Makefile (tests): New test case tst-fseek.
27263 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27264 combination works in wide mode.
27265 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27266 state when the external buffer state changes.
27267
27268 2012-09-27 David S. Miller <davem@davemloft.net>
27269
27270 [BZ #14376]
27271 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27272 pass reloc->r_addend in as the 'high' argument to
27273 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27274
27275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27276
27277 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27278
27279 * rt/tst-aio2.c: Include <pthread.h>.
27280 * rt/tst-aio3.c: Likewise.
27281
27282 2012-09-27 Steve Ellcey <sellcey@mips.com>
27283
27284 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27285
27286 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27287
27288 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27289 contents on [SHARED].
27290
27291 2012-09-26 Marek Polacek <polacek@redhat.com>
27292
27293 [BZ #14530]
27294 [BZ #13741]
27295 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27296 for C++ and GCC <4.3 as well as for non GCC compilers.
27297
27298 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27299
27300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27301
27302 2012-09-25 Roland McGrath <roland@hack.frob.com>
27303
27304 * Makefile.in (all, install): Declare with .PHONY.
27305 Reported by Michael Hope <michael.hope@linaro.org>.
27306
27307 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27308
27309 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27310 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27311 system header.
27312 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27313 Likewise.
27314 (sydep_routines): Add the new and the internal functions.
27315 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27316 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27318 (GLIBC_2.17): Add the new function.
27319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27320 (GLIBC_2.17): Likewise.
27321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27322 (GLIBC_2.17): Likewise.
27323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27324 (GLIBC_2.17): Likewise.
27325 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27326
27327 2012-09-25 Alan Modra <amodra@gmail.com>
27328
27329 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27330 Add release barrier before setting once_control to say
27331 initialisation is done. Add hints on lwarx. Use macro in
27332 place of isync.
27333 (clear_once_control): Add release barrier.
27334
27335 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27336
27337 [BZ #13629]
27338 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27339 specially.
27340 * math/s_clog10.c (__clog10): Likewise.
27341 * math/s_clog10f.c (__clog10f): Likewise.
27342 * math/s_clog10l.c (__clog10l): Likewise.
27343 * math/s_clogf.c (__clogf): Likewise.
27344 * math/s_clogl.c (__clogl): Likewise.
27345 * math/Makefile (libm-calls): Add x2y2m1.
27346 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27347 (__x2y2m1): Likewise.
27348 (__x2y2m1l): Likewise.
27349 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27350 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27351 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27352 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27353 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27354 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27355 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27356 * sysdeps/i386/fpu/libm-test-ulps: Update.
27357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27358
27359 [BZ #14621]
27360 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27361 int as type of variable DEPTH.
27362 (glob): Use size_t instead of int as type of variables NEWCOUNT
27363 and OLD_PATHC.
27364
27365 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27366
27367 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27368 Add s_sincosf-sse2.
27369 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27370 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27371 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27372 macros for using routine as __sincosf_ia32.
27373 Use macro for function declaration and weak_alias.
27374 * sysdeps/i386/fpu/libm-test-ulps: Update.
27375
27376 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27378
27379 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27380 subnormal argument.
27381 * math/s_cexpf.c (__cexpf): Likewise.
27382 * math/s_csinf.c (__csinf): Likewise.
27383 * math/s_csinhf.c (__csinhf): Likewise.
27384 * math/s_ctanf.c (__ctanf): Likewise.
27385 * math/s_ctanhf.c (__ctanhf): Likewise.
27386 * math/s_ccosh.c (__ccoshf): Likewise.
27387 * math/s_cexp.c (__cexpl): Likewise.
27388 * math/s_csin.c (__csin): Likewise.
27389 * math/s_csinh.c (__csinh): Likewise.
27390 * math/s_ctan.c (__ctan): Likewise.
27391 * math/s_ctanh.c (ctanh): Likewise.
27392 * math/s_ccoshl.c (__ccoshl): Likewise.
27393 * math/s_cexpl.c (__cexpl): Likewise.
27394 * math/s_csinl.c (__csinl): Likewise.
27395 * math/s_csinhl.c (__csinhl): Likewise.
27396 * math/s_ctanl.c (__ctanl): Likewise.
27397 * math/s_ctanhl.c (__ctanhl): Likewise.
27398
27399 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27400
27401 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27402 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27403 (_IO_off_t): Define to __off_t, not _G_off_t.
27404 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27405 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27406 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27407 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27408 type of __dummy and __dummy2 fields.
27409 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27410 (_G_ssize_t): Likewise.
27411 (_G_off_t): Likewise.
27412 (_G_pid_t): Likewise.
27413 (_G_uid_t): Likewise.
27414 (_G_wchar_t): Likewise.
27415 (_G_wint_t): Likewise.
27416 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27417 (_G_ssize_t): Likewise.
27418 (_G_off_t): Likewise.
27419 (_G_pid_t): Likewise.
27420 (_G_uid_t): Likewise.
27421 (_G_wchar_t): Likewise.
27422 (_G_wint_t): Likewise.
27423 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27424 (_G_ssize_t): Likewise.
27425 (_G_off_t): Likewise.
27426 (_G_pid_t): Likewise.
27427 (_G_uid_t): Likewise.
27428 (_G_wchar_t): Likewise.
27429 (_G_wint_t): Likewise.
27430
27431 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27432
27433 * malloc/arena.c: Include malloc-sysdep.h.
27434 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27435 is sufficient to shrink the heap or an unmap is needed.
27436 * sysdeps/generic/malloc-sysdep.h: New file. Define
27437 new function check_may_shrink_heap.
27438 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27439 new function check_may_shrink_heap.
27440
27441 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27442
27443 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27444 comments.
27445
27446 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27447
27448 * catgets/test-gencat.sh: Add "set -e".
27449 * elf/tst-pathopt.sh: Likewise.
27450 * grp/tst_fgetgrent.sh: Likewise.
27451 * iconvdata/run-iconv-test.sh: Likewise.
27452 * intl/tst-gettext.sh: Likewise.
27453 * intl/tst-gettext2.sh: Likewise.
27454 * intl/tst-gettext4.sh: Likewise.
27455 * intl/tst-gettext6.sh: Likewise.
27456 * intl/tst-translit.sh: Likewise.
27457 * io/ftwtest-sh: Likewise.
27458 * libio/test-freopen.sh: Likewise.
27459 * malloc/tst-mtrace.sh: Likewise.
27460 * posix/globtest.sh: Likewise.
27461 * posix/tst-getconf.sh: Likewise.
27462 * posix/wordexp-tst.sh: Likewise.
27463 * stdio-common/tst-printf.sh: Likewise.
27464 * stdio-common/tst-unbputc.sh: Likewise.
27465 * stdlib/tst-fmtmsg.sh: Likewise.
27466 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27467 * catgets/Makefile: Do not specify -e option when running
27468 testsuite shell scripts.
27469 * elf/Makefile: Likewise.
27470 * grp/Makefile: Likewise.
27471 * iconvdata/Makefile: Likewise.
27472 * intl/Makefile: Likewise.
27473 * io/Makefile: Likewise.
27474 * libio/Makefile: Likewise.
27475 * malloc/Makefile: Likewise.
27476 * posix/Makefile: Likewise.
27477 * stdio-common/Makefile: Likewise.
27478 * stdlib/Makefile: Likewise.
27479 * sysdeps/x86_64/Makefile: Likewise.
27480
27481 * io/ftwtest-sh: Add copyright header.
27482 * posix/globtest.sh: Likewise.
27483 * posix/tst-getconf.sh: Likewise.
27484 * posix/wordexp-tst.sh: Likewise.
27485 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27486
27487 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27488
27489 [BZ #13679]
27490 * Makeconfig (+link): Defined as $(+link-static) if
27491 $(build-shared) isn't yes.
27492 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27493 isn't yes.
27494 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27495
27496 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27497
27498 [BZ #14562]
27499 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27500 new chunk size with MALLOC_ALIGN_MASK.
27501
27502 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27503
27504 [BZ #5044]
27505 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27506 <rounding-mode.h>.
27507 (__printf_fphex): Determine rounding using get_rounding_mode and
27508 round_away.
27509 * stdio-common/tst-printf-round.c (struct hex_test): New
27510 structure.
27511 (hex_tests): New variable.
27512 (test_hex_in_one_mode): New function.
27513 (do_test): Also run tests for hex float output.
27514
27515 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27516
27517 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27518 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27519 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27520 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27521 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27522 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27523 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27524 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27525
27526 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27527
27528 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27529 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27530 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27531 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27532
27533 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27534
27535 [BZ #14579]
27536 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27537 mode only.
27538 * elf/tst-rtld-load-self.sh: New test.
27539 * elf/Makefile: Run it.
27540
27541 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27542
27543 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27544 (tst-writev-ENV): Remove.
27545 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27546
27547 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27548
27549 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27550
27551 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27552
27553 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27554 unconditional.
27555 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27556 Likewise.
27557 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27558 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27559 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27560 Likewise.
27561
27562 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27563
27564 [BZ #14587]
27565 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27566 * config.make.in (have-cpp-asm-debuginfo): Removed.
27567 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27568 * configure: Regenerated.
27569
27570 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27571
27572 [BZ #5044]
27573 * stdio-common/printf_fp.c: Include <stdbool.h> and
27574 <rounding-mode.h>.
27575 (___printf_fp): Determine rounding using get_rounding_mode and
27576 round_away.
27577 * stdio-common/tst-printf-round.c: New file.
27578 * stdio-common/Makefile (tests): Add tst-printf-round.
27579 (link-libm): New variable.
27580 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27581
27582 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27583
27584 [BZ #14576]
27585 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27586 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27587 Likewise.
27588 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27589 Likewise.
27590
27591 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27592
27593 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27594 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27595 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27596 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27597
27598 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27599
27600 [BZ #14518]
27601 * include/rounding-mode.h: New file.
27602 * sysdeps/generic/get-rounding-mode.h: Likewise.
27603 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27604 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27605 (MAX_VALUE): New macro.
27606 (MIN_VALUE): Likewise.
27607 (overflow_value): New function.
27608 (underflow_value): Likewise.
27609 (round_and_return): Use overflow_value and underflow_value to
27610 determine return values in overflow and underflow cases. Use
27611 round_away to determine rounding depending on rounding mode.
27612 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27613 determine return values in overflow and underflow cases.
27614 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27615 (struct test_results): New structure.
27616 (struct test): Use struct test_results to store expected results
27617 for all rounding modes.
27618 (TEST): Include expected results for all rounding modes.
27619 (test_in_one_mode): New function.
27620 (do_test): Use test_in_one_mode to compute and check results.
27621 Check results for all rounding modes.
27622 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27623 $(link-libm).
27624
27625 2012-12-09 Allan McRae <allan@archlinux.org>
27626
27627 * sysdeps/i386/fpu/libm-test-ulps: Update
27628
27629 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27630
27631 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27632 (_G_int32_t): Likewise.
27633 (_G_uint16_t): Likewise.
27634 (_G_uint32_t): Likewise.
27635 (_G_HAVE_BOOL): Likewise.
27636 (_G_HAVE_ATEXIT): Likewise.
27637 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27638 (_G_HAVE_IO_FILE_OPEN): Likewise.
27639 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27640 (_G_int32_t): Likewise.
27641 (_G_uint16_t): Likewise.
27642 (_G_uint32_t): Likewise.
27643 (_G_HAVE_BOOL): Likewise.
27644 (_G_HAVE_ATEXIT): Likewise.
27645 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27646 (_G_HAVE_IO_FILE_OPEN): Likewise.
27647 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27648 (_G_int32_t): Likewise.
27649 (_G_uint16_t): Likewise.
27650 (_G_uint32_t): Likewise.
27651 (_G_HAVE_BOOL): Likewise.
27652 (_G_HAVE_ATEXIT): Likewise.
27653 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27654 (_G_HAVE_IO_FILE_OPEN): Likewise.
27655
27656 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27657
27658 * csu/libc-tls.c: Update copyright years.
27659
27660 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27661
27662 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27663 [!_G_USING_THUNKS]: Remove conditional code.
27664 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27665 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27666
27667 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27668 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27669 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27670 (_G_VTABLE_LABEL_PREFIX): Likewise.
27671 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27672 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27673 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27674 (_G_VTABLE_LABEL_PREFIX): Likewise.
27675 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27676 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27677 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27678 (_G_VTABLE_LABEL_PREFIX): Likewise.
27679 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27680
27681 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27682
27683 * libio/Makefile: Include ../Makeconfig before tests.
27684 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27685 only if $(build-shared) is yes.
27686
27687 * iconv/gconv_db.c: Update copyright years.
27688
27689 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27690
27691 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27692 unwind info if defined PIC. Fix special cases description.
27693 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27694
27695 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27696 DP_HI_MASK entry.
27697 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27698
27699 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27700
27701 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27702
27703 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27704 is NULL.
27705
27706 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27707 (LDLIBS-tst-chk4): This.
27708 (LDFLAGS-tst-chk5): Renamed to ...
27709 (LDLIBS-tst-chk5): This.
27710 (LDFLAGS-tst-chk6): Renamed to ...
27711 (LDLIBS-tst-chk6): This.
27712 (LDFLAGS-tst-lfschk4): Renamed to ...
27713 (LDLIBS-tst-lfschk4): This.
27714 (LDFLAGS-tst-lfschk5): Renamed to ...
27715 (LDLIBS-tst-lfschk5): This.
27716 (LDFLAGS-tst-lfschk6): Renamed to ...
27717 (LDLIBS-tst-lfschk6): This.
27718
27719 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27720 on $(common-objpfx)soversions.mk.
27721
27722 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27723
27724 [BZ #10014]
27725 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27726 example host name.
27727
27728 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27729
27730 * malloc/arena.c (arena_get_retry): New function that gets
27731 another arena for the caller to try its request on.
27732 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27733 current arena cannot fulfill the request.
27734 (__libc_memalign): Likewise.
27735 (__libc_memalign): Likewise.
27736 (__libc_pvalloc): Likewise.
27737 (__libc_calloc): Likewise.
27738
27739 2012-09-05 John Tobey <john.tobey@gmail.com>
27740
27741 [BZ #13542]
27742 * manual/arith.texi (Operations on Complex): Fix description
27743 of carg branch cut.
27744
27745 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27746
27747 [BZ #10014]
27748 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27749 host name.
27750
27751 [BZ #10038]
27752 * manual/memory.texi (Memory): Make order of menu items match
27753 order of sections.
27754
27755 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27756
27757 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27758 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27759 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27760
27761 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27762
27763 * csu/libc-tls.c (static_dtv): Renamed to ...
27764 (_dl_static_dtv): This. Make it global.
27765 (_dl_initial_dtv): Removed.
27766 (__libc_setup_tls): Updated.
27767 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27768 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27769 DL_INITIAL_DTV.
27770
27771 2012-09-06 Petr Machata <pmachata@redhat.com>
27772
27773 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27774 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27775 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27776 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27777
27778 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27779
27780 [BZ #14545]
27781 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27782 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27783 freeing dtv[-1].
27784
27785 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27786
27787 [BZ #14544]
27788 * Makeconfig (link-static-before-libc): Replace $(+prector)
27789 with $(+prectorT).
27790 (link-static-after-libc): Replace $(+postctor) with
27791 $(+postctorT).
27792 (link-bounded): Replace $(+prector)/$(+postctor) with
27793 $(+prectorT)/$(+postctorT).
27794 (+prectorT): New macro.
27795 (+postctorT): Likewise.
27796
27797 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27798
27799 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27800 (round_str): Handle values above the maximum for IBM long double
27801 as inexact.
27802 * stdlib/tst-strtod-round.c (tests): Regenerated.
27803
27804 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27805
27806 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27807 assembler flag.
27808 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27809 zarch_nohighgprs around the zarch optimized routines.
27810 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27811 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27812 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27813 for zarch.
27814
27815 2012-09-05 David S. Miller <davem@davemloft.net>
27816
27817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27818
27819 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27820 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27821 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27822 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27823 entries.
27824
27825 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27826
27827 * malloc/arena.c: Fold copyright years.
27828 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27829
27830 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27831
27832 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27833
27834 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27835
27836 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27837
27838 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27839
27840 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27841 change internal state upon failure.
27842
27843 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27844
27845 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27846 * malloc/memusage.c (mmap): Likewise.
27847 (mmap64, mremap): Likewise. Adjust name in comment.
27848
27849 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27850
27851 * libio/fileops.c: Fix typos in comments.
27852 * libio/oldfileops.c: Likewise.
27853 * libio/wfileops.c: Likewise.
27854
27855 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27856
27857 [BZ #1349]
27858 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27859 (tst-malloc-usable-ENV): Set environment for test case.
27860 * malloc/hooks.c (malloc_check_get_size): New function to get
27861 requested size.
27862 * malloc/malloc.c (musable): Use malloc_check_get_size.
27863 * malloc/tst-malloc-usable.c: New test case.
27864
27865 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27866
27867 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27868
27869 2012-09-05 Allan McRae <allan@archlinux.org>
27870
27871 [BZ #13966]
27872 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27873 determine header location.
27874 * configure: Regenerated.
27875
27876 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27877
27878 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27879 float format.
27880 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27881 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27882 format.
27883 (test): Regenerate.
27884
27885 2012-09-04 David S. Miller <davem@davemloft.net>
27886
27887 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27888 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27889 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27890
27891 2012-09-04 Florian Weimer <fweimer@redhat.com>
27892
27893 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27894 failures.
27895
27896 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27897
27898 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27899
27900 [BZ #9914]
27901 * libio/iogetdelim.c: Include <limits.h>.
27902 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27903 + len + 1 would overflow.
27904
27905 2012-09-03 Andreas Jaeger <aj@suse.de>
27906
27907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27908 * sysdeps/i386/fpu/libm-test-ulps: Update.
27909
27910 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27911
27912 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27913 Add s_sinf-sse2, s_conf-sse2.
27914
27915 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27916 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27917 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27918 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27919
27920 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27921 for using routine as __sinf_ia32.
27922 Use macro for function declaration and weak_alias.
27923 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27924 for using routine as __cosf_ia32.
27925 Use macro for function declaration and weak_alias.
27926
27927 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27928 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27929
27930 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27931 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27933
27934 * math/libm-test.inc (cos_test): Add more test cases.
27935 (sin_test): Likewise.
27936 (sincos_test): Likewise.
27937
27938 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27939
27940 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27941 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27942 hidden.
27943 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27944
27945 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27946
27947 [BZ #14538]
27948 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27949 first element of the GOT.
27950 (elf_machine_load_address): Return the difference between
27951 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27952
27953 2012-09-01 Allan McRae <allan@archlinux.org>
27954
27955 [BZ #13412]
27956 * configure.in (AWK): Require gawk version 3.0 or later.
27957 * configure: Regenerated.
27958
27959 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27960
27961 * sysdeps/unix/sysv/linux/kernel-features.h
27962 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27963 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27964 [__NR_clock_getres]: Make code unconditional.
27965 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27966 (clock_getcpuclockid): Remove code left unreachable by removal of
27967 conditionals.
27968 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27969 code unconditional.
27970 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27971 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27972 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27973 Make code unconditional.
27974 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27975 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27976 * sysdeps/unix/sysv/linux/clock_settime.c
27977 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27978 conditional code.
27979 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27980 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27981
27982 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27983
27984 [BZ #14476]
27985 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27986 scripts/test-installation.pl.
27987
27988 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27989 and $ld_so_version if it is set.
27990
27991 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27992
27993 [BZ #14516]
27994 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27995 failure if reading from procfs failed.
27996 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27997
27998 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27999
28000 * sysdeps/unix/sysv/linux/kernel-features.h
28001 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28002 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28003 Remove conditional code.
28004 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28005 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28006 Remove conditional code.
28007 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28008 * sysdeps/unix/sysv/linux/i386/fxstat.c
28009 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28010 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28011 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28012 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28013 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28014 * sysdeps/unix/sysv/linux/i386/lxstat.c
28015 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28016 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28017 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28018 Remove conditional code.
28019 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28020 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28021 Remove conditional code.
28022 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28023 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28024 <kernel-features.h>.
28025 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28026 Remove.
28027 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28028 Remove conditional code.
28029 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28030 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28031 Remove conditional.
28032
28033 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28034
28035 [BZ #5400]
28036 * NEWS: Add fixed bug number.
28037
28038 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28039
28040 [BZ #14519]
28041 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28042 underflowing exponent in case of negative sign.
28043 * stdlib/tst-strtod-round-data: Add more tests.
28044 * stdlib/tst-strtod-round.c (tests): Regenerated.
28045
28046 [BZ #3479]
28047 * stdlib/strtod_l.c (NDIG): Remove.
28048 (HEXNDIG): Likewise.
28049 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28050 smallest representable value.
28051 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28052 lie within an exact representation of 1/2 ulp of the result.
28053 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28054 unconditionally.
28055 (TENS_P9_IDX): Define unconditionally.
28056 (TENS_P9_SIZE): Likewise.
28057 (TENS_P10_IDX): Likewise.
28058 (TENS_P10_SIZE): Likewise.
28059 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28060 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28061 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28062 entries for 10^2^13 and 10^2^14.
28063 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28064 (TENS_P13_IDX): Define.
28065 (TENS_P13_SIZE): Likewise.
28066 (TENS_P14_IDX): Likewise.
28067 (TENS_P14_SIZE): Likewise.
28068 (_fpioconst_pow10): Change array size to
28069 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28070 unconditional.
28071 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28072 1024]: Add entries for 10^2^13 and 10^2^14.
28073 [LAST_POW10 > _LAST_POW10]: Remove #error.
28074 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28075 (_fpioconst_pow10): Change array size to
28076 FPIOCONST_POW10_ARRAY_SIZE.
28077 * stdlib/gen-fpioconst.c: New file.
28078 * stdlib/gen-tst-strtod-round.c: Likewise.
28079 * stdlib/tst-strtod-round-data: Likewise.
28080 * stdlib/tst-strtod-round.c: Likewise.
28081 * stdlib/Makefile (tests): Add tst-strtod-round.
28082
28083 [BZ #14459]
28084 * stdlib/strtod_l.c: Include <stdint.h>.
28085 (NDEBUG): Do not define.
28086 (round_and_return): Change EXPONENT parameter to type intmax_t.
28087 Rearrange calculations to avoid internal overflow possibilities.
28088 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28089 Rearrange calculations to avoid internal overflow possibilities.
28090 Assert that number fits inside MPNSIZE limbs.
28091 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28092 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28093 calculations and add assertions to avoid internal overflow
28094 possibilities. Add casts to avoid signed/unsigned operations.
28095 * stdlib/tst-strtod-overflow.c: New file.
28096 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28097
28098 2012-08-25 Marek Polacek <polacek@redhat.com>
28099
28100 * time/time.h: Fix some typos in comments.
28101
28102 2012-08-23 Roland McGrath <roland@hack.frob.com>
28103
28104 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28105 * posix/tst-rfc3484-2.c: Likewise.
28106 * posix/tst-rfc3484-3.c: Likewise.
28107
28108 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28109
28110 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28111 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28112
28113 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28114
28115 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28116 #include of fxstatat64.c.
28117
28118 2012-08-22 Roland McGrath <roland@hack.frob.com>
28119
28120 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28121 * shadow/getspent_r.c: Likewise.
28122 * shadow/getspnam.c: Likewise.
28123 * shadow/getspnam_r.c: Likewise.
28124 * gshadow/getsgent.c: Likewise.
28125 * gshadow/getsgent_r.c: Likewise.
28126 * gshadow/getsgnam.c: Likewise.
28127 * gshadow/getsgnam_r.c: Likewise.
28128 * inet/getnetbyad.c: Likewise.
28129 * inet/getnetbyad_r.c: Likewise.
28130 * inet/getnetbynm.c: Likewise.
28131 * inet/getnetbynm_r.c: Likewise.
28132 * inet/getnetent.c: Likewise.
28133 * inet/getnetent_r.c: Likewise.
28134 * inet/getproto.c: Likewise.
28135 * inet/getproto_r.c: Likewise.
28136 * inet/getprtent.c: Likewise.
28137 * inet/getprtent_r.c: Likewise.
28138 * inet/getprtname.c: Likewise.
28139 * inet/getprtname_r.c: Likewise.
28140 * inet/getrpcbyname.c: Likewise.
28141 * inet/getrpcbyname_r.c: Likewise.
28142 * inet/getrpcbynumber.c: Likewise.
28143 * inet/getrpcbynumber_r.c: Likewise.
28144 * inet/getrpcent.c: Likewise.
28145 * inet/getrpcent_r.c: Likewise.
28146 * inet/getaliasent.c: Likewise.
28147 * inet/getaliasent_r.c: Likewise.
28148 * inet/getaliasname.c: Likewise.
28149 * inet/getaliasname_r.c: Likewise.
28150 * nscd/getgrgid_r.c: Likewise.
28151 * nscd/getgrnam_r.c: Likewise.
28152 * nscd/gethstbyad_r.c: Likewise.
28153 * nscd/gethstbynm3_r.c: Likewise.
28154 * nscd/getpwnam_r.c: Likewise.
28155 * nscd/getpwuid_r.c: Likewise.
28156 * nscd/getsrvbynm_r.c: Likewise.
28157 * nscd/getsrvbypt_r.c: Likewise.
28158 * nscd/gai.c: Likewise.
28159
28160 * configure.in (build_nscd): New substituted variable, set
28161 by --disable-build-nscd and defaults to $use_nscd.
28162 * configure: Regenerated.
28163 * config.make.in (build-nscd): New substituted variable.
28164 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28165 Change conditional to require [$(build-nscd) = yes] as well.
28166 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28167
28168 [BZ# 13696]
28169 * configure.in (use_nscd): New substituted variable, set by
28170 --disable-nscd. If enabled, define USE_NSCD.
28171 * configure: Regenerated.
28172 * config.h.in: Add USE_NSCD.
28173 * config.make.in (use-nscd): New substituted variable.
28174 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28175 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28176 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28177 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28178 (CFLAGS-getgrnam_r.c): Likewise.
28179 (CFLAGS-initgroups.c): Likewise.
28180 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28181 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28182 Variables removed.
28183 * inet/getnetgrent_r.c
28184 (nscd_setnetgrent): New function, broken out of ...
28185 (setnetgrent): ... here. Call it.
28186 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28187 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28188 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28189 * nscd/Makefile (routines, aux): Move definitions after include of
28190 Makeconfig. Conditionalize on [$(use-nscd) != no].
28191 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28192 Conditionalize on [USE_NSCD].
28193 (is_nscd, nscd_init_cb): Likewise.
28194 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28195 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28196 * nss/nss_db/db-init.c: Likewise.
28197 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28198 [USE_NSCD].
28199 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28200 (make_request): Use it.
28201 (cache_valid_p): New function.
28202 (__check_pf): Use it.
28203 * NEWS: Add item for --disable-nscd.
28204
28205 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28206
28207 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28208 to support sed >= 4.2.1-20-ga9bf076.
28209 * configure: Regenerated.
28210
28211 2012-08-22 Roland McGrath <roland@hack.frob.com>
28212
28213 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28214 Conditionalize whole body on [IREL].
28215
28216 2012-08-22 Jeff Law <law@redhat.com>
28217
28218 [BZ #14505]
28219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28220 if the family is PF_UNSPEC.
28221
28222 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28223
28224 * Makerules (lib-version): Rename from V.
28225 (install-lib-nosubdir): Change V to lib-version.
28226
28227 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28228
28229 [BZ #14252]
28230 * powerpc32/power6/wcschr.c: New file.
28231 * powerpc32/power6/wcscpy.c: New file.
28232 * powerpc32/power6/wcsrchr.c: New file.
28233 * powerpc64/power6/wcschr.c: New file.
28234 * powerpc64/power6/wcscpy.c: New file.
28235 * powerpc64/power6/wcsrchr.c: New file.
28236
28237 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28238
28239 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28240 (two_way_short_needle): Use it.
28241 * string/strstr.c (AVAILABLE1_USES_J): Define.
28242 * string/strcasestr.c: Likewise.
28243
28244 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28245 array references.
28246 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28247
28248 [BZ #11607]
28249 * NEWS: Add an entry.
28250 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28251 define their defaults.
28252 (two_way_short_needle): Detect end-of-string on-the-fly.
28253 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28254 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28255 * string/bug-strcasestr1.c: New test.
28256 * string/Makefile: Run it.
28257
28258 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28259
28260 [BZ #11607]
28261 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28262 the first character.
28263
28264 2012-08-21 Roland McGrath <roland@hack.frob.com>
28265
28266 * csu/elf-init.c (__libc_csu_irel): Function removed.
28267 * csu/libc-start.c (apply_irel): New function.
28268 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28269
28270 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28271
28272 * sysdeps/unix/sysv/linux/kernel-features.h
28273 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28274 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28275 <kernel-features.h>.
28276 [__NR_fadvise64_64]: Make code unconditional.
28277 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28278 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28279 !__NR_fadvise64_64)]: Likewise.
28280 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28281 !__NR_fadvise64_64))]: Likewise.
28282 [__NR_fadvise64]: Make code unconditional.
28283 [!__NR_fadvise64]: Remove conditional code.
28284 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28285 <kernel-features.h>.
28286 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28287 unconditional.
28288 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28289 conditional code.
28290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28291 not include <kernel-features.h>.
28292 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28293 unconditional.
28294 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28295 conditional code.
28296 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28297 include <kernel-features.h>.
28298 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28299 unconditional.
28300 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28301 conditional code.
28302
28303 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28304
28305 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28306 slight instruction rearrangements per scrollpipe analysis.
28307 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28308
28309 2012-08-20 Roland McGrath <roland@hack.frob.com>
28310
28311 * manual/syslog.texi (syslog; vsyslog, closelog):
28312 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28313 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28314
28315 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28316 DSOCAPS to match condition on defining it.
28317
28318 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28319
28320 * sysdeps/unix/sysv/linux/kernel-features.h
28321 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28323 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28324 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28326 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28327 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28329 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28330 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28331
28332 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28333 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28334
28335 * sysdeps/unix/sysv/linux/kernel-features.h
28336 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28337 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28338 unconditional.
28339 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28340 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28341 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28342 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28343 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28344 Make code unconditional.
28345 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28346 (__mmap64) [!__NR_mmap2]: Likewise.
28347 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28348 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28349 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28350 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28351 [__NR_mmap2]: Make code unconditional.
28352 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28353 (__mmap64) [!__NR_mmap2]: Likewise.
28354
28355 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28356
28357 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28358
28359 2012-08-18 Andreas Jaeger <aj@suse.de>
28360
28361 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28362
28363 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28364
28365 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28366 * include/unistd.h (__have_sock_cloexec): Likewise.
28367 (__have_pipe2): Likewise.
28368 (__have_dup3): Likewise.
28369
28370 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28371
28372 [BZ #9685]
28373 * include/unistd.h (__have_pipe2): Change define into an extern int.
28374 (__have_dup3): Likewise.
28375 * socket/have_sock_cloexec.c: Include fcntl.h.
28376 (__have_pipe2): New variable.
28377 (__have_dup3): Likewise.
28378
28379 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28380
28381 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28382
28383 2012-08-17 Marek Polacek <polacek@redhat.com>
28384
28385 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28386 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28387
28388 2012-08-17 Roland McGrath <roland@hack.frob.com>
28389
28390 * configure.in: Add AC_SUBST for sysheaders.
28391 * configure: Regenerated.
28392 * config.make.in (sysheaders): New substituted variable.
28393
28394 * sysdeps/unix/mkfifo.c: Moved ...
28395 * sysdeps/posix/mkfifo.c: ... here.
28396 * sysdeps/unix/mkfifoat.c: Moved ...
28397 * sysdeps/posix/mkfifoat.c: ... here.
28398
28399 * sysdeps/unix/utime.c: Moved ...
28400 * sysdeps/posix/utime.c: ... here.
28401
28402 * sysdeps/unix/time.c: Moved ...
28403 * sysdeps/posix/time.c: ... here.
28404 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28405 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28406
28407 * sysdeps/unix/nice.c: Moved ...
28408 * sysdeps/posix/nice.c: ... here.
28409
28410 * sysdeps/unix/alarm.c: Moved ...
28411 * sysdeps/posix/alarm.c: ... here.
28412
28413 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28414
28415 2012-08-17 Jeff Law <law@redhat.com>
28416
28417 * intl/Makefile (codeset_mo): New variable.
28418 ($(codeset_mo)): New target.
28419 (tst-codeset.out): Depend on that. Remove explicit rule.
28420 (tst-gettext3.out, tst-gettext5.out): Likewise.
28421 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28422 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28423 * intl/tst-codeset.sh: Remove.
28424 * intl/tst-gettext3.sh: Likewise.
28425 * intl/tst-gettext5.sh: Likewise.
28426
28427 2012-08-17 Roland McGrath <roland@hack.frob.com>
28428
28429 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28430 * sysdeps/unix/syscalls.list: ... here.
28431
28432 * sysdeps/posix/getaddrinfo.c
28433 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28434 (gaiconf_init, gaiconf_reload): Use them.
28435 [!_STATBUF_ST_NSEC]
28436 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28437 Define using time_t rather than struct timespec.
28438
28439 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28440 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28441 Macros removed.
28442 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28443 [!NO_THREADS].
28444 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28445 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28446 Likewise.
28447
28448 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28449 __libc_cleanup_push argument.
28450
28451 * bits/param.h: New file.
28452 * misc/sys/param.h: New file.
28453 * include/sys/param.h: New file.
28454 * misc/Makefile (headers): Add bits/param.h.
28455 * sysdeps/generic/sys/param.h: File removed.
28456 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28457 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28458 * sysdeps/mach/hurd/bits/param.h: New file.
28459 * sysdeps/mach/hurd/sys/param.h: File removed.
28460
28461 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28462 last change.
28463
28464 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28465 [_IO_MTSAFE_IO].
28466 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28467 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28468 New macros.
28469
28470 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28471 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28472 rather than -D_IO_MTSAFE_IO conditionally.
28473 * stdio-common/Makefile (CPPFLAGS): Likewise.
28474 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28475 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28476 Use $(libio-mtsafe).
28477 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28478 of -D_IO_MTSAFE_IO.
28479 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28480 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28481 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28482 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28483 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28484 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28485 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28486 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28487 (CFLAGS-fread_u_chk.c): Likewise.
28488 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28489 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28490 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28491 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28492 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28493 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28494 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28495 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28496 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28497
28498 * libio/Makefile: Test [$(libc-reentrant) = yes]
28499 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28500
28501 * Makeconfig
28502 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28503 * sysdeps/pthread/configure: File removed.
28504 * sysdeps/pthread/Makeconfig: New file.
28505 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28506 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28507
28508 2012-08-16 Gary Benson <gbenson@redhat.com>
28509
28510 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28511 unmapping the first object in a namespace.
28512
28513 2012-08-16 Roland McGrath <roland@hack.frob.com>
28514
28515 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28516 (__internal_setnetgrent): ... this. Add internal_function to
28517 definition. Add libc_hidden_def.
28518 (setnetgrent): Update caller.
28519 (internal_endnetgrent): Renamed to ...
28520 (__internal_endnetgrent): ... this. Add internal_function to
28521 definition. Add libc_hidden_def.
28522 (endnetgrent): Update caller.
28523 (internal_getnetgrent_r): Renamed to ...
28524 (__internal_getnetgrent_r): ... this. Add internal_function to
28525 definition. Add libc_hidden_def.
28526 (__getnetgrent_r): Update caller.
28527 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28528
28529 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28530
28531 * stdlib/longlong.h: Update from GCC.
28532
28533 2012-08-16 Roland McGrath <roland@hack.frob.com>
28534
28535 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28536 on _QL, which is set by umul_ppmm but never used.
28537 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28538 variables, which are set by GMP macros but never used.
28539 * stdio-common/_itowa.c (_itowa): Likewise.
28540 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28541 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28542
28543 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28544
28545 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28546 struct La_sh_regs is not constant.
28547 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28548 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28549 and struct La_sparc64_regs are not constant.
28550
28551 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28552
28553 * sysdeps/unix/sysv/linux/kernel-features.h
28554 (__ASSUME_POSIX_TIMERS): Remove.
28555 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28556 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28557 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28558 Make code unconditional.
28559 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28560 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28561 Make code unconditional.
28562 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28563 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28564 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28565 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28566 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28567 Make code unconditional.
28568 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28569 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28570 (__libc_missing_posix_timers): Remove.
28571
28572 2012-08-15 Roland McGrath <roland@hack.frob.com>
28573
28574 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28575 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28576
28577 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28578
28579 * elf/dl-sym.c: Include <stdlib.h>.
28580
28581 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28582 constants, which avoids warnings in 32-bit builds.
28583
28584 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28585 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28586
28587 * misc/lseek.c: File moved to ...
28588 * io/lseek.c: ... here.
28589
28590 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28591
28592 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28593 shifting LEN more than 31 bits at once.
28594
28595 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28596
28597 [BZ #14195]
28598 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28599 segmentation fault for a case of two empty input strings.
28600 * string/test-strncasecmp.c (check1): Renamed to...
28601 (bz12205): ...this.
28602 (bz14195): Add new testcase for two empty input strings and N > 0.
28603 (test_main): Call new testcase, adapt for renamed function.
28604
28605 2012-08-15 Andreas Jaeger <aj@suse.de>
28606
28607 [BZ #14090]
28608 * crypt/md5test2.c: New test, based on test supplied by Serge
28609 Belyshev <belyshev@depni.sinp.msu.ru>.
28610 * crypt/Makefile (xtests): Add md5test-giant..
28611 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28612
28613 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28614
28615 [BZ #14090]
28616 * crypt/md5.c (md5_process_block): Don't assume the buffer
28617 length is less than 2**32.
28618 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28619 length is less than 2**64.
28620
28621 2012-08-15 Roland McGrath <roland@hack.frob.com>
28622
28623 * string/str-two-way.h: Include <sys/param.h>.
28624 (MAX): Macro removed.
28625
28626 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28627 Move #define and #undef of memmove to just before and after
28628 including <string.h>.
28629
28630 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28631 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28632 and after including <string.h>. Move declarations of
28633 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28634 to before #include "string/memmove.c".
28635
28636 * include/dirent.h: Declare __getdirentries.
28637
28638 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28639 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28640
28641 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28642
28643 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28644 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28645 * sysdeps/i386/configure: Regenerated.
28646 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28647 STABS_CURRENT_FILE, and STABS_FUN.
28648 (END): Remove call to STABS_FUN_END.
28649 (STABS_CURRENT_FILE1): Delete.
28650 (STABS_CURRENT_FILE): Likewise.
28651 (STABS_FUN): Likewise.
28652 (STABS_FUN_END): Likewise.
28653 (STABS_FUN2): Likewise.
28654 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28655 * sysdeps/x86_64/configure: Regenerated.
28656
28657 2012-08-14 Roland McGrath <roland@hack.frob.com>
28658
28659 * elf/dl-open.c: Include <atomic.h>.
28660 * elf/dl-lookup.c: Likewise.
28661
28662 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28663
28664 * sysdeps/unix/sysv/linux/kernel-features.h
28665 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28666 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28667 unconditionally.
28668 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28669 unconditionally.
28670 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28671 condition on __ASSUME_CLONE_THREAD_FLAGS.
28672
28673 2012-08-14 Andreas Jaeger <aj@suse.de>
28674
28675 * sysdeps/i386/fpu/libm-test-ulps: Update.
28676
28677 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28678
28679 * include/atomic.h (atomic_exchange_and_add): Split into ...
28680 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28681 New atomic macros.
28682
28683 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28684
28685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28686
28687 2012-08-13 Jeff Law <law@redhat.com>
28688
28689 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28690 null byte in the output string.
28691
28692 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28693
28694 * sysdeps/unix/sysv/linux/kernel-features.h
28695 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28696 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28697 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28698 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28699 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28700 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28701 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28702
28703 2012-08-09 Jeff Law <law@redhat.com>
28704
28705 [BZ #13939]
28706 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28707 When avoid_arena is set, don't retry in the that arena. Pick the
28708 next one, whatever it might be.
28709 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28710 (arena_lock): Pass in new parameter to arena_get2.
28711 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28712 arena_get2.
28713 (__libc_malloc): Unify retrying after main arena failure with
28714 __libc_memalign version.
28715 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28716
28717 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28718
28719 [BZ #14166]
28720 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28721 to __redirect_strstr.
28722 (__strstr_sse42): Use typeof __redirect_strstr.
28723 (__strstr_ia32): Likewise.
28724 (__libc_strstr): New prototype.
28725 (strstr): Renamed to ...
28726 (__libc_strstr): This.
28727 (strstr): New strong alias of __libc_strstr.
28728 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28729 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28730 __redirect_time.
28731 Include <time.h>.
28732 (__libc_time): New prototype.
28733 (time_ifunc): Replace time with __libc_time.
28734 (time): New strong alias and hidden definition of __libc_time.
28735 (__GI_time): Remove strong alias.
28736 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28737 Include <stddef.h>.
28738 (memmove): Redefined to __redirect_memmove.
28739 (__memmove_sse2): Use typeof __redirect_memmove.
28740 (__memmove_ssse3): Likewise.
28741 (__memmove_ssse3_back): Likewise.
28742 (__libc_memmove): New prototype.
28743 (memmove): Renamed to ...
28744 (__libc_memmove): This.
28745 (memmove): New strong alias of __libc_memmove.
28746
28747 2012-08-08 Mark Salter <msalter@redhat.com>
28748
28749 * elf/elf.h
28750 (R_MN10300_TLS_GD): Define.
28751 (R_MN10300_TLS_LD): Likewise.
28752 (R_MN10300_TLS_LDO): Likewise.
28753 (R_MN10300_TLS_GOTIE): Likewise.
28754 (R_MN10300_TLS_IE): Likewise.
28755 (R_MN10300_TLS_LE): Likewise.
28756 (R_MN10300_TLS_DTPMOD): Likewise.
28757 (R_MN10300_TLS_DTPOFF): Likewise.
28758 (R_MN10300_TLS_TPOFF): Likewise.
28759 (R_MN10300_SYM_DIFF): Likewise.
28760 (R_MN10300_ALIGN): Likewise.
28761 (R_MN10300_NUM): Update.
28762
28763 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28764
28765 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28766 Remove.
28767
28768 2012-08-08 Roland McGrath <roland@hack.frob.com>
28769
28770 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28771
28772 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28773 sysdeps/unix -> sysdeps/posix move.
28774 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28775
28776 2012-08-07 Allan McRae <allan@archlinux.org>
28777
28778 [BZ #14303]
28779 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28780 (SUNOS_CPP): Likewise.
28781 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28782 not found.
28783 (open_input): Call CPP using execvp.
28784
28785 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28786
28787 * sysdeps/unix/sysv/linux/kernel-features.h
28788 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28789 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28790 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28791 (__ASSUME_WAITID_SYSCALL): Likewise.
28792 * sysdeps/unix/sysv/linux/dl-execstack.c
28793 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28794 code unconditional.
28795 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28796 conditional code.
28797 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28798 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28799 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28800 code.
28801 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28802 unconditional.
28803 [__ASSUME_WAITID_SYSCALL]: Likewise.
28804 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28805
28806 2012-08-07 Roland McGrath <roland@hack.frob.com>
28807
28808 * sysdeps/unix/closedir.c: Renamed to ...
28809 * sysdeps/posix/closedir.c: ... here.
28810 * sysdeps/unix/dirfd.c: Renamed to ...
28811 * sysdeps/posix/dirfd.c: ... here.
28812 * sysdeps/unix/dirstream.h: Renamed to ...
28813 * sysdeps/posix/dirstream.h: ... here.
28814 * sysdeps/unix/fdopendir.c: Renamed to ...
28815 * sysdeps/posix/fdopendir.c: ... here.
28816 * sysdeps/unix/opendir.c: Renamed to ...
28817 * sysdeps/posix/opendir.c: ... here.
28818 * sysdeps/unix/readdir.c: Renamed to ...
28819 * sysdeps/posix/readdir.c: ... here.
28820 * sysdeps/unix/readdir_r.c: Renamed to ...
28821 * sysdeps/posix/readdir_r.c: ... here.
28822 * sysdeps/unix/rewinddir.c: Renamed to ...
28823 * sysdeps/posix/rewinddir.c: ... here.
28824 * sysdeps/unix/seekdir.c: Renamed to ...
28825 * sysdeps/posix/seekdir.c: ... here.
28826 * sysdeps/unix/telldir.c: Renamed to ...
28827 * sysdeps/posix/telldir.c: ... here.
28828 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28829 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28830 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28831 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28832
28833 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28834 * bits/fcntl.h: ... here.
28835
28836 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28837 not 0.
28838 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28839 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28840 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28841 (struct flock): Move l_start, l_len to the beginning.
28842 Use __pid_t for l_pid.
28843 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28844 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28845 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28846 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28847 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28848 [__USE_LARGEFILE64] (struct flock64): New type.
28849 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28850
28851 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28852 * bits/dirent.h: ... here.
28853
28854 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28855 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28856
28857 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28858
28859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28860 Change from 2.6.0 to 2.6.16.
28861 * sysdeps/unix/sysv/linux/configure: Regenerated.
28862 * sysdeps/unix/sysv/linux/kernel-features.h
28863 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28864 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28865 version.
28866 (__ASSUME_UTIMES): Likewise.
28867 (__ASSUME_CLONE_STOPPED): Remove.
28868 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28869 architectures, not kernel version.
28870 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28871 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28872 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28873 (__ASSUME_WAITID_SYSCALL): Likewise.
28874 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28875 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28876 * README: State 2.6.16 as minimum Linux kernel version. Do not
28877 refer to older versions.
28878
28879 2012-08-06 Roland McGrath <roland@hack.frob.com>
28880
28881 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28882 Define alphasort64 as an alias.
28883 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28884 Define versionsort64 as an alias.
28885 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28886 Define scandir64 as an alias.
28887 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28888 Define scandirat64 as an alias.
28889 * dirent/alphasort64.c (alphasort64):
28890 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28891 * dirent/versionsort64.c: Likewise.
28892 * dirent/scandir64.c: Likewise.
28893 * dirent/scandirat64.c: Likewise.
28894 * sysdeps/wordsize-64/alphasort.c: File removed.
28895 * sysdeps/wordsize-64/alphasort64.c: File removed.
28896 * sysdeps/wordsize-64/scandir.c: File removed.
28897 * sysdeps/wordsize-64/scandir64.c: File removed.
28898 * sysdeps/wordsize-64/scandirat.c: File removed.
28899 * sysdeps/wordsize-64/scandirat64.c: File removed.
28900 * sysdeps/wordsize-64/versionsort.c: File removed.
28901 * sysdeps/wordsize-64/versionsort64.c: File removed.
28902 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28903 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28904 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28905 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28906 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28907 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28908 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28909 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28910
28911 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28912 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28913 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28914 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28915 [defined __arch64__ || defined __sparcv9]
28916 (__INO_T_MATCHES_INO64_T): New macro.
28917 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28918 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28919 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28920 * sysdeps/unix/sysv/linux/bits/dirent.h
28921 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28922 (_DIRENT_MATCHES_DIRENT64): New macro.
28923
28924 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28925 Define lockf64 as an alias.
28926 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28927 Define fseeko64 as an alias.
28928 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28929 Define ftello64 as an alias.
28930 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28931 Define _IO_fgetpos64 and fgetpos64 as aliases.
28932 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28933 Define _IO_fsetpos64 and fsetpos64 as aliases.
28934 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28935 Conditionalize body on this.
28936 * libio/fseeko64.c: Likewise.
28937 * libio/ftello64.c: Likewise.
28938 * libio/iofgetpos64.c: Likewise.
28939 * libio/iofsetpos64.c: Likewise.
28940 * sysdeps/wordsize-64/lockf.c: File removed.
28941 * sysdeps/wordsize-64/lockf64.c: File removed.
28942 * sysdeps/wordsize-64/fseeko.c: File removed.
28943 * sysdeps/wordsize-64/fseeko64.c: File removed.
28944 * sysdeps/wordsize-64/ftello.c: File removed.
28945 * sysdeps/wordsize-64/ftello64.c: File removed.
28946 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28947 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28948 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28949 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28950 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28951 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28952 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28953 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28954 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28955 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28956 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28957 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28958 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28959 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28960
28961 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28962 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28963 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28964 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28965 [defined __arch64__ || defined __sparcv9]
28966 (__OFF_T_MATCHES_OFF64_T): New macro.
28967 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28968 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28969 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28970 (__OFF_T_MATCHES_OFF64_T): New macro.
28971
28972 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28973
28974 * stdlib/secure-getenv.c (__secure_getenv): Replace
28975 GLIBC_2_16 with GLIBC_2_17.
28976
28977 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28978
28979 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28980 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28981
28982 2012-08-03 David S. Miller <davem@davemloft.net>
28983
28984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28985
28986 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28987
28988 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28989 Remove.
28990 (__ASSUME_CORRECT_SI_PID): Likewise.
28991 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28992 (__ASSUME_TMPFS_NAME): Likewise.
28993 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28994 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28995 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28996 (HAVE_AUX_SECURE): Make definition unconditional.
28997 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28998 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28999
29000 2012-08-03 Roland McGrath <roland@hack.frob.com>
29001
29002 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29003 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29004 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29005 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29006 __eloop_threshold instead of SYMLOOP_MAX.
29007
29008 * sysdeps/generic/eloop-threshold.h: New file.
29009 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29010 of MAXSYMLINKS.
29011 * elf/chroot_canon.c (chroot_canon): Likewise.
29012
29013 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29014
29015 [BZ #13717]
29016 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29017 Change to 2.6.0 everywhere.
29018 * sysdeps/unix/sysv/linux/configure: Regenerated.
29019 * sysdeps/unix/sysv/linux/kernel-features.h
29020 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29021 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29022 kernel versions.
29023 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29024 (__ASSUME_FUTEX_REQUEUE): Remove.
29025 (__ASSUME_STATFS64): Define unconditionally.
29026 (__ASSUME_AT_SECURE): Likewise.
29027 (__ASSUME_CORRECT_SI_PID): Likewise.
29028 (__ASSUME_TGKILL): Define without depending on kernel version for
29029 i386.
29030 (__ASSUME_UTIMES): Likewise.
29031 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29032 kernel version.
29033 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29034 (__ASSUME_TMPFS_NAME): Likewise.
29035 * README: Update reference to Linux kernel versions.
29036
29037 2012-08-02 Marek Polacek <polacek@redhat.com>
29038
29039 [BZ# 14150]
29040 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29041 libc_cv_asm_type_prefix with %.
29042 * configure: Regenerated.
29043 * include/libc-symbols.h: Remove comment about
29044 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29045 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29046 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29047 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29048 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29049 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29050 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29051 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29052 * elf/tst-unique2mod1.c: Likewise.
29053 * elf/tst-unique1mod2.c: Likewise.
29054 * elf/tst-unique1mod1.c: Likewise.
29055 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29056 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29057 Replace ASM_TYPE_DIRECTIVE with .type.
29058 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29059 * sysdeps/i386/sysdep.h: Likewise.
29060 * sysdeps/x86_64/sysdep.h: Likewise.
29061 * sysdeps/sh/sysdep.h: Likewise.
29062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29063 Do not define ASM_TYPE_DIRECTIVE.
29064 * sysdeps/powerpc/sysdep.h: Likewise.
29065 * sysdeps/powerpc/powerpc32/sysdep.h:
29066 Replace ASM_TYPE_DIRECTIVE with .type.
29067 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29068 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29069 * sysdeps/i386/fpu/e_powf.S: Likewise.
29070 * sysdeps/i386/fpu/e_expl.S: Likewise.
29071 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29072 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29073 * sysdeps/i386/fpu/e_pow.S: Likewise.
29074 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29075 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29076 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29077 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29078 * sysdeps/i386/fpu/e_log2.S: Likewise.
29079 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29080 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29081 * sysdeps/i386/fpu/e_powl.S: Likewise.
29082 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29083 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29084 * sysdeps/i386/fpu/e_logl.S: Likewise.
29085 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29086 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29087 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29089 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29090 * sysdeps/i386/fpu/e_log.S: Likewise.
29091 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29092 * sysdeps/i386/fpu/e_logf.S: Likewise.
29093 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29094 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29095 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29096 * sysdeps/i386/fpu/e_log10.S: Likewise.
29097 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29098 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29099 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29100 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29101 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29102 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29103 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29104 * sysdeps/i386/i686/strtok.S: Likewise.
29105 * sysdeps/i386/i386-mcount.S: Likewise.
29106 * sysdeps/i386/strtok.S: Likewise.
29107 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29108 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29109 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29110 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29111 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29112 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29113 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29114 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29115 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29116 * sysdeps/x86_64/_mcount.S: Likewise.
29117 * sysdeps/x86_64/strtok.S: Likewise.
29118 * sysdeps/sh/_mcount.S: Likewise.
29119
29120 2012-08-01 Roland McGrath <roland@hack.frob.com>
29121
29122 * libio/iofopen.c: Include <fcntl.h>.
29123 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29124 (_IO_fopen64, fopen64): Define as aliases.
29125 * libio/iofopen64.c: Include <fcntl.h>.
29126 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29127 Conditionalize body on this.
29128 * sysdeps/wordsize-64/iofopen.c: File removed.
29129 * sysdeps/wordsize-64/iofopen64.c: File removed.
29130
29131 2012-08-01 Marek Polacek <polacek@redhat.com>
29132
29133 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29134 Use dlfcn directly instead of a variable.
29135 (binfmt-subdir): Do not define.
29136 (dlfcn): Likewise.
29137
29138 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29139
29140 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29141 Remove all definitions.
29142 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29143 <kernel-features.h>.
29144 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29145 (miss_F_GETOWN_EX): Remove all definitions.
29146 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29147 macro definition.
29148 [!__ASSUME_FCNTL64]: Remove conditional code.
29149 [__ASSUME_FCNTL64]: Make code unconditional.
29150 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29151 <kernel-features.h>.
29152 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29153 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29154 (lockf64) [__NR_fcntl64]: Make code unconditional.
29155 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29156
29157 * sysdeps/unix/sysv/linux/kernel-features.h
29158 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29159 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29160 Make code unconditional.
29161 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29162 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29164 [__NR_vfork]: Make code unconditional.
29165 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29166 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29168 [__NR_vfork]: Make code unconditional.
29169 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29170 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29171
29172 2012-08-01 Roland McGrath <roland@hack.frob.com>
29173
29174 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29175 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29176
29177 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29178 Define mkstemp64 as an alias.
29179 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29180 Define mkstemps64 as an alias.
29181 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29182 Define mkostemp64 as an alias.
29183 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29184 Define mkostemps64 as an alias.
29185 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29186 Conditionalize body on this.
29187 * misc/mkostemp64.c: Likewise.
29188 * misc/mkostemps64.c: Likewise.
29189 * misc/mkstemps64.c: Likewise.
29190 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29191 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29192 * sysdeps/wordsize-64/mkostemp.c: File removed.
29193 * sysdeps/wordsize-64/mkstemp.c: File removed.
29194 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29195 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29196 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29197 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29198
29199 [BZ #14138]
29200 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29201 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29202 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29203 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29204
29205 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29206 compat_symbol macros from <shlib-compat.h> rather than the underlying
29207 default_symbol_version and symbol_version macros, so that DEFAULT
29208 lines in shlib-versions are respected.
29209 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29210
29211 2012-08-01 Florian Weimer <fweimer@redhat.com>
29212
29213 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29214 Declare with warn_unused_result.
29215 (setgid, setregid, setegid, setresgid): Likewise.
29216 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29217 Likewise.
29218 * WUR-REPORT: Remove set*id functions.
29219
29220 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29221
29222 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29223
29224 2012-07-31 Roland McGrath <roland@hack.frob.com>
29225
29226 [BZ #10191]
29227 * include/sys/socket.h (__libc_accept, __libc_accept4):
29228 Add attribute_hidden.
29229 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29230
29231 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29232 use of PTR_MANGLE.
29233 * inet/getnetgrent_r.c (setup): Likewise.
29234
29235 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29236
29237 2012-07-31 David S. Miller <davem@davemloft.net>
29238
29239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29240
29241 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29242
29243 [BZ #13629]
29244 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29245 value between 1.0 and 2.0 and smaller part has absolute value less
29246 than 1.0.
29247 * math/s_clog10.c (__clog10): Likewise.
29248 * math/s_clog10f.c (__clog10f): Likewise.
29249 * math/s_clog10l.c (__clog10l): Likewise.
29250 * math/s_clogf.c (__clogf): Likewise.
29251 * math/s_clogl.c (__clogl): Likewise.
29252 * math/libm-test.inc (clog_test): Add more tests.
29253 (clog10_test): Likewise.
29254 * sysdeps/i386/fpu/libm-test-ulps: Update.
29255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29256
29257 2012-07-31 Florian Weimer <fweimer@redhat.com>
29258
29259 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29260 Exit with zero in case no suitable GID is found, and write a
29261 message to standard error.
29262
29263 2012-07-30 Roland McGrath <roland@hack.frob.com>
29264
29265 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29266 rather than to 1.
29267 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29268 (MAXPATHLEN): Removed.
29269 (NOGROUP, NODEV): New macros.
29270 (setbit, clrbit, isset, isclr): New macros.
29271 (howmany, roundup, powerof2): New macros.
29272 (DEV_BSIZE): New macro.
29273
29274 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29275 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29276
29277 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29278 definition on [!__NO_LONG_DOUBLE_MATH].
29279
29280 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29281 PTR_MANGLE and PTR_DEMANGLE.
29282
29283 * socket/accept4.c (accept4): Rename to __libc_accept4.
29284 Define accept4 as a weak alias.
29285
29286 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29287 on [_DIRENT_HAVE_D_TYPE].
29288 * io/ftw.c (ftw_dir): Likewise.
29289
29290 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29291
29292 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29293
29294 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29295 Use the BSD numbers rather than the arbitrary ones we had.
29296 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29297 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29298 (SIGXCPU, SIGXFSZ): New macros.
29299 (_NSIG): Now 32.
29300
29301 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29302 initializer on [_LIBC_REENTRANT].
29303
29304 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29305 definitions inside [_POSIX_MAPPED_FILES].
29306
29307 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29308
29309 * dirent/opendir.c: Include <fcntl.h>.
29310
29311 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29312 (__libc_getspecific): Likewise.
29313 (__libc_key_create): Likewise.
29314
29315 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29316 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29317 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29318 (tmpfile64): Define as alias.
29319 * sysdeps/wordsize-64/tmpfile.c: File removed.
29320 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29321 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29322 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29323
29324 * stdio-common/vfscanf.c: Include <stdbool.h>.
29325 * nss/makedb.c: Likewise.
29326 * stdio-common/_i18n_number.h: Likewise.
29327 * argp/argp-help.c: Likewise.
29328 * posix/wordexp.c: Likewise.
29329 * sysdeps/posix/spawni.c: Likewise.
29330 * nss/nss_files/files-initgroups.c: Likewise.
29331 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29332 * nss/nss_files/files-initgroups.c: Likewise.
29333 * nss/nss_db/db-netgrp.c: Likewise.
29334 * nss/nss_db/db-initgroups.c: Likewise.
29335 * io/fchmodat.c: Include <sys/stat.h>.
29336
29337 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29338 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29339
29340 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29341 [HAVE_MMAP].
29342
29343 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29344 Add multiple inclusion protection.
29345
29346 2012-07-27 David S. Miller <davem@davemloft.net>
29347
29348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29349
29350 2012-07-27 Gary Benson <gbenson@redhat.com>
29351
29352 [BZ #14298]
29353 * elf/rtld.c: Include <stap-probe.h>.
29354 (dl_main): Added static probes "init_start" and "init_complete".
29355 * elf/dl-load.c: Include <stap-probe.h>.
29356 (lose): Take new parameter "nsid".
29357 Added static probe "map_failed".
29358 (_dl_map_object_from_fd): Pass namespace id to lose.
29359 Added static probe "map_start".
29360 (open_verify): Pass namespace id to lose.
29361 * elf/dl-open.c: Include <stap-probe.h>.
29362 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29363 and "reloc_complete".
29364 * elf/dl-close.c: Include <stap-probe.h>.
29365 (_dl_close_worker): Added static probes "unmap_start" and
29366 "unmap_complete".
29367 * elf/rtld-debugger-interface.txt: New file documenting the above.
29368
29369 2012-07-26 Roland McGrath <roland@hack.frob.com>
29370
29371 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29372 rather than a string variable.
29373 * sunrpc/rpc_main.c (h_output): Likewise.
29374 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29375
29376 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29377
29378 * inet/check_native.c: New file.
29379
29380 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29381
29382 [BZ #13629]
29383 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29384 if larger part has absolute value 1.0.
29385 * math/s_clog10.c (__clog10): Likewise.
29386 * math/s_clog10f.c (__clog10f): Likewise.
29387 * math/s_clog10l.c (__clog10l): Likewise.
29388 * math/s_clogf.c (__clogf): Likewise.
29389 * math/s_clogl.c (__clogl): Likewise.
29390 * math/libm-test.inc (clog_test): Add more tests.
29391 (clog10_test): Likewise.
29392 * sysdeps/i386/fpu/libm-test-ulps: Update.
29393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29394
29395 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29396 (pltexit): Likewise.
29397 (La_regs): Likewise.
29398 (La_retval): Likewise.
29399 (int_retval): Likewise.
29400 Update #error for removed macros to refer only to definitions in
29401 tst-audit.h.
29402 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29403 macro.
29404 (pltexit): Likewise.
29405 (La_regs): Likewise.
29406 (La_retval): Likewise.
29407 (int_retval): Likewise.
29408 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29409 macro.
29410 (pltexit): Likewise.
29411 (La_regs): Likewise.
29412 (La_retval): Likewise.
29413 (int_retval): Likewise.
29414 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29415 macro.
29416 (pltexit): Likewise.
29417 (La_regs): Likewise.
29418 (La_retval): Likewise.
29419 (int_retval): Likewise.
29420 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29421 macro.
29422 (pltexit): Likewise.
29423 (La_regs): Likewise.
29424 (La_retval): Likewise.
29425 (int_retval): Likewise.
29426 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29427 macro.
29428 (pltexit): Likewise.
29429 (La_regs): Likewise.
29430 (La_retval): Likewise.
29431 (int_retval): Likewise.
29432 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29433 macro.
29434 (pltexit): Likewise.
29435 (La_regs): Likewise.
29436 (La_retval): Likewise.
29437 (int_retval): Likewise.
29438 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29439 macro definitions in tst-audit.h.
29440 * sysdeps/i386/tst-audit.h: New file.
29441 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29442 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29443 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29444 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29445 * sysdeps/sh/tst-audit.h: Likewise.
29446 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29447 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29448 * sysdeps/x86_64/tst-audit.h: Likewise.
29449
29450 2012-07-26 Andreas Jaeger <aj@suse.de>
29451
29452 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29453 ptrace.
29454
29455 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29456 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29457 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29458 PTRACE_O_MASK.
29459 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29460 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29461 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29462
29463 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29464 value.
29465
29466 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29467 _sigsys.
29468 (si_call_addr, si_syscall, si_arch): Define new macro.
29469 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29470 _sigsys.
29471 (si_call_addr, si_syscall, si_arch): Define new marcro.
29472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29473 _sigsys.
29474 (si_call_addr, si_syscall, si_arch): Define new macro.
29475 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29476 _sigsys.
29477 (si_call_addr, si_syscall, si_arch): Define new macro.
29478
29479 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29480
29481 [BZ #13717]
29482 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29483 Change to 2.4.21 where previously 2.4.1.
29484 * sysdeps/unix/sysv/linux/configure: Regenerated.
29485 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29486 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29487 Linux kernel version.
29488 (__ASSUME_STD_AUXV): Remove.
29489 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29490 kernel version.
29491 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29492 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29493 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29494 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29495 (__ASSUME_NETLINK_SUPPORT): Likewise.
29496 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29497 (__no_netlink_support): Remove conditional definition.
29498 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29499 Remove.
29500 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29501 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29502 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29503 (if_nameindex_ioctl): Remove.
29504 (if_nameindex_netlink): Do not handle __no_netlink_support.
29505 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29506 code.
29507 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29508 Remove conditional code.
29509 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29510 code.
29511 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29512 unconditional.
29513 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29514 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29515 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29516 Remove.
29517 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29518 [!__ASSUME_STD_AUXV]: Remove conditional code.
29519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29520 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29521 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29523 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29524 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29525 code.
29526 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29528 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29529 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29530 conditional code.
29531 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29533 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29534 code.
29535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29536 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29537 conditional code.
29538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29539 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29540 code unconditional.
29541 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29542 conditional code.
29543 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29544 unconditional.
29545 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29546 conditional code.
29547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29548 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29549 unconditional.
29550 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29551 conditional code.
29552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29553 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29554 code unconditional.
29555 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29556 conditional code.
29557 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29558 unconditional.
29559 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29560 conditional code.
29561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29562 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29563 code unconditional.
29564 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29565 conditional code.
29566 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29567 unconditional.
29568 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29569 conditional code.
29570
29571 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29572
29573 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29574 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29575 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29576 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29577 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29578 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29579 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29580 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29581 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29582 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29583 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29584 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29585 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29586 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29587 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29588 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29589 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29590 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29591 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29593 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29594 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29595 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29596
29597 2012-07-25 Florian Weimer <fweimer@redhat.com>
29598
29599 * Versions.def: Add GLIBC_2.17.
29600 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29601 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29602 Introduce __libc_secure_getenv.
29603 * stdlib/Versions (2.17): Add secure_getenv
29604 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29605 * stdlib/secure-getenv.c: Rename __secure_getenv to
29606 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29607 symbol __secure_getenv for GLIBC_2.0.
29608 * stdlib/tst-secure-getenv.c: New.
29609 * stdlib/Makefile (tests): Add testcase.
29610 * manual/startup.texi (Environment Access): Document
29611 secure_getenv.
29612 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29613 __libc_secure_getenv.
29614 * inet/ruserpass.c (ruserpass): Likewise.
29615 * malloc/mtrace.c (mtrace): Likewise.
29616 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29617 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29618 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29619 * sysdeps/posix/tempname.c: Likewise. Evaluate
29620 HAVE_SECURE_GETENV.
29621 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29622 __secure_getenv to __libc_secure_getenv.
29623 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29625 Likewise.
29626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29627 Likewise.
29628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29630 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29635
29636 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29637
29638 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29639 (struct La_i86_retval): Likewise.
29640 (struct La_x86_64_regs): Likewise.
29641 (struct La_x86_64_retval): Likewise.
29642 (struct La_x32_regs): Likewise.
29643 (struct La_x32_retval): Likewise.
29644 (struct La_ppc32_regs): Likewise.
29645 (struct La_ppc32_retval): Likewise.
29646 (struct La_ppc64_regs): Likewise.
29647 (struct La_ppc64_retval): Likewise.
29648 (struct La_sh_regs): Likewise.
29649 (struct La_sh_retval): Likewise.
29650 (struct La_s390_32_regs): Likewise.
29651 (struct La_s390_32_retval): Likewise.
29652 (struct La_s390_64_regs): Likewise.
29653 (struct La_s390_64_retval): Likewise.
29654 (struct La_sparc32_regs): Likewise.
29655 (struct La_sparc32_retval): Likewise.
29656 (struct La_sparc64_regs): Likewise.
29657 (struct La_sparc64_retval): Likewise.
29658 (struct audit_ifaces): Remove architecture-specific pltenter and
29659 pltexit members.
29660 * sysdeps/i386/ldsodefs.h: New file.
29661 * sysdeps/powerpc/ldsodefs.h: Likewise.
29662 * sysdeps/s390/ldsodefs.h: Likewise.
29663 * sysdeps/sh/ldsodefs.h: Likewise.
29664 * sysdeps/sparc/ldsodefs.h: Likewise.
29665 * sysdeps/x86_64/ldsodefs.h: Likewise.
29666
29667 2012-07-25 Marek Polacek <polacek@redhat.com>
29668
29669 [BZ #6808]
29670 * math/libm-test.inc (yn_test): Add another test.
29671 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29672 to ERANGE when the result is +-Inf.
29673 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29674 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29675 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29676 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29677
29678 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29679
29680 * conform/data/time.h-data (NULL): Use macro-constant. Require
29681 equal to 0.
29682 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29683 clock_t.
29684 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29685
29686 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29687
29688 * configure.in <sysdeps resolving>: Correct printing
29689 Implies_before.
29690 * configure: Regenerate.
29691
29692 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29693
29694 * math/w_ilogb.c: Include <limits.h>.
29695 * math/w_ilogbl.c: Likewise.
29696
29697 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29698
29699 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29700 va_copy. Document allowing for unavailable va_copy only as
29701 pre-C99 compatibility.
29702 * manual/string.texi (Copying and Concatenation): Use va_copy
29703 instead of __va_copy in concat example.
29704
29705 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29706
29707 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29708 (__sendto): Use create_address_port. Initialize APORT and deallocate
29709 it if not null.
29710
29711 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29712 with O_NOLINK passed to __file_name_lookup.
29713
29714 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29715 with O_NOLINK passed to __file_name_lookup.
29716
29717 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29718 negative N or less than NGIDS.
29719
29720 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29721 type to string_t. Set ERANGE as errno and return it if NAME is not big
29722 enough. Use memcpy instead of strncpy.
29723
29724 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29725
29726 * elf/Makefile (check-data): Remove.
29727 (localplt.data): New vpath directive.
29728 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29729 instead of $(check-data).
29730 * scripts/data/localplt-generic.data: Move to ...
29731 * sysdeps/generic/localplt.data: ... here.
29732 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29733 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29734 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29736 ... here.
29737 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29739 ... here.
29740 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29742 ... here.
29743 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29745 ... here.
29746 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29748 ... here.
29749 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29751 ... here.
29752
29753 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29754
29755 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29756 PPC32 and PPC64 files.
29757 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29758 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29759
29760 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29761
29762 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29763 __makecontext_ret to ...
29764 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29765 ... here and call exit if uc_link is NULL. New file.
29766 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29767 __makecontext_ret.S.
29768 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29769 __makecontext_ret to ...
29770 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29771 ... here and call exit if uc_link is NULL. New file.
29772 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29773 __makecontext_ret.S.
29774
29775 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29776
29777 * elf/elf.h (R_390_IRELATIVE): New definition.
29778 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29779 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29780 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29781 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29782 (elf_machine_lazy_rel): Likewise.
29783 * sysdeps/s390/dl-irel.h: New file.
29784 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29785 * sysdeps/s390/s390-64/memset.S: New asm code.
29786 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29787 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29788 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29789 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29790 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29791 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29792 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29793 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29794 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29795 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29796 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29797 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29798 * sysdeps/s390/s390-32/memset.S: New asm code.
29799 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29800
29801 2012-07-17 Marek Polacek <polacek@redhat.com>
29802
29803 [BZ #14349]
29804 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29805 * sysdeps/s390/s390-64/configure.in: Likewise.
29806 * sysdeps/sparc/configure.in: Likewise.
29807 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29808 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29809 * sysdeps/i386/configure.in: Likewise.
29810 * sysdeps/x86_64/configure.in: Likewise.
29811 * sysdeps/sh/configure.in: Likewise.
29812 * sysdeps/s390/s390-32/configure: Regenerated.
29813 * sysdeps/s390/s390-64/configure: Likewise.
29814 * sysdeps/x86_64/configure: Likewise.
29815 * sysdeps/sh/configure: Likewise.
29816 * sysdeps/powerpc/powerpc64/configure: Likewise.
29817 * sysdeps/powerpc/powerpc32/configure: Likewise.
29818 * sysdeps/sparc/configure: Likwise.
29819 * sysdeps/i386/configure: Likewise.
29820
29821 * elf/dl-open.c: Comment fixes.
29822
29823 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29824
29825 * Makefile [CXX] (check-data): Remove.
29826 [CXX] (c++-types.data): New vpath directive.
29827 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29828 vpath. Do not allow for C++ type data being missing.
29829 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29830 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29831 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29832 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29833 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29834 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29835 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29837 ... here.
29838 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29840 ... here.
29841 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29843 ... here.
29844 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29846 ... here.
29847 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29849 ... here.
29850 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29852 ... here.
29853 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29855 ... here.
29856 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29858
29859 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29860 definitions to architecture-specific files.
29861 (TLS_IE): Likewise.
29862 (TLS_LD): Likewise.
29863 (TLS_GD): Likewise.
29864 * sysdeps/i386/tls-macros.h: New file.
29865 * sysdeps/powerpc/tls-macros.h: Likewise.
29866 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29867 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29868 * sysdeps/sh/tls-macros.h: Likewise.
29869 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29870 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29871 * sysdeps/x86_64/tls-macros.h: Likewise.
29872
29873 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29874
29875 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29876 zero value for regular exit case.
29877
29878 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29879 (__start_context): Preserve zero value for regular exit case.
29880
29881 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29882 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29883
29884 * manual/setjmp.texi (setcontext): Clarify normal process
29885 termination when uc_link is the null pointer.
29886 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29887 exit call.
29888
29889 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29890
29891 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29892 preprocessor. Test for each exception mask separately.
29893
29894 2012-07-16 Andreas Jaeger <aj@suse.de>
29895
29896 * po/ru.po: Update from translation team.
29897
29898 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29899
29900 * conform/data/string.h-data (NULL): Use macro-constant. Require
29901 equal to 0.
29902 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29903 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29904 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29905 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29907
29908 2012-07-13 Andreas Jaeger <aj@suse.de>
29909
29910 * po/fr.po: Update from translation team.
29911
29912 2012-07-12 Marek Polacek <polacek@redhat.com>
29913
29914 [BZ #14173]
29915 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29916 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29917 loop condition.
29918
29919 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29920
29921 [BZ #13717]
29922 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29923 Change to 2.4.1 where previously 2.4.0.
29924 * sysdeps/unix/sysv/linux/configure: Regenerated.
29925 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29926 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29927 version.
29928 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29929 (__ASSUME_AT_CLKTCK): Remove.
29930 (__ASSUME_AT_PAGESIZE): Likewise.
29931 (__ASSUME_AT_XID): Likewise.
29932 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29933 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29934 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29935 unconditionally.
29936 (HAVE_AUX_PAGESIZE): Likewise.
29937 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29938 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29939 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29940
29941 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29942
29943 [BZ #14307]
29944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29945 the temporary buffer used to invoke __gethostbyname2_r,
29946 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29947 host_data / struct gaih_addrtuple.
29948 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29949 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29950 header file nss/nsswitch.h.
29951 * nss/nsswitch.h (global scope): Add definition of implementation
29952 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29953 resolv/nss_dns/dns-host.c).
29954
29955 2012-07-11 Andreas Jaeger <aj@suse.de>
29956
29957 * po/fr.po: Update from translation team.
29958
29959 * po/sv.po: Update from translation team
29960 * po/fr.po: Another update from translation team.
29961
29962 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29963
29964 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29965 for subnormals or multiply small sinh result by itself.
29966 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29968
29969 2012-07-11 David S. Miller <davem@davemloft.net>
29970
29971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29972
29973 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29974
29975 [BZ #14347]
29976 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29977 (INTERNAL_MARK): Shift it here.
29978
29979 2012-07-10 Marek Polacek <polacek@redhat.com>
29980
29981 [BZ #14151]
29982 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29983 libc_cv_asm_global_directive with .globl.
29984 * configure: Regenerated.
29985 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29986 with .globl.
29987 * sysdeps/i386/configure: Regenerated.
29988 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29989 with .globl.
29990 * sysdeps/x86_64/configure: Regenerated.
29991 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29992 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29993 * elf/tst-unique2mod2.c: Likewise.
29994 * elf/tst-unique2mod1.c: Likewise.
29995 * elf/tst-unique1mod2.c: Likewise.
29996 * elf/tst-unique1mod1.c: Likewise.
29997 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29998 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29999 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30000 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30001 * sysdeps/mach/sysdep.h: Likewise.
30002 * sysdeps/i386/sysdep.h: Likewise.
30003 * sysdeps/i386/i386-mcount.S: Likewise.
30004 * sysdeps/x86_64/_mcount.S: Likewise.
30005 * sysdeps/x86_64/sysdep.h: Likewise.
30006 * sysdeps/sh/_mcount.S: Likewise.
30007 * sysdeps/sh/sysdep.h: Likewise.
30008 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30009 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30010 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30011 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30012 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30013 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30014 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30015 * locale/localeinfo.h: Likewise.
30016 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30017 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30018
30019 2012-07-09 Roland McGrath <roland@hack.frob.com>
30020
30021 [BZ #14336]
30022 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30023 system".
30024 * manual/message.texi (The Uniforum approach): Likewise.
30025 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30026 (glibc iconv Implementation): Likewise.
30027
30028 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30029
30030 [BZ #14337]
30031 * math/s_clog.c (__clog): Avoid scaling a value down where that
30032 could result in underflow.
30033 * math/s_clog10.c (__clog10): Likewise.
30034 * math/s_clog10f.c (__clog10f): Likewise.
30035 * math/s_clog10l.c (__clog10l): Likewise.
30036 * math/s_clogf.c (__clogf): Likewise.
30037 * math/s_clogl.c (__clogl): Likewise.
30038 * math/libm-test.inc (clog_test): Add more tests.
30039 (clog10_test): Likewise.
30040 * sysdeps/i386/fpu/libm-test-ulps: Update.
30041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30042
30043 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30044
30045 [BZ #14283]
30046 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30047 by 7 not 8 to examine high bit of fractional part.
30048
30049 [BZ #14042]
30050 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30051 for call to __mcount_internal.
30052 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30053 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30054 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30055
30056 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30057
30058 [BZ #14154]
30059 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30060 approximation for values within 0x1p-13f of an odd multiple of
30061 pi/4.
30062 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30063 exception. Add more tests.
30064 * sysdeps/i386/fpu/libm-test-ulps: Update.
30065
30066 [BZ #6778]
30067 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30068 inputs and return -1 for them. Do not check for +Inf in case not
30069 reachable for +Inf.
30070 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30071 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30072 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30073 and return -1 for them. Do not check for +Inf in case not
30074 reachable for +Inf.
30075 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30076 define.
30077 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30078 and return -1 for them. Do not check for +Inf in case not
30079 reachable for +Inf.
30080 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30081 spurious underflow.
30082 * sysdeps/i386/fpu/libm-test-ulps: Update.
30083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30084
30085 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30086
30087 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30088
30089 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30090
30091 [BZ #14157]
30092 [BZ #14331]
30093 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30094 could result in spurious underflow. Scale down values above
30095 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30096 * math/s_csqrtf.c (__csqrtf): Likewise.
30097 * math/s_csqrtl.c (__csqrtl): Likewise.
30098 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30099 spurious underflow.
30100 * sysdeps/i386/fpu/libm-test-ulps: Update.
30101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30102
30103 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30104
30105 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30106 xopen-msg.sed.
30107 * catgets/xopen-msg.awk: New file.
30108 * catgets/xopen-msg.sed: Removed.
30109
30110 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30111 po2text.sed.
30112 * intl/po2test.awk: New file.
30113 * intl/po2test.sed: Removed.
30114
30115 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30116
30117 [BZ #14328]
30118 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30119 or multiply small sinh result by itself.
30120 * math/s_ctanf.c (__ctanf): Likewise.
30121 * math/s_ctanh.c (__ctanh): Likewise.
30122 * math/s_ctanhf.c (__ctanhf): Likewise.
30123 * math/s_ctanhl.c (__ctanhl): Likewise.
30124 * math/s_ctanl.c (__ctanl): Likewise.
30125 * math/libm-test.inc (ctan_test_tonearest): New function.
30126 (ctan_test_towardzero): Likewise.
30127 (ctan_test_downward): Likewise.
30128 (ctan_test_upward): Likewise.
30129 (ctanh_test_tonearest): Likewise.
30130 (ctanh_test_towardzero): Likewise.
30131 (ctanh_test_downward): Likewise.
30132 (ctanh_test_upward): Likewise.
30133 (main): Call these new functions.
30134 * sysdeps/i386/fpu/libm-test-ulps: Update.
30135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30136
30137 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30138
30139 * .gitignore: Delete /ports entry.
30140
30141 2012-07-03 Andreas Jaeger <aj@suse.de>
30142
30143 * po/bg.po: Update from translation team.
30144 * po/cs.po: Likewise.
30145 * po/de.po: Likewise.
30146 * po/hr.po: Likewise.
30147 * po/nl.pl: Likewise.
30148 * po/pl.po: Likewise.
30149 * po/vi.po: Likewise.
30150
30151 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30152
30153 * Makeconfig [!+link] (+link-before-libc): New variable.
30154 [!+link] (+link-after-libc): Likewise.
30155 [!+link] (+link-tests): Likewise.
30156 [!+link] (+link): Define in terms of $(+link-before-libc) and
30157 $(+link-after-libc).
30158 [!+link-static] (+link-static-before-libc): New variable.
30159 [!+link-static] (+link-static-after-libc): Likewise.
30160 [!+link-static] (+link-static-tests): Likewise.
30161 [!+link-static] (+link-static): Define in terms of
30162 $(+link-static-before-libc) and $(+link-static-after-libc).
30163 [build-shared] (link-libc-before-gnulib): New variable.
30164 [build-shared] (link-libc-tests): Likewise.
30165 [build-shared] (link-libc): Define in terms of
30166 $(link-libc-before-gnulib).
30167 [!build-shared] (link-libc-tests): New variable.
30168 (link-libc-static-tests): New variable.
30169 [!gnulib] (gnulib-arch): New variable.
30170 [!gnulib] (gnulib-tests): Likewise.
30171 [!gnulib] (static-gnulib-arch): Likewise.
30172 [!gnulib] (static-gnulib-tests): Likewise.
30173 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30174 Define with "=" instead of ":=".
30175 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30176 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30177 * Rules (binaries-all-notests): New variable.
30178 (binaries-all-tests): Likewise.
30179 (binaries-static-notests): Likewise.
30180 (binaries-static-tests): Likewise.
30181 (binaries-all): Define using $(binaries-all-notests) and
30182 $(binaries-all-tests).
30183 (binaries-static): Define using $(binaries-static-notests) and
30184 $(binaries-static-tests).
30185 (binaries-shared-tests): New variable.
30186 (binaries-shared-notests): Likewise.
30187 (binaries-shared): Remove variable.
30188 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30189 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30190 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30191 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30192 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30193 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30194 * elf/Makefile (sln-modules): New variable.
30195 (extra-objs): Add $(sln-modules:=.o).
30196 (ldconfig-modules): Add static-stubs.
30197 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30198 * elf/static-stubs.c: New file.
30199
30200 [BZ #14283]
30201 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30202 by 7 not 8 to examine high bit of fractional part. Use volatile
30203 variables when splitting into final array of floats if
30204 __FLT_EVAL_METHOD__ != 0.
30205 * math/libm-test.inc (cos_test): Add another test.
30206 (sin_test): Likewise.
30207 * sysdeps/i386/fpu/libm-test-ulps: Update.
30208
30209 [BZ #14273]
30210 * math/libm-test.inc (cosh_test): Add more tests.
30211
30212 * version.h (RELEASE): Set to "development".
30213 (VERSION): Set to "2.16.90".
30214
30215 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30216
30217 * NEWS: Update copyright. Remove last-updated date.
30218 Mention math library bug fixes and timezone data changes.
30219 * README: Mention GNU/Hurd, x32, and HPPA support status.
30220
30221 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30222
30223 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30224
30225 2012-06-27 Andreas Jaeger <aj@suse.de>
30226
30227 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30228
30229 2012-06-25 Andreas Jaeger <aj@suse.de>
30230
30231 * sysdeps/s390/fpu/libm-test-ulps: Update.
30232
30233 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30234 Thomas Schwinge <thomas@codesourcery.com>
30235
30236 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30237 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30239 fanotify_mark.
30240
30241 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30242
30243 * sysdeps/mach/start.c: Remove file.
30244 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30245 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30246 * sysdeps/sh/init-first.c: Likewise.
30247
30248 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30249 registers for frame unwinding purposes, add CFI directives.
30250 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30251 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30252 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30253 Likewise.
30254
30255 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30256 __fortify_fail returning.
30257 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30258
30259 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30260 sysdeps/sh/____longjmp_chk.S.
30261 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30262 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30263 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30264 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30265
30266 * sysdeps/sh/abort-instr.h: New file.
30267 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30268 process in case exit returns.
30269
30270 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30271 initialize the GOT register before use.
30272
30273 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30274 calculation of ARGC > 4.
30275
30276 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30277 meaningful names to some local labels.
30278
30279 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30280 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30281
30282 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30283 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30284 (__arch_compare_and_exchange_val_16_acq): Likewise.
30285 (__arch_compare_and_exchange_val_32_acq): Likewise.
30286 (atomic_exchange_and_add): Fix gUSA sequence.
30287 (atomic_add): Likewise.
30288 (atomic_add_negative): Likewise.
30289 (atomic_add_zero): Likewise.
30290 (atomic_bit_test_set): Likewise.
30291
30292 2012-06-22 Andreas Schwab <schwab@redhat.com>
30293
30294 [BZ #13579]
30295 * include/link.h (struct link_map): Add l_free_initfini.
30296 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30297 l_initfini.
30298 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30299 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30300 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30301 set.
30302
30303 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30304
30305 * configure.in: Use AC_LANG_SOURCE.
30306 * configure: Regenerate.
30307
30308 2012-06-22 Roland McGrath <roland@hack.frob.com>
30309
30310 * configure.in (libc_cv_localstatedir): New substituted variable.
30311 * configure: Regenerated.
30312 * config.make.in (localstatedir): New variable, substituted from
30313 libc_cv_localstatedir.
30314 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30315 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30316 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30317 * sysdeps/gnu/configure: Regenerated.
30318
30319 2012-06-21 Jeff Law <law@redhat.com>
30320
30321 [BZ #14277]
30322 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30323 free. Simplify list management for _LIBC case.
30324
30325 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30326
30327 [BZ #14273]
30328 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30329 Clear sign bit of 64-bit integer value before comparing against
30330 overflow value.
30331
30332 * sysdeps/mach/configure: Regenerated.
30333
30334 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30335
30336 [BZ #14278]
30337 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30338
30339 2012-06-21 Jeff Law <law@redhat.com>
30340
30341 [BZ #13882]
30342 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30343 uint16_t for elements in the "seen" array to avoid char overflows.
30344 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30345 * elf/dl-open.c (dl_open_worker): Likewise.
30346
30347 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30348
30349 * scripts/list-sources.sh: Scan PORTS for translations.
30350 * po/libc.pot: Regenerated.
30351
30352 2012-06-21 Andreas Jaeger <aj@suse.de>
30353
30354 [BZ #12194]
30355 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30356 warning.
30357 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30358 * bits/byteswap-16.h (__bswap_16): Likewise.
30359 * bits/byteswap.h (__bswap_constant_16): Likewise.
30360
30361 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30362
30363 [BZ #14117]
30364 * sysdeps/i386/fpu_control.h: Removed.
30365 * sysdeps/x86_64/fpu_control.h: Moved to ...
30366 * sysdeps/x86/fpu_control.h: Here.
30367
30368 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30369 (_FPU_SETCW): Likewise.
30370
30371 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30372
30373 [BZ #14117]
30374 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30375 * sysdeps/x86/fpu/bits/mathinline.h: This.
30376 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30377
30378 [BZ #14050]
30379 [BZ #14117]
30380 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30381 functions if __x86_64__ is defined.
30382
30383 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30384
30385 * string/endian.h: Add !__ASSEMBLER__ condition for including
30386 conversion interfaces.
30387
30388 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30389
30390 [BZ #14241]
30391 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30392 of ABS(x) in calculating zero to negative powers other than odd
30393 integers.
30394 * math/libm-test.inc (pow_test): Add more tests.
30395
30396 2012-06-15 Andreas Jaeger <aj@suse.de>
30397
30398 * manual/contrib.texi (Contributors): Update entry of Liubov
30399 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30400 Machado Filho.
30401
30402 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30403
30404 * string/string.h: Add __wur to GNU version of strerror_r.
30405
30406 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30407
30408 [BZ #14229]
30409 * string/Makefile (tests): Add tst-strtok_r.
30410 * string/tst-strtok_r.c: New file.
30411 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30412 RAX_LP/RDX_LP on SAVE_PTR.
30413
30414 2012-06-14 Roland McGrath <roland@hack.frob.com>
30415
30416 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30417
30418 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30419
30420 * libm_test.inc (csqrt_test): Allow more spurious underflow
30421 exceptions.
30422 (j0_test): Likewise.
30423 (j1_test): Likewise.
30424 (y0_test): Likewise.
30425 (y1_test): Likewise.
30426
30427 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30428
30429 * po/Makefile (libc.pot): Use UTF-8 charset.
30430
30431 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30432
30433 [BZ #14210]
30434 Suppress sign-conversion warning from FD_SET.
30435 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30436 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30437 not unsigned long int.
30438 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30439
30440 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30441
30442 [BZ #14050]
30443 [BZ #14117]
30444 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30445 __extern_always_inline instead of __extern_inline.
30446 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30447 (__signbit): Likewise.
30448 (__signbitl): Support C++ namespace.
30449 (lrintf): New inline function.
30450 (lrint): Likewise.
30451 (llrintf): Likewise.
30452 (llrint): Likewise.
30453 (fmaxf): Likewise.
30454 (fmax): Likewise.
30455 (fminf): Likewise.
30456 (fmin): Likewise.
30457 (rint): Likewise.
30458 (rintf): Likewise.
30459 (ceil): Likewise.
30460 (ceilf): Likewise.
30461 (floor): Likewise.
30462 (floorf): Likewise.
30463 (nearbyint): Likewise.
30464 (nearbyintf): Likewise.
30465
30466 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30467
30468 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30469 non-default versions.
30470
30471 2012-06-11 Roland McGrath <roland@hack.frob.com>
30472
30473 [BZ #14218]
30474 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30475
30476 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30477
30478 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30479 (FE_UPWARD, FE_DOWNWARD): Don't define.
30480 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30481 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30482
30483 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30484 reading it.
30485 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30486 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30487
30488 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30489
30490 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30491 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30492 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30493 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30494
30495 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30496
30497 [BZ #14117]
30498 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30499 * sysdeps/i386/fpu/Implies: New file.
30500 * sysdeps/x86_64/fpu/Implies: Likewise.
30501 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30502 * sysdeps/x86/fpu/bits/fenv.h: This.
30503
30504 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30505 __SSE_MATH__.
30506
30507 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30508
30509 [BZ #14134]
30510 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30511 character 0xffff that matches the last element of the
30512 conversion table.
30513
30514 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30515
30516 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30517 fmodl commit.
30518
30519 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30520
30521 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30522 values higher than 25.6283.
30523
30524 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30525
30526 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30527 subnormal exponent extraction and add some __builtin_expect.
30528 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30529 Fix for subnormal mantissa calculation.
30530
30531 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30532
30533 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30534 cpu2 is -1 and errno is not ENOSYS.
30535
30536 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30537
30538 [BZ #14117]
30539 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30540 * sysdeps/x86/bits/string.h: This.
30541 * sysdeps/x86_64/bits/string.h: Removed.
30542
30543 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30544 if not compiling for x86-64, but compiling for >= i486.
30545
30546 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30547 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30548
30549 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30550 New macro from Linux kernel 3.4.0.
30551 (FP_XSTATE_MAGIC2): Likewise.
30552 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30553 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30554 (struct _fpx_sw_bytes): New struct.
30555 (struct _xsave_hdr): Likewise.
30556 (struct _ymmh_state): Likewise.
30557 (struct _xstate): Likewise.
30558
30559 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30560 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30561 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30562 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30563 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30564 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30565
30566 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30567 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30568 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30569 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30570 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30571 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30572
30573 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30574
30575 [BZ #13743]
30576 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30577 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30578 (sysdep_headers): Include sys/platform/ppc.h.
30579 * sysdeps/powerpc/test-gettimebase.c: Test for
30580 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30581 * manual/Makefile (appendices): Include platform.texi.
30582 * manual/contrib.texi (Contributors): Update @node pointers.
30583 * manual/maint.texi (Maintenance): Likewise.
30584 (Platform): New node.
30585 * manual/platform.texi: New file. Document the new features.
30586
30587 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30588 Jakub Jelinek <jakub@redhat.com>
30589
30590 [BZ #14188]
30591 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30592 where __builtin_expect is unavailable.
30593
30594 2012-06-03 David S. Miller <davem@davemloft.net>
30595
30596 * stdlib/longlong.h: Updated from GCC.
30597
30598 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30599
30600 [BZ #14042]
30601 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30602 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30603 __mcount_internal.
30604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30605 (GLIBC_2.16): Likewise.
30606
30607 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30608
30609 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30610
30611 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30612
30613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30614 (default-abi): New variable.
30615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30616 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30617 variable.
30618 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30619 Likewise.
30620 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30621 Likewise.
30622 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30623 Likewise.
30624
30625 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30626 definition. Document in comment.
30627
30628 2012-06-01 David S. Miller <davem@davemloft.net>
30629
30630 * stdlib/longlong.h: Updated from GCC.
30631
30632 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30633
30634 [BZ #14117]
30635 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30636 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30637 sys/debugreg.h sys/io.h here.
30638 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30639 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30640 sys/io.h.
30641 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30642 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30643 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30644 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30645 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30646 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30647
30648 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30649 Define only if __x86_64__ is defined.
30650
30651 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30652
30653 [BZ #14048]
30654 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30655 Use int64_t for variable i.
30656 * math/libm-test.inc (fmod_test): Add more tests.
30657
30658 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30659 z computation is not scheduled after fetestexcept.
30660 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30661 Use math_force_eval instead of asm to ensure calculation scheduled
30662 before exception test.
30663 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30664 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30665
30666 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30667
30668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30669 computation is not scheduled after fetestexcept.
30670
30671 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30672
30673 [BZ #14117]
30674 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30675 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30676
30677 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30678
30679 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30680 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30681
30682 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30683
30684 [BZ #14117]
30685 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30686 <bits/wordsize.h>.
30687 (__WCHAR_MIN): Support __WORDSIZE == 64.
30688 (__WCHAR_MAX): Likewise.
30689
30690 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30691 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30692
30693 [BZ #14183]
30694 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30695 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30696
30697 [BZ #14117]
30698 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30699 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30700
30701 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30702 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30703
30704 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30705 Defined to 1 if __x86_64__ isn't defined.
30706 (_STAT_VER_LINUX_OLD): New.
30707 (st_atime): Remove duplicate.
30708 (st_mtime): Likewise.
30709 (st_ctime): Likewise.
30710
30711 2012-05-31 David S. Miller <davem@davemloft.net>
30712
30713 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30714 entries.
30715
30716 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30717
30718 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30719 gen-libm-test.pl.
30720
30721 [BZ #14132]
30722 * elf/dl-reloc.c: Include <_itoa.h>.
30723 (_dl_reloc_bad_type): Remove use of INTUSE.
30724 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30725 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30726 * stdio-common/psiginfo.c (psiginfo): Likewise.
30727 * stdio-common/psignal.c (psignal): Likewise.
30728 * string/strsignal.c (strsignal): Likewise.
30729 * include/signal.h (_sys_siglist): Declare hidden proto.
30730 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30731 INTVARDEF with libc_hidden_data_def.
30732 * stdio-common/itoa-udigits.c: Likewise.
30733 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30734 (_itoa_lower_digits_internal): Remove declaration.
30735 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30736 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30737 (_sys_sigabbrev_internal): Remove aliases.
30738 (_sys_siglist): Define hidden alias.
30739
30740 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30741
30742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30743 bits/sysctl.h.
30744
30745 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30746
30747 [BZ #14117]
30748 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30749 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30750
30751 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30752 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30753 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30754 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30755 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30756 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30757
30758 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30759 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30760 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30761
30762 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30763 with __addr.
30764 (insw): Likewise.
30765 (insl): Likewise.
30766 (outsb): Likewise.
30767 (outsw): Likewise.
30768 (outsl): Likewise.
30769
30770 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30771 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30772 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30773
30774 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30775 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30776 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30777 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30778 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30779 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30780
30781 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30782 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30783
30784 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30785 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30786
30787 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30788 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30789 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30790
30791 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30792 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30793 to ...
30794 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30795
30796 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30797 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30798 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30799
30800 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30801 for x86-64.
30802 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30803
30804 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30805
30806 * math/math.h (M_El): Use two more decimal places.
30807 (M_LOG2El): Likewise.
30808 (M_LOG10El): Likewise.
30809 (M_LN2l): Likewise.
30810 (M_LN10l): Likewise.
30811 (M_PIl): Likewise.
30812 (M_PI_2l): Likewise.
30813 (M_PI_4l): Likewise.
30814 (M_1_PIl): Likewise.
30815 (M_2_PIl): Likewise.
30816 (M_2_SQRTPIl): Likewise.
30817 (M_SQRT2l): Likewise.
30818 (M_SQRT1_2l): Likewise.
30819
30820 2012-05-31 David S. Miller <davem@davemloft.net>
30821
30822 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30823 values between float registers.
30824 * sysdeps/sparc/sparc64/memset.S: Likewise.
30825 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30826
30827 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30828
30829 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30830 -D_FORTIFY_SOURCE=1.
30831 (CPPFLAGS-tst-longjmp_chk.c): Define.
30832 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30833 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30834 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30835 CFLAGS-tst-wchar-h.c.
30836
30837 2012-05-31 Marek Polacek <polacek@redhat.com>
30838
30839 [BZ #14132]
30840 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30841 __endmntent_internal): Remove declaration.
30842 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30843 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30844 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30845
30846 2012-05-30 David S. Miller <davem@davemloft.net>
30847
30848 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30849 (___Q_simulate_exceptions): Use real FP ops rather than writing
30850 into the %fsr.
30851 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30852 Likewise.
30853
30854 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30855
30856 [BZ #14117]
30857 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30858 * sysdeps/x86/bits/xtitypes.h: This.
30859
30860 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30861 * sysdeps/x86/bits/wordsize.h: This.
30862
30863 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30864 * sysdeps/x86/bits/huge_vall.h: This.
30865
30866 * sysdeps/i386/bits/select.h: Removed.
30867 * sysdeps/x86_64/bits/select.h: Renamed to ...
30868 * sysdeps/x86/bits/select.h: This.
30869
30870 * sysdeps/i386/bits/setjmp.h: Removed.
30871 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30872 * sysdeps/x86/bits/setjmp.h: This.
30873
30874 * sysdeps/i386/bits/mathdef.h: Removed.
30875 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30876 * sysdeps/x86/bits/mathdef.h: This.
30877
30878 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30879
30880 [BZ #14132]
30881 * include/sys/socket.h (__connect_internal)
30882 (__libc_sa_len_internal): Remove declaration.
30883 (__connect, __libc_sa_len): Declare hidden_proto.
30884 (SA_LEN): Remove use of INTUSE.
30885 * socket/connect.c: Add libc_hidden_def.
30886 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30887 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30888 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30889 alias.
30890 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30891 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30892 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30893 of adding _internal alias.
30894
30895 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30896
30897 [BZ #14117]
30898 * sysdeps/i386/bits/link.h: Removed.
30899 * sysdeps/i386/bits/linkmap.h: Likewise.
30900 * sysdeps/x86_64/bits/link.h: Renamed to ...
30901 * sysdeps/x86/bits/link.h: This.
30902 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30903 * sysdeps/x86/bits/linkmap.h: This.
30904
30905 * sysdeps/i386/bits/endian.h: Removed.
30906 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30907 * sysdeps/x86/bits/endian.h: This.
30908
30909 * sysdeps/i386/bits/byteswap.h: Removed.
30910 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30911 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30912 * sysdeps/x86/bits/byteswap.h: This.
30913 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30914 * sysdeps/x86/bits/byteswap-16.h: This.
30915 * sysdeps/i386/Implies: Add x86.
30916 * sysdeps/x86_64/Implies: Likewise.
30917
30918 2012-05-30 David S. Miller <davem@davemloft.net>
30919
30920 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30921 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30922 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30923 (FP_TRAPPING_EXCEPTIONS): Define.
30924 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30925 (FP_TRAPPING_EXCEPTIONS): Define.
30926 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30927 subnormals only when inexact has been signalled or underflow
30928 exceptions are enabled.
30929 (_FP_PACK_CANONICAL): Likewise.
30930
30931 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30932
30933 [BZ #14183]
30934 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30935 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30936
30937 2012-05-30 Richard Henderson <rth@twiddle.net>
30938
30939 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30940 with #ifndef NOT_IN_libc.
30941
30942 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30943 marked to avoid plt entry.
30944
30945 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30946
30947 [BZ #14112]
30948 * Makeconfig (default-abi): New macro.
30949 (abi-includes): Likewise.
30950 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30951 $(abi-$(default-abi)-lib-soname) for soname if defined.
30952 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30953 abi-variants.
30954 * Makefile (installed-stubs): Likewise.
30955 * include/stubs-biarch.h: Removed.
30956 * scripts/lib-names.awk: Only handle one library at a time.
30957 * scripts/soversions.awk: Remove WORDSIZE support.
30958 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30959 entries.
30960 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30961 Removed.
30962 (syscall-list-default-condition): Likewise.
30963 (syscall-list-default-condition): Likewise.
30964 (syscall-list-includes): Likewise.
30965 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30966 syscall-list-* with abi-*. Handle undefined abi-variants.
30967 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30968 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30969 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30970 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30971 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30972 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30973 Removed.
30974 (syscall-list-32-options): Likewise.
30975 (syscall-list-32-condition): Likewise.
30976 (syscall-list-64-options): Likewise.
30977 (syscall-list-64-condition): Likewise.
30978 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30979 macro.
30980 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30981 Renamed to ...
30982 (abi-*): This.
30983 (abi-64-ld-soname): New macro.
30984 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30985 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30986 Renamed to ...
30987 (abi-*): This.
30988 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30989 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30990
30991 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30992
30993 * sysdeps/unix/sysv/linux/kernel-features.h
30994 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30995 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30996 include <kernel-features.h>.
30997 [!__NR_ftruncate64]: Remove conditional code.
30998 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30999 [__NR_ftruncate64]: Make code unconditional.
31000 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31001 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31002 include <kernel-features.h>.
31003 [!__NR_ftruncate64]: Remove conditional code.
31004 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31005 [__NR_ftruncate64]: Make code unconditional.
31006 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31008 include <kernel-features.h>.
31009 [!__NR_ftruncate64]: Remove conditional code.
31010 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31011 [__NR_ftruncate64]: Make code unconditional.
31012 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31014 include <kernel-features.h>.
31015 [!__NR_ftruncate64]: Remove conditional code.
31016 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31017 [__NR_ftruncate64]: Make code unconditional.
31018 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31019
31020 * configure.in (libc_cv_fpie): Weaken to a compile test using
31021 LIBC_TRY_CC_OPTION.
31022 * configure: Regenerated.
31023
31024 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31025
31026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31030 Refreshed.
31031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31037 Refreshed.
31038
31039 2012-05-27 David S. Miller <davem@davemloft.net>
31040
31041 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31042 (___Q_zero): New.
31043 (__Q_simulate_exceptions): Return void. Change to simulate
31044 exceptions by writing into the %fsr.
31045 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31046 (__Qp_handle_exceptions): Likewise.
31047 (numbers): Delete.
31048 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31049 __Qp_handle_exceptions.
31050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31051 __Qp_handle_exceptions.
31052 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31053 as unused and give dummy FP_RND_NEAREST initializer.
31054 (FP_INHIBIT_RESULTS): Define.
31055 (___Q_simulate_exceptions): Update declaration.
31056 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31057 formatting.
31058 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31059 as unused and give dummy FP_RND_NEAREST initializer.
31060 (__Qp_handle_exceptions): Update declaration.
31061 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31062 formatting.
31063
31064 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31065
31066 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31067 the temporary FPU control word.
31068 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31069 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31070 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31071 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31072 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31073 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31074 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31075 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31076 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31077 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31078 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31079
31080 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31081
31082 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31083 fields.
31084
31085 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31086
31087 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31088 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31089 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31090 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31091 Likewise.
31092 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31093 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31094 Likewise.
31095
31096 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31097
31098 * po/h.po: Update from translation team.
31099
31100 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31101
31102 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31103
31104 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31105 handling of denormals.
31106 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31107 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31108 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31109 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31110 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31111 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31113 Likewise.
31114
31115 2012-05-26 Marek Polacek <polacek@redhat.com>
31116
31117 [BZ #14152]
31118 * math/libm-test.inc (fma_test): Don't always expect underflow
31119 exception.
31120
31121 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31122
31123 [BZ #12416]
31124 * elf/tst-execstack.c: Include stackinfo.h.
31125 (do_test): Adjust test case to ensure that pthread_getattr_np
31126 behaviour remains the same after marking stack executable.
31127
31128 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31129
31130 * sysdeps/unix/sysv/linux/kernel-features.h
31131 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31132 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31133 kernel-features.h.
31134 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31135 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31136 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31137 kernel-features.h.
31138 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31139 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31140
31141 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31142
31143 * configure.in: Define the default includes to being none.
31144 * configure: Regenerated.
31145
31146 2012-05-25 Roland McGrath <roland@hack.frob.com>
31147
31148 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31149 * sysdeps/x86_64/setjmp.S: Likewise.
31150 * sysdeps/i386/bsd-setjmp.S: Likewise.
31151 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31152 * sysdeps/i386/setjmp.S: Likewise.
31153 * sysdeps/i386/__longjmp.S: Likewise.
31154 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31155 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31156
31157 * include/stap-probe.h: New file.
31158 * configure.in: Handle --enable-systemtap.
31159 * configure: Regenerated.
31160 * config.h.in (USE_STAP_PROBE): New #undef.
31161 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31162 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31163 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31164
31165 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31166
31167 [BZ #13717]
31168 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31169 to 2.4.0 where earlier.
31170 * sysdeps/unix/sysv/linux/configure: Regenerated.
31171 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31172 <kernel-features.h>.
31173 [__ASSUME_32BITUIDS]: Make code unconditional.
31174 [!__ASSUME_32BITUIDS]: Remove conditional code.
31175 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31176 <kernel-features.h>.
31177 [__ASSUME_32BITUIDS]: Make code unconditional.
31178 [!__ASSUME_32BITUIDS]: Remove conditional code.
31179 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31180 [__ASSUME_32BITUIDS]: Make code unconditional.
31181 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31182 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31183 <kernel-features.h>.
31184 [__ASSUME_32BITUIDS]: Make code unconditional.
31185 [!__ASSUME_32BITUIDS]: Remove conditional code.
31186 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31187 <kernel-features.h>.
31188 [__ASSUME_32BITUIDS]: Make code unconditional.
31189 [!__ASSUME_32BITUIDS]: Remove conditional code.
31190 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31191 <kernel-features.h>.
31192 [__ASSUME_32BITUIDS]: Make code unconditional.
31193 [!__ASSUME_32BITUIDS]: Remove conditional code.
31194 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31195 <kernel-features.h>.
31196 [__ASSUME_32BITUIDS]: Make code unconditional.
31197 [!__ASSUME_32BITUIDS]: Remove conditional code.
31198 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31199 <kernel-features.h>.
31200 [__ASSUME_32BITUIDS]: Make code unconditional.
31201 [!__ASSUME_32BITUIDS]: Remove conditional code.
31202 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31203 <kernel-features.h>.
31204 [__ASSUME_32BITUIDS]: Make code unconditional.
31205 [!__ASSUME_32BITUIDS]: Remove conditional code.
31206 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31207 <kernel-features.h>.
31208 [__ASSUME_32BITUIDS]: Make code unconditional.
31209 [!__ASSUME_32BITUIDS]: Remove conditional code.
31210 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31211 <kernel-features.h>.
31212 [__ASSUME_32BITUIDS]: Make code unconditional.
31213 [!__ASSUME_32BITUIDS]: Remove conditional code.
31214 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31215 <kernel-features.h>.
31216 [__ASSUME_32BITUIDS]: Make code unconditional.
31217 [!__ASSUME_32BITUIDS]: Remove conditional code.
31218 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31219 <kernel-features.h>.
31220 [__ASSUME_32BITUIDS]: Make code unconditional.
31221 [!__ASSUME_32BITUIDS]: Remove conditional code.
31222 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31223 <kernel-features.h>.
31224 [__NR_setresgid] (__setresgid): Do not declare.
31225 [__ASSUME_32BITUIDS]: Make code unconditional.
31226 [!__ASSUME_32BITUIDS]: Remove conditional code.
31227 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31228 <kernel-features.h>.
31229 [__NR_setresuid] (__setresuid): Do not declare.
31230 [__ASSUME_32BITUIDS]: Make code unconditional.
31231 [!__ASSUME_32BITUIDS]: Remove conditional code.
31232 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31233 <kernel-features.h>.
31234 [__ASSUME_32BITUIDS]: Make code unconditional.
31235 [!__ASSUME_32BITUIDS]: Remove conditional code.
31236 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31237 <kernel-features.h>.
31238 [__ASSUME_32BITUIDS]: Make code unconditional.
31239 [!__ASSUME_32BITUIDS]: Remove conditional code.
31240 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31241 <kernel-features.h>.
31242 [__ASSUME_32BITUIDS]: Make code unconditional.
31243 [!__ASSUME_32BITUIDS]: Remove conditional code.
31244 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31245 <kernel-features.h>.
31246 [__ASSUME_32BITUIDS]: Make code unconditional.
31247 [!__ASSUME_32BITUIDS]: Remove conditional code.
31248 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31249 <kernel-features.h>.
31250 [__ASSUME_32BITUIDS]: Make code unconditional.
31251 [!__ASSUME_32BITUIDS]: Remove conditional code.
31252 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31253 <kernel-features.h>.
31254 [__ASSUME_32BITUIDS]: Make code unconditional.
31255 [!__ASSUME_32BITUIDS]: Remove conditional code.
31256 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31257 <kernel-features.h>.
31258 [__ASSUME_32BITUIDS]: Make code unconditional.
31259 [!__ASSUME_32BITUIDS]: Remove conditional code.
31260 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31261 <kernel-features.h>.
31262 [__ASSUME_32BITUIDS]: Make code unconditional.
31263 [!__ASSUME_32BITUIDS]: Remove conditional code.
31264 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31265 <kernel-features.h>.
31266 [__ASSUME_32BITUIDS]: Make code unconditional.
31267 [!__ASSUME_32BITUIDS]: Remove conditional code.
31268 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31269 <kernel-features.h>.
31270 [__ASSUME_32BITUIDS]: Make code unconditional.
31271 [!__ASSUME_32BITUIDS]: Remove conditional code.
31272 * sysdeps/unix/sysv/linux/kernel-features.h
31273 (__ASSUME_SETRESUID_SYSCALL): Remove.
31274 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31275 (__ASSUME_32BITUIDS): Likewise.
31276 (__ASSUME_LDT_WORKS): Likewise.
31277 (__ASSUME_O_DIRECTORY): Likewise.
31278 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31279 architecture but not kernel version.
31280 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31281 (__ASSUME_MMAP2_SYSCALL): Likewise.
31282 (__ASSUME_STAT64_SYSCALL): Likewise.
31283 (__ASSUME_IPC64): Likewise.
31284 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31285 <kernel-features.h>.
31286 [__ASSUME_32BITUIDS]: Make code unconditional.
31287 [!__ASSUME_32BITUIDS]: Remove conditional code.
31288 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31289 <kernel-features.h>.
31290 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31291 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31292 132096]: Remove conditional code.
31293 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31294 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31295 <kernel-features.h>.
31296 [__ASSUME_32BITUIDS]: Make code unconditional.
31297 [!__ASSUME_32BITUIDS]: Remove conditional code.
31298 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31299 <kernel-features.h>.
31300 [__ASSUME_32BITUIDS]: Make code unconditional.
31301 [!__ASSUME_32BITUIDS]: Remove conditional code.
31302 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31303 <kernel-features.h>.
31304 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31305 unconditional.
31306 (__setresgid): Do not declare.
31307 [__ASSUME_32BITUIDS]: Make code unconditional.
31308 [!__ASSUME_32BITUIDS]: Remove conditional code.
31309 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31310 <kernel-features.h>.
31311 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31312 unconditional.
31313 (__setresuid): Do not declare.
31314 [__ASSUME_32BITUIDS]: Make code unconditional.
31315 [!__ASSUME_32BITUIDS]: Remove conditional code.
31316 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31317 <kernel-features.h>.
31318 [__ASSUME_32BITUIDS]: Make code unconditional.
31319 [!__ASSUME_32BITUIDS]: Remove conditional code.
31320 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31321 <kernel-features.h>.
31322 [__ASSUME_32BITUIDS]: Make code unconditional.
31323 [!__ASSUME_32BITUIDS]: Remove conditional code.
31324
31325 2012-05-25 Richard Henderson <rth@twiddle.net>
31326
31327 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31328 dl_hwcap to ifunc resolver.
31329 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31330 elf_ifunc_invoke.
31331 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31332 dl_hwcap to ifunc resolver.
31333 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31334
31335 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31336
31337 [BZ #14153]
31338 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31339 for |x| <= 2**-26, not 2**-57.
31340 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31341 exception.
31342
31343 2012-05-24 Jeff Law <law@redhat.com>
31344
31345 * stdio-common/Makefile (tests): Add bug25.
31346 * stdio-common/bug25.c: New test.
31347
31348 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31349
31350 [BZ #13576]
31351 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31352 multiple of MALLOC_ALIGNMENT in size.
31353 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31354
31355 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31356
31357 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31358 Require >= 256.
31359 (FILENAME_MAX): Use macro-int-constant.
31360 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31361 (_IOFBF): Use macro-int-constant.
31362 (_IOLBF): Likewise.
31363 (_IONBF): Likewise.
31364 (SEEK_CUR): Likewise.
31365 (SEEK_END): Likewise.
31366 (SEEK_SET): Likewise.
31367 (TMP_MAX): Likewise.
31368 (EOF): Use macro-int-constant. Require < 0.
31369 (NULL): Use macro-constant. Require == 0.
31370 (stdin): Require type to be FILE *.
31371 (stdout): Likewise.
31372 (stderr): Likewise.
31373 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31374 macro-int-constant.
31375 (EXIT_SUCCESS): Likewise.
31376 (NULL): Use macro-constant. Require == 0.
31377 (RAND_MAX): Use macro-int-constant.
31378 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31379 [C99-based standards] (strtof): Require function.
31380 [C99-based standards] (strtold): Likewise.
31381 [C99-based standards] (strtoll): Likewise.
31382 [C99-based standards] (strtoull): Likewise.
31383 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31384 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31385 [ISO || ISO99 || ISO11] (math.h): Likewise.
31386 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31387 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31388 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31389
31390 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31391
31392 [BZ #14132]
31393 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31394 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31395 * intl/dgettext.c (DCGETTEXT): Likewise.
31396 * intl/gettext.c (DCGETTEXT): Likewise.
31397 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31398 * posix/regex_internal.h (gettext): Likewise.
31399 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31400 Remove declaration.
31401 * include/argz.h (__argz_count_internal)
31402 (__argz_stringify_internal): Remove declaration.
31403 (__argz_count, __argz_stringify): Declare hidden proto.
31404 * intl/dcgettext.c: Remove use of INTDEF.
31405 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31406 * string/argz-stringify.c: Likewise.
31407 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31408 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31409 Declare hidden proto.
31410 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31411 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31412 Declare hidden proto.
31413 * include/stdio.h (__asprintf_internal): Don't declare.
31414 (__asprintf): Don't define as macro. Declare hidden proto.
31415 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31416 (__fsetlocking): Declare hidden proto.
31417 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31418 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31419 hidden proto.
31420 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31421 (_IO_setlinebuf): Remove use of INTUSE.
31422 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31423 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31424 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31425 Remove declaration.
31426 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31427 (_IO_do_flush): Remove use of INTUSE.
31428 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31429 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31430 (_IO_adjust_column, _IO_least_wmarker)
31431 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31432 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31433 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31434 (_IO_default_doallocate, _IO_wdefault_doallocate)
31435 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31436 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31437 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31438 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31439 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31440 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31441 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31442 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31443 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31444 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31445 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31446 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31447 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31448 proto.
31449 (_IO_flush_all_internal, _IO_adjust_column_internal)
31450 (_IO_default_uflow_internal, _IO_default_finish_internal)
31451 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31452 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31453 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31454 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31455 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31456 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31457 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31458 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31459 (_IO_file_close_internal, _IO_file_close_it_internal)
31460 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31461 (_IO_file_init_internal, _IO_file_attach_internal)
31462 (_IO_file_fopen_internal, _IO_file_read_internal)
31463 (_IO_file_sync_internal, _IO_file_seek_internal)
31464 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31465 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31466 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31467 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31468 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31469 (_IO_list_all_internal, _IO_link_in_internal)
31470 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31471 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31472 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31473 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31474 (_IO_do_write_internal, _IO_padn_internal)
31475 (_IO_getline_info_internal, _IO_getline_internal)
31476 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31477 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31478 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31479 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31480 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31481 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31482 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31483 with libc_hidden_ver, remove use of INTUSE.
31484 * libio/genops.c: Likewise.
31485 * libio/freopen.c: Likewise.
31486 * libio/freopen64.c: Likewise.
31487 * libio/iofclose.c: Likewise.
31488 * libio/iofdopen.c: Likewise.
31489 * libio/iofflush.c: Likewise.
31490 * libio/iofflush_u.c: Likewise.
31491 * libio/iofgets.c: Likewise.
31492 * libio/iofgets_u.c: Likewise.
31493 * libio/iofopen.c: Likewise.
31494 * libio/iofopncook.c: Likewise.
31495 * libio/iofread.c: Likewise.
31496 * libio/iofread_u.c: Likewise.
31497 * libio/ioftell.c: Likewise.
31498 * libio/iofwrite.c: Likewise.
31499 * libio/iogetline.c: Likewise.
31500 * libio/iogets.c: Likewise.
31501 * libio/iogetwline.c: Likewise.
31502 * libio/iopadn.c: Likewise.
31503 * libio/iopopen.c: Likewise.
31504 * libio/ioseekoff.c: Likewise.
31505 * libio/ioseekpos.c: Likewise.
31506 * libio/iosetbuffer.c: Likewise.
31507 * libio/iosetvbuf.c: Likewise.
31508 * libio/ioungetc.c: Likewise.
31509 * libio/ioungetwc.c: Likewise.
31510 * libio/iovdprintf.c: Likewise.
31511 * libio/iovsprintf.c: Likewise.
31512 * libio/iovsscanf.c: Likewise.
31513 * libio/memstream.c: Likewise.
31514 * libio/obprintf.c: Likewise.
31515 * libio/oldfileops.c: Likewise.
31516 * libio/oldiofclose.c: Likewise.
31517 * libio/oldiofdopen.c: Likewise.
31518 * libio/oldiofopen.c: Likewise.
31519 * libio/oldiopopen.c: Likewise.
31520 * libio/oldstdfiles.c: Likewise.
31521 * libio/putc.c: Likewise.
31522 * libio/setbuf.c: Likewise.
31523 * libio/setlinebuf.c: Likewise.
31524 * libio/stdfiles.c: Likewise.
31525 * libio/strops.c: Likewise.
31526 * libio/vasprintf.c: Likewise.
31527 * libio/vscanf.c: Likewise.
31528 * libio/vsnprintf.c: Likewise.
31529 * libio/vswprintf.c: Likewise.
31530 * libio/wfiledoalloc.c: Likewise.
31531 * libio/wfileops.c: Likewise.
31532 * libio/wgenops.c: Likewise.
31533 * libio/wmemstream.c: Likewise.
31534 * libio/wstrops.c: Likewise.
31535 * libio/__fpurge.c: Likewise.
31536 * libio/__fsetlocking.c: Likewise.
31537 * assert/assert.c: Likewise.
31538 * debug/fgets_chk.c: Likewise.
31539 * debug/fgets_u_chk.c: Likewise.
31540 * debug/fread_chk.c: Likewise.
31541 * debug/fread_u_chk.c: Likewise.
31542 * debug/gets_chk.c: Likewise.
31543 * debug/obprintf_chk.c: Likewise.
31544 * debug/vasprintf_chk.c: Likewise.
31545 * debug/vdprintf_chk.c: Likewise.
31546 * debug/vsnprintf_chk.c: Likewise.
31547 * debug/vsprintf_chk.c: Likewise.
31548 * malloc/mtrace.c: Likewise.
31549 * misc/error.c: Likewise.
31550 * misc/syslog.c: Likewise.
31551 * stdio-common/asprintf.c: Likewise.
31552 * stdio-common/fxprintf.c: Likewise.
31553 * stdio-common/getw.c: Likewise.
31554 * stdio-common/isoc99_fscanf.c: Likewise.
31555 * stdio-common/isoc99_scanf.c: Likewise.
31556 * stdio-common/isoc99_vfscanf.c: Likewise.
31557 * stdio-common/isoc99_vscanf.c: Likewise.
31558 * stdio-common/isoc99_vsscanf.c: Likewise.
31559 * stdio-common/printf-prs.c: Likewise.
31560 * stdio-common/printf_fp.c: Likewise.
31561 * stdio-common/printf_fphex.c: Likewise.
31562 * stdio-common/printf_size.c: Likewise.
31563 * stdio-common/putw.c: Likewise.
31564 * stdio-common/scanf.c: Likewise.
31565 * stdio-common/sprintf.c: Likewise.
31566 * stdio-common/tmpfile.c: Likewise.
31567 * stdio-common/vfprintf.c: Likewise.
31568 * stdio-common/vfscanf.c: Likewise.
31569 * stdlib/strfmon_l.c: Likewise.
31570 * sunrpc/openchild.c: Likewise.
31571 * sunrpc/xdr_stdio.c: Likewise.
31572 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31573 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31574
31575 2012-05-24 Roland McGrath <roland@hack.frob.com>
31576
31577 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31578
31579 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31580 in the third column, to generate for the shared library an IFUNC
31581 that uses _dl_vdso_vsym.
31582 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31583 * Makeconfig (object-suffixes-noshared): New variable.
31584
31585 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31586 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31587 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31588 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31589
31590 [BZ #14132]
31591 * include/sys/time.h (__gettimeofday): Remove macro.
31592 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31593 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31594 Remove INTDEF.
31595 (__gettimeofday): Add libc_hidden_def.
31596 (gettimeofday): Add libc_hidden_weak.
31597 * sysdeps/mach/gettimeofday.c: Likewise.
31598 * sysdeps/posix/gettimeofday.c: Likewise.
31599 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31600 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31601 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31602 (__gettimeofday_internal): Remove strong_alias.
31603 (__gettimeofday): Add libc_hidden_def.
31604 (gettimeofday): Add libc_hidden_weak.
31605 * sysdeps/unix/syscalls.list (gettimeofday):
31606 Remove __gettimeofday_internal alias.
31607
31608 2012-05-24 Daniel Jacobowitz <drow@false.org>
31609 H.J. Lu <hongjiu.lu@intel.com>
31610
31611 [BZ #12495]
31612 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31613 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31614 (largebin_index_32_big): New.
31615 (largebin_index): Use it for 16-byte alignment.
31616 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31617 correction with front_misalign.
31618
31619 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31620
31621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31623 Likewise.
31624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31625 Likewise.
31626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31627 Likewise.
31628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31629 Likewise.
31630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31631 Likewise.
31632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31633 Likewise.
31634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31635 Likewise.
31636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31637 Likewise.
31638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31639 Likewise.
31640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31641 Likewise.
31642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31643 Likewise.
31644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31645 Likewise.
31646
31647 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31648 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31649
31650 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31651
31652 [BZ #10846]
31653 [BZ #14036]
31654 * math/libm-test.inc (exp_test): Add test from bug 14036.
31655 (pow_test): Add test from bug 10846.
31656
31657 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31658 and other flags.
31659 (special_function): Do not include flags in test name.
31660 (parse_args): Likewise.
31661 * sysdeps/i386/fpu/libm-test-ulps: Update.
31662 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31663 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31664 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31666
31667 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31668 exceptions.
31669 * math/libm-test.inc ("Philosophy"): Update comment about
31670 exception testing.
31671 (UNDERFLOW_EXCEPTION): New macro.
31672 (UNDERFLOW_EXCEPTION_OK): Likewise.
31673 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31674 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31675 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31676 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31677 (INVALID_EXCEPTION_OK): Update value.
31678 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31679 (OVERFLOW_EXCEPTION_OK): Likewise.
31680 (IGNORE_ZERO_INF_SIGN): Likewise.
31681 (test_exceptions): Handle underflow exceptions.
31682 (acos_test): Update for underflow exception expectations.
31683 (cexp_test): Likewise.
31684 (clog_test): Likewise.
31685 (clog10_test): Likewise.
31686 (csqrt_test): Likewise.
31687 (ctan_test): Likewise.
31688 (ctanh_test): Likewise.
31689 (exp_test): Likewise.
31690 (exp10_test): Likewise.
31691 (exp2_test): Likewise.
31692 (expm1_test): Likewise.
31693 (fma_test): Likewise.
31694 (j0_test): Likewise.
31695 (jn_test): Likewise.
31696 (nexttoward_test): Likewise.
31697 (pow_test): Likewise.
31698 (scalbn_test): Likewise.
31699 (scalbln_test): Likewise.
31700 (tan_test): Likewise.
31701 (y1_test): Likewise.
31702 * sysdeps/i386/fpu/libm-test-ulps: Update.
31703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31704
31705 2012-05-23 David S. Miller <davem@davemloft.net>
31706
31707 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31708 (__libc_sigaction): Remove unused local variables.
31709
31710 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31711
31712 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31713
31714 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31715
31716 mktime: avoid signed integer overflow
31717 * time/mktime.c (__mktime_internal): Do not mishandle the case
31718 where diff == INT_MIN.
31719
31720 mktime: simplify computation of average
31721 * time/mktime.c (ranged_convert): Use new time_t_avg function
31722 instead of rolling our own (probably-slower) code.
31723
31724 mktime: do not assume signed right shift propagates sign bit
31725 * time/mktime.c (isdst_differ): New static function.
31726 (__mktime_internal): No need to normalize tm_isdst now.
31727 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31728 tm_isdst values.
31729
31730 mktime: merge another wrapv change from gnulib
31731 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31732 from some compilers.
31733
31734 mktime: remove incorrect attempt at unusual arithmetics
31735 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31736 The code didn't really work on such machines anyway.
31737 (TYPE_MINIMUM): Assume two's complement.
31738 (twos_complement_arithmetic): Verify that long_int and time_t
31739 are two's complement (or unsigned, in the latter case).
31740
31741 mktime: check signed shifts on long_int and time_t, too
31742 * time/mktime.c (SHR): Check that shifts work as desired
31743 on the types long_int and time_t too, as SHR is used on
31744 such types.
31745
31746 mktime: do not assume 'long' is wide enough
31747 * time/mktime.c (verify): Move decl up.
31748 (long_int): New type.
31749 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31750 to remove assumption in the code that 'long' is wide enough to
31751 store year values. This assumption is not true on x32 and on
31752 some non-glibc platforms.
31753
31754 mktime: merge wrapv change from gnulib
31755 * time/mktime.c (WRAPV): New macro.
31756 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31757 (guess_time_tm, __mktime_internal): Do not assume that signed
31758 integer overflow wraps around; modern compilers generate code
31759 where this assumption is no longer valid.
31760
31761 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31762
31763 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31764 Replace "jmp L(pseudo_end)" with "ret".
31765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31766 Likewise.
31767
31768 2012-05-23 Andreas Jaeger <aj@suse.de>
31769
31770 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31771 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31772
31773 2012-05-23 Andreas Jaeger <aj@suse.de>
31774 Maximilian Attems <max@stro.at>
31775
31776 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31777 New macros.
31778
31779 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31780
31781 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31782 code so that pseudo_end is just ret and the stack pointer is
31783 correct also for static library in error case.
31784
31785 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31786
31787 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31788 move to syscalls.list.
31789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31793
31794 * manual/install.texi (Running make install): Do not mention Linux
31795 kernel version for which pt_chown is not needed.
31796 (Linux): Do not mention problems with nscd with 2.0 kernels.
31797 * INSTALL: Regenerated.
31798
31799 2012-05-23 Andreas Jaeger <aj@suse.de>
31800
31801 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31802 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31803 macro.
31804 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31805 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31806 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31807 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31808 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31809 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31810 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31811 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31812 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31813 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31814 * sysdeps/unix/sysv/linux/bits/in.h
31815 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31816
31817 2012-05-22 Roland McGrath <roland@hack.frob.com>
31818
31819 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31820 (PREPARE_VERSION): Just use assert instead, it will be elided
31821 under [NDEBUG] anyway.
31822
31823 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31824
31825 * sysdeps/unix/sysv/linux/Makefile: Include
31826 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31827 (sysdep_routines): Remove sysctl.
31828 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31829 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31830 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31831 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31832 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31833
31834 2012-05-22 Andreas Jaeger <aj@suse.de>
31835
31836 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31837 that pseudo_end is just ret and the stack pointer is correct also
31838 for static library in error case.
31839
31840 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31841
31842 [BZ #14122]
31843 * nss/nsswitch.c (defconfig_entries): New variable.
31844 (__nss_database_lookup): Don't leak defconfig entries.
31845 (nss_parse_service_list): Don't leak on error paths.
31846 (free_database_entries): New function.
31847 (free_defconfig): New function.
31848 (free_mem): Move common code to free_database_entries.
31849
31850 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31851
31852 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31853 Add arch_prctl.
31854 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31855
31856 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31857 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31859 New macro.
31860 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31861 (INTERNAL_SYSCALL_TYPES): Likewise.
31862 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31863 (LOAD_REGS_TYPES_[1-6]): Likewise.
31864 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31865 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31866
31867 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31868
31869 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31870 copysignl for GLIBC_2_0.
31871 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31872 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31874 logbl for GLIBC_2_0.
31875 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31876 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31877
31878 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31879
31880 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31881 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31882
31883 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31884 Use "neg %eax".
31885
31886 * time/mktime.c: Update copyright years.
31887
31888 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31889
31890 mktime: merge comment-quoting-style change from gnulib
31891 * time/mktime.c: Quote 'like this' in comments.
31892 The GNU coding standards suggest that we no longer quote `like this',
31893 as "`" and "'" are typically rendered asymmetrically nowadays.
31894 The typical gnulib style is to quote 'like this' when quoting
31895 code, and "like this" when quoting English.
31896
31897 * time/mktime.c (compile-command): Add "-I.".
31898
31899 mktime: merge mktime-internal.h change from gnulib
31900 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31901
31902 mktime: merge time_r change from gnulib
31903 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31904
31905 mktime: merge DEBUG change from gnulib
31906 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31907 case system <time.h> has a #define.
31908
31909 mktime: merge <sys/types.h> change from gnulib
31910 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31911 since <time.t> is now guaranteed to define time_t.
31912
31913 mktime: merge HAVE_CONFIG_H change from gnulib
31914 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31915
31916 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31917
31918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31919 Use "neg %eax".
31920
31921 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31922 __rlim_t cast.
31923 (struct rusage): Use anonymous union to pad each field to
31924 __syscall_slong_t.
31925
31926 2012-05-21 David S. Miller <davem@davemloft.net>
31927
31928 * Makefules (o-iterator): Remove .s cases.
31929 (compile-command.s): Delete.
31930 (COMPILE.s): Delete.
31931 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31932
31933 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31934
31935 * configure.in (libc_cv_predef_stack_protector): Only consider
31936 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31937 * configure: Regenerated.
31938
31939 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31940
31941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31942 New macro. Use R*LP on int and pointer.
31943 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31944 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31945 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31946 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31947
31948 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31949 [__WORDSIZE_TIME64_COMPAT32] instead of
31950 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31951 (struct utmp): Likewise.
31952 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31953 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31954 Renamed to ...
31955 (__WORDSIZE_TIME64_COMPAT32): This.
31956 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31957 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31958 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31959 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31960 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31961 (__WORDSIZE_TIME64_COMPAT32): New macro.
31962
31963 2012-05-21 Andreas Jaeger <aj@suse.de>
31964
31965 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31966 only if [SHARED]. Add prototype for __wcschr_ia32.
31967
31968 2012-05-21 Roland McGrath <roland@hack.frob.com>
31969
31970 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31971 of %rbp unmolested in the jmp_buf while mangling the low bits.
31972 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31973 unmolested high bits of %rbp while demangling the low bits.
31974 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31975
31976 2012-05-21 Andreas Jaeger <aj@suse.de>
31977
31978 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31979 * sunrpc/svc_simple.c: Use it for registerrpc.
31980 * sunrpc/xcrypt.c: Use it for passwd2des.
31981
31982 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31983
31984 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31985
31986 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31987 Don't define if [__SYSCALL_WORDSIZE != 32].
31988 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31989 New macro.
31990
31991 2012-05-21 Bruno Haible <bruno@clisp.org>
31992 Andreas Jaeger <aj@suse.de>
31993
31994 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31995 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31996 inptr and inend for must_buffer_ch.
31997 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31998 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31999 * stdio-common/Makefile (tests): Remove bug15.
32000 (bug15-ENV): Remove macro.
32001 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32002 anymore.
32003
32004 2012-05-19 Andreas Jaeger <aj@suse.de>
32005 Roland McGrath <roland@hack.frob.com>
32006
32007 * manual/contrib.texi: Completely rewritten. It contains now an
32008 alphabetical list of contributors and their contributions.
32009
32010 2012-05-21 Richard Henderson <rth@twiddle.net>
32011
32012 * misc/getauxval.c (__getauxval): Use unsigned long int.
32013 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32014 (getauxval): Use unsigned long int.
32015
32016 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32017
32018 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32019
32020 2012-05-21 Roland McGrath <roland@hack.frob.com>
32021
32022 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32023 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32024 __alignof__ (long double).
32025
32026 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32027
32028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32029
32030 2012-05-20 Richard Henderson <rth@twiddle.net>
32031
32032 * misc/getauxval.c: New file.
32033 * misc/sys/auxv.h: New file.
32034 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32035 (routines): Add getauxval.
32036 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32037 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32038 * elf/dl-sysdep.c (_dl_auxv): Remove.
32039 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32040 * elf/dl-support.c (_dl_auxv): New variable.
32041 (_dl_aux_init): Initialize it.
32042 * manual/startup.texi (Auxiliary Vector): New node.
32043 * sysdeps/generic/bits/hwcap.h: New file.
32044 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32045 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32046 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32047 * sysdeps/sparc/sysdep.h: ... here. Include it.
32048 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32049 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32051 Update.
32052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32055 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32060
32061 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32062
32063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32064
32065 2012-05-19 David S. Miller <davem@davemloft.net>
32066
32067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32068
32069 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32070
32071 [BZ #14123]
32072 * math/s_ccosh.c: Include <float.h>
32073 (__ccosh): Avoid internal overflow calculating sinh and cosh
32074 values before multiplying by sin and cos values.
32075 * math/s_ccoshf.c: Likewise.
32076 * math/s_ccoshl.c: Likewise.
32077 * math/s_csin.c: Likewise.
32078 * math/s_csinf.c: Likewise.
32079 * math/s_csinl.c: Likewise.
32080 * math/s_csinh.c: Likewise.
32081 * math/s_csinhf.c: Likewise.
32082 * math/s_csinhl.c: Likewise.
32083 * math/libm-test.inc (ccos_test): Add more tests.
32084 (ccosh_test): Likewise.
32085 (csin_test): Likewise.
32086 (csinh_test): Likewise.
32087 * sysdeps/i386/fpu/libm-test-ulps: Update.
32088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32089
32090 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32091
32092 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32093 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32094
32095 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32096
32097 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32098
32099 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32100 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32101 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32102 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32103 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32104 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32105 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32106 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32107 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32108 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32109 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32110 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32111 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32112 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32113 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32114 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32115 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32116 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32117 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32118 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32119 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32120 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32121 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32122 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32123 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32124 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32125 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32126 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32127 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32128 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32129 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32130
32131 2012-05-18 Andreas Jaeger <aj@suse.de>
32132
32133 * csu/.gitignore: Delete.
32134
32135 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32136
32137 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32138 (timex): Use __syscall_slong_t.
32139
32140 2012-05-18 Andreas Jaeger <aj@suse.de>
32141 Carlos O'Donell <carlos_odonell@mentor.com>
32142
32143 * manual/install.texi (Configuring and compiling): Update
32144 description about files modified in the source directory.
32145 * INSTALL: Regenerated.
32146
32147 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32148
32149 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32150 value. Use "or" to set return value to -1.
32151 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32152 negate return value.
32153
32154 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32155
32156 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32157 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32158 failure if the compiler has Graphite support disabled.
32159 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32160 Likewise.
32161 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32162 (CFLAGS-memmove.c): Likewise.
32163 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32164 Likewise.
32165
32166 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32167
32168 * sysdeps/x86_64/x32/_itoa.h: New file.
32169
32170 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32171 getdents system call only if kernel and user dirents have the
32172 same d_ino and d_off.
32173
32174 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32175 LLONG_MAX != LONG_MAX.
32176 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32177 (_fitoa_word): Likewise.
32178
32179 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32180 years.
32181 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32182 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32183 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32184
32185 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32186 include <bits/wordsize.h>. Check __x86_64__ instead of
32187 __WORDSIZE.
32188 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32189 if __x86_64__ is defined. Use anonymous union on fpstate.
32190
32191 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32192 anonymous union.
32193
32194 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32195
32196 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32197 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32198 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32199 Refer to _rtld_local_ro instead of _rtld_global_ro.
32200 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32201 Likewise.
32202 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32203 Likewise.
32204 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32205 Likewise.
32206 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32207 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32208 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32209
32210 * sysdeps/powerpc/powerpc32/dl-machine.c
32211 (__elf_machine_runtime_setup) [PROF]: Don't reference
32212 _dl_prof_resolve.
32213
32214 2012-05-18 Andreas Jaeger <aj@suse.de>
32215
32216 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32217 function only available for GCCs before 3.4 since GCC 3.4
32218 introduced a builtin.
32219 (lrint): Likewise.
32220 (llrintf): Likewise.
32221 (llrint): Likewise.
32222 (fmaxf): Likewise.
32223 (fmax): Likewise.
32224 (fminf): Likewise.
32225 (fmin): Likewise.
32226 (rint): Likewise.
32227 (rintf): Likewise.
32228 (nearbyint): Likewise.
32229 (nearbyintf): Likewise.
32230 (ceil): Likewise.
32231 (ceilf): Likewise.
32232 (floor): Likewise.
32233 (floorf): Likewise.
32234
32235 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32236
32237 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32238 on both fields and cast pointer to __syscall_ulong_t.
32239
32240 * bits/types.h (__fsword_t): New type.
32241 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32242 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32243 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32244 (__FSWORD_T_TYPE): Likewise.
32245 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32246 (__FSWORD_T_TYPE): Likewise.
32247 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32248 (__FSWORD_T_TYPE): Likewise.
32249 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32250 (__FSWORD_T_TYPE): Likewise.
32251 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32252 __SWORD_TYPE with __fsword_t.
32253 (statfs64): Likewise.
32254
32255 2012-05-17 David S. Miller <davem@davemloft.net>
32256
32257 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32258
32259 2012-05-17 Andreas Jaeger <aj@suse.de>
32260
32261 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32262 warning.
32263
32264 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32265
32266 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32267
32268 2012-05-17 Andreas Jaeger <aj@suse.de>
32269
32270 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32271 when it is used.
32272
32273 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32274
32275 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32276
32277 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32278
32279 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32280 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32281
32282 2012-05-17 Andreas Jaeger <aj@suse.de>
32283 Carlos O'Donell <carlos_odonell@mentor.com>
32284
32285 [BZ #14059]
32286 * sysdeps/x86_64/multiarch/init-arch.h
32287 (bit_YMM_Usable): Rename to...
32288 (bit_AVX_Usable): ... this.
32289 (bit_FMA4_Usable): New macro.
32290 (bit_XMM_state): New macro.
32291 (bit_YMM_state): New macro.
32292 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32293 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32294 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32295 (CPUID_OSXSAVE): New macro.
32296 (CPUID_AVX): New macro.
32297 (CPUID_FMA4): New macro.
32298 (index_YMM_Usable): Rename to...
32299 (index_AVX_Usable): ... this.
32300 (HAS_AVX): Use HAS_ARCH_FEATURE.
32301 (HAS_FMA4): Likewise.
32302 (HAS_YMM_USABLE): Remove.
32303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32304 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32305 are present.
32306 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32307 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32308 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32309 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32310 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32311
32312 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32313
32314 * math/libm-test.c: Support platforms without multiple rounding modes.
32315 * math/bug-nextafter.c: Support platforms without FP exceptions.
32316 * math/bug-nexttoward.c: Likewise.
32317 * math/test-fenv.c: Likewise.
32318 * math/test-misc.c: Likewise.
32319 * stdlib/bug-getcontext.c: Likewise.
32320
32321 2012-05-17 Andreas Jaeger <aj@suse.de>
32322
32323 * manual/examples/search.c (critter_cmp): Change signature to
32324 avoid warnings.
32325 * manual/string.texi (Collation Functions): Likewise.
32326
32327 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32328
32329 * bits/types.h: Fold copyright years.
32330 * bits/typesizes.h: Likewise.
32331 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32333 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32334 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32335 * time/time.h: Likewise.
32336
32337 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32338
32339 [BZ #208]
32340 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32341 in instead of returning them. Return void.
32342 (__libc_mallinfo): Accumulate over all arenas.
32343 (__malloc_stats): Adjust for change in int_mallinfo interface.
32344
32345 2012-05-16 Roland McGrath <roland@hack.frob.com>
32346
32347 [BZ #10375]
32348 * configure.in (NM): Add AC_CHECK_TOOL for it.
32349 (libc_extra_cflags): New substituted variable.
32350 Check for -fstack-protector being used implicitly.
32351 * configure: Regenerated.
32352 * config.make.in (config-extra-cflags): New variable,
32353 gets @libc_extra_cflags@.
32354 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32355
32356 [BZ #10375]
32357 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32358 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32359 * configure: Regenerated.
32360 * config.make.in (CPPUNDEFS): New substituted variable.
32361 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32362 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32363 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32364
32365 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32366
32367 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32368 (mq_attr): Use __syscall_slong_t.
32369
32370 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32371
32372 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32373 Check __x86_64__ instead of __WORDSIZE.
32374 (_STAT_VER_LINUX): Likewise.
32375 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32376 __syscall_ulong_t and __syscall_slong_t.
32377 (stat64): Likewise.
32378
32379 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32380
32381 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32382
32383 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32384
32385 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32386
32387 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32388
32389 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32390 __syscall_ulong_t.
32391
32392 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32393 include <bits/wordsize.h>. Check __x86_64__ instead of
32394 __WORDSIZE.
32395 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32396 defined.
32397 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32398
32399 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32400 include <bits/wordsize.h>. Check __x86_64__ instead of
32401 __WORDSIZE.
32402 (user_regs_struct): Use "__extension__ unsigned long long"
32403 instead of "unsigned long" if __x86_64__ is defined.
32404 (user): Likewise. Pad after pointer field if __ILP32__ is
32405 defined.
32406
32407 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32408
32409 * configure.in (makeinfo): Require version 4.5 or later. Allow
32410 versions 5 to 9.
32411 * configure: Regenerated.
32412 * manual/install.texi (texinfo): Increase version requirement to
32413 4.5 or later.
32414 * INSTALL: Regenerated.
32415
32416 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32417
32418 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32419
32420 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32421
32422 * sysdeps/x86_64/x32/ffs.c: New file.
32423
32424 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32425 __syscall_ulong_t.
32426 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32427 defined. Use __syscall_ulong_t.
32428 (shminfo): Use __syscall_ulong_t.
32429 (shm_info): Likewise.
32430
32431 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32432 __syscall_ulong_t.
32433
32434 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32435 <bits/wordsize.h>.
32436 (msgqnum_t): Use __syscall_ulong_t.
32437 (msglen_t): Likewise.
32438 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32439 __syscall_ulong_t.
32440
32441 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32442 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32443
32444 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32445
32446 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32447 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32448
32449 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32450 __syscall_slong_t.
32451
32452 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32453 include <bits/wordsize.h>. Check __x86_64__ instead of
32454 __WORDSIZE.
32455
32456 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32457 "unsigned long long int" if __x86_64__ is defined.
32458 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32459
32460 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32461 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32462 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32463
32464 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32465 <stdint.h>.
32466 (GET_PC): Cast to uintptr_t first.
32467 (GET_FRAME): Likewise.
32468 (GET_STACK): Likewise.
32469
32470 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32471 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32472 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32473 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32474 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32475 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32476 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32477 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32478 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32479 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32480 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32481 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32482 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32483 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32484 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32485 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32486 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32487 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32488 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32489 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32490 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32491 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32492 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32493 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32494 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32495 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32496 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32497 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32498 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32499
32500 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32501
32502 * Makerules (+depfiles): Also collect depfiles from .oS in
32503 $(extra-objs).
32504 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32505 .oS, $(libnldbl-routines)).
32506
32507 * Makerules (native-compile-mkdep-flags): Define.
32508 * sunrpc/Makefile (extra-objs): Add $(addprefix
32509 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32510 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32511 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32512 calling $(make-target-directory).
32513
32514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32515
32516 * bits/types.h (__snseconds_t): Removed.
32517 * time/time.h (struct timespec): Replace __snseconds_t with
32518 __syscall_slong_t.
32519 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32520 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32521 Likewise.
32522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32523 (__SNSECONDS_T_TYPE): Likewise.
32524 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32525 (__SNSECONDS_T_TYPE): Likewise.
32526 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32527 (__SNSECONDS_T_TYPE): Likewise.
32528
32529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32530
32531 * sysdeps/mach/hurd/bits/typesizes.h
32532 (__SYSCALL_SLONG_TYPE): New macro.
32533 (__SYSCALL_ULONG_TYPE): Likewise.
32534
32535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32536
32537 * bits/types.h (__syscall_slong_t): New type.
32538 (__syscall_ulong_t): Likewise.
32539
32540 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32541 (__SYSCALL_ULONG_TYPE): Likewise.
32542 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32543 (__SYSCALL_SLONG_TYPE): Likewise.
32544 (__SYSCALL_ULONG_TYPE): Likewise.
32545 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32546 (__SYSCALL_SLONG_TYPE): Likewise.
32547 (__SYSCALL_ULONG_TYPE): Likewise.
32548 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32549 (__SYSCALL_SLONG_TYPE): Likewise.
32550 (__SYSCALL_ULONG_TYPE): Likewise.
32551
32552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32553
32554 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32555 Add sigaltstack-offsets.sym.
32556 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32557 <sigaltstack-offsets.h>.
32558 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32559 longjmp_msg pointer.
32560 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32561 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32562 signal stack.
32563 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32564
32565 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32566
32567 * elf/stackguard-macros.h: Remove file.
32568 * sysdeps/generic/stackguard-macros.h: New file.
32569 * sysdeps/i386/stackguard-macros.h: Likewise.
32570 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32571 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32572 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32573 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32574 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32575 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32576 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32577 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32578 <elf/stackguard-macros.h>.
32579
32580 [BZ #14109]
32581 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32582 __aligned__ in attribute.
32583 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32584 (gregset_t): Likewise.
32585
32586 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32587
32588 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32589 * sysdeps/x86_64/64/Implies-after: Here. New file.
32590 * sysdeps/x86_64/x32/Implies-after: New file.
32591
32592 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32593
32594 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32595 and access return value for _dl_profile_fixup. Use R10_LP to
32596 load frame size.
32597
32598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32599
32600 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32601
32602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32603
32604 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32605 * sysdeps/x86_64/x32/sysdep.h: New file.
32606
32607 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32608
32609 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32610 * sysdeps/x86_64/setjmp.S: Likewise.
32611
32612 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32613
32614 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32615 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32616 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32617 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32618 remove unused global constant.
32619
32620 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32621
32622 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32623 include of <not-cancel.h>.
32624
32625 2012-05-15 Roland McGrath <roland@hack.frob.com>
32626
32627 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32628
32629 2012-05-15 Jeff Law <law@redhat.com>
32630 Andreas Jaeger <aj@suse.de>
32631
32632 [BZ #13594]
32633 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32634 out from...
32635 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32636 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32637 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32638 code changing __hst_map_handle.map.
32639
32640 2012-05-15 Roland McGrath <roland@hack.frob.com>
32641
32642 * configure.in (sysnames): Look for Implies-before and Implies-after
32643 files.
32644 * configure: Regenerated.
32645
32646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32647
32648 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32649 8-byte data alignment with LP_SIZE alignment.
32650
32651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32652
32653 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32654 into R10_LP.
32655
32656 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32657
32658 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32659
32660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32661
32662 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32663 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32664 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32665 Likewise.
32666 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32667
32668 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32669
32670 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32671 (stackinfo_sub_sp): Likewise.
32672
32673 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32674
32675 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32676 RAX_LP.
32677
32678 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32679
32680 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32681 into R*_LP.
32682
32683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32684
32685 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32686 sizes into R*_LP.
32687
32688 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32689
32690 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32691
32692 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32693
32694 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32695 into R11_LP and load __x86_64_shared_cache_size_half into
32696 R8_LP.
32697
32698 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32699
32700 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32701 R8_LP.
32702
32703 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32704
32705 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32706 logb for POWER7.
32707 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32708 logbf for POWER7.
32709 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32710 logbl for POWER7.
32711 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32712 powerpc32/power7/fpu/s_logb.c via #include.
32713 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32714 powerpc32/power7/fpu/s_logbf.c via #include.
32715 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32716 powerpc32/power7/fpu/s_logbl.c via #include.
32717
32718 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32719
32720 * README.libm: Remove file.
32721
32722 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32723
32724 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32725 count for x32. Use R*_LP and omit operand-size suffix.
32726
32727 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32728
32729 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32730 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32731 * sysdeps/x86_64/x32/shlib-versions: New file.
32732
32733 2012-05-14 Roland McGrath <roland@hack.frob.com>
32734
32735 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32736 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32737 Use _dl_fatal_printf instead.
32738
32739 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32740
32741 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32742 set if not set by the user. Do not allow for being unset.
32743 * sysdeps/unix/sysv/linux/configure: Regenerated.
32744
32745 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32746
32747 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32748 the `q' suffix from lea and replace .quad with ASM_ADDR.
32749
32750 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32751
32752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32753 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32754 instead of $17.
32755 (PTR_DEMANGLE): Likewise.
32756
32757 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32758
32759 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32760 (LP_OP): Likewise.
32761 (ASM_ADDR): Likewise.
32762 (RAX_LP): Likewise.
32763 (RBP_LP): Likewise.
32764 (RBX_LP): Likewise.
32765 (RCX_LP): Likewise.
32766 (RDI_LP): Likewise.
32767 (RSI_LP): Likewise.
32768 (RSP_LP): Likewise.
32769 (R8_LP): Likewise.
32770 (R9_LP): Likewise.
32771 (R10_LP): Likewise.
32772 (R10_LP): Likewise.
32773 (R11_LP): Likewise.
32774 (R12_LP): Likewise.
32775 (R13_LP): Likewise.
32776 (R14_LP): Likewise.
32777 (R15_LP): Likewise.
32778
32779 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32780
32781 * sysdeps/x86_64/x32/dl-machine.h: New file.
32782
32783 2012-05-14 Andreas Jaeger <aj@suse.de>
32784
32785 * manual/Makefile (subdir): Remove export of subdir.
32786 (all): Remove target.
32787 (.PHONY): Remove all from list.
32788 (mkinstalldirs): Remove.
32789 (.PHONY): Remove installdirs from list.
32790 ($(inst_infodir)/libc.info): Use make-target-directory.
32791 (installdirs): Remove.
32792 (subdir_%): Remove.
32793 (glibc-targets): Remove.
32794 (lib): Remove.
32795 (stubs): Remove.
32796 ($(objpfx)stubs ../po/manual.pot): Remove.
32797 ($(objpfx)stamp%): Remove.
32798 (make-target-directory): Remove.
32799 (subdir_install): Remove.
32800 (routines): Remove.
32801 (aux): Remove.
32802 (sources): Remove.
32803 (objects): Remove.
32804 (headers): Remove.
32805
32806 [BZ #13750]
32807 * manual/.gitignore: Remove, it's not needed anymore.
32808 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32809 all files in it.
32810 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32811 directory.
32812 (texis): Renamed to $(objpfx)texis.
32813 (texis-path): New, contains path to generated files.
32814 (chapters.%): Use texis-path for complete path, add extra argument
32815 libc-texinfo.sh.
32816 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32817 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32818 (summary,texi, stamp-summary): Use complete path of
32819 files. Generate files in build dir.
32820 (dir-add.texi): Build in build dir.
32821 (libm-err.texi,stamp-libm-err): Likewise.
32822 (version.texi, stamp-version): Likewise.
32823 (.%c.texi): Likewise.
32824 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32825 (mostlyclean): Remove target.
32826 (realclean): Remove target.
32827 (generated): Add new variable with contents from mostlyclean and
32828 realclean, remove entries duplicated in common-mostlyclean, add
32829 stamp-libm-err and stamp-version.
32830 (generated-dirs): Add libc directory.
32831 ($(inst_infodir)/libc.info): Install files from build dir.
32832
32833 * manual/install.texi (Configuring and compiling): Adjust since
32834 the info files are not part of the tar ball anymore.
32835
32836 2012-05-14 Andreas Jaeger <aj@suse.de>
32837
32838 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32839 variable.
32840
32841 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32842
32843 [BZ #13717]
32844 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32845 to 2.2.0 where earlier.
32846 * sysdeps/unix/sysv/linux/configure: Regenerated.
32847 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32848 Remove conditional code.
32849 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32850 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32851 Remove conditional code.
32852 [!__NR_lchown]: Likewise.
32853 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32854 [__NR_lchown]: Likewise.
32855 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32856 comment referencing __ASSUME_LCHOWN_SYSCALL.
32857 * sysdeps/unix/sysv/linux/i386/sigaction.c
32858 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32859 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32860 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32861 Remove conditional code.
32862 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32863 (__protocol_available): Remove #if 0 code.
32864 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32865 conditional code.
32866 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32867 * sysdeps/unix/sysv/linux/kernel-features.h
32868 (__ASSUME_GETCWD_SYSCALL): Don't define.
32869 (__ASSUME_REALTIME_SIGNALS): Likewise.
32870 (__ASSUME_PREAD_SYSCALL): Likewise.
32871 (__ASSUME_PWRITE_SYSCALL): Likewise.
32872 (__ASSUME_POLL_SYSCALL): Likewise.
32873 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32874 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32875 non-SPARC.
32876 (__ASSUME_SIOCGIFNAME): Don't define.
32877 (__ASSUME_MSG_NOSIGNAL): Likewise.
32878 (__ASSUME_SENDFILE): Define unconditionally.
32879 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32880 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32881 conditional code.
32882 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32883 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32884 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32885 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32886 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32887 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32888 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32890 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32891 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32893 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32894 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32896 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32897 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32899 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32900 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32902 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32903 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32905 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32906 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32908 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32909 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32911 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32912 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32913 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32914 Remove conditional code.
32915 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32916 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32917 Remove conditional code.
32918 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32919 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32920 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32921 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32922 Remove conditional code.
32923 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32924 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32925 Remove conditional code.
32926 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32927 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32928 Remove conditional code.
32929 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32930 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32931 Remove conditional code.
32932 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32933 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32934 Remove conditional code.
32935 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32936 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32937 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32939 * sysdeps/unix/sysv/linux/sigaction.c
32940 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32941 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32942 * sysdeps/unix/sysv/linux/sigpending.c
32943 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32944 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32945 * sysdeps/unix/sysv/linux/sigprocmask.c
32946 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32947 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32948 * sysdeps/unix/sysv/linux/sigsuspend.c
32949 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32950 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32951 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32952 (__libc_missing_rt_sigs): Remove.
32953 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32954 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32955 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32956 Remove conditional code.
32957 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32958 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32959 return 1.
32960 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32961 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32962 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32963 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32964
32965 2012-05-14 Andreas Jaeger <aj@suse.de>
32966
32967 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32968 it's not used in glibc.
32969 (__coshm1): Likewise.
32970 (__acosh1p): Likewise.
32971 (__sgn): Likewise.
32972
32973 * manual/string.texi (Copying and Concatenation): Add missing
32974 variable in concat example.
32975 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32976
32977 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32978
32979 [BZ #14103]
32980 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32981 __builtin_clzl with __builtin_clzll.
32982
32983 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32984
32985 [BZ #14104]
32986 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32987 libc_freeres_ptr.
32988
32989 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32990
32991 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32992 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32993 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32994 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32995
32996 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32997
32998 * NEWS: Update ia64 info.
32999
33000 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33001
33002 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33003 used as bcopy.
33004
33005 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33006
33007 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33008 * sysdeps/unix/syscalls.list (dup3): Likewise.
33009 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33010 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33011
33012 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33013
33014 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33015 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33016
33017 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33018
33019 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33020 thread pointer.
33021 (TLS_IE): Use mov/add instead of movq/addq to load thread
33022 pointer.
33023 (TLS_GD_PREFIX): New.
33024 (TLS_GD): Use it.
33025
33026 2012-05-11 David S. Miller <davem@davemloft.net>
33027
33028 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33029 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33030 (_FPU_SETCW): Likewise.
33031
33032 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33033
33034 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33035 is 32-byte aligned.
33036
33037 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33038
33039 [BZ #11837]
33040 * iconvdata/gb18030.c: Update tables.
33041 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33042 characters specially.
33043 (BODY for TO_LOOP): Add encoding of missing ranges.
33044
33045 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33046
33047 [BZ #13673]
33048 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33049 * sysdeps/mach/hurd/dup3.c: Likewise.
33050 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33051 * sysdeps/powerpc/memmove.c:: Likewise.
33052
33053 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33054
33055 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33056 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33057
33058 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33059
33060 * elf/elf.h (R_X86_64_RELATIVE64): New.
33061 (R_X86_64_NUM): Updated.
33062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33063 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33064 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33065 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33066 tst-quad1pie tst-quad2pie
33067 (modules-names): Add tst-quadmod1 tst-quadmod2.
33068 ($(objpfx)tst-quad1): New dependency.
33069 ($(objpfx)tst-quad2): Likewise.
33070 ($(objpfx)tst-quad1pie): Likewise.
33071 ($(objpfx)tst-quad2pie): Likewise.
33072 * sysdeps/x86_64/tst-quad1.c: New file.
33073 * sysdeps/x86_64/tst-quad1pie.c: New file.
33074 * sysdeps/x86_64/tst-quad2.c: Likewise.
33075 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33076 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33077 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33078 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33079 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33080
33081 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33082
33083 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33084 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33085 * streams/stropts.h (t_scalar_t): Define type.
33086
33087 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33088 (_PATH_PRESERVE): Set to "/var/lib".
33089 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33090
33091 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33092 instead of int.
33093
33094 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33095 if __dir_mkfile succeeded.
33096
33097 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33098 checking for _hurd_dtablesize. Unlock it right after having
33099 finished _hurd_dtable allocation.
33100
33101 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33102
33103 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33104 * sysdeps/mach/hurd/configure: Regenerated.
33105 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33106 special-casing to...
33107 * sysdeps/gnu/configure.in: ... this new file.
33108 * sysdeps/unix/sysv/linux/configure: Regenerated.
33109 * sysdeps/gnu/configure: New generated file.
33110
33111 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33112 for Linux: use nsec instead of usec, as well as:
33113 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33114 members of type struct timespec.
33115 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33116 New macros.
33117 (struct stat64): Likewise.
33118 (_STATBUF_ST_NSEC): New macro.
33119 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33120
33121 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33122 __strtoul_internal rather than strtoul.
33123
33124 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33125
33126 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33127 and reject them.
33128
33129 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33130
33131 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33132 which preserves existing values.
33133 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33134
33135 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33136
33137 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33138 TIMEOUT values. Return EINVAL for NFDS values either negative or
33139 greater than FD_SETSIZE.
33140
33141 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33142
33143 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33144 allocated, call __vm_protect to finish enabling the existing space, and
33145 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33146 allocate the remainder.
33147
33148 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33149
33150 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33151 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33152
33153 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33154
33155 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33156 sysdeps/mach/hurd/readlink.c.
33157
33158 * posix/tst-sysconf.c (posix_options): Only use
33159 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33160 _POSIX_SYNCHRONIZED_IO when they are defined
33161 * sysdeps/mach/hurd/bits/posix_opt.h:
33162 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33163 (_XOPEN_REALTIME): Undefine macro.
33164 (_XOPEN_REALTIME_THREADS): Undefine macro.
33165 (_XOPEN_SHM): Undefine macro.
33166 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33167 macro to -1.
33168 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33169 macro to -1.
33170 (_POSIX_ASYNC_IO): Undefine macro.
33171 (_POSIX_PRIORITIZED_IO): Undefine macro.
33172 (_POSIX_SPIN_LOCKS): Define macro to -1.
33173
33174 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33175 SA_NODEFER, SA_RESETHAND.
33176 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33177 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33178 F_DUPFD_CLOEXEC.
33179
33180 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33181
33182 * elf/Makefile (pldd-modules): Define unconditionally.
33183
33184 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33185
33186 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33187
33188 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33189
33190 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33191 Return ENOENT when name is empty.
33192 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33193
33194 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33195
33196 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33197
33198 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33199
33200 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33201
33202 Fix mlock in all cases except non-readable pages.
33203 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33204 instead of VM_PROT_ALL as parameter to __vm_wire function.
33205
33206 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33207 (__mkdir): When path is `/', just fail with EEXIST.
33208 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33209
33210 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33211
33212 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33213 <sys/uio.h> (for writev).
33214 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33215 and <sys/param.h> (for MIN).
33216
33217 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33218
33219 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33220 REQUESTED_TIME. Properly set the remaining time and return EINTR
33221 if interrupted.
33222
33223 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33224
33225 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33226 Depend on against $(link-rpcuserlibs).
33227
33228 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33229
33230 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33231 (__libc_stack_end): Do not use attribute_relro.
33232 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33233 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33234 to libthread-provided value.
33235 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33236 attribute_relro.
33237
33238 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33239
33240 [BZ #3748]
33241 * bits/libc-lock.h (__libc_once_get): New macro.
33242 * sysdeps/mach/bits/libc-lock.h: Likewise.
33243 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33244 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33245 instead of using implementation details.
33246
33247 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33248 * libio/freopen.c: Likewise.
33249 * libio/freopen64.c: Likewise.
33250 * misc/syslog.c: Likewise.
33251 * nscd/connections.c: Likewise.
33252 * nscd/netgroupcache.c: Likewise.
33253 * sysdeps/posix/getcwd.c: Likewise.
33254
33255 2012-05-10 Roland McGrath <roland@hack.frob.com>
33256
33257 * math/w_ilogbf.c: Add #include <limits.h>.
33258
33259 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33260
33261 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33262 path instead of returning without unlocking.
33263
33264 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33265 immediate-write ioctls.
33266 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33267
33268 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33269
33270 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33271 __builtin_frame_address instead of making assumptions about the
33272 location of the return address relative to DATA. Force early load of
33273 the return address.
33274 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33275 __builtin_frame_address.
33276
33277 dup3 for GNU Hurd.
33278 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33279 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33280 implement dup3 and do some further code clean-ups.
33281 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33282 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33283
33284 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33285
33286 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33287
33288 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33289 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33290 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33291 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33292 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33293 d->port.lock.
33294
33295 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33296 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33297 when handler == SIG_ERR, not when handler != SIG_ERR.
33298
33299 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33300
33301 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33302 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33303 definitions.
33304
33305 accept4 for GNU Hurd.
33306 * include/sys/socket.h (__libc_accept4): New prototype.
33307 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33308 to implement __libc_accept4.
33309 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33310 __libc_accept4.
33311 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33312
33313 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33314 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33315 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33316 signal-defines.sym.
33317
33318 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33319
33320 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33321
33322 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33323
33324 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33325 assertion on O_CLOEXEC flag.
33326 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33327 * hurd/intern-fd.c: Likewise.
33328 * hurd/port2fd.c: Likewise.
33329
33330 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33331
33332 [BZ #3906]
33333 * bits/in.h (IPV6_PKTINFO): Define new macro.
33334 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33335
33336 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33337
33338 [BZ #13954]
33339 [BZ #13955]
33340 [BZ #13956]
33341 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33342 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33343 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33344 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33345 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33346 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33347 * math/libm-test.inc (logb_test) : Additional logb tests.
33348
33349 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33350 Andreas Jaeger <aj@suse.de>
33351
33352 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33353 * configure: Regenerated.
33354 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33355 * config.make.in (link-obsolete-rpc): New substituted variable.
33356 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33357 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33358 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33359 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33360 so that libc.a contains the symbols.
33361 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33362 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33363 * sunrpc/auth_none.c: Likewise.
33364 * sunrpc/auth_unix.c: Likewise.
33365 * sunrpc/authdes_prot.c: Likewise.
33366 * sunrpc/authuxprot.c: Likewise.
33367 * sunrpc/clnt_gen.c: Likewise.
33368 * sunrpc/clnt_perr.c: Likewise.
33369 * sunrpc/clnt_raw.c: Likewise.
33370 * sunrpc/clnt_simp.c: Likewise.
33371 * sunrpc/clnt_tcp.c: Likewise.
33372 * sunrpc/clnt_udp.c: Likewise.
33373 * sunrpc/clnt_unix.c: Likewise.
33374 * sunrpc/des_crypt.c: Likewise.
33375 * sunrpc/des_soft.c: Likewise.
33376 * sunrpc/get_myaddr.c: Likewise.
33377 * sunrpc/key_call.c: Likewise.
33378 * sunrpc/key_prot.c: Likewise.
33379 * sunrpc/netname.c: Likewise.
33380 * sunrpc/pm_getmaps.c: Likewise.
33381 * sunrpc/pm_getport.c: Likewise.
33382 * sunrpc/pmap_clnt.c: Likewise.
33383 * sunrpc/pmap_prot.c: Likewise.
33384 * sunrpc/pmap_prot2.c: Likewise.
33385 * sunrpc/pmap_rmt.c: Likewise.
33386 * sunrpc/publickey.c: Likewise.
33387 * sunrpc/rpc_cmsg.c: Likewise.
33388 * sunrpc/rpc_common.c: Likewise.
33389 * sunrpc/rpc_dtable.c: Likewise.
33390 * sunrpc/rpc_prot.c: Likewise.
33391 * sunrpc/rpc_thread.c: Likewise.
33392 * sunrpc/rtime.c: Likewise.
33393 * sunrpc/svc.c: Likewise.
33394 * sunrpc/svc_auth.c: Likewise.
33395 * sunrpc/svc_raw.c: Likewise.
33396 * sunrpc/svc_run.c: Likewise.
33397 * sunrpc/svc_tcp.c: Likewise.
33398 * sunrpc/svc_udp.c: Likewise.
33399 * sunrpc/svc_unix.c: Likewise.
33400 * sunrpc/svcauth_des.c: Likewise.
33401 * sunrpc/xcrypt.c: Likewise.
33402 * sunrpc/xdr.c: Likewise.
33403 * sunrpc/xdr_array.c: Likewise.
33404 * sunrpc/xdr_float.c: Likewise.
33405 * sunrpc/xdr_intXX_t.c: Likewise.
33406 * sunrpc/xdr_mem.c: Likewise.
33407 * sunrpc/xdr_rec.c: Likewise.
33408 * sunrpc/xdr_ref.c: Likewise.
33409 * sunrpc/xdr_sizeof.c: Likewise.
33410 * sunrpc/xdr_stdio.c: Likewise.
33411
33412 2012-05-10 Roland McGrath <roland@hack.frob.com>
33413
33414 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33415 change. Update copyright years.
33416
33417 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33418
33419 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33420
33421 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33422 Joseph Myers <joseph@codesourcery.com>
33423 Paul Pluzhnikov <ppluzhnikov@google.com>
33424
33425 [BZ #14012]
33426 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33427 requiring rpcgen.
33428 [cross-compiling] (extra-libs): Likewise.
33429 [cross-compiling] (extra-libs-others): Likewise.
33430 [cross-compiling] (librpcsvc-routines): Likewise.
33431 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33432 [cross-compiling] (omit-deps): Likewise.
33433 (sunrpc-CPPFLAGS): New variable.
33434 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33435 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33436 (cross-rpcgen-objs): New variable.
33437 (extra-objs): Append $(cross-rpcgen-objs).
33438 ($(cross-rpcgen-objs)): New rule.
33439 ($(objpfx)cross-rpcgen): Likewise.
33440 (rpcgen-cmd): Define to use $(built-program-file). Expand
33441 comment.
33442 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33443 ($(objpfx)x%.stmp): Likewise.
33444 * sunrpc/proto.h [IS_IN_build] (_): Define.
33445 [IS_IN_build] (_libc_intl_domainname): Likewise.
33446
33447 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33448
33449 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33450 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33451 and R_X86_64_TPOFF64.
33452
33453 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33454
33455 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33456 sysdeps/unix/sysv/syscalls.list.
33457 (stime): Likewise.
33458 (utime): Likewise.
33459 * sysdeps/unix/sysv/syscalls.list: Remove file.
33460
33461 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33462
33463 [BZ #3440]
33464 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33465 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33466 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33467 (__LC_IDENTIFICATION): Make these macros useful in #if
33468 expressions, as required by C99.
33469
33470 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33471
33472 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33473 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33474 after this.
33475
33476 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33477
33478 * stdlib/longlong.h: Updated from GCC.
33479
33480 2012-05-09 Andreas Jaeger <aj@suse.de>
33481
33482 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33483 default is first entry.
33484 (run_mode): Set type.
33485 (main): Remove informal message about syslog.
33486 (options): Fix typo.
33487
33488 [BZ #14053]
33489 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33490 to asm.
33491 (lrint): Likewise.
33492 (llrintf): Likewise.
33493 (llrint): Likewise.
33494 (rint): Likewise.
33495 (rintf): Likewise.
33496 (nearbyint): Likewise.
33497 (nearbyintf): Likewise.
33498
33499 2012-05-09 Andreas Jaeger <aj@suse.de>
33500 Pedro Alves <palves@redhat.com>
33501
33502 * nscd/nscd.c (run_mode): Use enum.
33503 (main): Cleanup coding style issue.
33504
33505 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33506 Andreas Jaeger <aj@suse.de>
33507
33508 * nscd/nscd.c (go_background): Replaced with...
33509 (run_mode): ... this.
33510 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33511 (options): Add -F --foreground.
33512 (main): Implement it.
33513 (parse_opt): Parse it.
33514
33515 2012-05-09 Andreas Jaeger <aj@suse.de>
33516
33517 [BZ #14083]
33518 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33519 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33520 -Wconversion warning.
33521 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33522 Likewise.
33523
33524 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33525
33526 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33527 == 0.
33528 (LC_ALL): Use macro-int-constant.
33529 (LC_COLLATE): Likewise.
33530 (LC_CTYPE): Likewise.
33531 (LC_MESSAGES): Likewise.
33532 (LC_MONETARY): Likewise.
33533 (LC_NUMERIC): Likewise.
33534 (LC_TIME): Likewise.
33535 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33536 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33537 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33538 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33539 Specify type.
33540 [C99-based standards] (float_t): Expect type.
33541 [C99-based standards] (double_t): Expect type.
33542 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33543 type.
33544 [C99-based standards] (HUGE_VALL): Likewise.
33545 [C99-based standards] (INFINITY): Likewise.
33546 [C99-based standards] (NAN): Likewise.
33547 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33548 [C99-based standards] (FP_NAN): Likewise.
33549 [C99-based standards] (FP_NORMAL): Likewise.
33550 [C99-based standards] (FP_SUBNORMAL): Likewise.
33551 [C99-based standards] (FP_ZERO): Likewise.
33552 [C99-based standards] (FP_FAST_FMA): Use
33553 optional-macro-int-constant. Specify type. Require == 1.
33554 [C99-based standards] (FP_FAST_FMAF): Likewise.
33555 [C99-based standards] (FP_FAST_FMAL): Likewise.
33556 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33557 [C99-based standards] (FP_ILOGBNAN): Likewise.
33558 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33559 Specify type.
33560 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33561 [C99-based standards] (math_errhandling): Specify type.
33562 [ISO99 || ISO11] (signgam): Do not allow.
33563 [non-C99-based standards] (copysignf): Do not allow.
33564 [non-C99-based standards] (exp2f): Likewise.
33565 [non-C99-based standards] (log2f): Likewise.
33566 [non-C99-based standards] (modff): Allow.
33567 [non-C99-based standards] (erff): Do not allow.
33568 [non-C99-based standards] (erfcf): Likewise.
33569 [non-C99-based standards] (gammaf): Likewise.
33570 [non-C99-based standards] (hypotf): Likewise.
33571 [non-C99-based standards] (j0f): Likewise.
33572 [non-C99-based standards] (j1f): Likewise.
33573 [non-C99-based standards] (jnf): Likewise.
33574 [non-C99-based standards] (lgammaf): Likewise.
33575 [non-C99-based standards] (tgammaf): Likewise.
33576 [non-C99-based standards] (y0f): Likewise.
33577 [non-C99-based standards] (y1f): Likewise.
33578 [non-C99-based standards] (ynf): Likewise.
33579 [non-C99-based standards] (isnanf): Likewise.
33580 [non-C99-based standards] (acoshf): Likewise.
33581 [non-C99-based standards] (asinhf): Likewise.
33582 [non-C99-based standards] (atanhf): Likewise.
33583 [non-C99-based standards] (cbrtf): Likewise.
33584 [non-C99-based standards] (expm1f): Likewise.
33585 [non-C99-based standards] (ilogbf): Likewise.
33586 [non-C99-based standards] (log1pf): Likewise.
33587 [non-C99-based standards] (logbf): Likewise.
33588 [non-C99-based standards] (nextafterf): Likewise.
33589 [non-C99-based standards] (remainderf): Likewise.
33590 [non-C99-based standards] (rintf): Likewise.
33591 [non-C99-based standards] (scalbf): Likewise.
33592 [non-C99-based standards] (copysignl): Likewise.
33593 [non-C99-based standards] (exp2l): Likewise.
33594 [non-C99-based standards] (log2l): Likewise.
33595 [non-C99-based standards] (modfl): Allow.
33596 [non-C99-based standards] (erfl): Do not allow.
33597 [non-C99-based standards] (erfcl): Likewise.
33598 [non-C99-based standards] (gammal): Likewise.
33599 [non-C99-based standards] (hypotl): Likewise.
33600 [non-C99-based standards] (j0l): Likewise.
33601 [non-C99-based standards] (j1l): Likewise.
33602 [non-C99-based standards] (jnl): Likewise.
33603 [non-C99-based standards] (lgammal): Likewise.
33604 [non-C99-based standards] (tgammal): Likewise.
33605 [non-C99-based standards] (y0l): Likewise.
33606 [non-C99-based standards] (y1l): Likewise.
33607 [non-C99-based standards] (ynl): Likewise.
33608 [non-C99-based standards] (isnanl): Likewise.
33609 [non-C99-based standards] (acoshl): Likewise.
33610 [non-C99-based standards] (asinhl): Likewise.
33611 [non-C99-based standards] (atanhl): Likewise.
33612 [non-C99-based standards] (cbrtl): Likewise.
33613 [non-C99-based standards] (expm1l): Likewise.
33614 [non-C99-based standards] (ilogbl): Likewise.
33615 [non-C99-based standards] (log1pl): Likewise.
33616 [non-C99-based standards] (logbl): Likewise.
33617 [non-C99-based standards] (nextafterl): Likewise.
33618 [non-C99-based standards] (remainderl): Likewise.
33619 [non-C99-based standards] (rintl): Likewise.
33620 [non-C99-based standards] (scalbl): Likewise.
33621 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33622 [non-C99-based standards] (FP_*): Do not allow.
33623 [C99-based standards] (FP_*): Change to
33624 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33625 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33626 allow.
33627 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33628 (SIG_ERR): Likewise.
33629 [X/Open-based standards] (SIG_HOLD): Likewise.
33630 (SIG_IGN): Likewise.
33631 (SIGABRT): Use macro-int-constant. Specify type. Require
33632 positive value.
33633 (SIGFPE): Likewise.
33634 (SIGILL): Likewise.
33635 (SIGINT): Likewise.
33636 (SIGSEGV): Likewise.
33637 (SIGTER): Likewise.
33638 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33639 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33640 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33641 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33642 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33643 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33644 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33645 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33646 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33647 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33648 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33649 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33650 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33651 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33652 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33653 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33654 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33655 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33656 [X/Open-based standards] (SIGTRAP): Likewise.
33657 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33658 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33659 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33660 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33661 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33662 allow.
33663
33664 2012-05-08 Ian Wienand <ianw@vmware.com>
33665
33666 [BZ #14080]
33667 * time/tzset.c (__tzset_parse_tz): Update default rules for
33668 daylight time changes in the Energy Policy Act of 2005.
33669
33670 2012-05-09 Andreas Jaeger <aj@suse.de>
33671
33672 [BZ #13983]
33673 * elf/ldconfig.c (parse_conf): Change string to make clear that
33674 ldconfig only issued a warning if ld.so.conf does not exist.
33675
33676 2012-05-08 David S. Miller <davem@davemloft.net>
33677
33678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33679 movxtod instead of popping the value on the stack.
33680
33681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33682
33683 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33684
33685 * config.h.in: Add HAVE_ARM_PCS_VFP.
33686
33687 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33688
33689 [BZ #13979]
33690 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33691 checking but the checks are disabled for any reason.
33692
33693 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33694
33695 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33696 and ELF64_R_TYPE with ELFW(R_TYPE).
33697
33698 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33699
33700 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33701 (ulimit): Likewise.
33702
33703 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33704 (settimeofday): Likewise.
33705
33706 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33707
33708 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33709 a struct th_u2 inside the union, and move tu_block/tu_code into
33710 a new th_u3 union of tu_block/tu_code inside of that. Move
33711 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33712 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33713 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33714 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33715 (th_stuff): Change to th_u1.tu_stuff.
33716 (th_data): Define.
33717 (th_msg): Change to th_u1.th_u2.tu_data.
33718
33719 2012-05-07 David S. Miller <davem@davemloft.net>
33720
33721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33722
33723 [BZ #14074]
33724 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33725 (SETUP_PIC_REG): Use it.
33726 (SETUP_PIC_REG_LEAF): Use it.
33727
33728 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33729
33730 [BZ #13885]
33731 [BZ #13923]
33732 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33733 USE_AS_EXPM1L.
33734 (EXPL_FINITE): Likewise.
33735 (FLDLOG): Likewise.
33736 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33737 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33738 e_expl.S.
33739 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33740 USE_AS_EXPM1L.
33741 (EXPL_FINITE): Likewise.
33742 (FLDLOG): Likewise.
33743 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33744 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33745 e_expl.S.
33746 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33747 test of -max_value argument for long double.
33748 * sysdeps/i386/fpu/libm-test-ulps: Update.
33749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33750
33751 2012-05-06 David S. Miller <davem@davemloft.net>
33752
33753 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33754 quad soft-float symbols whose references which are compiler
33755 generated.
33756 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33757
33758 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33759
33760 [BZ #13884]
33761 [BZ #13914]
33762 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33763 USE_AS_EXP10L.
33764 (EXPL_FINITE): Likewise.
33765 (FLDLOG): Likewise.
33766 (c0): Likewise.
33767 (c1): Likewise.
33768 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33769 Adjust comments for base varying.
33770 (__expl_finite): Change alias to EXPL_FINITE.
33771 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33772 e_expl.S.
33773 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33774 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33776 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33777 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33778 USE_AS_EXP10L.
33779 (EXPL_FINITE): Likewise.
33780 (FLDLOG): Likewise.
33781 (c0): Likewise.
33782 (c1): Likewise.
33783 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33784 Adjust comments for base varying.
33785 (__expl_finite): Change alias to EXPL_FINITE.
33786 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33787 tests for bugs.
33788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33789
33790 [BZ #14064]
33791 * math/libm-test.inc (check_float_internal): Correct ulp
33792 calculation for subnormal expected results.
33793
33794 2012-05-06 Andreas Jaeger <aj@suse.de>
33795
33796 * Makeconfig (+math-flags): New, set to -frounding-math.
33797 (+cflags): Add +math-flags so that all of glibc gets compiled with
33798 it.
33799
33800 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33801
33802 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33803
33804 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33805 Disable one test.
33806
33807 [BZ #13787]
33808 [BZ #13922]
33809 [BZ #14036]
33810 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33811 (__ieee754_expl): Allow for and saturate large arguments.
33812 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33813 (u_threshold): Likewise.
33814 (__exp): Call __ieee754_exp before checking for overflow and
33815 underflow.
33816 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33817 (u_threshold): Likewise.
33818 (__expf): Call __ieee754_expf before checking for overflow and
33819 underflow.
33820 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33821 (u_threshold): Likewise.
33822 (__expl): Call __ieee754_expl before checking for overflow and
33823 underflow.
33824 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33825 (__ieee754_expl): Allow for and saturate large arguments.
33826 * math/libm-test.inc (exp_test): Add another test. Do not allow
33827 missing overflow exception on overflow.
33828 (expm1_test): Do not allow missing overflow exception on overflow.
33829
33830 * sysdeps/i386/fpu/e_expl.c: Move to ...
33831 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33832 rather than using inline asm.
33833 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33834 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33835 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33836
33837 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33838 (nice): Likewise.
33839 (poll): Likewise.
33840 (signal): Likewise.
33841 (time): Likewise.
33842 (times): Likewise.
33843
33844 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33845
33846 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33847 sysdeps/unix/common/syscalls.list.
33848 (fchmod): Likewise.
33849 (fchown): Likewise.
33850 (ftruncate): Likewise.
33851 (getrusage): Likewise.
33852 (gettimeofday): Likewise.
33853 (setpgid): Likewise.
33854 (setregid): Likewise.
33855 (setreuid): Likewise.
33856 (sigaction): Likewise.
33857 (truncate): Likewise.
33858 (vhangup): Likewise.
33859 * sysdeps/unix/common/syscalls.list: Remove file.
33860 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33861 * sysdeps/unix/sysv/linux/Implies: Likewise.
33862
33863 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33864
33865 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33867 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33868 Moved to ...
33869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33870 Here.
33871 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33872 to ...
33873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33874 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33875 to ...
33876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33877 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33878 to ...
33879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33880 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33881 to ...
33882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33883 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33884 to ...
33885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33886 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33887 to ...
33888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33889 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33890 to ...
33891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33892 Here.
33893 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33894 to ...
33895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33896 Here.
33897 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33898 to ...
33899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33900 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33901 Moved to ...
33902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33903 Here.
33904 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33905 to ...
33906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33907
33908 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33909
33910 * sysdeps/unix/common/bits/dirent.h: Remove file.
33911 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33912
33913 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33914 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33915 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33916 * sysdeps/unix/bsd/isatty.c: Likewise.
33917 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33918 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33919 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33920
33921 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33922
33923 [BZ #13563]
33924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33925 long double comparison inaccuracies.
33926 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33928
33929 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33930
33931 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33932 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33933
33934 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33935
33936 [BZ #14049]
33937 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33938 nonzero digits before rounding a hex value.
33939 * stdlib/tst-strtod.c (tests): Add another test.
33940
33941 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33942
33943 * sysdeps/s390/fpu/libm-test-ulps: Update.
33944
33945 2012-05-03 Andreas Jaeger <aj@suse.de>
33946
33947 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33948 does not get optimized out.
33949 (malloc_opt_barrier): New.
33950
33951 2012-05-03 Andreas Jaeger <aj@suse.de>
33952 Roland McGrath <roland@hack.frob.com>
33953
33954 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33955 intermediate file deletion.
33956 (generated): Add .symlist files.
33957
33958 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33959
33960 [BZ #13775]
33961 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33962 Redirect under this condition.
33963 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33964 [__USE_GNU] (__dprintf_chk): Not under this condition.
33965 [__USE_GNU] (__vdprintf_chk): Likewise.
33966 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33967 under this condition.
33968 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33969 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33970 [__USE_XOPEN2K8] (vdprintf): Likewise.
33971 [__USE_GNU] (__dprintf_chk): Not under this condition.
33972 [__USE_GNU] (__vdprintf_chk): Likewise.
33973 [__USE_GNU] (dprintf): Likewise.
33974 [__USE_GNU] (vdprintf): Likewise.
33975
33976 2012-05-03 Roland McGrath <roland@hack.frob.com>
33977
33978 * elf/Makefile (common-generated): Set this instead of generated for
33979 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33980 $(all-built-dso)-derived lists.
33981
33982 2012-05-03 Andreas Jaeger <aj@suse.de>
33983
33984 * sysdeps/i386/fpu/libm-test-ulps: Update.
33985
33986 * FAQ: Removed.
33987 * FAQ.in: Likewise.
33988 * scripts/gen-FAQ.pl: Likewise.
33989 * manual/install.texi (Installation): Point to online location of
33990 FAQ.
33991 * Makefile (files-for-dist): Remove FAQ.
33992 (FAQ): Remove.
33993
33994 2012-05-02 Allan McRae <allan@archlinux.org>
33995
33996 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33997 (LDFLAGS-reldepmod5.so): Likewise.
33998 (LDFLAGS-reldep6mod1.so): Likewise.
33999 (LDFLAGS-reldep6mod4.so): Likewise.
34000 (LDFLAGS-reldep8mod3.so): Likewise.
34001 (LDFLAGS-unload4mod1.so): Likewise.
34002 (LDFLAGS-unload4mod2.so): Likewise.
34003 (LDFLAGS-tst-initorder): Likewise.
34004 (LDFLAGS-tst-initordera2.so): Likewise.
34005 (LDFLAGS-tst-initordera3.so): Likewise.
34006 (LDFLAGS-tst-initordera4.so): Likewise.
34007 (LDFLAGS-tst-initorderb2.so): Likewise.
34008 (LDFLAGS-noload): Likewise.
34009 (LDFLAGS-next): Likewise.
34010 (LDFLAGS-order2mod1.so): Likewise.
34011 (LDFLAGS-order2mod2.so): Likewise.
34012 (LDFLAGS-tst-initorder2): Likewise.
34013 (LDFLAGS-tst-initorder2a.so): Likewise.
34014 (LDFLAGS-tst-initorder2b.so): Likewise.
34015 (LDFLAGS-tst-initorder2c.so): Likewise.
34016 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34017
34018 2012-05-02 David S. Miller <davem@davemloft.net>
34019
34020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34021
34022 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34023
34024 [BZ #14055]
34025 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34026
34027 2012-05-02 Andreas Jaeger <aj@suse.de>
34028
34029 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34030 since we manipulate rounding mode.
34031 (CPPFLAGS-test-idouble.c): Likewise.
34032 (CPPFLAGS-test-ifloat.c): Likewise.
34033 (CFLAGS-test-ldouble.c): Likewise.
34034 (CFLAGS-test-double.c): Likewise.
34035 (CFLAGS-test-float.c): Likewise.
34036 (CFLAGS-test-misc.c): Likewise.
34037 (CFLAGS-test-test-fenv.c): Likewise.
34038
34039 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34040
34041 [BZ #2550]
34042 [BZ #2570]
34043 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34044 comparisons to determine direction to adjust input.
34045
34046 2012-05-01 Roland McGrath <roland@hack.frob.com>
34047
34048 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34049 output to the target.
34050
34051 * scripts/localplt.awk: New file.
34052 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34053 (check-localplt-CFLAGS): Variable removed.
34054 ($(all-built-dso:=.jmprel)): New static pattern rule.
34055 (generated): Add those targets.
34056 (localplt-built-dso): New variable.
34057 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34058
34059 * elf/check-localplt.c: File removed.
34060
34061 * scripts/check-execstack.awk: New file.
34062 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34063 (check-execstack-CFLAGS): Variable removed.
34064 ($(objpfx)check-execstack.h): Target removed.
34065 ($(objpfx)execstack-default): New target.
34066 (generated): Add that instead of check-execstack.h.
34067 ($(all-built-dso:=.phdr)): New static pattern rule.
34068 (generated): Add those targets.
34069 * elf/check-execstack.c: File removed.
34070
34071 * scripts/check-textrel.awk: New file.
34072 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34073 (check-textrel-CFLAGS): Variable removed.
34074 (all-built-dso): Use := to define.o
34075 ($(all-built-dso:=.dyn)): New static pattern rule.
34076 (generated): Add those targets.
34077 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34078 * config.make.in (READELF): New substituted variable.
34079 * elf/check-textrel.c: File removed.
34080
34081 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34082
34083 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34084 allow.
34085 * conform/data/ctype.h-data [C99-based standards] (isblank):
34086 Expect function.
34087 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34088 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34089 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34090 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34091 Specify type. Require positive value.
34092 (EILSEQ): Likewise.
34093 (ERANGE): Likewise.
34094 [ISO || POSIX] (EILSEQ): Do not expect.
34095 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34096 Specify type. Require positive value.
34097 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34098 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34099 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34100 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34101 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34102 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34103 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34104 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34105 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34106 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34107 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34108 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34109 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34110 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34111 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34112 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34113 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34114 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34115 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34116 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34117 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34118 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34119 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34120 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34121 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34122 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34123 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34124 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34125 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34126 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34127 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34128 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34129 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34130 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34131 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34132 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34133 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34134 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34135 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34136 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34137 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34138 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34139 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34140 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34141 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34142 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34143 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34144 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34145 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34146 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34147 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34148 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34149 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34150 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34151 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34152 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34153 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34154 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34155 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34156 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34157 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34158 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34159 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34160 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34161 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34162 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34163 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34164 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34165 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34166 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34167 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34168 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34169 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34170 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34171 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34172 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34173 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34174 Require >= 2.
34175 (FLT_ROUNDS): Expect as macro, not constant.
34176 (FLT_MANT_DIG): Use macro-int-constant.
34177 (DBL_MANT_DIG): Likewise.
34178 (LDBL_MANT_DIG): Likewise.
34179 (FLT_DIG): Likewise.
34180 (DBL_DIG): Likewise.
34181 (LDBL_DIG): Likewise.
34182 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34183 (DBL_MIN_EXP): Likewise.
34184 (LDBL_MIN_EXP): Likewise.
34185 (FLT_MAX_EXP): Use macro-int-constant.
34186 (DBL_MAX_EXP): Likewise.
34187 (LDBL_MAX_EXP): Likewise.
34188 (FLT_MAX_10_EXP): Likewise.
34189 (DBL_MAX_10_EXP): Likewise.
34190 (LDBL_MAX_10_EXP): Likewise.
34191 (FLT_MAX): Use macro-constant.
34192 (DBL_MAX): Likewise.
34193 (LDBL_MAX): Likewise.
34194 (FLT_EPSILON): Use macro-constant. Give upper bound.
34195 (DBL_EPSILON): Likewise.
34196 (LDBL_EPSILON): Likewise.
34197 (FLT_MIN): Likewise.
34198 (DBL_MIN): Likewise.
34199 (LDBL_MIN): Likewise.
34200 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34201 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34202 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34203 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34204 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34205 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34206 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34207 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34208 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34209 [ISO11] (FLT_TRUE_MIN): Likewise.
34210 [ISO11] (LDBL_TRUE_MIN): Likewise.
34211 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34212 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34213 (SCHAR_MIN): Use macro-int-constant. Specify type.
34214 (SCHAR_MAX): Likewise.
34215 (UCHAR_MAX): Likewise.
34216 (CHAR_MIN): Likewise.
34217 (CHAR_MAX): Likewise.
34218 (MB_LEN_MAX): Use macro-int-constant.
34219 (SHRT_MIN): Use macro-int-constant. Specify type.
34220 (SHRT_MAX): Likewise.
34221 (USHRT_MAX): Likewise.
34222 (INT_MAX): Likewise.
34223 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34224 bound negative.
34225 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34226 bound with "U".
34227 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34228 bound with "L".
34229 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34230 bound negative. Suffix upper bound with "L".
34231 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34232 bound with "UL".
34233 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34234 Specify type.
34235 [C99-based standards] (LLONG_MAX): Likewise.
34236 [C99-based standards] (ULLONG_MAX): Likewise.
34237 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34238 == 0.
34239 [ISO11] (max_align_t): Require type.
34240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34241
34242 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34243 from $CFLAGS, without defining away __attribute__ calls.
34244 (checknamespace): Use $CFLAGS_namespace.
34245
34246 * conform/conformtest.pl (@keywords): Only include C99 keywords
34247 for standards based on C99 or C11.
34248
34249 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34250 Disable tests.
34251 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34252 UNIX98]: Likewise.
34253
34254 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34255 usability of symbols in #if.
34256
34257 * conform/conformtest.pl: If macro or constant types start
34258 "promoted:", expect the symbol to be of the following type
34259 promoted by the integer promotions.
34260
34261 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34262 in one place. Also handle "macro-constant".
34263
34264 * conform/conformtest.pl: Only accept expected macro values with
34265 "==". Parse all "macro" lines in one place.
34266 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34267
34268 * conform/conformtest.pl: Handle braced types on "constant" lines
34269 instead of handling "typed-constant".
34270 * conform/data/signal.h-data: Use "constant" instead of
34271 "typed-constant".
34272
34273 * conform/conformtest.pl: Handle "optional-" at start of lines in
34274 one place rather than duplicating several cases. Handle each
34275 format of "macro" line with initial "optional-".
34276
34277 * conform/conformtest.pl: Only accept expected constant or
34278 optional-constant values with "==". Parse all "constant" lines in
34279 one place. Parse all "optional-constant" lines in one place.
34280 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34281 * conform/data/fmtmsg.h-data: Likewise.
34282 * conform/data/netinet/in.h-data: Likewise.
34283 * conform/data/tar.h-data: Likewise.
34284 * conform/data/limits.h-data: Use "==" form on "constant" and
34285 "optional-constant" lines.
34286
34287 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34288 Use -std=c99 for XOPEN2K.
34289 (@knownproblems): Remove.
34290 (newtoken): Don't check %isknown.
34291
34292 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34293 Do not expect macro.
34294 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34306 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34307 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34313 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34314 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34317 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34318 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34319 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34320 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34321 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34322 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34323 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34324 [XPG3] (acosh): Likewise.
34325 [XPG3] (asinh): Likewise.
34326 [XPG3] (atanh): Likewise.
34327 [XPG3] (cbrt): Likewise.
34328 [XPG3] (expm1): Likewise.
34329 [XPG3] (ilogb): Likewise.
34330 [XPG3] (log1p): Likewise.
34331 [XPG3] (logb): Likewise.
34332 [XPG3] (nextafter): Likewise.
34333 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34334 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34335 [XPG3] (remainder): Likewise.
34336 [XPG3] (rint): Likewise.
34337 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34338 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34339 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34340 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34341 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34342 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34343 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34344 [UNIX98 || XOPEN2K] (scalb): Expect.
34345 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34346 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34347 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34348 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34349 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34350 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34351 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34352 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34353 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34354 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34355 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34356 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34357 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34358 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34359 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34360 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34361 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34362 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34363 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34364 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34365 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34366 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34367 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34368 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34369 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34370 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34371 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34372 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34373 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34374 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34375 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34376 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34377 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34378 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34379 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34380 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34381 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34382 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34383 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34384 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34385 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34386 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34387 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34388 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34389 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34390 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34391 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34392 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34393 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34394 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34395 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34396 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34397 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34398 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34399 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34400 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34401 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34402 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34403 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34404 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34405 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34406 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34407 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34408 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34409 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34410 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34411 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34412 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34413 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34414 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34415 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34416 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34417 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34418 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34419 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34420 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34421 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34422 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34423 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34424 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34425 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34426 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34427 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34428 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34429 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34430 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34431 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34432 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34433 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34434 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34435 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34436 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34437 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34438 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34439 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34440 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34441 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34442 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34443 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34444 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34445 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34446 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34447 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34448 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34449 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34450 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34451 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34452 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34453 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34454 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34455 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34456 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34457 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34458 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34459 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34460 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34461 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34462 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34463 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34464 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34465 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34466 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34467 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34468 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34469 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34470 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34471 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34472 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34473 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34474 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34475 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34476 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34477 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34478 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34479 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34480 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34481 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34482
34483 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34484 _XOPEN_SOURCE_EXTENDED for XPG4.
34485
34486 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34487
34488 * Makeconfig (localtime): Remove variable.
34489 (inst_localtime-file): Likewise.
34490
34491 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34492
34493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34494 Update.
34495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34496 Update.
34497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34498 Update.
34499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34500 Update.
34501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34502 Update.
34503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34504 Update.
34505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34506 Update.
34507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34508 Update.
34509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34510 Update.
34511
34512 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34513
34514 [BZ #2550]
34515 [BZ #2570]
34516 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34517 comparisons to determine direction to adjust input.
34518 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34519 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34520 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34521 Likewise.
34522 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34523 Likewise.
34524 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34525 Likewise.
34526 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34527 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34528 Likewise.
34529 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34530 Likewise.
34531 * math/libm-test.inc (nexttoward_test): Add more tests.
34532
34533 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34534
34535 [BZ #14040]
34536 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34537 in version GLIBC_2.1, not GLIBC_2.0.
34538 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34539 Likewise.
34540
34541 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34542
34543 [BZ #13942]
34544 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34545 (1 - x) * (1 + x).
34546 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34547 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34548 * math/libm-test.inc (acos_test): Add more tests.
34549 (asin_test): Likewise.
34550 * sysdeps/i386/fpu/libm-test-ulps: Update.
34551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34552
34553 [BZ #14034]
34554 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34555 of square root.
34556 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34557 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34558 * math/libm-test.inc (acos_test_tonearest): New function.
34559 (acos_test_towardzero): Likewise.
34560 (acos_test_downward): Likewise.
34561 (acos_test_upward): Likewise.
34562 (asin_test_tonearest): Likewise.
34563 (asin_test_towardzero): Likewise.
34564 (asin_test_downward): Likewise.
34565 (asin_test_upward): Likewise.
34566 (main): Call the new functions.
34567 * sysdeps/i386/fpu/libm-test-ulps: Update.
34568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34569
34570 [BZ #13884]
34571 [BZ #13924]
34572 * math/e_exp10.c: Include <float.h>.
34573 (__ieee754_exp10): Handle underflow here rather than multiplying
34574 large negative argument by M_LN10.
34575 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34576 of __ieee754_expf.
34577 * math/e_exp10l.c: Include <float.h>.
34578 (__ieee754_exp10l): Handle underflow here rather than multiplying
34579 large negative argument by M_LN10l.
34580 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34581 spurious overflow exception on underflow.
34582
34583 2012-04-29 Marek Polacek <polacek@redhat.com>
34584
34585 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34586 (__fortify_function): New macro.
34587 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34588 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34589 __extern_always_inline.
34590 * libio/bits/stdio2.h: Likewise.
34591 * libio/bits/stdio.h: Likewise.
34592 * string/string.h: Likewise.
34593 * string/bits/string3.h: Likewise.
34594 * include/stdio.h: Likewise.
34595 * stdlib/bits/stdlib.h: Likewise.
34596 * stdlib/stdlib.h: Likewise.
34597 * rt/bits/mqueue2.h: Likewise.
34598 * rt/mqueue.h: Likewise.
34599 * posix/bits/unistd.h: Likewise.
34600 * posix/unistd.h: Likewise.
34601 * io/bits/poll2.h: Likewise.
34602 * io/bits/fcntl2.h: Likewise.
34603 * io/fcntl.h: Likewise.
34604 * io/sys/poll.h: Likewise.
34605 * misc/bits/syslog.h: Likewise.
34606 * misc/bits/syslog-ldbl.h: Likewise.
34607 * misc/sys/syslog.h: Likewise.
34608 * socket/bits/socket2.h: Likewise.
34609 * socket/sys/socket.h: Likewise.
34610 * debug/tst-chk1.c: Likewise.
34611 * wcsmbs/bits/wchar2.h: Likewise.
34612 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34613 * wcsmbs/wchar.h: Likewise.
34614
34615 2012-04-29 Andreas Jaeger <aj@suse.de>
34616
34617 * Makerules (tests): Remove enable-check-abi protection.
34618 (check-abi-warn): Remove.
34619 (check-abi-%): Remove check-abi-warn usage.
34620
34621 * configure.in: Remove check-abi configure option.
34622 * configure: Regenerated.
34623 * config.make.in (enable-check-abi): Remove.
34624
34625 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34626
34627 [BZ #14033]
34628 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34629 double functions to double *_finite functions.
34630
34631 [BZ #13941]
34632 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34633 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34634 LDBL_MIN_EXP.
34635 * stdio-common/Makefile (tests): Add tst-sprintf3.
34636 * stdio-common/tst-sprintf3.c: New file.
34637
34638 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34639 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34640
34641 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34642
34643 * conform/conformtest.pl: Remove duplicate typed-constant
34644 handling.
34645
34646 2012-04-28 David S. Miller <davem@davemloft.net>
34647
34648 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34649 (check-abi-%): Remove AWK script prerequisite and explicit
34650 abilist directory.
34651 (check-abi): Rewrite to just diff the symlist with the abilist.
34652 (config-tls, config-abi-config): Delete, no longer used.
34653 (update-abi-%): Remove AWK script and explicit abilist directory.
34654 (update-abi): Rewrite to simply compare and conditionally copy the
34655 symlist and the sysdep abilist file. Remove update-abi-config
34656 checks.
34657 * abilist/ld.abilist: Remove.
34658 * abilist/libBrokenLocale.abilist: Remove.
34659 * abilist/libanl.abilist: Remove.
34660 * abilist/libcrypt.abilist: Remove.
34661 * abilist/libdl.abilist: Remove.
34662 * abilist/librt.abilist: Remove.
34663 * abilist/libthread_db.abilist: Remove.
34664 * abilist/libutil.abilist: Remove.
34665 * scripts/extract-abilist.awk: Remove.
34666 * scripts/merge-abilist.awk: Remove.
34667 * sysdeps/generic/libcidn.abilist: New file.
34668 * sysdeps/generic/libnss_compat.abilist: New file.
34669 * sysdeps/generic/libnss_db.abilist: New file.
34670 * sysdeps/generic/libnss_dns.abilist: New file.
34671 * sysdeps/generic/libnss_files.abilist: New file.
34672 * sysdeps/generic/libnss_hesiod.abilist: New file.
34673 * sysdeps/generic/libnss_nis.abilist: New file.
34674 * sysdeps/generic/libnss_nisplus.abilist: New file.
34675 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34676 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34677 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34678 file.
34679 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34680 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34681 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34682 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34683 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34684 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34685 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34686 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34687 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34688 file.
34689 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34690 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34691 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34692 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34693 file.
34694 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34695 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34696 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34697 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34698 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34699 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34700 file.
34701 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34702 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34703 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34704 file.
34705 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34707 New file.
34708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34709 New file.
34710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34711 New file.
34712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34713 New file.
34714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34715 New file.
34716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34717 New file.
34718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34719 New file.
34720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34721 New file.
34722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34723 New file.
34724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34725 New file.
34726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34727 New file.
34728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34729 New file.
34730 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34731 New file.
34732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34733 file.
34734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34735 New file.
34736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34737 New file.
34738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34739 file.
34740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34741 New file.
34742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34743 New file.
34744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34745 file.
34746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34747 New file.
34748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34749 New file.
34750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34751 New file.
34752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34753 New file.
34754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34755 New file.
34756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34757 New file.
34758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34760 file.
34761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34762 New file.
34763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34764 file.
34765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34766 file.
34767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34768 file.
34769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34770 file.
34771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34772 file.
34773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34774 New file.
34775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34776 file.
34777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34778 file.
34779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34780 New file.
34781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34782 file.
34783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34785 file.
34786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34787 New file.
34788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34789 file.
34790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34791 file.
34792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34793 file.
34794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34795 file.
34796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34797 file.
34798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34799 New file.
34800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34801 file.
34802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34803 file.
34804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34805 New file.
34806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34807 file.
34808 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34809 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34810 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34811 file.
34812 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34813 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34814 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34815 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34816 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34817 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34818 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34819 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34820 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34821 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34824 file.
34825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34826 New file.
34827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34828 file.
34829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34830 file.
34831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34832 file.
34833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34834 file.
34835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34836 file.
34837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34838 New file.
34839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34840 New file.
34841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34842 file.
34843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34844 New file.
34845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34846 file.
34847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34849 file.
34850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34851 New file.
34852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34853 file.
34854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34855 file.
34856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34857 file.
34858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34859 file.
34860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34861 file.
34862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34863 New file.
34864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34865 New file.
34866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34867 file.
34868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34869 New file.
34870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34871 file.
34872
34873 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34874
34875 * conform/conformtest.pl: Fix typo in handling typed-constant from
34876 allow-header.
34877
34878 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34879
34880 * README: Cut down references to pre-2.6 Linux kernels and
34881 Linuxthreads. Update lists of configurations in libc and ports
34882 and sort alphabetically. Say "or newer" with Linux kernel version
34883 requirements.
34884
34885 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34886
34887 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34888
34889 [BZ #887]
34890 * math/libm-test.inc (logb_test_downward): New test to expose
34891 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34892 rounding mode.
34893
34894 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34895
34896 [BZ #14027]
34897 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34898 to be done.
34899 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34900 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34901
34902 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34903
34904 * sysdeps/unix/i386/brk.S: Remove file.
34905 * sysdeps/unix/i386/dl-brk.S: Likewise.
34906 * sysdeps/unix/i386/pipe.S: Likewise.
34907 * sysdeps/unix/i386/sigreturn.S: Likewise.
34908 * sysdeps/unix/i386/syscall.S: Likewise.
34909 * sysdeps/unix/i386/vfork.S: Likewise.
34910 * sysdeps/unix/i386/wait.S: Likewise.
34911
34912 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34913 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34914
34915 * configure.in (arm*-none*): Do not allow without
34916 --enable-hacker-mode.
34917 (netbsd*): Remove case setting base_os.
34918 (386bsd*): Likewise.
34919 (freebsd*): Likewise.
34920 (bsdi*): Likewise.
34921 (osf*): Likewise.
34922 (sunos*): Likewise.
34923 (ultrix*): Likewise.
34924 (newsos*): Likewise.
34925 (dynix*): Likewise.
34926 (*bsd*): Likewise.
34927 (sysv*): Likewise.
34928 (isc*): Likewise.
34929 (esix*): Likewise.
34930 (sco*): Likewise.
34931 (minix*): Likewise.
34932 (irix4*): Likewise.
34933 (irix6*): Likewise.
34934 (solaris[2-9]*): Likewise.
34935 (none): Likewise.
34936 * configure: Regenerated.
34937
34938 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34939
34940 [BZ #11521]
34941 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34942 overflow or cancellation in calculating denominator.
34943 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34944 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34945 down expression to avoid unexpected rounding in newer GCCs.
34946 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34947
34948 2012-04-26 David S. Miller <davem@davemloft.net>
34949
34950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34951 long-double compat symbols.
34952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34965
34966 2012-04-25 David S. Miller <davem@davemloft.net>
34967
34968 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34969 HWCAP_* values only after the memory barriers have been defined.
34970 (atomic_full_barrier): Define.
34971 (atomic_read_barrier): Define.
34972 (atomic_write_barrier): Define.
34973
34974 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34975
34976 * shlib-versions: Add libgcc_s version information.
34977 * sysdeps/generic/libgcc_s.h: Remove.
34978 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34979 libgcc_s.h.
34980 * sysdeps/gnu/unwind-resume.c: Likewise.
34981 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34982
34983 2012-04-25 David S. Miller <davem@davemloft.net>
34984
34985 * sysdeps/unix/sparc/brk.S: Delete.
34986 * sysdeps/unix/sparc/dl-brk.S: Delete.
34987 * sysdeps/unix/sparc/pipe.S: Delete.
34988 * sysdeps/unix/sparc/sysdep.S: Delete.
34989 * sysdeps/unix/sparc/sysdep.h: Delete.
34990 * sysdeps/unix/sparc/vfork.S: Delete.
34991 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34992 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34993 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34994 (ret_ERRVAL, r0, r1, MOVE): Define.
34995 (JUMPTARGET): Remove.
34996 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34997 sysdeps/unix/sparc/sysdep.h
34998 (ENTRY, END): Remove.
34999 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35000
35001 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35002
35003 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35004 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35005 -DIS_IN_build.
35006
35007 * timezone/README: Update upstream location and email address for
35008 tzcode and tzdata.
35009 * timezone/zdump.c: Update from tzcode 2012b.
35010 * timezone/zic.c: Likewise.
35011
35012 * configure.in (libc_cv_as_needed): Remove test.
35013 * configure: Regenerated.
35014 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35015 conditional definition.
35016 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35017 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35018 * config.make.in (have-as-needed): Remove variable.
35019
35020 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35021 Paul Pluzhnikov <ppluzhnikov@google.com>
35022
35023 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35024 strings correctly.
35025
35026 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35027
35028 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35029 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35030 * sysdeps/sh/strlen.S: Likewise.
35031
35032 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35033
35034 * sysdeps/unix/fork.S: Remove file.
35035 * sysdeps/unix/i386/fork.S: Likewise.
35036 * sysdeps/unix/sparc/fork.S: Likewise.
35037
35038 * sysdeps/unix/system.c: Remove file.
35039 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35040
35041 * sysdeps/unix/getegid.S: Remove file.
35042 * sysdeps/unix/geteuid.S: Likewise.
35043
35044 2012-04-24 Roland McGrath <roland@hack.frob.com>
35045
35046 * scripts/check-localplt.awk: New file.
35047 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35048 of diff.
35049 * scripts/data/localplt-generic.data: Add a comment.
35050
35051 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35052 NODE when __dir_mkfile failed.
35053 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35054 Reported by Ludovic Courtès <ludo@gnu.org>.
35055
35056 2012-04-24 Andreas Jaeger <aj@suse.de>
35057
35058 * Makerules (common-clean): Also remove gen-as-const-headers
35059 files.
35060
35061 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35062
35063 * Makerules (native-compile): Do not change working directory for
35064 build. Use $(OUTPUT_OPTION) in command.
35065 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35066
35067 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35068
35069 [BZ #13886]
35070 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35071 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35072 * math/libm-test.inc (floor_test): Add more tests.
35073 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35074
35075 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35076
35077 * sysdeps/unix/getdents.c: Remove file.
35078 * sysdeps/unix/sysv/getdents.c: Likewise.
35079 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35080
35081 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35082 sysdeps/unix/mman/syscalls.list.
35083 (mmap): Likewise.
35084 (mprotect): Likewise.
35085 (msync): Likewise.
35086 (munmap): Likewise.
35087 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35088 * sysdeps/unix/mman/syscalls.list: Remove.
35089 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35090
35091 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35092 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35093 * configure: Regenerated.
35094 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35095 $(libgcc_s_suffix).
35096 * config.make.in (libgcc_s_suffix): Remove variable.
35097
35098 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35099
35100 * sysdeps/unix/sysv/gethostname.c: Move to ...
35101 * sysdeps/posix/gethostname.c: ... here.
35102
35103 * sysdeps/unix/execve.S: Remove file.
35104
35105 * sysdeps/unix/_exit.S: Remove file.
35106
35107 2012-04-23 Andreas Jaeger <aj@suse.de>
35108
35109 [BZ #13739]
35110 * manual/Makefile: Remove make dist support, there's no
35111 need for a stand-alone documentation tar ball.
35112 (TEXI2DVI): Define always, it's not in Makeconfig.
35113 (dist): Removed.
35114 (tar-it): Removed.
35115 (edition): Removed.
35116 (glibc-doc-$(edition).tar): Removed
35117 (%.Z): Removed.
35118 (%.gz): Removed.
35119 (%.uu): Removed.
35120 (ETAGS): Remove, it's in Makeconfig.
35121 (move-if-change): Remove, it's in Makeconfig.
35122
35123 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35124
35125 [BZ #13970]
35126 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35127 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35128 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35129 (strtod_l, strtof_l, strtold_l): Remove __wur.
35130 It is not necessarily an error to ignore strtol's return value.
35131 One can reliably look at the stored endptr to decide whether
35132 the number had valid syntax.
35133
35134 2012-04-21 Andreas Jaeger <aj@suse.de>
35135
35136 [BZ #13739]
35137 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35138
35139 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35140
35141 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35142 * sysdeps/unix/sysv/Versions: Remove file.
35143
35144 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35145
35146 [BZ #13927]
35147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35148
35149 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35150
35151 [BZ #7064]
35152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35153 version from __vm86.
35154
35155 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35156
35157 * sysdeps/unix/common/lxstat.c: Remove file.
35158 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35159
35160 * sysdeps/unix/sysv/Makefile: Remove file.
35161
35162 * sysdeps/unix/sysv/direct.h: Remove file.
35163
35164 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35165 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35166 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35167 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35168 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35169 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35170 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35171
35172 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35173
35174 * sysdeps/unix/xmknod.c: Remove file.
35175 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35176
35177 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35178
35179 * sysdeps/unix/sysv/i386/time.S: Remove file.
35180
35181 * sysdeps/unix/fxstat.c: Remove file.
35182 * sysdeps/unix/xstat.c: Likewise.
35183 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35184
35185 * sysdeps/unix/sysv/sigaction.c: Remove file.
35186
35187 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35188 (sysdep_headers): Remove variable.
35189 [termio.h not in sysdep_headers] (generated): Likewise.
35190 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35191 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35192 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35193 * sysdeps/unix/sysv/tcflow.c: Likewise.
35194 * sysdeps/unix/sysv/tcflush.c: Likewise.
35195 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35196 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35197 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35198 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35199 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35200
35201 * sysdeps/unix/siglist.c: Remove file.
35202
35203 * sysdeps/unix/getppid.S: Remove file.
35204
35205 * sysdeps/unix/mkdir.c: Remove file.
35206 * sysdeps/unix/rmdir.c: Likewise.
35207
35208 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35209
35210 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35211 ERR_MAX value.
35212 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35213 errlist-compat value.
35214
35215 2012-04-18 David S. Miller <davem@davemloft.net>
35216
35217 * sysdeps/generic/memcopy.h (reg_char): Delete.
35218 * debug/strcat_chk.c: Use char, not reg_char.
35219 * debug/strcpy_chk.c: Likewise.
35220 * debug/strncat_chk.c: Likewise.
35221 * debug/strncpy_chk.c: Likewise.
35222 * string/memchr.c: Likewise.
35223 * string/memrchr.c: Likewise.
35224 * string/rawmemchr.c: Likewise.
35225 * string/strcat.c: Likewise.
35226 * string/strchr.c: Likewise.
35227 * string/strchrnul.c: Likewise.
35228 * string/strcmp.c: Likewise.
35229 * string/strcpy.c: Likewise.
35230 * string/strncat.c: Likewise.
35231 * string/strncmp.c: Likewise.
35232 * string/strncpy.c: Likewise.
35233
35234 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35235
35236 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35237 __builtin_memcopy is called when src and dest ranges are known to not
35238 overlap.
35239
35240 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35241
35242 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35243 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35244 fwd_align_merge macro call.
35245 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35246 bwd_align_merge macro call.
35247 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35248
35249 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35250
35251 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35252 bwd_align_merge macros.
35253 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35254 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35255 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35256
35257 2012-04-18 David S. Miller <davem@davemloft.net>
35258
35259 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35260
35261 2012-04-18 Andreas Jaeger <aj@suse.de>
35262
35263 [BZ# 6794]
35264 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35265 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35266 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35267
35268 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35269 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35270 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35271
35272 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35273 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35274 Adjust for changed ldbl-128 files.
35275
35276 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35277 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35278 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35279
35280 2012-04-17 David S. Miller <davem@davemloft.net>
35281
35282 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35283
35284 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35285
35286 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35287 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35288 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35289 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35290 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35291 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35292
35293 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35294
35295 [BZ #6794]
35296 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35297 * math/libm-test.inc: Add ilogb errno and exception tests.
35298 * math/w_ilogb.c: New file: ilogb wrapper.
35299 * math/w_ilogbf.c: New file: ilogbf wrapper.
35300 * math/w_ilogbl.c: New file: ilogbl wrapper.
35301 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35302 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35303 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35304 exception being thrown with 0.0 as argument.
35305 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35306 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35307 exception being thrown with 0.0 as argument.
35308 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35309 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35310 exception being thrown with 0.0 as argument.
35311 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35312 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35313 exception being thrown with 0.0 as argument.
35314 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35315 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35316 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35317 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35318 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35319 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35320 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35321 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35322 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35323
35324 2012-04-17 Petr Baudis <pasky@ucw.cz>
35325
35326 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35327 with altivec.
35328
35329 2012-04-16 Marek Polacek <polacek@redhat.com>
35330
35331 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35332
35333 2012-04-16 Marek Polacek <polacek@redhat.com>
35334
35335 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35336 operands of fdivp instruction.
35337
35338 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35339
35340 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35341 * elf/tst-auditmod3b.c: Likewise.
35342 * elf/tst-auditmod4b.c: Likewise.
35343 * elf/tst-auditmod5b.c: Likewise.
35344 * elf/tst-auditmod6b.c: Likewise.
35345 * elf/tst-auditmod6c.c: Likewise.
35346 * elf/tst-auditmod7b.c: Likewise.
35347 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35348 * sysdeps/x86_64/preconfigure.in: Likewise.
35349 * sysdeps/x86_64/preconfigure: Regenerated.
35350
35351 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35352
35353 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35354 __ILP32__.
35355
35356 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35357
35358 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35359 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35360
35361 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35362
35363 [BZ #13973]
35364 * locale/iso-639.def: Fix gl language name. Spotted by
35365 Yaron Shahrabani.
35366
35367 2012-04-12 Roland McGrath <roland@hack.frob.com>
35368
35369 [BZ #2074]
35370 * libio/libio.h (__io_write_fn): Update comment.
35371
35372 2012-04-12 Petr Baudis <pasky@ucw.cz>
35373
35374 [BZ #2074]
35375 * stdio.texi (Hook Functions): The user provided writer function
35376 is not allowed to return -1.
35377
35378 2012-04-11 David S. Miller <davem@davemloft.net>
35379
35380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35381
35382 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35383
35384 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35385 Add a leading slash to rtkaio.
35386
35387 2012-04-11 Jim Meyering <meyering@redhat.com>
35388
35389 [BZ #11959]
35390 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35391 It is not necessarily an error to ignore fwrite's return
35392 value. One can reliably use ferror to test for errors after
35393 the fact.
35394
35395 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35396
35397 * bits/types.h (__snseconds_t): New type.
35398 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35399
35400 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35401 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35402 (__SNSECONDS_T_TYPE): Likewise.
35403 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35404 (__SNSECONDS_T_TYPE): Likewise.
35405 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35406 (__SNSECONDS_T_TYPE): Likewise.
35407
35408 2012-04-10 Andreas Jaeger <aj@suse.de>
35409
35410 [BZ #2636]
35411 * manual/time.texi (Processor Time): Return type of times is
35412 elapsed real time since an arbitrary point in the past.
35413 (CPU Time): Move CLK_TCK from here...
35414 (Processor Time): ...to here. Correct description.
35415 * manual/conf.texi (Constants for Sysconf): Correct description of
35416 _SC_CLK_TCK.
35417
35418 2012-04-10 David S. Miller <davem@davemloft.net>
35419
35420 [BZ #13967]
35421 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35422 where the is a gap between DT_REL(A) and DT_JMPREL.
35423
35424 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35425
35426 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35427 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35428 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35429
35430 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35431
35432 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35433 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35434 (dl_main): Handle --inhibit-cache.
35435 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35436 _dl_inhibit_cache.
35437 * elf/dl-load.c (_dl_map_object): Use it.
35438 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35439
35440 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35441
35442 [BZ #13872]
35443 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35444 (__ieee754_powl): Saturate large exponents rather than testing for
35445 overflow of y*log2(x).
35446 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35447 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35448 exceptions.
35449
35450 [BZ #11521]
35451 * math/s_ctan.c: Include <float.h>.
35452 (__ctan): Avoid internal overflow or cancellation in calculating
35453 denominator.
35454 * math/s_ctanf.c: Likewise.
35455 * math/s_ctanl.c: Likewise.
35456 * math/s_ctanh.c: Likewise.
35457 * math/s_ctanhf.c: Likewise.
35458 * math/s_ctanhl.c: Likewise.
35459 * math/libm-test.inc (ctan_test): Add more tests.
35460 (ctanh_test): Likewise.
35461 * sysdeps/i386/fpu/libm-test-ulps: Update.
35462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35463
35464 2012-04-09 Andreas Jaeger <aj@suse.de>
35465
35466 [BZ #6894]
35467 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35468 is an optional BSD extension.
35469
35470 [BZ #10254]
35471 * manual/stdio.texi (Opening Streams): Document additional fopen
35472 parameters.
35473
35474 2012-04-09 Roland McGrath <roland@hack.frob.com>
35475
35476 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35477 %eax without telling the compiler.
35478
35479 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35480
35481 [BZ # 13963]
35482 * manual/install.texi: Use sourceware.org.
35483
35484 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35485
35486 [BZ #13873]
35487 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35488 (__ieee754_pow): Generate overflow and underflow using huge*huge
35489 and tiny*tiny rather than just returning constant infinity or zero
35490 for large exponents.
35491 * math/libm-test.inc (pow_test): Require overflow exceptions for
35492 applicable cases of large exponents.
35493
35494 [BZ #706]
35495 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35496 (__ieee754_pow): Use iterative multiplication algorithm only for
35497 integer exponents with absolute value below 1024. Check for odd
35498 integer exponents when using algorithm for real exponents.
35499 * math/libm-test.inc (pow_test): Add more tests.
35500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35501
35502 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35503
35504 [BZ #13705]
35505 * math/libm-test.inc (exp_test): Do not allow overflow exception
35506 on underflow test.
35507
35508 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35509
35510 [BZ #13705]
35511 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35512 instead of __kernel_standard_f.
35513
35514 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35515
35516 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35517 * sysdeps/x86_64/memset_chk.S: Likewise.
35518
35519 2012-04-08 Andreas Jaeger <aj@suse.de>
35520
35521 [BZ #10153]
35522 * manual/startup.texi (Environment Access): Describe return value
35523 for putenv and setenv.
35524
35525 [BZ #6895]
35526 * manual/filesys.texi (Directory Entries): Add description for
35527 DT_LNK.
35528
35529 [BZ #6890]
35530 * manual/filesys.texi (Directory Entries): Clarify that it's file
35531 system not operating system in the description of DT_UNKNOWN.
35532
35533 [BZ #6578]
35534 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35535
35536 2012-04-08 Stephen Compall <s11@member.fsf.org>
35537
35538 [BZ #6649]
35539 * manual/llio.texi (Opening and Closing Files): Add cross
35540 reference to explain mode argument.
35541
35542 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35543
35544 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35545 * sysdeps/x86_64/memset_chk.S: Likewise.
35546
35547 2012-04-07 David S. Miller <davem@davemloft.net>
35548
35549 * elf/elf.h (R_SPARC_WDISP10): Define.
35550 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35551 R_SPARC_SIZE32.
35552 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35553 R_SPARC_SIZE64 and R_SPARC_H34.
35554
35555 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35556
35557 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35558 conditions and remove no longer applicable assertion.
35559
35560 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35561
35562 * bits/byteswap.h: Include <features.h>.
35563 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35564 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35565
35566 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35567
35568 * bits/byteswap.h (__bswap_16): Removed.
35569 Include <bits/byteswap-16.h> to get __bswap_16.
35570 * sysdeps/i386/bits/byteswap.h: Likewise.
35571 * sysdeps/s390/bits/byteswap.h: Likewise.
35572 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35573 * bits/byteswap-16.h: New file.
35574 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35575 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35576 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35577 * string/Makefile (headers): Add bits/byteswap-16.h.
35578
35579 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35580
35581 [BZ #13895]
35582 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35583 extra indirection.
35584 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35585 * nss/tst-nss-static.c: New.
35586
35587 2012-04-06 Robert Millan <rmh@gnu.org>
35588
35589 [BZ #6486]
35590 * manual/llio.texi (File Position Primitive): lseek
35591 refers to WHENCE when it really means OFFSET.
35592
35593 2012-04-06 Andreas Jaeger <aj@suse.de>
35594
35595 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35596 strncmp declarations.
35597
35598 * abilist/libc.abilist: Add __poll and __ppoll.
35599
35600 2012-04-05 David S. Miller <davem@davemloft.net>
35601
35602 * scripts/check-local-headers.sh: Accept a host triplet in the
35603 path matched by the exclude regexp.
35604
35605 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35606 definition.
35607 * sysdeps/powerpc/powerpc32/dl-machine.h
35608 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35609 * sysdeps/s390/s390-32/dl-machine.h
35610 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35611 * sysdeps/sparc/sparc32/dl-machine.h
35612 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35613 * sysdeps/sparc/sparc64/dl-machine.h
35614 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35615
35616 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35617 lazy binding.
35618 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35619 undefined symbol errors.
35620
35621 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35622 DT_NEEDED entries.
35623
35624 2012-04-05 Michael Matz <matz@suse.de>
35625
35626 [BZ #13592]
35627 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35628
35629 2012-04-05 Andreas Jaeger <aj@suse.de>
35630
35631 [BZ #13908]
35632 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35633 comment.
35634
35635 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35636
35637 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35638 which ROUND is no valid rounding mode.
35639
35640 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35641
35642 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35643 read again.
35644 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35645
35646 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35647
35648 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35649 an exception using FPU order intentionally.
35650
35651 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35652
35653 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35654 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35655 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35656 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35657
35658 2012-04-05 Simon Josefsson <simon@josefsson.org>
35659
35660 [BZ #12340]
35661 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35662 EINVAL when BUFLEN is too smal.
35663
35664 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35665
35666 [BZ #13553]
35667 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35668 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35669
35670 2012-04-03 Andreas Jaeger <aj@suse.de>
35671
35672 [BZ #13938]
35673 * manual/setjmp.texi (System V contexts): Fix sentence.
35674
35675 [BZ #13926]
35676 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35677 New macro for this case.
35678 [!__GNUC__] (__bswap_64): New inline function for this case.
35679 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35680 * bits/byteswap.h: Likewise.
35681 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35682 ull, guard with __GLIBC_HAVE_LONG_LONG.
35683
35684 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35685 __GLIBC_HAVE_LONG_LONG.
35686
35687 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35688 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35689
35690 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35691
35692 [BZ #13691]
35693 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35694 inptr and inend, rather than using last_ch.
35695
35696 2012-04-02 David S. Miller <davem@davemloft.net>
35697
35698 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35699 * stdio-common/printf-parse.h (read_int): Change return type to
35700 'int', return -1 on INT_MAX overflow.
35701 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35702 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35703 overflows INT_MAX. Check for overflow of in-format-string precision
35704 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35705 SIZE_MAX not INT_MAX for integer overflow test.
35706 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35707 skip the construct in the format string but do not record anything.
35708 * stdio-common/bug22.c: Adjust to test both width/prevision
35709 INT_MAX overflow as well as total length INT_MAX overflow. Check
35710 explicitly for proper errno values.
35711
35712 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35713
35714 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35715 CHAR_MAX.
35716 * string/test-strcmp.c [! WIDE]: Likewise.
35717 * time/tst-mktime2.c: Likewise for INT_MAX.
35718 * string/test-string.h: #include <sys/param.h> for MIN.
35719
35720 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35721 * sysdeps/i386/init-first.c (init): Likewise.
35722 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35723 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35724 * sysdeps/sh/init-first.c (init): Likewise.
35725
35726 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35727
35728 * po/ru.po: Update from translation team.
35729 * po/vi.po: Likewise.
35730
35731 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35732
35733 * resolv/nss_dns/dns-host.c: Merge copyright years.
35734
35735 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35736
35737 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35738 Optimize memcpy with prefetch if
35739 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35740 src, dst pointers have unequal 16 byte alignments.
35741
35742 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35743
35744 [BZ #13928]
35745 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35746 from a CNAME entry and return the minimum ttl for the query.
35747 (gaih_getanswer_slice): Likewise.
35748
35749 2012-03-30 Jeff Law <law@redhat.com>
35750
35751 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35752 due to long keys.
35753 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35754 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35755
35756 * resolv/nss_dns/dns-host.c: Update copyright year.
35757
35758 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35759
35760 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35761 requests to save a system call. Fix check that all bytes are sent.
35762
35763 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35764 comments for sendmmsg.
35765
35766 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35767
35768 [BZ #13691]
35769 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35770 with only 1 character between 0x0041 and 0x01b0.
35771 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35772 * wcsmbs/tst-mbsnrtowcs.c: New file.
35773
35774 2012-03-29 David S. Miller <davem@davemloft.net>
35775
35776 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35777 small copies by hand.
35778
35779 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35780
35781 [BZ #13761]
35782 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35783 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35784 group memberships.
35785
35786 2012-03-28 David S. Miller <davem@davemloft.net>
35787
35788 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35789 that branches into memcpy.
35790 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35791 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35792 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35793 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35794 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35795 bits.
35796 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35797 implementation too.
35798 * sysdeps/sparc/mempcpy.S: New file.
35799
35800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35801 the IFUNC routine in the libc case.
35802 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35803
35804 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35805 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35806 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35807 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35808 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35809 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35810 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35811 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35812
35813 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35814 loop to 256 bytes instead of 64 bytes and fix test signedness.
35815
35816 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35817 * sysdeps/sparc/sparc32/Makefile: rather than here...
35818 * sysdeps/sparc/sparc64/Makefile: and here.
35819
35820 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35821
35822 * malloc/mallocbug.c: Avoid warnings about unused variables.
35823
35824 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35825
35826 [BZ #13760]
35827 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35828 in the right place. Discard and retry query if response is
35829 larger than input buffer size.
35830
35831 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35832
35833 [BZ #369]
35834 [BZ #2678]
35835 [BZ #3866]
35836 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35837 x for large integer exponent.
35838 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35839 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35840 sign of result as needed afterwards.
35841 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35842 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35843 result for underflowing pow the same as for overflow.
35844 (__kernel_standard_l): Handle powl overflow and underflow here
35845 rather than calling __kernel_standard.
35846 * math/libm-test.inc (pow_test): Add more tests.
35847
35848 [BZ #3868]
35849 [BZ #13879]
35850 [BZ #13910]
35851 [BZ #13911]
35852 [BZ #13912]
35853 [BZ #13913]
35854 [BZ #13915]
35855 [BZ #13916]
35856 [BZ #13917]
35857 [BZ #13918]
35858 [BZ #13919]
35859 [BZ #13920]
35860 [BZ #13921]
35861 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35862 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35863 (__kernel_standard_l): New function.
35864 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35865 __kernel_standard.
35866 * math/w_acosl.c (__acosl): Likewise.
35867 * math/w_asinl.c (__asinl): Likewise.
35868 * math/w_atan2l.c (__atan2l): Likewise.
35869 * math/w_atanhl.c (__atanhl): Likewise.
35870 * math/w_coshl.c (__coshl): Likewise.
35871 * math/w_exp10l.c (__exp10l): Likewise.
35872 * math/w_exp2l.c (__exp2l): Likewise.
35873 * math/w_fmodl.c (__fmodl): Likewise.
35874 * math/w_hypotl.c (__hypotl): Likewise.
35875 * math/w_j0l.c (__j0l, __y0l): Likewise.
35876 * math/w_j1l.c (__j1l, __y1l): Likewise.
35877 * math/w_jnl.c (__jnl, __ynl): Likewise.
35878 * math/w_lgammal.c (__lgammal): Likewise.
35879 * math/w_log10l.c (__log10l): Likewise.
35880 * math/w_log2l.c (__log2l): Likewise.
35881 * math/w_logl.c (__logl): Likewise.
35882 * math/w_powl.c (__powl): Likewise.
35883 * math/w_remainderl.c (__remainderl): Likewise.
35884 * math/w_scalbl.c (sysv_scalbl): Likewise.
35885 * math/w_sinhl.c (__sinhl): Likewise.
35886 * math/w_sqrtl.c (__sqrtl): Likewise.
35887 * math/w_tgammal.c (__tgammal): Likewise.
35888 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35889 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35890 * math/libm-test.inc (acos_test): Add more tests.
35891 (acosh_test): Likewise.
35892 (asin_test): Likewise.
35893 (atanh_test): Likewise.
35894 (exp_test): Likewise.
35895 (exp10_test): Likewise.
35896 (exp2_test): Likewise.
35897 (expm1_test): Likewise.
35898 (lgamma_test): Likewise.
35899 (log_test): Likewise.
35900 (log10_test): Likewise.
35901 (log1p_test): Likewise.
35902 (log2_test): Likewise.
35903 (pow_test): Do not allow some spurious overflow exceptions.
35904 (sqrt_test): Add more tests.
35905 (tgamma_test): Likewise.
35906 (y0_test): Likewise.
35907 (y1_test): Likewise.
35908 (yn_test): Likewise.
35909
35910 2012-03-27 Anton Blanchard <anton@samba.org>
35911
35912 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35913 MAP_HUGETLB.
35914 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35915 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35916 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35917
35918 2012-03-27 David S. Miller <davem@davemloft.net>
35919
35920 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35921
35922 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35923 have-as-vis3 check.
35924
35925 2012-03-27 Andreas Jaeger <aj@suse.de>
35926
35927 * sysdeps/x86_64/elf/configure.in: Moved to ...
35928 * sysdeps/x86_64/configure.in: ... here.
35929 * sysdeps/x86_64/elf/start.S: Moved to ...
35930 * sysdeps/x86_64/start.S: ... here.
35931 * sysdeps/x86_64/elf/configure: Delete.
35932
35933 * sysdeps/x86_64/configure.in: Merge contents from
35934 sysdeps/i386/configure.in (without i686 check).
35935
35936 * sysdeps/i386/elf/Versions: Merge into ...
35937 * sysdeps/i386/Versions: ... this.
35938 * sysdeps/i386/elf/Versions: Delete file.
35939 * sysdeps/i386/elf/start.S: Moved to ...
35940 * sysdeps/i386/start.S: ...here.
35941 * sysdeps/i386/elf/configure.in: Merge into...
35942 * sysdeps/i386/configure.in: ...here.
35943 * sysdeps/i386/elf/configure.in: Delete file.
35944 * sysdeps/i386/elf/configure: Delete file.
35945
35946 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35947 * debug/backtracesyms.c: ... here.
35948 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35949 * debug/backtracesymsfd.c: ... here.
35950 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35951 * sysdeps/generic/ifunc-sel.h: ... here.
35952
35953 * sysdeps/unix/i386/start.c: Delete file.
35954 * sysdeps/unix/sparc/start.c: Delete file.
35955 * sysdeps/unix/start.c: Delete file.
35956
35957 * sysdeps/sh/elf/configure.in: Moved to ...
35958 * sysdeps/sh/configure.in: ... here.
35959 * sysdeps/sh/elf/start.S: Moved to ...
35960 * sysdeps/sh/start.S: ... here.
35961 * sysdeps/sh/elf/configure: Delete file.
35962
35963 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35964 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35965 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35966 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35967 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35968 * sysdeps/powerpc/powerpc64/start.S: here.
35969 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35970 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35971 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35972 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35973 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35974
35975 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35976 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35977 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35978 * sysdeps/powerpc/powerpc32/start.S: ... here.
35979 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35980 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35981 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35982
35983 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35984 * sysdeps/powerpc/ifunc-sel.h: ... here.
35985 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35986 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35987
35988 * sysdeps/sparc/elf/configure.in: Moved to ...
35989 * sysdeps/sparc/configure.in: ... here.
35990 * sysdeps/sparc/elf/configure: Delete file.
35991 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35992 * sysdeps/sparc/sparc32/start.S: ... here.
35993 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35994 * sysdeps/sparc/sparc64/start.S: ... here.
35995 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35996 * sysdeps/sparc/sparc32/Makefile: ... this.
35997 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35998 * sysdeps/sparc/sparc64/Makefile: ... this.
35999
36000 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36001 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36002 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36003 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36004 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36005 * sysdeps/s390/s390-32/setjmp.S: ... here.
36006 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36007 * sysdeps/s390/s390-32/configure.in: ... here.
36008 * sysdeps/s390/s390-32/elf/configure: Delete file.
36009 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36010 * sysdeps/s390/s390-32/start.S: ... here.
36011
36012 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36013 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36014 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36015 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36016 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36017 * sysdeps/s390/s390-64/setjmp.S: ... here.
36018 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36019 * sysdeps/s390/s390-64/configure.in: ... here
36020 * sysdeps/s390/s390-64/elf/configure: Delete file.
36021 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36022 * sysdeps/s390/s390-64/start.S: ... here.
36023 * sysdeps/s390/s390-64/elf/configure: Delete.
36024
36025 * configure.in: Remove support for elf directories in sysdeps.
36026
36027 * configure: Regenerated.
36028 * sysdeps/i386/configure: Regenerated.
36029 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36030 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36031 * sysdeps/s390/s390-32/configure: Regenerated.
36032 * sysdeps/s390/s390-64/configure: Regenerated.
36033 * sysdeps/sh/configure: Regenerated.
36034 * sysdeps/sparc/configure: Regenerated.
36035 * sysdeps/x86_64/configure: Regenerated.
36036
36037 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36038
36039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36040
36041 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36042 denormal result into account.
36043
36044 2012-03-25 Roland McGrath <roland@hack.frob.com>
36045
36046 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36047 Reported by Allan McRae <allan@archlinux.org>.
36048
36049 2012-03-23 Jeff Law <law@redhat.com>
36050
36051 * nss/getnssent.c (__nss_getent): Fix typo.
36052
36053 2012-03-23 David S. Miller <davem@davemloft.net>
36054
36055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36056
36057 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36058
36059 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36060 to pad to uint64_t for each field.
36061 (dl_tls_index): Replace unsigned long with uint64_t.
36062
36063 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36064 Paul Pluzhnikov <ppluzhnikov@google.com>
36065
36066 [BZ #6528]
36067 * grp/Makefile (otherlibs): Don't set it.
36068 * inet/Makefile (otherlibs): Likewise.
36069 * login/Makefile (otherlibs): Likewise.
36070 * nscd/Makefile (otherlibs): Likewise.
36071 * posix/Makefile (otherlibs): Likewise.
36072 * pwd/Makefile (otherlibs): Likewise.
36073 * rt/Makefile (otherlibs): Likewise.
36074 * sunrpc/Makefile (otherlibs): Likewise.
36075 * nss/Makefile (otherlibs): Likewise.
36076 Add libnss_files to routines and static-only-routines.
36077 ($(objpfx)getent): Remove rule.
36078 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36079 static-only-routines.
36080
36081 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36082
36083 [BZ #13892]
36084 * math/s_cexp.c: Include <float.h>.
36085 (__cexp): Handle exp result overflowing not necessarily
36086 overflowing both real and imaginary parts of result.
36087 * math/s_cexpf.c: Likewise.
36088 * math/s_cexpl.c: Likewise.
36089 * math/libm-test.inc (cexp_test): Add more tests.
36090 * sysdeps/i386/fpu/libm-test-ulps: Update.
36091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36092
36093 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36094
36095 * include/link.h (ELFW): New macro.
36096 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36097 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36098
36099 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36100
36101 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36102 with uint64_t.
36103
36104 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36105
36106 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36107 declaration.
36108 (struct La_x32_retval): Likewise.
36109
36110 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36111
36112 * sysdeps/x86_64/preconfigure.in: New file.
36113 * sysdeps/x86_64/preconfigure: New generated file.
36114
36115 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36116
36117 [BZ #13824]
36118 * math/e_exp2l.c: Include <float.h>.
36119 (__ieee754_exp2l): Handle overflow and underflow cases
36120 separately. Only pass fractional part of argument to
36121 __ieee754_expl.
36122 * math/libm-test.inc (exp2_test): Add more tests.
36123
36124 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36125 negating x to take absolute value.
36126 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36127 Likewise.
36128 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36129 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36130 Likewise.
36131 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36132 computing low part if x was negated.
36133 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36134
36135 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36136
36137 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36138 la_x32_gnu_pltexit.
36139 (pltexit): Cast int_retval to ptrdiff_t.
36140 * elf/tst-auditmod3b.c: Likewise.
36141 * elf/tst-auditmod4b.c: Likewise.
36142 * elf/tst-auditmod5b.c: Likewise.
36143 * elf/tst-auditmod6b.c: Likewise.
36144 * elf/tst-auditmod6c.c: Likewise.
36145 * elf/tst-auditmod7b.c: Likewise.
36146
36147 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36148 and x32_gnu_pltexit.
36149
36150 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36151 __ELF_NATIVE_CLASS.
36152 (La_x32_regs): New macro.
36153 (La_x32_retval): Likewise.
36154 (la_x32_gnu_pltenter): New function prototype.
36155 (la_x32_gnu_pltexit): Likewise.
36156
36157 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36158
36159 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36160 exponent.
36161
36162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36163
36164 * configure.in (libc_cv_cc_nofma): Check for option to disable
36165 generation of FMA instructions.
36166 * configure: Regenerate.
36167 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36168 * sysdeps/ieee754/dbl-64/Makefile: New file.
36169 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36170 Remove brandred-fma4.
36171 (CFLAGS-brandred-fma4.c): Remove.
36172 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36173 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36174 define.
36175 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36176 define.
36177
36178 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36179
36180 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36181 LLONG_MAX != LONG_MAX.
36182 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36183 (_fitoa_word): Likewise.
36184 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36185 LLONG_MAX != LONG_MAX.
36186 * stdio-common/_itowa.h: Include <_itoa.h>.
36187 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36188 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36189 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36190 only if not defined.
36191 (_ITOA_WORD_TYPE): Likewise.
36192 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36193 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36194
36195 2012-03-21 David S. Miller <davem@davemloft.net>
36196
36197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36198
36199 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36200
36201 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36202 of x86_64 when setting libc_cv_slibdir, libdir and
36203 libc_cv_localedir.
36204 * sysdeps/unix/sysv/linux/configure: Regenerated.
36205
36206 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36207
36208 * manual/lang.texi (Old Varargs): Remove section.
36209 (How Variadic): Update menu.
36210 (va_start): Do not mention varargs.h.
36211
36212 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36213 Joseph Myers <joseph@codesourcery.com>
36214
36215 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36216 link test.
36217 * configure: Regenerated.
36218
36219 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36220
36221 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36222 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36223 conformtest.pl
36224
36225 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36226
36227 * NOTES: Remove.
36228 * Makefile (files-for-dist): Remove NOTES.
36229 (NOTES): Remove rule.
36230 * README: Don't refer to NOTES.
36231 * manual/creature.texi: Don't include macros.texi.
36232 * manual/intro.texi (creature.texi): Remove comment referring to
36233 NOTES.
36234
36235 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36236 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36237 * configure: Regenerated.
36238 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36239 LIBC_TRY_CC_OPTION.
36240 (libc_cv_as_i686): Likewise.
36241 (libc_cv_cc_avx): Likewise.
36242 (libc_cv_cc_sse2avx): Likewise.
36243 (libc_cv_cc_fma4): Likewise.
36244 (libc_cv_cc_novzeroupper): Likewise.
36245 * sysdeps/i386/configure: Regenerated.
36246
36247 [BZ #13883]
36248 * sysdeps/i386/fpu/s_cexp.S: Remove.
36249 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36250 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36251 * math/libm-test.inc (cexp_test): Add more tests.
36252 * sysdeps/i386/fpu/libm-test-ulps: Update.
36253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36254
36255 2012-03-21 Allan McRae <allan@archlinux.org>
36256
36257 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36258
36259 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36260
36261 [BZ #13871]
36262 * math/w_exp2.c: Do not include <float.h>.
36263 (o_threshold, u_threshold): Remove.
36264 (__exp2): Calculate result before checking finiteness and calling
36265 __kernel_standard.
36266 * math/w_exp2f.c: Likewise.
36267 * math/w_exp2l.c: Likewise.
36268 * math/libm-test.inc (exp2_test): Require overflow exception for
36269 1e6 input.
36270
36271 [BZ #3866]
36272 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36273 range of signed 64-bit integers before using fistpll. Remove
36274 checks for whether integers fit in mantissa bits.
36275 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36276 the range of signed 32-bit integers before using fistpl. Remove
36277 checks for whether integers fit in mantissa bits.
36278 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36279 (__ieee754_powl): Test for y outside the range of signed 64-bit
36280 integers before using fistpll. Reduce 64-bit values to 63-bit
36281 ones as needed.
36282 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36283 divide-by-zero is raised for zero to large negative powers.
36284 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36285 (__ieee754_powl): Test for y outside the range of signed 64-bit
36286 integers before using fistpll. Reduce 64-bit values to 63-bit
36287 ones as needed.
36288 * math/libm-test.inc (pow_test): Add more tests.
36289
36290 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36291
36292 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36293 <stdio-common/_itoa.h>.
36294 * debug/segfault.c: Likewise.
36295 * elf/dl-cache.c: Likewise.
36296 * elf/dl-minimal.c: Likewise.
36297 * elf/dl-misc.c: Likewise.
36298 * elf/dl-sysdep.c: Likewise.
36299 * elf/dl-version.c: Likewise.
36300 * elf/rtld.c: Likewise.
36301 * hurd/hurdsock.c: Likewise.
36302 * hurd/lookup-retry.c: Likewise.
36303 * malloc/malloc.c: Likewise.
36304 * malloc/mtrace.c: Likewise.
36305 * nscd/nscd_getgr_r.c: Likewise.
36306 * nscd/nscd_getpw_r.c: Likewise.
36307 * nscd/nscd_getserv_r.c: Likewise.
36308 * posix/getopt_init.c: Likewise.
36309 * posix/wordexp.c: Likewise.
36310 * stdio-common/_itoa.c: Likewise.
36311 * stdio-common/printf_fphex.c: Likewise.
36312 * stdio-common/vfprintf.c: Likewise.
36313 * string/_strerror.c: Likewise.
36314 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36315 * sysdeps/i386/i686/hp-timing.h: Likewise.
36316 * sysdeps/mach/_strerror.c: Likewise.
36317 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36318 * sysdeps/mach/hurd/sethostid.c: Likewise.
36319 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36320 * sysdeps/mach/xpg-strerror.c: Likewise.
36321 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36322 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36323 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36324 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36325 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36326 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36327 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36328 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36329 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36330 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36331 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36332 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36333 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36334 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36335 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36336 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36337 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36338 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36339 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36340 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36341 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36342
36343 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36344
36345 * stdio-common/_itoa.h: Moved to ...
36346 * sysdeps/generic/_itoa.h: Here.
36347
36348 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36349
36350 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36351 instead of "_itoa.h" and "_itowa.h".
36352 * stdio-common/vfprintf.: Likewise.
36353
36354 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36355
36356 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36357 <bits/wordsize.h>.
36358 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36359 (__signbit): Likwise.
36360 (llrintf): Likwise.
36361 (llrint): Likwise.
36362
36363 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36364
36365 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36366 __WORDSIZE != 64.
36367
36368 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36369
36370 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36371 OVERFLOW_EXCEPTION_OK.
36372 * math/libm-test.inc ("Philosophy"): Update comment about
36373 exception testing.
36374 (OVERFLOW_EXCEPTION): Define.
36375 (OVERFLOW_EXCEPTION_OK): Likewise.
36376 (INVALID_EXCEPTION_OK): Renumber.
36377 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36378 (IGNORE_ZERO_INF_SIGN): Likewise.
36379 (test_exceptions): Handle FE_OVERFLOW.
36380 (exp10_test): Expect overflow exceptions.
36381 (exp2_test): Likewise.
36382 (expm1_test): Likewise.
36383 (nextafter_test): Likewise.
36384 (pow_test): Likewise.
36385 (scalbn_test): Likewise.
36386 (scalbln_test): Likewise.
36387
36388 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36389
36390 * sysdeps/x86_64/bits/atomic.h
36391 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36392 64bit integer.
36393 (atomic_exchange_acq): Likewise.
36394 (__arch_exchange_and_add_body): Likewise.
36395 (__arch_add_body): Likewise.
36396 (atomic_add_negative): Likewise.
36397 (atomic_add_zero): Likewise.
36398
36399 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36400
36401 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36402 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36403
36404 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36405
36406 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36407 Check __x86_64__ instead of __WORDSIZE.
36408
36409 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36410
36411 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36412
36413 2012-03-19 David S. Miller <davem@davemloft.net>
36414
36415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36416
36417 * sysdeps/sparc/fpu/fenv_private.h: New file.
36418 * sysdeps/sparc/fpu/math_private.h: Use it.
36419 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36420 Remove.
36421 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36422 (libc_feholdexcept_setroundl): Remove.
36423 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36424 Remove.
36425 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36426 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36427
36428 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36429
36430 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36431 int64_t instead of long int.
36432 (INSERT_WORDS64): Likwise.
36433
36434 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36435
36436 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36437 _Unwind_GetCFA return to _Unwind_Ptr first.
36438
36439 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36440
36441 [BZ #13629]
36442 * math/s_clog.c: Include <float.h>.
36443 (__clog): Scale large or subnormal inputs.
36444 * math/s_clogf.c: Likewise.
36445 * math/s_clogl.c: Likewise.
36446 * math/s_clog10.c: Include <float.h>.
36447 (M_LOG10_2): Define.
36448 (__clog10): Scale large or subnormal inputs.
36449 * math/s_clog10f.c: Likewise.
36450 * math/s_clog10l.c: Likewise.
36451 * math/libm-test.inc (clog_test): Add more tests.
36452 (clog10_test): Likewise.
36453 * sysdeps/i386/fpu/libm-test-ulps: Update.
36454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36455
36456 [BZ #11451]
36457 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36458 x and y.
36459 * math/libm-test.inc (atan2_test): Add another test.
36460
36461 * Makerules (common-objdir-compile): Remove.
36462 * sysdeps/unix/Makefile (config-generated): Do not add
36463 $(unix-generated) to variable.
36464 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36465 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36466 Remove rule.
36467 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36468 Likewise.
36469 [generic bits/local_lim.h] (before-compile): Do not append to
36470 variable.
36471 [generic bits/local_lim.h] (common-generated): Likewise.
36472 [generic sys/param.h] (before-compile): Do not append to variable.
36473 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36474 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36475 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36476 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36477 include.
36478 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36479 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36480 [generic sys/param.h] ($(addprefix
36481 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36482 [generic sys/param.h] (common-generated): Do not append to
36483 variable.
36484 [generic sys/param.h] (sysdep_headers): Likewise.
36485 [generic bits/errno.h] (before-compile): Do not append to
36486 variable.
36487 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36488 rule.
36489 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36490 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36491 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36492 [generic bits/errno.h] (common-generated): Do not append to
36493 variable.
36494 [generic bits/ioctls.h] (before-compile): Do not append to
36495 variable.
36496 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36497 rule.
36498 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36499 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36500 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36501 rule.
36502 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36503 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36504 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36505 [generic bits/ioctls.h] (common-generated): Do not append to
36506 variable.
36507 [generic sys/syscall.h] (syscall.h): Remove variable.
36508 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36509 rule.
36510 [generic sys/syscall.h] (before-compile): Do not append to
36511 variable.
36512 [generic sys/syscall.h] (common-generated): Likewise.
36513 * sysdeps/unix/errnos-tmpl.c: Remove file.
36514 * sysdeps/unix/errnos.awk: Likewise.
36515 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36516 * sysdeps/unix/ioctls.awk: Likewise.
36517 * sysdeps/unix/mk-local_lim.c: Likewise.
36518 * sysdeps/unix/snarf-ioctls: Likewise.
36519
36520 2012-03-19 Richard Henderson <rth@twiddle.net>
36521
36522 * sysdeps/i386/fpu/fenv_private.h: New file.
36523 * sysdeps/i386/fpu/math_private.h: Use it.
36524 (math_opt_barrier, math_force_eval): Remove.
36525 (libc_feholdexcept_setround_53bit): Remove.
36526 (libc_feupdateenv_53bit): Remove.
36527 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36528 (math_opt_barrier, math_force_eval): Remove.
36529 (libc_feholdexcept): Remove.
36530 (libc_feholdexcept_setround): Remove.
36531 (libc_fetestexcept, libc_fesetenv): Remove.
36532 (libc_feupdateenv_test): Remove.
36533 (libc_feupdateenv, libc_feholdsetround): Remove.
36534 (libc_feresetround): Remove.
36535
36536 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36537 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36538
36539 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36540 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36541 (libc_feupdateenv_testl): New.
36542 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36543 (libc_feupdateenv_testf): New.
36544 (libc_feupdateenv): Use libc_feupdateenv_test.
36545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36546 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36547
36548 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36549 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36550 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36551 (libc_feresetround_noex): New.
36552 (libc_feresetround_noexf): New.
36553 (libc_feresetround_noexl): New.
36554 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36555 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36556 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36557 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36558 SET_RESTORE_ROUND.
36559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36560 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36561 (__cos): Likewise.
36562 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36563 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36564 SET_RESTORE_ROUND_NOEX.
36565 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36566 SET_RESTORE_ROUND_NOEXF.
36567 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36568 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36569 (libc_feholdsetroundf): New.
36570 (libc_feresetround, libc_feresetroundf): New.
36571
36572 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36573 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36574 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36575
36576 * sysdeps/generic/math_private.h: Include <fenv.h>.
36577 (default_libc_feholdexcept): New.
36578 (default_libc_feholdexcept_setround): New.
36579 (default_libc_fesetenv, default_libc_feupdateenv): New.
36580 (libc_feholdexcept): Only define if undefined.
36581 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36582 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36583 (libc_feholdexcept_setroundl): Likewise.
36584 (libc_feholdexcept_setround_53bit): Likewise.
36585 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36586 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36587 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36588 (libc_feupdateenv_53bit): Likewise.
36589 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36590 (libc_feholdexcept): Convert from macro to inline function.
36591 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36592 (libc_fesetenv, libc_feupdateenv): Likewise.
36593
36594 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36595 not previously defined.
36596 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36597 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36598 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36599 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36600 * sysdeps/ieee754/flt-32/math_private.h: New file.
36601 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36602 math_private.h below SET_FLOAT_WORD.
36603 (__isnan, __isinf_ns, __finite): Remove.
36604 (__isnanf, __isinf_nsf, __finitef): Remove.
36605
36606 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36607
36608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36609
36610 2012-03-17 David S. Miller <davem@davemloft.net>
36611
36612 [BZ #6471]
36613 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36614 for 2.16.
36615
36616 2012-03-16 David S. Miller <davem@davemloft.net>
36617
36618 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36619 warnings.
36620
36621 [BZ #6471]
36622 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36623 properly.
36624 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36625 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36626 sysdep_routines when subdir is sysvipc.
36627 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36628 __getshmlba helper.
36629
36630 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36631
36632 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36633
36634 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36635 [__LP64__].
36636
36637 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36638
36639 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36640 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36641 (__lround): Renamed to ...
36642 (__llround): This. Replace long int with long long int.
36643 Define lround functions as aliases of llround functions.
36644 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36645
36646 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36647
36648 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36649 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36650 adresses to uintptr_t. Replace "long int" and "unsigned long
36651 int" with "greg_t" on va_arg.
36652
36653 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36654
36655 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36656 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36657
36658 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36659 Move e_machine check before EI_CLASS check. Handle x32
36660 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36661 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36662 SKIP_EM_IA_64 and include
36663 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36664
36665 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36666 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36667 (add_system_dir): New macro.
36668
36669 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36670 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36671
36672 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36673
36674 [BZ #2551]
36675 [BZ #2552]
36676 [BZ #2553]
36677 [BZ #2554]
36678 [BZ #2562]
36679 [BZ #2563]
36680 [BZ #2565]
36681 [BZ #2566]
36682 [BZ #2576]
36683 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36684 (y0): Likewise.
36685 * math/w_j0f.c (j0f): Likewise.
36686 (y0f): Likewise.
36687 * math/w_j0l.c (__j0l): Likewise.
36688 (__y0l): Likewise.
36689 * math/w_j1.c (j1): Likewise.
36690 (y1): Likewise.
36691 * math/w_j1f.c (j1f): Likewise.
36692 (y1f): Likewise.
36693 * math/w_j1l.c (__j1l): Likewise.
36694 (__y1l): Likewise.
36695 * math/w_jn.c (jn): Likewise.
36696 (yn): Likewise.
36697 * math/w_jnf.c (jnf): Likewise.
36698 (ynf): Likewise.
36699 * math/w_jnl.c (__jnl): Likewise.
36700 (__ynl): Likewise.
36701 * math/libm-test.inc (j0_test): Add more tests.
36702 (j1_test): Likewise.
36703 (jn_test): Likewise. Add trailing semicolon to existing test.
36704 (y0_test): Likewise.
36705 (y1_test): Likewise.
36706 * sysdeps/i386/fpu/libm-test-ulps: Update.
36707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36708
36709 [BZ #13851]
36710 [BZ #13854]
36711 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36712 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36713 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36714 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36715 (__tanl): Set errno for infinite argument.
36716 * sysdeps/i386/fpu/mptan.c: Remove.
36717 * sysdeps/i386/fpu/s_tan.S: Likewise.
36718 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36719 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36720 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36721 * math/libm-test.inc (tan_test): Add more tests and enable more
36722 tests for double and long double.
36723 * sysdeps/i386/fpu/libm-test-ulps: Update.
36724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36725
36726 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36727
36728 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36729 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36730
36731 2012-03-16 Roland McGrath <roland@hack.frob.com>
36732
36733 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36734 * configure.in: Use it for both main tree and add-ons.
36735 * configure: Regenerated.
36736
36737 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36738
36739 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36740
36741 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36742
36743 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36744 in comment.
36745
36746 [BZ #13851]
36747 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36748 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36749 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36750 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36751 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36752 infinite argument.
36753 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36754 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36755 != 0 for prec == 2.
36756 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36757 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36758 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36759 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36760 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36761 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36762 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36763 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36764 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36765 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36766 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36767 * math/libm-test.inc (cos_test): Add more tests and enable more
36768 tests for long double.
36769 (sin_test): Likewise.
36770 (sincos_test): Likewise.
36771 * sysdeps/i386/fpu/libm-test-ulps: Update.
36772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36773
36774 2012-03-16 David S. Miller <davem@davemloft.net>
36775
36776 * sysdeps/sparc/fpu/math_private.h: New file.
36777
36778 2012-03-15 David S. Miller <davem@davemloft.net>
36779
36780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36781 file.
36782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36784 file.
36785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36791 sysdep routines.
36792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36793
36794 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36795 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36796
36797 * sysdeps/sparc/sparc-ifunc.h: New file.
36798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36799 sparc-ifunc.h
36800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36802 Likewise.
36803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36804 Likewise.
36805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36809 Likewise.
36810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36815 Likewise.
36816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36817 Likewise.
36818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36824 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36825 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36826 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36836 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36837 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36838 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36840 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36841 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36842
36843 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36844
36845 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36846 scaling.
36847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36848
36849 2012-03-15 Andreas Jaeger <aj@suse.de>
36850
36851 [BZ #13852]
36852 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36853 ieee754/flt-32 implementation for sin, cos and sincos.
36854 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36855 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36856 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36857 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36858 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36859 ieee754/flt-32 implementation for tan.
36860
36861 * math/libm-test.inc (cos_test): Enable some large input tests for
36862 float as well
36863 (sin_test): Likewise.
36864 (sincos_test): Likewise.
36865 (tan_test): Add tests for large input.
36866
36867 * sysdeps/i386/fpu/libm-test-ulps: Update.
36868
36869 2012-03-15 Andreas Jaeger <aj@suse.de>
36870
36871 [BZ #13658]
36872 * math/libm-test.inc (cos_test): Add more test cases.
36873 (sin_test): Likewise.
36874 (sincos_test): Likewise.
36875
36876 2012-03-15 Andreas Jaeger <aj@suse.de>
36877
36878 [BZ #13837]
36879 * math/libm-test.inc (cos_test): Add a test case for large input
36880 value.
36881 (sin_test): Likewise.
36882 (sincos_test): Likewise.
36883
36884 2012-03-15 Andreas Jaeger <aj@suse.de>
36885 Joseph Myers <joseph@codesourcery.com>
36886
36887 [BZ #13658]
36888 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36889 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36890 * sysdeps/i386/fpu/branred.c: Likewise.
36891 * sysdeps/i386/fpu/dosincos.c: Likewise.
36892 * sysdeps/i386/fpu/mpa.c: Likewise.
36893 * sysdeps/i386/fpu/s_cos.S: Likewise.
36894 * sysdeps/i386/fpu/s_sin.S: Likewise.
36895 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36896 * sysdeps/i386/fpu/sincos32.c: Likewise.
36897
36898 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36899 Define.
36900 (libc_feupdateenv_53bit): Define.
36901 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36902 Define.
36903 (libc_feupdateenv_53bit): Define.
36904
36905 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36906 53 bit (without extend i386 double precision).
36907
36908 * math/libm-test.inc (sincos_test): Add tests for large input.
36909 (sin): Likewise.
36910 (cos): Likewise.
36911
36912 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36913
36914 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36915
36916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36917
36918 2012-03-15 David S. Miller <davem@davemloft.net>
36919
36920 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36921 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36922 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36923 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36936 file.
36937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36939 file.
36940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36942 file.
36943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36945 file.
36946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36947 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36948 fmin/fmax sysdep routines.
36949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36950
36951 2012-03-14 David S. Miller <davem@davemloft.net>
36952
36953 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36957 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36958 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36973 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36974 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36977 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36978 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36981 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36982 routines.
36983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36984 file.
36985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36987 file.
36988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36990 file.
36991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36993 file.
36994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36996 file.
36997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36999 file.
37000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37001 file.
37002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37003 file.
37004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37005 file.
37006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37007 New file.
37008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37009 file.
37010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37011 file.
37012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37014 file.
37015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37017 file.
37018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37020 file.
37021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37023 VIS3 routines.
37024
37025 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37026 New file.
37027
37028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37029
37030 * sysdeps/sparc/configure.in: New file.
37031 * sysdeps/sparc/configure: Generate.
37032 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37033 * configure: Regenerate.
37034 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37035 * config.make.in (have-as-vis3): New.
37036 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37037 available use -Av9d instead of -Av9a.
37038 * sysdeps/sparc/sparc64/Makefile: Likewise.
37039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37041 New file.
37042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37043 file.
37044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37045 New file.
37046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37047 file.
37048 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37049 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37050 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37053
37054 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37055 fzeros/fnegs to load 0x80000000 into a float register instead of
37056 using the stack.
37057 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37058
37059 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37060
37061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37062 bits/syscall.h.
37063 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37064 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37065 ($(inst_includedir)/bits/syscall.h): Remove rule.
37066 ($(objpfx)bits/syscall.d): Include instead of
37067 $(objpfx)syscall-list.d.
37068 (generated): Change syscall-list.h and syscall-list.d to
37069 bits/syscall.h and bits/syscall.d.
37070
37071 2012-03-14 Roland McGrath <roland@hack.frob.com>
37072
37073 [BZ #13846]
37074 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37075
37076 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37077
37078 [BZ #13841]
37079 * math/s_csqrt.c: Include <float.h>.
37080 (__csqrt): Scale large or subnormal inputs.
37081 * math/s_csqrtf.c: Likewise.
37082 * math/s_csqrtl.c: Likewise.
37083 * math/libm-test.inc (csqrt_test): Add more tests.
37084 * sysdeps/i386/fpu/libm-test-ulps: Update.
37085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37086
37087 [BZ #13840]
37088 * math/libm-test.inc (hypot_test): Add more tests.
37089
37090 2012-03-13 David S. Miller <davem@davemloft.net>
37091
37092 [BZ #13840]
37093 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37094 double-precision for the calculation instead of scaling.
37095
37096 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37097
37098 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37099 manipulate bits before adding and subtracting TWO52[sx].
37100 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37101 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37102 Likewise.
37103 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37104
37105 2012-03-13 David S. Miller <davem@davemloft.net>
37106
37107 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37108 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37110 rtld-global-offsets.h
37111 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37112
37113 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37114 large parameters.
37115
37116 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37117
37118 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37119 'err' in the ifdef scope in which it is actually used.
37120
37121 * nss/nss_db/db-init.c: Include string.h
37122
37123 2012-03-12 David S. Miller <davem@davemloft.net>
37124
37125 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37126 masking out of the most significant byte of random value used.
37127 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37128 Fix coding style in previous change.
37129
37130 * sysdeps/unix/sysv/linux/kernel-features.h
37131 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37132 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37133 expression.
37134 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37135 later.
37136
37137 2012-03-11 David S. Miller <davem@davemloft.net>
37138
37139 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37140 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37142 for 'resultvar' otherwise things get truncated on 64-bit.
37143
37144 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37145 Fix masking out of the most significant byte of random value used.
37146
37147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37148
37149 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37150
37151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37152
37153 2012-03-09 David S. Miller <davem@davemloft.net>
37154
37155 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37156 variables with appropriate CPP guards.
37157 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37158 from the frame pointer, not the stack pointer. Correct layout
37159 comments. Fix test on resulting framesize and the management of
37160 the outregs buffer for pltexit. Preserve floating point return
37161 values across _dl_call_pltexit call.
37162 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37163 framesize and the management of the outregs buffer for pltexit.
37164 Preserve floating point return values across _dl_call_pltexit
37165 call.
37166 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37167 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37168 (la_sparc64_gnu_pltexit): New functions.
37169 (print_exit): Fix format string for return register value.
37170
37171 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37172
37173 * sunrpc/Makefile (others): Add rpcgen.
37174 ($(objpfx)rpcgen): Remove special build rule and dependency on
37175 libc.
37176 * sunrpc/rpcgen.c: New file.
37177
37178 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37179
37180 [BZ #13673]
37181 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37182 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37183 * sysdeps/i386/crti.S: Likewise.
37184 * sysdeps/i386/crtn.S: Likewise.
37185 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37186 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37187 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37188 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37189 * sysdeps/sh/crti.S: Likewise.
37190 * sysdeps/sh/crtn.S: Likewise.
37191 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37192
37193 [BZ #13673]
37194 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37195 with URL.
37196 * locale/programs/locfile-kw.gperf: Likewise.
37197 * locale/programs/charmap-kw.h: Regenerated.
37198 * locale/programs/locfile-kw.h: Likewise.
37199
37200 [BZ #13673]
37201 * intl/plural.y: Replace FSF snail mail address with URL.
37202 * intl/plural.c: Regenerated.
37203
37204 2012-03-09 Richard Henderson <rth@twiddle.net>
37205
37206 * include/math_private.h: Remove file.
37207 * math/math_private.h: Move file ...
37208 * sysdeps/generic/math_private.h: ... here.
37209
37210 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37211 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37212 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37213
37214 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37215 and <math_private.h>.
37216 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37217 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37218 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37219 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37220 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37221 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37222 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37224 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37227 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37228 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37229 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37230 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37231 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37232 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37233 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37234 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37235 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37237 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37238 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37240 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37241 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37242 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37243 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37246 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37247 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37248 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37249 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37250 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37251 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37252 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37253 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37254 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37255 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37256 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37257 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37258 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37259 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37260 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37261 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37262 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37263 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37264 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37265 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37266 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37267 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37268 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37269 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37270 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37271 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37272 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37273 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37274 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37275 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37277 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37278 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37279 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37280 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37281 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37282 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37283 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37284 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37285 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37286 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37287 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37288 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37289 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37290 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37294 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37295 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37296 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37297 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37298 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37299 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37300 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37303 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37304 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37305 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37306 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37307 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37308 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37309 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37310 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37311 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37312 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37313 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37314 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37315 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37316 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37317 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37318 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37319 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37320 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37321 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37322 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37323 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37324 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37325 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37326 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37327 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37328 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37329 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37330 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37331 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37332 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37333 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37334 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37335 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37336 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37337 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37338 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37339 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37340 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37341 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37342 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37343 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37344 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37345 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37346 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37347 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37348 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37349 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37350 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37351 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37352 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37353 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37354 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37355 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37356 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37357 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37358 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37359 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37360 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37361 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37362 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37363 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37364 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37365 * sysdeps/ieee754/k_standard.c: Likewise.
37366 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37367 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37368 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37369 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37370 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37371 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37375 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37376 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37378 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37379 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37380 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37381 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37382 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37383 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37385 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37386 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37387 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37388 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37389 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37390 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37391 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37392 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37393 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37394 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37395 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37396 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37397 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37398 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37399 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37400 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37401 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37402 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37403 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37404 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37405 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37406 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37407 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37408 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37409 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37410 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37411 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37412 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37414 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37415 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37416 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37417 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37418 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37419 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37420 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37421 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37422 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37423 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37424 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37425 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37426 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37427 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37428 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37429 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37430 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37432 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37433 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37435 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37438 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37439 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37440 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37442 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37443 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37444 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37445 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37446 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37447 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37448 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37449 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37450 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37451 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37452 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37453 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37454 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37455 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37456 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37457 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37458 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37459 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37461 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37462 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37463 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37464 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37465 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37467 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37468 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37469 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37470 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37471 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37472 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37473 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37474 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37475 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37476 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37477 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37478 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37480 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37482 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37483 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37484 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37485 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37486 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37487 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37488 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37489 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37490 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37491 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37492 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37493 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37494 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37495 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37496 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37497 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37498 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37499 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37500 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37501 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37502 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37503 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37504 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37505 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37506 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37507 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37508 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37509 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37510 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37511 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37512 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37513 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37514 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37515 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37516 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37517 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37518 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37520 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37521 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37522 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37523 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37524 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37525 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37526 * sysdeps/ieee754/s_lib_version.c: Likewise.
37527 * sysdeps/ieee754/s_matherr.c: Likewise.
37528 * sysdeps/ieee754/s_signgam.c: Likewise.
37529 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37530 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37531 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37532 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37533 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37534 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37535 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37536 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37537 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37538 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37539 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37540 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37541 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37542 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37543 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37544 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37545 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37546 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37547 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37549 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37550
37551 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37552
37553 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37554 * sunrpc/rpc_main.c: Likewise.
37555 * sunrpc/rpc_svcout.c: Likewise.
37556
37557 2012-03-09 David S. Miller <davem@davemloft.net>
37558
37559 * include/math_private.h: New file.
37560
37561 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37562
37563 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37564 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37565 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37566 from <bits/socket_type.h>.
37567 (enum __socket_type): Don't define here.
37568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37570 bits/socket_type.h.
37571
37572 [BZ #13566]
37573 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37574 checking __USE_GNU.
37575
37576 * Makerules ($(inst_includedir)/%.h): New rule.
37577 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37578 (install-others): Remove variable setting.
37579 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37580
37581 2012-03-08 Richard Henderson <rth@twiddle.net>
37582
37583 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37584 from macro to inline function; merge with the
37585 !__LIBC_INTERNAL_MATH_INLINES version.
37586 (__ieee754_sqrtf): Likewise.
37587
37588 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37589 to inline function.
37590 (__rintf, __floor, __floorf): Likewise.
37591
37592 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37593 macro to inline function.
37594 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37595
37596 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37597 not <math/math_private.h>.
37598
37599 2012-03-08 David S. Miller <davem@davemloft.net>
37600
37601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37602 copyright year.
37603 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37604
37605 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37606
37607 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37608 normalization.
37609 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37610 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37611
37612 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37613
37614 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37615 be defined individually, they must be defined as a block. Define
37616 S for printing a string instead of hidint the different by using a
37617 macro for adding the 'l'.
37618 * stdio-common/tst-fphex-wide.c: Adjust.
37619
37620 2012-03-07 Marek Polacek <polacek@redhat.com>
37621
37622 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37623
37624 2012-03-08 Marek Polacek <polacek@redhat.com>
37625
37626 [BZ #13806]
37627 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37628 * stdio-common/tst-fphex.c: Define a few macros to make the
37629 test reusable. Use them.
37630 * stdio-common/tst-fphex-wide.c: New file.
37631
37632 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37633
37634 [BZ #6911]
37635 * manual/macros.texi (gnusystems): New macro.
37636 (nongnusystems): Likewise.
37637 (gnulinuxhurdsystems): Likewise.
37638 (gnuhurdsystems): Likewise..
37639 (gnulinuxsystems): Likewise.
37640 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37641 variants of the GNU system, not "GNU system".
37642 * manual/conf.texi: Likewise.
37643 * manual/errno.texi: Likewise. Update example of errno macro
37644 expansion.
37645 * manual/filesys.texi: Likewise.
37646 (getumask): Document as specific to GNU/Hurd.
37647 * manual/install.texi: Likewise. Reword some references to
37648 GNU/Linux.
37649 * manual/intro.texi: Likewise.
37650 * manual/io.texi: Likewise.
37651 (File Name Portability): Detail which constraints are inapplicable
37652 to all GNU systems and which are only inapplicable to GNU/Hurd.
37653 * manual/job.texi: Likewise.
37654 * manual/llio.texi: Likewise.
37655 (O_NOCTTY): Document as present on GNU/Linux.
37656 * manual/maint.texi: Likewise.
37657 * manual/memory.texi: Likewise.
37658 * manual/pattern.texi: Likewise.
37659 * manual/pipe.texi: Likewise.
37660 * manual/process.texi: Likewise.
37661 * manual/resource.texi: Likewise.
37662 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37663 child on GNU/Hurd.
37664 * manual/setjmp.texi: Likewise.
37665 * manual/signal.texi: Likewise.
37666 * manual/startup.texi: Likewise.
37667 * manual/stdio.texi: Likewise.
37668 * manual/terminal.texi: Likewise.
37669 (ONLCR): Document as POSIX.
37670 (OXTABS): Document availability on GNU/Linux as XTABS.
37671 (ONOEOT): Document availability separately from other bits.
37672 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37673 * manual/time.texi: Likewise.
37674 * manual/users.texi: Likewise.
37675 * INSTALL: Regenerated.
37676 * sysdeps/gnu/errlist.c: Regenerated.
37677
37678 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37679 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37680 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37681 puts.
37682 * configure: Regenerated.
37683
37684 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37685
37686 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37687 default includes instead of AC_HEADER_CHECK.
37688 * sysdeps/i386/configure: Regenerated.
37689
37690 [BZ #10716]
37691 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37692 * math/s_cacoshf.c (__cacoshf): Likewise.
37693 * math/s_cacoshl.c (__cacoshl): Likewise.
37694 * math/s_casinh.c (__casinh): Set signs of result from argument.
37695 * math/s_casinhf.c (__casinhf): Likewise.
37696 * math/s_casinhl.c (__casinhl): Likewise.
37697 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37698 (casinh_test): Add more tests.
37699 * sysdeps/i386/fpu/libm-test-ulps: Update.
37700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37701
37702 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37703
37704 * po/zh_TW.po: Update from translation team.
37705
37706 * login/Makefile (distribute): Remove variable.
37707 * catgets/Makefile: Likewise.
37708 * mach/Makefile: Likewise.
37709 * malloc/Makefile: Likewise.
37710 * misc/Makefile: Likewise.
37711 * iconv/Makefile: Likewise.
37712 * nscd/Makefile: Likewise.
37713 * hurd/Makefile: Likewise.
37714 * manual/Makefile: Likewise.
37715 * locale/Makefile: Likewise.
37716 * intl/Makefile: Likewise.
37717 * conform/Makefile: Likewise.
37718 * nss/Makefile: Likewise.
37719 * time/Makefile: Likewise.
37720 * soft-fp/Makefile: Likewise.
37721 * dirent/Makefile: Likewise.
37722 * gmon/Makefile: Likewise.
37723 * po/Makefile: Likewise.
37724 * rt/Makefile: Likewise.
37725 * socket/Makefile: Likewise.
37726 * math/Makefile: Likewise.
37727 * signal/Makefile: Likewise.
37728 * debug/Makefile: Likewise.
37729 * elf/Makefile: Likewise.
37730 * timezone/Makefile: Likewise.
37731 * stdlib/Makefile: Likewise.
37732 * iconvdata/Makefile: Likewise.
37733 * sunrpc/Makefile: Likewise.
37734 * io/Makefile: Likewise.
37735 * argp/Makefile: Likewise.
37736 * inet/Makefile: Likewise.
37737 * hesiod/Makefile: Likewise.
37738 * grp/Makefile: Likewise.
37739 * csu/Makefile: Likewise.
37740 * wctype/Makefile: Likewise.
37741 * crypt/Makefile: Likewise.
37742 * libio/Makefile: Likewise.
37743 * string/Makefile: Likewise.
37744 * nis/Makefile: Likewise.
37745 * resolv/Makefile: Likewise.
37746 * stdio-common/Makefile: Likewise.
37747 * wcsmbs/Makefile: Likewise.
37748 * dlfcn/Makefile: Likewise.
37749 * posix/Makefile: Likewise.
37750
37751 [BZ #6959]
37752 * timezone/Makefile: Don't install timezone files, just the programs
37753 and scripts.
37754
37755 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37756
37757 * nss/databases.def: Add missing gshadow entry.
37758
37759 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37760
37761 2012-03-06 Marek Polacek <polacek@redhat.com>
37762
37763 [BZ #13726]
37764 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37765 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37766 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37767 * stdio-common/tst-long-dbl-fphex.c: New file.
37768
37769 2012-03-06 David S. Miller <davem@davemloft.net>
37770
37771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37772 (set_obp_int): New function.
37773 (get_obp_int): New function.
37774 (__get_clockfreq_via_dev_openprom): Likewise.
37775 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37776 Avoid unused variable warnings on 'val' and use builtin_expect.
37777 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37778 __builtin_expect.
37779 (INLINE_CLONE_SYSCALL): Likewise.
37780
37781 2012-03-05 David S. Miller <davem@davemloft.net>
37782
37783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37784
37785 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37786
37787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37788
37789 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37790 only for |x| >= 40.
37791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37792
37793 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37794
37795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37796 Replace gettimeofday with __vdso_gettimeofday.
37797
37798 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37799 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37800 __vdso_clock_gettime and __vdso_getcpu.
37801
37802 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37803 time with __vdso_time.
37804
37805 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37806
37807 * manual/lang.texi (size_t): Note types to which size_t may be
37808 equivalent with the GNU C Library, but do not describe when
37809 differences between them are significant.
37810
37811 2012-03-05 Andreas Jaeger <aj@suse.de>
37812
37813 * sysdeps/i386/fpu/libm-test-ulps: Update.
37814
37815 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37816
37817 [BZ #3976]
37818 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37819 (__ieee754_pow): Save and restore rounding mode and use
37820 round-to-nearest for main computations.
37821 * math/libm-test.inc (pow_test_tonearest): New function.
37822 (pow_test_towardzero): Likewise.
37823 (pow_test_downward): Likewise.
37824 (pow_test_upward): Likewise.
37825 (main): Call the new functions.
37826 * sysdeps/i386/fpu/libm-test-ulps: Update.
37827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37828
37829 [BZ #3976]
37830 * math/libm-test.inc (cosh_test_tonearest): New function.
37831 (cosh_test_towardzero): Likewise.
37832 (cosh_test_downward): Likewise.
37833 (cosh_test_upward): Likewise.
37834 (sinh_test_tonearest): Likewise.
37835 (sinh_test_towardzero): Likewise.
37836 (sinh_test_downward): Likewise.
37837 (sinh_test_upward): Likewise.
37838 (main): Call the new functions.
37839 * sysdeps/i386/fpu/libm-test-ulps: Update.
37840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37841
37842 2012-03-05 Tom de Vries <tom@codesourcery.com>
37843
37844 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37845 default stack guard is set in last bytes.
37846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37847
37848 2012-03-05 Kees Cook <keescook@chromium.org>
37849
37850 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37851
37852 [BZ #13656]
37853 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37854 possibly allocate from heap instead of stack.
37855 * stdio-common/bug-vfprintf-nargs.c: New file.
37856 * stdio-common/Makefile (tests): Add nargs overflow test.
37857
37858 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37859
37860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37861
37862 2012-03-03 Marek Polacek <polacek@redhat.com>
37863
37864 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37865 * math/math_private.h: Likewise.
37866 * stdlib/tst-strtod.c: Likewise.
37867 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37868 * sysdeps/x86_64/bits/atomic.h: Likewise.
37869
37870 2012-03-02 David S. Miller <davem@davemloft.net>
37871
37872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37876 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37877 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37878 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37879 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37880
37881 2012-03-02 Roland McGrath <roland@hack.frob.com>
37882
37883 [BZ #13792]
37884 * manual/examples/README: New file, says the example source files
37885 can be used under GPL>=2.
37886 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37887 line containing just "*/".
37888 * manual/examples/add.c: Add copyright header (GPL>=2).
37889 * manual/examples/argp-ex1.c: Likewise.
37890 * manual/examples/argp-ex2.c: Likewise.
37891 * manual/examples/argp-ex3.c: Likewise.
37892 * manual/examples/argp-ex4.c: Likewise.
37893 * manual/examples/atexit.c: Likewise.
37894 * manual/examples/db.c: Likewise.
37895 * manual/examples/dir.c: Likewise.
37896 * manual/examples/dir2.c: Likewise.
37897 * manual/examples/execinfo.c: Likewise.
37898 * manual/examples/filecli.c: Likewise.
37899 * manual/examples/filesrv.c: Likewise.
37900 * manual/examples/fmtmsgexpl.c: Likewise.
37901 * manual/examples/genpass.c: Likewise.
37902 * manual/examples/inetcli.c: Likewise.
37903 * manual/examples/inetsrv.c: Likewise.
37904 * manual/examples/isockad.c: Likewise.
37905 * manual/examples/longopt.c: Likewise.
37906 * manual/examples/memopen.c: Likewise.
37907 * manual/examples/memstrm.c: Likewise.
37908 * manual/examples/mkfsock.c: Likewise.
37909 * manual/examples/mkisock.c: Likewise.
37910 * manual/examples/mygetpass.c: Likewise.
37911 * manual/examples/pipe.c: Likewise.
37912 * manual/examples/popen.c: Likewise.
37913 * manual/examples/rprintf.c: Likewise.
37914 * manual/examples/search.c: Likewise.
37915 * manual/examples/select.c: Likewise.
37916 * manual/examples/setjmp.c: Likewise.
37917 * manual/examples/sigh1.c: Likewise.
37918 * manual/examples/sigusr.c: Likewise.
37919 * manual/examples/stpcpy.c: Likewise.
37920 * manual/examples/strdupa.c: Likewise.
37921 * manual/examples/strftim.c: Likewise.
37922 * manual/examples/strncat.c: Likewise.
37923 * manual/examples/subopt.c: Likewise.
37924 * manual/examples/swapcontext.c: Likewise.
37925 * manual/examples/termios.c: Likewise.
37926 * manual/examples/testopt.c: Likewise.
37927 * manual/examples/testpass.c: Likewise.
37928 * manual/examples/timeval_subtract.c: Likewise.
37929
37930 [BZ #13792]
37931 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37932 function to ...
37933 * manual/timeval_subtract.c.texi: ... here, new file.
37934
37935 2012-03-02 David S. Miller <davem@davemloft.net>
37936
37937 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37938
37939 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37940
37941 [BZ #3976]
37942 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37943 (__sin): Save and restore rounding mode and use round-to-nearest
37944 for all computations.
37945 (__cos): Save and restore rounding mode and use round-to-nearest
37946 for all computations.
37947 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37948 <fenv.h>.
37949 (tan): Save and restore rounding mode and use round-to-nearest for
37950 all computations.
37951 * math/libm-test.inc (cos_test_tonearest): New function.
37952 (cos_test_towardzero): Likewise.
37953 (cos_test_downward): Likewise.
37954 (cos_test_upward): Likewise.
37955 (sin_test_tonearest): Likewise.
37956 (sin_test_towardzero): Likewise.
37957 (sin_test_downward): Likewise.
37958 (sin_test_upward): Likewise.
37959 (tan_test_tonearest): Likewise.
37960 (tan_test_towardzero): Likewise.
37961 (tan_test_downward): Likewise.
37962 (tan_test_upward): Likewise.
37963 (main): Call the new functions.
37964 * sysdeps/i386/fpu/libm-test-ulps: Update.
37965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37966
37967 [BZ #10135]
37968 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37969 small n, then large n, before computing and testing k+n.
37970 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37971 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37972 Likewise.
37973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37974 Likewise.
37975 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37976 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37977 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37978 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37979 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37980 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37981 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37982 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37983 * math/libm-test.inc (scalbn_test): Add more tests.
37984 (scalbln_test): Likewise.
37985
37986 * manual/filesys.texi (mode_t): Describe constraints on size and
37987 signedness, not exact equivalence to a particular type.
37988 (ino_t): Likewise.
37989 (ino64_t): Likewise.
37990 (dev_t): Likewise.
37991 (nlink_t): Likewise.
37992 (blkcnt_t): Likewise.
37993 (blkcnt64_t): Likewise.
37994 * manual/llio.texi (off_t): Likewise.
37995
37996 [BZ #3976]
37997 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37998 (__ieee754_exp): Save and restore rounding mode and use
37999 round-to-nearest for all computations.
38000 * math/libm-test.inc (exp_test_tonearest): New function.
38001 (exp_test_towardzero): Likewise.
38002 (exp_test_downward): Likewise.
38003 (exp_test_upward): Likewise.
38004 (main): Call the new functions.
38005 * sysdeps/i386/fpu/libm-test-ulps: Update.
38006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38007
38008 2012-03-01 Chris Demetriou <cgd@google.com>
38009
38010 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38011 have predictable order.
38012
38013 2012-03-01 David S. Miller <davem@davemloft.net>
38014
38015 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38016
38017 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38018 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38019 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38020 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38021
38022 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38023 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38024 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38026 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38027 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38028 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38029 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38030 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38031
38032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38033
38034 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38035 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38036 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38037
38038 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38039 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38040 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38041 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38042 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38043 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38044 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38045 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38046 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38047 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38048 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38049 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38051 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38052 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38054 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38055 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38056 * sysdeps/sparc/elf/configure: Regenerated.
38057
38058 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38059
38060 * configure.in (AS, LD): Require binutils 2.20 or later.
38061 * configure: Regenerated.
38062 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38063 as required minimum version.
38064 * INSTALL: Regenerated.
38065
38066 [BZ #2541]
38067 [BZ #4108]
38068 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38069 before squaring exponent.
38070 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38071 bottom long double and 27 bits of top long double before squaring
38072 exponent.
38073 * math/libm-test.inc (erfc_test): Add more tests.
38074 * sysdeps/i386/fpu/libm-test-ulps: Update.
38075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38077
38078 2012-03-01 Kai Tietz <ktietz@redhat.com>
38079
38080 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38081 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38082 containing bit-fields.
38083 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38084 * soft-fp/single.h (_FP_UNION_S): Likewise.
38085 * soft-fp/double.h (_FP_UNION_D): Likewise.
38086
38087 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38088
38089 [BZ #13786]
38090 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38091 not include ../strcmp.S.
38092 [USE_AS_STRNCASECMP_L]: Likewise.
38093 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38094 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38095 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38096 (__strncasecmp_l_ia32): Define as alias to
38097 __strncasecmp_l_nonascii.
38098
38099 [BZ #5794]
38100 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38101 * sysdeps/i386/fpu/libm-test-ulps: Update.
38102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38103
38104 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38106
38107 2012-02-29 Jeff Law <law@redhat.com>
38108
38109 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38110 out of bounds read.
38111
38112 2012-02-29 Marek Polacek <polacek@redhat.com>
38113
38114 [BZ #13706]
38115 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38116 * elf/Makefile: Add rules to run tst-unused-dep.out.
38117
38118 2012-02-28 David S. Miller <davem@davemloft.net>
38119
38120 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38121 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38122 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38123 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38124 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38125 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38126
38127 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38128
38129 * math/libm-test.inc (llround_test): Move one test from
38130 lround_test. Use TEST_f_L in moved test.
38131 (lround_test): Move misplaced test to llround_test. Add testcase
38132 from bug 2561.
38133
38134 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38135
38136 * sysdeps/x86_64/fpu/e_expf.S: New file.
38137 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38138
38139 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38140
38141 [BZ #13637]
38142 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38143 of remain_len that may cause incomplete multi-byte character and
38144 false match.
38145 * posix/bug-regex33.c: New file.
38146 * posix/Makefile (tests): Add bug-regex33.
38147
38148 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38149
38150 * manual/macros.texi: New file.
38151 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38152 * manual/libc.texinfo: Include macros.texi.
38153 * manual/creatute.texi: Likewise.
38154 * manual/install.texi: Likewise.
38155 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38156 @glibcadj{} in references to the GNU C Library.
38157 * manual/charset.texi: Likewise.
38158 * manual/conf.texi: Likewise.
38159 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38160 when not using those macros.
38161 * manual/creature.texi: Likewise.
38162 * manual/crypt.texi: Likewise.
38163 * manual/errno.texi: Likewise.
38164 * manual/filesys.texi: Likewise.
38165 * manual/header.texi: Likewise.
38166 * manual/install.texi: Likewise.
38167 * manual/intro.texi: Likewise.
38168 * manual/io.texi: Likewise.
38169 * manual/job.texi: Likewise.
38170 * manual/lang.texi: Likewise.
38171 * manual/libc.texiinfo: Likewise.
38172 * manual/llio.texi: Likewise.
38173 * manual/locale.texi: Likewise.
38174 * manual/maint.texi: Likewise.
38175 * manual/math.texi: Likewise.
38176 * manual/memory.texi: Likewise.
38177 * manual/message.texi: Likewise.
38178 * manual/nss.texi: Likewise.
38179 * manual/pattern.texi: Likewise.
38180 * manual/process.texi: Likewise.
38181 * manual/resource.texi: Likewise.
38182 * manual/search.texi: Likewise.
38183 * manual/setjmp.texi: Likewise.
38184 * manual/signal.texi: Likewise.
38185 * manual/socket.texi: Likewise.
38186 * manual/startup.texi: Likewise.
38187 * manual/stdio.texi: Likewise.
38188 * manual/string.texi: Likewise.
38189 * manual/sysinfo.texi: Likewise.
38190 * manual/syslog.texi: Likewise.
38191 * manual/terminal.texi: Likewise.
38192 * manual/time.texi: Likewise.
38193 * manual/users.texi: Likewise.
38194 * INSTALL: Regenerated.
38195 * NOTES: Regenerated.
38196 * sysdeps/gnu/errlist.c: Regenerated.
38197
38198 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38199
38200 * include/dirent.h: Include <dirstream.h> before
38201 <dirent/dirent.h>.
38202
38203 2012-02-28 David S. Miller <davem@davemloft.net>
38204
38205 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38206 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38207 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38208 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38209
38210 2012-02-27 David S. Miller <davem@davemloft.net>
38211
38212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38214 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38215 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38216
38217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38218 frame pointer instead of stack pointer relative arg slot.
38219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38220 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38221 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38222
38223 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38224
38225 [BZ #3992]
38226 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38227
38228 2012-02-27 David S. Miller <davem@davemloft.net>
38229
38230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38234 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38235 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38236 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38237 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38238
38239 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38240
38241 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38242 later. Allow versions 5-9.
38243 * configure: Regenerated.
38244 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38245 required minimum version and 4.6 as recommended version. Do not
38246 mention bugs in GCC 2.7 and 2.8.
38247 * INSTALL: Regenerated.
38248
38249 2012-02-27 David S. Miller <davem@davemloft.net>
38250
38251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38255 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38256 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38257 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38258 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38259
38260 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38261 manipulate bits before adding and subtracting TWO112[sx].
38262 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38263
38264 2012-02-27 Roland McGrath <roland@hack.frob.com>
38265
38266 [BZ #13775]
38267 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38268 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38269 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38270 being in POSIX, because they are in 1003.1-2008.
38271
38272 * rt/tst-aio.c: Include <fcntl.h>.
38273 * rt/tst-aio7.c: Likewise.
38274 * rt/tst-aio64.c: Likewise.
38275
38276 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38277
38278 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38279
38280 * manual/install.texi (--with-headers): Describe headers as
38281 interface headers, not private headers.
38282 (Specific advice for GNU/Linux systems): Describe use of headers
38283 from "make headers_install", not private headers from older
38284 kernels.
38285 * INSTALL: Regenerated.
38286 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38287 Change to 2.6.19.
38288 * sysdeps/unix/sysv/linux/configure: Regenerated.
38289
38290 * manual/llio.texi (fclean): Remove documentation.
38291
38292 * manual/Makefile (libc-texi-generated): New variable. Include
38293 version.texi.
38294 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38295 $(libc-texi-generated), not duplicated list of files.
38296 (version.texi, stamp-version): New rules.
38297 (realclean): Remove $(libc-texi-generated), not individual files
38298 from that list. Do not remove dir-add.texinfo.
38299 * manual/libc.texinfo: Comment out uses of edition numbers and
38300 references to printed manual. Remove last-updated dates.
38301 (EDITION): Comment out.
38302 (ISBN): Likewise.
38303 (VERSION, UPDATED): Remove.
38304 (version.texi): Include.
38305
38306 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38307
38308 * sysdeps/posix/spawni.c: Include <signal.h>.
38309 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38310 * sysdeps/pthread/aio_fsync.c: Likewise.
38311
38312 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38313
38314 * conform/Makefile (tests): Run only when not cross-compiling and
38315 when fast-check is not defined.
38316
38317 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38318 * conform/data/limits.h-data: Fixes for POSIX2008.
38319 * conform/run-conformtest.sh: Run all tests.
38320 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38321 headers.
38322 * include/bits/dlfcn.h: Likewise.
38323 * include/langinfo.h: Likewise.
38324 * include/monetary.h: Likewise.
38325 * include/sys/poll.h: Likewise.
38326
38327 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38328 for __USE_GNU.
38329 * posix/spawn.h: Define __need_sigset_t.
38330 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38331 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38332 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38333 to get sigevent_t only.
38334 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38335 only for __USE_GNU.
38336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38337 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38338 process_vm_writev only for __USE_GNU.
38339 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38340
38341 * conform/Makefile: For now ignore errors from run-conformtest.
38342 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38343 POSIX to avoid namespace pollution. Don't prepend headers.
38344 * conform/data/aio.h-data: Fixes for POSIX testing.
38345 * conform/data/fcntl.h-data: Likewise.
38346 * conform/data/glob.h-data: Likewise.
38347 * conform/data/grp.h-data: Likewise.
38348 * conform/data/pthread.h-data: Likewise.
38349 * conform/data/pwd.h-data: Likewise.
38350 * conform/data/signal.h-data: Likewise.
38351 * conform/data/spawn.h-data: Likewise.
38352 * conform/data/stdio.h-data: Likewise.
38353 * conform/data/stdlib.h-data: Likewise.
38354 * conform/data/stropts.h-data: Likewise.
38355 * conform/data/sys/mman.h-data: Likewise.
38356 * conform/data/sys/stat.h-data: Likewise.
38357 * conform/data/sys/types.h-data: Likewise.
38358 * conform/data/sys/wait.h-data: Likewise.
38359 * conform/data/time.h-data: Likewise.
38360 * conform/data/unistd.h-data: Likewise.
38361 * conform/data/utime.h-data: Likewise.
38362
38363 * io/sys/stat.h: fchmod was always in POSIX.
38364 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38365 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38366 * rt/aio.h: Define __need_timespec before including <time.h>.
38367 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38368 struct. Add forward declaration of pthread_attr_t and use it in
38369 sigevent.
38370 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38371 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38372 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38373 always remove CLK_TCK definition.
38374
38375 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38376
38377 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38378
38379 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38380
38381 * conform/run-conformtest.sh: New file.
38382 * conform/Makefile: Run run-conformtest for tests.
38383 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38384 support.
38385
38386 * conform/data/uchar.h-data: New file.
38387 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38388 * conform/data/arpa/inet.h-data: Likewise.
38389 * conform/data/assert.h-data: Likewise.
38390 * conform/data/complex.h-data: Likewise.
38391 * conform/data/cpio.h-data: Likewise.
38392 * conform/data/ctype.h-data: Likewise.
38393 * conform/data/dirent.h-data: Likewise.
38394 * conform/data/dlfcn.h-data: Likewise.
38395 * conform/data/errno.h-data: Likewise.
38396 * conform/data/fcntl.h-data: Likewise.
38397 * conform/data/float.h-data: Likewise.
38398 * conform/data/fmtmsg.h-data: Likewise.
38399 * conform/data/fnmatch.h-data: Likewise.
38400 * conform/data/ftw.h-data: Likewise.
38401 * conform/data/glob.h-data: Likewise.
38402 * conform/data/grp.h-data: Likewise.
38403 * conform/data/iconv.h-data: Likewise.
38404 * conform/data/inttypes.h-data: Likewise.
38405 * conform/data/langinfo.h-data: Likewise.
38406 * conform/data/libgen.h-data: Likewise.
38407 * conform/data/limits.h-data: Likewise.
38408 * conform/data/locale.h-data: Likewise.
38409 * conform/data/math.h-data: Likewise.
38410 * conform/data/monetary.h-data: Likewise.
38411 * conform/data/mqueue.h-data: Likewise.
38412 * conform/data/ndbm.h-data: Likewise.
38413 * conform/data/net/if.h-data: Likewise.
38414 * conform/data/netdb.h-data: Likewise.
38415 * conform/data/netinet/in.h-data: Likewise.
38416 * conform/data/nl_types.h-data: Likewise.
38417 * conform/data/poll.h-data: Likewise.
38418 * conform/data/pthread.h-data: Likewise.
38419 * conform/data/pwd.h-data: Likewise.
38420 * conform/data/regex.h-data: Likewise.
38421 * conform/data/sched.h-data: Likewise.
38422 * conform/data/search.h-data: Likewise.
38423 * conform/data/semaphore.h-data: Likewise.
38424 * conform/data/setjmp.h-data: Likewise.
38425 * conform/data/signal.h-data: Likewise.
38426 * conform/data/spawn.h-data: Likewise.
38427 * conform/data/stdarg.h-data: Likewise.
38428 * conform/data/stdio.h-data: Likewise.
38429 * conform/data/stdlib.h-data: Likewise.
38430 * conform/data/string.h-data: Likewise.
38431 * conform/data/strings.h-data: Likewise.
38432 * conform/data/stropts.h-data: Likewise.
38433 * conform/data/sys/ipc.h-data: Likewise.
38434 * conform/data/sys/mman.h-data: Likewise.
38435 * conform/data/sys/msg.h-data: Likewise.
38436 * conform/data/sys/resource.h-data: Likewise.
38437 * conform/data/sys/select.h-data: Likewise.
38438 * conform/data/sys/sem.h-data: Likewise.
38439 * conform/data/sys/shm.h-data: Likewise.
38440 * conform/data/sys/socket.h-data: Likewise.
38441 * conform/data/sys/stat.h-data: Likewise.
38442 * conform/data/sys/statvfs.h-data: Likewise.
38443 * conform/data/sys/time.h-data: Likewise.
38444 * conform/data/sys/timeb.h-data: Likewise.
38445 * conform/data/sys/times.h-data: Likewise.
38446 * conform/data/sys/types.h-data: Likewise.
38447 * conform/data/sys/uio.h-data: Likewise.
38448 * conform/data/sys/un.h-data: Likewise.
38449 * conform/data/sys/utsname.h-data: Likewise.
38450 * conform/data/sys/wait.h-data: Likewise.
38451 * conform/data/syslog.h-data: Likewise.
38452 * conform/data/tar.h-data: Likewise.
38453 * conform/data/termios.h-data: Likewise.
38454 * conform/data/utime.h-data: Likewise.
38455 * conform/data/utmpx.h-data: Likewise.
38456 * conform/data/varargs.h-data: Likewise.
38457 * conform/data/wchar.h-data: Likewise.
38458 * conform/data/wctype.h-data: Likewise.
38459 * conform/data/wordexp.h-data: Likewise.
38460
38461 * include/stropts.h: New file.
38462 * include/uchar.h: New file.
38463 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38464 * include/assert.h: Likewise.
38465 * include/ctype.h: Likewise.
38466 * include/dirent.h: Likewise.
38467 * include/dlfcn.h: Likewise.
38468 * include/fcntl.h: Likewise.
38469 * include/fnmatch.h: Likewise.
38470 * include/glob.h: Likewise.
38471 * include/grp.h: Likewise.
38472 * include/libio.h: Likewise.
38473 * include/locale.h: Likewise.
38474 * include/math.h: Likewise.
38475 * include/net/if.h: Likewise.
38476 * include/netdb.h: Likewise.
38477 * include/netinet/in.h: Likewise.
38478 * include/pthread.h: Likewise.
38479 * include/pwd.h: Likewise.
38480 * include/regex.h: Likewise.
38481 * include/sched.h: Likewise.
38482 * include/search.h: Likewise.
38483 * include/setjmp.h: Likewise.
38484 * include/signal.h: Likewise.
38485 * include/stdio.h: Likewise.
38486 * include/stdlib.h: Likewise.
38487 * include/string.h: Likewise.
38488 * include/sys/cdefs.h: Likewise.
38489 * include/sys/mman.h: Likewise.
38490 * include/sys/msg.h: Likewise.
38491 * include/sys/resource.h: Likewise.
38492 * include/sys/select.h: Likewise.
38493 * include/sys/socket.h: Likewise.
38494 * include/sys/stat.h: Likewise.
38495 * include/sys/statvfs.h: Likewise.
38496 * include/sys/time.h: Likewise.
38497 * include/sys/times.h: Likewise.
38498 * include/sys/uio.h: Likewise.
38499 * include/sys/utsname.h: Likewise.
38500 * include/sys/wait.h: Likewise.
38501 * include/termios.h: Likewise.
38502 * include/time.h: Likewise.
38503 * include/ulimit.h: Likewise.
38504 * include/unistd.h: Likewise.
38505 * include/utime.h: Likewise.
38506 * include/wchar.h: Likewise.
38507 * include/wctype.h: Likewise.
38508 * include/wordexp.h: Likewise.
38509
38510 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38511
38512 * time/time.h: TIME_UTC must be a macro.
38513 Make timespec_get available for ISO C11 only as well.
38514
38515 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38516
38517 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38518 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38519
38520 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38521
38522 * configure.in: Use -o not -a in test for unsupported multi-arch.
38523
38524 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38525
38526 * manual/texinfo.tex: Update to version 2012-01-19.16.
38527
38528 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38529
38530 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38531
38532 2012-02-24 Roland McGrath <roland@hack.frob.com>
38533
38534 [BZ #13738]
38535 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38536 * manual/fdl-1.3.texi: New file.
38537 * manual/fdl-1.1.texi: File removed.
38538
38539 [BZ #13738]
38540 * manual/libc.texinfo (FDL_VERSION): New @set.
38541 Use it for mention of FDL in cover text.
38542 (Documentation License): Use it in @include file name.
38543
38544 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38545 Roland McGrath <roland@hack.frob.com>
38546
38547 [BZ #5461]
38548 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38549 (not LONG_LONG_MAX and LONG_LONG_MIN.
38550 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38551 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38552 name.
38553 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38554
38555 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38556
38557 [BZ #2547]
38558 [BZ #11365]
38559 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38560 manipulate bits before adding and subtracting TWO23[sx].
38561 * math/libm-test.inc (nearbyint_test): Add more tests.
38562
38563 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38564
38565 [BZ #2548]
38566 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38567 bits before adding and subtracting TWO23[sx].
38568 * math/libm-test.inc (rint_test): Add more tests.
38569 (rint_test_tonearest): Likewise.
38570 (rint_test_towardzero): Likewise.
38571 (rint_test_downward): Likewise.
38572 (rint_test_upward: Likewise.
38573
38574 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38575
38576 [BZ #10110]
38577 * include/stdc-predef.h: New file. Extracted from features.h.
38578 * include/features.h: Include stdc-predef.h.
38579 * Makefile (headers): Add stdc-predef.h.
38580 * CONFORMANCE (Compiler limitations): Update.
38581
38582 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38583
38584 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38585
38586 2012-02-21 David S. Miller <davem@davemloft.net>
38587
38588 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38589 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38590
38591 2012-02-20 David S. Miller <davem@davemloft.net>
38592
38593 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38594 using a normal save/restore sequence, rather than allocating a
38595 dummy stack frame just to store a frame pointer and restore.
38596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38597
38598 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38599
38600 * manual/install.texi: Fix stray word in line-wrapped comment.
38601
38602 2012-02-20 David S. Miller <davem@davemloft.net>
38603
38604 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38605 both binutils and gcc support GOTDATA.
38606
38607 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38608 "rd %pc" in the PIC register setup sequences.
38609
38610 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38611 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38612 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38613 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38616 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38619 (SYSCALL_ERROR_HANDLER): Likewise.
38620 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38621 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38623 (SYSCALL_ERROR_HANDLER): Likewise.
38624
38625 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38626 (HAVE_GCC_GOTDATA): New.
38627 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38628 relocation support in both binutils and gcc.
38629 * sysdeps/sparc/elf/configure: Regenerate.
38630
38631 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38632 * sysdeps/sparc/sparc32/elf/configure: Delete.
38633 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38634 * sysdeps/sparc/sparc64/elf/configure: Delete.
38635 * sysdeps/sparc/elf/configure.in: New file.
38636 * sysdeps/sparc/elf/configure: Generate.
38637
38638 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38639 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38640 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38641 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38642 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38643
38644 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38645
38646 * manual/install.texi: Do not mention specific glibc version
38647 numbers.
38648 * manual/libc.texinfo (VERSION, UPDATED): Update.
38649 (@copying): Use @copyright{} and range of years.
38650
38651 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38652
38653 [BZ #13695]
38654 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38655 [crti.S not in sysdirs] (generated): Do not append.
38656 [crti.S not in sysdirs] (omit-deps): Likewise.
38657 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38658 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38659 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38660 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38661 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38662 Likewise.
38663 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38664 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38665 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38666 * csu/defs.awk: Remove file.
38667 * sysdeps/generic/initfini.c: Likewise.
38668 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38669 variable.
38670 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38671 Likewise.
38672
38673 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38674
38675 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38676 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38677 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38678 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38679 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38680 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38681 <bits/epoll.h>.
38682 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38683 (__EPOLL_PACKED): Define to empty if not defined by
38684 <bits/epoll.h>.
38685 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38687 bits/epoll.h.
38688
38689 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38690
38691 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38692 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38693 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38694 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38695 <bits/timerfd.h>.
38696 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38698 bits/timerfd.h.
38699
38700 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38701
38702 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38703 in C locale.
38704 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38705 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38706 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38708
38709 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38710
38711 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38712 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38713
38714 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38715
38716 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38717 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38718 defined.
38719 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38720 Likewise.
38721 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38722 entry for 2.16.
38723
38724 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38725
38726 * math/w_acos.c: Use non-signaling floating-point comparisons.
38727 * math/w_acosf.c: Likewise.
38728 * math/w_acosh.c: Likewise.
38729 * math/w_acoshf.c: Likewise.
38730 * math/w_acoshl.c: Likewise.
38731 * math/w_acosl.c: Likewise.
38732 * math/w_asin.c: Likewise.
38733 * math/w_asinf.c: Likewise.
38734 * math/w_asinl.c: Likewise.
38735 * math/w_atanh.c: Likewise.
38736 * math/w_atanhf.c: Likewise.
38737 * math/w_atanhl.c: Likewise.
38738 * math/w_exp2.c: Likewise.
38739 * math/w_exp2f.c: Likewise.
38740 * math/w_exp2l.c: Likewise.
38741 * math/w_j0.c: Likewise.
38742 * math/w_j0f.c: Likewise.
38743 * math/w_j0l.c: Likewise.
38744 * math/w_j1.c: Likewise.
38745 * math/w_j1f.c: Likewise.
38746 * math/w_j1l.c: Likewise.
38747 * math/w_jn.c: Likewise.
38748 * math/w_jnf.c: Likewise.
38749 * math/w_log.c: Likewise.
38750 * math/w_log10.c: Likewise.
38751 * math/w_log10f.c: Likewise.
38752 * math/w_log10l.c: Likewise.
38753 * math/w_log2.c: Likewise.
38754 * math/w_log2f.c: Likewise.
38755 * math/w_log2l.c: Likewise.
38756 * math/w_logf.c: Likewise.
38757 * math/w_logl.c: Likewise.
38758 * math/w_sqrt.c: Likewise.
38759 * math/w_sqrtf.c: Likewise.
38760 * math/w_sqrtl.c: Likewise.
38761 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38762 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38764 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38765 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38766
38767 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38768
38769 [BZ #9739]
38770 * manual/string.texi (strnlen): Use correct parameter name in
38771 equivalent expression.
38772
38773 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38774
38775 [BZ #11174]
38776 * manual/users.texi (seteuid): Consistently use neweuid for
38777 argument name.
38778
38779 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38780
38781 [BZ #13704]
38782 * manual/nss.texi (Services in the NSS configuration): Correct
38783 list of services in example configuration file.
38784
38785 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38786
38787 [BZ #11322]
38788 * manual/arith.texi: Remove statements about negative zero
38789 behaving identically to zero.
38790
38791 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38792
38793 [BZ #5993]
38794 * manual/install.texi: Do not document upgrading from libc5.
38795
38796 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38797
38798 [BZ #4596]
38799 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38800
38801 2012-02-18 David S. Miller <davem@davemloft.net>
38802
38803 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38804 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38805 %o7 across the call.
38806 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38807 instead.
38808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38809 SETUP_PIC_REG_LEAF.
38810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38811 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38812 * sysdeps/sparc/crtn.S: Likewise.
38813
38814 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38815
38816 * aout/Makefile: Remove.
38817
38818 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38819
38820 [BZ #13058]
38821 * manual/examples/argp-ex1.c (main): Format definition in GNU
38822 style.
38823 * manual/examples/argp-ex2.c (main): Likewise.
38824 * manual/examples/argp-ex3.c (main): Likewise.
38825 * manual/examples/argp-ex4.c (main): Likewise.
38826 * manual/examples/longopt.c (main): Use new-style prototype
38827 definition.
38828 * manual/examples/strncat.c (main): Specify return type and use
38829 (void) for arguments.
38830 * manual/examples/subopt.c (main): Use char **argv argument.
38831
38832 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38833
38834 [BZ #5077]
38835 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38836 rounding modes.
38837
38838 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38839
38840 [BZ #6907]
38841 * manual/string.texi (strchr): Change when strchrnul is
38842 recommended.
38843
38844 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38845
38846 [BZ #174]
38847 * manual/locale.texi (setlocale): Document LOCPATH.
38848
38849 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38850
38851 [BZ #10210]
38852 * manual/process.texi (execle): Move @dots{} before last argument.
38853
38854 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38855
38856 [BZ #12047]
38857 * manual/charset.texi (Generic Charset Conversion): Fix typo
38858 (LC_TYPE -> LC_CTYPE).
38859
38860 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38861
38862 [BZ #5805]
38863 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38864 (scalbnf): Likewise.
38865 (scalbnl): Likewise.
38866 (scalbln): Likewise.
38867 (scalblnf): Likewise.
38868 (scalblnl): Likewise.
38869 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38870 (vwarnx): Likewise.
38871 (verr): Likewise.
38872 (verrx): Likewise.
38873 * manual/filesys.texi (telldir): Use braces around return type.
38874 * manual/llio.texi (mmap): Add space after comma.
38875 (mmap64): Likewise.
38876 * manual/math.texi (jn): Use @var{} on parameter names.
38877 (jnf): Likewise.
38878 (jnl): Likewise.
38879 (yn): Likewise.
38880 (ynf): Likewise.
38881 (ynl): Likewise.
38882 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38883 line.
38884 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38885 "...".
38886 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38887 (sched_get_priority_max): Likewise.
38888 * manual/signal.texi (sigvec): Add space after comma.
38889 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38890 names.
38891 (if_indextoname): Likewise.
38892 (if_freenameindex): Likewise.
38893 (sendto): Use ',' instead of '.' in prototype.
38894 * manual/startup.texi (syscall): Use @dots{} instead of literal
38895 "...".
38896 * manual/stdio.texi (__fpending): Separate initial words of
38897 paragraph from @deftypefun line.
38898 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38899 "...".
38900 (vsyslog): Use @var{} on parameter names.
38901 * manual/terminal.texi (stty): Use @var{} on parameter names.
38902 * manual/users.texi (getutmp): Use @var{} on parameter names.
38903 (getutmpx): Likewise.
38904
38905 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38906
38907 [BZ #6884]
38908 * manual/stdio.texi (fopen): Fix typos in description of
38909 ",ccs=STRING".
38910
38911 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38912
38913 [BZ #4026]
38914 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38915 get clock_id definition.
38916
38917 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38918
38919 [BZ #4822]
38920 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38921 (madvise): Cast every argument to void on its own.
38922
38923 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38924
38925 [BZ #9902]
38926 * manual/startup.texi (Exit Status): Fix typo.
38927
38928 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38929
38930 [BZ #10140]
38931 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38932 * manual/examples/argp-ex2.c: Likewise.
38933 * manual/examples/argp-ex3.c: Likewise.
38934
38935 2012-02-16 Richard Henderson <rth@redhat.com>
38936
38937 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38938 * sysdeps/s390/s390-32/initfini.c: Remove.
38939 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38940 * sysdeps/s390/s390-64/initfini.c: Remove.
38941
38942 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38943
38944 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38945 compiler output for sysdeps/generic/initfini.c.
38946 * sysdeps/sh/elf/initfini.c: Remove file.
38947
38948 2012-02-16 David S. Miller <davem@davemloft.net>
38949
38950 [BZ #11494]
38951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38952
38953 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38954 * sysdeps/sparc/crti.S: New file.
38955 * sysdeps/sparc/crtn.S: New file.
38956 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38957 * sysdeps/sparc/sparc64/Makefile: Likewise.
38958
38959 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38960
38961 [BZ #3335]
38962 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38963
38964 2012-02-15 Roland McGrath <roland@hack.frob.com>
38965
38966 [BZ #4822]
38967 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38968
38969 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38970 (write, read, close): Likewise.
38971 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38972
38973 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38974
38975 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38976 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38977 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38978 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38979 <bits/signalfd.h>.
38980 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38982 bits/signalfd.h.
38983
38984 2012-02-14 Marek Polacek <polacek@redhat.com>
38985
38986 * sysdeps/x86_64/crti.S: New file.
38987 * sysdeps/x86_64/crtn.S: New file.
38988 * sysdeps/x86_64/elf/initfini.c: Remove file.
38989
38990 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38991
38992 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38993 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38994 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38995 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38996 <bits/inotify.h>.
38997 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38999 bits/inotify.h.
39000
39001 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39002
39003 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39004 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39005 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39006 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39007 <bits/eventfd.h>.
39008 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39010 bits/eventfd.h.
39011
39012 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39013
39014 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39015 __feraiseexcept instead of feraiseexcept.
39016
39017 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39018 nanosleep invocations.
39019 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39020 strings, and add error checking for a nanosleep invocations.
39021
39022 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39023
39024 Replace FSF snail mail address with URLs, as per GNU coding standards.
39025 Most of the snail mail addresses were wrong anyway, and omitting
39026 them makes the source code easier to maintain. Almost all of the
39027 changes are to license notices and to locale LC_IDENTIFICATION
39028 addresses, except for this one:
39029 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39030 not its snail mail address.
39031
39032 2012-02-09 Richard Henderson <rth@twiddle.net>
39033
39034 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39035 of kernel-features.h.
39036
39037 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39038
39039 2012-02-08 Marek Polacek <polacek@redhat.com>
39040
39041 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39042 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39043 * sysdeps/gnu/_G_config.h: Likewise.
39044 * sysdeps/generic/_G_config.h: Likewise.
39045
39046 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39047
39048 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39049 tests.
39050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39051
39052 * sysdeps/powerpc/powerpc32/crti.S: New file.
39053 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39054 * sysdeps/powerpc/powerpc64/crti.S: New file.
39055 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39056
39057 * Makeconfig (have-initfini): Don't set.
39058 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39059 * configure.in (nopic_initfini): Don't substitute.
39060 * config.h.in (HAVE_INITFINI): Don't #undef.
39061 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39062 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39063
39064 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39065
39066 Support crti.S and crtn.S provided directly by architectures.
39067 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39068 [crti.S in sysdirs] (omit-deps): Likewise.
39069 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39070 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39071 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39072 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39073 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39074 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39075 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39076 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39077 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39078 compiler output for sysdeps/generic/initfini.c.
39079 * sysdeps/i386/elf/Makefile: Remove file.
39080 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39081
39082 2012-02-07 Marek Polacek <polacek@redhat.com>
39083
39084 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39085 * sysdeps/gnu/_G_config.h: Likewise.
39086 * sysdeps/mach/hurd/_G_config.h: Likewise.
39087
39088 2012-02-07 Marek Polacek <polacek@redhat.com>
39089
39090 * math/Makefile (tests): Add tst-CMPLX2.
39091 * math/tst-CMPLX2.c: New file.
39092
39093 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39094
39095 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39096
39097 * math/libm-test.inc (jn_test): Add missing L suffix.
39098
39099 2012-02-06 Marek Polacek <polacek@redhat.com>
39100
39101 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39102 * sysdeps/i386/fpu/e_powf.S: Likewise.
39103 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39104 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39105 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39106 * sysdeps/i386/fpu/e_pow.S: Likewise.
39107 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39108 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39109 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39110 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39111 * sysdeps/i386/fpu/e_log2.S: Likewise.
39112 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39113 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39114 * sysdeps/i386/fpu/e_powl.S: Likewise.
39115 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39116 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39117 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39118 * sysdeps/i386/fpu/e_logl.S: Likewise.
39119 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39120 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39121 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39122 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39123 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39124 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39125 * sysdeps/i386/fpu/e_log.S: Likewise.
39126 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39127 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39128 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39129 * sysdeps/i386/fpu/e_logf.S: Likewise.
39130 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39131 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39132 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39133 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39134 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39135 * sysdeps/i386/fpu/e_log10.S: Likewise.
39136 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39137 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39138 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39139 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39140 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39141 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39142 * sysdeps/i386/asm-syntax.h: Likewise.
39143 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39144 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39145 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39146 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39147 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39148 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39149 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39150 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39151 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39152 * sysdeps/powerpc/sysdep.h: Likewise.
39153 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39154 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39155
39156 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39157
39158 [BZ #411]
39159 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39160
39161 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39162
39163 * sysdeps/i386/sysdep.h: Include <features.h>.
39164 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39165 version.
39166
39167 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39168
39169 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39170 Define.
39171 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39172 LOAD_PIC_REG_STR.
39173
39174 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39175
39176 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39177 (SETUP_PIC_REG): Use GET_PC_THUNK.
39178 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39179 macro.
39180
39181 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39182
39183 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39184 for non-PIC compilation.
39185 (SETUP_PIC_REG): Add .p2align directive.
39186 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39187 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39188 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39189 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39190 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39191 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39192 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39193 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39194 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39195 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39196 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39197 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39198 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39199 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39200 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39201 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39202 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39203 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39204 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39205 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39206 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39207 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39208 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39209 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39210 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39212 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39213 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39214 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39215 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39216 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39217 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39218 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39219 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39220 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39221 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39222 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39223 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39224 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39225 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39226 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39227
39228 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39229
39230 * math/tst-CMPLX.c: Include <stdio.h>.
39231
39232 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39233
39234 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39235 float.
39236 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39237 * sysdeps/sparc/bits/mathdef.h: Likewise.
39238
39239 2012-01-31 Marek Polacek <polacek@redhat.com>
39240
39241 * libio/libio.h: Don't define _PARAMS.
39242 * locale/programs/config.h: Don't define PARAMS.
39243 * stdlib/strtol_l.c: Likewise.
39244 (__strtol_l): Remove PARAMS from the prototype.
39245
39246 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39247
39248 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39249 names. Just use the correct names. Remove unnecessary wrapper
39250 functions.
39251 * malloc/arena.c: Likewise.
39252 * malloc/hooks.c: Likewise.
39253
39254 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39255 ARENA_TEST says not to. Simplify test for creation of a new arena.
39256 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39257
39258 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39259
39260 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39261 into tail calls.
39262 (update_get_addr): New function.
39263 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39264 GET_ADDR_MODULE parameter.
39265
39266 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39267
39268 * crypt/cert.c: Remove __STDC__ conditionals.
39269 * crypt/crypt-entry.c: Likewise.
39270 * crypt/crypt_util.c: Likewise.
39271 * libio/filedoalloc.c: Likewise.
39272 * libio/fileops.c: Likewise.
39273 * libio/genops.c: Likewise.
39274 * libio/iofclose.c: Likewise.
39275 * libio/iofdopen.c: Likewise.
39276 * libio/iofopen.c: Likewise.
39277 * libio/iofopen64.c: Likewise.
39278 * libio/iogetdelim.c: Likewise.
39279 * libio/iopopen.c: Likewise.
39280 * libio/obprintf.c: Likewise.
39281 * libio/oldfileops.c: Likewise.
39282 * libio/oldiofclose.c: Likewise.
39283 * libio/oldiofdopen.c: Likewise.
39284 * libio/oldiofopen.c: Likewise.
39285 * libio/oldiopopen.c: Likewise.
39286 * libio/wfiledoalloc.c: Likewise.
39287 * libio/wgenops.c: Likewise.
39288 * locale/programs/xmalloc.c: Likewise.
39289 * misc/syslog.c: Likewise.
39290 * stdio-common/xbug.c: Likewise.
39291 * string/memchr.c: Likewise.
39292 * string/memcmp.c: Likewise.
39293 * string/memrchr.c: Likewise.
39294 * string/rawmemchr.c: Likewise.
39295 * sysdeps/posix/getcwd.c: Likewise.
39296 * time/strftime_l.c: Likewise.
39297
39298 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39299
39300 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39301 * config.make.in (config-cflags-sse2avx): Define.
39302 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39303 Fix typo.
39304
39305 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39306
39307 * scripts/config.guess: Update from upstream config git repository.
39308 * scripts/config.sub: Likewise.
39309
39310 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39311
39312 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39313 (EM_NUM): Update.
39314 (R_TILEPRO_*, R_TILEGX_*): New macros.
39315
39316 * scripts/firstversions.awk: Fix bug in version range handling.
39317
39318 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39319
39320 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39321
39322 * include/sys/epoll.h: New file.
39323 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39324 libc_hidden_def.
39325
39326 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39327
39328 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39329 Avoid unnecessary __WORDSIZE == 64 test.
39330 (fmaxf): Use VEX format if possible.
39331 (fmax): Likewise.
39332 (fminf): Likewise.
39333 (fmin): Likewise.
39334
39335 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39336 * math/math_private.h: Remove libc_fegetround* and
39337 libc_fesetround*.
39338 * sysdeps/i386/configure.in: Check for -msse2avx.
39339 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39340 also if SSE2AVX is defined.
39341 Remove libc_fegetround* and libc_fesetround*.
39342 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39343 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39344 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39345 of HAS_YMM_USABLE.
39346 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39347 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39348 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39349 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39350 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39351
39352 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39353
39354 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39355
39356 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39357 size is not set.
39358 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39359
39360 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39361
39362 [BZ #13618]
39363 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39364 relocation.
39365 * Makeconfig (libm): Define.
39366 * elf/Makefile: Add rules to build and run tst-relsort1.
39367 * elf/tst-relsort1.c: New file.
39368 * elf/tst-relsort1mod1.c: New file.
39369 * elf/tst-relsort1mod2.c: New file.
39370
39371 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39372
39373 * math/s_ldexp.c: Remove __STDC__ conditionals.
39374 * math/s_ldexpf.c: Likewise.
39375 * math/s_ldexpl.c: Likewise.
39376 * math/s_nextafter.c: Likewise.
39377 * math/s_nexttowardf.c: Likewise.
39378 * math/s_significand.c: Likewise.
39379 * math/s_significandf.c: Likewise.
39380 * math/s_significandl.c: Likewise.
39381 * math/w_jnl.c: Likewise.
39382 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39383 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39384 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39385 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39386 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39387 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39388 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39389 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39390 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39391 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39392 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39393 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39394 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39395 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39396 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39397 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39398 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39399 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39401 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39402 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39403 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39404 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39406 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39407 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39408 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39409 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39410 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39411 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39412 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39413 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39414 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39415 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39416 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39417 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39418 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39419 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39420 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39421 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39422 * sysdeps/ieee754/k_standard.c: Likewise.
39423 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39424 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39425 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39426 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39427 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39428 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39429 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39430 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39431 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39432 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39433 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39434 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39435 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39436 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39437 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39439 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39440 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39441 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39442 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39443 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39444 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39445 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39446 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39447 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39448 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39449 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39450 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39452 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39453 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39454 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39455 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39456 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39458 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39459 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39461 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39462 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39463 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39464 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39465 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39466 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39467 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39468 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39469 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39470 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39471 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39472 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39473 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39474 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39475 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39476 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39477 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39478 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39479 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39480 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39481 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39482 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39483 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39484 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39485 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39486 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39487 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39488 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39489 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39490 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39491 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39492 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39493 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39494 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39495 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39496 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39497 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39498 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39499 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39500 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39501 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39502 * sysdeps/ieee754/s_matherr.c: Likewise.
39503 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39504 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39507
39508 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39509
39510 * crypt/md5.h: Remove __STDC__ conditionals.
39511 * libio/libioP.h: Likewise.
39512 * locale/programs/config.h: Likewise.
39513 * sysdeps/generic/sysdep.h: Likewise.
39514 * sysdeps/i386/asm-syntax.h: Likewise.
39515 * sysdeps/s390/asm-syntax.h: Likewise.
39516 * sysdeps/unix/sysdep.h: Likewise.
39517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39519
39520 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39521
39522 * libio/libio.h: Remove __STDC__ conditionals.
39523 * malloc/obstack.h: Likewise.
39524 * math/complex.h: Likewise.
39525 * math/math.h: Likewise.
39526 * sysdeps/generic/_G_config.h: Likewise.
39527 * sysdeps/gnu/_G_config.h: Likewise.
39528 * sysdeps/mach/hurd/_G_config.h: Likewise.
39529 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39530 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39531 * sysdeps/sparc/bits/mathdef.h: Likewise.
39532
39533 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39534
39535 [BZ #13583]
39536 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39537 Clean up HAS_* macros.
39538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39539 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39540 possible.
39541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39542 HAS_AVX.
39543 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39544 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39545 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39546 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39547 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39548
39549 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39550
39551 * elf/tst-unique3.cc (gets): Remove declaration.
39552 * elf/tst-unique3lib.cc (gets): Likewise.
39553 * elf/tst-unique3lib2.cc (gets): Likewise.
39554 * elf/tst-unique4.cc (gets): Likewise.
39555
39556 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39557
39558 * include/stdio.h: Add C++ protection. Add gets declarations and
39559 definitions.
39560 * debug/tst-chk1.c: Don't declare gets here.
39561 * stdio-common/tst-gets.c: Likewise.
39562
39563 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39564
39565 * posix/glob: Remove directory.
39566
39567 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39568
39569 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39570
39571 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39572
39573 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39574 of the non-standard EPFNOSUPPORT.
39575
39576 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39577
39578 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39579 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39580 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39581
39582 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39583
39584 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39585
39586 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39587
39588 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39589 transient errors.
39590 * nscd/grpcache.c (cache_addgr): Likewise.
39591 * nscd/hstcache.c (cache_addhst): Likewise.
39592 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39593 * nscd/pwdcache.c (cache_addpw): Likewise.
39594 * nscd/servicescache.c (cache_addserv): Likewise.
39595
39596 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39597
39598 * malloc/malloc.c: Various cleanups.
39599 * malloc/hooks.c: Likewise.
39600
39601 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39602 * stdlib/bug-fmtmsg1.c: New file.
39603
39604 * stdlib/fmtmsg.c (init): Add missing unlock.
39605 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39606
39607 2012-01-12 Marek Polacek <polacek@redhat.com>
39608
39609 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39610 and _GNU_SOURCE.
39611
39612 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39613
39614 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39615 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39616 macro to ensure uniqueness of label name.
39617 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39618 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39619
39620 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39621
39622 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39623
39624 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39625 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39626 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39628
39629 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39630
39631 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39632
39633 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39634 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39635 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39636
39637 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39638
39639 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39640 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39641 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39643
39644 * math/bits/math-finite.h: Add ldexp support.
39645
39646 2012-01-10 Marek Polacek <polacek@redhat.com>
39647
39648 * locale/programs/localedef.h (show_archive_content): Add noreturn
39649 attribute.
39650
39651 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39652
39653 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39654
39655 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39656
39657 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39658
39659 * io/Makefile (headers): Add bits/poll2.h.
39660
39661 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39662
39663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39664 typo #include statement.
39665
39666 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39667
39668 * include/sys/cdefs.h: Define __attribute_alloc_size.
39669 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39670 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39671 * elf/pldd.c: Likewise.
39672 * iconv/iconv_charmap.c: Likewise.
39673 * iconv/iconvconfig.c: Likewise.
39674 * iconv/strtab.c: Likewise.
39675 * locale/programs/locale.c: Likewise.
39676 * locale/programs/localedef.h: Likewise.
39677 * locale/programs/simple-hash.c: Likewise.
39678 * nscd/nscd.h: Likewise.
39679 * nss/makedb.c: Likewise.
39680 * sysdeps/generic/ldconfig.h: Likewise.
39681 * locale/programs/localedef.c: Remove xmalloc prototype.
39682 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39683
39684 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39685
39686 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39687 appropriate.
39688
39689 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39690
39691 * math/Makefile (tests): Add tst-CMPLX.
39692 * math/tst-CMPLX.c: New file.
39693
39694 * math/complex.h (CMPLXL): Fix typo.
39695
39696 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39697 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39698 GLIBC_2.16.
39699 * debug/tst-chk1.c: Add poll and ppoll tests.
39700 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39701 * include/sys/poll.h: Add hidden proto for ppoll.
39702 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39703 * sysdeps/mach/hurd/ppoll.c: Likewise.
39704 * io/ppoll.c: Likewise.
39705 * debug/poll_chk.c: New file.
39706 * debug/ppoll_chk.c: New file.
39707 * include/bits/poll2.h: New file.
39708 * io/bits/poll2.h: New file.
39709
39710 [BZ #1350]
39711 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39712
39713 * configure.in: static is always set to yes. Remove.
39714 * config.make.in: Don't set build-static.
39715 * Makeconfig: Remove use of build-static.
39716 * dlfcn/Makefile: Likewise.
39717 * elf/Makefile: Likewise.
39718 * math/Makefile: Likewise.
39719 * misc/Makefile: Likewise.
39720 * nptl/Makefile: Likewise.
39721 * sysdeps/mach/hurd/Makefile: Likewise.
39722
39723 * configure.in: PWD_P is not used anymore.
39724 * config.make.in: Remove PWD_P entry.
39725
39726 * configure.in: Remove last remnants of RANLIB.
39727 No need to check for signed size_t anymore.
39728 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39729 and IA-64.
39730 Remove __builtin_expect test because we require at least gcc 3.4.
39731 * aclocal.m4: Likewise.
39732
39733 * wcsmbs/mbrtoc16.c: Implement using towc function.
39734 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39735 * wcsmbs/wcsmbsload.c: Likewise.
39736 * iconv/gconv_simple.c: Likewise.
39737 * iconv/gconv_int.h: Likewise.
39738 * iconv/gconv_builtin.h: Likewise.
39739 * iconv/iconv_prog.c: Remove CHAR16 handling.
39740
39741 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39742
39743 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39744
39745 * configure.in: Remove --with-elf and --enable-bounded options.
39746 Dont set base_machine for ia64. More non-ELF conditions removed.
39747 Remove testing and setting of leading underscore information.
39748 * config.make.in (build-bounded): Set to no.
39749 * config.h.in: Remove NO_UNDERSCORES entry.
39750 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39751 them.
39752 * csu/start.c: Remove !NO_UNDERSCORE code.
39753 * locale/localeinfo.h: Likewise.
39754 * sysdeps/generic/machine-gmon.h: Likewise.
39755 * sysdeps/generic/sysdep.h: Likewise.
39756 * sysdeps/i386/sysdep.h: Likewise.
39757 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39758 * sysdeps/mach/sysdep.h: Likewise.
39759 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39761 * sysdeps/sh/sysdep.h: Likewise.
39762 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39763 * sysdeps/unix/i386/sysdep.S: Likewise.
39764 * sysdeps/unix/sparc/start.c: Likewise.
39765 * sysdeps/unix/sparc/sysdep.S: Likewise.
39766 * sysdeps/unix/sparc/sysdep.h: Likewise.
39767 * sysdeps/unix/start.c: Likewise.
39768 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39769 * sysdeps/x86_64/sysdep.h: Likewise.
39770
39771 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39772
39773 [BZ #13553]
39774 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39775 for non-gcc.
39776 * argp/argp-fmtstream.h: Use const instead __const.
39777 * argp/argp.h: Likewise.
39778 * assert/assert.h: Likewise.
39779 * bits/fenv.h: Likewise.
39780 * bits/sched.h: Likewise.
39781 * bits/sigset.h: Likewise.
39782 * bits/sigthread.h: Likewise.
39783 * catgets/nl_types.h: Likewise.
39784 * conform/data/pthread.h-data: Likewise.
39785 * crypt/crypt-private.h: Likewise.
39786 * crypt/crypt.h: Likewise.
39787 * crypt/crypt_util.c: Likewise.
39788 * ctype/ctype.h: Likewise.
39789 * debug/execinfo.h: Likewise.
39790 * debug/mbsnrtowcs_chk.c: Likewise.
39791 * debug/mbsrtowcs_chk.c: Likewise.
39792 * debug/wcsnrtombs_chk.c: Likewise.
39793 * debug/wcsrtombs_chk.c: Likewise.
39794 * debug/wcstombs_chk.c: Likewise.
39795 * dirent/dirent.h: Likewise.
39796 * dlfcn/dlfcn.h: Likewise.
39797 * elf/neededtest4.c: Likewise.
39798 * grp/grp.h: Likewise.
39799 * gshadow/gshadow.h: Likewise.
39800 * iconv/gconv.h: Likewise.
39801 * iconv/gconv_int.h: Likewise.
39802 * iconv/gconv_simple.c: Likewise.
39803 * iconv/iconv.h: Likewise.
39804 * iconv/loop.c: Likewise.
39805 * iconv/skeleton.c: Likewise.
39806 * include/aio.h: Likewise.
39807 * include/aliases.h: Likewise.
39808 * include/argz.h: Likewise.
39809 * include/arpa/inet.h: Likewise.
39810 * include/assert.h: Likewise.
39811 * include/dirent.h: Likewise.
39812 * include/dlfcn.h: Likewise.
39813 * include/execinfo.h: Likewise.
39814 * include/fcntl.h: Likewise.
39815 * include/fenv.h: Likewise.
39816 * include/glob.h: Likewise.
39817 * include/grp.h: Likewise.
39818 * include/libintl.h: Likewise.
39819 * include/mntent.h: Likewise.
39820 * include/netdb.h: Likewise.
39821 * include/pwd.h: Likewise.
39822 * include/rpc/netdb.h: Likewise.
39823 * include/sched.h: Likewise.
39824 * include/search.h: Likewise.
39825 * include/shadow.h: Likewise.
39826 * include/signal.h: Likewise.
39827 * include/stdio.h: Likewise.
39828 * include/stdlib.h: Likewise.
39829 * include/string.h: Likewise.
39830 * include/sys/socket.h: Likewise.
39831 * include/sys/stat.h: Likewise.
39832 * include/sys/statfs.h: Likewise.
39833 * include/sys/statvfs.h: Likewise.
39834 * include/sys/syslog.h: Likewise.
39835 * include/sys/time.h: Likewise.
39836 * include/sys/uio.h: Likewise.
39837 * include/time.h: Likewise.
39838 * include/unistd.h: Likewise.
39839 * include/utmp.h: Likewise.
39840 * include/wchar.h: Likewise.
39841 * include/wctype.h: Likewise.
39842 * inet/aliases.h: Likewise.
39843 * inet/arpa/inet.h: Likewise.
39844 * inet/netinet/ether.h: Likewise.
39845 * inet/netinet/in.h: Likewise.
39846 * intl/libintl.h: Likewise.
39847 * io/bits/fcntl2.h: Likewise.
39848 * io/fcntl.h: Likewise.
39849 * io/ftw.h: Likewise.
39850 * io/sys/poll.h: Likewise.
39851 * io/sys/stat.h: Likewise.
39852 * io/sys/statfs.h: Likewise.
39853 * io/sys/statvfs.h: Likewise.
39854 * io/utime.h: Likewise.
39855 * libio/bits/stdio.h: Likewise.
39856 * libio/bits/stdio2.h: Likewise.
39857 * libio/libio.h: Likewise.
39858 * libio/libioP.h: Likewise.
39859 * libio/stdio.h: Likewise.
39860 * locale/lc-ctype.c: Likewise.
39861 * locale/locale.h: Likewise.
39862 * login/utmp.h: Likewise.
39863 * malloc/arena.c: Likewise.
39864 * malloc/malloc.c: Likewise.
39865 * malloc/malloc.h: Likewise.
39866 * malloc/mcheck.c: Likewise.
39867 * malloc/mtrace.c: Likewise.
39868 * math/bits/mathcalls.h: Likewise.
39869 * math/fenv.h: Likewise.
39870 * math/math_private.h: Likewise.
39871 * misc/bits/error.h: Likewise.
39872 * misc/bits/syslog.h: Likewise.
39873 * misc/err.h: Likewise.
39874 * misc/error.h: Likewise.
39875 * misc/fstab.h: Likewise.
39876 * misc/mntent.h: Likewise.
39877 * misc/regexp.h: Likewise.
39878 * misc/search.h: Likewise.
39879 * misc/sgtty.h: Likewise.
39880 * misc/sys/mman.h: Likewise.
39881 * misc/sys/syslog.h: Likewise.
39882 * misc/sys/uio.h: Likewise.
39883 * misc/sys/xattr.h: Likewise.
39884 * misc/ttyent.h: Likewise.
39885 * nis/rpcsvc/ypclnt.h: Likewise.
39886 * nss/nss.h: Likewise.
39887 * posix/bits/unistd.h: Likewise.
39888 * posix/fnmatch.h: Likewise.
39889 * posix/glob.h: Likewise.
39890 * posix/sched.h: Likewise.
39891 * posix/spawn.h: Likewise.
39892 * posix/sys/wait.h: Likewise.
39893 * posix/unistd.h: Likewise.
39894 * posix/wordexp.h: Likewise.
39895 * pwd/pwd.h: Likewise.
39896 * resolv/netdb.h: Likewise.
39897 * resource/sys/resource.h: Likewise.
39898 * rt/aio.h: Likewise.
39899 * rt/bits/mqueue2.h: Likewise.
39900 * rt/mqueue.h: Likewise.
39901 * shadow/shadow.h: Likewise.
39902 * signal/signal.h: Likewise.
39903 * socket/send.c: Likewise.
39904 * socket/sendto.c: Likewise.
39905 * socket/sys/socket.h: Likewise.
39906 * stdio-common/printf.h: Likewise.
39907 * stdlib/bits/stdlib.h: Likewise.
39908 * stdlib/fmtmsg.h: Likewise.
39909 * stdlib/monetary.h: Likewise.
39910 * stdlib/stdlib.h: Likewise.
39911 * stdlib/ucontext.h: Likewise.
39912 * streams/stropts.h: Likewise.
39913 * string/argz.h: Likewise.
39914 * string/bits/string2.h: Likewise.
39915 * string/string.h: Likewise.
39916 * string/strings.h: Likewise.
39917 * sunrpc/rpc/auth.h: Likewise.
39918 * sunrpc/rpc/auth_des.h: Likewise.
39919 * sunrpc/rpc/clnt.h: Likewise.
39920 * sunrpc/rpc/netdb.h: Likewise.
39921 * sunrpc/rpc/pmap_clnt.h: Likewise.
39922 * sunrpc/rpc/xdr.h: Likewise.
39923 * sysdeps/generic/inttypes.h: Likewise.
39924 * sysdeps/generic/net/if.h: Likewise.
39925 * sysdeps/generic/sys/swap.h: Likewise.
39926 * sysdeps/gnu/net/if.h: Likewise.
39927 * sysdeps/gnu/utmpx.h: Likewise.
39928 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39929 * sysdeps/i386/i486/bits/string.h: Likewise.
39930 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39931 * sysdeps/s390/bits/string.h: Likewise.
39932 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39933 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39934 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39935 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39936 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39937 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39938 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39939 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39940 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39941 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39942 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39943 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39944 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39945 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39946 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39947 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39948 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39949 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39950 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39951 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39952 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39953 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39954 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39955 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39956 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39957 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39958 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39959 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39960 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39961 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39962 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39963 * sysvipc/sys/ipc.h: Likewise.
39964 * sysvipc/sys/msg.h: Likewise.
39965 * sysvipc/sys/sem.h: Likewise.
39966 * sysvipc/sys/shm.h: Likewise.
39967 * termios/termios.h: Likewise.
39968 * time/sys/time.h: Likewise.
39969 * time/time.h: Likewise.
39970 * wcsmbs/bits/wchar2.h: Likewise.
39971 * wcsmbs/uchar.h: Likewise.
39972 * wcsmbs/wchar.h: Likewise.
39973 * wctype/wctype.h: Likewise.
39974
39975 [BZ #13551]
39976 * Makeconfig: Remove all but ELF support including AIX support.
39977 * Makerules: Likewise.
39978 * config.h.in: Likewise.
39979 * config.make.in: Likewise.
39980 * configure: Likewise.
39981 * configure.in: Likewise.
39982 * csu/Makefile: Likewise.
39983 * csu/version.c: Likewise.
39984 * debug/Makefile: Likewise.
39985 * dlfcn/Makefile: Likewise.
39986 * elf/Makefile: Likewise.
39987 * extra-lib.mk: Likewise.
39988 * iconv/Makefile: Likewise.
39989 * include/libc-symbols.h: Likewise.
39990 * include/shlib-compat.h: Likewise.
39991 * resolv/Makefile: Likewise.
39992 * resolv/res_libc.c: Likewise.
39993 * rt/Makefile: Likewise.
39994 * sysdeps/i386/asm-syntax.h: Likewise.
39995 * sysdeps/i386/sysdep.h: Likewise.
39996 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39997 * sysdeps/mach/sysdep.h: Likewise.
39998 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39999 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40000 * sysdeps/s390/asm-syntax.h: Likewise.
40001 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40002 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40003 * sysdeps/sh/sysdep.h: Likewise.
40004 * sysdeps/unix/sparc/sysdep.h: Likewise.
40005 * sysdeps/wordsize-32/divdi3.c: Likewise.
40006 * sysdeps/x86_64/sysdep.h: Likewise.
40007
40008 * argp/Versions: Remove _argp_unlock_xxx.
40009
40010 [BZ #13559]
40011 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40012 * abilist/libBrokenLocale.abilist: Likewise.
40013 * abilist/libanl.abilist: Likewise.
40014 * abilist/libc.abilist: Likewise.
40015 * abilist/libcrypt.abilist: Likewise.
40016 * abilist/libdl.abilist: Likewise.
40017 * abilist/libm.abilist: Likewise.
40018 * abilist/libnsl.abilist: Likewise.
40019 * abilist/libpthread.abilist: Likewise.
40020 * abilist/libresolv.abilist: Likewise.
40021 * abilist/librt.abilist: Likewise.
40022 * abilist/libthread_db.abilist: Likewise.
40023 * abilist/libutil.abilist: Likewise.
40024 * abilist/libnss_db.abilist: New file.
40025
40026 * scripts/abilist.awk: Add support for indirect functions.
40027
40028 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40029
40030 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40031
40032 * shlib-versions: Remove entries for ports architectures.
40033
40034 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40035 files in ports.
40036 * elf/stackguard-macros.h: Remove support for IA-64.
40037 * elf/tst-auditmod1.c: Likewise.
40038 * sysdeps/generic/ldsodefs.h: Likewise.
40039
40040 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40041 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40042 configure files.
40043
40044 [BZ #13552]
40045 * configure.in: Remove --enable-omitfp support.
40046 * FAQ.in: Adjust.
40047 * config.make.in: Likewise.
40048 * Makeconfig: Likewise.
40049 * manual/install.texi: Likewise.
40050
40051 In case anyone cares, the IA-64 architecture could move to ports.
40052 * sysdeps/ia64/*: Removed.
40053 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40054 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40055
40056 [BZ #13555]
40057 * configure.in: Remove entries for unsupported architectures.
40058
40059 [BZ #13533]
40060 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40061 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40062 routines.
40063 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40064 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40065 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40066 fall back to using wcrtomb.
40067 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40068 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40069 renaming.
40070 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40071 * wcsmbs/tst-c16c32-1.c: New file.
40072
40073 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40074 local variable.
40075
40076 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40077
40078 * elf/tst-unique3.cc: Add explicit declaration of gets.
40079 * elf/tst-unique3lib.cc: Likewise.
40080 * elf/tst-unique3lib2.cc: Likewise.
40081 * elf/tst-unique4.cc: Likewise.
40082
40083 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40084
40085 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40086
40087 [BZ #13566]
40088 * assert/assert.h (static_assert): Don't define for C++.
40089 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40090 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40091
40092 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40093
40094 * iconv/loop.c (single loop): Fix assertion in storing of
40095 remaining bytes.
40096
40097 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40098
40099 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40100
40101 * posix/getconf.c: Update copyright year.
40102 * nss/getent.c: Likewise.
40103 * nss/makedb.c: Likewise.
40104 * iconv/iconvconfig.c: Likewise.
40105 * iconv/iconv_prog.c: Likewise.
40106 * elf/ldconfig.c: Likewise.
40107 * elf/pldd.c: Likewise.
40108 * elf/sotruss.ksh: Likewise.
40109 * catgets/gencat.c: Likewise.
40110 * csu/version.c: Likewise.
40111 * elf/ldd.bash.in: Likewise.
40112 * elf/sprof.c (print_version): Likewise.
40113 * locale/programs/locale.c: Likewise.
40114 * locale/programs/localedef.c: Likewise.
40115 * login/programs/pt_chown.c: Likewise.
40116 * nscd/nscd.c (print_version): Likewise.
40117 * debug/xtrace.sh: Likewise.
40118 * malloc/memusage.sh: Likewise.
40119 * malloc/mtrace.pl: Likewise.
40120 * debug/catchsegv.sh: Likewise.
40121
40122 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40123
40124 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40125 pure attribute.
40126
40127 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40128
40129 [BZ #13533]
40130 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40131 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40132 transformations.
40133 * iconv/gconv_int.h: Likewise.
40134 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40135 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40136 from libc for GLIBC_2.16.
40137 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40138 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40139 * wcsmbs/uchar.h: Really define mbstate_t.
40140 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40141 * wcsmbs/c16rtomb.c: New file.
40142 * wcsmbs/mbrtoc16.c: New file.
40143 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40144 for C/POSIX locale.
40145 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40146 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40147
40148 * wcsmbs/wchar.h: Add missing __restrict.
40149
40150 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40151
40152 [BZ #13532]
40153 * time/Makefile (routines): Add timespec_get.
40154 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40155 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40156 timespec for ISO C11.
40157 * time/timespec_get.c: New file.
40158 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40159 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40160
40161 [BZ #13531]
40162 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40163 * stdlib/stdlib.h: Declare aligned_alloc.
40164 * Versions.def: Add GLIBC_2.16 for libc.
40165 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40166
40167 [BZ 13527]
40168 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40169 ISO C11.
40170
40171 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40172 code.
40173
40174 [BZ #13528]
40175 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40176
40177 [BZ #13529]
40178 * assert/assert.h (static_assert): Define.
40179
40180 * version.h: Update for 2.16 development version.
40181
40182 [BZ #13526]
40183 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40184 _ISOC11_SOURCE.
40185
40186 * version.h (RELEASE): Bump for 2.15 release.
40187 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40188
40189 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40190 Patch by Marek Polacek <mpolacek@redhat.com>.
40191
40192 * bits/byteswap.h: Protect long long constants with __extension__.
40193 * sysdeps/i386/bits/byteswap.h: Likewise.
40194 * sysdeps/ia64/bits/byteswap.h: Likewise.
40195 * sysdeps/s390/bits/byteswap.h: Likewise.
40196 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40197
40198 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40199
40200 [BZ #13540]
40201 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40202 destination buffer.
40203 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40204
40205 2011-12-23 Marek Polacek <polacek@redhat.com>
40206
40207 * elf/dl-addr.c (determine_info): Add inline keyword.
40208 * elf/tst-auditmod4b.c (check_avx): Likewise.
40209 * elf/tst-auditmod6b.c (check_avx): Likewise.
40210 * elf/tst-auditmod6c.c (check_avx): Likewise.
40211 * elf/tst-auditmod7b.c (check_avx): Likewise.
40212
40213 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40214
40215 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40216 !__SSE_MATH__.
40217
40218 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40219
40220 [BZ #13540]
40221 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40222 processing for last bytes.
40223
40224 2011-08-06 Bruno Haible <bruno@clisp.org>
40225
40226 [BZ #13061]
40227 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40228 U+0385, not to U+1FEE.
40229
40230 [BZ #13062]
40231 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40232 entry for U+00A5 U+0301.
40233
40234 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40235
40236 [BZ #13166]
40237 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40238 buffer for the output is too small.
40239
40240 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40241 optimization.
40242
40243 [BZ #13185]
40244 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40245 SSE flags if possible.
40246
40247 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40248
40249 [BZ #13540]
40250 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40251 processing for last bytes.
40252
40253 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40254
40255 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40256 (syscall-list-default-options, syscall-list-default-condition)
40257 (syscall-list-includes): Define.
40258 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40259 list of ABIs and options and #if conditions for each ABI. Do not
40260 handle common syscalls between ABIs specially.
40261 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40262 Remove.
40263 (syscall-list-variants, syscall-list-32bit-options)
40264 (syscall-list-32bit-condition, syscall-list-64bit-options)
40265 (syscall-list-64bit-condition): Define.
40266 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40267 (syscall-list-variants, syscall-list-32bit-options)
40268 (syscall-list-32bit-condition, syscall-list-64bit-options)
40269 (syscall-list-64bit-condition): Define.
40270 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40271 Remove.
40272 (syscall-list-variants, syscall-list-32bit-options)
40273 (syscall-list-32bit-condition, syscall-list-64bit-options)
40274 (syscall-list-64bit-condition): Define.
40275 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40276 Remove.
40277 (syscall-list-variants, syscall-list-32bit-options)
40278 (syscall-list-32bit-condition, syscall-list-64bit-options)
40279 (syscall-list-64bit-condition): Define.
40280
40281 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40282
40283 * locale/iso-639.def: Add brx entry.
40284
40285 [BZ #13328]
40286 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40287 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40288
40289 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40290 __feraiseexcept_renamed.
40291
40292 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40293
40294 [BZ #13538]
40295 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40296 EPOLLET with unsigned values.
40297 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40298 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40299
40300 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40301 to large cancellation.
40302 * math/s_cacoshf.c: Likewise.
40303 * math/s_cacoshl.c: Likewise.
40304
40305 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40306
40307 [BZ #13305]
40308 [BZ #12786]
40309 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40310 * math/s_cacoshf.c: Likewise.
40311 * math/s_cacoshl.c: Likewise.
40312
40313 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40314
40315 [BZ #13439]
40316 * iconv/gconv.h: Define __GCONV_SWAP.
40317 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40318 * iconvdata/utf-16.c: Likewise.
40319 * iconvdata/utf-32.c: Likewise.
40320
40321 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40322
40323 [BZ #13524]
40324 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40325 numerator after shifting it by one limb.
40326
40327 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40328
40329 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40330 under [__USE_EXTERN_INLINES].
40331
40332 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40333
40334 [BZ #13446]
40335 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40336
40337 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40338
40339 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40340 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40341 optimized code.
40342 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40343 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40344 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40345 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40346 for strncasecmp/strncasecmp_l compilation.
40347 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40348 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40349
40350 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40351
40352 [BZ #13484]
40353 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40354 of __asm__.
40355
40356 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40357
40358 [BZ #13506]
40359 * time/tzfile.c (__tzfile_read): Check values from file header.
40360
40361 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40362
40363 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40364 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40365 * powerpc/powerpc32/dl-start.S: Likewise.
40366 * powerpc/powerpc32/elf/start.S: Likewise.
40367 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40368 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40369 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40370 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40371 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40372 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40373 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40374 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40375 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40376 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40377 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40378 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40379 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40380 * powerpc/powerpc32/memset.S: Likewise.
40381 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40382 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40383 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40384 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40385 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40386 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40387 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40388 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40389 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40390 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40391 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40392 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40393 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40394
40395 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40396
40397 * math/libm-test.inc: Added more nearbyint tests.
40398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40399 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40400 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40401 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40402
40403 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40404
40405 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40406 FD_CLOEXEC.
40407
40408 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40409
40410 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40411 Add wcscpy-ssse3 wcscpy-c.
40412 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40413 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40414 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40415 * sysdeps/x86_64/wcschr.S: New file.
40416 * sysdeps/x86_64/wcsrchr.S: New file.
40417 * string/test-strcmp.c: Remove checking of wcscmp function for
40418 wrong alignments.
40419 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40420 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40421 wcsrchr-sse2 wcsrchr-c.
40422 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40423 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40424 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40425 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40426 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40427 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40428 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40429 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40430 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40431 * wcsmbc/wcschr.c (WCSCHR): New macro.
40432
40433 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40434
40435 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40436 * wcsmbs/test-wcsrchr.c: New file.
40437 * string/test-strrchr.c: Add wcsrchr support.
40438 (WIDE): New macro.
40439 * wcsmbs/test-wcscpy.c: New file.
40440 * string/test-strcpy.c: Add wcscpy support.
40441 (WIDE): New macro.
40442
40443 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40444
40445 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40446 the inner loop.
40447
40448 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40449
40450 [BZ #13472]
40451 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40452
40453 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40454
40455 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40456 Minor optimizations.
40457
40458 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40459 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40460 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40461
40462 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40463
40464 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40465 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40466 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40467 for gcc to avoid warnings.
40468 * inet/Makefile (tests): Add tst-checks.
40469 * inet/tst-checks.c: New file.
40470
40471 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40472 warning.
40473
40474 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40475 __wmemcmp_sse2.
40476
40477 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40478 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40479
40480 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40481
40482 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40483
40484 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40485 problem.
40486
40487 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40488
40489 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40490
40491 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40492 conditional on GCC version.
40493 (__arch_compare_and_exchange_val_8_acq)
40494 (__arch_compare_and_exchange_val_16_acq)
40495 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40496 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40497 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40498
40499 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40500
40501 * sysdeps/sh/backtrace.c: New file.
40502
40503 2011-12-02 Andreas Schwab <schwab@redhat.com>
40504
40505 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40506 parenthesis.
40507
40508 2011-12-01 Andreas Schwab <schwab@redhat.com>
40509
40510 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40511 falling back to utime.
40512
40513 2011-11-30 Andreas Schwab <schwab@redhat.com>
40514
40515 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40516 expectations for float.
40517
40518 2011-11-29 Andreas Schwab <schwab@redhat.com>
40519
40520 * locale/weight.h (findidx): Add parameter len.
40521 * locale/weightwc.h (findidx): Likewise.
40522 * posix/fnmatch_loop.c (FCT): Adjust caller.
40523 * posix/regcomp.c (build_equiv_class): Likewise.
40524 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40525 * posix/regexec.c (check_node_accept_bytes): Likewise.
40526 * string/strcoll_l.c (STRCOLL): Likewise.
40527 * string/strxfrm_l.c (STRXFRM): Likewise.
40528
40529 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40530
40531 * Makefile.in: Remove CVSOPT handling.
40532 * configure.in: Remove use of AC_REVISION.
40533 * iconvdata/Makefile (distribute): No need to filter out CVS.
40534 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40535 handling.
40536
40537 2011-11-16 Andreas Schwab <schwab@redhat.com>
40538
40539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40540 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40541 [USE_AS_STRNCASECMP_L]: Likewise.
40542 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40543 NO_TLS_DIRECT_SEG_REFS.
40544 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40545 Fix argument offsets for non-PIC.
40546 [USE_AS_STRNCASECMP_L]: Likewise.
40547 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40548 NO_TLS_DIRECT_SEG_REFS.
40549
40550 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40551
40552 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40553 O_CLOEXEC.
40554 * locale/loadlocale.c (_nl_load_locale): Likewise.
40555
40556 2011-11-15 Andreas Schwab <schwab@redhat.com>
40557
40558 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40559 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40560 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40561 (SYSCALL_GETTIME): Set errno on error.
40562
40563 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40564 count references to noai6ai_cached.
40565
40566 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40567
40568 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40569
40570 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40571 FD_CLOEXEC for /proc/self/maps.
40572
40573 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40574 FD_CLOEXEC for /proc/meminfo.
40575
40576 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40577 gai.conf.
40578
40579 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40580 FD_CLOEXEC for given file.
40581
40582 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40583
40584 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40585 FD_CLOEXEC for /etc/hosts.
40586 (_gethtent): Likewise.
40587
40588 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40589
40590 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40591 cancellation and set FD_CLOEXEC for /etc/netgroup.
40592
40593 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40594 reading /etc/publickey.
40595
40596 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40597 allow cancellation when reading /etc/group.
40598
40599 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40600 cancellation.
40601 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40602
40603 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40604 when using data file.
40605
40606 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40607
40608 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40609 (write_nis_obj): Use "c" and "e" in fopen.
40610
40611 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40612
40613 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40614
40615 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40616
40617 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40618
40619 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40620 locale.alias.
40621
40622 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40623
40624 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40625
40626 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40627
40628 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40629 file parsing and set FD_CLOEXEC.
40630
40631 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40632
40633 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40634
40635 2011-11-14 Andreas Schwab <schwab@redhat.com>
40636
40637 * malloc/arena.c (arena_get2): Don't call reused_arena when
40638 _int_new_arena failed.
40639
40640 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40641
40642 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40643 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40644 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40645 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40646 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40647 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40648 to compile strcasecmp and strncasecmp.
40649 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40650 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40651
40652 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40653
40654 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40655
40656 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40657 locale-defines.sym to gen-as-const-headers.
40658 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40659 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40661 to compile strcasecmp and strncasecmp.
40662 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40663 strcasecmp_l and strncasecmp_l.
40664 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40665 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40666 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40667 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40668 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40669 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40670 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40671 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40672 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40673 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40674 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40675
40676 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40677
40678 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40679 result of SYSDEP_GETTIME_CPU to retval.
40680 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40681 parameter list to macro. Remove trailing semicolon. Adjust users.
40682
40683 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40684 variable.
40685
40686 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40687 mantissa words.
40688 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40689
40690 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40691 from unused variable.
40692
40693 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40694 DWARF definitions.
40695 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40696 for assembling.
40697
40698 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40699 over namespaces.
40700
40701 * sunrpc/rpc_prot.c (rejected): Fix case value.
40702
40703 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40704 unsigned long long int to avoid warnings in shift.
40705
40706 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40707 of use of trans.
40708 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40709 variable tmp.
40710
40711 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40712 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40713 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40714
40715 * nis/nis_table.c (nis_list): Use variable of correct type for
40716 result of __follow_path call.
40717
40718 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40719
40720 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40721 of math functions ceil, trunc, floor, round, and sqrt, when
40722 avaliable on the platform.
40723 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40724 name clash.
40725 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40726 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40727 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40728
40729 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40730
40731 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40732 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40733
40734 2011-11-11 Roland McGrath <roland@hack.frob.com>
40735
40736 * include/unistd.h: Fix __readlink return type.
40737 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40738
40739 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40740
40741 * stdlib/ucontext.h: Undo last change for makecontext.
40742
40743 2011-11-11 Andreas Schwab <schwab@redhat.com>
40744
40745 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40746
40747 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40748 * setjmp/setjmp.h: Mark functions as non-leaf.
40749 * setjmp/bits/setjmp2.h: Likewise.
40750 * stdlib/ucontext.h: Likewise.
40751
40752 2011-11-10 Andreas Schwab <schwab@redhat.com>
40753
40754 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40755 (reused_arena): Don't check arena limit.
40756 (arena_get2): Atomically check arena limit.
40757
40758 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40759
40760 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40761 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40762
40763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40764 instructions.
40765
40766 2011-11-07 Andreas Schwab <schwab@redhat.com>
40767
40768 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40769 handler when locking.
40770
40771 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40772 Fix size of allocated buffer.
40773
40774 2011-11-04 Andreas Schwab <schwab@redhat.com>
40775
40776 [BZ #10103]
40777 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40778 declarations for long double functions.
40779 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40780
40781 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40782
40783 2011-11-03 Andreas Schwab <schwab@redhat.com>
40784
40785 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40786 installed.
40787
40788 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40789 is disabled.
40790
40791 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40792
40793 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40794
40795 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40796
40797 * include/alloca.h (stackinfo_alloca_round): Define.
40798 (extend_alloca): Use it.
40799 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40800 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40801 here.
40802
40803 * scripts/check-local-headers.sh: Ignore libaudit.h.
40804
40805 * nscd/Makefile (extra-objs): Make recursively expanded.
40806
40807 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40808
40809 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40810 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40811
40812 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40813 * posix/tst-rfc3484-2.c: Likewise.
40814 * posix/tst-rfc3484-3.c: Likewise.
40815
40816 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40817 process_vm_writev.
40818 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40819 process_vm_writev.
40820 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40821 process_vm_writev from libc using GLIBC_2.15 version.
40822
40823 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40824
40825 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40826
40827 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40828 stack usage.
40829
40830 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40831
40832 [BZ #13367]
40833 * nss/getent.c (initgroups_keys): Show error message in case no group
40834 names are given.
40835
40836 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40837 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40838 __bump_nl_timestamp.
40839 * nscd/connections (nscd_init): When host database is served open
40840 netlink socket and request notification about configuration changes.
40841 (main_loop_poll): Track netlink file descriptor and bump timestamp
40842 in case data becomes available.
40843 (main_loop_epoll): Likewise.
40844 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40845 (database_pers_head): Add extra_data fileds.
40846 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40847 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40848 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40849 Adjust caller.
40850 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40851 in6ai data, call __free_in6ai.
40852 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40853 Add -DHAVE_NETLINK.
40854 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40855 interface information. Reuse previous data if netlink timestamp
40856 is not changed.
40857 (__bump_nl_timestamp): New function.
40858 (__free_in6ai): New function.
40859
40860 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40861
40862 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40863 close_not_cancel_no_status here.
40864 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40865
40866 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40867
40868 [BZ #13276]
40869 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40870 return value.
40871
40872 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40873 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40874 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40875
40876 2011-07-03 Andreas Jaeger <aj@suse.de>
40877
40878 [BZ #10709]
40879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40880 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40881 * math/libm-test.inc (sin_test): Add test case.
40882
40883 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40884
40885 [BZ #13337]
40886 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40887 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40888
40889 * elf/chroot_canon.c (chroot_canon): Cleanups.
40890
40891 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40892
40893 [BZ #13335]
40894 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40895 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40896
40897 * string/test-strchr.c: Make usable for strchrnul testing.
40898 * string/test-strchrnul.c: New file.
40899 * string/Makefile (strop-tests): Add strchrnul.
40900
40901 * po/it.po: Update from translation team.
40902 * po/es.po: Likewise.
40903
40904 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40905
40906 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40907 the three constants needed as parameters. Drop the others.
40908 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40909 __m128i_strloadu_tolower.
40910 Create and initialize variable zero and use it in all the places
40911 where _mm_setzero_si128 was used.
40912
40913 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40914 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40915 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40917 anymore.
40918 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40919 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40920 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40921 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40922 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40923 __mpranred, __mptan.
40924 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40925 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40926 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40927 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40928 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40929 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40930 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40931 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40932 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40933
40934 2011-10-28 Andreas Schwab <schwab@redhat.com>
40935
40936 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40937 redefine if SHARED.
40938 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40939
40940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40941 wide char related routines to wcsmbs subdir.
40942
40943 2011-10-27 Andreas Schwab <schwab@redhat.com>
40944
40945 [BZ #13344]
40946 * misc/sys/cdefs.h (__THROWNL): Define.
40947 * posix/unistd.h: Use __THREADNL instead of __THREAD
40948 for memory synchronization functions.
40949
40950 2011-10-26 Roland McGrath <roland@hack.frob.com>
40951
40952 [BZ #13349]
40953 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40954 doesn't exist.
40955 * manual/stdio.texi (Obstack Streams): Node removed.
40956
40957 2011-10-26 Andreas Schwab <schwab@redhat.com>
40958
40959 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40960 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40961 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40962
40963 * math/math_private.h (math_force_eval): Allow non-addressable
40964 arguments.
40965 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40966
40967 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40968
40969 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40970 file is not needed.
40971
40972 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40974 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40975 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40976 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40977 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40978 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40979 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40980 Add AVX variants.
40981 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40982 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40983 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40984 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40985 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40986 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40987 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40988 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40989 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40990 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40991 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40992 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40993 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40994 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40995 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40996 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40997 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40998 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40999 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41000
41001 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41002 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41003
41004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41005 place. Use VEX encoding when compiling for AVX.
41006
41007 2011-10-25 Andreas Schwab <schwab@redhat.com>
41008
41009 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41010 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41011
41012 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41013
41014 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41015
41016 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41017 useless if() expression.
41018 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41019 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41020 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41023 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41024 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41026 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41027 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41028 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41029 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41030 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41031 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41032 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41033 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41034 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41036 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41037
41038 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41039
41040 2011-10-25 Andreas Schwab <schwab@redhat.com>
41041
41042 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41043 condition.
41044 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41045
41046 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41047
41048 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41049 .text section. Avoid duplicate constants.
41050 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41052 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41054 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41058 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41059 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41060 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41061 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41062 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41063 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41064 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41065 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41066 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41067 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41068 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41070 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41071 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41072 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41073 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41074 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41075 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41076 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41077 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41078 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41079 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41080 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41081 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41082 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41083 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41084 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41085 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41086 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41087 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41088 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41089 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41090 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41091 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41092 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41093 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41094 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41095
41096 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41097
41098 * sysdeps/x86_64/dla.h: Move to ...
41099 * sysdeps/x86_64/fpu/dla.h: ...here.
41100 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41101 situations. Use __builtin_fma only for gcc 4.6 and up.
41102
41103 * config.make.in: Add have-mfma4 entry.
41104 * configure.in: Substitute libc_cv_cc_fma4.
41105 * math/Makefile (dbl-only-routines): Add sincostab.
41106 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41107 Use __sincostab not sincos.
41108 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41109 name is a macro.
41110 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41114 using __copysign.
41115 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41116 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41117 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41118 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41119 and __inv.
41120 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41121 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41122 __copysign.
41123 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41124 define aliases when function name is a macro.
41125 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41126 sysdeps/ieee754/dbl-64/sincos.tbl.
41127 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41128 fma4-enabled routines.
41129 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41130 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41131 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41132 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41133 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41134 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41135 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41136 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41137 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41138 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41139 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41140 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41141 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41142 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41143 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41144 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41145 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41146 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41147 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41148 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41149 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41150 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41152 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41153 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41154 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41155 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41156 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41157 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41158 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41159
41160 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41161 rename.
41162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41170
41171 2011-10-24 Andreas Schwab <schwab@redhat.com>
41172
41173 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41174
41175 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41176
41177 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41178
41179 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41180 prediction.
41181 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41182
41183 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41184 Remove unused variable magic_bits.
41185 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41186
41187 * string/strnlen.c: Define and use STRNLEN macro.
41188 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41189 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41191 * wcsmbs/wcslen.c: Define and use WCSLEN.
41192 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41193 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41194 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41195 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41196 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41197 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41198 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41199
41200 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41201
41202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41203 strnlen-sse2-no-bsf.
41204 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41205 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41206 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41207 Add strnlen support.
41208 (USE_AS_STRNLEN): New macro.
41209 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41210 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41211 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41212 * sysdeps/x86_64/wcslen.S: New file.
41213
41214 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41215
41216 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41217 XMM-moves are used for copying on small sizes.
41218
41219 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41220
41221 * wcsmbs/Makefile (strop-tests): Add wcschr.
41222 * wcsmbs/test-wcschr.c: New file.
41223 * string/test-strchr.c: Update.
41224 Add wcschr support.
41225 (WIDE): New macro.
41226
41227 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41228
41229 * wcsmbs/Makefile (strop-tests): Add wcslen.
41230 * wcsmbs/test-wcslen.c: New file.
41231 * string/test-strlen.c: Update.
41232 Add wcslen support.
41233 (WIDE): New macro.
41234
41235 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41236
41237 * po/it.po: Update from translation team.
41238
41239 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41240
41241 * sysdeps/x86_64/wcscmp.S: Update.
41242 Fix wrong comparison semantics.
41243 wcscmp shall use signed comparison not unsigned.
41244 Don't use substraction to avoid overflow bug.
41245 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41246 * wcsmbc/wcscmp.c: Likewise.
41247 * string/test-strcmp.c: Likewise.
41248 Add new tests to check cases with negative values.
41249
41250 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41251
41252 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41253 * sysdeps/x86_64/dla.h: ...here. New file.
41254 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41259 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41260 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41263
41264 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41265
41266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41267 __ynl_finite aliases.
41268
41269 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41270
41271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41272
41273 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41274 define DLA_FMA.
41275 [DLA_FMA] (EMULV): Use DLA_FMA.
41276 [DLA_FMA] (MUL12): Use EMULV.
41277 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41278 that are not needed.
41279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41280 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41282 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41286
41287 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41288
41289 * math/s_nan.c: Undef __nan.
41290 * math/s_nanf.c: Undef __nanf.
41291 * math/s_nanl.c: Undef __nanl.
41292 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41293 "math_private.h".
41294
41295 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41296
41297 * math/s_catan.c: Add branch predictions.
41298 * math/s_catanf.c: Likewise.
41299 * math/s_catanh.c: Likewise.
41300 * math/s_catanhf.c: Likewise.
41301 * math/s_catanhl.c: Likewise.
41302 * math/s_catanl.c: Likewise.
41303 * math/s_cexp.c: Likewise.
41304 * math/s_cexpf.c: Likewise.
41305 * math/s_cexpl.c: Likewise.
41306 * math/s_clog.c: Likewise.
41307 * math/s_clog10.c: Likewise.
41308 * math/s_clog10f.c: Likewise.
41309 * math/s_clog10l.c: Likewise.
41310 * math/s_clogf.c: Likewise.
41311 * math/s_clogl.c: Likewise.
41312 * math/s_csqrt.c: Likewise.
41313 * math/s_csqrtf.c: Likewise.
41314 * math/s_csqrtl.c: Likewise.
41315 * math/s_ctanf.c: Likewise.
41316 * math/s_ctanh.c: Likewise.
41317 * math/s_ctanhf.c: Likewise.
41318 * math/s_ctanhl.c: Likewise.
41319 * math/s_ctanl.c: Likewise.
41320
41321 * math/math_private.h: Define __nan, __nanf, __nanl.
41322 * math/s_cacosh.c: Include <math_private.h>.
41323 * math/s_cacoshl.c: Likewise.
41324 * math/s_casinh.c: Likewise.
41325 * math/s_casinhf.c: Likewise.
41326 * math/s_casinhl.c: Likewise.
41327 * math/s_ccos.c: Rely entire on ccosh.
41328 * math/s_ccosf.c: Rely entire on ccoshf.
41329 * math/s_ccosl.c: Rely entirely on ccoshl.
41330 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41331 Remove tests for FE_INVALID.
41332 * math/s_ccoshf.c: Likewise.
41333 * math/s_ccoshl.c: Likewise.
41334 * math/s_csin.c: Likewise.
41335 * math/s_csinf.c: Likewise.
41336 * math/s_csinh.c Likewise.
41337 * math/s_csinhf.c: Likewise.
41338 * math/s_csinhl.c: Likewise.
41339 * math/s_csinl.c: Likewise.
41340 * math/s_ctan.c: Likewise.
41341 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41342 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41343 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41344
41345 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41346
41347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41348 compilation problems.
41349
41350 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41351 __builtin_expect.
41352
41353 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41354
41355 * sysdeps/i386/configure.in: Test for -mfma4 option.
41356 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41357 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41358 COMMON_CPUID_INDEX_80000001.
41359 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41360 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41361 use it if FMA3 is not supported.
41362 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41363
41364 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41365 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41366
41367 2011-10-20 Andreas Schwab <schwab@redhat.com>
41368
41369 [BZ #12892]
41370 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41371 it would create a cycle with a link time dependency.
41372
41373 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41374
41375 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41376 instruction.
41377 * string/Makefile (strop-tests): Add rawmemchr.
41378 * string/test-rawmemchr.c: New file.
41379
41380 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41382 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41383 when compiling str{,n}casecmp and when AVX is available. Hook up
41384 new optimized code in initializers.
41385
41386 2011-10-19 Andreas Schwab <schwab@redhat.com>
41387
41388 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41389 __feraiseexcept instead of feraiseexcept.
41390
41391 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41392
41393 * math/math_private.h: Define defaults for libc_fetestexcept and
41394 libc_feupdateenv.
41395 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41396 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41397 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41398 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41399 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41400 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41401 libc_fetestexcept and libc_feupdateenv.
41402
41403 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41404 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41405 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41406 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41407 libc_feholdexcept_setround.
41408
41409 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41410 Add s_nearbyint-c and s_nearbyintf-c.
41411 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41412 nearbyintf inlines.
41413 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41414 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41415 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41416 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41417
41418 * math/math_private.h: Define defaults for libc_fegetround,
41419 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41420 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41421 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41422 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41423 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41424 standard functions.
41425 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41426 Remove comments and hacks for old compiler versions.
41427 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41428 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41429 libc_feholdexceptl.
41430
41431 2011-10-18 Andreas Schwab <schwab@redhat.com>
41432
41433 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41434 (__feraiseexcept_renamed): Add __NTH.
41435 (feraiseexcept): Add __NTH. Rename local variables to fix
41436 namespace violations.
41437
41438 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41439
41440 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41441
41442 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41443
41444 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41445 recently added interfaces.
41446 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41447
41448 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41449 about macro parameter expansion.
41450
41451 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41452 __NO_MATH_INLINES is defined. Cleanups.
41453
41454 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41455 and __floorf is target has SSE4.1.
41456 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41457 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41458 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41459 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41460
41461 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41462 name.
41463 (floorf): Likewise.
41464
41465 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41466
41467 2011-10-17 Andreas Schwab <schwab@redhat.com>
41468
41469 * misc/sys/cdefs.h: Fix last change.
41470
41471 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41472 database lookup.
41473
41474 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41475
41476 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41477
41478 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41479 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41480 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41481 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41482 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41483 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41484 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41485 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41486 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41487 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41488 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41489 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41490 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41491 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41492 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41493 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41494 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41495 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41496 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41497 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41498 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41499 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41500
41501 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41502 ceil, ceilf, floor, floorf.
41503
41504 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41505 Perform IRELATIVE relocations last.
41506
41507 * elf/do-rel.h: Add another parameter nrelative, replacing the
41508 local variable with the same name. Change name of the function
41509 to end in Rel or Rela (uppercase).
41510 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41511 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41512 elf_dynamic_do_##reloc function.
41513
41514 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41515
41516 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41517 is sufficient, at least on modern CPUs.
41518
41519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41520
41521 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41522 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41523
41524 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41525 __expl_finite.
41526 * math/bits/math-finite.h: Add entries for exp.
41527 * math/e_expl.c: Add __*_finite alias.
41528 * sysdeps/i386/fpu/e_exp.S: Likewise.
41529 * sysdeps/i386/fpu/e_expf.S: Likewise.
41530 * sysdeps/i386/fpu/e_expl.c: Likewise.
41531 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41532 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41533 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41535 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41536 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41537 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41538
41539 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41540 is sufficient, at least on modern CPUs.
41541
41542 * ctype/ctype-info.c (__ctype_init): Define.
41543 * include/ctype.h (__ctype_init): Declare.
41544 (__ctype_b_loc): The variable is always initialized.
41545 (__ctype_toupper_loc): Likewise.
41546 (__ctype_tolower_loc): Likewise.
41547 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41548 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41549
41550 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41551
41552 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41553
41554 * configure.in: Also look in $cxxmachine/include for C++ system
41555 headers.
41556
41557 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41558
41559 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41560 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41561 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41562 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41563 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41564 (USE_AS_WMEMCMP): New macro.
41565 Fixing indents.
41566 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41567 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41568 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41569 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41571 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41572 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41573 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41574 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41575 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41576 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41577 (USE_AS_WMEMCMP): New macro.
41578 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41579 * sysdeps/string/test-memcmp.c: Update.
41580 Fix simple_wmemcmp.
41581 Add new tests.
41582 * wcsmbs/wmemcmp.c: Update.
41583 (WMEMCMP): New macro.
41584 Fix overflow bug.
41585
41586 2011-10-12 Andreas Jaeger <aj@suse.de>
41587
41588 [BZ #13268]
41589 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41590
41591 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41592
41593 * libio/iofwide.c (do_length): Avoid warning.
41594
41595 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41596
41597 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41598
41599 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41600
41601 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41602 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41603 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41604 * sysdeps/i386/i686/fpu/e_log.S: New file.
41605 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41606 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41607
41608 * ctype/ctype.h: Add support for inlined isXXX functions when
41609 compiling C++ code.
41610
41611 2011-10-14 Andreas Schwab <schwab@redhat.com>
41612
41613 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41614
41615 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41616
41617 2011-10-13 Roland McGrath <roland@hack.frob.com>
41618
41619 [BZ #13291]
41620 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41621
41622 2011-10-13 Andreas Schwab <schwab@redhat.com>
41623
41624 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41625 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41626 feraiseexcept.
41627
41628 * sysdeps/x86_64/memrchr.S: Check for zero size.
41629
41630 * string/stratcliff.c: Add memrchr tests.
41631
41632 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41633
41634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41635 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41636 rawmemchr-sse2 rawmemchr-sse2-bsf.
41637 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41638 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41639 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41640 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41641 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41642 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41643 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41644 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41645 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41646 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41647 * string/memrchr.c (MEMRCHR): New macro.
41648
41649 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41650
41651 Add integration with gcc's -ffinite-math-only and optimize wrapper
41652 functions in libm.
41653 * Versions.def: Define GLIBC_2.15 version for libm.
41654 * math/Makefile (headers): Add bits/math-finite.h.
41655 * math/bits/math-finite.h: New file.
41656 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41657 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41658 * math/e_acoshl.c: Add __*_finite alias.
41659 * math/e_acosl.c: Likewise.
41660 * math/e_asinl.c: Likewise.
41661 * math/e_atan2l.c: Likewise.
41662 * math/e_atanhl.c: Likewise.
41663 * math/e_coshl.c: Likewise.
41664 * math/e_exp10.c: Likewise.
41665 * math/e_exp10f.c: Likewise.
41666 * math/e_exp10l.c: Likewise.
41667 * math/e_exp2l.c: Likewise.
41668 * math/e_fmodl.c: Likewise.
41669 * math/e_gammal_r.c: Likewise.
41670 * math/e_hypotl.c: Likewise.
41671 * math/e_j0l.c: Likewise.
41672 * math/e_j1l.c: Likewise.
41673 * math/e_jnl.c: Likewise.
41674 * math/e_lgammal_r.c: Likewise.
41675 * math/e_log10l.c: Likewise.
41676 * math/e_log2l.c: Likewise.
41677 * math/e_logl.c: Likewise.
41678 * math/e_powl.c: Likewise.
41679 * math/e_sinhl.c: Likewise.
41680 * math/e_sqrtl.c: Likewise.
41681 * math/e_scalb.c: Completely rewritten and optimized.
41682 * math/e_scalbf.c: Likewise.
41683 * math/e_scalbl.c: Likewise.
41684 * math/w_acos.c: Likewise.
41685 * math/w_acosf.c: Likewise.
41686 * math/w_acosl.c: Likewise.
41687 * math/w_acosh.c: Likewise.
41688 * math/w_acoshf.c: Likewise.
41689 * math/w_acoshl.c: Likewise.
41690 * math/w_asin.c: Likewise.
41691 * math/w_asinf.c: Likewise.
41692 * math/w_asinl.c: Likewise.
41693 * math/w_atan2.c: Likewise.
41694 * math/w_atan2f.c: Likewise.
41695 * math/w_atan2l.c: Likewise.
41696 * math/w_atanh.c: Likewise.
41697 * math/w_atanhf.c: Likewise.
41698 * math/w_atanhl.c: Likewise.
41699 * math/w_exp10.c: Likewise.
41700 * math/w_exp10f.c: Likewise.
41701 * math/w_exp10l.c: Likewise.
41702 * math/w_fmod.c: Likewise.
41703 * math/w_fmodf.c: Likewise.
41704 * math/w_fmodl.c: Likewise.
41705 * math/w_j0.c: Likewise.
41706 * math/w_j0f.c: Likewise.
41707 * math/w_j0l.c: Likewise.
41708 * math/w_j1.c: Likewise.
41709 * math/w_j1f.c: Likewise.
41710 * math/w_j1l.c: Likewise.
41711 * math/w_jn.c: Likewise.
41712 * math/w_jnf.c: Likewise.
41713 * math/w_log.c: Likewise.
41714 * math/w_logf.c: Likewise.
41715 * math/w_logl.c: Likewise.
41716 * math/w_log10.c: Likewise.
41717 * math/w_log10f.c: Likewise.
41718 * math/w_log10l.c: Likewise.
41719 * math/w_log2.c: Likewise.
41720 * math/w_log2f.c: Likewise.
41721 * math/w_log2l.c: Likewise.
41722 * math/w_pow.c: Likewise.
41723 * math/w_powf.c: Likewise.
41724 * math/w_powl.c: Likewise.
41725 * math/w_remainder.c: Likewise.
41726 * math/w_remainderf.c: Likewise.
41727 * math/w_remainderl.c: Likewise.
41728 * math/w_scalb.c: Likewise.
41729 * math/w_scalbf.c: Likewise.
41730 * math/w_scalbl.c: Likewise.
41731 * math/w_sqrt.c: Likewise.
41732 * math/w_sqrtf.c: Likewise.
41733 * math/w_sqrtl.c: Likewise.
41734 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41735 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41736 used.
41737 * math/math_private.h: Declare __kernel_standard_f.
41738 * math/w_cosh.c: Remove cruft and optimize a bit.
41739 * math/w_coshf.c: Likewise.
41740 * math/w_coshl.c: Likewise.
41741 * math/w_exp2.c: Likewise.
41742 * math/w_exp2f.c: Likewise.
41743 * math/w_exp2l.c: Likewise.
41744 * math/w_hypot.c: Likewise.
41745 * math/w_hypotf.c: Likewise.
41746 * math/w_hypotl.c: Likewise.
41747 * math/w_lgamma.c: Likewise.
41748 * math/w_lgamma_r.c: Likewise.
41749 * math/w_lgammaf.c: Likewise.
41750 * math/w_lgammaf_r.c: Likewise.
41751 * math/w_lgammal.c: Likewise.
41752 * math/w_lgammal_r.c: Likewise.
41753 * math/w_sinh.c: Likewise.
41754 * math/w_sinhf.c: Likewise.
41755 * math/w_sinhl.c: Likewise.
41756 * math/w_tgamma.c: Likewise.
41757 * math/w_tgammaf.c: Likewise.
41758 * math/w_tgammal.c: Likewise.
41759 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41760 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41761 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41762 Minor optimizations. Pretty printing. Remove cruft.
41763 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41764 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41765 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41766 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41767 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41768 * sysdeps/i386/fpu/e_asin.S: Likewise.
41769 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41770 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41771 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41772 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41773 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41774 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41775 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41776 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41777 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41778 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41779 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41780 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41781 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41782 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41783 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41784 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41785 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41786 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41787 * sysdeps/i386/fpu/e_log.S: Likewise.
41788 * sysdeps/i386/fpu/e_log10.S: Likewise.
41789 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41790 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41791 * sysdeps/i386/fpu/e_log2.S: Likewise.
41792 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41793 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41794 * sysdeps/i386/fpu/e_logf.S: Likewise.
41795 * sysdeps/i386/fpu/e_logl.S: Likewise.
41796 * sysdeps/i386/fpu/e_pow.S: Likewise.
41797 * sysdeps/i386/fpu/e_powf.S: Likewise.
41798 * sysdeps/i386/fpu/e_powl.S: Likewise.
41799 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41800 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41801 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41802 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41803 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41804 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41805 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41806 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41807 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41808 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41809 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41810 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41811 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41812 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41813 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41814 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41815 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41816 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41817 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41818 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41819 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41821 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41822 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41825 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41828 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41829 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41830 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41831 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41832 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41833 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41834 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41835 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41836 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41837 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41838 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41839 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41840 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41841 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41842 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41843 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41844 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41845 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41846 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41847 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41848 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41849 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41850 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41851 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41852 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41853 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41854 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41855 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41856 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41857 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41858 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41859 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41860 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41861 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41862 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41863 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41864 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41865 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41866 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41867 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41868 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41869 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41870 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41871 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41872 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41873 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41874 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41876 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41877 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41878 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41879 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41880 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41881 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41882 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41883 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41884 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41885 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41886 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41887 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41888 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41889 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41890 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41891 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41892 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41893 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41894 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41895 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41896 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41897 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41898 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41899 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41900 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41901 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41902 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41903 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41904 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41905 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41906 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41907 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41908 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41909 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41910 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41911 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41912 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41913 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41914 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41915 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41916 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41917 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41918 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41919 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41920 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41921 (__isnanf): Likewise.
41922 (__isinf_ns): Likewise.
41923 (__isinf_nsf): Likewise.
41924 (__finite): Likewise.
41925 (__finitef): Likewise.
41926 (__ieee754_sqrt): Define as macro.
41927 (__ieee754_sqrtf): Define as macro.
41928 (__ieee754_sqrtl): Define as macro.
41929 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41930 inlined copy.
41931 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41932 __FINITE_MATH_ONLY__ consistent.
41933 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41934
41935 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41936
41937 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41938 of rawmemchr.
41939
41940 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41941
41942 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41943
41944 * po/ja.po: Update from translation team.
41945
41946 2011-10-08 Roland McGrath <roland@hack.frob.com>
41947
41948 * locale/programs/locarchive.c (prepare_address_space): New function.
41949 (create_archive, enlarge_archive, open_archive): Use it.
41950
41951 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41952 inside [SHARED], where it is used.
41953
41954 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41955
41956 * nss/getent.c (netgroup_keys): Remove unused variable.
41957 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41958
41959 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41960
41961 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41962 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41964 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41965 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41966 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41967 * math/Makefile (libm-calls): Add s_isinf_ns.
41968 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41969 * math/multc3.c: Likewise.
41970 * math/s_casin.c: Likewise.
41971 * math/s_casinf.c: Likewise.
41972 * math/s_casinl.c: Likewise.
41973 * math/s_ccos.c: Likewise.
41974 * math/s_ccosf.c: Likewise.
41975 * math/s_ccosl.c: Likewise.
41976 * math/s_ctan.c: Likewise.
41977 * math/s_ctanf.c: Likewise.
41978 * math/s_ctanh.c: Likewise.
41979 * math/s_ctanhf.c: Likewise.
41980 * math/s_ctanhl.c: Likewise.
41981 * math/s_ctanl.c: Likewise.
41982 * math/w_fmod.c: Likewise.
41983 * math/w_fmodf.c: Likewise.
41984 * math/w_fmodl.c: Likewise.
41985 * math/w_remainder.c: Likewise.
41986 * math/w_remainderf.c: Likewise.
41987 * math/w_remainderl.c: Likewise.
41988 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41989 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41990 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41991 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41992 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41993 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41994 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41995 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41996
41997 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41998 of the number.
41999 * stdio-common/printf_fphex.c: Likewise.
42000 * stdio-common/printf_size.c: Likewise.
42001
42002 * math/e_exp10.c: Include math_private.h using <...> not "...".
42003 * math/e_exp10f.c: Likewise.
42004 * math/e_exp10l.c: Likewise.
42005 * math/e_exp2l.c: Likewise.
42006 * math/e_j0l.c: Likewise.
42007 * math/e_j1l.c: Likewise.
42008 * math/e_jnl.c: Likewise.
42009 * math/e_lgammal_r.c: Likewise.
42010 * math/e_rem_pio2l.c: Likewise.
42011 * math/e_scalb.c: Likewise.
42012 * math/e_scalbf.c: Likewise.
42013 * math/e_scalbl.c: Likewise.
42014 * math/k_cosl.c: Likewise.
42015 * math/k_sinl.c: Likewise.
42016 * math/k_tanl.c: Likewise.
42017 * math/s_cacoshf.c: Likewise.
42018 * math/s_catan.c: Likewise.
42019 * math/s_catanf.c: Likewise.
42020 * math/s_catanh.c: Likewise.
42021 * math/s_catanhf.c: Likewise.
42022 * math/s_catanhl.c: Likewise.
42023 * math/s_catanl.c: Likewise.
42024 * math/s_ccosh.c: Likewise.
42025 * math/s_ccoshf.c: Likewise.
42026 * math/s_ccoshl.c: Likewise.
42027 * math/s_cexp.c: Likewise.
42028 * math/s_cexpf.c: Likewise.
42029 * math/s_cexpl.c: Likewise.
42030 * math/s_clog.c: Likewise.
42031 * math/s_clog10.c: Likewise.
42032 * math/s_clog10f.c: Likewise.
42033 * math/s_clog10l.c: Likewise.
42034 * math/s_clogf.c: Likewise.
42035 * math/s_clogl.c: Likewise.
42036 * math/s_csin.c: Likewise.
42037 * math/s_csinf.c: Likewise.
42038 * math/s_csinh.c: Likewise.
42039 * math/s_csinhf.c: Likewise.
42040 * math/s_csinhl.c: Likewise.
42041 * math/s_csinl.c: Likewise.
42042 * math/s_csqrt.c: Likewise.
42043 * math/s_csqrtf.c: Likewise.
42044 * math/s_csqrtl.c: Likewise.
42045 * math/s_ctan.c: Likewise.
42046 * math/s_ctanf.c: Likewise.
42047 * math/s_ctanh.c: Likewise.
42048 * math/s_ctanhf.c: Likewise.
42049 * math/s_ctanhl.c: Likewise.
42050 * math/s_ctanl.c: Likewise.
42051 * math/s_ldexp.c: Likewise.
42052 * math/s_ldexpf.c: Likewise.
42053 * math/s_ldexpl.c: Likewise.
42054 * math/s_significand.c: Likewise.
42055 * math/s_significandf.c: Likewise.
42056 * math/s_significandl.c: Likewise.
42057 * math/w_acos.c: Likewise.
42058 * math/w_acosf.c: Likewise.
42059 * math/w_acosh.c: Likewise.
42060 * math/w_acoshf.c: Likewise.
42061 * math/w_acoshl.c: Likewise.
42062 * math/w_acosl.c: Likewise.
42063 * math/w_asin.c: Likewise.
42064 * math/w_asinf.c: Likewise.
42065 * math/w_asinl.c: Likewise.
42066 * math/w_atan2.c: Likewise.
42067 * math/w_atan2f.c: Likewise.
42068 * math/w_atan2l.c: Likewise.
42069 * math/w_atanh.c: Likewise.
42070 * math/w_atanhf.c: Likewise.
42071 * math/w_atanhl.c: Likewise.
42072 * math/w_cosh.c: Likewise.
42073 * math/w_coshf.c: Likewise.
42074 * math/w_coshl.c: Likewise.
42075 * math/w_dremf.c: Likewise.
42076 * math/w_exp10.c: Likewise.
42077 * math/w_exp10f.c: Likewise.
42078 * math/w_exp10l.c: Likewise.
42079 * math/w_exp2.c: Likewise.
42080 * math/w_exp2f.c: Likewise.
42081 * math/w_fmod.c: Likewise.
42082 * math/w_fmodf.c: Likewise.
42083 * math/w_fmodl.c: Likewise.
42084 * math/w_hypot.c: Likewise.
42085 * math/w_hypotf.c: Likewise.
42086 * math/w_hypotl.c: Likewise.
42087 * math/w_j0.c: Likewise.
42088 * math/w_j0f.c: Likewise.
42089 * math/w_j0l.c: Likewise.
42090 * math/w_j1.c: Likewise.
42091 * math/w_j1f.c: Likewise.
42092 * math/w_j1l.c: Likewise.
42093 * math/w_jn.c: Likewise.
42094 * math/w_jnf.c: Likewise.
42095 * math/w_jnl.c: Likewise.
42096 * math/w_lgamma.c: Likewise.
42097 * math/w_lgamma_r.c: Likewise.
42098 * math/w_lgammaf.c: Likewise.
42099 * math/w_lgammaf_r.c: Likewise.
42100 * math/w_lgammal.c: Likewise.
42101 * math/w_lgammal_r.c: Likewise.
42102 * math/w_log.c: Likewise.
42103 * math/w_log10.c: Likewise.
42104 * math/w_log10f.c: Likewise.
42105 * math/w_log10l.c: Likewise.
42106 * math/w_log2.c: Likewise.
42107 * math/w_log2f.c: Likewise.
42108 * math/w_log2l.c: Likewise.
42109 * math/w_logf.c: Likewise.
42110 * math/w_logl.c: Likewise.
42111 * math/w_pow.c: Likewise.
42112 * math/w_powf.c: Likewise.
42113 * math/w_powl.c: Likewise.
42114 * math/w_remainder.c: Likewise.
42115 * math/w_remainderf.c: Likewise.
42116 * math/w_remainderl.c: Likewise.
42117 * math/w_scalb.c: Likewise.
42118 * math/w_scalbf.c: Likewise.
42119 * math/w_scalbl.c: Likewise.
42120 * math/w_sinh.c: Likewise.
42121 * math/w_sinhf.c: Likewise.
42122 * math/w_sinhl.c: Likewise.
42123 * math/w_sqrt.c: Likewise.
42124 * math/w_sqrtf.c: Likewise.
42125 * math/w_sqrtl.c: Likewise.
42126 * math/w_tgamma.c: Likewise.
42127 * math/w_tgammaf.c: Likewise.
42128 * math/w_tgammal.c: Likewise.
42129
42130 * po/ja.po: Update from translation team.
42131
42132 2011-09-29 Andreas Jaeger <aj@suse.de>
42133
42134 [BZ #13179]
42135 * sunrpc/netname.c (netname2host): Fix logic.
42136
42137 [BZ #6779]
42138 [BZ #6783]
42139 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42140 correctly.
42141 * math/w_remainder.c (__remainder): Likewise.
42142 * math/w_remainderf.c (__remainderf): Likewise.
42143 * math/libm-test.inc (remainder_test): Add test cases.
42144
42145 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42146
42147 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42148 sdiv_qrnnd.
42149
42150 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42151
42152 * string/test-memcmp.c: Avoid unncessary #defines.
42153 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42154
42155 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42156
42157 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42158 Use new sse2 version for core i3 - i7 as it's faster
42159 than sse42 version.
42160 (bit_Prefer_PMINUB_for_stringop): New.
42161 * sysdeps/x86_64/rawmemchr.S: Update.
42162 Replace with faster SSE2 version.
42163 * sysdeps/x86_64/memrchr.S: New file.
42164 * sysdeps/x86_64/memchr.S: Update.
42165 Replace with faster SSE2 version.
42166
42167 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42168
42169 * elf/dl-load.c (lose): Add cast to avoid warning.
42170
42171 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42172
42173 * po/ca.po: Update from translation team.
42174
42175 * inet/getnetgrent_r.c: Hook up nscd.
42176 * nscd/Makefile (routines): Add nscd_netgroup.
42177 (nscd-modules): Add netgroupcache.
42178 (CFLAGS-netgroupcache.c): Define.
42179 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42180 (cache_search): Add const to second parameter.
42181 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42182 INNETGR.
42183 (dbs): Add netgrdb entry.
42184 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42185 (verify_persistent_db): Handle netgrdb.
42186 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42187 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42188 GETFDNETGR.
42189 (netgroup_response_header): Define.
42190 (innetgroup_response_header): Define.
42191 (datahead): Add netgroup_response_header and innetgroup_response_header
42192 elements.
42193 * nscd/nscd.conf: Add entries for netgroup cache.
42194 * nscd/nscd.h (dbtype): Add netgrdb.
42195 (_PATH_NSCD_NETGROUP_DB): Define.
42196 (netgroup_iov_disabled): Declare.
42197 (xmalloc, xcalloc, xrealloc): Move declarations here.
42198 (cache_search): Adjust prototype.
42199 Add netgroup-related prototypes.
42200 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42201 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42202 (__nscd_innetgr): Declare.
42203 * nscd/selinux.c (perms): Use access_vector_t as element type and
42204 add netgroup-related initializers.
42205 * nscd/netgroupcache.c: New file.
42206 * nscd/nscd_netgroup.c: New file.
42207 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42208 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42209 For four parameters use innetgr.
42210 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42211 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42212 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42213 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42214
42215 * nscd/connections.c (register_traced_file): Don't register file
42216 for disabled databases.
42217
42218 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42219
42220 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42221
42222 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42223 from tree and freeing node.
42224
42225 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42226
42227 * nss/nsswitch.c (__nss_database_lookup): Handle
42228 nss_parse_service_list out of memory case.
42229
42230 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42231
42232 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42233 out of memory case.
42234
42235 2011-10-04 Andreas Schwab <schwab@redhat.com>
42236
42237 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42238 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42239 pass it down.
42240 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42241 elf_machine_rela, elf_machine_lazy_rel.
42242 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42243 (ELF_DYNAMIC_DO_REL): Likewise.
42244 (ELF_DYNAMIC_DO_RELA): Likewise.
42245 (ELF_DYNAMIC_RELOCATE): Likewise.
42246 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42247 to ELF_DYNAMIC_DO_REL.
42248 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42249 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42250 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42251 elf_machine_rela.
42252 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42253 skip_ifunc, don't call ifunc function if non-zero.
42254 (elf_machine_rela): Likewise.
42255 (elf_machine_lazy_rel): Likewise.
42256 (elf_machine_lazy_rela): Likewise.
42257 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42258 (elf_machine_lazy_rel): Likewise.
42259 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42260 Likewise.
42261 (elf_machine_lazy_rel): Likewise.
42262 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42263 Likewise.
42264 (elf_machine_lazy_rel): Likewise.
42265 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42266 (elf_machine_lazy_rel): Likewise.
42267 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42268 (elf_machine_lazy_rel): Likewise.
42269 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42270 (elf_machine_lazy_rel): Likewise.
42271 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42272 (elf_machine_lazy_rel): Likewise.
42273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42274 (elf_machine_lazy_rel): Likewise.
42275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42276 (elf_machine_lazy_rel): Likewise.
42277
42278 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42279
42280 * nss/nss_files/files-init.c (_nss_files_init): Use static
42281 initialization for all the *_traced_file variables.
42282
42283 2011-09-28 Andreas Schwab <schwab@redhat.com>
42284
42285 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42286
42287 2011-09-27 Roland McGrath <roland@hack.frob.com>
42288
42289 [BZ #13226]
42290 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42291
42292 2011-09-27 Andreas Schwab <schwab@redhat.com>
42293
42294 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42295 Reread the line before reparsing it.
42296
42297 2011-09-26 Andreas Schwab <schwab@redhat.com>
42298
42299 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42300
42301 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42302 Maxim Kuvyrkov <maxim@codesourcery.com>
42303 Joseph Myers <joseph@codesourcery.com>
42304
42305 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42306 if needed for __stack_chk_guard.
42307
42308 2011-09-19 Roland McGrath <roland@hack.frob.com>
42309
42310 * sysdeps/posix/spawni.c (script_execute): Always define it.
42311 It will be optimized away if unused.
42312 (maybe_script_execute): New function.
42313 (__spawni): Call it.
42314
42315 * Makerules: Don't include tls.make.
42316 (config-tls): Always set to thread.
42317 * tls.make.c: File removed.
42318
42319 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42320
42321 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42322 * config.make.in (CPPFLAGS-config): New substituted variable.
42323
42324 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42325
42326 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42327
42328 [BZ #13192]
42329 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42330 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42331
42332 2011-09-15 Roland McGrath <roland@hack.frob.com>
42333
42334 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42335 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42337 (CALL_FAIL): Likewise.
42338 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42339 (CALL_FAIL): Macro removed.
42340 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42341
42342 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42343
42344 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42345 for __FINITE_MATH_ONLY__ == 1.
42346
42347 2011-09-15 Andreas Schwab <schwab@redhat.com>
42348
42349 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42350 __ieee754_sqrt instead of sqrt.
42351 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42352 __ieee754_sqrtf instead of sqrtf.
42353 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42354 __floorf instead of floorf.
42355 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42356 __floorf, __truncf instead of floorf, truncf.
42357
42358 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42359
42360 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42361
42362 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42363 __extern_always_inline.
42364 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42365 32-bit.
42366
42367 2011-09-14 Andreas Schwab <schwab@redhat.com>
42368
42369 * elf/rtld.c (dl_main): Also relocate in dependency order when
42370 doing symbol dependency testing.
42371
42372 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42373
42374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42375 Always define `refsym'.
42376
42377 2011-09-13 Andreas Schwab <schwab@redhat.com>
42378
42379 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42380 (__FD_ELT): Renamed from __FDELT.
42381 * misc/bits/select2.h (__FD_ELT): Likewise.
42382 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42383 __FD_MASK instead of __FDELT, __FDMASK.
42384 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42385 Likewise.
42386 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42387 Likewise.
42388
42389 * elf/Makefile (gen-ldd): Fix pattern.
42390
42391 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42392 (init_tls): Likewise.
42393
42394 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42395
42396 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42397
42398 2011-09-12 Andreas Schwab <schwab@redhat.com>
42399
42400 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42401 `struct cmsghdr *' instead of `void *'.
42402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42403 Likewise.
42404
42405 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42406
42407 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42408 if non-absolute.
42409 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42410 ldd_rewrite_script.
42411
42412 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42413
42414 * configure.in: Remove --with-tls option.
42415 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42416 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42417 out in case it is missing.
42418 * sysdeps/ia64/elf/configure.in: Likewise.
42419 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42420 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42421 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42422 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42423 * sysdeps/sh/elf/configure.in: Likewise.
42424 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42425 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42426 * sysdeps/x86_64/elf/configure.in: Likewise.
42427 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42428 * sysdeps/mach/hurd/tls.h: Likewise.
42429
42430 [BZ #13067]
42431 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42432
42433 [BZ #13090]
42434 * configure.in: Fix use of AC_INIT.
42435
42436 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42437
42438 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42439
42440 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42441 __set_errno.
42442 * malloc/hooks.c: Likewise.
42443
42444 [BZ #11929]
42445 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42446 variables statically.
42447 (narenas): Initialize.
42448 (list_lock): Initialize.
42449 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42450 initializtion of main_arena and list_lock. Small cleanups.
42451 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42452 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42453 Add initializers to main_arena and mp_.
42454 (malloc_state): Remove pagesize member. Change all users to use
42455 GLRO(dl_pagesize).
42456
42457 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42458 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42459 is always initialized.
42460
42461 * malloc/malloc.c: Removed unused configurations and dead code.
42462 * malloc/arena.c: Likewise.
42463 * malloc/hooks.c: Likewise.
42464 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42465
42466 * include/tls.h: Removed. USE___THREAD must always be defined.
42467 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42468 * elf/dl-libc.c: Likewise.
42469 * elf/dl-tsd.c: Likewise.
42470 * include/errno.h: Likewise.
42471 * include/netdb.h: Likewise.
42472 * include/resolv.h: Likewise.
42473 * inet/herrno-loc.c: Likewise.
42474 * inet/herrno.c: Likewise.
42475 * malloc/arena.c: Likewise.
42476 * malloc/hooks.c: Likewise.
42477 * malloc/malloc.c: Likewise.
42478 * resolv/res-state.c: Likewise.
42479 * resolv/res_libc.c: Likewise.
42480 * sysdeps/i386/dl-machine.h: Likewise.
42481 * sysdeps/ia64/dl-machine.h: Likewise.
42482 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42483 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42484 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42485 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42486 * sysdeps/sh/dl-machine.h: Likewise.
42487 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42488 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42489 * sysdeps/unix/i386/sysdep.S: Likewise.
42490 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42491 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42496 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42500 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42501 * sysdeps/x86_64/dl-machine.h: Likewise.
42502 * tls.make.c: Likewise.
42503
42504 * configure.in: Remove --with-__thread option. Make tests for
42505 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42506 tls_model attribute fail if no support is available. Remove
42507 USE_IN_LIBIO.
42508 * Makeconfig: Adjust for dropped configure option. All features are
42509 now mandatory.
42510 * Makerules: Likewise.
42511 * Versions.def: Likewise.
42512 * argp/argp-fmtstream.c: Likewise.
42513 * argp/argp-fmtstream.h: Likewise.
42514 * argp/argp-help.c: Likewise.
42515 * assert/assert.c: Likewise.
42516 * config.h.in: Likewise.
42517 * config.make.in: Likewise.
42518 * configure: Likewise.
42519 * configure.in: Likewise.
42520 * csu/Versions: Likewise.
42521 * csu/init.c: Likewise.
42522 * elf/tst-audit2.c: Likewise.
42523 * elf/tst-tls10.c: Likewise.
42524 * elf/tst-tls10.h: Likewise.
42525 * elf/tst-tls11.c: Likewise.
42526 * elf/tst-tls12.c: Likewise.
42527 * elf/tst-tls14.c: Likewise.
42528 * elf/tst-tlsmod11.c: Likewise.
42529 * elf/tst-tlsmod12.c: Likewise.
42530 * elf/tst-tlsmod13.c: Likewise.
42531 * elf/tst-tlsmod13a.c: Likewise.
42532 * elf/tst-tlsmod14a.c: Likewise.
42533 * elf/tst-tlsmod15b.c: Likewise.
42534 * elf/tst-tlsmod16a.c: Likewise.
42535 * elf/tst-tlsmod16b.c: Likewise.
42536 * elf/tst-tlsmod7.c: Likewise.
42537 * elf/tst-tlsmod8.c: Likewise.
42538 * elf/tst-tlsmod9.c: Likewise.
42539 * gmon/gmon.c: Likewise.
42540 * grp/fgetgrent_r.c: Likewise.
42541 * grp/putgrent.c: Likewise.
42542 * hurd/fopenport.c: Likewise.
42543 * include/libc-symbols.h: Likewise.
42544 * include/tls.h: Likewise.
42545 * intl/gettextP.h: Likewise.
42546 * intl/loadinfo.h: Likewise.
42547 * locale/global-locale.c: Likewise.
42548 * locale/localeinfo.h: Likewise.
42549 * mach/devstream.c: Likewise.
42550 * malloc/arena.c: Likewise.
42551 * malloc/set-freeres.c: Likewise.
42552 * misc/err.c: Likewise.
42553 * misc/getttyent.c: Likewise.
42554 * misc/mntent_r.c: Likewise.
42555 * posix/getopt.c: Likewise.
42556 * posix/wordexp.c: Likewise.
42557 * pwd/fgetpwent_r.c: Likewise.
42558 * resolv/Versions: Likewise.
42559 * resolv/res_hconf.c: Likewise.
42560 * shadow/fgetspent_r.c: Likewise.
42561 * shadow/putspent.c: Likewise.
42562 * stdio-common/printf_fphex.c: Likewise.
42563 * stdio-common/tmpfile.c: Likewise.
42564 * stdlib/abort.c: Likewise.
42565 * stdlib/fmtmsg.c: Likewise.
42566 * sunrpc/auth_unix.c: Likewise.
42567 * sunrpc/clnt_perr.c: Likewise.
42568 * sunrpc/clnt_tcp.c: Likewise.
42569 * sunrpc/clnt_udp.c: Likewise.
42570 * sunrpc/clnt_unix.c: Likewise.
42571 * sunrpc/openchild.c: Likewise.
42572 * sunrpc/svc_simple.c: Likewise.
42573 * sunrpc/svc_tcp.c: Likewise.
42574 * sunrpc/svc_udp.c: Likewise.
42575 * sunrpc/svc_unix.c: Likewise.
42576 * sunrpc/xdr.c: Likewise.
42577 * sunrpc/xdr_array.c: Likewise.
42578 * sunrpc/xdr_rec.c: Likewise.
42579 * sunrpc/xdr_ref.c: Likewise.
42580 * sunrpc/xdr_stdio.c: Likewise.
42581
42582 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42583
42584 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42585
42586 2011-07-03 Andreas Jaeger <aj@suse.de>
42587
42588 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42589 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42590 regenerate with gen-libm-tests.pl.
42591
42592 2010-05-12 Petr Baudis <pasky@suse.cz>
42593
42594 [BZ #11589]
42595 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42596 around j0() zero points by switching to j1().
42597 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42600 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42601
42602 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42603
42604 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42605 instead of 0.
42606 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42607 instead of 0.
42608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42609 Patch in part by Pavel Roskin <proski@gnu.org>.
42610
42611 [BZ #13138]
42612 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42613 realloc.
42614 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42615 Free memory block if necessary.
42616
42617 [BZ #12847]
42618 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42619 be NULL. Don't lock in this case.
42620
42621 2011-09-09 Roland McGrath <roland@hack.frob.com>
42622
42623 * elf/elf.h (ELFOSABI_GNU): New macro.
42624 (ELFOSABI_LINUX): Define to that.
42625
42626 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42627
42628 * string/strncat.c (strncat): Undef the symbol in case it has been
42629 defined in bits/string.h.
42630
42631 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42632
42633 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42634
42635 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42636 link map.
42637
42638 2011-08-17 Andreas Jaeger <aj@suse.de>
42639
42640 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42641
42642 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42643 Ian Lance Taylor <iant@google.com>
42644
42645 * math/libm-test.inc (lround_test): New testcase.
42646 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42647
42648 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42649
42650 * Makefile: Remove support for automatic cvs check-ins.
42651 * Makerules: Likewise.
42652 * config.make.in: Likewise.
42653 * configure.in: Likewise.
42654 * intl/Makefile: Likewise.
42655 * locale/Makefile: Likewise.
42656 * po/Makefile: Likewise.
42657 * posix/Makefile: Likewise.
42658 * sysdeps/gnu/Makefile: Likewise.
42659 * sysdeps/mach/hurd/Makefile: Likewise.
42660 * sysdeps/sparc/sparc32/Makefile: Likewise.
42661
42662 [BZ #13118]
42663 * posix/Makefile (bug-regex32-ENV): Define.
42664 Patch by John Stanley <jpsinthemix@verizon.net>.
42665
42666 * misc/Makefile (headers): Add bits/select2.h.
42667 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42668 * misc/bits/select2.h: New file.
42669 * include/bits/select2.h: New file.
42670 * debug/Makefile (routines): Add fdelt_chk.
42671 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42672 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42673 FD_ISSET.
42674 * debug/fdelt_chk.c: New file.
42675
42676 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42677 * wcsmbs/test-wmemcmp.c: Likewise.
42678 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42679 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42680
42681 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42682
42683 * string/Makefile (strop-tests): Add memcmp.
42684 * string/test-wmemcmp.c: New file.
42685 * string/test-memcmp.c: Add wmemcmp support.
42686
42687 2011-09-08 Roland McGrath <roland@hack.frob.com>
42688
42689 [BZ #13153]
42690 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42691 2011-07-19 change.
42692
42693 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42694 garbage value in a __mach_port_mod_refs call in the cases of the
42695 task-self and thread-self ports.
42696
42697 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42698
42699 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42700
42701 2011-09-08 Andreas Schwab <schwab@redhat.com>
42702
42703 * elf/dl-load.c (lose): Check for non-null L.
42704
42705 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42706
42707 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42708
42709 * elf/dl-libc.c (dlerror_run): Pass back error code from
42710 dl_catch_error.
42711
42712 [BZ #13123]
42713 * elf/dl-load.c (lose): Free l_origin if it is valid.
42714
42715 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42716 names.
42717 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42718 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42719 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42720 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42721 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42722 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42723
42724 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42725
42726 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42727 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42728 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42729 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42730 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42731 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42732 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42733 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42734 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42735 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42736
42737 2011-08-15 Alan Modra <amodra@gmail.com>
42738
42739 [BZ #13092]
42740 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42741 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42742 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42743 ppc_mcount to static-only-routines.
42744 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42745 __mcount_internal.
42746 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42747 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42748
42749 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42750
42751 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42752 for finite and infinity parameters.
42753
42754 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42755
42756 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42757 and add nop instructions for throughput optimization.
42758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42759
42760 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42761
42762 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42763 aligned copy for power7 with vector-scalar instructions.
42764 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42765
42766 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42767
42768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42769 AVX check.
42770
42771 2011-09-07 Andreas Schwab <schwab@redhat.com>
42772
42773 [BZ #13144]
42774 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42775 last change.
42776
42777 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42778
42779 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42780 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42781 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42782 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42783 clock_gettime.
42784
42785 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42786
42787 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42788 Forgot to demangle the pointer.
42789
42790 * sysdeps/i386/sysdep.h: Define atom_text_section.
42791 * sysdeps/x86_64/sysdep.h: Likewise.
42792 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42793 section with atom_text_section.
42794 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42795 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42796 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42797 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42798 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42799
42800 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42801 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42802 already be defined. Change to take two parameters and don't assign
42803 result to variable. Adjust all users.
42804 Define INTERNAL_GETTIME if not already defined.
42805 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42806 call.
42807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42808 HAVE_CLOCK_GETTIME_VSYSCALL.
42809 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42810
42811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42812 gettimeofday vsyscall, just use time.
42813
42814 2011-09-06 Andreas Schwab <schwab@redhat.com>
42815
42816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42817 <errno.h>.
42818
42819 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42820
42821 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42822 syscall on x86-64.
42823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42824 syscall.
42825 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42826 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42827 syscall if possible.
42828
42829 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42830
42831 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42832 e_ident. Don't pass to find_mapsXX.
42833 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42834
42835 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42836
42837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42838 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42839 * sysdeps/x86_64/multiarch/strchr.S: Update.
42840 Check bit_slow_BSF bit.
42841 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42842 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42843 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42844
42845 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42846
42847 [BZ #13134]
42848 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42849 before glibc 2.15.
42850 (tryshell): Define.
42851 (__spawni): Change last parameter to be flag. Test
42852 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42853 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42854 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42855 * posix/spawni.c: Likewise.
42856 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42857 * posix/spawnp.c: Likewise. Change normal version to use
42858 SPAWN_XFLAGS_USE_PATH.
42859 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42860 SPAWN_XFLAGS_TRY_SHELL.
42861
42862 [BZ #13150]
42863 * posix/glob.h: Remove gcc 1.x support.
42864
42865 [BZ #13068]
42866 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42867
42868 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42869
42870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42871 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42872 strrchr-sse2-bsf
42873 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42874 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42875 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42876 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42877 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42878 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42879
42880 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42881
42882 * sysdeps/x86_64/wcscmp.S: New file.
42883
42884 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42885 wcscmp-c wcscmp-sse2
42886 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42887 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42888 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42889 * wcsmbs/wcscmp.c: Allow renaming.
42890
42891 2011-09-05 David S. Miller <davem@davemloft.net>
42892
42893 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42894 stack slot, rather than the struct return pointer slot.
42895 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42896 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42898 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42899
42900 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42901
42902 * po/ja.po: Update from translation team.
42903
42904 [BZ #13144]
42905 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42906 kernel in 64-bit binaries.
42907
42908 2011-09-01 David S. Miller <davem@davemloft.net>
42909
42910 * elf/elf.h (HWCAP_SPARC_*): Move to..
42911 * sysdeps/sparc/sysdep.h: this new file and add new values.
42912 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42913 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42914 _DL_HWCAP_COUNT to 24.
42915 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42916 entries.
42917 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42918 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42919 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42921 instead of magic constants.
42922 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42923
42924 2011-08-31 David S. Miller <davem@davemloft.net>
42925
42926 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42928 Reimplement to do errno handling inline.
42929 (SYSCALL_ERROR_HANDLER): New macro.
42930 (__SYSCALL_STRING): Do not do errno handling in asm.
42931 (__CLONE_SYSCALL_STRING): Delete.
42932 (__INTERNAL_SYSCALL_STRING): Delete.
42933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42934 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42935 (PSEUDO): Reimplement to do errno handling inline.
42936 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42937 (SYSCALL_ERROR_HANDLER): New macro.
42938 (__SYSCALL_STRING): Do not do errno handling in asm.
42939 (__CLONE_SYSCALL_STRING): Delete.
42940 (__INTERNAL_SYSCALL_STRING): Delete.
42941 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42942 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42943 i386.
42944 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42945 (inline_syscall*): Add 'err' argument.
42946 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42947 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42948 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42949 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42950
42951 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42952 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42953
42954 2011-08-30 Andreas Schwab <schwab@redhat.com>
42955
42956 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42957
42958 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42959
42960 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42961 directive.
42962
42963 2011-08-24 David S. Miller <davem@davemloft.net>
42964
42965 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42966
42967 2011-08-24 Andreas Schwab <schwab@redhat.com>
42968
42969 * elf/Makefile: Add rules to build and run unload8 test.
42970 * elf/unload8.c: New file.
42971 * elf/unload8mod1.c: New file.
42972 * elf/unload8mod1x.c: New file.
42973 * elf/unload8mod2.c: New file.
42974 * elf/unload8mod3.c: New file.
42975
42976 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42977 it wasn't used.
42978
42979 2011-08-23 David S. Miller <davem@davemloft.net>
42980
42981 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42982 subtract stack bias.
42983 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42984 %sp not %fp in calculations.
42985 (_JMPBUF_UNWINDS_ADJ): Likewise.
42986
42987 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42988 (aio_suspend): Call it to force an exception region around the
42989 AIO_MISC_WAIT() invocation.
42990
42991 2011-08-23 Andreas Schwab <schwab@redhat.com>
42992
42993 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42994 backslash.
42995
42996 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42997
42998 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42999 protection macro.
43000 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43001 and <dl-machine.h>.
43002 (Elf64_FuncDesc): Remove.
43003
43004 2011-08-22 David S. Miller <davem@davemloft.net>
43005
43006 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43007 sigaltstack check, add missing cfi directives.
43008 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43009 missing cfi directives, and sigaltstack handling.
43010
43011 2011-08-16 Andreas Schwab <schwab@redhat.com>
43012
43013 [BZ #11724]
43014 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43015 object is seen twice.
43016 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43017
43018 * elf/Makefile (distribute): Add tst-initorder2.c.
43019 (tests): Add tst-initorder2.
43020 (modules-names): Add tst-initorder2a tst-initorder2b
43021 tst-initorder2c tst-initorder2d. Add rules to build them.
43022 ($(objpfx)tst-initorder2.out): New rule.
43023 * elf/tst-initorder2.c: New file.
43024 * elf/tst-initorder2.exp: New file.
43025
43026 2011-08-22 Andreas Schwab <schwab@redhat.com>
43027
43028 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43029
43030 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43031 dependencies back to end of function.
43032
43033 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43034 $(elfobjdir)/ld.so.
43035
43036 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43037
43038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43039 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43040 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43041 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43042 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43043 of __vdso_gettimeofday.
43044 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43045 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43046 attribute_hidden.
43047 (_libc_vdso_platform_setup): Remove initialization of
43048 __vdso_gettimeofday and __vdso_time.
43049
43050 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43051
43052 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43053 and fgetc_unlocked.
43054 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43055 getc_unlocked.
43056
43057 * elf/dl-open.c (add_to_global): Report additions to the global scope
43058 for LD_DEBUG=scopes.
43059 (dl_open_worker): Also print scope of newly loaded dependencies.
43060 (_dl_show_scope): Indicate if there is no scope.
43061
43062 [BZ #13114]
43063 * stdio-common/Makefile (tests): Add bug24.
43064 * stdio-common/bug24.c: New file.
43065
43066 2011-08-19 Andreas Jaeger <aj@suse.de>
43067
43068 [BZ #13114]
43069 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43070 non-existant file when using close-on-exec mode.
43071
43072 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43073
43074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43075 the very first instruction.
43076
43077 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43078 the CFI state in the end.
43079 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43080 inclusion of dl-trampoline.h.
43081 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43082
43083 2011-08-19 Andreas Schwab <schwab@redhat.com>
43084
43085 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43086 expectations for long double.
43087
43088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43089 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43090
43091 2011-08-14 David S. Miller <davem@davemloft.net>
43092
43093 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43094 artificual limit depends upon the system page size.
43095
43096 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43097
43098 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43099 * resolv/Makefile: Define CFLAGS-libresolv.
43100
43101 2011-08-17 Andreas Schwab <schwab@redhat.com>
43102
43103 * nss/makedb.c (compute_tables): Make variables used in nested
43104 function static.
43105
43106 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43107
43108 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43109 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43110 if buffer was too small.
43111
43112 * elf/pldd.c (main): Attach to all threads in the process.
43113 Rewrite /proc handling to use *at functions.
43114
43115 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43116
43117 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43118 specifies first scope to show.
43119 (dl_open_worker): Update callers. Move printing scope of new
43120 object to before the relocation.
43121 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43122 * sysdeps/generic/ldsodefs.h: Update declaration.
43123
43124 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43125 string for the scope number.
43126
43127 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43128
43129 * nscd/servicescache.c (cache_addserv): Make sure written is always
43130 initialized.
43131
43132 2011-08-14 Roland McGrath <roland@hack.frob.com>
43133
43134 * sysdeps/i386/i486/bits/atomic.h
43135 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43136 statement expression, so as to suppress "set but not used" warning.
43137 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43138
43139 * string/strncat.c (STRNCAT): Use prototype definition.
43140
43141 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43142 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43143 -Iprograms here.
43144 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43145 (localedef-modules): Add localedef.
43146 (locale-modules): Add locale.
43147
43148 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43149 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43150 to avoid a warning.
43151
43152 2011-08-14 David S. Miller <davem@davemloft.net>
43153
43154 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43155 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43156
43157 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43158
43159 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43160 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43161 * elf/rtld.c (dl_main): Set l_name of vDSO.
43162 Call _dl_show_scope when DL_DEBUG_SCOPES.
43163 (process_dl_debug): Recognize scopes flag and also set it for all.
43164 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43165 Declare _dl_show_scope.
43166
43167 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43168 (do_dlopen): Pass caller_dlopen to dl_open.
43169 (__libc_dlopen_mode): Initialize caller_dlopen.
43170
43171 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43172 of libc. Make tolower call locale-independent. Optimize a bit by
43173 using isdigit instead of isalnum.
43174 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43175
43176 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43177
43178 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43179 was a dependency or dynamically loaded.
43180
43181 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43182
43183 * intl/l10nflist.c: Allow architecture-specific pop function.
43184 * sysdeps/x86_64/l10nflist.c: New file.
43185
43186 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43187 classification.
43188
43189 2011-08-10 Andreas Schwab <schwab@redhat.com>
43190
43191 * include/dirent.h: Add libc_hidden_proto for scandirat and
43192 scandirat64. Don't declare __scandirat64.
43193 * dirent/scandirat.c: Add libc_hidden_def.
43194 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43195 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43196
43197 2011-08-10 David S. Miller <davem@davemloft.net>
43198
43199 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43200 enum.
43201 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43203 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43204
43205 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43206
43207 * Versions.def [libc]: Add GLIBC_2.15.
43208 * dirent/Makefile (routines): Add scandirat and scandirat64.
43209 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43210 GLIBC_2.15.
43211 * dirent/dirent.h: Declare scandirat and scandirat64.
43212 * dirent/scandirat.c: New file.
43213 * dirent/scandirat64.c: New file.
43214 * sysdeps/wordsize-64/scandirat.c: New file.
43215 * sysdeps/wordsize-64/scandirat64.c: New file.
43216 * dirent/opendir.c: Define opendirat.
43217 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43218 using scandirat.
43219 * dirent/scandir64.c: Adjust for scandir.c change.
43220 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43221 __scandirat64, and __scandir_cancel_handler.
43222 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43223 additional parameter and use openat instead of open (outside of ld.so).
43224 Add new __opendir as wrapper around __opendirat.
43225 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43226 here without requiring old scandirat implementation.
43227
43228 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43229
43230 * dirent/scandir.c (cancel_handler): Renamed to
43231 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43232 defined. Adjust users.
43233 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43234 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43235
43236 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43237
43238 * string/test-string.h (IMPL): Use __STRING to expand name and then
43239 stringify it.
43240
43241 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43242 of cleanups.
43243
43244 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43245
43246 * string/Makefile: Update.
43247 (strop-tests): Append strncat.
43248 * string/test-wcscmp.c: New file.
43249 New comprehensive test for wcscmp.
43250 * string/test-strcmp.c: Update.
43251 (WIDE): New define.
43252
43253 2011-07-22 Andreas Schwab <schwab@redhat.com>
43254
43255 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43256 line.
43257
43258 2011-07-26 Andreas Schwab <schwab@redhat.com>
43259
43260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43261 encoding to ACE if AI_IDN.
43262
43263 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43264
43265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43266 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43267
43268 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43269
43270 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43271 Fix overflow bug in strncat.
43272 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43273
43274 * string/test-strncat.c: Update.
43275 Add new tests for checking overflow bugs.
43276
43277 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43278
43279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43280 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43281 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43282 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43283 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43284 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43285 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43286 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43287 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43288
43289 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43290 (USE_AS_STRCAT): Define.
43291 Add strcat and strncat support.
43292 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43293
43294 2011-07-25 Andreas Schwab <schwab@redhat.com>
43295
43296 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43297 __n bigger than INT_MAX+1.
43298 (__strncmp_g): Likewise.
43299
43300 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43301
43302 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43303 * libio/stido.h: Likewise.
43304
43305 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43306 (AF_NFC): Define.
43307 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43308 (AF_NFC): Define.
43309
43310 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43311 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43312 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43313 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43314 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43315
43316 [BZ #13021]
43317 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43318 installed.
43319
43320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43321 typo.
43322 (_dl_x86_64_save_sse): Likewise.
43323
43324 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43325
43326 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43327 OSXSAVE.
43328 (_dl_x86_64_save_sse): Likewise.
43329
43330 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43331
43332 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43333
43334 2011-07-21 Andreas Schwab <schwab@redhat.com>
43335
43336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43337 change.
43338 (_dl_x86_64_save_sse): Use correct AVX check.
43339
43340 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43341
43342 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43343 bug in strncpy/strncat.
43344 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43345
43346 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43347
43348 * string/tester.c (test_strcat): Add tests for different alignments
43349 of source and destination.
43350 (test_strncat): Likewise.
43351
43352 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43353
43354 [BZ #12852]
43355 * posix/glob.c (glob): Check passed in values before using them in
43356 expressions to avoid some overflows.
43357 (glob_in_dir): Likewise.
43358
43359 [BZ #13007]
43360 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43361 check for AVX enablement so that we don't crash with old kernels and
43362 new hardware.
43363 * elf/tst-audit4.c: Add same checks here.
43364 * elf/tst-audit6.c: Likewise.
43365
43366 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43367
43368 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43369
43370 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43371
43372 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43373
43374 * po/cs.po: Update from translation team.
43375 * po/bg.po: Likewise.
43376
43377 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43378
43379 * misc/sys/cdefs.h: Add support for const attribute.
43380 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43381 to gnu_dev_{major,minor,makedev} functions.
43382
43383 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43384
43385 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43386
43387 2011-07-20 Andreas Schwab <schwab@redhat.com>
43388
43389 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43390 strlen results.
43391
43392 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43393
43394 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43395 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43396 register in order to avoid conflicts with the soft frame pointer
43397 being held in r11 when necessary.
43398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43399 (INTERNAL_VSYSCALL_NCS): Likewise.
43400
43401 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43402
43403 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43404 * elf/dl-fini.c (_dl_fini): Adjust caller.
43405 * elf/dl-close.c (_dl_close_worker): Likewise.
43406 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43407
43408 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43409
43410 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43411 "aux_cache->nlibs < 0".
43412
43413 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43414 in the reload-count case.
43415
43416 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43417
43418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43419 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43420 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43421 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43422 * sysdeps/x86_64/multiarch/strcat.S: New file.
43423 * sysdeps/x86_64/multiarch/strncat.S: New file.
43424 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43425 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43426 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43427 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43428 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43429 (USE_AS_STRCAT): Define.
43430 Add strcat and strncat support.
43431 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43432 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43433 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43434 * string/strncat.c: Update.
43435 (USE_AS_STRNCAT): Define.
43436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43437 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43438 and i7.
43439 * sysdeps/x86_64/multiarch/init-arch.h
43440 (bit_Prefer_PMINUB_for_stringop): New.
43441 (index_Prefer_PMINUB_for_stringop): Likewise.
43442 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43443 bit_Prefer_PMINUB_for_stringop.
43444
43445 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43446
43447 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43448 buffer64.
43449 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43450 of casting of buffer.
43451 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43452 buffer32 and buffer64.
43453 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43454 writes instead of casting of buffer.
43455 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43456 buffer32.
43457 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43458 casting of buffer.
43459
43460 2011-07-19 Andreas Schwab <schwab@redhat.com>
43461
43462 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43463
43464 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43465
43466 * nscd/nscd.c (termination_handler): Don't do anything for a database
43467 if it has not yet been initialized.
43468
43469 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43470
43471 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43472
43473 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43474
43475 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43476
43477 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43478
43479 * po/nl.po: Update from translation team.
43480 * po/sv.po: Likewise.
43481
43482 2011-07-16 Roland McGrath <roland@hack.frob.com>
43483
43484 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43485 now disallowed by GCC.
43486
43487 * configure.in (use-default-link): Default to yes if a test -shared
43488 link meets our qualifications.
43489 * configure: Regenerated.
43490
43491 * config.make.in (output-format): New variable.
43492 * configure.in: Check for ld --print-output-format support.
43493 * configure: Regenerated.
43494 * Makerules ($(common-objpfx)format.lds)
43495 [$(output-format) != unknown]: Just use $(output-format),
43496 instead of the linker-script munging.
43497
43498 2011-07-14 Roland McGrath <roland@hack.frob.com>
43499
43500 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43501 of $(common-objpfx)shlib.lds.
43502 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43503
43504 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43505 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43506
43507 * configure.in (-z relro check): Adjust test code to add a large
43508 writable data section after it.
43509 * configure: Regenerated.
43510
43511 2011-07-11 Roland McGrath <roland@hack.frob.com>
43512
43513 * configure.in (-z relro check): Fix test code to make the variable
43514 truly const.
43515 * configure: Regenerated.
43516
43517 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43518
43519 * nscd/nscd.h (struct traced_file): Define.
43520 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43521 elements. Add traced_files.
43522 (inotify_fd): Declare.
43523 (register_traced_file): Declare.
43524 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43525 (inotify_fd): Export.
43526 (resolv_conf_descr): Remove.
43527 (nscd_init): Move inotify descriptor creation to main.
43528 Don't register files for notification here.
43529 (register_traced_file): New function.
43530 (invalidate_cache): Don't use reset_res to determine whether to call
43531 res_init, go through the list of registered files.
43532 (main_loop_poll): The inotify descriptors are now stored in the
43533 structures for the traced files.
43534 (main_loop_epoll): Likewise
43535 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43536 to __nss_disable_nscd.
43537 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43538 for a database anymore. Check the records for all the registered
43539 files instead.
43540 * nss/Makefile (libnss_files-routines): Add files-init.
43541 (libnss_db-routines): Add db-init.
43542 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43543 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43544 * nss/nss_db/db-init.c: New file.
43545 * nss/nss_files/files-init.c: New file.
43546 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43547 __nss_lookup_function.
43548 (__nss_lookup_function): Call nss_load_library.
43549 (nss_load_all_libraries): New function.
43550 (__nss_disable_nscd): Take parameter with callback function for files
43551 to register. Set is_nscd. Load all the DSOs for the NSS modules
43552 used for the cached services.
43553 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43554 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43555 options for features to all the files in nscd.
43556
43557 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43558
43559 2011-07-10 Roland McGrath <roland@hack.frob.com>
43560
43561 * csu/elf-init.c (__libc_csu_init): Comment typo.
43562
43563 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43564
43565 * po/pl.po: Update from translation team.
43566 * po/ja.po: Likewise.
43567 * po/ru.po: Likewise.
43568 * po/ko.po: Likewise.
43569 * po/fr.po: Likewise.
43570
43571 2011-07-09 Roland McGrath <roland@hack.frob.com>
43572
43573 * configure.in (.ctors/.dtors header and trailer check):
43574 Use an empirical test on a built program.
43575 * configure: Regenerated.
43576
43577 * configure.in (-z relro check): Use an empirical test on a built DSO.
43578 Detect, but do not require, on ia64.
43579 * configure: Regenerated.
43580
43581 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43582 Update tests that use readelf to use $READELF instead.
43583 * configure: Regenerated.
43584
43585 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43586
43587 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43588 if the result is not used.
43589
43590 2011-07-05 Andreas Jaeger <aj@suse.de>
43591
43592 [BZ#9696]
43593 * stdlib/tst-strtod.c: Add testcase.
43594
43595 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43596
43597 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43598 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43599 The latter has a higher limit. Take additional parameter to pass to
43600 the new function.
43601 (__pathconf): Pass file to __statfs_link_max.
43602 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43603 __statfs_link_max.
43604 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43605 __statfs_link_max.
43606
43607 [BZ #12868]
43608 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43609 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43610 Handle Lustre.
43611 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43612 (__statfs_filesize_max): Likewise.
43613 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43614
43615 2011-07-05 Andreas Jaeger <aj@suse.de>
43616
43617 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43618
43619 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43620
43621 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43622 `status' variable.
43623 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43624 Likewise.
43625
43626 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43627
43628 * Makefile (strop-tests): Add strncat.
43629 * string/test-strncat.c: New file.
43630
43631 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43632
43633 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43634
43635 2011-06-21 Andreas Jaeger <aj@suse.de>
43636
43637 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43638 Copy rule from iconvdata/Makefile.
43639
43640 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43641
43642 [BZ #12922]
43643 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43644 but no long options are defined, just return 'W'.
43645
43646 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43647
43648 [BZ #9696]
43649 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43650
43651 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43652
43653 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43654 netgroups to read.
43655 (innetgr): Likewise.
43656
43657 2011-07-05 Roland McGrath <roland@hack.frob.com>
43658
43659 * config.make.in (install_root): Default to $(DESTDIR).
43660
43661 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43662
43663 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43664
43665 2011-07-02 Roland McGrath <roland@hack.frob.com>
43666
43667 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43668
43669 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43670 containing directory rather than embedding absolute directory names.
43671
43672 * scripts/check-local-headers.sh: Rewritten using awk.
43673 Match by word, not by line. Print error messages for matches.
43674 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43675
43676 * Makerules [shlib-lds-flags empty]:
43677 ($(common-objpfx)libc_pic.opts): New target.
43678 ($(common-objpfx)libc_pic.os.clean): New target.
43679 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43680
43681 * config.make.in (OBJCOPY): New variable.
43682 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43683 * configure: Regenerated.
43684
43685 * config.make.in (use-default-link): New variable.
43686 * configure.in (use_default_link): Grok --with-default-link to set it.
43687 * configure: Regenerated.
43688 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43689 (shlib-lds, shlib-lds-flags): Define to empty.
43690
43691 * Makerules (shlib-lds): New variable.
43692 (shlib-lds-flags): New variable.
43693 (build-shlib, build-moduile, build-module-asneeded): Use it.
43694 ($(common-objpfx)libc.so): Use $(shlib-lds).
43695 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43696 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43697
43698 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43699 DT_FLAGS/DT_FLAGS_1 with zero flags.
43700
43701 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43702 linker script munging.
43703
43704 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43705
43706 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43707 as 128-bit value.
43708 * crypt/sha512.c (sha512_process_block): Perform total addition using
43709 128-bit if possible.
43710 (__sha512_finish_ctx): Likewise.
43711 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43712 as 64-bit value.
43713 * crypt/sha256.c (SWAP64): Define.
43714 (sha256_process_block): Perform total addition using 64-bit if
43715 possible.
43716 (__sha256_finish_ctx): Likewise.
43717
43718 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43719
43720 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43721 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43722 * nscd/hstcache.c (cache_addhst): Likewise.
43723 * nscd/grpcache.c (cache_addgr): Likewise.
43724 * nscd/aicache.c (addhstaiX): Likewise
43725 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43726
43727 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43728
43729 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43730 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43731 * nscd/hstcache.c (cache_addhst): Likewise.
43732 * nscd/grpcache.c (cache_addgr): Likewise.
43733 * nscd/aicache.c (addhstaiX): Likewise
43734
43735 2011-07-01 Andreas Schwab <schwab@redhat.com>
43736
43737 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43738 domain only when needed.
43739
43740 2011-06-30 Andreas Schwab <schwab@redhat.com>
43741
43742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43743 is always restored.
43744
43745 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43746
43747 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43748 are re-adding the entry.
43749 * nscd/servicescache.c (cache_addserv): Likewise.
43750
43751 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43752
43753 * sysdeps/generic/dl-irel.h: fix protection against multiple
43754 inclusions.
43755 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43756
43757 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43758
43759 [BZ #12935]
43760 * malloc/memusage.sh: Fix quoting in message.
43761 * debug/xtrace.sh: Likewise.
43762
43763 * configure.in: Remove support for --experimental-malloc option, make
43764 it the default.
43765 * config.make.in: Likewise.
43766 * malloc/Makefile: Likewise.
43767
43768 2011-06-27 Andreas Schwab <schwab@redhat.com>
43769
43770 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43771 two-byte characters.
43772
43773 2011-06-27 Roland McGrath <roland@hack.frob.com>
43774
43775 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43776 AC_CACHE_CHECK invocation.
43777 * configure: Regenerated.
43778
43779 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43780
43781 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43782
43783 [BZ #12350]
43784 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43785 bit from old_res_options.
43786
43787 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43788
43789 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43790 value type for setfct.
43791
43792 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43793
43794 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43795 __gettimeofday instead of gettimeofday.
43796
43797 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43798
43799 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43800
43801 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43802
43803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43804
43805 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43806 info.
43807
43808 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43809
43810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43811 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43812 strcpy-sse2-unaligned strncpy-sse2-unaligned
43813 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43814 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43815 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43816 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43817 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43818 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43819 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43820 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43821 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43822 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43823 (STRCPY): Support SSE2 and SSSE3 versions.
43824
43825 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43826
43827 [BZ #12874]
43828 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43829 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43830 kernels which artificially limit size of requests.
43831
43832 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43833
43834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43835 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43836 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43837 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43838 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43839 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43840 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43841 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43842 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43844 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43845 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43846 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43847 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43848 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43850 Enable unaligned load optimization for Intel Core i3, i5 and i7
43851 processors.
43852 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43853 Define.
43854 (index_Fast_Unaligned_Load): Define.
43855 (HAS_FAST_UNALIGNED_LOAD): Define.
43856
43857 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43858
43859 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43860
43861 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43862
43863 [BZ #12907]
43864 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43865 until it is clear that the information is realy needed.
43866 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43867
43868 2011-06-22 Andreas Schwab <schwab@redhat.com>
43869
43870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43871
43872 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43873
43874 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43875 /sys/devices/system/cpu/online if it is usable.
43876
43877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43878 reading the information from the /proc filesystem to once a second.
43879
43880 2011-06-21 Andreas Jaeger <aj@suse.de>
43881
43882 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43883 NULL after inclusion of kernel headers.
43884
43885 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43886
43887 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43888 calls to internal_setent.
43889
43890 [BZ #12885]
43891 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43892 addresses using gethostbyname4_r ignore IPv4 addresses.
43893
43894 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43895 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43896
43897 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43898
43899 2011-06-20 David S. Miller <davem@davemloft.net>
43900
43901 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43902 inclusions.
43903 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43904
43905 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43906 (elf_irel): Use it.
43907 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43908 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43909 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43910 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43911 * sysdeps/x86_64/dl-irel.h: Likewise.
43912
43913 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43914 * elf/dl-sym.c: Likewise.
43915
43916 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43917
43918 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43919 need to dereference resplen2.
43920
43921 2011-06-14 Andreas Schwab <schwab@redhat.com>
43922
43923 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43924
43925 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43926
43927 * Makeconfig: Define vardbdir and inst_vardbdir.
43928 * nss/Makefile: Add rules to install db-Makefile.
43929
43930 * nss/nss_db/db-XXX.c: Cleanup.
43931
43932 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43933 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43934 GLIBC_PRIVATE.
43935 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43936 * nss/makedb.c: Implement -g option to specify that value strings
43937 are generated and should not be added to table iterated over for
43938 get*ent calls.
43939 * nss/nss_db/db-initgroups.c: New file.
43940
43941 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43942 interface.
43943
43944 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43945 (internal_getgrouplist): Adjust to name change.
43946 Update use_initgroups_entry if this is not the first call.
43947 * nss/databases.def: Add initgroups entry.
43948
43949 * nss/makedb.c (compute_tables): Check result of multiple hash table
43950 sizes to minimize maximum chain length.
43951
43952 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43953
43954 * Versions.def: Add entry for libnss_db.
43955 * shlib-versions: Likewise.
43956 * nss/Makefile: Add rules to build libnss_db.
43957 * nss/Versions: Add libnss_db information. Organize libnss_files
43958 entries better.
43959 * nss/db-Makefile: Add gshadow support. Change rules for the new
43960 makedb progra. Some minor improvements to generate smaller files.
43961 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43962 here from...
43963 * nss/makedb.c: ...here.
43964 Improve database format to be smaller and require less memory at
43965 runtime.
43966 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43967 db anymore.
43968 * nss/nss_db/db-netgrp.c: Likewise.
43969 * nss/nss_db/db-open.c: Likewise.
43970 * nss/nss_files/flies-XXX.x: Adjust comments.
43971 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43972 * nss/nss_files/files-grp.c: Likewise.
43973 * nss/nss_files/files-hosts.c: Likewise.
43974 * nss/nss_files/files-network.c: Likewise.
43975 * nss/nss_files/files-proto.c: Likewise.
43976 * nss/nss_files/files-pwd.c: Likewise.
43977 * nss/nss_files/files-rpc.c: Likewise.
43978 * nss/nss_files/files-service.c: Likewise.
43979 * nss/nss_files/files-sgrp.c: Likewise.
43980 * nss/nss_files/files-spwd.c: Likewise.
43981 * nss/nss_db/db-alias.c: Removed.
43982 * nss/nss_db/dummy-db.h: Removed.
43983
43984 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43985
43986 * nss/makedb.c: Rewritten to not use database library.
43987 * nss/Makefile: Update to build new makedb program.
43988
43989 2011-06-14 Andreas Jaeger <aj@suse.de>
43990
43991 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43992 memset declaration.
43993
43994 2011-06-10 Andreas Schwab <schwab@redhat.com>
43995
43996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43997 tmpbuf.
43998
43999 2011-06-10 Roland McGrath <roland@hack.frob.com>
44000
44001 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44002 * elf/Makefile ($(objpfx)ld.so): Likewise.
44003
44004 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44005 Don't list ld.so twice in dependencies.
44006
44007 * posix/bug-regex31.c: Include <stdlib.h>.
44008
44009 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44010
44011 * nis/nss_compat/compat-spwd.c
44012 (getspent_next_nss_netgr): Remove unused variable.
44013 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44014
44015 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44016 nonmembers" output to use the right array.
44017
44018 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44019
44020 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44021
44022 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44023 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44024 * catgets/gencat.c (read_input_file): Likewise.
44025 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44026
44027 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44028 variable definition inside #if's controlling its use.
44029
44030 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44031
44032 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44033
44034 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44035
44036 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44037 unreachable code.
44038
44039 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44040
44041 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44042 * configure: Regenerated.
44043
44044 * Makerules: Revert last change.
44045 * elf/Makefile: Likewise.
44046
44047 2011-06-09 Roland McGrath <roland@hack.frob.com>
44048
44049 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44050 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44051 (reloc-link): Likewise.
44052
44053 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44054
44055 * elf/Makefile: Add rules to build pldd.
44056 * elf/pldd.c: New file.
44057 * elf/pldd-xx.c: New file.
44058
44059 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44060
44061 * version.h: Update for 2.15 development version.
44062
44063 2011-06-07 David S. Miller <davem@davemloft.net>
44064
44065 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44066 ifuncs.
44067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44068 elf_machine_lazy_rel): Likewise.
44069 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44071 elf_machine_lazy_rel): Likewise.
44072 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44073 dl_hwcap via passed in argument.
44074 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44075 Likewise.
44076
44077 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44078
44079 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44080
44081 2011-06-06 Roland McGrath <roland@hack.frob.com>
44082
44083 [BZ #12849]
44084 * manual/fdl-1.1.texi: New file, verbatim from:
44085 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44086 * manual/lgpl-2.1.texi: New file, verbatim from:
44087 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44088 * manual/Makefile (licenses): New variable, list those new file names.
44089 (texis): Use it.
44090 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44091
44092 * manual/fdl.texi: File removed.
44093 * manual/lesser.texi: File removed.
44094 * manual/libc.texinfo (Copying, Documentation License):
44095 Use new @include file names, put @appendix directive before @include.
44096
44097 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44098
44099 [BZ #12841]
44100 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44101 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44102 (mq_open): Add __NTH.
44103
44104 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44105
44106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44107 Assume Intel Core i3/i5/i7 processor if AVX is available.
44108
44109 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44110
44111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44112 typo.
44113
44114 2011-05-31 Andreas Schwab <schwab@redhat.com>
44115
44116 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44117 memory. Use alloca_account. Fix memory leak when retrying.
44118
44119 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44120
44121 * version.h (RELEASE): Bump for 2.14 release.
44122 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44123
44124 * config.make.in (RANLIB): Remove entry.
44125
44126 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44127
44128 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44129 (libc.pot): Work around missing support for .ksh extension in xgettext.
44130
44131 [BZ #12684]
44132 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44133 if both request failed.
44134 (send_dg): In case of server errors clear resplen or *resplen2.
44135
44136 [BZ #12454]
44137 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44138 when there are multiple maps.
44139 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44140 (_dl_fini): Remove test here.
44141
44142 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44143
44144 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44145
44146 [BZ #12350]
44147 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44148 bit from old_res_options.
44149 (gaih_inet): Likewise.
44150
44151 [BZ #11099]
44152 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44153 as signed.
44154
44155 * resolv/res_init.c (res_setoptions): Make the code more compact.
44156
44157 [BZ #11558]
44158 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44159 set RES_USEVC.
44160
44161 [BZ #11634]
44162 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44163
44164 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44165
44166 [BZ #11781]
44167 * malloc/malloc.h: Declare malloc hook variables as volatile.
44168
44169 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44170 in last patch.
44171
44172 [BZ #11799]
44173 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44174 raise in the comment.
44175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44176 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44177 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44178
44179 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44180
44181 [BZ #12811]
44182 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44183 grow the buffers more if it already has to be sufficient.
44184 (build_wcs_upper_buffer): Likewise.
44185 * posix/regexec.c (check_matching): Likewise.
44186 (clean_state_log_if_needed): Likewise.
44187 (extend_buffers): Don't enlarge buffers beyond size of the input
44188 buffer.
44189 Patches mostly by Emil Wojak <emil@wojak.eu>.
44190 * posix/bug-regex32.c: New file.
44191 * posix/Makefile (tests): Add bug-regex32.
44192
44193 * locale/findlocale.c (_nl_find_locale): Return right away if
44194 _nl_explode_name failed.
44195 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44196
44197 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44198
44199 * debug/xtrace.sh: Unify messages.
44200 * malloc/memusage.sh: Likewise.
44201
44202 [BZ #12813]
44203 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44204 time symbol from vDSO. Substitute with vsyscall if not available.
44205 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44206 __vdso_time.
44207
44208 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44209 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44210 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44211 Add sendmmsg and internal_sendmmsg.
44212 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44213 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44214 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44215
44216 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44217 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44218 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44219
44220 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44221
44222 [BZ #12813]
44223 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44224 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44225 available.
44226 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44227 __vdso_getcpu.
44228
44229 [BZ #12814]
44230 * iconvdata/Makefile (tests): Add bug-iconv9.
44231 * iconvdata/bug-iconv9.c: New file.
44232
44233 2011-05-27 Andreas Schwab <schwab@redhat.com>
44234
44235 [BZ #12814]
44236 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44237
44238 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44239
44240 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44241 (struct user_regs_struct): Change intcs field back to cs.
44242
44243 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44244
44245 * po/ja.po: Update from translation team.
44246
44247 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44248
44249 [BZ #12795]
44250 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44251 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44252
44253 2011-05-20 Andreas Schwab <schwab@redhat.com>
44254
44255 * stdlib/longlong.h: Update from GCC.
44256
44257 2011-05-23 Andreas Schwab <schwab@redhat.com>
44258
44259 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44260 parameter name.
44261 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44262 Add parameter name.
44263 (__sysconf): Pass it down.
44264
44265 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44266
44267 [BZ #12671]
44268 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44269 some situations.
44270 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44271 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44272 add in in __libc_use_alloca calls. Adjust callers.
44273 (glob): Use malloc in some situations.
44274
44275 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44276 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44277 pltexit.
44278
44279 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44280
44281 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44282 and CLOCK_BOOTTIME_ALARM.
44283
44284 [BZ #12782]
44285 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44286 is returned.
44287
44288 * string/_strerror.c (__strerror_r): Print negative errors as signed
44289 numbers.
44290
44291 [BZ #12777]
44292 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44293 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44294 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44295
44296 * configure.in: Fix typo in redirection and correct removal of test
44297 files in two cases.
44298
44299 [BZ #12788]
44300 * locale/setlocale.c (new_composite_name): Fix test to check for
44301 identical name of all categories.
44302
44303 [BZ #12792]
44304 * libio/filedoalloc.c (local_isatty): New function.
44305 (_IO_file_doallocate): Use local_isatty.
44306 * stdio-common/perror.c (perror): In case a new stream is used
44307 forward the stream error.
44308 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44309 error flag.
44310
44311 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44312
44313 [BZ #11869]
44314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44315 alloca.
44316 * include/alloca.h (extend_alloca_account): Define.
44317
44318 [BZ #11857]
44319 * posix/regex.h: Fix comments with documentation of user-accessible
44320 fields after compilation and describe correct free'ing of pattern
44321 after re_compile_pattern.
44322 Patch by Reuben Thomas <rrt@sc3d.org>.
44323
44324 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44325
44326 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44327 and -mno-altivec to prevent the compiler from using Altivec and/or
44328 VSX instructions when the corresponding registers are not available.
44329
44330 2011-05-19 Andreas Schwab <schwab@redhat.com>
44331
44332 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44333
44334 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44335
44336 * libio/freopen.c (freopen): Use __dup2, not dup2.
44337 * libio/freopen64.c (freopen64): Likewise.
44338
44339 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44340
44341 [BZ #12775]
44342 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44343 * math/Makefile (tests): Add test-powl.
44344 (CFLAGS-test-powl.c): Define.
44345 * math/test-powl.c: New file.
44346
44347 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44348
44349 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44350
44351 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44352
44353 [BZ #11837]
44354 * iconvdata/gb18030.c: Update to GB18020-2005.
44355
44356 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44357
44358 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44359 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44360 Patch by Aharon Robbins <arnold@skeeve.com>.
44361
44362 [BZ #11892]
44363 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44364 on the stack.
44365
44366 [BZ #11895]
44367 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44368 through underflows.
44369
44370 [BZ #12766]
44371 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44372 point to strings before performing equality test for error_one_per_line
44373 mode.
44374
44375 [BZ #11697]
44376 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44377
44378 [BZ #11820]
44379 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44380 (struct user_fpregs_struct): Avoid __uint*_t types.
44381
44382 [BZ #6420]
44383 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44384 symbol info. Use it instead of calling _dl_addr locally.
44385 (lock_and_info): New function.
44386 (tr_freehook): Call lock_and_info and pass symbol info as additional
44387 parameter to tr_where.
44388 (tr_mallochook): Likewise.
44389 (tr_reallochook): Likewise.
44390 (tr_memalignhook): Likewise.
44391
44392 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44393 used and couldn't be at all thread-safe.
44394
44395 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44396
44397 * libio/freopen.c (freopen): Don't close old file descriptor
44398 before the new one is opened. Instead dup the new file descriptor
44399 to the old one after the new stream is created.
44400 * libio/freopen64.c (freopen64): Likewise.
44401 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44402 * libio/fileops.c (_IO_new_file_close_it): Handle new
44403 _IO_FLAGS2_NOCLOSE flag.
44404 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44405 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44406 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44407 _IO_FLAGS2_NOCLOSE flag.
44408 * include/unistd.h: Add hidden_proto for dup3.
44409 Define __have_dup3.
44410 * io/dup3.c: Define hidden symbol.
44411 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44412
44413 [BZ #7101]
44414 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44415 when an incomplete long option is used.
44416 * posix/tst-getopt_long1.c: New file.
44417 * posix/Makefile (tests): Add tst-getopt_long1.
44418
44419 [BZ #10138]
44420 * scripts/config.guess: Update from autoconf-2.68.
44421 * scripts/config.sub: Likewise.
44422
44423 [BZ #10157]
44424 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44425 tests into ...
44426 (has_cpuclock): ...this. New function.
44427 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44428 macro here based on has_cpuclock code.
44429
44430 [BZ #10149]
44431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44432 First byte (not low byte) is now always NUL.
44433 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44434
44435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44436 Use non-cancelable interfaces.
44437
44438 [BZ #9809]
44439 * locale/iso-639.def: Add entry for Sorani.
44440
44441 [BZ #11901]
44442 * include/stdlib.h: Move include protection to the right place.
44443 Define abort_msg_s. Declare __abort_msg with it.
44444 * stdlib/abort.c (__abort_msg): Adjust type.
44445 * assert/assert.c (__assert_fail_base): New function. Majority
44446 of code from __assert_fail. Allocate memory for __abort_msg with
44447 mmap.
44448 (__assert_fail): Now call __assert_fail_base.
44449 * assert/assert-perr.c: Remove bulk of implementation. Use
44450 __assert_fail_base.
44451 * include/assert.hL Declare __assert_fail_base.
44452 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44453 mmap.
44454 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44455
44456 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44457
44458 [BZ #11952]
44459 [BZ #12453]
44460 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44461 until all modules are registered in the DTV.
44462 * elf/Makefile: Add rules to build and run tst-tls19.
44463 * elf/tst-tls19.c: New file.
44464 * elf/tst-tls19mod1.c: New file.
44465 * elf/tst-tls19mod2.c: New file.
44466 * elf/tst-tls19mod3.c: New file.
44467 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44468
44469 [BZ #12083]
44470 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44471 correctly.
44472
44473 [BZ #12601]
44474 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44475 two-byte sequence errors.
44476 * iconvdata/Makefile (tests): Add bug-iconv8.
44477 * iconvdata/bug-iconv8.c: New file.
44478
44479 [BZ #12626]
44480 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44481 buf2 definition.
44482
44483 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44484
44485 [BZ #12432]
44486 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44487 (dummy_getcfa): New function.
44488 (init): Get _Unwind_GetCFA address, use dummy if not found.
44489 (backtrace_helper): In recursion check, also check whether CFA changes.
44490 (__backtrace): Completely initialize arg.
44491
44492 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44493 storing incomplete byte sequence in state object. Avoid testing for
44494 guaranteed too small input if we know there is enough data available.
44495
44496 2011-05-11 Andreas Schwab <schwab@redhat.com>
44497
44498 * Makeconfig (+link-pie): Indent.
44499 * Rules (binaries-pie): Define if $(have-fpie) and
44500 $(build-shared).
44501 (binaries-shared): Also filter out $(binaries-pie).
44502 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44503 * nscd/Makefile (others-pie): Add nscd.
44504 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44505 ($(objpfx)nscd): Remove command override.
44506 * login/Makefile (others-pie): Add pt_chown.
44507 ($(objpfx)pt_chown): Remove command override.
44508 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44509 remove command overrides.
44510
44511 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44512
44513 * libio/tst_putwc.c: Fix error messages.
44514
44515 [BZ #12724]
44516 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44517 currently writing and seek to current position when not.
44518 * libio/Makefile (tests): Add bug-fclose1.
44519 * libio/bug-fclose1.c: New file.
44520
44521 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44522
44523 [BZ #12511]
44524 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44525 don't set DF_1_NODELETE here.
44526 (do_lookup_x): When entering new entry test for copy relocation
44527 and if necessary set DF_1_NODELETE flag.
44528 * elf/tst-unique4.cc: New file.
44529 * elf/tst-unique4.h: New file.
44530 * elf/tst-unique4lib.cc: New file.
44531 * elf/Makefile: Add rules to build and run tst-unique4.
44532 Patch by Piotr Bury <pbury@goahead.com>.
44533
44534 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44535
44536 [BZ #12052]
44537 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44538
44539 [BZ #12625]
44540 * misc/mntent_r.c (addmntent): Flush the stream after the output
44541
44542 [BZ #12393]
44543 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44544 (is_trusted_path_normalize): Skip initial colon. Append slash
44545 to empty buffer. Duplicate is_trusted_path code but allow
44546 constructed patch to be prefix.
44547 (is_dst): Allow $ORIGIN followed by /.
44548 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44549 Correct testing of result of is_trusted_path_normalize
44550 (decompose_rpath): Fix warning.
44551
44552 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44553
44554 [BZ #11257]
44555 * grp/initgroups.c (internal_getgrouplist): When we found the service
44556 list through the initgroups entry in nsswitch.conf do not always
44557 continue on a successful lookup. Don't always use the
44558 __nss_group_database value if it is set.
44559 * nss/nsswitch.conf (initgroups): Change action for successful db
44560 lookup to continue for compatibility.
44561
44562 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44563
44564 [BZ #11532]
44565 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44566 and CP774 modules.
44567 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44568 and CP774 modules.
44569 * iconvdata/tst-tables.sh: Likewise.
44570 * iconvdata/cp770.c: New file.
44571 * iconvdata/cp771.c: New file.
44572 * iconvdata/cp772.c: New file.
44573 * iconvdata/cp773.c: New file.
44574 * iconvdata/cp774.c: New file.
44575 * iconvdata/testdata/CP770: New file.
44576 * iconvdata/testdata/CP770..UTF8: New file.
44577 * iconvdata/testdata/CP771: New file.
44578 * iconvdata/testdata/CP771..UTF8: New file.
44579 * iconvdata/testdata/CP772: New file.
44580 * iconvdata/testdata/CP772..UTF8: New file.
44581 * iconvdata/testdata/CP773: New file.
44582 * iconvdata/testdata/CP773..UTF8: New file.
44583 * iconvdata/testdata/CP774: New file.
44584 * iconvdata/testdata/CP774..UTF8: New file.
44585
44586 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44587 END CHARMAP line.
44588 * iconvdata/gen-8bit-gap.sh: Likewise.
44589 * iconvdata/gen-8bit.sh: Likewise.
44590
44591 * locale/iso-639.def: Add ary entry.
44592
44593 [BZ #11258]
44594 * locale/C-translit.h.in: Add U20A1 transliteration.
44595
44596 [BZ #12178]
44597 * locale/iso-639.def: Add wae entry.
44598 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44599
44600 [BZ #12545]
44601 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44602 for n.
44603
44604 [BZ #12711]
44605 * locale/C-translit.h.in: Add entry for U20B9.
44606 Patch by pravin.d.s@gmail.com.
44607
44608 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44609
44610 [BZ #12713]
44611 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44612 ENAMETOOLONG use generic getcwd.
44613 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44614 in rtld. Use *stat64.
44615 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44616 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44617 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44618 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44619 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44620 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44621 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44622 __fstatat64 macros.
44623 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44624 * dirent/rewinddir.c: Add libc_hidden_def.
44625 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44626 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44627
44628 * include/dirent.h (__alloc_dir): Add flags parameter.
44629 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44630 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44631 __alloc_dir.
44632 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44633 from fdopendir if O_CLOEXEC is already set.
44634
44635 2011-03-15 Alan Modra <amodra@gmail.com>
44636
44637 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44638 l_tls_firstbyte_offset non-zero. Save padding offset in
44639 l_tls_firstbyte_offset for later use.
44640 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44641 freeing static tls block.
44642
44643 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44644
44645 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44646 where #ifdef was intended. The intent is to prevent ARG_MAX from
44647 being defined by the kernel headers.
44648
44649 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44650
44651 [BZ #12734]
44652 * resolv/resolv.h: Define RES_NOTLDQUERY.
44653 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44654 no-tld-query and set RES_NOTLDQUERY.
44655 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44656 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44657 modern BIND to search name as TLD unless forbidden.
44658
44659 2011-05-07 Petr Baudis <pasky@suse.cz>
44660 Ulrich Drepper <drepper@gmail.com>
44661
44662 [BZ #12393]
44663 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44664 (is_trusted_path): ...to here.
44665 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44666 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44667 using is_trusted_path_normalize() in setuid scripts.
44668
44669 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44670
44671 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44672 __BEGIN/__END_DECLS.
44673
44674 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44675
44676 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44677 NSS_STATUS_NOTFOUND if no record was found.
44678
44679 2011-05-05 Andreas Schwab <schwab@redhat.com>
44680
44681 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44682 (headers-not-in-tirpc): Remove rpc/netdb.h
44683 * resolv/netdb.h: Revert last change.
44684
44685 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44686
44687 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44688 circular dependency between libgcc.a and libc.a.
44689
44690 2011-05-05 Andreas Schwab <schwab@redhat.com>
44691
44692 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44693 * nis/Makefile: Don't install rpcsvc/*.
44694 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44695 instead of <rpc/types.h>.
44696 (MAXHOSTNAMELEN): Define.
44697
44698 2011-05-03 Andreas Schwab <schwab@redhat.com>
44699
44700 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44701
44702 2011-04-28 Maciej Babinski <mbabinski@google.com>
44703
44704 [BZ #12714]
44705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44706 gethostbyname4_r when IPv6 results are possible.
44707
44708 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44709
44710 [BZ #12723]
44711 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44712 _PC_PIPE_BUF handling.
44713
44714 2011-04-30 Bruno Haible <bruno@clisp.org>
44715
44716 [BZ #12717]
44717 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44718 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44719 to 'int'.
44720 * inet/getnameinfo.c (getnameinfo): Likewise.
44721
44722 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44723
44724 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44725 to groups setting in database lookup.
44726 * nss/nsswitch.conf: Add initgroups entry.
44727
44728 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44729
44730 [BZ #12685]
44731 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44732 mode string.
44733 Patch by Eric Blake <eblake@redhat.com>.
44734
44735 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44736
44737 * sunrpc/Makefile (need-export-routines): Add svc_run.
44738 (routines): Remove svc_run.
44739 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44740 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44741 * sunrpc/svc_run.c (svc_run): Likewise.
44742 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44743
44744 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44745
44746 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44747 problem in reallocation in last patch.
44748
44749 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44750
44751 * sunrpc/Makefile: Move inclusion of Rules.
44752
44753 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44754
44755 * nss/nss_files/files-initgroups.c: New file.
44756 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44757 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44758 _nss_files_initgroups_dyn.
44759
44760 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44761
44762 * elf/elf.h (R_ARM_IRELATIVE): Define.
44763
44764 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44765
44766 * po/ru.po: Update from translation team.
44767
44768 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44769
44770 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44771 dependencies.
44772
44773 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44774
44775 [BZ #12653]
44776 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44777 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44778 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44780 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44781
44782 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44783
44784 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44785 differing bytes.
44786 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44787 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44788 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44789
44790 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44791
44792 [BZ #12420]
44793 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44794 storing it.
44795 * stdlib/bug-getcontext.c: New file.
44796 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44797
44798 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44799
44800 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44801 instructions into .machine "z9-109".
44802 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44803 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44804
44805 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44806
44807 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44808 between environment variables and auxiliary vector.
44809
44810 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44811
44812 * Makefile: Add rules to build linkobj/libc.so.
44813 * include/libc-symbols.h: Define libc_hidden_nolink.
44814 * include/rpc/auth.h: Mark functions which are to be hidden.
44815 * include/rpc/auth_des.h: Likewise.
44816 * include/rpc/auth_unix.h: Likewise.
44817 * include/rpc/clnt.h: Likewise.
44818 * include/rpc/des_crypt.h: Likewise.
44819 * include/rpc/key_prot.h: Likewise.
44820 * include/rpc/pmap_clnt.h: Likewise.
44821 * include/rpc/pmap_prot.h: Likewise.
44822 * include/rpc/pmap_rmt.h: Likewise.
44823 * include/rpc/rpc_msg.h: Likewise.
44824 * include/rpc/svc.h: Likewise.
44825 * include/rpc/svc_auth.h: Likewise.
44826 * include/rpc/xdr.h: Likewise.
44827 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44828 * nss/Makefile: Likewise.
44829 * sunrpc/Makefile: Don't install headers. Build library with normal
44830 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44831 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44832 for the compat linking library. Remove use of INTDEF/INTUSE.
44833 * sunrpc/auth_none.c: Likewise.
44834 * sunrpc/auth_unix.c: Likewise.
44835 * sunrpc/authdes_prot.c: Likewise.
44836 * sunrpc/authuxprot.c: Likewise.
44837 * sunrpc/clnt_gen.c: Likewise.
44838 * sunrpc/clnt_perr.c: Likewise.
44839 * sunrpc/clnt_raw.c: Likewise.
44840 * sunrpc/clnt_simp.c: Likewise.
44841 * sunrpc/clnt_tcp.c: Likewise.
44842 * sunrpc/clnt_udp.c: Likewise.
44843 * sunrpc/clnt_unix.c: Likewise.
44844 * sunrpc/des_crypt.c: Likewise.
44845 * sunrpc/des_soft.c: Likewise.
44846 * sunrpc/get_myaddr.c: Likewise.
44847 * sunrpc/key_call.c: Likewise.
44848 * sunrpc/key_prot.c: Likewise.
44849 * sunrpc/netname.c: Likewise.
44850 * sunrpc/pm_getmaps.c: Likewise.
44851 * sunrpc/pm_getport.c: Likewise.
44852 * sunrpc/pmap_clnt.c: Likewise.
44853 * sunrpc/pmap_prot.c: Likewise.
44854 * sunrpc/pmap_prot2.c: Likewise.
44855 * sunrpc/pmap_rmt.c: Likewise.
44856 * sunrpc/publickey.c: Likewise.
44857 * sunrpc/rpc_cmsg.c: Likewise.
44858 * sunrpc/rpc_common.c: Likewise.
44859 * sunrpc/rpc_dtable.c: Likewise.
44860 * sunrpc/rpc_prot.c: Likewise.
44861 * sunrpc/rpc_thread.c: Likewise.
44862 * sunrpc/rtime.c: Likewise.
44863 * sunrpc/svc.c: Likewise.
44864 * sunrpc/svc_auth.c: Likewise.
44865 * sunrpc/svc_authux.c: Likewise.
44866 * sunrpc/svc_raw.c: Likewise.
44867 * sunrpc/svc_run.c: Likewise.
44868 * sunrpc/svc_simple.c: Likewise.
44869 * sunrpc/svc_tcp.c: Likewise.
44870 * sunrpc/svc_udp.c: Likewise.
44871 * sunrpc/svc_unix.c: Likewise.
44872 * sunrpc/svcauth_des.c: Likewise.
44873 * sunrpc/xcrypt.c: Likewise.
44874 * sunrpc/xdr.c: Likewise.
44875 * sunrpc/xdr_array.c: Likewise.
44876 * sunrpc/xdr_float.c: Likewise.
44877 * sunrpc/xdr_intXX_t.c: Likewise.
44878 * sunrpc/xdr_mem.c: Likewise.
44879 * sunrpc/xdr_rec.c: Likewise.
44880 * sunrpc/xdr_ref.c: Likewise.
44881 * sunrpc/xdr_sizeof.c: Likewise.
44882 * sunrpc/xdr_stdio.c: Likewise.
44883
44884 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44885
44886 [BZ #12650]
44887 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44888 * sysdeps/ia64/dl-tls.h: Likewise.
44889 * sysdeps/powerpc/dl-tls.h: Likewise.
44890 * sysdeps/s390/dl-tls.h: Likewise.
44891 * sysdeps/sh/dl-tls.h: Likewise.
44892 * sysdeps/sparc/dl-tls.h: Likewise.
44893 * sysdeps/x86_64/dl-tls.h: Likewise.
44894 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44895
44896 2011-03-14 Andreas Schwab <schwab@redhat.com>
44897
44898 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44899 rpath element also skip the following colon.
44900 (expand_dynamic_string_token): Add is_path parameter and pass
44901 down to DL_DST_REQUIRED and _dl_dst_substitute.
44902 (decompose_rpath): Call expand_dynamic_string_token with
44903 non-zero is_path. Ignore empty rpaths.
44904 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44905 with zero is_path.
44906
44907 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44908
44909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44910 Make cancelable.
44911
44912 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44913
44914 [BZ #12655]
44915 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44916 Patch by Filipe David Manana <fdmanana@apache.org>.
44917
44918 2011-04-07 Andreas Schwab <schwab@redhat.com>
44919
44920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44921 Maintain aligned stack.
44922 (CHECK_RSP): Remove unused macro.
44923
44924 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44925
44926 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44927 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44928
44929 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44930
44931 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44932
44933 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44934
44935 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44936
44937 [BZ #12518]
44938 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44939 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44940 * sysdeps/x86_64/memmove.c: New file.
44941 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44942 (memcpy): Renamed to ...
44943 (__new_memcpy): This.
44944 (memcpy): Provide GLIBC_2_14 memcpy.
44945 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44946 (memcpy): Provide GLIBC_2_2_5 memcpy.
44947
44948 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44949
44950 [BZ #12631]
44951 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44952
44953 2011-03-30 Andreas Schwab <schwab@redhat.com>
44954
44955 * misc/syncfs.c: New file.
44956 * misc/Makefile (routines): Add syncfs.
44957 * posix/unistd.h: Declare syncfs.
44958 * sysdeps/unix/syscalls.list: Add syncfs.
44959
44960 2011-04-01 Andreas Schwab <schwab@redhat.com>
44961
44962 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44963 open_by_handle_at.
44964 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44965 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44967 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44969 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44970 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44971
44972 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44973
44974 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44975 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44976 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44978 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44980 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44981
44982 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44983 sync_file_range.c with -fexceptions.
44984 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44985 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44986 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44987 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44988 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44989 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44991 sync_file_range as cancellation point
44992 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44993 now a wrapper around __call_sync_file_range with cancellation handling.
44994 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44995 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44996 function name to __call_sync_file_range.
44997 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44998 Add call_sync_file_range.
44999
45000 2011-04-01 Andreas Schwab <schwab@redhat.com>
45001
45002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45003 bits/timex.h.
45004
45005 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45006
45007 * iconv/iconv.h: Fix typo in comment.
45008 * io/fcntl.h: Likewise.
45009 * libio/stdio.h: Likewise.
45010 * posix/spawn.h: Likewise.
45011 * posix/unistd.h: Likewise.
45012 * stdlib/stdlib.h: Likewise.
45013 * time/time.h: Likewise.
45014 * wcsmbs/wchar.h: Likewise.
45015
45016 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45017 open_by_handle): Add.
45018 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45019 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45020 Augment a few comments.
45021 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45023 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45025 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45026 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45027 open_by_handle.
45028
45029 * io/fcntl.h (AT_EMPTY_PATH): Define.
45030
45031 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45032
45033 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45034 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45035 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45036 to...
45037 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45038 * Versions.def: Add GLIBC_2.14.
45039 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45040 Export.
45041
45042 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45043
45044 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45045 round counter.
45046 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45047
45048 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45049
45050 [BZ #12597]
45051 * string/test-strncmp.c (do_page_test): New function.
45052 (check2): Likewise.
45053 (test_main): Call check2.
45054 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45055
45056 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45057
45058 [BZ #12587]
45059 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45060 Handle cache information in CPU leaf 4.
45061 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45062
45063 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45064
45065 [BZ #12583]
45066 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45067 character representation.
45068 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45069
45070 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45071
45072 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45073 END(__isnan) to END(__isnanf) to match function entry point/label
45074 EALIGN(__isnanf,...).
45075
45076 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45077
45078 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45079
45080 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45081
45082 [BZ #12510]
45083 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45084 copy from the symbol referenced in the relocation to initialize the
45085 used variable.
45086 Patch by Piotr Bury <pbury@goahead.com>.
45087 * elf/Makefile: Add rules to build and tst-unique3.
45088 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45089 * elf/tst-unique3.cc: New file.
45090 * elf/tst-unique3.h: New file.
45091 * elf/tst-unique3lib.cc: New file.
45092 * elf/tst-unique3lib2.cc: New file.
45093
45094 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45095
45096 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45097
45098 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45099 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45100 to _start.
45101
45102 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45103
45104 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45105 to-be-loaded object along a path to loader is ld.so.
45106
45107 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45108 Ulrich Drepper <drepper@gmail.com>
45109
45110 * sysdeps/x86_64/memset.S: After aligning destination, code
45111 branches to different locations depending on the value of
45112 misalignment, when multiarch is enabled. Fix this.
45113
45114 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45115
45116 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45117 Set _x86_64_preferred_memory_instruction for AMD processsors.
45118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45119 Set bit_Prefer_SSE_for_memop for AMD processors.
45120
45121 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45122
45123 * libio/fmemopen.c (fmemopen): Optimize a bit.
45124
45125 2011-03-03 Andreas Schwab <schwab@redhat.com>
45126
45127 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45128
45129 2011-03-03 Roland McGrath <roland@redhat.com>
45130
45131 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45132
45133 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45134
45135 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45136 __bzero_ultra1 instead of __memset_ultra1.
45137
45138 2011-02-23 Andreas Schwab <schwab@redhat.com>
45139 Ulrich Drepper <drepper@gmail.com>
45140
45141 [BZ #12509]
45142 * include/link.h (struct link_map): Add l_orig_initfini.
45143 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45144 returning unsuccessfully.
45145 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45146 close of a file loaded at startup, restore the original l_initfini
45147 list.
45148 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45149 list, store the pointer.
45150 * elf/Makefile ($(objpfx)noload-mem): New rule.
45151 (noload-ENV): Define.
45152 (tests): Add $(objpfx)noload-mem.
45153 * elf/noload.c: Include <memcheck.h>.
45154 (main): Call mtrace. Close all opened handles.
45155
45156 2011-02-17 Andreas Schwab <schwab@redhat.com>
45157
45158 [BZ #12454]
45159 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45160 dependencies are missing.
45161
45162 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45163
45164 Fix __if_freereq crash: Unlike the generic version which uses free,
45165 Hurd needs munmap.
45166 * sysdeps/mach/hurd/ifreq.h: New file.
45167
45168 2011-01-27 Petr Baudis <pasky@suse.cz>
45169 Ulrich Drepper <drepper@gmail.com>
45170
45171 [BZ 12445]#
45172 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45173 to extend_alloca().
45174 * stdio-common/bug23.c: New file.
45175 * stdio-common/Makefile (tests): Add bug23.
45176
45177 2010-09-28 Andreas Schwab <schwab@redhat.com>
45178 Ulrich Drepper <drepper@gmail.com>
45179
45180 [BZ #12489]
45181 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45182 before performing relro protection. At old place add assertion
45183 to make sure nothing changed.
45184
45185 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45186 Glauber de Oliveira Costa <glommer@gmail.com>
45187
45188 * elf/elf.h: Add new ARM TLS relocs.
45189
45190 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45191
45192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45193 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45194 cast from r3.
45195 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45196 'tests' variable.
45197 * sysdeps/wordsize-64/tst-writev.c: New file.
45198
45199 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45200
45201 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45202 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45203 insns in _dl_start to prevent a TOC reference before relocs are
45204 resolved.
45205
45206 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45207
45208 [BZ #12469]
45209 * Makeconfig: Remove RANLIB definition.
45210 * Makerules: Don't use RANLIB.
45211 * aclocal.m4: Remove ranlib test.
45212 * configure.in: No need to check for ranlib.
45213 * elf/rtld-Rules: Don't use RANLIB.
45214
45215 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45216
45217 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45218 protection macro.
45219 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45220 inclusion protection macro.
45221
45222 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45223 SIGRTMIN and SIGRTMAX and print information in that case only when
45224 SIGRTMIN is defined.
45225
45226 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45227
45228 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45229 arginfo fn returning -1.
45230
45231 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45232 and thousands string is zero terminated.
45233
45234 2011-02-03 Andreas Schwab <schwab@redhat.com>
45235
45236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45237 sysdeps/unix/sysv/linux/bits/socket.h.
45238
45239 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45240
45241 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45242 (__CPU_COUNT): Remove old macros.
45243 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45244 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45245 (__CPU_ALLOC, __CPU_FREE): Add macros.
45246 (__sched_cpualloc, __sched_cpufree): Add declarations.
45247
45248 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45249
45250 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45251 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45252 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45253 (readdhstai): Return value of addhstaiX call.
45254 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45255 (addgrbyX): Return value returned by cache_addgr.
45256 (readdgrbyname): Return value returned by addgrbyX.
45257 (readdgrbygid): Likewise.
45258 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45259 (addpwbyX): Return value returned by cache_addpw.
45260 (readdpwbyname): Return value returned by addhstbyX.
45261 (readdpwbyuid): Likewise.
45262 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45263 (addservbyX): Return value returned by cache_addserv.
45264 (readdservbyname): Return value returned by addservbyX:
45265 (readdservbyport): Likewise.
45266 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45267 (addhstbyX): Return value returned by cache_addhst.
45268 (readdhstbyname): Return value returned by addhstbyX.
45269 (readdhstbyaddr): Likewise.
45270 (readdhstbynamev6): Likewise.
45271 (readdhstbyaddrv6): Likewise.
45272 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45273 (readdinitgroups): Return value returned by addinitgroupsX.
45274 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45275 (prune_cache): Keep track of timeout value of re-added entries.
45276 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45277 * nscd/nscd.h: Adjust prototypes of readd* functions.
45278
45279 2011-02-04 Roland McGrath <roland@redhat.com>
45280
45281 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45282 (nis_stats): Likewise.
45283 * nis/nis_modify.c (nis_modify): Likewise.
45284 * nis/nis_remove.c (nis_remove): Likewise.
45285 * nis/nis_add.c (nis_add): Likewise.
45286
45287 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45288
45289 * posix/fnmatch_loop.c: Add some consts.
45290
45291 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45292
45293 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45294
45295 [BZ #12460]
45296 * config.make.in (config-cflags-novzeroupper): Define.
45297 * configure.in: Substitute libc_cv_cc_novzeroupper.
45298 * elf/Makefile (AVX-CFLAGS): Define.
45299 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45300 (CFLAGS-tst-auditmod4a.c): Likewise.
45301 (CFLAGS-tst-auditmod4b.c): Likewise.
45302 (CFLAGS-tst-auditmod6b.c): Likewise.
45303 (CFLAGS-tst-auditmod6c.c): Likewise.
45304 (CFLAGS-tst-auditmod7b.c): Likewise.
45305 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45306
45307 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45308
45309 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45310 function to the callback.
45311 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45312
45313 2011-02-02 Andreas Schwab <schwab@redhat.com>
45314
45315 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45316 of errno.
45317
45318 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45319
45320 [BZ #11724]
45321 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45322 of constructors.
45323 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45324 of destructors.
45325 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45326
45327 [BZ #11724]
45328 * elf/Makefile: Add rules to build and run new test.
45329 * elf/tst-initorder.c: New file.
45330 * elf/tst-initorder.exp: New file.
45331 * elf/tst-initordera1.c: New file.
45332 * elf/tst-initordera2.c: New file.
45333 * elf/tst-initordera3.c: New file.
45334 * elf/tst-initordera4.c: New file.
45335 * elf/tst-initorderb1.c: New file.
45336 * elf/tst-initorderb2.c: New file.
45337 * elf/tst-order-a1.c: New file.
45338 * elf/tst-order-a2.c: New file.
45339 * elf/tst-order-a3.c: New file.
45340 * elf/tst-order-a4.c: New file.
45341 * elf/tst-order-b1.c: New file.
45342 * elf/tst-order-b2.c: New file.
45343 * elf/tst-order-main.c: New file.
45344 New test case by George Gensure <werkt0@gmail.com>.
45345
45346 2010-10-01 Andreas Schwab <schwab@redhat.com>
45347
45348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45349 decoding ACE if AI_CANONIDN.
45350
45351 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45352
45353 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45354
45355 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45356
45357 * version.h (RELEASE): Bump for 2.13 release.
45358 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45359
45360 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45361
45362 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45363 MADV_NOHUGEPAGE.
45364 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45365 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45366 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45367 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45368 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45369 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45370
45371 * posix/getconf.c: Update copyright year.
45372 * catgets/gencat.c: Likewise.
45373 * csu/version.c: Likewise.
45374 * debug/catchsegv.sh: Likewise.
45375 * debug/xtrace.sh: Likewise.
45376 * elf/ldconfig.c: Likewise.
45377 * elf/ldd.bash.in: Likewise.
45378 * elf/sprof.c (print_version): Likewise.
45379 * iconv/iconv_prog.c: Likewise.
45380 * iconv/iconvconfig.c: Likewise.
45381 * locale/programs/locale.c: Likewise.
45382 * locale/programs/localedef.c: Likewise.
45383 * malloc/memusage.sh: Likewise.
45384 * malloc/mtrace.pl: Likewise.
45385 * nscd/nscd.c (print_version): Likewise.
45386 * nss/getent.c: Likewise.
45387
45388 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45389 PF_CAIF, and PF_ALG.
45390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45391
45392 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45393
45394 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45395 (modules-names): Use them.
45396 (ifunc-test-modules, ifunc-pie-tests): Define.
45397 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45398 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45399 (test-extras): Likewise.
45400 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45401 $(compile-command.c).
45402 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45403 (all-built-dso): Define.
45404 (check-textrel.out, check-execstack.out): Depend on it.
45405
45406 * configure.in: Don't override --enable-multi-arch.
45407
45408 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45409
45410 [BZ #6812]
45411 * nscd/hstcache.c (tryagain): Define.
45412 (cache_addhst): Return tryagain not notfound for temporary errors.
45413 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45414 failed.
45415
45416 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45417
45418 [BZ #10563]
45419 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45420 to make the syscall.
45421 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45422
45423 [BZ #12378]
45424 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45425 and fall back to matching as normal character if the string ends before
45426 the matching ']' is found. This is what POSIX requires.
45427 * posix/testfnm.c: Adjust test result.
45428 * posix/globtest.sh: Adjust test result. Add new test.
45429 * posix/tst-fnmatch.input: Likewise.
45430 * posix/tst-fnmatch2.c: Add new test.
45431
45432 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45433
45434 * elf/Makefile (check-execstack): Revert last change. Depend on
45435 check-execstack.h.
45436 (check-execstack.h): New target.
45437 (generated): Add check-execstack.h.
45438 * elf/check-execstack.c: Include "check-execstack.h".
45439 (main): Revert last change.
45440 (handle_file): Return zero if GNU_STACK is absent and
45441 DEFAULT_STACK_PERMS doesn't include PF_X.
45442
45443 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45444
45445 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45446 in child fails because the descriptor is already closed.
45447 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45448 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45449 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45450
45451 [BZ #12397]
45452 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45453 syscall.
45454
45455 [BZ #10484]
45456 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45457 temporary buffer used to handle multi lookups locally.
45458 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45459
45460 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45461
45462 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45463 loader is ld.so.
45464
45465 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45466
45467 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45468 alignment for SSE2.
45469
45470 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45471
45472 [BZ #12394]
45473 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45474 characters. When rounding increased number of integer digits recompute
45475 number of groups.
45476 * stdio-common/tst-grouping.c: New file.
45477 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45478
45479 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45480
45481 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45482 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45483
45484 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45485 void.
45486 * bits/select.h: Likewise.
45487
45488 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45489
45490 * po/ja.po: Update from translation team.
45491
45492 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45493
45494 [BZ #11155]
45495 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45496 implementation just like for lxstat, fxstatat, et al.
45497
45498 2010-12-27 Jim Meyering <meyering@redhat.com>
45499
45500 [BZ #12348]
45501 * posix/regexec.c (build_trtable): Return failure indication upon
45502 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45503
45504 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45505
45506 [BZ #12201]
45507 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45508 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45509 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45511
45512 [BZ #12207]
45513 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45514
45515 [BZ #12204]
45516 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45517 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45518
45519 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45520
45521 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45522 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45523 script has SORT_BY_INIT_PRIORITY.
45524 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45525 NO_CTORS_DTORS_SECTIONS is defined.
45526 * elf/soinit.c: Likewise.
45527 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45528 NO_CTORS_DTORS_SECTIONS is defined.
45529 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45530 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45531 * sysdeps/sh/init-first.c: Likewise.
45532 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45533
45534 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45535
45536 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45537 always use the slow path.
45538
45539 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45540
45541 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45542 similar rule which adds the sysdep directories to the header search in
45543 order to pick up the correct platform stackinfo.h.
45544 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45545 perform test if it is, otherwise return successfully without testing.
45546 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45547 DEFAULT_STACK_PERMS define in stackinfo.h.
45548 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45549 defined in stackinfo.h.
45550 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45551 DEFAULT_STACK_PERMS defined in stackinfo.h.
45552 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45553 * sysdeps/ia64/stackinfo.h: Likewise.
45554 * sysdeps/s390/stackinfo.h: Likewise.
45555 * sysdeps/sh/stackinfo.h: Likewise.
45556 * sysdeps/sparc/stackinfo.h: Likewise.
45557 * sysdeps/x86_64/stackinfo.h: Likewise.
45558 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45559 PF_X for powerpc64. Retain PF_X for powerpc32.
45560
45561 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45562
45563 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45564 accurately.
45565 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45566 GETDENTS_64BIT_ALIGNED.
45567
45568 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45569
45570 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45571
45572 2010-12-10 Andreas Schwab <schwab@redhat.com>
45573
45574 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45575 _GNU_SOURCE.
45576
45577 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45578 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45579 Remove __restrict.
45580 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45581 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45582
45583 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45584
45585 [BZ #11655]
45586 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45587 are initialized.
45588
45589 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45590
45591 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45592
45593 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45594
45595 * po/it.po: Update from translation team.
45596
45597 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45598
45599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45600 unused codes.
45601
45602 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45603
45604 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45605
45606 2010-11-24 Andreas Schwab <schwab@redhat.com>
45607
45608 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45609 specially.
45610 (gaih_getanswer_slice): Likewise.
45611
45612 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45613
45614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45615
45616 2010-05-31 Petr Baudis <pasky@suse.cz>
45617
45618 [BZ #11149]
45619 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45620 silently even in the chroot mode.
45621
45622 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45623
45624 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45625 last patch a bit. Pretty printing
45626
45627 2010-05-31 Petr Baudis <pasky@suse.cz>
45628
45629 [BZ #10085]
45630 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45631 initialization of skip_initgroups_dyn.
45632
45633 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45634
45635 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45636 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45637
45638 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45639
45640 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45641
45642 2010-11-11 Andreas Schwab <schwab@redhat.com>
45643
45644 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45645 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45646 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45647 ($(objpfx)tst-fnmatch-mem): New rule.
45648 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45649 * posix/tst-fnmatch.c (main): Call mtrace.
45650
45651 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45652
45653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45654 Support Intel processor model 6 and model 0x2c.
45655
45656 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45657
45658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45659 signed comparison.
45660
45661 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45662
45663 [BZ #12205]
45664 * string/test-strncasecmp.c (check_result): New function.
45665 (do_one_test): Use it.
45666 (check1): New function.
45667 (test_main): Use it.
45668 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45669 Support strcasecmp and strncasecmp.
45670
45671 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45672
45673 [BZ #12194]
45674 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45675 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45676
45677 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45678
45679 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45680 IFUNC support.
45681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45682 memset-x86-64.
45683 * sysdeps/x86_64/multiarch/bzero.S: New file.
45684 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45685 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45686 * sysdeps/x86_64/multiarch/memset.S: New file.
45687 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45689 Set bit_Prefer_SSE_for_memop for Intel processors.
45690 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45691 Define.
45692 (index_Prefer_SSE_for_memop): Define.
45693 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45694
45695 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45696
45697 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45698 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45699
45700 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45701
45702 [BZ #12191]
45703 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45704 (__x86_64_raw_data_cache_size_half): Likewise.
45705 (__x86_64_raw_shared_cache_size): Likewise.
45706 (__x86_64_raw_shared_cache_size_half): Likewise.
45707
45708 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45709 (__x86_64_raw_data_cache_size_half): Likewise.
45710 (__x86_64_raw_shared_cache_size): Likewise.
45711 (__x86_64_raw_shared_cache_size_half): Likewise.
45712 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45713 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45714 and __x86_64_raw_shared_cache_size_half. Round
45715 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45716 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45717 to multiple of 256 bytes.
45718
45719 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45720
45721 [BZ #12167]
45722 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45723 of inacessible symlinks. Verify result of symlink before returning it.
45724 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45725 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45726
45727 2010-10-28 Erich Ritz <erichritz@gmail.com>
45728
45729 * math/math.h (isinf): Fix typo in comment.
45730
45731 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45732
45733 * po/da.po: Update from translation team.
45734
45735 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45736
45737 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45738 is added to the list.
45739
45740 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45741 Ulrich Drepper <drepper@gmail.com>
45742
45743 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45744 the global list here. Move code to...
45745 (_dl_add_to_namespace_list): ...here. New function.
45746 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45747 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45748 * elf/dl-load.c (lose): Don't remove the element from the list.
45749 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45750 (_dl_map_object): Likewise.
45751
45752 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45753
45754 [BZ #12159]
45755 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45756 into all bytes of SSE register.
45757 Patch by Richard Li <richardpku@gmail.com>.
45758
45759 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45760
45761 [BZ #12140]
45762 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45763 perturbing.
45764
45765 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45766
45767 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45768 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45769 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45770 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45772 submachine.
45773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45774
45775 2010-10-22 Andreas Schwab <schwab@redhat.com>
45776
45777 * include/dlfcn.h (__RTLD_SECURE): Define.
45778 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45779 mode & __RTLD_SECURE instead.
45780 (open_path): Rename preloaded parameter to secure.
45781 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45782 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45783 * elf/dl-deps.c (openaux): Likewise.
45784 * elf/rtld.c (struct map_args): Remove is_preloaded.
45785 (map_doit): Don't use it.
45786 (dl_main): Likewise.
45787 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45788 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45789
45790 2010-09-09 Andreas Schwab <schwab@redhat.com>
45791
45792 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45793 (sysd-rules-targets): Remove duplicates.
45794 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45795 rtld-%.$o dependency.
45796
45797 2010-10-18 Andreas Schwab <schwab@redhat.com>
45798
45799 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45800 _dl_map_object do it.
45801
45802 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45803
45804 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45805 fast fma builtins, define the macros in the C99 standard.
45806 (FP_FAST_FMAF): Likewise.
45807 (FP_FAST_FMAL): Likewise.
45808 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45809
45810 * bits/mathdef.h: Update copyright year.
45811 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45812
45813 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45814
45815 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45816 builtins, define the macros in the C99 standard.
45817 (FP_FAST_FMAF): Likewise.
45818 (FP_FAST_FMAL): Likewise.
45819 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45820 multiply/add.
45821 (FP_FAST_FMAF): Likewise.
45822
45823 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45824
45825 [BZ #3268]
45826 * math/libm-test.inc (fma_test): Some new testcases.
45827 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45828 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45829 y and infinite z. Do multiplication by C already in long double.
45830 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45832 y and infinite z. Do bitwise or of inexact bit into u.d.
45833 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45834 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45835 * sysdeps/i386/fpu/s_fma.S: Removed.
45836 * sysdeps/i386/fpu/s_fmal.S: Removed.
45837
45838 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45839
45840 [BZ #3268]
45841 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45843 computation is not scheduled after fetestexcept. Fix value
45844 of minimum denormal long double.
45845
45846 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45847
45848 [BZ #3268]
45849 * math/libm-test.inc (fma_test): Add some more tests.
45850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45851 correctly.
45852
45853 2010-10-15 Andreas Schwab <schwab@redhat.com>
45854
45855 * scripts/data/localplt-s390-linux-gnu.data: New file.
45856 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45857
45858 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45859
45860 [BZ #3268]
45861 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45862 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45863 instead of dbl-64.
45864 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45865 inlines.
45866 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45868 if one of x and y is very large and the other is subnormal.
45869 * sysdeps/s390/fpu/s_fmaf.c: New file.
45870 * sysdeps/s390/fpu/s_fma.c: New file.
45871 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45872 * sysdeps/powerpc/fpu/s_fma.S: New file.
45873 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45874 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45875 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45876
45877 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45878
45879 [BZ #3268]
45880 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45881 fma tests.
45882 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45883 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45884 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45885 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45886 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45887 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45888 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45889
45890 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45891
45892 [BZ #12078]
45893 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45894 * posix/bug-regex31.input: Add test case.
45895
45896 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45897
45898 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45899 * posix/bug-regex31.input: New file.
45900
45901 [BZ #12078]
45902 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45903 (parse_sub_exp): Fix last change, use postorder.
45904
45905 * posix/bug-regex31.c: New file.
45906 * posix/Makefile: Add rules to build and run bug-regex31.
45907
45908 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45909
45910 [BZ #12078]
45911 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45912
45913 [BZ #12108]
45914 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45915 to have entries in sys_siglist.
45916
45917 [BZ #12093]
45918 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45919 be NULL.
45920
45921 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45922
45923 [BZ #3268]
45924 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45925 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45926 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45927 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45928 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45929 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45930 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45931 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45932 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45933 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45934 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45935 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45936 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45937 * math/ftestexcept.c (fetestexcept): Likewise.
45938 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45939 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45940 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45941 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45942 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45943 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45944 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45945
45946 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45947
45948 [BZ #12107]
45949 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45950 newline.
45951
45952 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45953
45954 * string/bug-strstr1.c: New file.
45955 * string/Makefile: Add rules to build and run bug-strstr1.
45956
45957 2010-10-05 Eric Blake <eblake@redhat.com>
45958
45959 [BZ #12092]
45960 * string/str-two-way.h (two_way_long_needle): Always clear memory
45961 when skipping input due to the shift table.
45962
45963 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45964
45965 [BZ #12005]
45966 * malloc/mcheck.c: Handle large requests.
45967
45968 [BZ #12077]
45969 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45970 for strncmp and strncasecmp.
45971 * string/stratcliff.c: Add tests for strcmp and strncmp.
45972 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45973
45974 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45975
45976 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45977 __set_fpscr.
45978
45979 2010-09-30 Andreas Jaeger <aj@suse.de>
45980
45981 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45982 (CGROUP_SUPER_MAGIC): Define.
45983 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45984 Handle btrfs and cgroup file systems.
45985 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45986 Likewise.
45987
45988 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45989
45990 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45991 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45992
45993 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45994
45995 [BZ #12067]
45996 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45997 trying to locate the ELF header.
45998
45999 2010-09-27 Andreas Schwab <schwab@redhat.com>
46000
46001 [BZ #11611]
46002 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46003 Mask out sign-bit copies when constructing f_fsid.
46004
46005 2010-09-24 Petr Baudis <pasky@suse.cz>
46006
46007 * debug/stack_chk_fail_local.c: Add missing licence exception.
46008 * debug/warning-nop.c: Likewise.
46009
46010 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46011
46012 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46013 implementing getdents64 using getdents syscall, set d_type if
46014 __ASSUME_GETDENTS32_D_TYPE.
46015
46016 2010-09-16 Andreas Schwab <schwab@redhat.com>
46017
46018 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46019 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46020
46021 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46022
46023 [BZ #12037]
46024 * posix/unistd.h: Undo change of feature selection for ftruncate from
46025 2010-01-11.
46026
46027 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46028
46029 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46030 detection.
46031
46032 2010-09-20 Andreas Schwab <schwab@redhat.com>
46033
46034 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46035 fanotify_mark.
46036 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46037
46038 2010-09-14 Andreas Schwab <schwab@redhat.com>
46039
46040 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46041 variables after CHECK_SP call.
46042 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46043
46044 2010-09-13 Andreas Schwab <schwab@redhat.com>
46045 Ulrich Drepper <drepper@redhat.com>
46046
46047 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46048 re-relocationg ld.so.
46049 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46050 _dl_init_paths call.
46051 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46052 here anymore.
46053
46054 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46055
46056 * resolv/res_init.c (__res_vinit): Count the default server we added.
46057
46058 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46059 Ulrich Drepper <drepper@redhat.com>
46060
46061 [BZ #11968]
46062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46063 (____longjmp_chk): Use %ebx for saving value across system call.
46064 Add unwind info.
46065
46066 2010-09-06 Andreas Schwab <schwab@redhat.com>
46067
46068 * manual/Makefile: Don't mix pattern rules with normal rules.
46069
46070 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46071
46072 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46073 operation.
46074 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46075 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46076 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46077 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46078 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46079 Likewise.
46080
46081 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46082
46083 [BZ #11979]
46084 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46085 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46086
46087 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46088
46089 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46090 * sysdeps/x86_64/addmul_1.S: Likewise.
46091 * sysdeps/x86_64/lshift.S: Likewise.
46092 * sysdeps/x86_64/mul_1.S: Likewise.
46093 * sysdeps/x86_64/rshift.S: Likewise.
46094 * sysdeps/x86_64/sub_n.S: Likewise.
46095 * sysdeps/x86_64/submul_1.S: Likewise.
46096
46097 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46098
46099 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46100 Define __sched_param instead of SCHED_* and sched_param when
46101 <bits/sched.h> is included with __need_schedparam defined.
46102 * bits/sched.h [__need_schedparam]
46103 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46104 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46105 (__defined_schedparam): Define to 1.
46106 (__sched_param): New structure, identical to sched_param.
46107 (__need_schedparam): Undefine.
46108
46109 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46110
46111 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46112 (epoll_create1): Declare.
46113
46114 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46115
46116 2010-08-31 Andreas Schwab <schwab@redhat.com>
46117
46118 [BZ #7066]
46119 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46120 shifting retval into place.
46121
46122 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46123
46124 * nis/rpcsvc/nis.h: Update copyright notice.
46125 * nis/rpcsvc/nis.x: Likewise.
46126 * nis/rpcsvc/nis_callback.h: Likewise.
46127 * nis/rpcsvc/nis_callback.x: Likewise.
46128 * nis/rpcsvc/nis_object.x: Likewise.
46129 * nis/rpcsvc/nis_tags.h: Likewise.
46130 * nis/rpcsvc/yp.h: Likewise.
46131 * nis/rpcsvc/yp.x: Likewise.
46132 * nis/rpcsvc/ypupd.h: Likewise.
46133 * nis/yp_xdr.c: Likewise.
46134 * nis/ypupdate_xdr.c: Likewise.
46135
46136 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46137 mainly the body of pmap_getport. Add parameters to specify timeouts.
46138 (pmap_getport): Use __libc_rpc_getport.
46139 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46140 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46141 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46142
46143 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46144
46145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46146 fanotify_mark.
46147
46148 2010-08-27 Roland McGrath <roland@redhat.com>
46149
46150 * sysdeps/i386/i686/multiarch/Makefile
46151 (CFLAGS-varshift.c): New variable.
46152
46153 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46154
46155 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46156 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46157
46158 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46159
46160 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46161
46162 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46163
46164 * sysdeps/x86_64/strlen.S: Unroll the loop.
46165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46166 strlen-sse2 strlen-sse2-bsf.
46167 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46168 __strlen_no_bsf if bit_Slow_BSF is set.
46169 (__strlen_sse42): Removed.
46170 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46171 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46172
46173 2010-08-25 Roland McGrath <roland@redhat.com>
46174
46175 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46176 * sysdeps/x86_64/multiarch/varshift.c: New file.
46177 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46178 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46179 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46180 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46181
46182 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46183
46184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46185 strlen-sse2 strlen-sse2-bsf.
46186 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46187 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46188 (__strlen_sse2): Removed.
46189 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46192 bit_Slow_BSF for Atom.
46193 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46194 (index_Slow_BSF): Define.
46195 (HAS_SLOW_BSF): Define.
46196
46197 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46198
46199 [BZ #10851]
46200 * resolv/res_init.c (__res_vinit): When no server address at all
46201 is given default to loopback.
46202
46203 2010-08-24 Roland McGrath <roland@redhat.com>
46204
46205 * configure.in: Remove config-name.h generation.
46206 * configure: Regenerated.
46207 * config-name.in: File removed.
46208 * scripts/config-uname.sh: New file.
46209 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46210 ($(objdir)config-name.h): New target.
46211
46212 * sunrpc/rpc_parse.h: Avoid nested comment.
46213
46214 2010-08-24 Richard Henderson <rth@redhat.com>
46215 Ulrich Drepper <drepper@redhat.com>
46216 H.J. Lu <hongjiu.lu@intel.com>
46217
46218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46220 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46221 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46222 _mm_alignr_epi8 with _mm_loadu_si128.
46223 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46224 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46225 (__m128i_shift_right): Removed.
46226 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46227 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46228 * sysdeps/x86_64/multiarch/varshift.h: New file.
46229 * sysdeps/x86_64/multiarch/varshift.S: New file.
46230
46231 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46232
46233 * configure.in: Move assembler checks to before sysdep dir checking.
46234
46235 2010-08-20 Petr Baudis <pasky@suse.cz>
46236
46237 * LICENSES: Sync the sunrpc license.
46238
46239 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46240
46241 * sunrpc/auth_des.c: Update copyright notice once again.
46242 * sunrpc/auth_none.c: Likewise.
46243 * sunrpc/auth_unix.c: Likewise.
46244 * sunrpc/authdes_prot.c: Likewise.
46245 * sunrpc/authuxprot.c: Likewise.
46246 * sunrpc/bindrsvprt.c: Likewise.
46247 * sunrpc/clnt_gen.c: Likewise.
46248 * sunrpc/clnt_perr.c: Likewise.
46249 * sunrpc/clnt_raw.c: Likewise.
46250 * sunrpc/clnt_simp.c: Likewise.
46251 * sunrpc/clnt_tcp.c: Likewise.
46252 * sunrpc/clnt_udp.c: Likewise.
46253 * sunrpc/clnt_unix.c: Likewise.
46254 * sunrpc/des_crypt.c: Likewise.
46255 * sunrpc/des_soft.c: Likewise.
46256 * sunrpc/get_myaddr.c: Likewise.
46257 * sunrpc/getrpcport.c: Likewise.
46258 * sunrpc/key_call.c: Likewise.
46259 * sunrpc/key_prot.c: Likewise.
46260 * sunrpc/openchild.c: Likewise.
46261 * sunrpc/pm_getmaps.c: Likewise.
46262 * sunrpc/pm_getport.c: Likewise.
46263 * sunrpc/pmap_clnt.c: Likewise.
46264 * sunrpc/pmap_prot.c: Likewise.
46265 * sunrpc/pmap_prot2.c: Likewise.
46266 * sunrpc/pmap_rmt.c: Likewise.
46267 * sunrpc/rpc/auth.h: Likewise.
46268 * sunrpc/rpc/auth_unix.h: Likewise.
46269 * sunrpc/rpc/clnt.h: Likewise.
46270 * sunrpc/rpc/des_crypt.h: Likewise.
46271 * sunrpc/rpc/key_prot.h: Likewise.
46272 * sunrpc/rpc/netdb.h: Likewise.
46273 * sunrpc/rpc/pmap_clnt.h: Likewise.
46274 * sunrpc/rpc/pmap_prot.h: Likewise.
46275 * sunrpc/rpc/pmap_rmt.h: Likewise.
46276 * sunrpc/rpc/rpc.h: Likewise.
46277 * sunrpc/rpc/rpc_des.h: Likewise.
46278 * sunrpc/rpc/rpc_msg.h: Likewise.
46279 * sunrpc/rpc/svc.h: Likewise.
46280 * sunrpc/rpc/svc_auth.h: Likewise.
46281 * sunrpc/rpc/types.h: Likewise.
46282 * sunrpc/rpc/xdr.h: Likewise.
46283 * sunrpc/rpc_clntout.c: Likewise.
46284 * sunrpc/rpc_cmsg.c: Likewise.
46285 * sunrpc/rpc_common.c: Likewise.
46286 * sunrpc/rpc_cout.c: Likewise.
46287 * sunrpc/rpc_dtable.c: Likewise.
46288 * sunrpc/rpc_hout.c: Likewise.
46289 * sunrpc/rpc_main.c: Likewise.
46290 * sunrpc/rpc_parse.c: Likewise.
46291 * sunrpc/rpc_parse.h: Likewise.
46292 * sunrpc/rpc_prot.c: Likewise.
46293 * sunrpc/rpc_sample.c: Likewise.
46294 * sunrpc/rpc_scan.c: Likewise.
46295 * sunrpc/rpc_scan.h: Likewise.
46296 * sunrpc/rpc_svcout.c: Likewise.
46297 * sunrpc/rpc_tblout.c: Likewise.
46298 * sunrpc/rpc_util.c: Likewise.
46299 * sunrpc/rpc_util.h: Likewise.
46300 * sunrpc/rpcinfo.c: Likewise.
46301 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46302 * sunrpc/rpcsvc/key_prot.x: Likewise.
46303 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46304 * sunrpc/rpcsvc/mount.x: Likewise.
46305 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46306 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46307 * sunrpc/rpcsvc/rex.x: Likewise.
46308 * sunrpc/rpcsvc/rstat.x: Likewise.
46309 * sunrpc/rpcsvc/rusers.x: Likewise.
46310 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46311 * sunrpc/rpcsvc/spray.x: Likewise.
46312 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46313 * sunrpc/rtime.c: Likewise.
46314 * sunrpc/svc.c: Likewise.
46315 * sunrpc/svc_auth.c: Likewise.
46316 * sunrpc/svc_authux.c: Likewise.
46317 * sunrpc/svc_raw.c: Likewise.
46318 * sunrpc/svc_run.c: Likewise.
46319 * sunrpc/svc_simple.c: Likewise.
46320 * sunrpc/svc_tcp.c: Likewise.
46321 * sunrpc/svc_udp.c: Likewise.
46322 * sunrpc/svc_unix.c: Likewise.
46323 * sunrpc/svcauth_des.c: Likewise.
46324 * sunrpc/xcrypt.c: Likewise.
46325 * sunrpc/xdr.c: Likewise.
46326 * sunrpc/xdr_array.c: Likewise.
46327 * sunrpc/xdr_float.c: Likewise.
46328 * sunrpc/xdr_mem.c: Likewise.
46329 * sunrpc/xdr_rec.c: Likewise.
46330 * sunrpc/xdr_ref.c: Likewise.
46331 * sunrpc/xdr_sizeof.c: Likewise.
46332 * sunrpc/xdr_stdio.c: Likewise.
46333
46334 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46335 handling.
46336
46337 2010-08-19 Andreas Schwab <schwab@redhat.com>
46338
46339 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46340
46341 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46342
46343 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46344 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46345 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46346 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46347 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46348 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46349 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46350 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46351 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46352 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46353 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46354 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46355 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46356 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46357
46358 2010-07-26 Anton Blanchard <anton@samba.org>
46359
46360 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46361 * malloc/arena.c (heap_trim): Likewise.
46362
46363 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46364
46365 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46366 here. Not...
46367 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46368 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46369
46370 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46371
46372 * sysdeps/i386/elf/Makefile: New file.
46373
46374 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46375
46376 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46377 from fanotify_init.
46378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46379 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46380
46381 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46382
46383 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46384 of strncasecmp_l.
46385 * sysdeps/multiarch/strcmp.S: Likewise.
46386
46387 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46388
46389 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46390 strncase_l-nonascii.
46391 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46392 Add strncase_l-ssse3.
46393 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46394 * sysdeps/x86_64/strcmp.S: Likewise.
46395 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46396 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46397 * sysdeps/x86_64/strncase.S: New file.
46398 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46399 * sysdeps/x86_64/strncase_l.S: New file.
46400 * string/Makefile (strop-tests): Add strncasecmp.
46401 * string/test-strncasecmp.c: New file.
46402
46403 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46404 warning.
46405
46406 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46407 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46408
46409 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46410
46411 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46412
46413 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46414
46415 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46416 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46417 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46418
46419 2010-05-01 Alan Modra <amodra@gmail.com>
46420
46421 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46422 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46423 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46424 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46425 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46426 tidying. Don't tail-call __sigjmp_save for static lib.
46427 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46428 save location.
46429 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46430 (CALL_MCOUNT): Add eh info, and nop after bl.
46431 (TAIL_CALL_SYSCALL_ERROR): New macro.
46432 (PSEUDO_RET): Use it.
46433 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46434 Correct save location of integer regs and cr.
46435 (_dl_profile_resolve): Correct cr save location. Delete nops
46436 after bl when SHARED. Reduce cfi size a little by better
46437 placement of cfi directives.
46438 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46439 make a stack frame. Instead use parm save area as a temp.
46440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46441 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46443 Don't make a stack frame for parent, use parm save area.
46444 Increase child stack frame to 112 bytes. Don't save unused reg,
46445 and adjust reg usage. Set up cfi on error recovery and
46446 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46448 (__makecontext): Add dummy nop after jump to exit.
46449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46450 Use correct parm save area and cr save, reduce stack frame.
46451 Correct cfi for possible PSEUDO_RET frame setup.
46452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46453 Branch to local label emitted by PSEUDO_RET rather than
46454 __syscall_error.
46455
46456 2010-08-12 Andreas Schwab <schwab@redhat.com>
46457
46458 [BZ #11904]
46459 * locale/programs/locale.c (print_assignment): New function.
46460 (show_locale_vars): Use it.
46461
46462 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46463
46464 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46465 field.
46466 (struct statfs64): Likewise.
46467 (_STATFS_F_FLAGS): Define.
46468 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46469 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46470 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46471 (ST_VALID): Define locally.
46472 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46473 __statvfs_getflags, use the provided value.
46474 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46475 __ASSUME_STATFS_F_FLAGS.
46476
46477 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46478
46479 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46480 Add sys/fanotify.h.
46481 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46482 fanotify_mask for GLIBC_2.13.
46483 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46484 fanotify_init and fanotify_mark.
46485 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46486 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46487
46488 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46489 Add prlimit.
46490 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46491 prlimit64 for GLIBC_2.13.
46492 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46493 prlimit64.
46494 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46495 syscall.
46496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46497 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46498 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46499 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46501 add prlimit alias.
46502 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46503
46504 [BZ #11903]
46505 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46506 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46507
46508 * nss/Makefile: Add rules to build and run tst-nss-test1.
46509 * shlib-versions: Add entry for libnss_test1.
46510 * nss/nss_test1.c: New file.
46511 * nss/tst-nss-test1.c: New file.
46512
46513 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46514 (__nss_configure_lookup): Set appropriate entry in
46515 __nss_configure_lookup to true.
46516 * nss/nsswitch.h: Define enum with indeces of databases in
46517 databases and __nss_database_custom arrays. Declare
46518 __nss_database_custom.
46519 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46520 to avoid using nscd when custom rules are installed.
46521 * nss/getXXbyYY_r.c: Likewise.
46522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46523
46524 * nss/nss_files/files-parse.c: Whitespace fixes.
46525
46526 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46527
46528 [BZ #11883]
46529 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46530 * posix/fnmatch_loop.c: Likewise.
46531
46532 2010-07-17 Andi Kleen <ak@linux.intel.com>
46533
46534 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46535 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46536 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46537 * Versions.def [GLIBC_2.13]: Add.
46538
46539 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46540
46541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46542 Also fail if tpwd after pwuid call is NULL.
46543
46544 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46545
46546 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46547 when converting to ms.
46548
46549 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46550
46551 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46552 EOPNOTSUPP errors with ENOTTY.
46553 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46554 EOPNOTSUPP errors with ENOTTY.
46555
46556 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46557
46558 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46559 Add strcasecmp_l-ssse3.
46560 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46561 strcasecmp.
46562 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46563 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46564 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46565
46566 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46567
46568 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46569
46570 * string/Makefile (strop-tests): Add strcasecmp.
46571 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46572 strcasecmp_l-nonascii.
46573 (gen-as-const-headers): Add locale-defines.sym.
46574 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46575 * sysdeps/x86_64/strcasecmp.S: New file.
46576 * sysdeps/x86_64/strcasecmp_l.S: New file.
46577 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46578 * sysdeps/x86_64/locale-defines.sym: New file.
46579 * string/test-strcasecmp.c: New file.
46580
46581 * string/test-strcasestr.c: Test both ends of the range of characters.
46582 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46583
46584 2010-07-29 Roland McGrath <roland@redhat.com>
46585
46586 [BZ #11856]
46587 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46588
46589 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46590
46591 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46592 for ld.so.
46593
46594 2010-07-27 Andreas Schwab <schwab@redhat.com>
46595
46596 * manual/memory.texi (Malloc Tunable Parameters): Document
46597 M_PERTURB.
46598
46599 2010-07-26 Roland McGrath <roland@redhat.com>
46600
46601 [BZ #11840]
46602 * configure.in (-fgnu89-inline check): Set and substitute
46603 gnu89_inline, not libc_cv_gnu89_inline.
46604 * configure: Regenerated.
46605 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46606
46607 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46608
46609 * string/test-strnlen.c: New file.
46610 * string/Makefile (strop-tests): Add strnlen.
46611 * string/tester.c (test_strnlen): Add a few more test cases.
46612 * string/tst-strlen.c: Better error reporting.
46613
46614 * sysdeps/x86_64/strnlen.S: New file.
46615
46616 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46617
46618 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46619 lower-latency instructions.
46620
46621 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46622
46623 * string/test-strcasestr.c: New file.
46624 * string/test-strstr.c: New file.
46625 * string/Makefile (strop-tests): Add strstr and strcasestr.
46626 * string/str-two-way.h: Don't undefine MAX.
46627 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46628
46629 2010-07-21 Andreas Schwab <schwab@redhat.com>
46630
46631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46632 strcasestr-nonascii.
46633 (CFLAGS-strcasestr-nonascii.c): Define.
46634 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46635 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46636 Remove unused attribute.
46637
46638 2010-07-20 Roland McGrath <roland@redhat.com>
46639
46640 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46641 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46642 ld.so.cache was broken. With it, there is no way to disable dsocaps
46643 like LD_HWCAP_MASK can disable hwcaps.
46644
46645 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46646
46647 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46648
46649 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46650
46651 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46652 call in strcasestr.
46653 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46654 __strcasestr_sse42_nonascii.
46655 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46656 strcasestr-nonascii.c.
46657 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46658
46659 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46660
46661 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46662 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46663 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46664 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46665
46666 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46667
46668 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46669 fcntl.
46670
46671 2010-07-06 Andreas Schwab <schwab@redhat.com>
46672
46673 [BZ #11577]
46674 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46675 dl_signal_cerror.
46676
46677 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46678
46679 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46680 _PC_PIPE_BUF using F_GETPIPE_SZ.
46681
46682 2010-07-05 Roland McGrath <roland@redhat.com>
46683
46684 * manual/arith.texi (Rounding Functions): Fix rint description
46685 implicit in round description.
46686
46687 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46688
46689 * elf/Makefile: Fix linking for a few tests to make recent linker
46690 happy.
46691
46692 2010-06-30 Andreas Schwab <schwab@redhat.com>
46693
46694 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46695 $(common-objpfx)libc_nonshared.a.
46696
46697 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46698
46699 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46700 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46701 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46702 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46703 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46704 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46705 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46706 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46721 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46722 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46723 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46724 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46725 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46726 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46727 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46728 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46729 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46730 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46731 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46732 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46747
46748 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46749
46750 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46751 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46752 * string/memmove.c (memmove): Renamed to ...
46753 (MEMMOVE): ...this. Default to memmove.
46754 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46755 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46756 (END_CHK): Define.
46757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46758 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46759 mempcpy-ssse3-back memmove-ssse3-back.
46760 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46761 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46762 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46763 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46764 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46765 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46766 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46767 * sysdeps/x86_64/multiarch/memmove.c: New file.
46768 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46769 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46770 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46771 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46772 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46773 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46774 Define.
46775 (index_Fast_Copy_Backward): Define.
46776 (HAS_ARCH_FEATURE): Define.
46777 (HAS_FAST_REP_STRING): Define.
46778 (HAS_FAST_COPY_BACKWARD): Define.
46779
46780 2010-06-21 Andreas Schwab <schwab@redhat.com>
46781
46782 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46783 Restore proper fallback handling.
46784
46785 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46786
46787 [BZ #11701]
46788 * posix/group_member.c (__group_member): Correct checking loop.
46789
46790 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46791 OOM in getpwuid_r correctly. Return error number when the caller
46792 should return, otherwise -1.
46793 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46794 call returning > 0 value.
46795 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46796
46797 2010-06-07 Andreas Schwab <schwab@redhat.com>
46798
46799 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46800 libc_nonshared.a from targets in modules-names.
46801
46802 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46803
46804 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46805 requires it.
46806
46807 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46808
46809 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46810 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46811 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46812 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46813
46814 2010-06-02 Andreas Schwab <schwab@redhat.com>
46815
46816 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46817
46818 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46819
46820 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46821 and F_GETPIPE_SZ.
46822 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46824 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46826 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46827 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46828
46829 2010-06-14 Roland McGrath <roland@redhat.com>
46830
46831 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46832
46833 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46834
46835 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46836 __REDIRECT followed by __THROW.
46837 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46838 * posix/getopt.h (getopt): Likewise.
46839
46840 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46841
46842 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46843 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46844 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46845 in AT_FLAGS.
46846 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46847 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46848
46849 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46850
46851 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46852
46853 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46854
46855 [BZ #11640]
46856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46857 Properly check family and model.
46858
46859 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46860
46861 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46862
46863 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46864
46865 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46866
46867 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46868
46869 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46870 symbol reference.
46871
46872 2010-05-19 Andreas Schwab <schwab@redhat.com>
46873
46874 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46875 symbol reference.
46876
46877 2010-05-21 Andreas Schwab <schwab@redhat.com>
46878
46879 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46880 and internal_recvmmsg.
46881 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46882 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46883 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46884 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46885
46886 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46887 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46888 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46889
46890 2010-05-20 Andreas Schwab <schwab@redhat.com>
46891
46892 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46893
46894 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46895
46896 POWER7 optimizations.
46897 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46898 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46899
46900 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46901
46902 * version.h: Update for 2.13 development version.
46903
46904 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46905
46906 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46907 exceptions. Return 0.
46908
46909 2010-05-07 Roland McGrath <roland@redhat.com>
46910
46911 * elf/ldconfig.c (main): Add a const.
46912
46913 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46914
46915 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46916 (args_options): Add no-idn option.
46917 (ahosts_keys_int): Add idn_flags to ai_flags.
46918 (parse_option): Handle 'i' option to clear idn_flags.
46919
46920 * malloc/malloc.c (_int_free): Possible race in the most recently
46921 added check. Only act on the data if no current modification
46922 happened.
46923
46924 See ChangeLog.17 for earlier changes.