]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove last use of USE___THREAD
[thirdparty/glibc.git] / ChangeLog
CommitLineData
73ba67cb
AS
12014-05-14 Andreas Schwab <schwab@suse.de>
2
3d8c8bff
AS
3 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4 Remove code conditionalized on USE___THREAD.
5
73ba67cb
AS
6 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8 not definedness.
9
5c521ecd
JM
102014-05-14 Joseph Myers <joseph@codesourcery.com>
11
5e7698c6
JM
12 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13 Define unconditionally.
14 (__ASSUME_O_CLOEXEC): Likewise.
15 (__ASSUME_SOCK_CLOEXEC): Likewise.
16 (__ASSUME_IN_NONBLOCK): Likewise.
17 (__ASSUME_PIPE2): Likewise.
18 (__ASSUME_EVENTFD2): Likewise.
19 (__ASSUME_SIGNALFD4): Likewise.
20 (__ASSUME_DUP3): Likewise.
21 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22 (__ASSUME_DUP3): Do not define.
23 (__ASSUME_EVENTFD2): Likewise.
24 (__ASSUME_IN_NONBLOCK): Likewise.
25 (__ASSUME_O_CLOEXEC): Likewise.
26 (__ASSUME_PIPE2): Likewise.
27 (__ASSUME_SIGNALFD4): Likewise.
28 (__ASSUME_SOCK_CLOEXEC): Likewise.
29 (__ASSUME_UTIMES): Undefine.
30 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31 (__ASSUME_UTIMES): Do not define.
32 (__ASSUME_O_CLOEXEC): Likewise.
33 (__ASSUME_SOCK_CLOEXEC): Likewise.
34 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36 0x020621].
37 (__ASSUME_PIPE2): Likewise.
38 (__ASSUME_EVENTFD2): Likewise.
39 (__ASSUME_SIGNALFD4): Likewise.
40 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
42 Do not define.
43 (__ASSUME_EVENTFD2): Likewise.
44 (__ASSUME_SIGNALFD4): Likewise.
45 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
46 (__ASSUME_32BITUIDS): Likewise.
47 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48 (__ASSUME_IPC64): Likewise.
49 (__ASSUME_ST_INO_64_BIT): Likewise.
50 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
51 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53 (__ASSUME_UTIMES): Do not define.
54 (__ASSUME_PSELECT): Likewise.
55 (__ASSUME_PPOLL): Likewise.
56 (__ASSUME_O_CLOEXEC): Likewise.
57 (__ASSUME_SOCK_CLOEXEC): Likewise.
58 (__ASSUME_IN_NONBLOCK): Likewise.
59 (__ASSUME_PIPE2): Likewise.
60 (__ASSUME_EVENTFD2): Likewise.
61 (__ASSUME_SIGNALFD4): Likewise.
62 (__ASSUME_DUP3): Likewise.
63 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
64 (__ASSUME_UTIMES): Likewise.
65 (__ASSUME_O_CLOEXEC): Likewise.
66 (__ASSUME_SOCK_CLOEXEC): Likewise.
67 (__ASSUME_IN_NONBLOCK): Likewise.
68 (__ASSUME_PIPE2): Likewise.
69 (__ASSUME_EVENTFD2): Likewise.
70 (__ASSUME_SIGNALFD4): Likewise.
71 (__ASSUME_DUP3): Likewise.
72 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
73 (__ASSUME_UTIMES): Likewise.
74 (__ASSUME_O_CLOEXEC): Likewise.
75 (__ASSUME_SOCK_CLOEXEC): Likewise.
76 (__ASSUME_IN_NONBLOCK): Likewise.
77 (__ASSUME_PIPE2): Likewise.
78 (__ASSUME_EVENTFD2): Likewise.
79 (__ASSUME_SIGNALFD4): Likewise.
80 (__ASSUME_DUP3): Likewise.
81 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
82 Likewise.
83 (__ASSUME_UTIMES): Likewise.
84 (__ASSUME_EVENTFD2): Likewise.
85 (__ASSUME_SIGNALFD4): Likewise.
86 * sysdeps/unix/sysv/linux/tile/kernel-features.h
87 (__ASSUME_O_CLOEXEC): Likewise.
88 (__ASSUME_SOCK_CLOEXEC): Likewise.
89 (__ASSUME_IN_NONBLOCK): Likewise.
90 (__ASSUME_PIPE2): Likewise.
91 (__ASSUME_EVENTFD2): Likewise.
92 (__ASSUME_SIGNALFD4): Likewise.
93 (__ASSUME_DUP3): Likewise.
94 (__ASSUME_UTIMES): Undefine.
95
5c521ecd
JM
96 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
97 feclearexcept. Remove symbol versioning code.
98 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
99 symbol versioning code.
100 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
101 symbol versioning code.
102 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
103 feupdateenv. Remove symbol versioning code.
104 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
105 fegetexceptflag. Remove symbol versioning code.
106 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
107 fesetexceptflag. Remove symbol versioning code.
108 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
109 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
110 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
111 (__posix_fadvise64_l32): Remove prototype.
112 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
113 code.
114
5da9dfad
RM
1152014-05-13 Roland McGrath <roland@hack.frob.com>
116
117 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
118 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
119 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
120 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
121
893b4f37
SK
1222014-05-13 Sami Kerola <kerolasa@iki.fi>
123
124 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
125 current working directory
126
e0db6517
RM
1272014-05-13 Roland McGrath <roland@hack.frob.com>
128
58aa195d
RM
129 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
130 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
131 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
132 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
133 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
134 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
135 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
136 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
137 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
138 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
139 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
140 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
141 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
142 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
143 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
144 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
145 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
146 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
147 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
148 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
149 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
150 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
151 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
152 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
153 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
154 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
155 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
156 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
157 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
158 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
159 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
160 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
161 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
162 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
163 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
164 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
165 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
166 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
167 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
168 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
169 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
170 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
171
8c6d01f0
RM
172 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
173 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
174
175 * sysdeps/unix/sysv/linux/arm/Makefile
176 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
177 Add rt-aeabi_unwind_cpp_pr1.
178 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
179 Add nptl-aeabi_unwind_cpp_pr1.
180 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
181 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
182 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
183 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
184 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
185 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
186
187 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
188 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
189 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
190 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
191
bba6da4e
RM
192 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
193 Deconditionalize the code that was previously under [RESET_PID].
194 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
195
e0db6517
RM
196 * sysdeps/generic/exit-thread.h: New file.
197 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
198 * include/unistd.h (__exit_thread): Remove declaration.
199 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
200 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
201 * csu/libc-start.c: Include <exit-thread.h>.
202 (LIBC_START_MAIN): Pass no argument to __exit_thread.
203 * nptl/pthread_create.c: Include <exit-thread.h>.
204 (start_thread): Call __exit_thread in place of __exit_thread_inline.
205 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
206 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
207 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
208 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
209 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
210 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
211 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
212 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
213 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
214 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
215 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
216 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
217 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
218 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
219 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
220 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
221
01eb16fd
AS
2222014-05-13 Andreas Schwab <schwab@suse.de>
223
224 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
225
637461d9
JM
2262014-05-12 Joseph Myers <joseph@codesourcery.com>
227
228 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
229 (__ASSUME_UTIMES): Do not condition on kernel version.
230 (__ASSUME_PSELECT): Define unconditionally.
231 (__ASSUME_PPOLL): Likewise.
232 (__ASSUME_ATFCTS): Likewise.
233 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
234 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
235 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
236 (__ASSUME_UTIMENSAT): Define unconditionally.
237 (__ASSUME_PRIVATE_FUTEX): Likewise.
238 (__ASSUME_FALLOCATE): Likewise.
239 (__ASSUME_O_CLOEXEC): Likewise.
240 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
241 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
242 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
243 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
244 (__ASSUME_IN_NONBLOCK): Likewise.
245 (__ASSUME_PIPE2): Likewise.
246 (__ASSUME_EVENTFD2): Likewise.
247 (__ASSUME_SIGNALFD4): Likewise.
248 (__ASSUME_DUP3): Likewise.
249 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
250 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
251 (__ASSUME_AT_RANDOM): Likewise.
252 (__ASSUME_PREADV): Likewise.
253 (__ASSUME_PWRITEV): Likewise.
254 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
255 (__ASSUME_F_GETOWN_EX): Define unconditionally.
256 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
257 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
258 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
259 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
260 (__ASSUME_O_CLOEXEC): Define unconditionally.
261 (__ASSUME_PSELECT): Do not undefine conditionally.
262 (__ASSUME_PPOLL): Likewise.
263 (__ASSUME_ATFCTS): Likewise.
264 (__ASSUME_SET_ROBUST_LIST): Likewise.
265 (__ASSUME_UTIMENSAT): Likewise.
266 (__ASSUME_FDATASYNC): Define unconditionally.
267 * sysdeps/unix/sysv/linux/arm/kernel-features.h
268 (__ASSUME_SIGFRAME_V2): Likewise.
269 )__ASSUME_EVENTFD2): Likewise.
270 (__ASSUME_SIGNALFD4): Likewise.
271 (__ASSUME_PSELECT): Do not undefine conditionally.
272 (__ASSUME_PPOLL): Likewise.
273 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
274 (__ASSUME_PSELECT): Define unconditionally.
275 (__ASSUME_PPOLL): Likewise.
276 (__ASSUME_O_CLOEXEC): Likewise.
277 (__ASSUME_SOCK_CLOEXEC): Likewise.
278 (__ASSUME_IN_NONBLOCK): Likewise.
279 (__ASSUME_PIPE2): Likewise.
280 (__ASSUME_EVENTFD2): Likewise.
281 (__ASSUME_SIGNALFD4): Likewise.
282 (__ASSUME_DUP3): Likewise.
283 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
284 (__ASSUME_O_CLOEXEC): Likewise.
285 (__ASSUME_SOCK_CLOEXEC): Likewise.
286 (__ASSUME_IN_NONBLOCK): Likewise.
287 (__ASSUME_PIPE2): Likewise.
288 (__ASSUME_EVENTFD2): Likewise.
289 (__ASSUME_SIGNALFD4): Likewise.
290 (__ASSUME_DUP3): Likewise.
291 * sysdeps/unix/sysv/linux/mips/kernel-features.h
292 (__ASSUME_EVENTFD2): Likewise.
293 (__ASSUME_SIGNALFD4): Likewise.
294 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
295
315eb1d8
AS
2962014-05-12 Andreas Schwab <schwab@suse.de>
297
298 [BZ #16932]
299 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
300 (_nss_nis_gethostbyname4_r): Return error if item length is larger
301 than maximum RPC packet size.
302 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
303 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
304 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
305 (_nss_nis_getservbyport_r): Likewise.
306
91df99f7
WN
3072014-05-12 Will Newton <will.newton@linaro.org>
308
309 * malloc/Makefile (tests): Add tst-mallopt.
310 * malloc/tst-mallopt.c: New file.
311
0a982a29
RM
3122014-05-09 Roland McGrath <roland@hack.frob.com>
313
314 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
315 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
316
0ded08a5
AZ
3172014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
318
319 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
320 (tst-tlsmod6.so): Likewise.
321
55d4d550
RM
3222014-05-09 Roland McGrath <roland@hack.frob.com>
323
324 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
325
77d08aca
JM
3262014-05-09 Joseph Myers <joseph@codesourcery.com>
327
328 [BZ #16064]
329 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
330 and <dl-procinfo.h>.
331 (__fegetenv): Save SSE state in envp->__eip if supported.
332 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
333 envp->__eip if supported.
334 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
335 and <dl-procinfo.h>.
336 (__fesetenv): Always set __eip, __cs_selector, __opcode,
337 __data_offset and __data_selector in environment to 0. Set SSE
338 state if supported.
339 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
340 test-fenv-sse.
341 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
342 -mfpmath=sse.
343 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
344
28162f4d
WN
3452014-05-09 Will Newton <will.newton@linaro.org>
346
347 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
348 and libc_relro_required for ARM.
349 * sysdeps/arm/preconfigure: Regenerate.
350
5a414ff7
DV
3512014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
352 Stefan Liebler <stli@linux.vnet.ibm.com>
353
354 * config.make.in (enable-lock-elision): New Makefile variable.
355 * configure.ac: Likewise.
356 * configure: Regenerate.
357 * sysdeps/s390/configure.ac:
358 Add check for gcc transactions support.
359 * sysdeps/s390/configure: Regenerate.
360 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
361 Build elision files if enabled.
362 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
363 Add lock elision support for s390.
364 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
365 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
366 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
367 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
368 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
369 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
370 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
371 Likewise.
372 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
373 Likewise.
374 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
375 Likewise.
376 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
377 Likewise.
378 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
379 (__lll_timedlock_elision, __lll_lock_elision)
380 (__lll_unlock_elision, __lll_trylock_elision)
381 (lll_timedlock_elision, lll_lock_elision)
382 (lll_unlock_elision, lll_trylock_elision): Add.
383 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
384 (pthread_mutex_t): Add lock elision support for s390.
385
f63c86fe
WN
3862014-05-09 Will Newton <will.newton@linaro.org>
387
388 * sysdeps/arm/armv7/strcmp.S: New file.
389 * NEWS: Mention addition of ARMv7 optimized strcmp.
390
7a1a51b5
RM
3912014-05-08 Roland McGrath <roland@hack.frob.com>
392
95afbbe5
RM
393 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
394 look for %.ac rather than %.in.
395
396 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
397 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
398 * sysdeps/mach/hurd/configure: Regenerated.
399 * sysdeps/unix/sysv/linux/configure: Regenerated.
400
7a1a51b5
RM
401 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
402
5057ad3b
SE
4032014-05-07 Steve Ellcey <sellcey@mips.com>
404
405 [BZ# 16922]
406 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
407 (LONG_SUB): Ditto.
408 (PTR_SUB): Ditto.
409
8dc97517
AS
4102014-05-07 Andreas Schwab <schwab@suse.de>
411
412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
413 when skipping over non-matching result from nscd.
414
ce0c5b8f
OB
4152014-05-07 Ondřej Bílka <neleai@seznam.cz>
416
417 [BZ #16876]
418 * nptl/sockperf.c (client): Check socket return value.
8dc97517 419
a1189263
OB
420 [BZ #16877]
421 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
422 nscd security class.
ce0c5b8f 423
0f58d252
RM
4242014-05-06 Roland McGrath <roland@hack.frob.com>
425
426 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
427 * sysdeps/arm/unwind.h: ... here.
428
83df9ad0
AJ
4292014-05-06 Aurelien Jarno <aurelien@aurel32.net>
430
ce0c5b8f
OB
431 [BZ# 16916]
432 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
433 Define.
83df9ad0 434
f360f94a
VR
4352014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
436
437 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
438 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
439 multiarch strncpy for PPC64.
440 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
441 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
443 multiarch optimizations.
444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
445 (__libc_ifunc_impl_list): Likewise.
446 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
447 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
448 multiarch stpncpy for PPC64.
449 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
450 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
451
978a41c3
AS
4522014-05-06 Andreas Schwab <schwab@suse.de>
453
454 [BZ #16912]
455 * gmon/mcount.c (_MCOUNT_DECL): Use
456 atomic_compare_and_exchange_bool_acq instead of
457 catomic_compare_and_exchange_bool_acq.
458
eb1ed03d
RM
4592014-05-05 Roland McGrath <roland@hack.frob.com>
460
fe658845
RM
461 * elf/Makefile (others, install-bin): Remove pldd.
462 (pldd-modules): Variable removed.
463 ($(objpfx)pldd): Target removed.
464 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
465 (others, install-bin): Append pldd here.
466 ($(objpfx)pldd): New target.
467
eb1ed03d
RM
468 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
469 to 0, so the first #if test emitted later doesn't see it undefined.
470 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
471 * sysdeps/gnu/errlist.c: Regenerated.
472
19c4bec0
AZ
4732014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
474
475 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
476 [libc_hidden_builtin_def]: Define to empty value.
477 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
478 [libc_hidden_builtin_def]: Likewise.
479 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
480 [libc_hidden_builtin_def]: Likewise.
481 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
482 [libc_hidden_builtin_def]: Likewise.
483 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
484 __redirect_memcpy and define ifunc as default hidden symbol.
485 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
486 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
487
7776e669
AC
4882014-05-04 Adam Conrad <adconrad@0c3.net>
489
490 * locale/iso-4217.def: Reintroduce XDR currency.
491
d69aeb12
AM
4922014-05-04 Allan McRae <allan@archlinux.org>
493
494 * po/eo.po: Update Esperanto translation from translation project.
495
8f1df5cf
CD
4962014-05-02 Carlos O'Donell <carlos@redhat.com>
497
498 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
499 and FEATURE_INDEX_MAX to 1.
500 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
501
13e402e7
SE
5022014-05-01 Steve Ellcey <sellcey@mips.com>
503
504 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
505 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
506 * iconvdata/big5.c (ONE_DIRECTION): Define.
507 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
508 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
509 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
510 * iconvdata/cp932.c (ONE_DIRECTION): Define.
511 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
512 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
513 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
514 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
515 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
516 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
517 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
518 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
519 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
520 * iconvdata/gbk.c (ONE_DIRECTION): Define.
521 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
522 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
523 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
524 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
525 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
526 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
527 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
528 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
529 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
530 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
531 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
532 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
533 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
534 * iconvdata/iso646.c (ONE_DIRECTION): Define.
535 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
536 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
537 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
538 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
539 * iconvdata/johab.c (ONE_DIRECTION): Define.
540 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
541 * iconvdata/sjis.c (ONE_DIRECTION): Define.
542 * iconvdata/t.61.c (ONE_DIRECTION): Define.
543 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
544 * iconvdata/tscii.c (ONE_DIRECTION): Define.
545 * iconvdata/uhc.c (ONE_DIRECTION): Define.
546 * iconvdata/unicode.c (ONE_DIRECTION): Define.
547 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
548 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
549 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
550
c727f032
RM
5512014-05-01 Roland McGrath <roland@hack.frob.com>
552
8f2f08d0
RM
553 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
554 (_IO_JUMPS_OFFSET): Define to 0.
555
c727f032
RM
556 * nptl/sysdeps/pthread/bits/libc-lock.h
557 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
558 (__libc_lock_define_initialized_recursive): Always define using
559 initializer. Modern compilers treat uninitialized (implicit zero) and
560 explicit zero initializers the same (i.e. put the datum in bss).
561
a849e800
AS
5622014-05-01 Andreas Schwab <schwab@linux-m68k.org>
563
564 * nscd/nscd-client.h: Include <string.h>.
565
5331255b
DM
5662014-05-01 David S. Miller <davem@davemloft.net>
567
568 [BZ #16885]
569 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
570 multiple zero bytes exist at the end of a string.
571 Reported by Aurelien Jarno <aurelien@aurel32.net>
572
573 * string/test-strcmp.c (check): Add explicit test for situations where
574 there are multiple zero bytes after the first.
575
4fdfe821
AS
5762014-05-01 Andreas Schwab <schwab@linux-m68k.org>
577
578 [BZ #16890]
579 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
580 when compiling wprintf.
581 * stdio-common/tstdiomisc.c (t3): New function.
582 (main): Call it.
583
0cdddc25
SE
5842014-05-01 Steve Ellcey <sellcey@mips.com>
585
586 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
587 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
588 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
589 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
590
6426d77e
SE
5912014-05-01 Steve Ellcey <sellcey@mips.com>
592
593 * stdlib/longlong.h: Updated from GCC.
594
6d96f5e4
WN
5952014-05-01 Will Newton <will.newton@linaro.org>
596 Bernard Ogden <bernie.ogden@linaro.org>
597
7470db0c
WN
598 * NEWS: Update fixed bug list.
599
6d96f5e4
WN
600 [BZ #15119]
601 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
602
211d653c
DM
6032014-04-30 David S. Miller <davem@davemloft.net>
604
4fa262fa
DM
605 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
606 (libc_feholdexcept_setround_sparc_ctx): New function.
607 (libc_fesetenv_sparc_ctx): Likewise.
608 (libc_feupdateenv_sparc_ctx): Likewise.
609 (libc_feholdsetround_sparc_ctx): Likewise.
610 (libc_feholdexcept_setround_ctx): Define.
611 (libc_feholdexcept_setroundf_ctx): Likewise.
612 (libc_feholdexcept_setroundl_ctx): Likewise.
613 (libc_fesetenv_ctx): Likewise.
614 (libc_fesetenvf_ctx): Likewise.
615 (libc_fesetenvl_ctx): Likewise.
616 (libc_feupdateenv_ctx): Likewise.
617 (libc_feupdateenvf_ctx): Likewise.
618 (libc_feupdateenvl_ctx): Likewise.
619 (libc_feresetround_ctx): Likewise.
620 (libc_feresetroundf_ctx): Likewise.
621 (libc_feresetroundl_ctx): Likewise.
622 (libc_feholdsetround_ctx): Likewise.
623 (libc_feholdsetroundf_ctx): Likewise.
624 (libc_feholdsetroundl_ctx): Likewise.
625
1d3d93ef
DM
626 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
627 with __USE_GNU instead of XOPEN cpp guards.
628
8aa583c3
DM
629 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
630 0.
631
211d653c
DM
632 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
633 with XOPEN cpp guards.
634
60c8f1f6
JB
6352014-04-30 Julian Brown <julian@codesourcery.com>
636
637 [BZ #16888]
638 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
639 handling.
640
9a461d46
JM
6412014-04-30 Joseph Myers <joseph@codesourcery.com>
642
d0f5b3f8
JM
643 [BZ #9894]
644 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
645 Change to 2.6.32.
646 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
647 * sysdeps/unix/sysv/linux/configure: Regenerated.
648 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
649 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
650 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
651 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
652 * README: Update reference to required Linux kernel version.
653 * manual/install.texi (Linux): Update reference to required Linux
654 kernel headers version.
655 * INSTALL: Regenerated.
656
9a461d46
JM
657 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
658 header inclusion.
659 [POSIX] (limits.h): Likewise.
660 [POSIX] (math.h): Likewise.
661 [POSIX] (sys/wait.h): Likewise.
662 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
663 function.
664 [POSIX] (stddef.h): Do not allow header inclusion.
665
1775babf
AZ
6662014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
667
57f41c40 668 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 669
8f630cca
YY
6702014-04-30 Yang Yingliang <yangyingliang@huawei.com>
671
672 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
673 Return immediately after lll_futex_wake.
674
1cdeb237
SP
6752014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
676
bc8f194c
SP
677 [BZ #16791]
678 * nscd/nscd-client.h (datahead_init_common): Initialize entire
679 structure.
680 (datahead_init_pos): Call datahead_init_common early.
681 (datahead_init_neg): Likewise.
682
1cdeb237
SP
683 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
684 datahead_init_neg): New functions.
685 * nscd/aicache.c (addhstaiX): Use them.
686 * nscd/grpcache.c (cache_addgr): Likewise.
687 * nscd/hstcache.c (cache_addhst): Likewise.
688 * nscd/initgrcache.c (addinitgroupsX): Likewise.
689 * nscd/netgroupcache.c (do_notfound): Likewise.
690 (addgetnetgrentX): Likewise.
691 (addinnetgrX): Likewise.
692 * nscd/pwdcache.c (cache_addpw): Likewise.
693 * nscd/servicescache.c (cache_addserv): Likewise.
694
16b293a7
SP
6952014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
696 Atsushi Onoe <atsushi@onoe.org>
697
698 [BZ #14308]
699 [BZ #12994]
700 [BZ #13651]
701 * resolv/res_query.c (__libc_res_nsearch): Return if at least
702 one response is valid.
703 * resolv/res_send.c (send_dg): Check for validity of other
704 response if the current response is a referral.
705
a28a9b94
SE
7062014-04-29 Steve Ellcey <sellcey@mips.com>
707
708 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
709
2ca180e9
SL
7102014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
711
712 [BZ #16823]
713 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
714 Always divide by positive zero when computing -Inf result.
715 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
716 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
717
18f2945a
AZ
7182014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
719
720 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
721 FPSCR if value do not change.
722 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
723 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
724 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
725 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
726 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
727 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
728 function.
729
5abebba4
CD
7302014-05-29 Carlos O'Donell <carlos@systemhalted.org>
731
732 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
733 * sysdeps/unix/sysv/linux/hppa: Move directory from
734 ports/systeps/unix/sysv/linux/hppa.
735 * README: Update listing for hppa-*-linux-gnu.
736
f7ed60c2
OB
7372014-04-28 Ondřej Bílka <neleai@seznam.cz>
738
fff763a5
OB
739 [BZ #16754]
740 * manual/stdio.texi (Hook functions): Fix types of stream hook
741 functions.
f7ed60c2
OB
742 [BZ #16854]
743 * socket/sys/socket.h: Fix typo in comment.
744
df639d73
WD
7452014-04-28 Wilco <wdijkstr@arm.com>
746
f7ed60c2 747 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
748 * sysdeps/arm/math_private.h: New file.
749 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
750
48332d82
L
7512014-04-25 H.J. Lu <hongjiu.lu@intel.com>
752
753 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
754 with __int128_t.
755 (La_x86_64_retval): Likewise.
756
e5e0d9a4
IB
7572014-04-24 Ian Bolton <ian.bolton@arm.com>
758
759 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
760 fpsr if value didn't change.
761 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
762 to fpcr if value didn't change.
763 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
764 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
765 fpsr or fpcr if value didn't change.
766 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
767 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
768 fpcr if value didn't change.
769 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
770 to fpsr if value didn't change.
771
bacc75f7
SP
7722014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
773
774 * nptl/tst-sem3.c: Use test-skeleton.c
775 (main): Rename to do_test. Use return instead of
776 exit.
777 * nptl/tst-sem4.c: Use test-skeleton.c
778 (main): Rename to do_test.
779
a059d359
DM
7802014-04-22 David S. Miller <davem@davemloft.net>
781
782 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
783 (struct sigaction): New struct member __glibc_reserved0, change
784 type of sa_flags to int.
785
ea6c92f3
YZ
7862014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
787
788 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
789 (COUNT_LEADING_ZEROS_0): Define for AArch64.
790
766c4a36
SP
7912014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
792
793 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
794 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
795
140cc7ab
VK
7962014-04-22 Will Newton <will.newton@linaro.org>
797 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
798
799 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
800 (__longjmp): Add longjmp and longjmp_target SystemTap
801 probes.
802 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
803 (__sigsetjmp): Add setjmp SystemTap probe.
804
c54e5cf7
CD
8052014-04-17 Carlos O'Donell <carlos@redhat.com>
806
807 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
808 match manual order.
809
75ffb047
AZ
8102014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
811
812 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
813
2cd925f7
AZ
814 * sysdeps/powerpc/fpu/fenv_private.h
815 (libc_feholdexcept_setroundl_ctx): Define to
816 libc_feholdexcept_setround_ppc_ctx.
817 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
818 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
819 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
820 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
821
39e6cd8d
IB
8222014-04-17 Ian Bolton <ian.bolton@arm.com>
823
824 * sysdeps/aarch64/math-tests.h: New file.
825
f9281df9
SY
8262014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
827
828 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
829 New.
830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
831 Check and set bit_AVX2_Usable.
832 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
833 macro.
834 (bit_AVX2): Likewise.
835 (index_AVX2_Usable): Likewise.
836 (CPUID_AVX2): Likewise.
837 (HAS_AVX2): Likewise.
838
37d35007
WN
8392014-04-17 Will Newton <will.newton@linaro.org>
840
7c677662
WN
841 * manual/setjmp.texi (System V contexts): Add note that
842 calling setcontext on a context created by a call to a
843 signal handler is undefined. Update text to note that
844 setcontext from a signal handler is possible but not
845 recommended.
846
37d35007 847 [BZ #16629]
e04a4e9d
WN
848 * stdlib/tst-setcontext.c: Include signal.h.
849 (main): Check that the signal stack before and
850 after swapcontext is the same.
851
37d35007
WN
852 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
853 Re-implement to restore registers in user code and avoid
854 rt_sigreturn system call.
855
423a7160
W
8562014-04-17 Wilco <wdijkstr@arm.com>
857
858 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
859 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
860 * math/test-fenv.c: Skip exception trap tests on targets which only
861 support non-stop mode.
862
bc93ab29
IB
8632014-04-17 Ian Bolton <ian.bolton@arm.com>
864 Wilco Dijkstra <wilco.dijkstra@arm.com>
865
866 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
867 (libc_feholdsetround_aarch64_ctx)
868 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
869 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
870 (libc_feresetround_ctx, libc_feresetroundf_ctx)
871 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
872 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
873 (libc_feresetround_noexl_ctx): Define.
874
95fc5fa3
RH
8752014-04-16 Richard Henderson <rth@redhat.com>
876
ddb04724
RH
877 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
878
d77c0899
RH
879 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
880 unwind tables.
881
a3df56fc
RH
882 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
883 const from the non-libc, non-ldso copy.
884
95fc5fa3
RH
885 * sysdeps/alpha/libm-test-ulps: Regenerate.
886
7e0b6763
IB
8872014-04-16 Ian Bolton <ian.bolton@arm.com>
888 Wilco Dijkstra <wilco.dijkstra@arm.com>
889
890 * sysdeps/aarch64/fpu/math_private.h: New file.
891
a9ea2e0c
MS
8922014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
893
894 * sysdeps/aarch64/libm-test-ulps: Regenerate.
895
ea8ba7cd
IZ
8962014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
897
898 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
899 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
900 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
901 Intel MPX bound registers before _dl_profile_fixup.
902 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
903 registers after _dl_profile_fixup. Save and restore bound
904 registers bnd0/bnd1 when calling _dl_call_pltexit.
905 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
906 (LR_BND_OFFSET): Likewise.
907 (LRV_BND0_OFFSET): Likewise.
908 (LRV_BND1_OFFSET): Likewise.
909
9f2a4fbc
ST
9102014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
911
912 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
913 to...
914 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
915 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
916 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
917 fields.
9f2a4fbc 918
fd15a59b
ST
9192014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
920
921 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
922
f19dfa0a
SL
9232014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
924
925 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
926
4fa8bc3b
SL
9272014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
928
929 [BZ #14770]
930 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
931 * sysdeps/s390/configure: Regenerate.
932
8ea587db
SL
933 [BZ #16824]
934 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
935 Set round-to-nearest internally to reduce error accumulation.
936
aa5f0ff1
AM
9372014-04-16 Alan Modra <amodra@gmail.com>
938
939 [BZ #16740]
940 [BZ #16619]
941 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
942 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 943 * NEWS: Update fixed bug list.
aa5f0ff1 944
bb9c256f
SP
9452014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
946
947 * benchtests/Makefile: Depend on libraries in build directory.
948 (bench-math): Separate out math tests.
949 (bench-pthread): Separate out pthread tests.
950 (bench): Include math and pthread tests.
951
f737dfd0
CD
9522014-04-14 Carlos O'Donell <carlos@redhat.com>
953
954 [BZ #16831]
955 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
956 _dl_debug_initialize.
957
0699f766
CD
958 * configure.ac: Remove SELinux header check.
959 * configure: Regenerate.
960 * nscd/selinux.c (perms): Array of const char* to permission names.
961 (nscd_request_avc_has_perm): Call security_deny_unknown to find
962 default policy. Call string_to_security_class and string_to_av_perm to
963 translate strings. Enforce default policy and call avs_has_perm with
964 results of translated strings.
965
809bd45f
DM
9662014-04-13 David S. Miller <davem@davemloft.net>
967
968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
969
89e691f2
AM
9702014-04-12 Allan McRae <allan@archlinux.org>
971
972 [BZ #16838]
973 * manual/string.texi (Collation Functions): Fix qsort argument
974 order in example.
975 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
976
9c9daaeb
CM
9772014-04-11 Chris Metcalf <cmetcalf@tilera.com>
978
979 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
980 Make the test a no-op if there are no exceptions defined.
981
95561fb9
PP
9822014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
983
fe8d072c 984 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
985 enable-hardcoded-path-in-tests
986
970c602a
WN
9872014-04-11 Will Newton <will.newton@linaro.org>
988
989 * benchtests/Makefile (extra-objs): Add json-lib.o.
990 (bench-func): Tidy up JSON output.
991 * benchtests/bench-skeleton.c: Include json-lib.h.
992 (main): Use JSON library functions to do output of
993 benchmark results.
994 * benchtests/bench-timing-type.c (main): Output the
995 timing type simply, leaving formatting to the user.
996 * benchtests/json-lib.c: New file.
997 * benchtests/json-lib.h: Likewise.
998
36875b06
TR
9992014-04-11 Torvald Riegel <triegel@redhat.com>
1000
1001 [BZ #15215]
1002 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1003 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1004 memory barriers. Add comments.
1005 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1006 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1007 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1008 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1009 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1010 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1011
579db35a
SL
10122014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1013
1014 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1015 * sysdeps/s390/s390-64/configure.ac: ... this ...
1016 * sysdeps/s390/configure.ac: ... to here.
1017 * sysdeps/s390/s390-32/configure: Delete file.
1018 * sysdeps/s390/s390-64/configure: Delete file.
1019 * sysdeps/s390/configure: Regenerate.
1020
c12e9f37
JAPH
10212014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1022
1023 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1024
439bda32
WN
10252014-04-11 Will Newton <will.newton@linaro.org>
1026
1027 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1028 to zero if it is not defined elsewhere. (mtrim): Test
1029 the value of MALLOC_DEBUG with #if rather than #ifdef.
1030
6a5d6ea1
TR
10312014-04-10 Torvald Riegel <triegel@redhat.com>
1032
1033 * benchtests/pthread_once-inputs: New file.
1034 * benchtests/pthread_once-source.c: New file.
1035 * benchtests/README: Update documentation.
1036
a4c75cfd
IZ
10372014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1038 H.J. Lu <hongjiu.lu@intel.com>
1039
1040 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1041 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1042 * sysdeps/x86_64/configure: Regenerated.
1043 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1044 macro.
1045 (REGISTER_SAVE_RAX): Likewise.
1046 (REGISTER_SAVE_RCX): Likewise.
1047 (REGISTER_SAVE_RDX): Likewise.
1048 (REGISTER_SAVE_RSI): Likewise.
1049 (REGISTER_SAVE_RDI): Likewise.
1050 (REGISTER_SAVE_R8): Likewise.
1051 (REGISTER_SAVE_R9): Likewise.
1052 (REGISTER_SAVE_BND0): Likewise.
1053 (REGISTER_SAVE_BND1): Likewise.
1054 (REGISTER_SAVE_BND2): Likewise.
1055 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1056 bound registers when calling _dl_fixup.
1057
27822ce6
AZ
10582014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1059
1060 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1061 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1062 of its definition.
27822ce6
AZ
1063 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1064 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1065 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1066 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1067 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1068 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1069 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1070
a88ddc90
PTB
10712014-04-09 Peter Brett <peter@peter-b.co.uk>
1072
1073 [BZ #15514]
1074 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1075 pathconf(_PC_NAME_MAX).
1076
01f8eac2
AZ
10772014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1078
1079 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1080 Remove macro usage.
1081 (__PTHREAD_SPINS): Move definition to ...
1082 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1083 (__PTHREAD_SPINS): ... here.
1084 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1085 (__PTHREAD_SPIN): Likewise.
1086 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1087 (__PTHREAD_SPIN): Likewise.
1088 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1089 (__PTHREAD_SPIN): Likewise.
1090 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1091 (__PTHREAD_SPIN): Likewise.
1092 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1093 (__PTHREAD_SPIN): Likewise.
1094 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1095 (__PTHREAD_SPIN): Likewise.
1096 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1097 (__PTHREAD_SPIN): Likewise.
1098 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1099 (__PTHREAD_SPIN): Likewise.
1100 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1101 (__PTHREAD_SPIN): Likewise.
1102 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1103 (__PTHREAD_SPIN): Likewise.
1104 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1105 (__PTHREAD_SPIN): Likewise.
1106 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1107 (__PTHREAD_SPIN): Likewise.
1108
de21c33c
AZ
1109 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1110 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1111 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1112 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1113 imply folder.
1114 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1115 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1116 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1117 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1118 correct imply path.
1119 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1120 strlen symbol for non multi-arch builds.
1121 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1122 missing hidden_def and weak_alias.
1123
862c472e
CD
11242014-04-08 Carlos O'Donell <carlos@redhat.com>
1125
1126 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1127
8667f90e
WN
11282014-04-07 Will Newton <will.newton@linaro.org>
1129
1130 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1131 and contents. [!_LIBC] Remove #ifndef and contents.
1132 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1133 * string/memccpy.c (__memccpy): Use ANSI prototype.
1134 * string/memfrob.c (memfrob): Likewise.
1135 * string/strcoll.c (STRCOLL): Likewise.
1136 * string/strlen.c (strlen): Likewise.
1137 * string/strtok.c (STRTOK): Likewise.
1138 * string/strcat.c: Remove unused #include of memcopy.h.
1139 (strcat): Use ANSI prototype.
1140 * string/strchr.c: Remove unused #include of memcopy.h.
1141 (strchr): Use ANSI prototype.
1142 * string/strcmp.c: Remove unused #include of memcopy.h.
1143 (strcmp): Use ANSI prototype.
1144 * string/strcpy.c: Remove unused #include of memcopy.h.
1145 (strcpy): Use ANSI prototype.
1146
7ffa9423
AZ
11472014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1148
1149 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1150 * config.make.in (config-extra-cppflags): Set it from
1151 libc_extra_cppflags.
1152 * configure.ac (libc_extra_cflags): Make it accumulate over
1153 configure fragments.
1154 (libc_extra_cppflags): New flag.
1155 * configure. Regenerate.
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
1157 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1158 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
1159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1160
8bd70862
AZ
1161 [BZ #16815]
1162 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1163 result for FE_DOWNWARD rounding mode.
1164 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1165 Likewise.
1166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1167
d42f3448
CM
11682014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1169
1170 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1171 in function argument name.
1172
1c21d115
DS
11732014-04-03 David Svoboda <svoboda@cert.org>
1174
1175 [BZ #5666]
1176 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1177 explicitly.
1178
fcccd512
RM
11792014-04-03 Roland McGrath <roland@hack.frob.com>
1180
1181 * elf/dl-unmap-segments.h: New file.
1182 * sysdeps/generic/ldsodefs.h
1183 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1184 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1185 * elf/dl-fptr.c: Likewise.
1186 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1187 * sysdeps/aarch64/tlsdesc.c: Likewise.
1188 * sysdeps/arm/tlsdesc.c: Likewise.
1189 * sysdeps/i386/tlsdesc.c: Likewise.
1190 * sysdeps/tile/dl-runtime.c: Likewise.
1191 * sysdeps/x86_64/tlsdesc.c: Likewise.
1192 * elf/dl-load.h: New file.
1193 * elf/dl-load.c: Include it.
1194 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1195 Macros moved to dl-load.h.
1196 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1197 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1198 Use _dl_unmap_segments in place of __munmap.
1199 Break out segment-mapping loop into ...
1200 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1201
f6488e2b
WN
12022014-04-03 Will Newton <will.newton@linaro.org>
1203
1204 * elf/dl-lookup.c (do_lookup_x): Remove comment
1205 referring to nested function and move variable
1206 declarations down to before first use.
1207
6f05bafe
JM
12082014-04-02 Joseph Myers <joseph@codesourcery.com>
1209
a84e78c8
JM
1210 [BZ #16799]
1211 [BZ #16800]
1212 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1213 with 0 numerator.
1214 * math/s_catanf.c (__catanf): Likewise.
1215 * math/s_catanh.c (__catanh): Likewise.
1216 * math/s_catanhf.c (__catanhf): Likewise.
1217 * math/s_catanhl.c (__catanhl): Likewise.
1218 * math/s_catanl.c (__catanl): Likewise.
1219 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1220 by positive zero when computing -Inf result.
1221 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1222 (catanh_test): Likewise.
1223 * sysdeps/i386/fpu/libm-test-ulps: Update.
1224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1225
6f05bafe
JM
1226 [BZ #16789]
1227 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1228 instead of using underflowing value in computing result.
1229 * math/s_clog10.c (__clog10): Likewise.
1230 * math/s_clog10f.c (__clog10f): Likewise.
1231 * math/s_clog10l.c (__clog10l): Likewise.
1232 * math/s_clogf.c (__clogf): Likewise.
1233 * math/s_clogl.c (__clogl): Likewise.
1234 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1235 (clog10_test): Likewise.
1236 * sysdeps/i386/fpu/libm-test-ulps: Update.
1237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1238
b0abbc21
AM
12392014-04-02 Alan Modra <amodra@gmail.com>
1240
1241 [BZ #16739]
1242 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1243 output when value is near a power of two. Use int64_t for lx and
1244 remove casts. Use decimal rather than hex exponent constants.
1245 Don't use long double multiplication when double will suffice.
1246 * math/libm-test.inc (nextafter_test_data): Add tests.
1247 * NEWS: Add 16739 and 16786 to bug list.
1248
af6b1797
AM
1249 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1250
483818d7
AM
1251 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1252
f6c55796
WN
12532014-04-01 Will Newton <will.newton@linaro.org>
1254
1255 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1256 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1257
13f7fe35
FW
12582014-04-01 Florian Weimer <fweimer@redhat.com>
1259
1260 [BZ #13347]
1261 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1262 * nptl/tst-setuid2.c: New file.
1263 * nptl/Makefile (xtests): Add tst-setuid2.
1264
c859b32e
AM
12652014-04-01 Alan Modra <amodra@gmail.com>
1266
1267 [BZ #16786]
1268 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1269
54fa2475
JM
12702014-03-31 Joseph Myers <joseph@codesourcery.com>
1271
8795b4a4
JM
1272 [BZ #6803]
1273 [BZ #6804]
1274 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1275 set errno as appropriate.
1276 * math/w_scalbf.c (__scalbf): Likewise.
1277 * math/w_scalbl.c (__scalbl): Likewise.
1278 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1279 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1280 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1281 Add more NaN tests.
1282
54fa2475
JM
1283 [BZ #16349]
1284 * math/w_atan2.c: Include <errno.h>.
1285 (__atan2): Set errno for result underflowing to zero.
1286 * math/w_atan2f.c: Include <errno.h>.
1287 (__atan2f): Set errno for result underflowing to zero.
1288 * math/w_atan2l.c: Include <errno.h>.
1289 (__atan2l): Set errno for result underflowing to zero.
1290 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1291 tests.
1292 * math/auto-libm-test-out: Regenerated.
1293
757d9dd5
AZ
12942014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1295
1296 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1297 Encode instruction correctly in little endian.
1298 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1299 Likewise.
1300 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1301 Likewise.
1302 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1303 Likewise.
1304 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1305 Likewise.
1306
d7a68734
JM
13072014-03-31 Joseph Myers <joseph@codesourcery.com>
1308
47c5adeb
JM
1309 [BZ #9894]
1310 * sysdeps/unix/sysv/linux/kernel-features.h
1311 [__sparc__ && !__arch64__ && !__sparc_v9__]
1312 (__ASSUME_SET_ROBUST_LIST): Do not define.
1313 [__sparc__ && !__arch64__ && !__sparc_v9__]
1314 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1315 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1316 Likewise.
1317 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1318 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1319 (__ASSUME_REQUEUE_PI): Likewise.
1320 (__ASSUME_SET_ROBUST_LIST): Likewise.
1321 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1322 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1323 Undefine.
1324 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1325 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1326 Likewise.
1327 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1328 Likewise.
1329 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1330 Likewise.
1331 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1332 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1333 Undefine.
1334 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1335 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1336 Likewise.
1337
d7a68734
JM
1338 [BZ #16648]
1339 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1340 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1341 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1342
c760f5c2
WN
13432014-03-31 Will Newton <will.newton@linaro.org>
1344
1345 * benchtests/Makefile (bench): Add ffs and ffsll to list
1346 of tests.
1347 * benchtests/ffs-inputs: New file.
1348 * benchtests/ffsll-inputs: Likewise.
1349
ea6029b1
JM
13502014-03-29 Joseph Myers <joseph@codesourcery.com>
1351
1352 [BZ #16770]
1353 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1354 too large before casting to int.
1355 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1356 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1357 * math/libm-test.inc (scalb_test_data): Add more tests.
1358
cf806aff
SP
13592014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1360
56737508
SP
1361 * benchtests/Makefile (DETAILED_OPT): New make option.
1362 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1363 set.
1364 * benchtests/bench-skeleton.c: Include stdbool.h.
1365 (main): Store and print timings per input.
1366 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1367 member to each argument value.
1368 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1369 (_print_arg_data): Initialize per-input timing to 0.
1370
cb5e4aad
SP
1371 * benchtests/Makefile (timing-type): New binary.
1372 (bench-clean): Also remove bench-timing-type.
1373 (bench): New target for timing-type.
1374 (bench-func): Print output in JSON format.
1375 * benchtests/bench-skeleton.c (main): Print output in JSON
1376 format.
1377 * benchtests/bench-timing-type.c: New file.
1378 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1379 (TIMING_PRINT_STATS): Remove.
1380 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1381 name separately.
1382
cf806aff
SP
1383 * benchtests/bench-modf.c: Remove.
1384 * benchtests/modf-inputs: New inputs file.
1385
289e0779
JM
13862014-03-28 Joseph Myers <joseph@codesourcery.com>
1387
1388 [BZ #16362]
1389 * math/s_clog10.c (M_PI_LOG10E): New macro.
1390 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1391 imaginary parts are 0.
1392 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1393 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1394 imaginary parts are 0.
1395 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1396 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1397 imaginary parts are 0.
1398 * math/libm-test.inc (clog10_test_data): Update expected results
1399 for when real and imaginary parts are 0.
1400
277ae3f1
PP
14012014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1402
1403 * elf/dl-load.c: Finish conversion of __builtin_expect into
1404 __glibc_{un}likely.
1405
03a7091f
JM
14062014-03-27 Joseph Myers <joseph@codesourcery.com>
1407
1408 [BZ #16348]
1409 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1410 1+x for argument with exponent below -67.
1411 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1412 Likewise.
1413 * math/auto-libm-test-in: Add more tests of exp.
1414 * math/auto-libm-test-out: Regenerated.
1415
ea7d8b95
SP
14162014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1417
dd3022d7
SP
1418 [BZ #16759]
1419 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1420 (nscd_getnetgrent): Use it.
1421
ea7d8b95
SP
1422 [BZ #16760]
1423 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1424 of stpcpy.
1425
df5b85da
AK
14262014-03-27 Andi Kleen <ak@linux.intel.com>
1427
57f41c40
AS
1428 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1429 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1430 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1431 (lll_robust_unlock): Remove out of line section. Use cfi
1432 intrinsics.
df5b85da 1433 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
1434 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1435 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1436 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1437 (lll_robust_unlock): Remove out of line section. Use cfi
1438 intrinsics.
df5b85da
AK
1439 (LLL_STUB_UNWIND_INFO*): Remove.
1440
fbd6b5a4
SP
14412014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1442
1443 [BZ #16758]
1444 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1445 blank values.
1446
1b26b855
PP
14472014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1448
1449 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1450
9be36fb8
JM
14512014-03-26 Joseph Myers <joseph@codesourcery.com>
1452
1453 [BZ #16198]
1454 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1455 fnstenv.
1456 * math/test-fenv-preserve.c: New file.
1457 * math/Makefile (tests): Add test-fenv-preserve.
1458
60a2f3c1
WN
14592014-03-26 Will Newton <will.newton@linaro.org>
1460
1461 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1462
a5e5f1e2
RM
14632014-03-25 Roland McGrath <roland@hack.frob.com>
1464
1465 * scripts/versionlist.awk: Partition the version sets and emit all
1466 GLIBC_* (sorted) before all others (sorted).
1467
00f4012a
JM
14682014-03-25 Joseph Myers <joseph@codesourcery.com>
1469
1470 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1471 GLIBC_2.2.5 version.
1472
7bc5a741
AZ
14732014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1474
1475 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1476 calls.
1477
7578473b
AZ
1478 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1479 previous change.
1480
f3f1dab3
AZ
1481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1482
6da36183
AS
14832014-03-25 Andreas Schwab <schwab@suse.de>
1484
1485 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1486 label to be used after in6ailist is initialized.
1487
f3f1dab3 14882014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 1489
7578473b 1490 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
1491 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1492
046651c1
JM
14932014-03-25 Joseph Myers <joseph@codesourcery.com>
1494
1495 [BZ #16357]
1496 [BZ #16599]
1497 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1498 min_plus_half.
1499 (fp_formats): Update initializers.
1500 (init_fp_formats): Initialize new field.
1501 (output_for_one_input_case): Allow underflow for results up to
1502 min_plus_half.
1503 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1504 * math/auto-libm-test-in: Don't mark some underflows from asin and
1505 atanh as spurious.
1506 * math/auto-libm-test-out: Regenerated.
1507 * sysdeps/i386/fpu/libm-test-ulps: Update.
1508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1509
003e49ed
AS
15102014-03-25 Andreas Schwab <schwab@suse.de>
1511
1512 * libio/Makefile (tst-ftell-partial-wide-ENV)
1513 (tst-ftell-active-handler-ENV): Define.
1514
de031874
SL
15152014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1516
1517 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1518
55a81e3b
PP
15192014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1520
1521 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1522
f3426898
JM
15232014-03-24 Joseph Myers <joseph@codesourcery.com>
1524
1525 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1526 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1527 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1528
a42faf59
PP
15292014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1530
1531 [BZ #16634]
a42faf59 1532 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
1533 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1534 (open_path): Change from boolean 'secure' to complete flag 'mode'
1535 (_dl_map_object): Adjust.
a42faf59
PP
1536 * elf/Makefile (tests): Add tst-dlopen-aout.
1537 * elf/tst-dlopen-aout.c: New test.
1538
50936127
SL
15392014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1540
1541 [BZ #16714]
1542 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1543 (struct stat): Rename member pad0 to __glibc_reserved0.
1544
26011b5c
SL
1545 [BZ #16712]
1546 * sysdeps/s390/s390-32/bits/wordsize.h
1547 (__WORDSIZE32_SIZE_ULONG): New define.
1548 * sysdeps/s390/s390-64/bits/wordsize.h
1549 (__WORDSIZE32_SIZE_ULONG): Likewise.
1550 * sysdeps/generic/stdint.h (SIZE_MAX):
1551 Define as UL if __WORDSIZE32_SIZE_ULONG.
1552
a2d86bf1
SL
1553 [BZ #16713]
1554 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1555 (__glibc_reserved0): New variable.
1556 (sa_flags): Change type to int.
1557
78b6eebc
SL
1558 * posix/Makefile (before-compile): Use += before-compile instead
1559 of a :=.
1560
f1399b5a
SL
1561 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1562 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1563
a071766e
AS
15642014-03-20 Andreas Schwab <schwab@suse.de>
1565
1566 [BZ #16743]
1567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1568 non-matching result from nscd.
1569
27c673b8
SP
15702014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1571
1572 * scripts/bench.py: Moved to ...
1573 * benchtests/scripts/bench.py: ... here.
1574 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1575
44152e4b
AS
15762014-03-24 Andreas Schwab <schwab@suse.de>
1577
1578 [BZ #16002]
1579 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1580 alloca_account and account alloca use for struct in6ailist.
1581
b376a11a
JM
15822014-03-24 Joseph Myers <joseph@codesourcery.com>
1583
1584 [BZ #16284]
1585 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1586 rounding mode to recompute results that overflow to infinity or
1587 underflow to zero.
1588 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1589 bug 16284.
1590 * math/auto-libm-test-out: Regenerated.
1591 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1592 (ccosh_test): Likewise.
1593 (csin_test_data): Use plus_oflow.
1594 (csin_test): Use ALL_RM_TEST.
1595 (csinh_test_data): Use plus_oflow.
1596 (csinh_test): Use ALL_RM_TEST.
1597 * sysdeps/i386/fpu/libm-test-ulps: Update.
1598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1599
f7be7376
JM
16002014-03-21 Joseph Myers <joseph@codesourcery.com>
1601
1ca2d03e
JM
1602 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1603 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1604 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1605
f7be7376
JM
1606 [BZ #16731]
1607 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1608 when x - 1 is zero.
1609 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1610 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1611 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1612 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1613 argument is 1.
1614 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1615 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1616 zero.
1617 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1618 * sysdeps/i386/fpu/libm-test-ulps: Update.
1619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1620
fdf4534d
SP
16212014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1622
df26ea53
SP
1623 * scripts/bench.pl: Remove file.
1624 * scripts/bench.py: New benchmark script.
1625 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1626 * benchtests/README: Mention python dependency.
1627 * scripts/pylintrc: New file.
1628 * scripts/pylint: New file.
1629
fdf4534d
SP
1630 * bits/mathdef.h: Use #ifdef instead of #if.
1631 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1632 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1633 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1634 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1635 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1636 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1637
6f23d093
AZ
16382014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1639 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1640
1641 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1643 and strpbrk-ppc64 objects.
1644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1645 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1646 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1647 multiarch strpbrk for POWER7.
1648 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1649 multiarch strpbrk for PPC64.
1650 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1651 ifunc selector.
1652 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1653 strpbrk for POWER7.
1654
8c92dfff
JM
16552014-03-20 Joseph Myers <joseph@codesourcery.com>
1656
1657 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1658 (atan_test): Likewise.
1659 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1660 (atanh_test): Use ALL_RM_TEST.
1661 (atan2_test_data): Likewise.
1662 (cabs_test): Likewise.
1663 (cacosh_test): Likewise.
1664 (carg_test): Likewise.
1665 (casin_test): Likewise.
1666 (casinh_test): Likewise.
1667 (cbrt_test): Likewise.
1668 (csqrt_test): Likewise.
1669 (erf_test): Likewise.
1670 (erfc_test): Likewise.
1671 (pow10_test): Likewise.
1672 (exp2_test): Likewise.
1673 (hypot_test): Likewise.
1674 (j0_test): Likewise.
1675 (j1_test): Likewise.
1676 (lgamma_test): Likewise.
1677 (gamma_test): Likewise.
1678 (sincos_test): Likewise.
1679 (tanh_test): Likewise.
1680 (y0_test): Likewise.
1681 (y1_test): Likewise.
1682 * sysdeps/i386/fpu/libm-test-ulps: Update.
1683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1684
6eaf95cb
AZ
16852014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1686
a387428c
SP
1687 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1689 and strcspn-ppc64 objects.
1690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1691 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1692 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1693 multiarch strcspn for POWER7.
1694 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1695 multiarch strcspn for PPC64.
1696 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1697 ifunc selector.
1698 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1699 strcspn for POWER7.
1700
ae3a5dff
JM
17012014-03-20 Joseph Myers <joseph@codesourcery.com>
1702
1703 * math/gen-libm-test.pl (generate_testfile): Expect only function
1704 name as argument to AUTO_TESTS_* and pass results for all rounding
1705 modes to parse_args.
1706 (parse_auto_input): Separate inputs of automatic tests from
1707 outputs before storing in %auto_tests.
1708 * math/libm-test.inc (acos_test_data): Update call to
1709 AUTO_TESTS_f_f.
1710 (acos_test): Use ALL_RM_TEST.
1711 (acos_tonearest_test_data): Remove.
1712 (acos_test_tonearest): Likewise.
1713 (acos_towardzero_test_data): Likewise.
1714 (acos_test_towardzero): Likewise.
1715 (acos_downward_test_data): Likewise.
1716 (acos_test_downward): Likewise.
1717 (acos_upward_test_data): Likewise.
1718 (acos_test_upward): Likewise.
1719 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1720 (asin_test_data): Likewise.
1721 (asin_test): Use ALL_RM_TEST.
1722 (asin_tonearest_test_data): Remove.
1723 (asin_test_tonearest): Likewise.
1724 (asin_towardzero_test_data): Likewise.
1725 (asin_test_towardzero): Likewise.
1726 (asin_downward_test_data): Likewise.
1727 (asin_test_downward): Likewise.
1728 (asin_upward_test_data): Likewise.
1729 (asin_test_upward): Likewise.
1730 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1731 (atan_test_data): Likewise.
1732 (atanh_test_data): Likewise.
1733 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1734 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1735 (carg_test_data): Likewise.
1736 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1737 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1738 (ccosh_test_data): Likewise.
1739 (cexp_test_data): Likewise.
1740 (clog_test_data): Likewise.
1741 (clog10_test_data): Likewise.
1742 (cos_test_data): Update call to AUTO_TESTS_f_f.
1743 (cos_test): Use ALL_RM_TEST.
1744 (cos_tonearest_test_data): Remove.
1745 (cos_test_tonearest): Likewise.
1746 (cos_towardzero_test_data): Likewise.
1747 (cos_test_towardzero): Likewise.
1748 (cos_downward_test_data): Likewise.
1749 (cos_test_downward): Likewise.
1750 (cos_upward_test_data): Likewise.
1751 (cos_test_upward): Likewise.
1752 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1753 (cosh_test): Use ALL_RM_TEST.
1754 (cosh_tonearest_test_data): Remove.
1755 (cosh_test_tonearest): Likewise.
1756 (cosh_towardzero_test_data): Likewise.
1757 (cosh_test_towardzero): Likewise.
1758 (cosh_downward_test_data): Likewise.
1759 (cosh_test_downward): Likewise.
1760 (cosh_upward_test_data): Likewise.
1761 (cosh_test_upward): Likewise.
1762 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1763 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1764 (ctan_test_data): Likewise.
1765 (ctan_test): Use ALL_RM_TEST.
1766 (ctan_tonearest_test_data): Remove.
1767 (ctan_test_tonearest): Likewise.
1768 (ctan_towardzero_test_data): Likewise.
1769 (ctan_test_towardzero): Likewise.
1770 (ctan_downward_test_data): Likewise.
1771 (ctan_test_downward): Likewise.
1772 (ctan_upward_test_data): Likewise.
1773 (ctan_test_upward): Likewise.
1774 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1775 (ctanh_test): Use ALL_RM_TEST.
1776 (ctanh_tonearest_test_data): Remove.
1777 (ctanh_test_tonearest): Likewise.
1778 (ctanh_towardzero_test_data): Likewise.
1779 (ctanh_test_towardzero): Likewise.
1780 (ctanh_downward_test_data): Likewise.
1781 (ctanh_test_downward): Likewise.
1782 (ctanh_upward_test_data): Likewise.
1783 (ctanh_test_upward): Likewise.
1784 (erf_test_data): Update call to AUTO_TESTS_f_f.
1785 (erfc_test_data): Likewise.
1786 (exp_test_data): Likewise.
1787 (exp_test): Use ALL_RM_TEST.
1788 (exp_tonearest_test_data): Remove.
1789 (exp_test_tonearest): Likewise.
1790 (exp_towardzero_test_data): Likewise.
1791 (exp_test_towardzero): Likewise.
1792 (exp_downward_test_data): Likewise.
1793 (exp_test_downward): Likewise.
1794 (exp_upward_test_data): Likewise.
1795 (exp_test_upward): Likewise.
1796 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1797 (exp10_test): Use ALL_RM_TEST.
1798 (exp10_tonearest_test_data): Remove.
1799 (exp10_test_tonearest): Likewise.
1800 (exp10_towardzero_test_data): Likewise.
1801 (exp10_test_towardzero): Likewise.
1802 (exp10_downward_test_data): Likewise.
1803 (exp10_test_downward): Likewise.
1804 (exp10_upward_test_data): Likewise.
1805 (exp10_test_upward): Likewise.
1806 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1807 (expm1_test_data): Likewise.
1808 (expm1_test): Use ALL_RM_TEST.
1809 (expm1_tonearest_test_data): Remove.
1810 (expm1_test_tonearest): Likewise.
1811 (expm1_towardzero_test_data): Likewise.
1812 (expm1_test_towardzero): Likewise.
1813 (expm1_downward_test_data): Likewise.
1814 (expm1_test_downward): Likewise.
1815 (expm1_upward_test_data): Likewise.
1816 (expm1_test_upward): Likewise.
1817 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1818 (fma_test): Use ALL_RM_TEST.
1819 (fma_towardzero_test_data): Remove.
1820 (fma_test_towardzero): Likewise.
1821 (fma_downward_test_data): Likewise.
1822 (fma_test_downward): Likewise.
1823 (fma_upward_test_data): Likewise.
1824 (fma_test_upward): Likewise.
1825 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1826 (j0_test_data): Update call to AUTO_TESTS_f_f.
1827 (j1_test_data): Likewise.
1828 (jn_test_data): Update call to AUTO_TESTS_if_f.
1829 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1830 (log_test_data): Update call to AUTO_TESTS_f_f.
1831 (log10_test_data): Likewise.
1832 (log1p_test_data): Likewise.
1833 (log2_test_data): Likewise.
1834 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1835 (pow_tonearest_test_data): Likewise.
1836 (sin_test_data): Update call to AUTO_TESTS_f_f.
1837 (sin_test): Use ALL_RM_TEST.
1838 (sin_tonearest_test_data): Remove.
1839 (sin_test_tonearest): Likewise.
1840 (sin_towardzero_test_data): Likewise.
1841 (sin_test_towardzero): Likewise.
1842 (sin_downward_test_data): Likewise.
1843 (sin_test_downward): Likewise.
1844 (sin_upward_test_data): Likewise.
1845 (sin_test_upward): Likewise.
1846 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1847 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1848 (sinh_test): Use ALL_RM_TEST.
1849 (sinh_tonearest_test_data): Remove.
1850 (sinh_test_tonearest): Likewise.
1851 (sinh_towardzero_test_data): Likewise.
1852 (sinh_test_towardzero): Likewise.
1853 (sinh_downward_test_data): Likewise.
1854 (sinh_test_downward): Likewise.
1855 (sinh_upward_test_data): Likewise.
1856 (sinh_test_upward): Likewise.
1857 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1858 (sqrt_test): Use ALL_RM_TEST.
1859 (sqrt_tonearest_test_data): Remove.
1860 (sqrt_test_tonearest): Likewise.
1861 (sqrt_towardzero_test_data): Likewise.
1862 (sqrt_test_towardzero): Likewise.
1863 (sqrt_downward_test_data): Likewise.
1864 (sqrt_test_downward): Likewise.
1865 (sqrt_upward_test_data): Likewise.
1866 (sqrt_test_upward): Likewise.
1867 (tan_test_data): Update call to AUTO_TESTS_f_f.
1868 (tan_test): Use ALL_RM_TEST.
1869 (tan_tonearest_test_data): Remove.
1870 (tan_test_tonearest): Likewise.
1871 (tan_towardzero_test_data): Likewise.
1872 (tan_test_towardzero): Likewise.
1873 (tan_downward_test_data): Likewise.
1874 (tan_test_downward): Likewise.
1875 (tan_upward_test_data): Likewise.
1876 (tan_test_upward): Likewise.
1877 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1878 (tgamma_test_data): Likewise.
1879 (y0_test_data): Likewise.
1880 (y1_test_data): Likewise.
1881 (yn_test_data): Update call to AUTO_TESTS_if_f.
1882 (main): Do not call removed functions.
1883
d71aeee8
JM
18842014-03-19 Joseph Myers <joseph@codesourcery.com>
1885
1886 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1887 (ldexp_test_data): Remove.
1888 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1889 scalbn_test_data.
1890 (scalb_test): Use ALL_RM_TEST.
1891
baaf1ded
AS
18922014-03-19 Andreas Schwab <schwab@suse.de>
1893
1894 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1895
b1115e91
JM
18962014-03-19 Joseph Myers <joseph@codesourcery.com>
1897
1898 [BZ #16649]
1899 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1900 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1901 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1902 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1903 (__ASSUME_PREADV): Undefine.
1904 (__ASSUME_PWRITEV): Likewise.
1905
0283ecca
RM
19062014-03-18 Roland McGrath <roland@hack.frob.com>
1907
7d375303
RM
1908 * bits/mman-linux.h: Add comment about non-Linux use.
1909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1910 bits/mman-linux.h resting place.
1911
0283ecca
RM
1912 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1913 * bits/mman-linux.h: ... here.
1914
aebe1003
AZ
19152014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1916
1917 * conform/conformtest.pl: Add standard definition when calling C
1918 preprocessor on data files.
1919 (checknamespace): Remove unused variable.
1920
b29b6bb8
JM
19212014-03-18 Joseph Myers <joseph@codesourcery.com>
1922
1923 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1924 minus_oflow, plus_uflow and minus_uflow in expected results.
1925 * math/libm-test.inc (scalbn_test_data): Add more tests of
1926 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1927 minus_uflow.
1928 (scalbn_test): Use ALL_RM_TEST.
1929 (scalbln_test_data): Add more tests of negative arguments. Use
1930 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1931 (scalbln_test): Use ALL_RM_TEST.
1932
c8f8fa15
RM
19332014-03-18 Roland McGrath <roland@hack.frob.com>
1934
1935 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1936
fede7a5f
WN
19372014-03-18 Will Newton <will.newton@linaro.org>
1938
1939 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1940 inaccurate comment.
1941
80cf0a58
JM
19422014-03-18 Joseph Myers <joseph@codesourcery.com>
1943
1944 * Makerules [!subdir] (check-abi): Exit with error status if a
1945 test failed.
1946
b3620862
JM
19472014-03-17 Joseph Myers <joseph@codesourcery.com>
1948
1949 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1950 for rint. Include results for all rounding modes.
1951 (nearbyint_test): Use ALL_RM_TEST.
1952 (rint_test_data): Include all tests used for nearbyint.
1953
788bba36
WN
19542014-03-17 Will Newton <will.newton@linaro.org>
1955
04ec140a
WN
1956 * nptl/sysdeps/pthread/pthread.h: Revert previous
1957 change.
1958
7579d8d5
WN
1959 * sysdeps/generic/ldsodefs.h: Revert previous
1960 change.
1961
c15cf13a
WN
1962 * libio/genops.c: Revert previous change.
1963 * libio/libioP.h: Likewise.
1964 * stdio-common/vfprintf.c: Likewise.
1965
d0ac1324
WN
1966 * sysdeps/generic/math_private.h: Revert previous
1967 change.
1968
9290130a
WN
1969 * sysdeps/generic/math_private.h: Check whether
1970 HAVE_RM_CTX is defined with #ifdef rather
1971 than #if.
1972
afb466fc
WN
1973 * argp/argp-fmtstream.h: Check whether
1974 __STRICT_ANSI__ is defined with #ifdef rather
1975 than #if.
1976 * argp/argp.h: Likewise.
1977
f7efd7c3
WN
1978 * libio/genops.c: Check whether
1979 _IO_JUMPS_OFFSET is defined with #ifdef rather
1980 than #if.
1981 * libio/libioP.h: Likewise.
1982 * stdio-common/vfprintf.c: Likewise.
1983
53f1bed3
WN
1984 * sysdeps/generic/ldsodefs.h: Check whether
1985 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1986 than #if.
1987
788bba36
WN
1988 * nptl/sysdeps/pthread/pthread.h: Check
1989 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1990 its value.
1991
fcd89ebe
SP
19922014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1993
ae42bbc5
SP
1994 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1995 setting O_APPEND.
1996 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1997 test case.
1998
ea33158c
SP
1999 [BZ #16680]
2000 * libio/fileops.c (_IO_file_open): Seek to end of file but
2001 don't cache the offset.
2002 (get_file_offset): Remove function.
2003 (do_ftell): Use cached offset when available.
2004 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2005 don't cache the offset.
2006 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2007 case.
2008 (do_one_test): Call it.
2009 (do_ftell_test): Fix up expected old offset for a+ mode.
2010 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2011 available.
2012
b1dbb426
SP
2013 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2014 up test status with function return status.
2015 (do_write_test): Likewise.
2016 (do_append_test): Likewise.
2017
fcd89ebe
SP
2018 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2019 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2020 Remove.
2021
9962a2d3
JM
20222014-03-17 Joseph Myers <joseph@codesourcery.com>
2023
2024 * math/gen-libm-test.pl (parse_args): Handle results specified for
2025 each rounding mode separately.
2026 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2027 tests and results from lrint_tonearest_test_data,
2028 lrint_towardzero_test_data, lrint_downward_test_data and
2029 lrint_upward_test_data.
2030 (lrint_test): Use ALL_RM_TEST.
2031 (lrint_tonearest_test_data): Remove.
2032 (lrint_test_tonearest): Likewise.
2033 (lrint_towardzero_test_data): Likewise.
2034 (lrint_test_towardzero): Likewise.
2035 (lrint_downward_test_data): Likewise.
2036 (lrint_test_downward): Likewise.
2037 (lrint_upward_test_data): Likewise.
2038 (lrint_test_upward): Likewise.
2039 (llrint_test_data): Merge in per-rounding-mode tests and results
2040 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2041 llrint_downward_test_data and llrint_upward_test_data.
2042 (llrint_test): Use ALL_RM_TEST.
2043 (llrint_tonearest_test_data): Remove.
2044 (llrint_test_tonearest): Likewise.
2045 (llrint_towardzero_test_data): Likewise.
2046 (llrint_test_towardzero): Likewise.
2047 (llrint_downward_test_data): Likewise.
2048 (llrint_test_downward): Likewise.
2049 (llrint_upward_test_data): Likewise.
2050 (llrint_test_upward): Likewise.
2051 (rint_test_data): Merge in per-rounding-mode tests and results
2052 from rint_tonearest_test_data, rint_towardzero_test_data,
2053 rint_downward_test_data and rint_upward_test_data. Add
2054 per-rounding-mode results for tests not in those arrays.
2055 (rint_test): Use ALL_RM_TEST.
2056 (rint_tonearest_test_data): Remove.
2057 (rint_test_tonearest): Likewise.
2058 (rint_towardzero_test_data): Likewise.
2059 (rint_test_towardzero): Likewise.
2060 (rint_downward_test_data): Likewise.
2061 (rint_test_downward): Likewise.
2062 (rint_upward_test_data): Likewise.
2063 (rint_test_upward): Likewise.
2064 (main): Don't call removed functions.
2065
5006148e
RM
20662014-03-14 Roland McGrath <roland@hack.frob.com>
2067
2068 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2069 "Compiled on ..." crapola. It is anti-useful.
2070
d6fe5e58
JM
20712014-03-14 Joseph Myers <joseph@codesourcery.com>
2072
2073 * scripts/evaluate-test.sh: Handle fourth argument to determine
2074 whether test run should stop on failure.
2075 * Makeconfig (stop-on-test-failure): New variable.
2076 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2077 $(stop-on-test-failure).
2078 * Makefile (tests): Give a summary of results from testing and
2079 exit with failure status if they include an ERROR or FAIL.
2080 (xtests): Likewise.
2081 * manual/install.texi (Configuring and compiling): Mention
2082 stop-on-test-failure=y.
2083 * INSTALL: Regenerated.
2084
498a2233
RM
20852014-03-14 Roland McGrath <roland@hack.frob.com>
2086
22dbc19d
RM
2087 * scripts/versionlist.awk: New file.
2088 * Makerules [$(build-shared) = yes]
2089 (postclean-generated): Add Versions.def, not Versions.def.v and
2090 Versions.def.v.i.
2091 ($(common-objpfx)Versions.def.v.i): Target removed.
2092 ($(common-objpfx)Versions.def): New target.
2093 ($(common-objpfx)Versions.all): Depend on that rather that
2094 $(common-objpfx)Versions.def.v.
2095 * Versions.def: File removed.
2096
498a2233
RM
2097 * Makeconfig (+gccwarn): Add -Wundef.
2098 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2099 a dl-sysdep.h breaking its contract.
2100 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2101 * include/stackinfo.h: New file.
2102 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2103 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2104 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2105 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2106 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2107 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2108 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2109 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2110 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2111 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2112 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2113 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2114 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2115 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2116 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2117
c7de5025
AZ
21182014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2119
2120 [BZ #16707]
2121 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2122 implementation.
2123 * math/libm-test.inc (round_test_data): Add more tests.
2124
98fb27a3
AZ
2125 [BZ #16706]
2126 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2127 implementation.
2128 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2129
374f7f61
AZ
2130 [BZ #16701]
2131 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2132 implementation.
2133 * math/libm-test.inc (ceil_test_data): Add more tests.
2134
4655c291
AZ
2135 * math/libm-test.inc (trunc_test_data): Add more tests related to
2136 BZ#16414.
2137
d7329d4b
RM
21382014-03-14 Roland McGrath <roland@hack.frob.com>
2139
2140 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2141 with #if rather than #ifdef.
2142 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2143
aa4de9ce
L
21442014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2145
2146 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2147 first. Disable AVX-512 GCC support if assembler doesn't support
2148 it.
2149 * sysdeps/x86_64/configure: Regenerated.
2150
2e03fae7
CD
21512014-03-13 Carlos O'Donell <carlos@redhat.com>
2152
2153 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2154 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2155 (__old_pthread_attr_setstack): Likewise.
2156 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2157 [!_STACK_GROWS_DOWN]: Likewise.
2158
43ca83ec
MF
21592014-03-13 Mike Frysinger <vapier@gentoo.org>
2160
2161 * config.make.in (have-bash2): Delete.
2162 * configure.ac (libc_cv_have_bash2): Delete.
2163 * configure: Regenerate.
2164 * elf/Makefile (common-ldd-rewrite): Rename to ...
2165 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2166 (sh-ldd-rewrite): Delete.
2167 (bash-ldd-rewrite): Delete.
2168 (have-bash2): Delete checks.
57f41c40
AS
2169 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2170 ldd-rewrite.
c66e48b4
MF
2171
2172 * config.make.in (have-ksh): Delete.
2173 (KSH): Delete.
2174 * configure.ac (libc_cv_have_ksh): Delete.
2175 * configure: Regenerate.
2176
b93834ef
MF
2177 * elf/Makefile: Delete $(have-ksh) check.
2178 ($(objpfx)sotruss): Change KSH to BASH.
2179 * elf/sotruss.ksh: Rename to ...
2180 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2181 function style to match POSIX. Drop ksh vim mode setting.
2182
f3a4632a
MF
2183 * manual/time.texi (Specifying the Time Zone with TZ): Change
2184 Tuesday to Thursday.
2185
5896c8bd
MF
2186 * debug/tst-longjmp_chk2.c: Update header comment.
2187 (stackoverflow_handler): Add comment. Call assert on pass value.
2188
2d63a517
IZ
21892014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2190
2191 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2192 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2193 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2194 (La_x86_64_vector): Add zmm.
2195 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2196 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2197 ($(objpfx)tst-audit10): New target.
2198 ($(objpfx)tst-audit10.out): Likewise.
2199 (tst-audit10-ENV): New.
2200 (AVX512-CFLAGS): Likewise.
2201 (CFLAGS-tst-audit10.c): Likewise.
2202 (CFLAGS-tst-auditmod10a.c): Likewise.
2203 (CFLAGS-tst-auditmod10b.c): Likewise.
2204 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2205 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2206 * sysdeps/x86_64/configure: Regenerated.
2207 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2208 AVX-512 zmm register support.
2209 (_dl_x86_64_save_sse): Likewise.
2210 (_dl_x86_64_restore_sse): Likewise.
2211 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2212 size vector registers.
2213 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2214 (ZMM_SIZE): Likewise.
2215 * sysdeps/x86_64/tst-audit10.c: New file.
2216 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2217 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2218
44c4e5d5
RM
22192014-03-13 Roland McGrath <roland@hack.frob.com>
2220
2221 * configure.ac (HAVE_EHDR_START): New check.
2222 * configure: Regenerated.
2223 * config.h.in (HAVE_EHDR_START): New #undef.
2224 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2225 assuming the lowest-addressed segment maps the start of the file.
2226
acd6e389
JM
22272014-03-13 Joseph Myers <joseph@codesourcery.com>
2228
2229 * INSTALL: Regenerated.
2230
6f918f36
WN
22312014-03-13 Will Newton <will.newton@linaro.org>
2232
2233 * manual/setjmp.texi (System V contexts): Improve
2234 clarity and grammar of documentation.
2235
798212a0
PP
22362014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2237
2238 [BZ #16381]
798212a0 2239 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 2240 (tests-pie): Add tst-pie2.
798212a0
PP
2241 * elf/tst-pie2.c: New file.
2242 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2243 for ET_EXEC.
2244 * elf/rtld.c (map_doit): Load executable as lt_executable.
2245 (dl_main): Likewise.
2246
abe6d90c
JM
22472014-03-12 Joseph Myers <joseph@codesourcery.com>
2248
2249 [BZ #16642]
2250 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2251 (__ASSUME_PSELECT): Undefine.
2252
dd3946c6
AZ
22532014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2254
2255 [BZ #16689]
2256 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2257 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2258 static build.
2259 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2260 selector for static builds.
2261
c44496df
SP
22622014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2263
2264 [BZ #16695]
2265 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2266 key in the buffer.
2267
27c7220a
AZ
22682014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2269
57f41c40
AS
2270 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2271 IFUNC selector for static builds.
27c7220a 2272
600fa361
JM
22732014-03-11 Joseph Myers <joseph@codesourcery.com>
2274
76c96cf7
JM
2275 * sysdeps/mips/math_private.h [__mips_hard_float]
2276 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2277 libc_feresetround_mips_ctx.
2278 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2279 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2280 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2281
600fa361
JM
2282 [BZ #16677]
2283 * math/s_nextafter.c (__nextafter): Do not return value from
2284 overflowing computation.
2285 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2286 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2287 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2288 Likewise.
2289 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2290 Likewise.
2291 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2292 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2293
d7706c32
RM
22942014-03-11 Roland McGrath <roland@hack.frob.com>
2295
2296 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2297 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2298 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2299 the new mov targetting sp.
2300
4facea47
AZ
23012014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2302
2303 [BZ #16683]
2304 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2305 Define it for static builds as well.
2306 (NO_BZERO_IMPL): Likewise.
2307
e65caf1f
VR
23082014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2309
2310 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2311 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2312 multiarch strspn for PPC64.
2313 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2314 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2316 (__libc_ifunc_impl_list): Likewise.
2317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2318 multiarch optimizations
2319 * string/strspn.c (strspn): Using macro to redefine symbol name.
2320
ba9cc071
AZ
23212014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2322 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2323
2324 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2325 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2326 multiarch strncat for PPC64.
2327 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2328 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2330 (__libc_ifunc_impl_list): Likewise.
2331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2332 multiarch optimizations
2333
8b4ff974
SP
23342014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2335
2336 [BZ #16639]
2337 * nscd/nscd.service: Make service type forking.
2338
54b46a4b
AZ
23392014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2340
2341 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2342 sign in non default rounding modes.
2343 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2344
e9996ef7
JM
23452014-03-08 Joseph Myers <joseph@codesourcery.com>
2346
2347 * math/libm-test.inc (ALL_RM_TEST): New macro.
2348 (ceil_test): Use ALL_RM_TEST.
2349 (cimag_test): Likewise.
2350 (conj_test): Likewise.
2351 (copysign_test): Likewise.
2352 (cproj_test): Likewise.
2353 (creal_test): Likewise.
2354 (fabs_test): Likewise.
2355 (floor_test): Likewise.
2356 (fmax_test): Likewise.
2357 (fmin_test): Likewise.
2358 (fmod_test): Likewise.
2359 (fpclassify_test): Likewise.
2360 (frexp_test): Likewise.
2361 (ilogb_test): Likewise.
2362 (isfinite_test): Likewise.
2363 (finite_test): Likewise.
2364 (isgreater_test): Likewise.
2365 (isgreaterequal_test): Likewise.
2366 (isinf_test): Likewise.
2367 (isless_test): Likewise.
2368 (islessequal_test): Likewise.
2369 (islessgreater_test): Likewise.
2370 (isnan_test): Likewise.
2371 (isnormal_test): Likewise.
2372 (issignaling_test): Likewise.
2373 (isunordered_test): Likewise.
2374 (logb_test): Likewise.
2375 (logb_downward_test_data): Remove.
2376 (logb_test_downward): Likewise.
2377 (lround_test): Use ALL_RM_TEST.
2378 (llround_test): Likewise.
2379 (modf_test): Likewise.
2380 (nexttoward_test): Likewise.
2381 (remainder_test): Likewise.
2382 (drem_test): Likewise.
2383 (remainder_tonearest_test_data): Likewise.
2384 (remainder_test_tonearest): Likewise.
2385 (drem_test_tonearest): Likewise.
2386 (remainder_towardzero_test_data): Likewise.
2387 (remainder_test_towardzero): Likewise.
2388 (drem_test_towardzero): Likewise.
2389 (remainder_downward_test_data): Likewise.
2390 (remainder_test_downward): Likewise.
2391 (drem_test_downward): Likewise.
2392 (remainder_upward_test_data): Likewise.
2393 (remainder_test_upward): Likewise.
2394 (drem_test_upward): Likewise.
2395 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2396 (round_test): Use ALL_RM_TEST.
2397 (signbit_test): Likewise.
2398 (trunc_test): Likewise.
2399 (significand_test): Likewise.
2400 (main): Don't call removed functions.
2401
bc61d27c
JM
24022014-03-07 Joseph Myers <joseph@codesourcery.com>
2403
5c780849
JM
2404 [BZ #16674]
2405 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2406 || __USE_XOPEN2K8].
2407 (ILL_ILLOPN): Likewise.
2408 (ILL_ILLADR): Likewise.
2409 (ILL_ILLTRP): Likewise.
2410 (ILL_PRVOPC): Likewise.
2411 (ILL_PRVREG): Likewise.
2412 (ILL_COPROC): Likewise.
2413 (ILL_BADSTK): Likewise.
2414 (FPE_INTDIV): Likewise.
2415 (FPE_INTOVF): Likewise.
2416 (FPE_FLTDIV): Likewise.
2417 (FPE_FLTOVF): Likewise.
2418 (FPE_FLTUND): Likewise.
2419 (FPE_FLTRES): Likewise.
2420 (FPE_FLTINV): Likewise.
2421 (FPE_FLTSUB): Likewise.
2422 (SEGV_MAPERR): Likewise.
2423 (SEGV_ACCERR): Likewise.
2424 (BUS_ADRALN): Likewise.
2425 (BUS_ADRERR): Likewise.
2426 (BUS_OBJERR): Likewise.
2427 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2428 (TRAP_TRACE): Likewise.
2429 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2430 __USE_XOPEN2K8].
2431 (CLD_KILLED): Likewise.
2432 (CLD_DUMPED): Likewise.
2433 (CLD_TRAPPED): Likewise.
2434 (CLD_STOPPED): Likewise.
2435 (CLD_CONTINUED): Likewise.
2436 (POLL_IN): Likewise.
2437 (POLL_OUT): Likewise.
2438 (POLL_MSG): Likewise.
2439 (POLL_ERR): Likewise.
2440 (POLL_PRI): Likewise.
2441 (POLL_HUP): Likewise.
2442 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2443 Likewise.
2444 (ILL_ILLOPN): Likewise.
2445 (ILL_ILLADR): Likewise.
2446 (ILL_ILLTRP): Likewise.
2447 (ILL_PRVOPC): Likewise.
2448 (ILL_PRVREG): Likewise.
2449 (ILL_COPROC): Likewise.
2450 (ILL_BADSTK): Likewise.
2451 (FPE_INTDIV): Likewise.
2452 (FPE_INTOVF): Likewise.
2453 (FPE_FLTDIV): Likewise.
2454 (FPE_FLTOVF): Likewise.
2455 (FPE_FLTUND): Likewise.
2456 (FPE_FLTRES): Likewise.
2457 (FPE_FLTINV): Likewise.
2458 (FPE_FLTSUB): Likewise.
2459 (SEGV_MAPERR): Likewise.
2460 (SEGV_ACCERR): Likewise.
2461 (BUS_ADRALN): Likewise.
2462 (BUS_ADRERR): Likewise.
2463 (BUS_OBJERR): Likewise.
2464 (BUS_MCEERR_AR): Likewise.
2465 (BUS_MCEERR_AO): Likewise.
2466 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2467 (TRAP_TRACE): Likewise.
2468 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2469 __USE_XOPEN2K8].
2470 (CLD_KILLED): Likewise.
2471 (CLD_DUMPED): Likewise.
2472 (CLD_TRAPPED): Likewise.
2473 (CLD_STOPPED): Likewise.
2474 (CLD_CONTINUED): Likewise.
2475 (POLL_IN): Likewise.
2476 (POLL_OUT): Likewise.
2477 (POLL_MSG): Likewise.
2478 (POLL_ERR): Likewise.
2479 (POLL_PRI): Likewise.
2480 (POLL_HUP): Likewise.
2481 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2482 (ILL_ILLOPN): Likewise.
2483 (ILL_ILLADR): Likewise.
2484 (ILL_ILLTRP): Likewise.
2485 (ILL_PRVOPC): Likewise.
2486 (ILL_PRVREG): Likewise.
2487 (ILL_COPROC): Likewise.
2488 (ILL_BADSTK): Likewise.
2489 (FPE_INTDIV): Likewise.
2490 (FPE_INTOVF): Likewise.
2491 (FPE_FLTDIV): Likewise.
2492 (FPE_FLTOVF): Likewise.
2493 (FPE_FLTUND): Likewise.
2494 (FPE_FLTRES): Likewise.
2495 (FPE_FLTINV): Likewise.
2496 (FPE_FLTSUB): Likewise.
2497 (SEGV_MAPERR): Likewise.
2498 (SEGV_ACCERR): Likewise.
2499 (BUS_ADRALN): Likewise.
2500 (BUS_ADRERR): Likewise.
2501 (BUS_OBJERR): Likewise.
2502 (BUS_MCEERR_AR): Likewise.
2503 (BUS_MCEERR_AO): Likewise.
2504 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2505 (TRAP_TRACE): Likewise.
2506 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2507 __USE_XOPEN2K8].
2508 (CLD_KILLED): Likewise.
2509 (CLD_DUMPED): Likewise.
2510 (CLD_TRAPPED): Likewise.
2511 (CLD_STOPPED): Likewise.
2512 (CLD_CONTINUED): Likewise.
2513 (POLL_IN): Likewise.
2514 (POLL_OUT): Likewise.
2515 (POLL_MSG): Likewise.
2516 (POLL_ERR): Likewise.
2517 (POLL_PRI): Likewise.
2518 (POLL_HUP): Likewise.
2519 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2520 Likewise.
2521 (ILL_ILLOPN): Likewise.
2522 (ILL_ILLADR): Likewise.
2523 (ILL_ILLTRP): Likewise.
2524 (ILL_PRVOPC): Likewise.
2525 (ILL_PRVREG): Likewise.
2526 (ILL_COPROC): Likewise.
2527 (ILL_BADSTK): Likewise.
2528 (ILL_BADIADDR): Likewise.
2529 (ILL_BREAK): Likewise.
2530 (FPE_INTDIV): Likewise.
2531 (FPE_INTOVF): Likewise.
2532 (FPE_FLTDIV): Likewise.
2533 (FPE_FLTOVF): Likewise.
2534 (FPE_FLTUND): Likewise.
2535 (FPE_FLTRES): Likewise.
2536 (FPE_FLTINV): Likewise.
2537 (FPE_FLTSUB): Likewise.
2538 (FPE_DECOVF): Likewise.
2539 (FPE_DECDIV): Likewise.
2540 (FPE_DECERR): Likewise.
2541 (FPE_INVASC): Likewise.
2542 (FPE_INVDEC): Likewise.
2543 (SEGV_MAPERR): Likewise.
2544 (SEGV_ACCERR): Likewise.
2545 (SEGV_PSTKOVF): Likewise.
2546 (BUS_ADRALN): Likewise.
2547 (BUS_ADRERR): Likewise.
2548 (BUS_OBJERR): Likewise.
2549 (BUS_MCEERR_AR): Likewise.
2550 (BUS_MCEERR_AO): Likewise.
2551 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2552 (TRAP_TRACE): Likewise.
2553 (TRAP_BRANCH): Likewise.
2554 (TRAP_HWBKPT): Likewise.
2555 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2556 __USE_XOPEN2K8].
2557 (CLD_KILLED): Likewise.
2558 (CLD_DUMPED): Likewise.
2559 (CLD_TRAPPED): Likewise.
2560 (CLD_STOPPED): Likewise.
2561 (CLD_CONTINUED): Likewise.
2562 (POLL_IN): Likewise.
2563 (POLL_OUT): Likewise.
2564 (POLL_MSG): Likewise.
2565 (POLL_ERR): Likewise.
2566 (POLL_PRI): Likewise.
2567 (POLL_HUP): Likewise.
2568 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2569 (ILL_ILLOPN): Likewise.
2570 (ILL_ILLADR): Likewise.
2571 (ILL_ILLTRP): Likewise.
2572 (ILL_PRVOPC): Likewise.
2573 (ILL_PRVREG): Likewise.
2574 (ILL_COPROC): Likewise.
2575 (ILL_BADSTK): Likewise.
2576 (FPE_INTDIV): Likewise.
2577 (FPE_INTOVF): Likewise.
2578 (FPE_FLTDIV): Likewise.
2579 (FPE_FLTOVF): Likewise.
2580 (FPE_FLTUND): Likewise.
2581 (FPE_FLTRES): Likewise.
2582 (FPE_FLTINV): Likewise.
2583 (FPE_FLTSUB): Likewise.
2584 (SEGV_MAPERR): Likewise.
2585 (SEGV_ACCERR): Likewise.
2586 (BUS_ADRALN): Likewise.
2587 (BUS_ADRERR): Likewise.
2588 (BUS_OBJERR): Likewise.
2589 (BUS_MCEERR_AR): Likewise.
2590 (BUS_MCEERR_AO): Likewise.
2591 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2592 (TRAP_TRACE): Likewise.
2593 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2594 __USE_XOPEN2K8].
2595 (CLD_KILLED): Likewise.
2596 (CLD_DUMPED): Likewise.
2597 (CLD_TRAPPED): Likewise.
2598 (CLD_STOPPED): Likewise.
2599 (CLD_CONTINUED): Likewise.
2600 (POLL_IN): Likewise.
2601 (POLL_OUT): Likewise.
2602 (POLL_MSG): Likewise.
2603 (POLL_ERR): Likewise.
2604 (POLL_PRI): Likewise.
2605 (POLL_HUP): Likewise.
2606 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2607 (ILL_ILLOPN): Likewise.
2608 (ILL_ILLADR): Likewise.
2609 (ILL_ILLTRP): Likewise.
2610 (ILL_PRVOPC): Likewise.
2611 (ILL_PRVREG): Likewise.
2612 (ILL_COPROC): Likewise.
2613 (ILL_BADSTK): Likewise.
2614 (FPE_INTDIV): Likewise.
2615 (FPE_INTOVF): Likewise.
2616 (FPE_FLTDIV): Likewise.
2617 (FPE_FLTOVF): Likewise.
2618 (FPE_FLTUND): Likewise.
2619 (FPE_FLTRES): Likewise.
2620 (FPE_FLTINV): Likewise.
2621 (FPE_FLTSUB): Likewise.
2622 (SEGV_MAPERR): Likewise.
2623 (SEGV_ACCERR): Likewise.
2624 (BUS_ADRALN): Likewise.
2625 (BUS_ADRERR): Likewise.
2626 (BUS_OBJERR): Likewise.
2627 (BUS_MCEERR_AR): Likewise.
2628 (BUS_MCEERR_AO): Likewise.
2629 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2630 (TRAP_TRACE): Likewise.
2631 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2632 __USE_XOPEN2K8].
2633 (CLD_KILLED): Likewise.
2634 (CLD_DUMPED): Likewise.
2635 (CLD_TRAPPED): Likewise.
2636 (CLD_STOPPED): Likewise.
2637 (CLD_CONTINUED): Likewise.
2638 (POLL_IN): Likewise.
2639 (POLL_OUT): Likewise.
2640 (POLL_MSG): Likewise.
2641 (POLL_ERR): Likewise.
2642 (POLL_PRI): Likewise.
2643 (POLL_HUP): Likewise.
2644 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2645 (ILL_ILLOPN): Likewise.
2646 (ILL_ILLADR): Likewise.
2647 (ILL_ILLTRP): Likewise.
2648 (ILL_PRVOPC): Likewise.
2649 (ILL_PRVREG): Likewise.
2650 (ILL_COPROC): Likewise.
2651 (ILL_BADSTK): Likewise.
2652 (FPE_INTDIV): Likewise.
2653 (FPE_INTOVF): Likewise.
2654 (FPE_FLTDIV): Likewise.
2655 (FPE_FLTOVF): Likewise.
2656 (FPE_FLTUND): Likewise.
2657 (FPE_FLTRES): Likewise.
2658 (FPE_FLTINV): Likewise.
2659 (FPE_FLTSUB): Likewise.
2660 (SEGV_MAPERR): Likewise.
2661 (SEGV_ACCERR): Likewise.
2662 (BUS_ADRALN): Likewise.
2663 (BUS_ADRERR): Likewise.
2664 (BUS_OBJERR): Likewise.
2665 (BUS_MCEERR_AR): Likewise.
2666 (BUS_MCEERR_AO): Likewise.
2667 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2668 (TRAP_TRACE): Likewise.
2669 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2670 __USE_XOPEN2K8].
2671 (CLD_KILLED): Likewise.
2672 (CLD_DUMPED): Likewise.
2673 (CLD_TRAPPED): Likewise.
2674 (CLD_STOPPED): Likewise.
2675 (CLD_CONTINUED): Likewise.
2676 (POLL_IN): Likewise.
2677 (POLL_OUT): Likewise.
2678 (POLL_MSG): Likewise.
2679 (POLL_ERR): Likewise.
2680 (POLL_PRI): Likewise.
2681 (POLL_HUP): Likewise.
2682 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2683 (ILL_ILLOPN): Likewise.
2684 (ILL_ILLADR): Likewise.
2685 (ILL_ILLTRP): Likewise.
2686 (ILL_PRVOPC): Likewise.
2687 (ILL_PRVREG): Likewise.
2688 (ILL_COPROC): Likewise.
2689 (ILL_BADSTK): Likewise.
2690 (ILL_DBLFLT): Likewise.
2691 (ILL_HARDWALL): Likewise.
2692 (FPE_INTDIV): Likewise.
2693 (FPE_INTOVF): Likewise.
2694 (FPE_FLTDIV): Likewise.
2695 (FPE_FLTOVF): Likewise.
2696 (FPE_FLTUND): Likewise.
2697 (FPE_FLTRES): Likewise.
2698 (FPE_FLTINV): Likewise.
2699 (FPE_FLTSUB): Likewise.
2700 (SEGV_MAPERR): Likewise.
2701 (SEGV_ACCERR): Likewise.
2702 (BUS_ADRALN): Likewise.
2703 (BUS_ADRERR): Likewise.
2704 (BUS_OBJERR): Likewise.
2705 (BUS_MCEERR_AR): Likewise.
2706 (BUS_MCEERR_AO): Likewise.
2707 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2708 (TRAP_TRACE): Likewise.
2709 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2710 __USE_XOPEN2K8].
2711 (CLD_KILLED): Likewise.
2712 (CLD_DUMPED): Likewise.
2713 (CLD_TRAPPED): Likewise.
2714 (CLD_STOPPED): Likewise.
2715 (CLD_CONTINUED): Likewise.
2716 (POLL_IN): Likewise.
2717 (POLL_OUT): Likewise.
2718 (POLL_MSG): Likewise.
2719 (POLL_ERR): Likewise.
2720 (POLL_PRI): Likewise.
2721 (POLL_HUP): Likewise.
2722 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2723 (ILL_ILLOPN): Likewise.
2724 (ILL_ILLADR): Likewise.
2725 (ILL_ILLTRP): Likewise.
2726 (ILL_PRVOPC): Likewise.
2727 (ILL_PRVREG): Likewise.
2728 (ILL_COPROC): Likewise.
2729 (ILL_BADSTK): Likewise.
2730 (FPE_INTDIV): Likewise.
2731 (FPE_INTOVF): Likewise.
2732 (FPE_FLTDIV): Likewise.
2733 (FPE_FLTOVF): Likewise.
2734 (FPE_FLTUND): Likewise.
2735 (FPE_FLTRES): Likewise.
2736 (FPE_FLTINV): Likewise.
2737 (FPE_FLTSUB): Likewise.
2738 (SEGV_MAPERR): Likewise.
2739 (SEGV_ACCERR): Likewise.
2740 (BUS_ADRALN): Likewise.
2741 (BUS_ADRERR): Likewise.
2742 (BUS_OBJERR): Likewise.
2743 (BUS_MCEERR_AR): Likewise.
2744 (BUS_MCEERR_AO): Likewise.
2745 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2746 (TRAP_TRACE): Likewise.
2747 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2748 __USE_XOPEN2K8].
2749 (CLD_KILLED): Likewise.
2750 (CLD_DUMPED): Likewise.
2751 (CLD_TRAPPED): Likewise.
2752 (CLD_STOPPED): Likewise.
2753 (CLD_CONTINUED): Likewise.
2754 (POLL_IN): Likewise.
2755 (POLL_OUT): Likewise.
2756 (POLL_MSG): Likewise.
2757 (POLL_ERR): Likewise.
2758 (POLL_PRI): Likewise.
2759 (POLL_HUP): Likewise.
2760 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2761 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2762
bc61d27c
JM
2763 [BZ #16670]
2764 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2765 before #include of <time.h>.
2766 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2767 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2768 (test-xfail-UNIX98/sched.h/conform): Likewise.
2769
302949e2
MS
27702014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2771
2772 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2773 error absence of trapping exception support.
2774 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2775
a00f522a
JM
27762014-03-07 Joseph Myers <joseph@codesourcery.com>
2777
6f99f280
JM
2778 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2779 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2780 * timezone/Makefile (testdata): Move definition above include of
2781 Rules.
2782 (test-zones): New variable.
2783 (tests-special): Add zone files.
2784 (build-testdata): Use $(evaluate-test).
2785
0b20a9e8
JM
2786 * elf/Makefile (tests-special): Rename tests to end with .out.
2787 ($(objpfx)noload-mem): Likewise.
2788 ($(objpfx)tst-leaks1-mem): Likewise.
2789 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2790 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2791 $(objpfx)test-iconvconfig.out.
2792 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2793 set -e inside subshell and redirect output to file.
2794 * iconvdata/Makefile (generated): Rename tests to end with .out.
2795 Correct type.
2796 (tests-special): Rename tests to end with .out.
2797 ($(objpfx)mtrace-tst-loading): Likewise.
2798 * intl/Makefile (generated): Likewise.
2799 (tests-special): Likewise.
2800 ($(objpfx)mtrace-tst-gettext): Likewise.
2801 * misc/Makefile (generated): Likewise.
2802 (tests-special): Likewise.
2803 ($(objpfx)tst-error1-mem): Likewise.
2804 * nptl/Makefile (tests-special): Likewise.
2805 ($(objpfx)tst-stack3-mem): Likewise.
2806 (generated): Likewise.
2807 * posix/Makefile (generated): Likewise.
2808 (tests-special): Likewise.
2809 (xtests-special): Likewise.
2810 ($(objpfx)tst-fnmatch-mem): Likewise.
2811 ($(objpfx)bug-regex2-mem): Likewise.
2812 ($(objpfx)bug-regex14-mem): Likewise.
2813 ($(objpfx)bug-regex21-mem): Likewise.
2814 ($(objpfx)bug-regex31-mem): Likewise.
2815 ($(objpfx)tst-vfork3-mem): Likewise.
2816 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2817 ($(objpfx)tst-pcre-mem): Likewise.
2818 ($(objpfx)tst-boost-mem): Likewise.
2819 ($(objpfx)bug-ga2-mem): Likewise.
2820 ($(objpfx)bug-glob2-mem): Likewise.
2821 * resolv/Makefile (generate): Likewise.
2822 (tests-special): Likewise.
2823 (xtests-special): Likewise.
2824 (generated): Likewise.
2825 ($(objpfx)mtrace-tst-leaks): Likewise.
2826 ($(objpfx)mtrace-tst-leaks2): Likewise.
2827
265d52ab
JM
2828 * scripts/merge-test-results.sh: New file.
2829 * Makefile (tests-special-notdir): New variable.
2830 (tests): Run merge-test-results.sh.
2831 (xtests): Likewise.
2832 * Rules (tests-special-notdir): New variable.
2833 (xtests-special-notdir): Likewise.
2834 (tests): Run merge-test-results.sh
2835 (xtests): Likewise.
2836
54ee292d
JM
2837 * Makeconfig (test-xfail-name): New variable.
2838 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2839 compute variable name for expected failures.
2840 * conform/Makefile (conformtest-headers-data): New variable.
2841 (conformtest-standards): Likewise.
2842 (conformtest-headers-ISO): Likewise.
2843 (conformtest-headers-ISO99): Likewise.
2844 (conformtest-headers-ISO11): Likewise.
2845 (conformtest-headers-POSIX): Likewise.
2846 (conformtest-headers-XPG3): Likewise.
2847 (conformtest-headers-XPG4): Likewise.
2848 (conformtest-headers-UNIX98): Likewise.
2849 (conformtest-headers-XOPEN2K): Likewise.
2850 (conformtest-headers-POSIX2008): Likewise.
2851 (conformtest-headers-XOPEN2K8): Likewise.
2852 (conformtest-header-list-base): Likewise.
2853 (conformtest-header-list-tests): Likewise.
2854 (conformtest-header-base): Likewise.
2855 (conformtest-header-tests): Likewise.
2856 (tests-special): Add $(conformtest-header-list-tests). If
2857 [$(fast-check) && !$(cross-compiling)], add
2858 $(conformtest-header-tests) instead of
2859 $(objpfx)run-conformtest.out.
2860 (generated): Add $(conformtest-header-list-base). If
2861 [$(fast-check) && !$(cross-compiling)], add
2862 $(conformtest-header-base). Remove previous setting.
2863 ($(conformtest-header-list-tests)): New target.
2864 (test-xfail-run-conformtest): Remove variable.
2865 ($(objpfx)run-conformtest.out): Remove target.
2866 (test-xfail-ISO11/complex.h/conform): New variable.
2867 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2868 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2869 (test-xfail-XPG3/varargs.h/conform): Likewise.
2870 (test-xfail-XPG4/varargs.h/conform): Likewise.
2871 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2872 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2873 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2874 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2875 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2876 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2877 (test-xfail-XPG3/ftw.h/conform): Likewise.
2878 (test-xfail-XPG3/grp.h/conform): Likewise.
2879 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2880 (test-xfail-XPG3/limits.h/conform): Likewise.
2881 (test-xfail-XPG3/pwd.h/conform): Likewise.
2882 (test-xfail-XPG3/search.h/conform): Likewise.
2883 (test-xfail-XPG3/signal.h/conform): Likewise.
2884 (test-xfail-XPG3/stdio.h/conform): Likewise.
2885 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2886 (test-xfail-XPG3/string.h/conform): Likewise.
2887 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2888 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2889 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2890 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2891 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2892 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2893 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2894 (test-xfail-XPG3/termios.h/conform): Likewise.
2895 (test-xfail-XPG3/time.h/conform): Likewise.
2896 (test-xfail-XPG3/unistd.h/conform): Likewise.
2897 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2898 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2899 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2900 (test-xfail-XPG4/netdb.h/conform): Likewise.
2901 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2902 (test-xfail-XPG4/signal.h/conform): Likewise.
2903 (test-xfail-XPG4/stdio.h/conform): Likewise.
2904 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2905 (test-xfail-XPG4/stropts.h/conform): Likewise.
2906 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2907 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2908 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2909 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2910 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2911 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2912 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2913 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2914 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2915 (test-xfail-XPG4/termios.h/conform): Likewise.
2916 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2917 (test-xfail-XPG4/unistd.h/conform): Likewise.
2918 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2919 (test-xfail-POSIX/sched.h/conform): Likewise.
2920 (test-xfail-POSIX/signal.h/conform): Likewise.
2921 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2922 (test-xfail-POSIX/tar.h/conform): Likewise.
2923 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2924 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2925 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2926 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2927 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2928 (test-xfail-UNIX98/sched.h/conform): Likewise.
2929 (test-xfail-UNIX98/signal.h/conform): Likewise.
2930 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2931 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2932 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2933 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2934 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2935 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2936 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2937 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2938 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2939 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2940 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2941 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2942 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2943 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2944 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2945 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2946 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2947 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2948 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2949 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2950 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2951 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2952 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2953 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2954 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2955 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2956 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2957 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2958 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2959 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2960 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2961 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2962 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2963 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2964 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2965 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2966 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2967 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2968 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2969 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2970 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2971 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2972 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2973 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2974 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2975 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2976 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2977 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2978 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2979 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2980 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2981 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2982 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2983 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2984 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2985 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2986 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2987 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2988 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2989 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2990 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2991 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2992 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2993 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2994 (conformtest-cc-flags): Likewise.
2995 ($(conformtest-header-tests): New target.
2996 * conform/check-header-lists.sh: New file.
2997 * conform/run-conformtest.sh: Remove.
2998
a00f522a
JM
2999 * conform/conformtest.pl: Allow ' and \ in values given for
3000 constants.
3001 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3002 inclusion.
3003 [POSIX] (sys/types.h): Likewise.
3004 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3005 inclusion.
3006 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3007 inclusion.
3008 * conform/data/signal.h-data (SIGIO): Remove expectation.
3009 [XPG3] (SIGBUS): Do not expect.
3010 [POSIX || XPG3] (SIGPOLL): Likewise.
3011 [POSIX || XPG3] (SIGPROF): Likewise.
3012 [POSIX || XPG3] (SIGSYS): Likewise.
3013 [XPG3] (SIGTRAP): Likewise.
3014 [POSIX || XPG3] (SIGURG): Likewise.
3015 [POSIX || XPG3] (SIGVTALRM): Likewise.
3016 [POSIX || XPG3] (SIGXCPU): Likewise.
3017 [POSIX || XPG3] (SIGXFSZ): Likewise.
3018 [POSIX] (SA_SIGINFO): Expect.
3019 [XPG3] (siginfo_t): Do not expect type or contents.
3020 [POSIX] (si_pid): Do not expect element.
3021 [POSIX] (si_uid): Likewise.
3022 [POSIX] (si_addr): Likewise.
3023 [POSIX] (si_status): Likewise.
3024 [POSIX] (si_band): Likewise.
3025 [XPG4] (si_value): Likewise.
3026 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3027 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3028 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3029 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3030 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3031 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3032 [POSIX || XPG3] (ILL_COPROC): Likewise.
3033 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3034 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3035 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3036 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3037 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3038 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3039 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3040 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3041 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3042 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3043 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3044 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3045 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3046 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3047 [POSIX || XPG3] (CLD_EXITED): Likewise.
3048 [POSIX || XPG3] (CLD_KILLED): Likewise.
3049 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3050 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3051 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3052 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3053 [POSIX || XPG3] (POLL_IN): Likewise.
3054 [POSIX || XPG3] (POLL_OUT): Likewise.
3055 [POSIX || XPG3] (POLL_MSG): Likewise.
3056 [POSIX || XPG3] (POLL_ERR): Likewise.
3057 [POSIX || XPG3] (POLL_PRI): Likewise.
3058 [POSIX || XPG3] (POLL_HUP): Likewise.
3059 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3060 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3061 (SIG*): Do not allow.
3062 [XPG3] (si_*): Likewise.
3063 [XPG3] (SI_*): Likewise.
3064 [XPG3 || XPG4] (sigev_*): Likewise.
3065 [XPG3 || XPG4] (SIGEV_*): Likewise.
3066 [XPG3 || XPG4] (sival_*): Likewise.
3067 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3068 [POSIX || XPG3] (BUS_*): Likewise.
3069 [POSIX || XPG3] (CLD_*): Likewise.
3070 [POSIX || XPG3] (FPE_*): Likewise.
3071 [POSIX || XPG3] (ILL_*): Likewise.
3072 [POSIX || XPG3] (POLL_*): Likewise.
3073 [POSIX || XPG3] (SEGV_*): Likewise.
3074 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3075 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3076 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3077 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3078 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3079 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3080 Specify type and value.
3081 (TVERSLEN): Likewise.
3082 (REGTYPE): Likewise.
3083 (AREGTYPE): Likewise.
3084 (LNKTYPE): Likewise.
3085 (SYMTYPE): Likewise.
3086 (CHRTYPE): Likewise.
3087 (BLKTYPE): Likewise.
3088 (DIRTYPE): Likewise.
3089 (FIFOTYPE): Likewise.
3090 (CONTTYPE): Likewise.
3091 (TSUID): Likewise.
3092 (TSGID): Likewise.
3093 (TSVTX): Likewise.
3094 (TUREAD): Likewise.
3095 (TUWRITE): Likewise.
3096 (TUEXEC): Likewise.
3097 (TGREAD): Likewise.
3098 (TGWRITE): Likewise.
3099 (TGEXEC): Likewise.
3100 (TOREAD): Likewise.
3101 (TOWRITE): Likewise.
3102 (TOEXEC): Likewise.
3103 [POSIX] (TSVTX): Expect constant.
3104
aa97dee1
JM
31052014-03-06 Joseph Myers <joseph@codesourcery.com>
3106
f214606a
JM
3107 * Makefile (tests): Change dependencies to ....
3108 (tests-special): ... additions to this variable.
3109 (tests): Depend on $(tests-special).
3110 * Makerules (check-abi-list): New variable.
3111 (check-abi): Depend on $(check-abi-list).
3112 [$(subdir) = elf] (tests-special): Add
3113 $(objpfx)check-abi-libc.out.
3114 [$(build-shared) = yes && subdir] (tests-special): Add
3115 $(check-abi-list).
3116 [$(build-shared) = yes && subdir] (tests): Do not depend on
3117 check-abi.
3118 * Rules (tests): Depend on $(tests-special).
3119 (xtests): Depend on $(xtests-special).
3120 * catgets/Makefile (tests): Change dependencies to ....
3121 (tests-special): ... additions to this variable.
3122 * conform/Makefile (tests): Change dependencies to ....
3123 (tests-special): ... additions to this variable.
3124 * elf/Makefile (tests): Change dependencies to ....
3125 (tests-special): ... additions to this variable.
3126 * grp/Makefile (tests): Change dependencies to ....
3127 (tests-special): ... additions to this variable.
3128 * iconv/Makefile (xtests): Change dependencies to ....
3129 (xtests-special): ... additions to this variable.
3130 * iconvdata/Makefile (tests): Change dependencies to ....
3131 (tests-special): ... additions to this variable.
3132 * intl/Makefile (tests): Change dependencies to ....
3133 (tests-special): ... additions to this variable. Also add
3134 $(objpfx)tst-gettext.out.
3135 * io/Makefile (tests): Change dependencies to ....
3136 (tests-special): ... additions to this variable.
3137 * libio/Makefile (tests): Change dependencies to ....
3138 (tests-special): ... additions to this variable.
3139 * malloc/Makefile (tests): Change dependencies to ....
3140 (tests-special): ... additions to this variable.
3141 * misc/Makefile (tests): Change dependencies to ....
3142 (tests-special): ... additions to this variable.
3143 * nptl/Makefile (tests): Change dependencies to ....
3144 (tests-special): ... additions to this variable.
3145 * nptl_db/Makefile (tests): Change dependencies to ....
3146 (tests-special): ... additions to this variable.
3147 * posix/Makefile (tests): Change dependencies to ....
3148 (tests-special): ... additions to this variable.
3149 (xtests): Change dependencies to ....
3150 (xtests-special): ... additions to this variable.
3151 * resolv/Makefile (tests): Change dependencies to ....
3152 (tests-special): ... additions to this variable.
3153 (xtests): Change dependencies to ....
3154 (xtests-special): ... additions to this variable.
3155 * stdio-common/Makefile (tests): Change dependencies to ....
3156 (tests-special): ... additions to this variable.
3157 (do-tst-unbputc): Remove target.
3158 (do-tst-printf): Likewise.
3159 * stdlib/Makefile (tests): Change dependencies to ....
3160 (tests-special): ... additions to this variable.
3161 * string/Makefile (tests): Change dependencies to ....
3162 (tests-special): ... additions to this variable.
3163 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3164 (tests-special): ... additions to this variable.
3165
81700b53
JM
3166 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3167 whole file.
3168 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3169 whole file.
3170 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3171 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3172
2ea18461
JM
3173 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3174 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3175 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3176 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3177 * conform/data/libgen.h-data [XPG3]: Likewise.
3178 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3179 * conform/data/ndbm.h-data [XPG3]: Likewise.
3180 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3181 * conform/data/netdb.h-data [XPG3]: Likewise.
3182 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3183 * conform/data/poll.h-data [XPG3]: Likewise.
3184 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3185 * conform/data/strings.h-data [XPG3]: Likewise.
3186 * conform/data/stropts.h-data [XPG3]: Likewise.
3187 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3188 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3189 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3190 Likewise.
3191 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3192 * conform/data/sys/time.h-data [XPG3]: Likewise.
3193 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3194 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3195 * conform/data/sys/un.h-data [XPG3]: Likewise.
3196 * conform/data/syslog.h-data [XPG3]: Likewise.
3197 * conform/data/ucontext.h-data [XPG3]: Likewise.
3198 * conform/data/utmpx.h-data [XPG3]: Likewise.
3199 * conform/data/varargs.h-data [UNIX98]: Enable file.
3200
355bc986
JM
3201 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3202
215db402
JM
3203 * math/libm-test.inc (struct test_f_f_data): Move expected results
3204 into structure for each rounding mode.
3205 (struct test_ff_f_data): Likewise.
3206 (struct test_ff_f_data_nexttoward): Likewise.
3207 (struct test_fi_f_data): Likewise.
3208 (struct test_fl_f_data): Likewise.
3209 (struct test_if_f_data): Likewise.
3210 (struct test_fff_f_data): Likewise.
3211 (struct test_c_f_data): Likewise.
3212 (struct test_f_f1_data): Likewise.
3213 (struct test_fF_f1_data): Likewise.
3214 (struct test_ffI_f1_data): Likewise.
3215 (struct test_c_c_data): Likewise.
3216 (struct test_cc_c_data): Likewise.
3217 (struct test_f_i_data): Likewise.
3218 (struct test_ff_i_data): Likewise.
3219 (struct test_f_l_data): Likewise.
3220 (struct test_f_L_data): Likewise.
3221 (struct test_fFF_11_data): Likewise.
3222 (RM_): New macro.
3223 (RM_FE_DOWNWARD): Likewise.
3224 (RM_FE_TONEAREST): Likewise.
3225 (RM_FE_TOWARDZERO): Likewise.
3226 (RM_FE_UPWARD): Likewise.
3227 (RUN_TEST_LOOP_f_f): Update references to expected results.
3228 (RUN_TEST_LOOP_2_f): Likewise.
3229 (RUN_TEST_LOOP_fff_f): Likewise.
3230 (RUN_TEST_LOOP_c_f): Likewise.
3231 (RUN_TEST_LOOP_f_f1): Likewise.
3232 (RUN_TEST_LOOP_fF_f1): Likewise.
3233 (RUN_TEST_LOOP_fI_f1): Likewise.
3234 (RUN_TEST_LOOP_ffI_f1): Likewise.
3235 (RUN_TEST_LOOP_c_c): Likewise.
3236 (RUN_TEST_LOOP_cc_c): Likewise.
3237 (RUN_TEST_LOOP_f_i): Likewise.
3238 (RUN_TEST_LOOP_f_i_tg): Likewise.
3239 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3240 (RUN_TEST_LOOP_f_b): Likewise.
3241 (RUN_TEST_LOOP_f_b_tg): Likewise.
3242 (RUN_TEST_LOOP_f_l): Likewise.
3243 (RUN_TEST_LOOP_f_L): Likewise.
3244 (RUN_TEST_LOOP_fFF_11): Likewise.
3245 * math/gen-libm-test.pl (parse_args): Output four copies of
3246 expected results for each test.
3247
67737b8f
JM
3248 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3249 (__ASSUME_UTIMES): Remove.
3250 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3251 (__ASSUME_UTIMES): Likewise.
3252
aa97dee1
JM
3253 * math/gen-auto-libm-tests.c: Update comment on output format.
3254 (output_for_one_input_case): Generate before-rounding and
3255 after-rounding information as conditions on output flags not
3256 floating-point format.
3257 * math/auto-libm-test-out: Regenerated.
3258 * math/gen-libm-test.pl (cond_value): New function.
3259 (or_cond_value): Use cond_value.
3260 (generate_testfile): Handle conditional exceptions.
3261
e6b6a857
JM
32622014-03-05 Joseph Myers <joseph@codesourcery.com>
3263
2f0a0f44
JM
3264 * math/libm-test.inc (max_valid_error): New variable.
3265 (init_max_error): Take new argument specifying whether function
3266 results are exactly determined. Set max_valid_error and bound
3267 other variables for errors based on this argument.
3268 (set_max_error): Do not record results above max_valid_error.
3269 (check_float_internal): Only accept errors of up to 0.5ulps if
3270 also at most max_valid_error.
3271 (START): Take new argument EXACT and pass it to init_max_error.
3272 (acos_test): Update call to START.
3273 (acos_test_tonearest): Likewise.
3274 (acos_test_towardzero): Likewise.
3275 (acos_test_downward): Likewise.
3276 (acos_test_upward): Likewise.
3277 (acosh_test): Likewise.
3278 (asin_test): Likewise.
3279 (asin_test_tonearest): Likewise.
3280 (asin_test_towardzero): Likewise.
3281 (asin_test_downward): Likewise.
3282 (asin_test_upward): Likewise.
3283 (asinh_test): Likewise.
3284 (atan_test): Likewise.
3285 (atanh_test): Likewise.
3286 (atan2_test): Likewise.
3287 (cabs_test): Likewise.
3288 (cacos_test): Likewise.
3289 (cacosh_test): Likewise.
3290 (carg_test): Likewise.
3291 (casin_test): Likewise.
3292 (casinh_test): Likewise.
3293 (catan_test): Likewise.
3294 (catanh_test): Likewise.
3295 (cbrt_test): Likewise.
3296 (ccos_test): Likewise.
3297 (ccosh_test): Likewise.
3298 (ceil_test): Likewise.
3299 (cexp_test): Likewise.
3300 (cimag_test): Likewise.
3301 (clog_test): Likewise.
3302 (clog10_test): Likewise.
3303 (conj_test): Likewise.
3304 (copysign_test): Likewise.
3305 (cos_test): Likewise.
3306 (cos_test_tonearest): Likewise.
3307 (cos_test_towardzero): Likewise.
3308 (cos_test_downward): Likewise.
3309 (cos_test_upward): Likewise.
3310 (cosh_test): Likewise.
3311 (cosh_test_tonearest): Likewise.
3312 (cosh_test_towardzero): Likewise.
3313 (cosh_test_downward): Likewise.
3314 (cosh_test_upward): Likewise.
3315 (cpow_test): Likewise.
3316 (cproj_test): Likewise.
3317 (creal_test): Likewise.
3318 (csin_test): Likewise.
3319 (csinh_test): Likewise.
3320 (csqrt_test): Likewise.
3321 (ctan_test): Likewise.
3322 (ctan_test_tonearest): Likewise.
3323 (ctan_test_towardzero): Likewise.
3324 (ctan_test_downward): Likewise.
3325 (ctan_test_upward): Likewise.
3326 (ctanh_test): Likewise.
3327 (ctanh_test_tonearest): Likewise.
3328 (ctanh_test_towardzero): Likewise.
3329 (ctanh_test_downward): Likewise.
3330 (ctanh_test_upward): Likewise.
3331 (erf_test): Likewise.
3332 (erfc_test): Likewise.
3333 (exp_test): Likewise.
3334 (exp_test_tonearest): Likewise.
3335 (exp_test_towardzero): Likewise.
3336 (exp_test_downward): Likewise.
3337 (exp_test_upward): Likewise.
3338 (exp10_test): Likewise.
3339 (exp10_test_tonearest): Likewise.
3340 (exp10_test_towardzero): Likewise.
3341 (exp10_test_downward): Likewise.
3342 (exp10_test_upward): Likewise.
3343 (pow10_test): Likewise.
3344 (exp2_test): Likewise.
3345 (expm1_test): Likewise.
3346 (expm1_test_tonearest): Likewise.
3347 (expm1_test_towardzero): Likewise.
3348 (expm1_test_downward): Likewise.
3349 (expm1_test_upward): Likewise.
3350 (fabs_test): Likewise.
3351 (fdim_test): Likewise.
3352 (floor_test): Likewise.
3353 (fma_test): Likewise.
3354 (fma_test_towardzero): Likewise.
3355 (fma_test_downward): Likewise.
3356 (fma_test_upward): Likewise.
3357 (fmax_test): Likewise.
3358 (fmin_test): Likewise.
3359 (fmod_test): Likewise.
3360 (fpclassify_test): Likewise.
3361 (frexp_test): Likewise.
3362 (hypot_test): Likewise.
3363 (ilogb_test): Likewise.
3364 (isfinite_test): Likewise.
3365 (finite_test): Likewise.
3366 (isgreater_test): Likewise.
3367 (isgreaterequal_test): Likewise.
3368 (isinf_test): Likewise.
3369 (isless_test): Likewise.
3370 (islessequal_test): Likewise.
3371 (islessgreater_test): Likewise.
3372 (isnan_test): Likewise.
3373 (isnormal_test): Likewise.
3374 (issignaling_test): Likewise.
3375 (isunordered_test): Likewise.
3376 (j0_test): Likewise.
3377 (j1_test): Likewise.
3378 (jn_test): Likewise.
3379 (ldexp_test): Likewise.
3380 (lgamma_test): Likewise.
3381 (gamma_test): Likewise.
3382 (lrint_test): Likewise.
3383 (lrint_test_tonearest): Likewise.
3384 (lrint_test_towardzero): Likewise.
3385 (lrint_test_downward): Likewise.
3386 (lrint_test_upward): Likewise.
3387 (llrint_test): Likewise.
3388 (llrint_test_tonearest): Likewise.
3389 (llrint_test_towardzero): Likewise.
3390 (llrint_test_downward): Likewise.
3391 (llrint_test_upward): Likewise.
3392 (log_test): Likewise.
3393 (log10_test): Likewise.
3394 (log1p_test): Likewise.
3395 (log2_test): Likewise.
3396 (logb_test): Likewise.
3397 (logb_test_downward): Likewise.
3398 (lround_test): Likewise.
3399 (llround_test): Likewise.
3400 (modf_test): Likewise.
3401 (nearbyint_test): Likewise.
3402 (nextafter_test): Likewise.
3403 (nexttoward_test): Likewise.
3404 (pow_test): Likewise.
3405 (pow_test_tonearest): Likewise.
3406 (pow_test_towardzero): Likewise.
3407 (pow_test_downward): Likewise.
3408 (pow_test_upward): Likewise.
3409 (remainder_test): Likewise.
3410 (drem_test): Likewise.
3411 (remainder_test_tonearest): Likewise.
3412 (drem_test_tonearest): Likewise.
3413 (remainder_test_towardzero): Likewise.
3414 (drem_test_towardzero): Likewise.
3415 (remainder_test_downward): Likewise.
3416 (drem_test_downward): Likewise.
3417 (remainder_test_upward): Likewise.
3418 (drem_test_upward): Likewise.
3419 (remquo_test): Likewise.
3420 (rint_test): Likewise.
3421 (rint_test_tonearest): Likewise.
3422 (rint_test_towardzero): Likewise.
3423 (rint_test_downward): Likewise.
3424 (rint_test_upward): Likewise.
3425 (round_test): Likewise.
3426 (scalb_test): Likewise.
3427 (scalbn_test): Likewise.
3428 (scalbln_test): Likewise.
3429 (signbit_test): Likewise.
3430 (sin_test): Likewise.
3431 (sin_test_tonearest): Likewise.
3432 (sin_test_towardzero): Likewise.
3433 (sin_test_downward): Likewise.
3434 (sin_test_upward): Likewise.
3435 (sincos_test): Likewise.
3436 (sinh_test): Likewise.
3437 (sinh_test_tonearest): Likewise.
3438 (sinh_test_towardzero): Likewise.
3439 (sinh_test_downward): Likewise.
3440 (sinh_test_upward): Likewise.
3441 (sqrt_test): Likewise.
3442 (sqrt_test_tonearest): Likewise.
3443 (sqrt_test_towardzero): Likewise.
3444 (sqrt_test_downward): Likewise.
3445 (sqrt_test_upward): Likewise.
3446 (tan_test): Likewise.
3447 (tan_test_tonearest): Likewise.
3448 (tan_test_towardzero): Likewise.
3449 (tan_test_downward): Likewise.
3450 (tan_test_upward): Likewise.
3451 (tanh_test): Likewise.
3452 (tgamma_test): Likewise.
3453 (trunc_test): Likewise.
3454 (y0_test): Likewise.
3455 (y1_test): Likewise.
3456 (yn_test): Likewise.
3457 (significand_test): Likewise.
3458
e6b6a857
JM
3459 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3460 individual tests in comment.
3461 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3462 (prev_max_error): New variable.
3463 (prev_real_max_error): Likewise.
3464 (prev_imag_max_error): Likewise.
3465 (compare_ulp_data): Don't refer to test names in comment.
3466 (find_test_ulps): Remove function.
3467 (find_function_ulps): Likewise.
3468 (find_complex_function_ulps): Likewise.
3469 (init_max_error): Take function name as argument. Look up ulps
3470 for that function.
3471 (print_ulps): Remove function.
3472 (print_max_error): Use prev_max_error instead of calling
3473 find_function_ulps.
3474 (print_complex_max_error): Use prev_real_max_error and
3475 prev_imag_max_error instead of calling find_complex_function_ulps.
3476 (check_float_internal): Take max_ulp parameter instead of calling
3477 find_test_ulps. Don't call print_ulps.
3478 (check_float): Update call to check_float_internal.
3479 (check_complex): Update calls to check_float_internal.
3480 (START): Pass argument to init_max_error.
3481 * math/gen-libm-test.pl (%results): Don't include "kind"
3482 information.
3483 (parse_ulps): Don't handle ulps of individual tests.
3484 (print_ulps_file): Likewise.
3485 (output_ulps): Likewise.
3486 * math/README.libm-test: Update.
3487 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3488 individual tests.
3489 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3490 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3491 * sysdeps/arm/libm-test-ulps: Likewise.
3492 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3493 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3494 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3495 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3496 * sysdeps/microblaze/libm-test-ulps: Likewise.
3497 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3498 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3499 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3500 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3501 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3502 * sysdeps/sh/libm-test-ulps: Likewise.
3503 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3504 * sysdeps/tile/libm-test-ulps: Likewise.
3505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3506
45adef3c
JM
35072014-03-04 Joseph Myers <joseph@codesourcery.com>
3508
3509 * math/libm-test.inc (print_complex_max_error): Check separately
3510 whether real and imaginary errors are within allowed range and
3511 pass 0 to print_complex_function_ulps instead of value within
3512 allowed range.
3513
000232b9
SP
35142014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3515
d4b17258
SP
3516 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3517 formatting.
3518 (get_handles_fopen): Likewise.
3519 (do_write_test): Likewise.
3520
091eff71
SP
3521 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3522
fa3cd248
SP
3523 * libio/fileops.c (do_ftell): Use cached offset when
3524 available.
3525 * libio/iofwide.c (do_ftell_wide): Likewise.
3526 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3527 _IO_file_attach.
3528 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3529
000232b9
SP
3530 [BZ #16532]
3531 * libio/libioP.h (get_file_offset): New function.
3532 * libio/fileops.c (get_file_offset): Likewise.
3533 (do_ftell): Likewise.
3534 (_IO_new_file_seekoff): Split out ftell logic.
3535 * libio/wfileops.c (do_ftell_wide): Likewise.
3536 (_IO_wfile_seekoff): Split out ftell logic.
3537 * libio/tst-ftell-active-handler.c: New test case.
3538 * libio/Makefile (tests): Add it.
3539
116f4d1a
RM
35402014-03-03 Roland McGrath <roland@hack.frob.com>
3541
3542 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3543 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3544
532a6035
SP
35452014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3546
3547 [BZ #16639]
3548 * nscd/connections.c (nscd_init): Call do_exit.
3549 (start_threads): Call do_exit and notify_parent.
3550 (begin_drop_privileges): Call do_exit.
3551 (finish_drop_privileges): Likewise.
3552 * nscd/selinux.c (preserve_capabilities): Likewise.
3553 (install_real_capabilities): Likewise.
3554 (nscd_selinux_enabled): Likewise.
3555 (avc_create_thread): Likewise.
3556 (avc_alloc_lock): Likewise.
3557 (nscd_avc_init): Likewise.
3558 * nscd/nscd.c (parent_fd): New static variable.
3559 (main): Create a pipe between parent and child processes.
3560 Skip closing parent_fd.
3561 (monitor_child): New function.
3562 (do_exit): Likewise.
3563 (notify_parent): Likewise.
3564 * nscd/nscd.h (notify_parent): Likewise.
3565 (do_exit): Likewise.
3566
d6285c9f
CD
35672014-03-03 Carlos O'Donell <carlos@redhat.com>
3568
3569 * malloc/malloc.c (__libc_calloc): Revert last change.
3570
2b85d2a0
AZ
35712014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3572
3573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3574
c7debbdf
RS
35752014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3576
3577 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3579 implementation.
3580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3581 (__libc_ifunc_impl_list): Likewise.
3582 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3583 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3584 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3585 * string/strrchr.c: Define STRRCHR.
3586
235eed86
OB
35872014-02-28 Ondřej Bílka <neleai@seznam.cz>
3588
3589 * benchtest/bench-strtok.c (simple_strtok): Delete.
3590 (strtok_string): Use as benchmark.
3591 * string/strtok (STRTOK): New macro.
3592
8e25d1e7
CD
35932014-02-28 Carlos O'Donell <carlos@redhat.com>
3594
ef563f92
CD
3595 * manual/threads.texi: Add header and standard comments to all
3596 functions.
3597
8e25d1e7
CD
3598 * elf/dl-lookup.c (check_match): New function.
3599 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3600 (do_lookup_x): Remove nested function check_match. Use non-nested
3601 function check_match.
3602
ff71cc37
RM
36032014-02-28 Roland McGrath <roland@hack.frob.com>
3604
f08e9a26
RM
3605 * csu/Makefile (generated, before-compile): Use += rather than =.
3606 * catgets/Makefile (generated, generated-dirs): Likewise.
3607 * debug/Makefile (generated): Likewise.
3608 * dlfcn/Makefile (generated): Likewise.
3609 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3610 * iconvdata/Makefile (before-compile, generated): Likewise.
3611 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3612 * libio/Makefile (generated): Likewise.
3613 * malloc/Makefile (generated): Likewise.
3614 * manual/Makefile (generated, generated-dirs): Likewise.
3615 * misc/Makefile (generated): Likewise.
3616 * posix/Makefile (generated): Likewise.
3617 * resolv/Makefile (generated): Likewise.
3618 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3619 * timezone/Makefile (generated, generated-dirs): Likewise.
3620
ff71cc37
RM
3621 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3622
fe13a20c
AZ
36232014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3624
57f41c40
AS
3625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3626 power8 implementation.
3627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3628 file: POWER8 llround ifunc implementation.
3629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3630 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3631 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3632 POWER8 llround implementation.
3633
57f41c40
AS
3634 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3635 power8 implementation.
3636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3637 file: POWER8 llrint ifunc implementation.
3638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3639 Add POWER8 implementation.
1ad8950a
AZ
3640 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3641 POWER8 llrint implementation.
3642
57f41c40
AS
3643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3644 power8 implementation.
3645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3646 file: POWER8 finite ifunc implementation.
3647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3648 Add POWER8 implementation.
cac626d6
AZ
3649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3650 Likewise.
3651 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3652 POWER8 finite implementation.
3653 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3654
57f41c40
AS
3655 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3656 power8 implementation.
3657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3658 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3660 POWER8 implementation.
3661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3662 Likewise.
57f41c40
AS
3663 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3664 isinf implementation.
4393fc11
AZ
3665 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3666
57f41c40
AS
3667 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3668 (INIT_ARCH): Add hwcap2 initialization.
3669 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3670 power8 implementation.
3671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3672 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3674 POWER8 implementation.
3675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3676 Likewise.
57f41c40
AS
3677 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3678 isnan implementation.
487972ae
AZ
3679 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3680
7d92b787
JY
36812014-02-27 Joey Ye <joey.ye@arm.com>
3682
3683 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3684 (_FP_NANFRAC_Q): Set to zero.
3685
1cadc858
SP
36862014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3687
3688 [BZ #16623]
3689 * math/auto-libm-test-in: New test inputs.
3690 * math/auto-libm-test-out: Regenerate.
3691 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3692 and DA.
3693 (__cos): Likewise.
3694 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3695
f8c17e79
JM
36962014-02-27 Joseph Myers <joseph@codesourcery.com>
3697
3698 * scripts/evaluate-test.sh: Take new argument indicating whether
3699 failure is expected.
3700 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3701 indicating whether failure is expected.
3702 * conform/Makefile (test-xfail-run-conformtest): New variable.
3703 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3704 level.
3705 * posix/Makefile (test-xfail-annexc): New variable.
3706 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3707
a5f891ac
JM
37082014-02-26 Joseph Myers <joseph@codesourcery.com>
3709
3710 * argp/Makefile: Include Makeconfig immediately after defining
3711 subdir.
3712 * assert/Makefile: Likewise.
3713 * benchtests/Makefile: Likewise.
3714 * catgets/Makefile: Likewise.
3715 * conform/Makefile: Likewise.
3716 * crypt/Makefile: Likewise.
3717 * csu/Makefile: Likewise.
3718 (all): Remove target.
3719 * ctype/Makefile: Include Makeconfig immediately after defining
3720 subdir.
3721 * debug/Makefile: Likewise.
3722 * dirent/Makefile: Likewise.
3723 * dlfcn/Makefile: Likewise.
3724 * gmon/Makefile: Likewise.
3725 * gnulib/Makefile: Likewise.
3726 * grp/Makefile: Likewise.
3727 * gshadow/Makefile: Likewise.
3728 * hesiod/Makefile: Likewise.
3729 * hurd/Makefile: Likewise.
3730 (all): Remove target.
3731 * iconvdata/Makefile: Include Makeconfig immediately after
3732 defining subdir.
3733 * inet/Makefile: Likewise.
3734 * intl/Makefile: Likewise.
3735 * io/Makefile: Likewise.
3736 * libio/Makefile: Likewise.
3737 (all): Remove target.
3738 * locale/Makefile: Include Makeconfig immediately after defining
3739 subdir.
3740 * login/Makefile: Likewise.
3741 * mach/Makefile: Likewise.
3742 (all): Remove target.
3743 * malloc/Makefile: Include Makeconfig immediately after defining
3744 subdir.
3745 (all): Remove target.
3746 * manual/Makefile: Include Makeconfig immediately after defining
3747 subdir.
3748 * math/Makefile: Likewise.
3749 * misc/Makefile: Likewise.
3750 * nis/Makefile: Likewise.
3751 * nss/Makefile: Likewise.
3752 * po/Makefile: Likewise.
3753 (all): Remove target.
3754 * posix/Makefile: Include Makeconfig immediately after defining
3755 subdir.
3756 * pwd/Makefile: Likewise.
3757 * resolv/Makefile: Likewise.
3758 * resource/Makefile: Likewise.
3759 * rt/Makefile: Likewise.
3760 * setjmp/Makefile: Likewise.
3761 * shadow/Makefile: Likewise.
3762 * signal/Makefile: Likewise.
3763 * socket/Makefile: Likewise.
3764 * soft-fp/Makefile: Likewise.
3765 * stdio-common/Makefile: Likewise.
3766 * stdlib/Makefile: Likewise.
3767 * streams/Makefile: Likewise.
3768 * string/Makefile: Likewise.
3769 * sunrpc/Makefile: Likewise.
3770 (all): Remove target.
3771 * sysvipc/Makefile: Include Makeconfig immediately after defining
3772 subdir.
3773 * termios/Makefile: Likewise.
3774 * time/Makefile: Likewise.
3775 * timezone/Makefile: Likewise.
3776 (all): Remove target.
3777 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3778 subdir.
3779 * wctype/Makefile: Likewise.
3780
5b456e9d
SE
37812014-02-26 Steve Ellcey <sellcey@mips.com>
3782
3783 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3784 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3785 (libc_feholdexcept_setround_mips): Ditto.
3786 (libc_feholdsetround): New.
3787 (libc_feholdsetroundf): New.
3788 (libc_feholdsetroundl): New.
3789 (libc_feupdateenv_test_mips): New.
3790 (libc_feupdateenv_test): New.
3791 (libc_feupdateenv_testf): New.
3792 (libc_feupdateenv_testl): New.
3793 (libc_feresetround): New.
3794 (libc_feresetroundf): New.
3795 (libc_feresetroundl): New.
3796 (libc_fetestexcept_mips): New.
3797 (libc_fetestexcept): New.
3798 (libc_fetestexceptf): New.
3799 (libc_fetestexceptl): New.
3800 (HAVE_RM_CTX): New.
3801 (libc_feholdexcept_setround_mips_ctx): New.
3802 (libc_feholdexcept_setround_ctx): New.
3803 (libc_feholdexcept_setroundf_ctx): New.
3804 (libc_feholdexcept_setroundl_ctx): New.
3805 (libc_fesetenv_mips_ctx): New.
3806 (libc_fesetenv_ctx): New.
3807 (libc_fesetenv_ctxf): New.
3808 (libc_fesetenv_ctxl): New.
3809 (libc_feupdateenv_mips_ctx): New.
3810 (libc_feupdateenv_ctx): New.
3811 (libc_feupdateenvf_ctx): New.
3812 (libc_feupdateenvl_ctx): New.
3813 (libc_feholdsetround_mips_ctx): New.
3814 (libc_feholdsetround_ctx): New.
3815 (libc_feholdsetroundf_ctx): New.
3816 (libc_feholdsetroundl_ctx): New.
3817 (libc_feresetround_mips_ctx): New.
3818 (libc_feresetround_ctx): New.
3819 (libc_feresetroundf_ctx): New.
3820 (libc_feresetroundl_ctx): New.
3821
085d0e35
CD
38222014-02-26 Carlos O'Donell <carlos@redhat.com>
3823
f067bf1f
CD
3824 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3825
085d0e35
CD
3826 * manual/ipc.texi: New file.
3827 * manual/Makefile (chapters): Add ipc.
3828 * manual/job.texi: Add "Inter-Process Communication" to next.
3829 * manual/process.texi: Add "Inter-Process Communication" to prev.
3830
86e58c08
AZ
38312014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3832
3833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3834
4248f0da
OB
38352014-02-26 Ondřej Bílka <neleai@seznam.cz>
3836
3837 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3838
cf822e3c
OB
3839 * manual/arith.texi: Fix spaces after sentences.
3840 * manual/charset.texi: Likewise.
3841 * manual/errno.texi: Likewise.
3842 * manual/install.texi: Likewise.
3843 * manual/llio.texi: Likewise.
3844 * manual/locale.texi: Likewise.
3845 * manual/maint.texi: Likewise.
3846 * manual/math.texi: Likewise.
3847 * manual/memory.texi: Likewise.
3848 * manual/message.texi: Likewise.
3849 * manual/probes.texi: Likewise.
3850 * manual/resource.texi: Likewise.
3851 * manual/signal.texi: Likewise.
3852 * manual/socket.texi: Likewise.
3853 * manual/stdio.texi: Likewise.
3854 * manual/string.texi: Likewise.
3855 * manual/time.texi: Likewise.
3856 * manual/users.texi: Likewise.
3857
ade40b10
CD
38582014-02-25 Carlos O'Donell <carlos@redhat.com>
3859
3860 [BZ #16632]
3861 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3862 _DEFAULT_SOURCE is defined.
3863
d0503676
CD
38642014-02-25 Ulrich Drepper <drepper@gmail.com>
3865 Carlos O'Donell <carlos@redhat.com>
3866
3867 [BZ #16613]
3868 * elf/dl-tls.c (_dl_count_modids): New function.
3869 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3870 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3871 audit library and increment generation counter.
3872 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3873 * elf/tst-audit9.c: New file.
3874 * elf/tst-auditmod9a.c: New file.
3875 * elf/tst-auditmod9b.c: New file.
3876 * elf/Makefile: Add rules to build and run tst-audit9.
3877
4cbf380c
FW
38782014-02-25 Florian Weimer <fweimer@redhat.com>
3879
3880 [BZ #15347]
3881 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3882
80a56cc3
WN
38832014-02-25 Will Newton <will.newton@linaro.org>
3884
3885 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3886 (__longjmp): Restore sp and lr before restoring callee
3887 saved registers. Add longjmp and longjmp_target
3888 SystemTap probe point.
3889 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3890 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3891 Define to zero to match jmpbuf layout.
3892 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3893 (__sigsetjmp): Save sp and lr before saving callee
3894 saved registers. Add setjmp SystemTap probe point.
3895
3ea0f74e
SL
38962014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3897
3898 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3899
b04acb26
AS
39002014-02-24 Andreas Schwab <schwab@suse.de>
3901
3902 [BZ #15804]
3903 * elf/pldd.c (wait_for_ptrace_stop): New function.
3904 (main): Call it after attaching.
3905
098ad55c
RM
39062014-02-22 Roland McGrath <roland@hack.frob.com>
3907
d4ec6ae1
RM
3908 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3909 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3910 Versions files is now verboten.
3911 * hurd/Versions (libc: GLIBC_2.0):
3912 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3913 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3914 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3915 * mach/Versions: Likewise.
3916
098ad55c
RM
3917 * csu/Versions: Remove unused %include.
3918 * resolv/Versions: Likewise.
3919
acd7f096
JM
39202014-02-21 Joseph Myers <joseph@codesourcery.com>
3921
f0881698
JM
3922 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3923 ($(objpfx)check-local-headers.out): Likewise.
3924 ($(objpfx)begin-end-check.out): Likewise.
3925 * Makerules (check-abi-%.out): Likewise.
3926 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3927 ($(objpfx)test2.cat): Likewise.
3928 ($(objpfx)de/libc.cat): Likewise.
3929 ($(objpfx)test-gencat.out): Likewise.
3930 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3931 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3932 ($(objpfx)noload-mem): Likewise.
3933 ($(objpfx)tst-pathopt.out): Likewise.
3934 ($(objpfx)tst-rtld-load-self.out): Likewise.
3935 ($(objpfx)tst-array1-cmp.out): Likewise.
3936 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3937 ($(objpfx)tst-array2-cmp.out): Likewise.
3938 ($(objpfx)tst-array3-cmp.out): Likewise.
3939 ($(objpfx)tst-array4-cmp.out): Likewise.
3940 ($(objpfx)tst-array5-cmp.out): Likewise.
3941 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3942 ($(objpfx)check-textrel.out): Likewise.
3943 ($(objpfx)check-execstack.out): Likewise.
3944 ($(objpfx)check-localplt.out): Likewise.
3945 ($(objpfx)order2-cmp.out): Likewise.
3946 ($(objpfx)tst-leaks1-mem): Likewise.
3947 ($(objpfx)tst-leaks1-static-mem): Likewise.
3948 ($(objpfx)tst-initorder-cmp.out): Likewise.
3949 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3950 ($(objpfx)tst-unused-dep.out): Likewise.
3951 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3952 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3953 * iconv/Makefile (test-iconvconfig): Likewise.
3954 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3955 ($(objpfx)iconv-test.out): Likewise.
3956 ($(objpfx)tst-tables.out): Likewise.
3957 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3958 ($(objpfx)tst-gettext.out): Likewise.
3959 ($(objpfx)tst-translit.out): Likewise.
3960 ($(objpfx)tst-gettext2.out): Likewise.
3961 ($(objpfx)tst-gettext4.out): Likewise.
3962 ($(objpfx)tst-gettext6.out): Likewise.
3963 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3964 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3965 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3966 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3967 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3968 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3969 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3970 ($(objpfx)wordexp-tst.out): Likewise.
3971 ($(objpfx)annexc.out): Likewise.
3972 ($(objpfx)tst-fnmatch-mem): Likewise.
3973 ($(objpfx)bug-regex2-mem): Likewise.
3974 ($(objpfx)bug-regex14-mem): Likewise.
3975 ($(objpfx)bug-regex21-mem): Likewise.
3976 ($(objpfx)bug-regex31-mem): Likewise.
3977 ($(objpfx)tst-vfork3-mem): Likewise.
3978 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3979 ($(objpfx)tst-pcre-mem): Likewise.
3980 ($(objpfx)tst-boost-mem): Likewise.
3981 ($(objpfx)tst-getconf.out): Likewise.
3982 ($(objpfx)bug-ga2-mem): Likewise.
3983 ($(objpfx)bug-glob2-mem): Likewise.
3984 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3985 ($(objpfx)mtrace-tst-leaks2): Likewise.
3986 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3987 ($(objpfx)tst-printf.out): Likewise.
3988 ($(objpfx)tst-setvbuf1.out): Likewise.
3989 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3990 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3991 ($(objpfx)tst-fmtmsg.out): Likewise.
3992 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3993 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3994
acd7f096
JM
3995 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3996 * bits/sigaction.h [__USE_MISC]: Likewise.
3997 * bits/waitstatus.h: Update #endif comments.
3998 * ctype/ctype.h: Likewise.
3999 * dirent/dirent.h: Likewise.
4000 [__USE_MISC]: Remove redundant conditionals.
4001 * grp/grp.h: Update #endif comments.
4002 [__USE_GNU]: Remove redundant conditionals.
4003 [__USE_MISC]: Likewise.
4004 * inet/netinet/in.h [__USE_GNU]: Likewise.
4005 * io/sys/stat.h [__USE_MISC]: Likewise.
4006 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4007 * libio/bits/stdio.h: Update #endif comments.
4008 [__USE_MISC]: Remove redundant conditionals.
4009 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4010 * libio/stdio.h: Update #endif comments.
4011 [__USE_MISC]: Remove redundant conditionals.
4012 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4013 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4014 * math/math.h: Update #else and #endif comments.
4015 [__USE_MISC]: Remove redundant conditionals.
4016 * misc/sys/uio.h: Update #endif comments.
4017 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4018 * posix/glob.h [__USE_MISC]: Likewise.
4019 * posix/sys/types.h: Update #endif comments.
4020 [__USE_MISC]: Remove redundant conditionals.
4021 * posix/sys/wait.h: Update #endif comments.
4022 [__USE_MISC]: Remove redundant conditionals.
4023 * posix/unistd.h: Update #endif comments.
4024 [__USE_MISC]: Remove redundant conditionals.
4025 * pwd/pwd.h [__USE_GNU]: Likewise.
4026 [__USE_MISC]: Likewise.
4027 * resolv/netdb.h [__USE_GNU]: Likewise.
4028 * signal/signal.h: Update #endif comments.
4029 [__USE_MISC]: Remove redundant conditionals.
4030 * stdlib/stdlib.h: Update #else and #endif comments.
4031 [__USE_MISC]: Remove redundant conditionals.
4032 [__USE_GNU]: Likewise.
4033 * string/bits/string2.h [__USE_MISC]: Likewise.
4034 * string/string.h: Update #endif comments.
4035 [__USE_MISC]: Remove redundant conditionals.
4036 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4037 Likewise.
4038 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4039 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4040 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4041 Likewise.
4042 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4043 Likewise.
4044 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4045 comments.
4046 [__USE_MISC]: Remove redundant conditionals.
4047 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4048 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4049 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4050 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4051 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4052 Likewise.
4053 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4054 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4055 Likewise.
4056 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4057 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4058 Likewise.
4059 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4060 Likewise.
4061 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4062 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4063 Likewise.
4064 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4065 Likewise.
4066 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4067 * sysdeps/x86/bits/string.h: Update #endif comments.
4068 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4069 conditionals.
4070 * time/sys/time.h: Update #endif comments.
4071 * time/time.h: Likewise.
4072 [__USE_MISC]: Remove redundant conditionals.
4073
a5d82e4e
YG
40742014-02-21 Yury Gribov <y.gribov@samsung.com>
4075
4076 [BZ #16600]
4077 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4078
9a80491d
AS
40792014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4080
4081 * Versions.def (librt): Add GLIBC_2.17.
4082
105fa381
AC
40832014-02-21 Adam Conrad <adconrad@0c3.net>
4084
4085 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4086 synonym for _SYS_AUXV_H to allow direct inclusion.
4087 * sysdeps/sparc/bits/hwcap.h: Likewise.
4088 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4089 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4090 * sysdeps/sparc/sysdep.h: Likewise.
4091
b8cd1c4e
SP
40922014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4093
4094 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4095
bd939d23
RS
40962014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4097
4098 * benchtests/bench-strrchr.c: Print length instead of position.
4099
5d7b57ca
JM
41002014-02-20 Joseph Myers <joseph@codesourcery.com>
4101
bc688c10
JM
4102 [BZ #16611]
4103 * sysdeps/unix/sysv/linux/kernel-features.h
4104 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4105 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4106 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4107 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4108 Likewise.
4109 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4110 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4111 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4112 (__ASSUME_SENDMMSG): Define instead of using previous
4113 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4114 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4115 (__ASSUME_SENDMMSG_SYSCALL): Define.
4116 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4117 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4118 Likewise.
4119 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4120 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4121 Likewise.
4122 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4123 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4124 Likewise.
4125 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4126 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4127 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4128 [__ASSUME_SENDMMSG]: Change conditionals to
4129 [__ASSUME_SENDMMSG_SOCKETCALL].
4130 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4131 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4132 Define.
4133 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4134 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4135 Likewise.
4136 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4137 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4138 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4139 [!__ASSUME_SENDMMSG]: Change conditional to
4140 [!__ASSUME_SENDMMSG_SOCKETCALL].
4141 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4142 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4143 Define.
4144
0e31b18c
JM
4145 [BZ #16610]
4146 * sysdeps/unix/sysv/linux/kernel-features.h
4147 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4148 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4149 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4150 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4151 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4152 [__i386__ || __sparc__]
4153 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4154 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4155 (__ASSUME_RECVMMSG): Define instead of using previous
4156 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4157 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4158 (__ASSUME_RECVMMSG_SYSCALL): Define.
4159 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4160 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4161 Likewise.
4162 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4163 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4164 Likewise.
4165 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4166 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4167 Likewise.
4168 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4169 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4170 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4171 [__ASSUME_RECVMMSG]: Change condition to
4172 [__ASSUME_RECVMMSG_SOCKETCALL].
4173 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4174 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4175 Define.
4176 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4177 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4178 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4179 Likewise.
4180 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4181 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4182 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4183 [!__ASSUME_RECVMMSG]: Change condition to
4184 [!__ASSUME_RECVMMSG_SOCKETCALL].
4185 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4186 (__ASSUME_RECVMMSG_SYSCALL): Define.
4187
dd481ccf
JM
4188 [BZ #16609]
4189 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4190 __powerpc__ || __s390__ || __sh__ || __sparc__]
4191 (__ASSUME_SOCKETCALL): Define.
4192 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4193 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4194 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4195 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4196 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4197 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4198 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4199 (__ASSUME_ACCEPT4): Define instead of using previous
4200 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4201 __powerpc__ || __sparc__ || __s390__)] condition.
4202 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4203 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4204 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4205 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4206 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4207 [!__ASSUME_ACCEPT4]: Change condition to
4208 [!__ASSUME_ACCEPT4_SOCKETCALL].
4209 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4210 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4211 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4212 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4213 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4214 __ASSUME_ACCEPT4_SYSCALL.
4215 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4216 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4217 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4218 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4219 __ASSUME_ACCEPT4_SYSCALL.
4220 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4221 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4222 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4223 [__ASSUME_ACCEPT4]: Change condition to
4224 [__ASSUME_ACCEPT4_SOCKETCALL].
4225 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4226 (__ASSUME_SOCKETCALL): Define.
4227 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4228 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4229 (__ASSUME_SOCKETCALL): Define.
4230 (__ASSUME_ACCEPT4): Remove.
4231 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4232 Define.
4233 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4234 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4235 Likewise.
4236 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4237 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4238
5d7b57ca
JM
4239 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4240 macro.
4241 (HWCAP_ARM_LPAE): Likewise.
4242 (HWCAP_ARM_EVTSTRM): Likewise.
4243 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4244 Add vpfd32, lpae and evtstrm.
4245 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4246 Increase to 22.
4247
63689d61
JM
42482014-02-19 Joseph Myers <joseph@codesourcery.com>
4249
4250 * math/auto-libm-test-in: Add tests of clog10.
4251 * math/auto-libm-test-out: Regenerated.
4252 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4253 * sysdeps/i386/fpu/libm-test-ulps: Update.
4254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4255
ab09bf61
AS
42562014-02-18 Andreas Schwab <schwab@suse.de>
4257
4258 [BZ #16574]
4259 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4260 Store non-zero if the second buffer was newly allocated.
4261 (send_dg): Likewise.
4262 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4263 to send_vc and send_dg.
4264 (res_nsend): Pass NULL for ansp2_malloced.
4265 * resolv/res_query.c (__libc_res_nquery): Add parameter
4266 answerp2_malloced and pass it down to __libc_res_nsend.
4267 (res_nquery): Pass additional NULL to __libc_res_nquery.
4268 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4269 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4270 second answer buffer if answerp2_malloced was set.
4271 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4272 (__libc_res_nquerydomain): Add parameter
4273 answerp2_malloced and pass it down to __libc_res_nquery.
4274 (res_nquerydomain): Pass additional NULL to
4275 __libc_res_nquerydomain.
4276 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4277 additional NULL to __libc_res_nsend and __libc_res_nquery.
4278 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4279 additional NULL to __libc_res_nsearch.
4280 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4281 parameter of __libc_res_nsearch to check for separately allocated
4282 second buffer.
4283 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4284 __libc_res_nquery.
4285 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4286 additional NULL to __libc_res_nquery.
4287 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4288 __libc_res_nsearch.
4289 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4290 * include/resolv.h: Update prototypes of __libc_res_nquery,
4291 __libc_res_nsearch, __libc_res_nsend.
4292
a4fb7861
JM
42932014-02-18 Joseph Myers <joseph@codesourcery.com>
4294
c6af2d89
JM
4295 * math/auto-libm-test-in: Add tests of fma.
4296 * math/auto-libm-test-out: Regenerated.
4297 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4298 (fma_towardzero_test_data): Likewise.
4299 (fma_downward_test_data): Likewise.
4300 (fma_upward_test_data): Likewise.
4301 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4302 mpc_mode.
4303 (rounding_modes): Add values for new field.
4304 (func_calc_method): Add value mpfr_fff_f.
4305 (func_calc_desc): Add mpfr_fff_f union field.
4306 (test_function): Add field exact_args.
4307 (FUNC): Add macro argument EXACT_ARGS.
4308 (FUNC_mpfr_f_f): Update call to FUNC.
4309 (FUNC_mpfr_f_f): Likewise.
4310 (FUNC_mpfr_ff_f): Likewise.
4311 (FUNC_mpfr_if_f): Likewise.
4312 (FUNC_mpc_c_f): Likewise.
4313 (FUNC_mpc_c_c): Likewise.
4314 (test_functions): Add fma. Update calls to FUNC.
4315 (handle_input_arg): Add argument exact_args.
4316 (add_test): Update call to handle_input_arg.
4317 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4318 (output_for_one_input_case): Update call to calc_generic_results.
4319 Recalculate exact zero results in each rounding mode.
4320
a4fb7861
JM
4321 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4322 non-negative before setting low bit.
4323 * math/auto-libm-test-in: Mark one asin test possibly having
4324 spurious underflow.
4325 * math/auto-libm-test-out: Regenerated.
4326 * sysdeps/i386/fpu/libm-test-ulps: Update.
4327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4328
ef114eaf
DH
43292014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4330
2b7f4f2c
SP
4331 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4332 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4333 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
4334 * README: Add missing listing for microblaze*-*-linux-gnu.
4335
c70a4b1d
MF
43362014-02-16 Mike Frysinger <vapier@gentoo.org>
4337
4338 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4339 * sysdeps/unix/sysv/linux/ia64: Move directory from
4340 ports/sysdeps/unix/sysv/linux/ia64.
4341 * README: Update listing for ia64-*-linux-gnu.
4342
591aeaf7
TD
43432014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4344 Joseph Myers <joseph@codesourcery.com>
4345
4346 * Makeconfig (test-name): New variable.
4347 (evaluate-test): Likewise.
4348 * Makerules (do-test-clean): Remove .test-result files.
4349 (common-mostlyclean): Likewise.
4350 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4351 * scripts/evaluate-test.sh: New file.
4352
6e89caf1
JM
43532014-02-14 Joseph Myers <joseph@codesourcery.com>
4354
7f98f180
JM
4355 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4356 separate $(objpfx)tst-fopenloc-cmp.out and
4357 $(objpfx)tst-fopenloc-mem.out targets.
4358 (tests): Update dependencies.
4359 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4360 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4361 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4362 (tst-rxspencer-no-utf8-ARGS): New variable.
4363 (tst-rxspencer-no-utf8-ENV): Likewise.
4364 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4365 instead of $(objpfx)tst-rxspencer-mem.
4366 ($(objpfx)tst-rxspencer-mem): Change target to
4367 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4368 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4369 * posix/tst-rxspencer-no-utf8.c: New file.
4370
6e89caf1
JM
4371 * elf/Makefile ($(objpfx)order.out): Remove rule.
4372 [$(run-built-tests) = yes] (tests): Depend on
4373 $(objpfx)order-cmp.out.
4374 ($(objpfx)order-cmp.out): New rule.
4375 [$(run-built-tests) = yes] (tests): Depend on
4376 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4377 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4378 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4379 $(objpfx)tst-array5-static-cmp.out.
4380 ($(objpfx)tst-array1.out): Remove rule.
4381 ($(objpfx)tst-array1-cmp.out): New rule.
4382 ($(objpfx)tst-array1-static.out): Remove rule.
4383 ($(objpfx)tst-array1-static-cmp.out): New rule.
4384 ($(objpfx)tst-array2.out): Remove rule.
4385 ($(objpfx)tst-array2-cmp.out): New rule.
4386 ($(objpfx)tst-array3.out): Remove rule.
4387 ($(objpfx)tst-array3-cmp.out): New rule.
4388 ($(objpfx)tst-array4.out): Remove rule.
4389 ($(objpfx)tst-array4-cmp.out): New rule.
4390 ($(objpfx)tst-array5.out): Remove rule.
4391 ($(objpfx)tst-array5-cmp.out): New rule.
4392 ($(objpfx)tst-array5-static.out): Remove rule.
4393 ($(objpfx)tst-array5-static-cmp.out): New rule.
4394 [$(run-built-tests) = yes] (tests): Depend on
4395 $(objpfx)order2-cmp.out.
4396 ($(objpfx)order2.out): Remove rule.
4397 ($(objpfx)order2-cmp.out): New rule.
4398 ($(objpfx)tst-initorder.out): Remove rule.
4399 [$(run-built-tests) = yes] (tests): Depend on
4400 $(objpfx)tst-initorder-cmp.out.
4401 ($(objpfx)tst-initorder-cmp.out): New rule.
4402 ($(objpfx)tst-initorder2.out): Remove rule.
4403 [$(run-built-tests) = yes] (tests): Depend on
4404 $(objpfx)tst-initorder2-cmp.out.
4405 ($(objpfx)tst-initorder2-cmp.out): New rule.
4406 [$(run-built-tests) = yes] (tests): Depend on
4407 $(objpfx)tst-unused-dep-cmp.out.
4408 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4409 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4410 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4411 on $(objpfx)tst-setvbuf1-cmp.out.
4412 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4413 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4414 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4415 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4416 ($(objpfx)tst-svc.out): Remove rule.
4417 ($(objpfx)tst-svc-cmp.out): New rule.
4418
ed9a38e2
JM
44192014-02-13 Joseph Myers <joseph@codesourcery.com>
4420
4421 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4422 * ctype/ctype.h [__USE_MISC]: Likewise.
4423 * dirent/dirent.h [__USE_MISC]: Likewise.
4424 * grp/grp.h [__USE_MISC]: Likewise.
4425 * io/fcntl.h [__USE_MISC]: Likewise.
4426 * io/sys/stat.h [__USE_MISC]: Likewise.
4427 * libio/stdio.h [__USE_MISC]: Likewise.
4428 * posix/unistd.h [__USE_MISC]: Likewise.
4429 * pwd/pwd.h [__USE_MISC]: Likewise.
4430 * stdlib.h [__USE_MISC]: Likewise.
4431 * string/bits/string2.h [__USE_MISC]: Likewise.
4432 * string/string.h [__USE_MISC]: Likewise.
4433 * time/time.h [__USE_MISC]: Likewise.
4434
d6680619
AS
44352014-02-13 Andreas Schwab <schwab@suse.de>
4436
4437 [BZ #16574]
4438 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4439 second answer buffer if it was separately allocated.
4440
ace614b8
JM
44412014-02-12 Joseph Myers <joseph@codesourcery.com>
4442
743151ae
JM
4443 * sysdeps/mips/math-tests.h: Include <features.h>.
4444 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4445 (ROUNDING_TESTS_long_double): Do not define.
4446 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4447 (EXCEPTION_TESTS_long_double): Likewise.
4448 * sysdeps/mips/mips64/libm-test-ulps: Update.
4449
498afc54
JM
4450 * include/features.h (__USE_BSD): Remove macro definitions.
4451 (__USE_SVID): Likewise.
4452 (_BSD_SOURCE): Likewise.
4453 (_SVID_SOURCE): Likewise.
4454 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4455 from definition of _DEFAULT_SOURCE.
4456 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4457 [_DEFAULT_SOURCE].
4458 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4459 * bits/mman.h [__USE_BSD]: Likewise.
4460 * bits/termios.h [__USE_BSD]: Likewise.
4461 * bits/waitstatus.h [__USE_BSD]: Likewise.
4462 * ctype/ctype.h [__USE_SVID]: Likewise.
4463 * dirent/dirent.h [__USE_BSD]: Likewise.
4464 * grp/grp.h [__USE_SVID]: Likewise.
4465 [__USE_BSD]: Likewise.
4466 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4467 * io/fcntl.h [__USE_BSD]: Likewise.
4468 * io/ftw.h [__USE_BSD]: Likewise.
4469 * io/sys/stat.h [__USE_BSD]: Likewise.
4470 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4471 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4472 * libio/stdio.h [__USE_SVID]: Likewise.
4473 [__USE_BSD]: Likewise.
4474 * math/math.h [__USE_SVID]: Likewise.
4475 [__USE_BSD]: Likewise.
4476 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4477 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4478 * misc/search.h [__USE_SVID]: Likewise.
4479 * misc/sys/mman.h [__USE_BSD]: Likewise.
4480 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4481 * misc/sys/uio.h [__USE_BSD]: Likewise.
4482 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4483 * posix/glob.h [__USE_BSD]: Likewise.
4484 * posix/regex.h [__USE_BSD]: Likewise.
4485 * posix/sys/types.h [__USE_BSD]: Likewise.
4486 [__USE_SVID]: Likewise.
4487 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4488 * posix/sys/wait.h [__USE_BSD]: Likewise.
4489 [__USE_SVID]: Likewise.
4490 * posix/unistd.h [__USE_BSD]: Likewise.
4491 [__USE_SVID]: Likewise.
4492 * pwd/pwd.h [__USE_SVID]: Likewise.
4493 * resolv/netdb.h [__USE_BSD]: Likewise.
4494 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4495 * signal/signal.h [__USE_BSD]: Likewise.
4496 [__USE_SVID]: Likewise.
4497 * socket/sys/socket.h [__USE_BSD]: Likewise.
4498 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4499 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4500 [__USE_SVID]: Likewise.
4501 * string/bits/string2.h [__USE_BSD]: Likewise.
4502 [__USE_SVID]: Likewise.
4503 * string/bits/string3.h [__USE_BSD]: Likewise.
4504 * string/endian.h [__USE_BSD]: Likewise.
4505 * string/string.h [__USE_SVID]: Likewise.
4506 [__USE_BSD]: Likewise.
4507 * string/strings.h [__USE_BSD]: Likewise.
4508 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4509 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4510 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4511 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4512 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4513 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4514 Likewise.
4515 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4516 Likewise.
4517 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4518 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4519 Likewise.
4520 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4521 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4522 Likewise.
4523 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4524 Likewise.
4525 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4526 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4527 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4528 Likewise.
4529 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4530 Likewise.
4531 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4532 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4533 * termios/termios.h [__USE_BSD]: Likewise.
4534 * time/sys/time.h [__USE_BSD]: Likewise.
4535 * time/time.h [__USE_BSD]: Likewise.
4536 [__USE_SVID]: Likewise.
4537
dd7b064c
JM
4538 * Makefile (subdir_targets): Remove subdir_lint.out.
4539
a2c4c199
JM
4540 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4541 (do-tst-printf): Likewise.
4542 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4543 $(objpfx)tst-printf.out.
4544
8756f740
JM
4545 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4546
1b6dd3f1
JM
4547 * Makerules (check-abi-%): Change target to
4548 $(objpfx)check-abi-%.out.
4549 (check-abi target): Update dependencies.
4550 (check-abi-pattern variable): Redirect output of diff to $@.
4551 (check-abi variable): Likewise.
4552 * elf/Makefile (check-abi): Update dependencies.
4553
ace614b8
JM
4554 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4555 unused.
4556 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4557 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4558 subnormal range.
4559 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4560 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4561 value has largest subnormal exponent.
4562 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4563 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4564 * sysdeps/aarch64/soft-fp/sfp-machine.h
4565 (_FP_TININESS_AFTER_ROUNDING): New macro.
4566 * sysdeps/alpha/soft-fp/sfp-machine.h
4567 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4568 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4569 Likewise.
4570 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4571 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4572 * sysdeps/mips/soft-fp/sfp-machine.h
4573 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4574 * sysdeps/powerpc/soft-fp/sfp-machine.h
4575 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4576 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4577 Likewise.
4578 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4579 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4580 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4581 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4582 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4583 Likewise.
4584
fbfdf9cb
DAS
45852014-02-12 Dylan Alex Simon <dylan@dylex.net>
4586
4587 [BZ #16545]
4588 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4589 model 1.
4590
68b7efaa
RH
45912014-02-12 Richard Henderson <rth@redhat.com>
4592
c70a4b1d 4593 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4594 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4595 * sysdeps/unix/sysv/linux/alpha: Move directory from
4596 ports/sysdeps/unix/sysv/linux/alpha.
4597 * README: Update listing for alpha-*-linux-gnu.
4598
cb4a2928
JM
45992014-02-11 Joseph Myers <joseph@codesourcery.com>
4600
c941736c
JM
4601 * include/features.h: Update comment documenting feature test
4602 macros.
4603 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4604 _DEFAULT_SOURCE.
4605 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4606 (_SVID_SOURCE): Likewise.
4607 (_DEFAULT_SOURCE): Update description of default features.
4608 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4609 with _GNU_SOURCE.
4610 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4611 (S_ISVTX): Likewise.
4612 * manual/math.texi (Mathematical Constants): Likewise.
4613 * manual/signal.texi (Interrupted Primitives): Likewise.
4614 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4615 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4616 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4617 Don't refer to _SVID_SOURCE in warning text.
4618
e8d8d7ec
JM
4619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4620
cb4a2928
JM
4621 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4622 already defined.
4623 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4624 * sysdeps/mips/dl-lookup.c: Remove.
4625 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4626
7e6424e3
AK
46272014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4628
4629 [BZ #16447]
4630 * math/auto-libm-test-in: Add testcase for expl.
4631 * math/auto-libm-test-out: Regenerate.
4632 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4633 calculation of unsafe.
4634 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4635
75eff3fe
MS
46362014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4637
4638 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4639 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4640 ports/sysdeps/unix/sysv/linux/aarch64.
4641 * README: Update listing for aarch64*-*-linux-gnu.
4642
d35f1e80
WN
46432014-02-11 Will Newton <will.newton@linaro.org>
4644
4645 * manual/probes.texi (Mathematical Function Probes): Use
4646 "triggered" instead of "hit".
4647
7b3436d4
WN
4648 * manual/probes.texi (Internal Probes): Add documentation
4649 of setjmp, longjmp and longjmp_target probes.
4650
b4f12ca3
WN
4651 * include/stap-probe.h: Add comment about probe argument
4652 format.
4653
c13a72b7
WN
4654 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4655 definition. (tr_where, tr_freehook, tr_mallochook,
4656 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4657
195b8165
DM
46582014-02-11 David S. Miller <davem@davemloft.net>
4659
4660 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4661 processing int_tests.
4662
2ad7600b
JM
46632014-02-10 Joseph Myers <joseph@codesourcery.com>
4664
4665 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4666 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4667 * sysdeps/unix/sysv/linux/mips: Move directory from
4668 ports/sysdeps/unix/sysv/linux/mips.
4669 * README: Update listing for mips-*-linux-gnu and
4670 mips64-*-linux-gnu.
4671
73588a72
AS
46722014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4673
4674 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4675 * sysdeps/unix/sysv/linux/m68k: Move directory from
4676 ports/sysdeps/unix/sysv/linux/m68k.
4677 * README: Update listing for m68k-*-linux-gnu.
4678
4372980f
CM
46792014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4680
4681 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4682 * sysdeps/unix/sysv/linux/generic: Move directory from
4683 ports/sysdeps/unix/sysv/linux/generic.
4684 * sysdeps/unix/sysv/linux/tile: Move directory from
4685 ports/sysdeps/unix/sysv/linux/tile.
4686 * README: Update listing for tile*-*-linux-gnu.
4687
a1ffb40e
OB
46882014-02-10 Ondřej Bílka <neleai@seznam.cz>
4689
57f41c40
AS
4690 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4691 __builtin_expect.
a1ffb40e
OB
4692 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4693 * catgets/open_catalog.c (__open_catalog): Likewise.
4694 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4695 * debug/confstr_chk.c: Likewise.
4696 * debug/fread_chk.c (__fread_chk): Likewise.
4697 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4698 * debug/getgroups_chk.c: Likewise.
4699 * debug/mbsnrtowcs_chk.c: Likewise.
4700 * debug/mbsrtowcs_chk.c: Likewise.
4701 * debug/mbstowcs_chk.c: Likewise.
4702 * debug/memcpy_chk.c: Likewise.
4703 * debug/memmove_chk.c: Likewise.
4704 * debug/mempcpy_chk.c: Likewise.
4705 * debug/memset_chk.c: Likewise.
4706 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4707 * debug/strcat_chk.c (__strcat_chk): Likewise.
4708 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4709 * debug/strncat_chk.c (__strncat_chk): Likewise.
4710 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4711 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4712 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4713 * debug/wcpncpy_chk.c: Likewise.
4714 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4715 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4716 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4717 * debug/wcsncpy_chk.c: Likewise.
4718 * debug/wcsnrtombs_chk.c: Likewise.
4719 * debug/wcsrtombs_chk.c: Likewise.
4720 * debug/wcstombs_chk.c: Likewise.
4721 * debug/wmemcpy_chk.c: Likewise.
4722 * debug/wmemmove_chk.c: Likewise.
4723 * debug/wmempcpy_chk.c: Likewise.
4724 * debug/wmemset_chk.c: Likewise.
4725 * dirent/scandirat.c (SCANDIRAT): Likewise.
4726 * dlfcn/dladdr1.c (dladdr1): Likewise.
4727 * dlfcn/dladdr.c (dladdr): Likewise.
4728 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4729 * dlfcn/dlerror.c (__dlerror): Likewise.
4730 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4731 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4732 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4733 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4734 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4735 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4736 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4737 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4738 Likewise.
4739 * elf/dl-conflict.c: Likewise.
4740 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4741 * elf/dl-dst.h: Likewise.
4742 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4743 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4744 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4745 * elf/dl-init.c (call_init, _dl_init): Likewise.
4746 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4747 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4748 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4749 Likewise.
a1ffb40e
OB
4750 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4751 Likewise.
4752 * elf/dl-minimal.c (__libc_memalign): Likewise.
4753 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4754 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4755 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4756 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4757 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4758 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4759 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4760 * elf/dl-writev.h (_dl_writev): Likewise.
4761 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4762 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4763 (dl_main): Likewise.
a1ffb40e
OB
4764 * elf/setup-vdso.h (setup_vdso): Likewise.
4765 * grp/compat-initgroups.c (compat_call): Likewise.
4766 * grp/fgetgrent.c (fgetgrent): Likewise.
4767 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4768 * grp/putgrent.c (putgrent): Likewise.
4769 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4770 Likewise.
4771 * hurd/hurdinit.c: Likewise.
4772 * iconvdata/8bit-gap.c (struct): Likewise.
4773 * iconvdata/ansi_x3.110.c : Likewise.
4774 * iconvdata/big5.c : Likewise.
4775 * iconvdata/big5hkscs.c : Likewise.
4776 * iconvdata/cp1255.c: Likewise.
4777 * iconvdata/cp1258.c : Likewise.
4778 * iconvdata/cp932.c : Likewise.
4779 * iconvdata/euc-cn.c: Likewise.
4780 * iconvdata/euc-jisx0213.c : Likewise.
4781 * iconvdata/euc-jp.c: Likewise.
4782 * iconvdata/euc-jp-ms.c : Likewise.
4783 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4784 * iconvdata/gb18030.c : Likewise.
4785 * iconvdata/gbbig5.c (const): Likewise.
4786 * iconvdata/gbgbk.c: Likewise.
4787 * iconvdata/gbk.c : Likewise.
4788 * iconvdata/ibm1364.c : Likewise.
4789 * iconvdata/ibm930.c : Likewise.
4790 * iconvdata/ibm932.c: Likewise.
4791 * iconvdata/ibm933.c : Likewise.
4792 * iconvdata/ibm935.c : Likewise.
4793 * iconvdata/ibm937.c : Likewise.
4794 * iconvdata/ibm939.c : Likewise.
4795 * iconvdata/ibm943.c: Likewise.
4796 * iconvdata/iso_11548-1.c: Likewise.
4797 * iconvdata/iso-2022-cn.c : Likewise.
4798 * iconvdata/iso-2022-cn-ext.c : Likewise.
4799 * iconvdata/iso-2022-jp-3.c: Likewise.
4800 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4801 * iconvdata/iso-2022-kr.c : Likewise.
4802 * iconvdata/iso646.c (gconv_end): Likewise.
4803 * iconvdata/iso_6937-2.c : Likewise.
4804 * iconvdata/iso_6937.c : Likewise.
4805 * iconvdata/iso8859-1.c: Likewise.
4806 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4807 * iconvdata/shift_jisx0213.c : Likewise.
4808 * iconvdata/sjis.c : Likewise.
4809 * iconvdata/t.61.c : Likewise.
4810 * iconvdata/tcvn5712-1.c : Likewise.
4811 * iconvdata/tscii.c: Likewise.
4812 * iconvdata/uhc.c : Likewise.
4813 * iconvdata/unicode.c (gconv_end): Likewise.
4814 * iconvdata/utf-16.c (gconv_end): Likewise.
4815 * iconvdata/utf-32.c (gconv_end): Likewise.
4816 * iconvdata/utf-7.c (base64): Likewise.
4817 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4818 * iconv/gconv_close.c (__gconv_close): Likewise.
4819 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4820 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4821 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4822 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4823 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4824 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4825 * iconv/iconv.c (iconv): Likewise.
4826 * iconv/iconv_close.c: Likewise.
4827 * iconv/loop.c (SINGLE): Likewise.
4828 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4829 * include/atomic.h: Likewise.
4830 * inet/inet6_option.c (option_alloc): Likewise.
4831 * intl/bindtextdom.c (set_binding_values): Likewise.
4832 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4833 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4834 * intl/localealias.c (read_alias_file): Likewise.
4835 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4836 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4837 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4838 * libio/fmemopen.c (fmemopen): Likewise.
4839 * libio/iofgets.c (_IO_fgets): Likewise.
4840 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4841 * libio/iofgetws.c (fgetws): Likewise.
4842 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4843 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4844 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4845 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4846 * locale/findlocale.c (_nl_find_locale): Likewise.
4847 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4848 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4849 Likewise.
4850 * locale/setlocale.c (setlocale): Likewise.
4851 * login/programs/pt_chown.c (main): Likewise.
4852 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4853 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4854 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4855 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4856 * math/e_exp2l.c: Likewise.
4857 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4858 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4859 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4860 * math/s_catan.c (__catan): Likewise.
4861 * math/s_catanf.c (__catanf): Likewise.
4862 * math/s_catanh.c (__catanh): Likewise.
4863 * math/s_catanhf.c (__catanhf): Likewise.
4864 * math/s_catanhl.c (__catanhl): Likewise.
4865 * math/s_catanl.c (__catanl): Likewise.
4866 * math/s_ccosh.c (__ccosh): Likewise.
4867 * math/s_ccoshf.c (__ccoshf): Likewise.
4868 * math/s_ccoshl.c (__ccoshl): Likewise.
4869 * math/s_cexp.c (__cexp): Likewise.
4870 * math/s_cexpf.c (__cexpf): Likewise.
4871 * math/s_cexpl.c (__cexpl): Likewise.
4872 * math/s_clog10.c (__clog10): Likewise.
4873 * math/s_clog10f.c (__clog10f): Likewise.
4874 * math/s_clog10l.c (__clog10l): Likewise.
4875 * math/s_clog.c (__clog): Likewise.
4876 * math/s_clogf.c (__clogf): Likewise.
4877 * math/s_clogl.c (__clogl): Likewise.
4878 * math/s_csin.c (__csin): Likewise.
4879 * math/s_csinf.c (__csinf): Likewise.
4880 * math/s_csinh.c (__csinh): Likewise.
4881 * math/s_csinhf.c (__csinhf): Likewise.
4882 * math/s_csinhl.c (__csinhl): Likewise.
4883 * math/s_csinl.c (__csinl): Likewise.
4884 * math/s_csqrt.c (__csqrt): Likewise.
4885 * math/s_csqrtf.c (__csqrtf): Likewise.
4886 * math/s_csqrtl.c (__csqrtl): Likewise.
4887 * math/s_ctan.c (__ctan): Likewise.
4888 * math/s_ctanf.c (__ctanf): Likewise.
4889 * math/s_ctanh.c (__ctanh): Likewise.
4890 * math/s_ctanhf.c (__ctanhf): Likewise.
4891 * math/s_ctanhl.c (__ctanhl): Likewise.
4892 * math/s_ctanl.c (__ctanl): Likewise.
4893 * math/w_pow.c: Likewise.
4894 * math/w_powf.c: Likewise.
4895 * math/w_powl.c: Likewise.
4896 * math/w_scalb.c (sysv_scalb): Likewise.
4897 * math/w_scalbf.c (sysv_scalbf): Likewise.
4898 * math/w_scalbl.c (sysv_scalbl): Likewise.
4899 * misc/error.c (error_tail): Likewise.
4900 * misc/pselect.c (__pselect): Likewise.
4901 * nis/nis_callback.c (__nis_create_callback): Likewise.
4902 * nis/nis_call.c (__nisfind_server): Likewise.
4903 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4904 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4905 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4906 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4907 * nis/nis_lookup.c (nis_lookup): Likewise.
4908 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4909 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4910 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4911 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4912 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4913 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4914 * nis/nss_compat/compat-initgroups.c (add_group)
4915 (internal_getgrent_r): Likewise.
4916 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4917 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4918 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4919 (internal_getspnam_r): Likewise.
4920 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4921 (_nss_nis_getaliasbyname_r): Likewise.
4922 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4923 (_nss_nis_getntohost_r): Likewise.
4924 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4925 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4926 (_nss_nis_getgrgid_r): Likewise.
4927 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4928 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4929 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4930 (_nss_nis_gethostbyname4_r): Likewise.
4931 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4932 (initgroups_netid): Likewise.
a1ffb40e 4933 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4934 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4935 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4936 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4937 (_nss_nis_getprotobynumber_r): Likewise.
4938 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4939 (_nss_nis_getsecretkey): Likewise.
4940 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4941 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4942 (_nss_nis_getpwuid_r): Likewise.
4943 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4944 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4945 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4946 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4947 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4948 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4949 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4950 Likewise.
57f41c40
AS
4951 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4952 (_nss_nisplus_getntohost_r): Likewise.
4953 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4954 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4955 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4956 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4957 Likewise.
57f41c40
AS
4958 * nis/nss_nisplus/nisplus-initgroups.c
4959 (_nss_nisplus_initgroups_dyn): Likewise.
4960 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4961 (_nss_nisplus_getnetbyaddr_r): Likewise.
4962 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4963 (_nss_nisplus_getprotobynumber_r): Likewise.
4964 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4965 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4966 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4967 Likewise.
57f41c40
AS
4968 * nis/nss_nisplus/nisplus-service.c
4969 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4970 (_nss_nisplus_getservbyport_r): Likewise.
4971 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4972 (_nss_nisplus_getspnam_r): Likewise.
4973 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4974 Likewise.
a1ffb40e
OB
4975 * nscd/aicache.c (addhstaiX): Likewise.
4976 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4977 * nscd/connections.c (register_traced_file, send_ro_fd)
4978 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4979 (main_loop_epoll): Likewise.
a1ffb40e
OB
4980 * nscd/grpcache.c (addgrbyX): Likewise.
4981 * nscd/hstcache.c (addhstbyX): Likewise.
4982 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4983 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4984 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4985 (addinnetgrX): Likewise.
4986 * nscd/nscd-client.h (__nscd_acquire_maplock)
4987 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4988 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4989 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4990 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4991 Likewise.
4992 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4993 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4994 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4995 (__nscd_get_map_ref): Likewise.
a1ffb40e 4996 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4997 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4998 Likewise.
a1ffb40e
OB
4999 * nscd/pwdcache.c (addpwbyX): Likewise.
5000 * nscd/selinux.c (preserve_capabilities): Likewise.
5001 * nscd/servicescache.c (addservbyX): Likewise.
5002 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5003 * posix/fnmatch.c (fnmatch): Likewise.
5004 * posix/getopt.c (_getopt_internal_r): Likewise.
5005 * posix/glob.c (glob, glob_in_dir): Likewise.
5006 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5007 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5008 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5009 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5010 * resolv/res_init.c: Likewise.
5011 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5012 * resolv/res_query.c (__libc_res_nquery): Likewise.
5013 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5014 Likewise.
5015 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5016 * stdio-common/perror.c (perror): Likewise.
5017 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5018 * stdio-common/tmpnam.c (tmpnam): Likewise.
5019 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5020 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5021 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5022 Likewise.
a1ffb40e
OB
5023 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5024 * stdlib/putenv.c (putenv): Likewise.
5025 * stdlib/setenv.c (__add_to_environ): Likewise.
5026 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5027 * stdlib/strtol_l.c (INTERNAL): Likewise.
5028 * string/memmem.c (memmem): Likewise.
5029 * string/strerror.c (strerror): Likewise.
5030 * string/strnlen.c (__strnlen): Likewise.
5031 * string/test-memmem.c (simple_memmem): Likewise.
5032 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5033 * sunrpc/pm_getport.c (__get_socket): Likewise.
5034 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5035 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5036 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5037 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5038 Likewise.
5039 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5040 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5041 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5042 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5043 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5044 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5045 Likewise.
5046 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5047 Likewise.
a1ffb40e
OB
5048 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5049 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5050 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5051 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5052 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5054 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5055 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5056 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5057 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5058 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5059 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5060 Likewise.
5061 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5062 Likewise.
5063 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5064 Likewise.
5065 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5066 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5067 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5068 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5069 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5070 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5071 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5072 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5073 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5074 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5075 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5076 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5077 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5078 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5080 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5081 Likewise.
a1ffb40e
OB
5082 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5083 Likewise.
5084 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5085 Likewise.
5086 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5087 Likewise.
5088 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5089 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5090 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5091 Likewise.
5092 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5093 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5094 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5095 * sysdeps/posix/sleep.c: Likewise.
5096 * sysdeps/posix/tempname.c: Likewise.
5097 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5098 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5099 Likewise.
57f41c40
AS
5100 * sysdeps/powerpc/powerpc32/dl-machine.h
5101 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
5102 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5103 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5104 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5105 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5106 Likewise.
5107 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5109 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5110 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5111 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5112 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5113 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5114 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5115 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5116 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5117 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5118 (elf_machine_lazy_rel): Likewise.
a1ffb40e 5119 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5120 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5121 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5122 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5123 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5124 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5125 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5126 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5127 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5128 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5130 Likewise.
5131 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5132 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5133 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5134 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5135 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5136 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5137 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5138 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5139 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5140 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5141 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5142 Likewise.
5143 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5144 (__posix_fallocate64_l64): Likewise.
5145 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5146 (posix_fallocate): Likewise.
57f41c40
AS
5147 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5148 Likewise.
a1ffb40e 5149 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
5150 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5151 (getifaddrs_internal): Likewise.
a1ffb40e
OB
5152 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5153 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5154 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5155 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5156 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5157 (__posix_fallocate64_l64): Likewise.
5158 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5159 Likewise.
5160 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
5161 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5162 (__get_clockfreq): Likewise.
a1ffb40e
OB
5163 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5164 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5165 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5166 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5167 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5168 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5169 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5170 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5171 Likewise.
5172 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5173 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5174 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5175 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5176 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5177 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5178 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5179 Likewise.
5180 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5181 (posix_fallocate): Likewise.
5182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5183 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5184 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5185 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5186 (elf_machine_rela, elf_machine_rela_relative)
5187 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5188 * time/asctime.c (asctime_internal): Likewise.
5189 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5190 * time/tzset.c (__tzset_parse_tz): Likewise.
5191 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5192 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5193 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5194 * wcsmbs/wcsmbsload.h: Likewise.
5195
f3d338c9
OB
5196 [BZ #15894]
5197 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5198
57f41c40
AS
5199 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5200 (arena_get2): Remove THREAD_STATS conditionals.
5201 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5202 (__malloc_stats, int): Likewise.
bdfe308a 5203
d674667c
MF
52042014-02-08 Mike Frysinger <vapier@gentoo.org>
5205
5206 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5207 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5208
6349768c
MF
5209 * manual/setjmp.texi: Fix typos/grammar errors.
5210
0b7c7473
MF
5211 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5212 Only return early when n is <= 0. Delete unused return statement.
5213
ac8cc9e3
MF
5214 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5215 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5216 * debug/tst-longjmp_chk3.c: New file.
5217
c5bb8e23
MF
5218 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5219 (test_main): Replace code with set_fortify_handler call.
5220 * debug/test-strcpy_chk.c: Likewise.
5221 * debug/tst-chk1.c: Likewise.
5222 * debug/tst-longjmp_chk.c: Likewise.
5223 * test-skeleton.c: Include fcntl.h & paths.h
5224 (set_fortify_handler): Define.
5225
10444e42
MF
5226 * debug/tst-longjmp_chk.c: Add header comment and include
5227 ../test-skeleton.c.
5228 (do_test): Mark static.
5229 (TEST_FUNCTION): Define.
5230
1e805e8d
MF
5231 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5232 (IP_PMTUDISC_INTERFACE): Likewise.
5233 (IP_MULTICAST_IF): Likewise.
5234 (IP_MULTICAST_TTL): Likewise.
5235 (IP_MULTICAST_LOOP): Likewise.
5236 (IP_ADD_MEMBERSHIP): Likewise.
5237 (IP_DROP_MEMBERSHIP): Likewise.
5238 (IP_UNBLOCK_SOURCE): Likewise.
5239 (IP_BLOCK_SOURCE): Likewise.
5240 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5241 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5242 (IP_MSFILTER): Likewise.
5243 (MCAST_JOIN_GROUP): Likewise.
5244 (MCAST_BLOCK_SOURCE): Likewise.
5245 (MCAST_UNBLOCK_SOURCE): Likewise.
5246 (MCAST_LEAVE_GROUP): Likewise.
5247 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5248 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5249 (MCAST_MSFILTER): Likewise.
5250 (IP_MULTICAST_ALL): Likewise.
5251 (IP_UNICAST_IF): Likewise.
5252
73f79bb7
MF
5253 * timezone/Makefile: Delete $(have-ksh) check.
5254 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5255 * timezone/tzselect.ksh: Add +x mode bits.
5256
8da79b60
MF
5257 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5258 (ANON_INODE_FS_MAGIC): Likewise.
5259 (BDEVFS_MAGIC): Likewise.
5260 (BINFMTFS_MAGIC): Likewise.
5261 (BTRFS_TEST_MAGIC): Likewise.
5262 (CRAMFS_MAGIC_WEND): Likewise.
5263 (DEBUGFS_MAGIC): Likewise.
5264 (ECRYPTFS_SUPER_MAGIC): Likewise.
5265 (EXT3_SUPER_MAGIC): Likewise.
5266 (EXT4_SUPER_MAGIC): Likewise.
5267 (FUTEXFS_SUPER_MAGIC): Likewise.
5268 (HOSTFS_SUPER_MAGIC): Likewise.
5269 (HUGETLBFS_MAGIC): Likewise.
5270 (MINIX3_SUPER_MAGIC): Likewise.
5271 (MTD_INODE_FS_MAGIC): Likewise.
5272 (NILFS_SUPER_MAGIC): Likewise.
5273 (OPENPROM_SUPER_MAGIC): Likewise.
5274 (PIPEFS_MAGIC): Likewise.
5275 (PSTOREFS_MAGIC): Likewise.
5276 (QNX6_SUPER_MAGIC): Likewise.
5277 (RAMFS_MAGIC): Likewise.
5278 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5279 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5280 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5281 (SECURITYFS_MAGIC): Likewise.
5282 (SELINUX_MAGIC): Likewise.
5283 (SMACK_MAGIC): Likewise.
5284 (SOCKFS_MAGIC): Likewise.
5285 (SQUASHFS_MAGIC): Likewise.
5286 (STACK_END_MAGIC): Likewise.
5287 (TMPFS_MAGIC): Likewise.
5288 (USBDEVICE_SUPER_MAGIC): Likewise.
5289 (V9FS_MAGIC): Likewise.
5290 (XENFS_SUPER_MAGIC): Likewise.
5291 (CRAMFS_MAGIC): Fix typo in comment.
5292 (EXT2_SUPER_MAGIC): Update comment.
5293 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5294
464263cc
JM
52952014-02-08 Joseph Myers <joseph@codesourcery.com>
5296
c6bfe5c4
JM
5297 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5298 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5299 * sysdeps/unix/sysv/linux/arm: Move directory from
5300 ports/sysdeps/unix/sysv/linux/arm.
5301 * README: Update listing for arm-*-linux-gnueabi.
5302
464263cc
JM
5303 * README: Remove mention of am33.
5304
32749f6c
RM
53052014-02-07 Roland McGrath <roland@hack.frob.com>
5306
5307 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5308 than the comma operator, to avoid "rhs of comma has no effect"
5309 compiler warnings.
5310 (__sigfillset, __sigandset, __sigorset): Likewise.
5311 * include/signal.h (__sigemptyset): Likewise.
5312 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5313
d5b396c1
AM
53142014-02-07 Allan McRae <allan@archlinux.org>
5315
5316 * version.h (RELEASE): Set to "development".
5317 (VERSION): Set to "2.19.90"
5318 * NEWS: Add 2.20 section.
5319
3bfff2ed
CD
53202014-02-06 Carlos O'Donell <carlos@redhat.com>
5321
5322 [BZ #16529]
5323 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5324
ee7cc385
SP
53252014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5326
5327 * manual/contrib.texi: Update entry for Carlos O'Donell,
5328 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5329
f877c4f2
CD
53302014-02-05 Carlos O'Donell <carlos@rehdat.com>
5331
27e839f6
CD
5332 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5333
f877c4f2
CD
5334 * sysdeps/unix/sysv/linux/kernel-features.h
5335 [__LINUX_KERNEL_VERSION >= 0x020621]
5336 (__ASSUME_PROC_PID_TASK_COMM): Define.
5337
68159946
SP
53382014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5339
ba17cdbd
SP
5340 [BZ #16398]
5341 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5342 conversion when destination buffer does not have enough space.
5343 * libio/tst-ftell-partial-wide.c: New test case.
5344 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5345
68159946
SP
5346 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5347 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5348 Leonard and Allan McRae.
5349
2b528732
DM
53502014-02-04 David S. Miller <davem@davemloft.net>
5351
5352 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5353 32-bit.
5354
0ff82463
AZ
53552014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5356
57f41c40
AS
5357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5358 New file
c01603f7
AZ
5359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5360 New file
57f41c40
AS
5361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5362 New file.
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5364 New file.
c01603f7
AZ
5365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5366 New file.
57f41c40
AS
5367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5368 New file.
5369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5370 New file.
c01603f7
AZ
5371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5372 New file.
5373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5374 New file.
5375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5376 New file.
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5378 New file.
5379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5380 New file.
5381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5382 New file.
5383
53842014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5385
0ff82463
AZ
5386 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5387 * shlib-versions: Likewise.
5388
1695c773
AZ
53892014-02-04 Roland McGrath <roland@hack.frob.com>
5390 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5391
5392 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5393 (abilist-pattern): New variable, set to %-le.abilist.
5394
5395 * Makerules (abilist-pattern): New variable.
5396 (vpath): Use $(abilist-pattern) in place of %.abilist.
5397 (check-abi-% pattern rule): Likewise.
5398 (check-abi, update-abi): Likewise.
5399
6c0ce4b4
EW
54002014-02-04 Eric Wong <normalperson@yhbt.net>
5401
5402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5403
481e3524
CD
54042014-02-03 Carlos O'Donell <carlos@redhat.com>
5405
5406 * manual/startup.texi: Add next, previous, and top entries for
5407 the `Program Arguments' and `Environment Variables' nodes.
5408
375592d3
AO
54092014-02-03 Alexandre Oliva <aoliva@redhat.com>
5410
5411 * manual/macros.texi: Add comments before MTASC-safety macros.
5412
f54838ba
AO
5413 * manual/users.texi: Document MTASC-safety properties.
5414
57f41c40
AS
5415 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5416 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
5417 @deftypefun, and add @safety note.
5418 * manual/signal.texi: Move comments that analyze the above
5419 functions to their home place.
5420
fd3daba4
AM
54212014-02-03 Allan McRae <allan@archlinux.org>
5422
5423 * po/sl.po: Update Slovenian translation from translation project.
5424
597636d7
AO
54252014-02-02 Alexandre Oliva <aoliva@redhat.com>
5426
5427 * manual/time.texi (timegm): Add missing blank after @c.
5428 Reported by Joseph Myers <joseph@codesourcery.com>.
5429
ee196e3c
AO
54302014-02-01 Alexandre Oliva <aoliva@redhat.com>
5431
5432 * manual/check-safety.sh: New.
5433 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5434
f8d529d5
AO
5435 * manual/terminal.texi: Document MTASC-safety properties.
5436
de55fdf4
AO
5437 * manual/filesys.texi: Document MTASC-safety properties.
5438
c3299c08
AO
5439 * manual/errno.texi: Document MTASC-safety properties.
5440
06e90b14
AO
5441 * manual/intro.texi: Document safety identifiers and
5442 conditionals.
5443
1acd4371
AO
5444 * manual/string.texi (wcstok): Fix prototype.
5445 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5446
23e5b8cb
AO
5447 * manual/time.texi: Document MTASC-safety properties.
5448
11087373
AO
5449 * manual/string.texi: Document MTASC-safety properties.
5450
5da2c93d
AO
5451 * manual/threads.texi: Document MTASC-safety properties.
5452
171e9210
AO
5453 * manual/stdio.texi: Document MTASC-safety properties.
5454
d9e02532
AO
5455 * manual/syslog.texi: Document MTASC-safety properties.
5456
6af8bab7
AO
5457 * manual/sysinfo.texi: Document MTASC-safety properties.
5458
663b02d7
AO
5459 * manual/startup.texi: Document MTASC-safety properties.
5460
973f180b
AO
5461 * manual/socket.texi: Document MTASC-safety properties.
5462
8f3c25c8
AO
5463 * manual/signal.texi: Document MTASC-safety properties.
5464
542210fb
AO
54652014-01-31 Alexandre Oliva <aoliva@redhat.com>
5466
5467 * manual/setjmp.texi: Document MTASC-safety properties.
5468
433c45a2
AO
5469 * manual/search.texi: Document MTASC-safety properties.
5470
c8ce789c
AO
5471 * manual/resource.texi: Document MTASC-safety properties.
5472
19f5d29c
AO
5473 * manual/process.texi: Document MTASC-safety properties.
5474
e2dfb7f4
AO
5475 * manual/platform.texi: Document MTASC-safety properties.
5476
8c1413f5
AO
5477 * manual/pipe.texi: Document MTASC-safety properties.
5478
03483ada
AO
5479 * manual/pattern.texi: Document MTASC-safety properties.
5480
29e7e2df
AO
5481 * manual/message.texi: Document MTASC-safety properties.
5482
9f529d7c
AO
5483 [BZ #12751]
5484 * manual/memory.texi: Document MTASC-safety properties.
5485
27aaa791
AO
5486 * manual/math.texi: Document MTASC-safety properties.
5487
f2d58726
AO
5488 * manual/locale.texi: Document MTASC-safety properties.
5489
2cc3615c
AO
5490 * manual/llio.texi: Document MTASC-safety properties.
5491
d9f0ec97
AO
5492 * manual/libdl.texi: New.
5493
e7c4409a
AO
5494 * manual/lang.texi: Document MTASC-safety properties.
5495
27bdc63c
AO
5496 * manual/job.texi: Document MTASC-safety properties.
5497
a7b90ea9
AO
5498 * manual/getopt.texi: Document MTASC-safety properties.
5499
c49130e3
AO
5500 * manual/ctype.texi: Document MTASC-safety properties.
5501
0d23a5c1
MR
55022014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5503
5504 [BZ #16046]
5505 * csu/libc-tls.c (static_map): Remove variable.
5506 (__libc_setup_tls): Use main executable's link map for TLS data.
5507 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5508 casing for LM_ID_BASE and GL(dl_nns).
5509 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5510 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5511 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5512 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5513 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5514 member.
5515 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5516 l_phnum members.
5517
0037bb60
AO
55182014-01-30 Alexandre Oliva <aoliva@redhat.com>
5519
5520 * manual/debug.texi: Document MTASC-safety properties.
5521
409e00bd
L
55222014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5523
5524 [BZ #16510]
5525 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5526 of __x86_64__ when disabling x87 inline functions.
5527
86e60666
AO
55282014-01-29 Alexandre Oliva <aoliva@redhat.com>
5529
5530 * manual/charset.texi: Document MTASC-safety properties.
5531
76167637
AO
5532 * manual/crypt.texi: Document MTASC-safety properties.
5533
e567f2a0
AO
5534 * manual/conf.texi: Document MTASC-safety properties.
5535
b719dafd
AO
5536 * manual/arith.texi: Document MTASC-safety properties.
5537
4a16c662
AO
5538 * manual/argp.texi: Document MTASC-safety properties.
5539
0a57b83e
AO
5540 * manual/macros.texi: Introduce macros to document multi
5541 thread, asynchronous signal and asynchronous cancellation
5542 safety properties.
5543 * manual/intro.texi: Introduce the properties themselves.
5544
feab2397
KK
55452014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5546
5547 * sysdeps/sh/sh4/Makefile: New file.
5548
1c0d11bc
AS
55492014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5550
5551 * math/gen-libm-test.pl ($srcdir): New variable.
5552 ($auto_input): Use it.
5553
af37a8a3
SP
55542014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5555
d7b00f98
SP
5556 [BZ #16506]
5557 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5558 access beyond array bounds when parsing netgroups file.
5559
af37a8a3
SP
5560 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5561 the old buffer before realloc.
5562
0c00f062
AM
55632014-01-27 Allan McRae <allan@archlinux.org>
5564
5565 * po/fr.po: Update French translation from translation project.
5566
7d69a1b0
KK
55672014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5568
5569 * sysdeps/sh/libm-test-ulps: Regenerate.
5570
6e697ff7
DM
55712014-01-24 David S. Miller <davem@davemloft.net>
5572
5573 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5574
9cadb35c
KK
55752014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5576
5577 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5578 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5579
5d41dadf
SP
55802013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5581
5582 [BZ #16474]
5583 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5584 string pointers after reallocation.
5585
0bad441c
KK
55862014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5587
5588 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5589 __SH4A__ instead of __SH_FPU_ANY__.
5590
7007c661
KK
55912014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5592
5593 * sysdeps/sh/fpu_control.h: New file.
5594 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5595 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5596 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5597 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5598 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5599 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5600 * sysdeps/sh/sys/ucontext.h: Remove.
5601 * sysdeps/sh/sys: Remove directory.
5602
0f0c35e4
AK
56032014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5604
5605 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5606 s390/sys/ucontext.h.
5607 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5608 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5609
4959e284
L
56102014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5611
5612 [BZ #15605]
5613 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5614
d98720e0
AZ
56152014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5616
5617 [BZ#16431]
5618 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5619 Adjust the vDSO correctly for internal calls.
5620 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5621
91cbd0bc
AM
56222014-01-20 Allan McRae <allan@archlinux.org>
5623
5624 * po/ca.po: Update Catalan translation from translation project.
5625
7a02cfad
MF
56262014-01-16 Mike Frysinger <vapier@gentoo.org>
5627
5628 * sysdeps/s390/sotruss-lib.c: New file.
5629
736c304a
AZ
56302014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5631
5632 [BZ#16430]
6e077ee5 5633 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5634 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5635 local calls issues by not having a PLT stub required for IFUNC calls.
5636 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5637
94d0cea0
JM
56382014-01-16 Joseph Myers <joseph@codesourcery.com>
5639
5640 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5641 * math/test-fpucw-static.c: Likewise.
5642
980cb518
SP
56432013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5644
5645 [BZ #16453]
5646 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5647
2393fc01
AZ
56482014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5649
5650 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5651 implementation for powerpc.
5652
d359bcc2
OB
56532014-01-15 Ondřej Bílka <neleai@seznam.cz>
5654
5655 [BZ #14782]
5656 * sysdeps/posix/system.c (__libc_system): Do not enable
5657 asynchronous cancellation.
5658
7beb48cb
AK
56592014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5660
5661 [BZ #16427]
5662 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5663 handling only for numbers special also in the IEEE case.
5664
c20d5bf5
AK
56652014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5666
5667 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5668
e83bd4ee
AM
56692014-01-11 Allan McRae <allan@archlinux.org>
5670
76d0ea69
AM
5671 * po/bg.po: Update Bulgarian translation from translation project.
5672
e83bd4ee
AM
5673 * po/de.po: Update German translation from translation project.
5674
bc2ba20a
RM
56752014-01-10 Roland McGrath <roland@hack.frob.com>
5676
5677 * sysdeps/generic/gcc-compat.h: New file.
5678
649ecea2
SP
56792014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5680
5681 * benchtests/asin-inputs: Correct slow inputs.
5682 * benchtests/acos-inputs: Likewise.
5683
1b19c006
AM
56842014-01-10 Allan McRae <allan@archlinux.org>
5685
a46dab08
AM
5686 * po:sv.po: Update Swedish translation from translation project.
5687
421df74a
AM
5688 * po/vi.po: Update Vietnamese translation from translation project.
5689
d61c51a7
AM
5690 * po/eo.po: Update Esperanto translation from translation project.
5691
0339a319
AM
5692 * po/cs.po: Update Czech translation from translation project.
5693
94ad3e99
AM
5694 * po/nl.po: Update Dutch translation from translation project.
5695
e349ca71
AM
5696 * po/pl.po: Update Polish translation from translation project.
5697
ddf930c1
AM
5698 * po/ru.po: Update Russian translation from translation project.
5699
1b19c006
AM
5700 * po/uk.po: Update Ukrainian translation from translation project.
5701
9f236c49
BM
57022014-01-08 Brooks Moses <bmoses@google.com>
5703
5704 * elf/dl-load.c: Fix comment typo.
5705
cd6701cf
CD
57062014-01-08 Carlos O'Donell <carlos@redhat.com>
5707
5708 * po/header.pot: Rename to...
5709 * po/pot.header: ... this.
5710 * po/Makefile: Use pot.header.
5711
66671c84
YK
57122014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5713 Maxim Kuvyrkov <maxim@kugelworks.com>
5714
5715 [BZ #16394]
cd6701cf
CD
5716 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5717 SRC and DEST against LEN.
66671c84 5718
38f34581
AZ
57192014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5720
5721 [BZ #16414]
5722 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5723 implementation.
5724 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5725
57262014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5727
5728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5729
4c327f2a
JM
57302014-01-08 Joseph Myers <joseph@codesourcery.com>
5731
5732 [BZ #16408]
5733 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5734 for large positive arguments.
5735
b821f414
JM
57362014-01-07 Joseph Myers <joseph@codesourcery.com>
5737
1f0f2067
JM
5738 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5739
a5a326f6
JM
5740 * math/auto-libm-test-in: Mark various tests with
5741 xfail-rounding:ldbl-128ibm.
5742 * math/auto-libm-test-out: Regenerated.
5743
b821f414
JM
5744 [BZ #16407]
5745 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5746 Increase overflow threshold.
5747
94c8a4bc
OB
57482014-01-07 Ondřej Bílka <neleai@seznam.cz>
5749
5750 [BZ #14286]
5751 * stdio-common/vfprintf.c: Check for integer overflow.
5752
87ded0c3
AK
57532014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5754
5755 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5756 the first argument and return value of __tls_get_addr_internal.
5757
c5eebdd0
AK
57582014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5759
5760 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5761 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5762
05d138ef
AK
57632014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5764
5765 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5766 * sysdeps/s390/rtld-global-offsets.sym: New file.
5767 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5768 GLIBC_2.19 symbol.
5769 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5770 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5771 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5772 ... this.
5773 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5774 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5775 ... this.
5776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5777 Regenerate.
5778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5779 Regenerate.
5780 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5781 halfs of GPRs for high_gprs contexts.
5782 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5783 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5784 field.
5785 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5786 uc_flags field.
5787 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5788 64 bit versions:
5789 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5790 for high GPRs (uc_high_gprs) and for future extensions
5791 (__reserved).
5792 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5793 for future extensions (__reserved).
5794 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5795 64 bit versions:
5796 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5797 SC_HIGHGPRS offset definition.
5798 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5799 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5800
93a45ff1
AK
5801 * Versions.def: Add GLIBC_2.19 for libpthread.
5802 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5803 siglongjmp for libpthread with GLIBC_2.19 symver.
5804 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5805 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5806 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5807 * sysdeps/s390/__longjmp.c: New file.
5808 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5809 * sysdeps/s390/longjmp.c: New file.
5810 * sysdeps/s390/setjmp.S: New file.
5811 * sysdeps/s390/sigjmp.S: New file.
5812 * sysdeps/s390/v1-longjmp.c: New file.
5813 * sysdeps/s390/v1-setjmp.h: New file.
5814 * sysdeps/s390/v1-sigjmp.c: New file.
5815 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5816 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5817 GLIBC_2.19 version.
5818 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5819 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5820 versioned symbols for ____longjmp_chk.
5821 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5822 Likewise.
5823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5824 Regenerate.
5825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5826 Regenerate.
5827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5828 Regenerate.
5829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5830 Regenerate.
5831 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5832 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5833 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5834 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5835 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5836 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5837 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5838 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5839 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5840 * sysdeps/s390/rtld-__longjmp.c: New file.
5841 * sysdeps/s390/rtld-setjmp.S: New file.
5842
eb3fc44b
JM
58432014-01-06 Joseph Myers <joseph@codesourcery.com>
5844
5845 [BZ #16400]
5846 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5847 Return -__logl (x) for small positive arguments without evaluating
5848 a polynomial.
5849
9341dde4
MF
58502014-01-06 Mike Frysinger <vapier@gentoo.org>
5851
5852 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5853 Rename to ...
5854 (__ptrace_peeksiginfo_args): ... this.
5855 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5856 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5857 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5858
4cff0293
AM
58592014-01-06 Allan McRae <allan@archlinux.org>
5860
5861 * inet/netinet/in.h: Fix typo in comment.
5862
75595dcf
AJ
58632014-01-05 Andreas Jaeger <aj@suse.de>
5864
5865 * sysdeps/i386/fpu/libm-test-ulps: Update.
5866
79c1e109
AM
58672014-01-05 Allan McRae <allan@archlinux.org>
5868
dd804818
AM
5869 * po/libc.pot: Regenerated.
5870
79c1e109
AM
5871 * malloc/memusagestat.c: Fix gettext call formatting.
5872
0c813d1f
SK
58732014-01-04 Sami Kerola <kerolasa@iki.fi>
5874
5875 * nscd/nscd.c: Improve usage() output.
5876
20f4a8d9
MF
58772014-01-04 Mike Frysinger <vapier@gentoo.org>
5878
5879 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5880 * sysdeps/unix/sysv/linux/configure: Regenerated.
5881 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5882 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5883
22562bb2
JM
58842014-01-03 Joseph Myers <joseph@codesourcery.com>
5885
5886 [BZ #16390]
5887 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5888 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5889
d7ad2d9b
AZ
58902014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5891
5892 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5893 extra tokens at end of #undef directive.
5894 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5895 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5896 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5897
7dd009d8
JM
58982014-01-03 Joseph Myers <joseph@codesourcery.com>
5899
24db925a
JM
5900 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5901
7dd009d8
JM
5902 * math/auto-libm-test-in: Mark various tests with
5903 xfail-rounding:ldbl-128ibm.
5904 * math/auto-libm-test-out: Regenerated.
5905
396e3ecf
JM
59062014-01-02 Joseph Myers <joseph@codesourcery.com>
5907
819e5d50
JM
5908 [BZ #16386]
5909 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5910 numbers with subnormal high part when calculating exponent.
5911
90b6a1e5
JM
5912 [BZ #16385]
5913 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5914 fabs.
5915
396e3ecf
JM
5916 [BZ #16384]
5917 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5918 M_LN2l.
5919 (__ieee754_acoshl): Use __log1pl not __log1p.
5920
6c8dbf00
OB
59212013-01-02 Ondřej Bílka <neleai@seznam.cz>
5922
57f41c40
AS
5923 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5924 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5925 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5926 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5927 (reused_arena, arena_get2): Convert to GNU style.
5928 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5929 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5930 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5931 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5932 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5933 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5934 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5935 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5936 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5937 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5938 * malloc/malloc.h: Likewise.
57f41c40
AS
5939 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5940 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5941 * malloc/mcheck.h: Likewise.
57f41c40
AS
5942 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5943 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5944 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5945 * malloc/morecore.c (__default_morecore): Likewise.
5946 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5947 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5948 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5949 (print_and_abort): Likewise.
6c8dbf00
OB
5950 * malloc/obstack.h: Likewise.
5951 * malloc/set-freeres.c (__libc_freeres): Likewise.
5952 * malloc/tst-mallocstate.c (main): Likewise.
5953 * malloc/tst-mtrace.c (main): Likewise.
5954 * malloc/tst-realloc.c (do_test): Likewise.
5955
d4124212
SP
59562013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5957
9a3c6a6f
SP
5958 [BZ #16366]
5959 * nscd/netgroupcache.c (do_notfound): New function.
5960 (addgetnetgrentX): Use it.
5961
d4124212
SP
5962 [BZ # 16365]
5963 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5964 NSS_STATUS_NOTFOUND.
5965
97b9a009
JM
59662014-01-01 Joseph Myers <joseph@codesourcery.com>
5967
5968 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5970
d4697bc9
AM
59712014-01-01 Allan McRae <allan@archlinux.org>
5972
ddb3687f
AM
5973 * scripts/update-copyrights: Update configure input file suffix.
5974
88726d48
AM
5975 * NEWS: Update copyright year.
5976 * catgets/gencat.c: Likewise.
5977 * csu/version.c: Likewise.
5978 * debug/catchsegv.sh: Likewise.
5979 * debug/pcprofiledump.c: Likewise.
5980 * debug/xtrace.sh: Likewise.
5981 * elf/ldconfig.c: Likewise.
5982 * elf/ldd.bash.in: Likewise.
5983 * elf/pldd.c: Likewise.
5984 * elf/sotruss.ksh: Likewise.
5985 * elf/sprof.c: Likewise.
5986 * iconv/iconv_prog.c: Likewise.
5987 * iconv/iconvconfig.c: Likewise.
5988 * locale/programs/locale.c: Likewise.
5989 * locale/programs/localedef.c: Likewise.
5990 * login/programs/pt_chown.c: Likewise.
5991 * malloc/memusage.sh: Likewise.
5992 * malloc/memusagestat.c: Likewise.
5993 * malloc/mtrace.pl: Likewise.
5994 * manual/libc.texinfo: Likewise.
5995 * nscd/nscd.c: Likewise.
5996 * nss/getent.c: Likewise.
5997 * nss/makedb.c: Likewise.
5998 * posix/getconf.c: Likewise.
5999 * scripts/test-installation.pl: Likewise.
6000
d4697bc9
AM
6001 * All files with FSF copyright notices: Update copyright dates
6002 using scripts/update-copyrights.
6003 * intl/plural.c: Regenerated.
6004 * locale/programs/charmap-kw.h: Likewise.
6005 * locale/programs/locfile-kw.h: Likewise.
6006
c8590f9d
MF
60072013-12-31 Mike Frysinger <vapier@gentoo.org>
6008
6009 * sysdeps/unix/sysv/linux/configure: Regenerated.
6010 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6011 the linux/fanotify.h header.
6012 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6013 HAVE_LINUX_FANOTIFY_H is defined.
6014
b19221b9
SP
60152013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6016
dd1d85e5
SP
6017 * benchtests/cos-inputs: New inputs.
6018 * benchtests/sin-inputs: Likewise.
6019
1acbb90f
SP
6020 * benchtests/atan-inputs: New inputs. Fix name of multiple
6021 precision fallback inputs.
6022
4c012ed3
SP
6023 * benchtests/atanh-inputs: New inputs.
6024 * benchtests/tanh-inputs: Likewise.
6025
eff98324
SP
6026 * benchtests/acosh-inputs: New inputs.
6027 * benchtests/asinh-inputs: Likewise.
6028
ce641152
SP
6029 * benchtests/cosh-inputs: New inputs.
6030 * benchtests/sinh-inputs: Likewise.
6031
b19221b9
SP
6032 * benchtests/acos-inputs: Add more inputs.
6033 * benchtests/asin-inputs: Likewise.
6034
030a4976 60352013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6036
030a4976 6037 [BZ #16375]
9dcc8f11
VS
6038 * manual/arith.texi: Fix spelling.
6039 * manual/charset.texi: Likewise.
6040 * manual/errno.texi: Likewise.
6041 * manual/filesys.texi: Likewise.
6042 * manual/lang.texi: Likewise.
6043 * manual/llio.texi: Likewise.
6044 * manual/locale.texi: Likewise.
6045 * manual/message.texi: Likewise.
6046 * manual/resource.texi: Likewise.
6047 * manual/search.texi: Likewise.
6048 * manual/setjmp.texi: Likewise.
6049 * manual/stdio.texi: Likewise.
6050 * manual/string.texi: Likewise.
6051 * manual/sysinfo.texi: Likewise.
6052 * manual/time.texi: Likewise.
6053
11520a57
CD
60542013-12-27 Carlos O'Donell <carlos@redhat.com>
6055
6056 * po/sl.po: New file.
6057
471103ae
MF
60582013-12-27 Mike Frysinger <vapier@gentoo.org>
6059
6060 * .gitignore: Add core/.gdbinit/.gdb_history.
6061
6c9642ed
AM
60622013-12-27 Allan McRae <allan@archlinux.org>
6063
6064 [BZ #16369]
6065 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6066 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6067
3f637079
BM
60682013-12-24 Brooks Moses <bmoses@google.com>
6069
6070 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6071 all compilers that claim C++98 compliance, not just GCC.
6072 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6073 Likewise.
6074
abc26e99
MK
60752013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6076
6077 * NEWS: Restore accidentally deleted bug-fix entries.
6078
362b47fe
MK
60792013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6080 Ondřej Bílka <neleai@seznam.cz>
6081
6082 [BZ #15073]
6083 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 6084 have_lock.
362b47fe 6085
b9bcbbcb
OB
60862013-12-23 Ondřej Bílka <neleai@seznam.cz>
6087
6088 [BZ #12986]
6089 * manual/stdio.texi (String Input Conversions): Clarify that character
6090 classes are not supported.
6091
fb55fcd2
AZ
60922013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6093
6094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6095
ef7344f0
JM
60962013-12-22 Joseph Myers <joseph@codesourcery.com>
6097
4f40e4b3
JM
6098 [BZ #16337]
6099 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6100 Calculate results for small negative arguments directly rather
6101 than using reflection formula with special underflow handling.
6102
ef7344f0
JM
6103 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6104 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6105 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6106 (fchflags): Likewise.
6107 (revoke): Likewise.
6108 (setlogin): Likewise.
6109 (sigaltstack): Likewise.
6110 (wait4): Likewise.
6111 (sigblock): Remove.
6112 (sigsetmask): Likewise.
6113 (wait3): Likewise.
6114 (waitpid): Likewise.
6115 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6116 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6117 file.
6118 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6119 * sysdeps/unix/bsd/Makefile: ... here.
6120 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6121 * sysdeps/unix/bsd/Versions: ... here.
6122 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6123 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6124 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6125 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6126 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6127 * sysdeps/unix/bsd/sigblock.c: ... here.
6128 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6129 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6130 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6131 * sysdeps/unix/bsd/sigvec.c: ... here.
6132 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6133 * sysdeps/unix/bsd/tcdrain.c: ... here.
6134 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6135 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6136 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6137 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6138 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6139 * sysdeps/unix/bsd/wait.c: ... here.
6140 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6141 * sysdeps/unix/bsd/wait3.c: ... here.
6142 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6143 * sysdeps/unix/bsd/waitpid.c: ... here.
6144
5b0626b9
JM
61452013-12-21 Joseph Myers <joseph@codesourcery.com>
6146
6147 [BZ #16356]
6148 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6149 round-to-nearest for [!USE_AS_EXPM1L].
6150 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6151 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6152 more tests of exp and exp10. Expect some exp10 tests to miss
6153 exceptions or fail in directed rounding modes.
6154 * math/auto-libm-test-out: Regenerated.
6155 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6156 (exp10_test_tonearest): New function.
6157 (exp10_towardzero_test_data): New array.
6158 (exp10_test_towardzero): New function.
6159 (exp10_downward_test_data): New array.
6160 (exp10_test_downward): New function.
6161 (exp10_upward_test_data): New array.
6162 (exp10_test_upward): New function.
6163 (main): Call the new functions.
6164 * sysdeps/i386/fpu/libm-test-ulps: Update.
6165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6166
7fda5682
JM
61672013-12-20 Joseph Myers <joseph@codesourcery.com>
6168
31e3a405
JM
6169 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6170 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6171 * math/auto-libm-test-out: Regenerated.
6172 * math/libm-test.inc (acosh_test_data): Add more tests.
6173 (atanh_test_data): Likewise.
6174 (ceil_test_data): Likewise.
6175 (copysign_test_data): Likewise.
6176 * sysdeps/i386/fpu/libm-test-ulps: Update.
6177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6178
85bff96a
JM
6179 * timezone/checktab.awk: Update from tzcode 2013i.
6180 * timezone/private.h: Likewise.
6181 * timezone/scheck.c: Likewise.
6182 * timezone/tzfile.h: Likewise.
6183 * timezone/tzselect.ksh: Likewise.
6184 * timezone/zdump.c: Likewise.
6185 * timezone/zic.c: Likewise.
6186
b7867a3b
JM
6187 * math/auto-libm-test-in: Add tests of cpow.
6188 * math/auto-libm-test-out: Regenerated.
6189 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 6190 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
6191 mpc_cc_c.
6192 (func_calc_desc): Add mpc_cc_c union field.
6193 (test_functions): Add cpow.
6194 (special_fill_2pi): New function.
6195 (special_real_inputs): Add 2pi.
6196 (calc_generic_results): Handle mpc_cc_c.
6197 * sysdeps/i386/fpu/libm-test-ulps: Update.
6198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6199
7fda5682
JM
6200 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6201 csqrt, ctan and ctanh.
6202 * math/auto-libm-test-out: Regenerated.
6203 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6204 (TEST_COND_x86): Likewise.
6205 (ccos_test_data): Use AUTO_TESTS_c_c.
6206 (ccosh_test_data): Likewise.
6207 (cexp_test_data): Likewise.
6208 (clog_test_data): Likewise.
6209 (csqrt_test_data): Likewise.
6210 (ctan_test_data): Likewise.
6211 (ctan_tonearest_test_data): Likewise.
6212 (ctan_towardzero_test_data): Likewise.
6213 (ctan_downward_test_data): Likewise.
6214 (ctan_upward_test_data): Likewise.
6215 (ctanh_test_data): Likewise.
6216 (ctanh_tonearest_test_data): Likewise.
6217 (ctanh_towardzero_test_data): Likewise.
6218 (ctanh_downward_test_data): Likewise.
6219 (ctanh_upward_test_data): Likewise.
6220 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6221 mpc_c_c.
6222 (func_calc_desc): Add mpc_c_c union field.
6223 (FUNC_mpc_c_c): New macro.
6224 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6225 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6226 ctanh.
6227 (special_fill_min_subnorm_p120): New function.
6228 (special_real_inputs): Add min_subnorm_p120.
6229 (calc_generic_results): Handle mpc_c_c.
6230 * sysdeps/i386/fpu/libm-test-ulps: Update.
6231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6232
5ff8d60e
SP
62332013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6234
57f41c40
AS
6235 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6236 (do_sin_slow): New functions.
6237 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6238 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 6239
84ba214c
SP
6240 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6241 Use M to change sign of result instead of X. Assume X is
6242 positive.
6243 (csloww1): Likewise.
6244 (__sin): Adjust.
6245 (__cos): Adjust.
6246
975195e4
SP
6247 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6248 arguments A and DA.
6249 (__sin): Adjust.
6250 (__cos): Likewise.
6251
5ff8d60e
SP
6252 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6253 (__cos): Likewise.
6254 (sloww1): Don't adjust sign of DX.
6255 (csloww1): Likewise.
6256 (sloww2): Use X directly and don't adjust sign of DX.
6257 (csloww2): Likewise.
6258
eb983568
JM
62592013-12-19 Joseph Myers <joseph@codesourcery.com>
6260
64a17f1a
JM
6261 * math/auto-libm-test-in: Add tests of cabs and carg.
6262 * math/auto-libm-test-out: Regenerated.
6263 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6264 (carg_test_data): Likewise.
6265 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6266 mpc_c_f.
6267 (func_calc_desc): Add mpc_c_f union field.
6268 (test_functions): Add cabs and carg.
6269 (calc_generic_results): Handle mpc_c_f.
6270
eb983568
JM
6271 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6272 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6273 as a macro and a compat symbol.
6274 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6275 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6276 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6277 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6278 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6279 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6280 not use .hidden.
6281 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6282 Likewise.
6283 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6284 Likewise.
6285 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6286 Likewise.
6287 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6288 Likewise.
6289 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6290 Likewise.
6291 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6292 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6293 from GLIBC_2.3.2.
6294
6eeb678a
AZ
62952013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6296
6297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6298
6f6fc482
JM
62992013-12-19 Joseph Myers <joseph@codesourcery.com>
6300
21fea2e2
JM
6301 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6302 trailing whitespace removed.
6303 * scripts/config.guess: Update to version 2013-11-29.
6304 * scripts/config.sub: Update to version 2013-10-01.
6305
6f6fc482
JM
6306 * math/auto-libm-test-in: Add tests of sincos.
6307 * math/auto-libm-test-out: Regenerated.
6308 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6309 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6310 mpfr_f_11.
6311 (func_calc_desc): Add mpfr_f_11 union field.
6312 (test_functions): Add sincos.
6313 (calc_generic_results): Handle mpfr_f_11.
6314 * sysdeps/i386/fpu/libm-test-ulps: Update.
6315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6316
83f5c32d
AS
63172013-12-19 Andreas Schwab <schwab@suse.de>
6318
6319 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6320 CALL_MCOUNT.
6321 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6322 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6323 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6324
c688b419
JM
63252013-12-19 Joseph Myers <joseph@codesourcery.com>
6326
335ee092
JM
6327 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6328 * sysdeps/i386/fpu/libm-test-ulps: Update.
6329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6330
f88acd39
JM
6331 [BZ #16293]
6332 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6333 round-to-nearest mode when using frndint.
6334 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6335 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6336 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6337 Likewise.
6338 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6339 sinh test to fail.
6340 * math/auto-libm-test-out: Regenerated.
6341 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6342 (TEST_COND_x86): Likewise.
6343 (expm1_tonearest_test_data): New array.
6344 (expm1_test_tonearest): New function.
6345 (expm1_towardzero_test_data): New array.
6346 (expm1_test_towardzero): New function.
6347 (expm1_downward_test_data): New array.
6348 (expm1_test_downward): New function.
6349 (expm1_upward_test_data): New array.
6350 (expm1_test_upward): New function.
6351 (main): Run the new test functions.
6352 * sysdeps/i386/fpu/libm-test-ulps: Update.
6353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6354
c688b419
JM
6355 * include/features.h: Update comment documenting feature test
6356 macros. Mention _DEFAULT_SOURCE in comment.
6357 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6358 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6359 _BSD_SOURCE and _SVID_SOURCE.
6360 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6361 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6362 !_SVID_SOURCE]: Likewise.
6363 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6364 (__USE_POSIX_IMPLICITLY): Define.
6365 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6366 (_POSIX_SOURCE): Undefine and redefine.
6367 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6368 (_POSIX_C_SOURCE): Likewise.
6369 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6370 (Feature Test Macros): Update documentation of default features.
6371
9f6e964c
RS
63722013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6373
6374 * benchtests/Makefile: Add bench-strtok.
6375 * benchtests/bench-strtok.c: New file: strtok benchtest.
6376
ee0a148a
AM
63772013-12-19 Allan McRae <allan@archlinux.org>
6378
6379 * manual/install.texi: Suppress menu for plain text output.
6380 * INSTALL: Regenerated.
6381
b9ab448f
BM
63822013-12-18 Brooks Moses <bmoses@google.com>
6383
6384 [BZ #15846]
6385 * misc/getauxval.c: Include errno.h.
6386 (__getauxval): Set errno to ENOENT if the requested type is not
6387 found.
6388 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6389 don't declare with __attribute_const__.
6390 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6391 * manual/startup.texi: Document that getauxval sets errno.
6392
23776487
JM
63932013-12-18 Joseph Myers <joseph@codesourcery.com>
6394
f889953b
JM
6395 * math/auto-libm-test-in: Add tests of jn and yn.
6396 * math/auto-libm-test-out: Regenerated.
6397 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6398 (yn_test_data): Likewise.
6399 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6400 mpfr_if_f.
6401 (func_calc_desc): Add mpfr_if_f union field.
6402 (FUNC_mpfr_if_f): New macro.
6403 (test_functions): Add jn and yn.
6404 (calc_generic_results): Assert type of second input for
6405 mpfr_ff_f. Handle mpfr_if_f.
6406 (output_for_one_input_case): Disable all checking for arguments
6407 fitting floating-point types in case of an integer argument.
6408 * sysdeps/i386/fpu/libm-test-ulps: Update.
6409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6410
23776487
JM
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6412 Don't expect fegetround reference in libm.so.
6413
cb756c6d
MS
64142013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6415
6416 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6417 $(config-cflags-nofma).
6418
2dec468f
JM
64192013-12-18 Joseph Myers <joseph@codesourcery.com>
6420
5953eb3a
JM
6421 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6422 * math/auto-libm-test-out: Regenerated.
6423
2dec468f
JM
6424 [BZ #16338]
6425 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6426 to determine exponent and adjust argument to have exponent of -1.
6427 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6428 log2.
6429 * math/auto-libm-test-out: Regenerated.
6430 * sysdeps/i386/fpu/libm-test-ulps: Update.
6431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6432
4d84e6ad
OB
64332013-12-18 Ondřej Bílka <neleai@seznam.cz>
6434
6435 * manual/probes.texi: Remove cases when per-thread arenas are
6436 disabled.
6437
1818483b
AS
64382013-12-18 Andreas Schwab <schwab@suse.de>
6439
6440 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6441 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6442 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6443 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6444 * sysdeps/i386/i686/multiarch/Makefile: Update.
6445 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6446
25de95bf
JM
64472013-12-17 Joseph Myers <joseph@codesourcery.com>
6448
6449 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6450 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6451
674762d9
PE
64522013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6453
ed27ed83 6454 [BZ #15968]
0748546f
PE
6455 Support TZ transition times < 00:00:00.
6456 This is needed for version-3 tz-format files; it supports time
6457 stamps past 2037 for America/Godthab (the only entry in the tz
6458 database for which this change is relevant).
6459 * manual/time.texi (TZ Variable): Document transition times
6460 from -167:59:59 through -00:00:01.
6461 * time/tzset.c (tz_rule): Time of day is now signed.
6462 (__tzset_parse_tz): Parse negative time of day.
6463
4480e934
PE
6464 Document TZ transition times >= 25:00:00.
6465 * manual/time.texi (TZ Variable): Document transition times from
6466 25:00:00 through 167:59:59. These are already supported, and this
6467 support will help with version-3 tz-format files.
6468
69947401
PE
6469 * manual/time.texi (TZ Variable): Modernize North America example
6470 to reflect current (i.e., 2007-and-later) daylight saving rules.
6471
674762d9
PE
6472 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6473
7011c262
JM
64742013-12-17 Joseph Myers <joseph@codesourcery.com>
6475
2fc6557e
JM
6476 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6477 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6478 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6480 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6481 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6482 * sysdeps/unix/bsd/clock.c: Likewise.
6483 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6484 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6485 * sysdeps/unix/bsd/init-posix.c: Likewise.
6486 * sysdeps/unix/bsd/poll.c: Likewise.
6487 * sysdeps/unix/bsd/ptsname.c: Likewise.
6488 * sysdeps/unix/bsd/seekdir.c: Likewise.
6489 * sysdeps/unix/bsd/setegid.c: Likewise.
6490 * sysdeps/unix/bsd/seteuid.c: Likewise.
6491 * sysdeps/unix/bsd/setgid.c: Likewise.
6492 * sysdeps/unix/bsd/setrgid.c: Likewise.
6493 * sysdeps/unix/bsd/setruid.c: Likewise.
6494 * sysdeps/unix/bsd/setsid.c: Likewise.
6495 * sysdeps/unix/bsd/setuid.c: Likewise.
6496 * sysdeps/unix/bsd/sigaction.c: Likewise.
6497 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6498 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6499 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6500 * sysdeps/unix/bsd/telldir.c: Likewise.
6501 * sysdeps/unix/bsd/times.c: Likewise.
6502 * sysdeps/unix/bsd/usleep.c: Likewise.
6503
029c7b25
JM
6504 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6505 ($(objpfx)libbsd-compat.a): Remove rule.
6506
7011c262
JM
6507 * include/features.h (__FAVOR_BSD): Do not define.
6508 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6509 features conflicting with POSIX.
6510 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6511 (_BSD_SOURCE): Remove description of not being a subset of other
6512 feature test macros.
6513 * manual/job.texi (getpgrp): Do not document BSD version.
6514 (getpgid): Do not document by reference to BSD getpgrp.
6515 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6516 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6517 * signal/signal.h [__FAVOR_BSD]: Likewise.
6518 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6519 instead of making contents conditional on [__FAVOR_BSD].
6520 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6521
affb6f78
AZ
65222013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6523
6524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6525
c88769dd
JM
65262013-12-17 Joseph Myers <joseph@codesourcery.com>
6527
6432a540
JM
6528 [BZ #16314]
6529 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6530 values below 2**-450, not 2**-500.
6531 * math/auto-libm-test-in: Don't allow spurious underflow from
6532 hypot.
6533 * math/auto-libm-test-out: Regenerated.
6534
c88769dd
JM
6535 [BZ #16316]
6536 [BZ #16330]
6537 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6538 values of ha and hb and sort them after adjusting subnormal
6539 arguments.
6540 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6541 Likewise.
6542 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6543 values of ea and eb and sort them after adjusting subnormal
6544 arguments.
6545 * math/auto-libm-test-in: Do not expect some hypot tests of
6546 subnormals to fail. Add more hypot tests.
6547 * math/auto-libm-test-out: Regenerated.
6548
29618f6b
KK
65492013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6550
6551 [BZ #13304]
6552 * sysdeps/sh/s_fma.c: New file.
6553 * sysdeps/sh/s_fmaf.c: New file.
6554 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6555 version.
6556 * sysdeps/sh/Implies: Add sh/soft-fp.
6557
eacfdfbf
RM
65582013-12-16 Roland McGrath <roland@hack.frob.com>
6559
6560 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6561 level of indirection to members `objname', `errstring', `malloced'.
6562 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6563 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6564 it as the __longjmp argument (just pass 1 instead).
6565 (_dl_catch_error): Initialize C with argument pointers and address of
6566 volatile local ERRCODE rather than copying values out of C at return.
6567
ff362e5b
JM
65682013-12-16 Joseph Myers <joseph@codesourcery.com>
6569
6570 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6571 * math/auto-libm-test-out: Regenerated.
6572 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6573 (hypot_test_data): Likewise.
6574 (pow_test_data): Likewise.
6575 (pow_tonearest_test_data): Likewise.
6576 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6577 mpfr_ff_f.
6578 (func_calc_desc): Add mpfr_ff_f union field.
6579 (FUNC_mpfr_ff_f): New macro.
6580 (test_functions): Add atan2, hypot and pow.
6581 (special_fill_min): New function.
6582 (special_fill_minus_min): Likewise.
6583 (special_fill_min_subnorm): Likewise.
6584 (special_fill_minus_min_subnorm): Likewise.
6585 (special_real_inputs): Add min, -min, min_subnorm and
6586 -min_subnorm.
6587 (calc_generic_results): Handle mpfr_ff_f.
6588 * sysdeps/i386/fpu/libm-test-ulps: Update.
6589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6590
5764c27f
WN
65912013-12-16 Will Newton <will.newton@linaro.org>
6592
6593 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6594 (Aligned Memory Blocks): Add documentation for aligned_alloc
6595 and suggest it as an alternative to posix_memalign.
6596 (Hooks for Malloc): Document __memalign_hook is also called
6597 for aligned_alloc. (Summary of Malloc): Add summary for
6598 aligned alloc. Document __memalign_hook is also called
6599 for aligned_alloc.
6600
0a096e44
WN
66012013-12-16 Will Newton <will.newton@linaro.org>
6602
6603 * manual/memory.texi (Malloc Examples): Clarify default
6604 alignment documentation. Suggest posix_memalign rather
6605 than memalign or valloc.
6606 (Aligned Memory Blocks): Remove suggestion to use memalign
6607 or valloc. Remove obsolete comment about BSD.
6608 Document memalign errno values and mark the function obsolete.
6609 Document posix_memalign returned error codes. Mark valloc
6610 as obsolete. (Hooks for Malloc): __memalign_hook is also
6611 called for posix_memalign and valloc.
6612 (Summary of Malloc): Add posix_memalign to function summary.
6613 __memalign_hook is also called for posix_memalign and valloc.
6614
8d561986
SP
66152013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6616
6617 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6618 TAYLOR_SIN.
6619 (__sin): Adjust.
6620 (__cos): Likewise.
6621 (sloww): Use mynumber union. Expand ternary operator into
6622 if-else statements.
6623 (cslow): use mynumber union.
6624
73616a74
AM
66252013-12-16 Allan McRae <allan@archlinux.org>
6626
9e8ac24b
AM
6627 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6628 * configure: Regenerated.
6629
6f8e37eb
AM
6630 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6631
8894bad3
AM
6632 [BZ #14120]
6633 * configure.ac: Added --enable-maintainer-mode. Check for
6634 autoconf when enabled.
6635 * configure: Regenerated.
6636
73616a74
AM
6637 * nscd/nscd.service: New file.
6638 * nscd/nscd.tmpfiles: New file.
6639
584b18eb
OB
66402013-12-14 Ondřej Bílka <neleai@seznam.cz>
6641
6642 [BZ #12100]
6643 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6644 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6645 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6646 (strstr): Add __strstr_sse2_unaligned ifunc.
6647 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6648 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6649 (strcasestr): Remove __strcasestr_sse42 ifunc.
6650 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6651 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6653
8a5c7897
KK
66542013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6655
6656 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6657 * sysdeps/sh/bits/fenv.h: ... here.
6658 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6659
fd712ef3
AZ
66602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6661
6662 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6663
42fcb46c
AZ
6664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6665 hypotf multiarch implementations.
6666 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6667 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6668 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6669 multiarch hypot for PPC64.
6670 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6671 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6672 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6673 multiarch hypotf for PPC64.
6674
83efded4
AZ
6675 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6676 modff multiarch implementations.
6677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6680 multiarch modf for PPC64.
6681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6684 multiarch modff for PPC64.
6685
43e246d2
AZ
6686 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6687 and logl multiarch implementations.
6688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6691 multiarch logb for PPC64.
6692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6695 multiarch logb for PPC64.
6696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6699 multiarch logb for PPC64.
6700
8fdad123
AZ
6701 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6702 isinff multiarch implementation.
6703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6704 file.
6705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6707 multiarch isinf for PPC64.
6708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6709 file.
6710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6711 multiarch isinff for PPC64.
6712
1481d706
AZ
6713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6714 finitef multiarch implementation.
6715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6716 file.
6717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6719 multiarch finite for PPC64.
6720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6721 file.
6722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6723 multiarch finitef for PPC64.
6724
5ccd5fc8
AZ
6725 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6726 lrint multiarch implementation.
6727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6728 file.
6729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6731 multiarch llrint for PPC64.
6732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6733 multiarch lrint for PPC64.
6734
2568f3fa
AZ
6735 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6736 copysignf multiarch implementation.
6737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6738 file.
6739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6740 file.
6741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6742 multiarch copysign for PPC64.
6743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6744 multiarch copysignf for PPC64.
6745
1cb341fd
AZ
6746 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6747 multiarch implementation.
6748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6749 file.
6750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6751 file.
6752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6753 file.
6754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6755 file.
6756 multiarch llround for PPC64.
6757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6758 multiarch trunc for PPC64.
6759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6760 multiarch truncf for PPC64.
6761
59a3e194
AZ
6762 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6763 multiarch implementation.
6764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6765 file.
6766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6767 file.
6768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6769 file.
6770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6771 file.
6772 multiarch llround for PPC64.
6773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6774 multiarch round for PPC64.
6775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6776 multiarch roundf for PPC64.
6777
357fd3b4
AZ
6778 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6779 multiarch implementation.
6780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6781 file.
6782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6783 file.
6784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6785 file.
6786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6787 file.
6788 multiarch llround for PPC64.
6789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6790 multiarch floor for PPC64.
6791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6792 multiarch floorf for PPC64.
6793
96770f12
AZ
6794 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6795 multiarch implementation.
6796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6797 file.
6798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6799 file.
6800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6801 file.
6802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6803 file.
6804 multiarch llround for PPC64.
6805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6806 multiarch ceil for PPC64.
6807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6808 multiarch ceilf for PPC64.
6809
c3627f6e
AZ
6810 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6811 multiarch implementation.
6812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6813 file.
6814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6815 file.
6816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6817 file.
6818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6819 multiarch llround for PPC64.
6820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6821 multiarch lround for PPC64.
6822
b2284ad7
AZ
6823 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6824 multiarch implementation.
6825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6828 file.
6829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6832 multiarch isnan for PPC64.
6833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6834 multiarch isnanf for PPC64.
6835
69bbc63d
AZ
6836 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6837 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6838 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6839 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6840 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6842
c24517c9
AZ
6843 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6844 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6847
a52374e8
AZ
6848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6849 multiarch implementations.
6850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6851 (__libc_ifunc_impl_list): Likewise.
6852 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6853 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6854 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6855 multiarch stpcpy for PPC64.
6856
7f5ec113
AZ
6857 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6858 multiarch implementations.
6859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6860 (__libc_ifunc_impl_list): Likewise.
6861 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6862 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6863 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6864 multiarch strcpy for PPC64.
6865
e28bcd42
AZ
6866 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6867 redefine function name.
6868 (_wordcopy_fwd_dest_aligned): Likewise.
6869 (_wordcopy_bwd_aligned): Likewise.
6870 (_wordcopy_bwd_dest_aligned): Likewise.
6871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6872 multiarch implementations.
6873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6874 (__libc_ifunc_impl_list): Likewise.
6875 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6876 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6877 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6878 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6879 multiarch wcscpy for PPC64.
6880
92cacfce
AZ
6881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6882 multiarch implementations.
6883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6884 (__libc_ifunc_impl_list): Likewise.
6885 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6886 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6887 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6888 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6889 multiarch wcscpy for PPC64.
6890
7b714620
AZ
6891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6892 multiarch implementations.
6893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6894 (__libc_ifunc_impl_list): Likewise.
6895 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6896 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6897 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6898 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6899 multiarch wcsrchr for PPC64.
6900
16fd2ae3
AZ
6901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6902 multiarch implementations.
6903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6904 (__libc_ifunc_impl_list): Likewise.
6905 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6906 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6907 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6908 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6909 multiarch wcschr for PPC64.
6910
9ee2969b
AZ
6911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6912 multiarch implementations.
6913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6914 (__libc_ifunc_impl_list): Likewise.
6915 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6916 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6917 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6918 multiarch strchrnul for PPC64.
6919
372dc060
AZ
6920 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6921 implementations.
6922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6923 (__libc_ifunc_impl_list): Likewise.
6924 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6925 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6926 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6927 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6928 strchr for PPC64.
6929
24c2c3b9
AZ
6930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6931 implementations.
6932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6933 (__libc_ifunc_impl_list): Likewise.
6934 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6935 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6936 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6937 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6938 strncmp for PPC64.
6939
1c92d9a0
AZ
6940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6941 multiarch implementations.
6942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6943 (__libc_ifunc_impl_list): Likewise.
6944 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6945 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6946 strncasecmp for PPC64.
6947 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6948 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6949 multiarch strncasecmp_l for PPC64.
6950
17de3ee3
AZ
6951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6952 multiarch implementations.
6953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6954 (__libc_ifunc_impl_list): Likewise.
6955 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6956 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6957 multiarch strcasecmp for PPC64.
6958 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6959 file.
6960 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6961 multiarch strcasecmp_l for PPC64.
6962
62982bf9
AZ
6963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6964 implementations.
6965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6966 (__libc_ifunc_impl_list): Likewise.
6967 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6968 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6969 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6970 strnlen for PPC64.
6971
a65f4904
AZ
6972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6973 implementations.
6974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6975 (__libc_ifunc_impl_list): Likewise.
6976 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6977 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6978 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6979 strlen for PPC64.
6980
1fd005ad
AZ
6981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6982 implementations.
6983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6984 (__libc_ifunc_impl_list): Likewise.
6985 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6986 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6987 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6988 rawmemrchr for PPC64.
6989
cd05ba91
AZ
6990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6991 implementation.
6992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6993 (__libc_ifunc_impl_list): Likewise.
6994 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6995 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6996 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6997 memrchr for PPC64.
6998
870f8676
AZ
6999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7000 implementation.
7001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7002 (__libc_ifunc_impl_list): Likewise.
7003 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7004 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7005 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7006 memchr for PPC64.
7007
f00be62b
AZ
7008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7009 implementation.
7010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7011 (__libc_ifunc_impl_list): Likewise.
7012 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7013 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7014 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7015 mempcpy for PPC64.
7016
8a29a3d0
AZ
7017 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7018 avoid cretion of __bzero symbol.
7019 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7020 Likewise.
7021 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7022 Likewise.
7023 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7024 Likewise.
7025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7026 multiarch implementations.
7027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7028 (__libc_ifunc_impl_list): Likewise.
7029 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7030 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7031 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7032 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7033 bzero for PPC32.
7034 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7035 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7036 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7037 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7038 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7039 memset for PPC64.
7040 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7041
07253fcf
AZ
7042 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7044 implementations.
7045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7046 (__libc_ifunc_impl_list): Likewise.
7047 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7048 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7049 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7050 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7051 memcmp for PPC64.
7052
b5beafbc
AZ
7053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7054 multiarch for POWER/PPC64.
7055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7056 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7057 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7059 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7060 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7061 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7062 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7063 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7064 memcpy for PPC64.
7065
5e6a4d4b
AZ
7066 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7067 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7068 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7069 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7070 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7071 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7072 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7073 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7074 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7075 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7076 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7077 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7078 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7079 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7080 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7088
ddfab6dc
KK
70892013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7090
7091 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7092
19b5525e
SP
70932013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7094
7095 * benchtests/Makefile (bench): Add exp2 and log2.
7096 (LDLIBS-bench-exp2): Add -lm.
7097 (LDLIBS-bench-log2): Likewise.
7098 * benchtests/exp2-inputs: New inputs file.
7099 * benchtests/log2-inputs: New inputs file.
7100 * benchtests/log-inputs: Add new inputs.
7101 * benchtests/tan-inputs: Likewise.
7102
196f7f5d
SP
71032013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7104
7a74607f
SP
7105 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7106 definition...
57f41c40
AS
7107 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7108 (csloww2): ... from here.
7a74607f 7109
196f7f5d
SP
7110 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7111 instead of structures.
7112 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7113 (POLYNOMIAL): Likewise.
7114 (TAYLOR_SLOW): Likewise.
7115 (__sin): Likewise.
7116 (__cos): Likewise.
7117 (slow1): Likewise.
7118 (slow2): Likewise.
7119 (sloww): Likewise.
7120 (sloww1); Likewise.
7121 (sloww2): Likewise.
7122 (bsloww1): Likewise.
7123 (bsloww2): Likewise.
7124 (cslow2): Likewise.
7125 (csloww): Likewise.
7126 (csloww1): Likewise.
7127 (csloww2): Likewise.
7128
0dfa665c
OB
71292013-12-10 Ondřej Bílka <neleai@seznam.cz>
7130
7131 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
7132 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7133 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
7134 * malloc/hooks.c (realloc_check): Likewise.
7135
5782a80f
OB
7136 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7137 * malloc/arena.c: Remove PER_THREAD conditional.
7138 [!PER_THREAD]: Remove code.
7139 (ptmalloc_unlock_all2): Likewise.
7140 (ptmalloc_init): Likewise.
7141 (_int_new_arena): Likewise.
7142 (arena_get2): Likewise.
7143 * malloc/hooks.c (__malloc_get_state): Likewise.
7144 (__malloc_set_state): Likewise.
7145 * malloc/malloc.c: Likewise.
7146 (struct malloc_state): Likewise.
7147 (struct malloc_par): Likewise.
7148 (__libc_realloc): Likewise.
7149 (__libc_mallopt): Likewise.
7150
aeb95445
AZ
71512013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7152
7153 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7154
e8349efd
OB
71552013-12-09 Ondřej Bílka <neleai@seznam.cz>
7156
7157 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7158 macro to a function. Check for zero perturb_byte.
7159 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7160
f3eeb3fc 7161 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
7162 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7163 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
7164 force_reg by atomic_forced_read.
7165 * malloc/arena.c (ptmalloc_init): Likewise.
7166 * malloc/hooks.c (top_check): Likewise.
7167
be2f9009
AZ
71682013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7169
7170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7171
e7b914bd
MT
71722013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7173
7174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7175
9f0be4f8
JM
71762013-12-08 Joseph Myers <joseph@codesourcery.com>
7177
7178 * math/auto-libm-test-in: Add tests of lgamma.
7179 * math/auto-libm-test-out: Regenerated.
7180 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7181 (M_LOG_2_SQRT_PIl): Likewise.
7182 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7183 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7184 mpfr_f_f1.
7185 (func_calc_desc): Add mpfr_f_f1 union field.
7186 (ARGS1): New macro.
7187 (ARGS2): Likewise.
7188 (ARGS3): Likewise.
7189 (ARGS4): Likewise.
7190 (RET1): Likewise.
7191 (RET2): Likewise.
7192 (CALC): Likewise.
7193 (FUNC): Likewise.
7194 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7195 (test_functions): Add lgamma.
7196 (calc_generic_results): Handle mpfr_f_f1.
7197 * sysdeps/i386/fpu/libm-test-ulps: Update.
7198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7199
24eeafdb
AZ
72002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7201
7202 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7203 __mpn_add_n for PowerPC64/POWER7.
7204 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7205 __mpn_sub_n for PowerPC64/POWER7.
7206
4a2c0fd4
AZ
7207 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7208 __mpn_addmul_1 for PowerPC64.
7209 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7210 __mpn_submul_1 for PowerPC64.
7211 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7212 for PowerPC64.
7213 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7214 for PowerPC64.
7215
4b5b548c
FS
72162013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7217
7218 [BZ #15089]
7219 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7220
0a3ac0aa
AZ
72212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7222
7223 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7224
ccdc8438
AZ
7225 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7226 add multiarch folders.
7227 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7228 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7229 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7230 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7231 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7232 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7233 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7234 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7235 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7236 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7237 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7244
2e973d99
AZ
7245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7246 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7248 New file.
7249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7250 New file.
7251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7252 multiarch __ieee754_hypot for PowerPC32.
7253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7254 New file.
7255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7256 New file.
7257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7258 multiarch __ieee754_hypotf for PowerPC32.
7259
2d9470b2
AZ
7260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7261 long_double_symbol only if __logbl is defined.
7262 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7263 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7265 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7266 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7267 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7268 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7269 path for implementation.
7270 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7273 logb, and logbl multiarch implementations for PowerPC32.
7274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7275 file.
7276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7277 file.
7278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7279 multiarch logb for PowerPC32.
7280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7281 file.
7282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7283 file.
7284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7285 multiarch logbf for PowerPC32.
7286 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7288 file.
7289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7290 multiarch logbl implementation for PowerPC32.
7291
5212ffce
AZ
7292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7293 and modff multiarch implementations.
7294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7295 New file.
7296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7297 New file.
7298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7299 multiarch modf for PowerPC32.
7300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7301 New file.
7302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7303 New file.
7304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7305 multiarch modff for PowerPC32.
7306
79dccf31
AZ
7307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7308 and lrintf multiarch implementations.
7309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7310 New file.
7311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7312 New file.
7313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7314 multiarch lrint for PowerPC32.
7315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7316 file: multiarch lrintf for PowerPC32.
7317
deb66480
AZ
7318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7319 and lroundf multiarch implementations.
7320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7321 New file.
7322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7323 New file.
7324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7325 New file.
7326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7327 multiarch lround for PowerPC32.
7328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7329 file: multiarch lroundf for PowerPC32.
7330
264b036b
AZ
7331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7332 copysign and copysignf multiarch implementations.
7333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7334 New file.
7335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7336 New file.
7337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7338 file: multiarch copysign for PowerPC32.
7339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7340 file: multiarch copysignf for PowerPC32.
7341
d47db6c9
AZ
7342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7343 and truncf multiarch implementations.
7344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7345 New file.
7346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7347 file.
7348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7349 multiarch trunc for PowerPC32.
7350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7351 New file.
7352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7353 New file.
7354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7355 multiarch truncf for PowerPC32.
7356
ddb60b5a
AZ
7357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7358 and roundf multiarch implementations.
7359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7360 New file.
7361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7362 file.
7363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7364 multiarch round for PowerPC32.
7365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7366 New file.
7367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7368 New file.
7369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7370 multiarch roundf for PowerPC32.
7371
bedcf49b
AZ
7372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7373 and floorf multiarch implementations.
7374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7375 New file.
7376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7377 file.
7378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7379 multiarch floor for PowerPC32.
7380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7381 New file.
7382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7383 New file.
7384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7385 multiarch floorf for PowerPC32.
7386
35ae5b40
AZ
7387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7388 and ceilf multiarch implementations.
7389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7390 New file.
7391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7392 file.
7393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7394 multiarch ceil for PowerPC32.
7395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7396 New file.
7397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7398 file.
7399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7400 multiarch ceilf for PowerPC32.
7401
ae1a4cd9
AZ
7402 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7403 is defined.
7404 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7405 FINITEF is defined.
7406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7407 and finitef multiarch implementations.
7408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7409 New file.
7410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7411 file.
7412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7413 multiarch finite for PowerPC32.
7414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7415 New file.
7416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7417 file: multiarch finitef for PowerPC32.
7418
64fffd65
AZ
7419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7420 and isinff multiarch implementations.
7421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7422 file.
7423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7424 file.
7425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7426 multiarch isinf for PowerPC32.
7427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7428 New file.
7429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7430 multiarch isinff for PowerPC32.
7431
8e4e7ba2
AZ
7432 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7433 alias when __isnan is defined.
7434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7435 and isnanf multiarch implementations.
7436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7437 file.
7438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7439 file.
7440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7441 file.
7442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7443 file.
7444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7445 multiarch isnan for PowerPC32.
7446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7447 New file.
7448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7449 New file.
7450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7451 multiarch isnanf for PowerPC32.
7452
ddba588e
AZ
7453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7454 and sqrtf multiarch implementations.
7455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7456 file.
7457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7458 file.
7459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7460 multiarch sqrt for PowerPC32.
7461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7462 file.
7463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7464 file.
7465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7466 multiarch sqrtf for PowerPC32.
7467
0f96a2f0
AZ
7468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7469 and llroundf multiarch implementations.
7470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7471 New file.
7472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7473 New file.
7474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7475 New file.
7476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7477 file: multiarch llround for PowerPC32.
7478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7479 file: multiarch llroundf for PowerPC32.
7480
c9b5d79e
AZ
7481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7482 multiarch PowerPC32 fpu implementations.
7483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7484 New file.
7485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7486 New file.
7487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7488 multiarch llrint for PowerPC32.
7489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7490 New file.
7491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7492 New file.
7493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7494 file.
7495
9cbb3aab
AZ
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7497
ea5a72f8
AZ
7498 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7499 file.
7500 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7501 file.
7502 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7503 file.
7504 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7505 multiarch wordcopy for PPC32.
7506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7507 wordcopy objects.
7508 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7509 (__libc_ifunc_impl_list): Likewise.
7510 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7511 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7512 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7513 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7514 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7515 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7516
93be09e7
AZ
7517 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7518 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7519 file.
7520 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7521 file.
7522 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7523 file.
7524 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7525 multiarch wcscpy for PPC32.
7526 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7527 multiarch objects.
7528 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7529 (__libc_ifunc_impl_list): Likewise.
7530 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7531 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7532 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7533 sysdeps/powerpc/power6/wcscpy.c.
7534
bb04e529
AZ
7535 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7536 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7537 file.
7538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7539 file.
7540 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7541 file.
7542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7543 multiarch wcsrchr for PPC32.
7544 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7545 multiarch objects.
7546 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7547 (__libc_ifunc_impl_list): Likewise.
7548 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7549 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7550 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7551 sysdeps/powerpc/power6/wcsrchr.c.
7552
05b5cd1c
AZ
7553 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7554 file.
7555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7556 file.
7557 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7558 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7559 multiarch wcschr for PPc32.
7560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7561 multiarch objects.
7562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7563 (__libc_ifunc_impl_list): Likewise.
7564 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7565 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7566 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7567 sysdeps/powerpc/power6/wcschr.c.
7568
ba964147
AZ
7569 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7570 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7571 file.
7572 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7573 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7574 file: multiarch strchr for PPC32.
7575 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7576 multiarch objects.
7577 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7578 (__libc_ifunc_impl_list): Likewise.
7579
31c81aaa
AZ
7580 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7581 name.
7582 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7583 file.
7584 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7585 file.
7586 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7587 multiarch strchrnul for PPC32.
7588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7589 multiarch objects.
7590 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7591 (__libc_ifunc_impl_list): Likewise.
7592
0d0607d9
AZ
7593 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7594 file.
7595 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7596 multiarch strncasecmp for PPC32.
7597 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7598 file.
7599 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7600 multiarch strncasecmp_l for PPC32.
7601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7602 strncasecmp multiarch objects.
7603 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7604 (__libc_ifunc_impl_list): Likewise.
7605
4dfd5c86
AZ
7606 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7607 file.
7608 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7609 multiarch strncasecmp for PPC32.
7610 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7611 New file.
7612 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7613 multiarch strcasecmp_l for PPC32.
7614 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7615 multiarch objects.
7616 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7617 (__libc_ifunc_impl_list): Likewise.
7618
a19e01a3
AZ
7619 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7620 file.
7621 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7622 file.
7623 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7624 multiarch strncmp for PPC32.
7625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7626 multiarch objects.
7627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7628 (__libc_ifunc_impl_list): Likewise.
7629
ae9cf7a2
AZ
7630 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7631 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7632 file.
7633 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7634 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7635 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7636 multiarch objects.
7637 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7638 (__libc_ifunc_impl_list): Likewise.
7639
3148bb7d
AZ
7640 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7641 file.
7642 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7643 file.
7644 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7646 multiarch objects.
7647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7648 (__libc_ifunc_impl_list): Likewise.
7649
7af8b946
AZ
7650 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7651 file.
7652 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7653 file.
7654 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7655 multiarch rawmemchr for PPC32.
7656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7657 multiarch objects.
7658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7659 (__libc_ifunc_impl_list): Likewise.
7660
03a6aa6a
AZ
7661 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7662 file.
7663 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7664 file.
7665 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7666 file: memrchr multiarch for PPC32.
7667 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7668 multiarch objects.
7669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7670 (__libc_ifunc_impl_list): Likewise.
7671
1c62e6d9
AZ
7672 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7673 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7674 file.
7675 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7676 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7677 multiarch memchr for PPC32.
7678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7679 multiarch objects.
7680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7681 (__libc_ifunc_impl_list): Likewise.
7682
87da8bdb
AZ
7683 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7684 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7685 file.
7686 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7687 file.
7688 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7689 file: multiarch mempcpy for PPC32.
7690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7691 multiarch objects.
7692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7693 (__libc_ifunc_impl_list): Likewise.
7694
20ed4714
AZ
7695 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7696 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7697 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7698 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7699 multiarch bzero for PPC32.
7700 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7701 file.
7702 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7703 file.
7704 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7705 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7706 file: multiarch memset for PPC32.
7707 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7709 memset multiarch objects.
7710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7711 (__libc_ifunc_impl_list): Likewise.
7712
ab3e3a46
AZ
7713 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7714 file.
7715 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7716 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7717 memcmp for PPC32.
7718 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7719 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7720 multiarch objects.
7721 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7722 (__libc_ifunc_impl_list): Likewise.
7723
930de6f0
AZ
7724 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7725 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7726 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7727 file.
7728 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7729 file.
7730 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7731 file.
7732 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7733 multiarch memcpy for PPC32.
7734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7735 multiarch objects.
7736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7737 (__libc_ifunc_impl_list): Likewise.
7738
4c628e00
AZ
7739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7740 support multiarch for POWER/PPC32.
7741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7742 Likewise.
7743 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7745 Implies file to make multiarch folder appers before the fpu and
7746 default folder for power4 configuration.
7747
f4479220
SP
77482013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7749
7750 * scripts/bench.pl: Append volatile keyword to type.
7751
8517800f
KK
77522013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7753
7754 * sysdeps/sh/sotruss-lib.c: New file.
7755 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7756
180138f1
AZ
77572013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7758
7759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7760
bbf37bdc
JM
77612013-12-05 Joseph Myers <joseph@codesourcery.com>
7762
e47cc4e0
JM
7763 [BZ #6810]
7764 * math/w_tgamma.c: Include <errno.h>.
7765 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7766 * math/w_tgammaf.c: Include <errno.h>.
7767 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7768 * math/w_tgammal.c: Include <errno.h>.
7769 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7770 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7771 underflow. Add more tgamma tests.
7772 * math/auto-libm-test-out: Regenerated.
7773 * sysdeps/i386/fpu/libm-test-ulps: Update.
7774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7775
bbf37bdc
JM
7776 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7777 sin, sinh, tan, tanh, tgamma, y0 and y1.
7778 * math/auto-libm-test-out: Regenerated.
7779 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7780 (TEST_COND_x86): Likewise.
7781 (M_E2l): Remove macro.
7782 (M_E3l): Likewise.
7783 (M_2_SQRT_PIl): Likewise.
7784 (M_SQRT_PIl): Likewise.
7785 (M_1_DIV_El): Likewise.
7786 (log_test_data): Use AUTO_TESTS_f_f.
7787 (log10_test_data): Likewise.
7788 (log1p_test_data): Likewise.
7789 (log2_test_data): Likewise.
7790 (sin_test_data): Likewise.
7791 (sin_tonearest_test_data): Likewise.
7792 (sin_towardzero_test_data): Likewise.
7793 (sin_downward_test_data): Likewise.
7794 (sin_upward_test_data): Likewise.
7795 (sinh_test_data): Likewise.
7796 (sinh_tonearest_test_data): Likewise.
7797 (sinh_towardzero_test_data): Likewise.
7798 (sinh_downward_test_data): Likewise.
7799 (sinh_upward_test_data): Likewise.
7800 (tan_test_data): Likewise.
7801 (tan_tonearest_test_data): Likewise.
7802 (tan_towardzero_test_data): Likewise.
7803 (tan_downward_test_data): Likewise.
7804 (tan_upward_test_data): Likewise.
7805 (tanh_test_data): Likewise.
7806 (tgamma_test_data): Likewise.
7807 (y0_test_data): Likewise.
7808 (y1_test_data): Likewise.
7809 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7810 (special_real_inputs): Add pi/4.
7811 * sysdeps/i386/fpu/libm-test-ulps: Update.
7812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7813
eb5ad6b9
AZ
78142013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7815
7816 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7817 "longjmp_target" static probes.
7818 (__longjmp): Rename to __longjmp_symbol.
7819 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7820 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7821 on which longjmp to generate.
7822 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7823 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7824 probe.
7825 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7826 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7827 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7828 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7829 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7830 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7832 __longjmp_symbol based on which __longjmp to generate.
7833 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7834 probe.
7835 (setjmp): Rename to setjmp_symbol.
7836 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7837 (_setjmp): Rename to _setjmp_symbol.
7838 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7839 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7840 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7841 which setjmp to generate.
7842 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7843 "longjmp_target" static probes.
7844
d136c6dc
SP
78452013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7846
9298ecba
SP
7847 * benchtests/README: Add note about output arguments.
7848 * benchtests/bench-sincos.c: Remove file.
7849 * benchtests/sincos-inputs: New file.
7850 * scripts/bench.pl: Identify output arguments and define
7851 static variables for them.
7852
232983e9
SP
7853 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7854
d136c6dc
SP
7855 [BZ #15941]
7856 * Makefile (INSTALL): Add install-plain.texi as the primary
7857 dependency.
7858 * manual/install-plain.texi: New file.
7859 * manual/install.texi: Include node directive only for
7860 non-plaintext output.
7861
699ff837
JM
78622013-12-04 Joseph Myers <joseph@codesourcery.com>
7863
ab07cea8
JM
7864 * stdlib/longlong.h: Update from GCC.
7865
699ff837
JM
7866 [BZ #6807]
7867 [BZ #15901]
7868 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7869 * math/w_j0f.c (y0f): Likewise.
7870 * math/w_j0l.c (__y0l): Likewise.
7871 * math/w_j1.c (y1): Likewise.
7872 * math/w_j1f.c (y1f): Likewise.
7873 * math/w_j1l.c (__y1l): Likewise
7874 * math/w_jn.c (yn): Likewise.
7875 * math/w_jnf.c (ynf): Likewise.
7876 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7877 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7878 value for Bessel function domain errors outside _SVID_ mode.
7879 Adjust sign of return value for yn (negative integer, 0).
7880 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7881 by zero in return for negative x and set sign appropriately for
7882 negative n.
7883 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7884 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7885 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7886 expectations in error cases.
7887 (y1_test_data): Likewise.
7888 (yn_test_data): Likewise.
7889 * sysdeps/i386/fpu/libm-test-ulps: Update.
7890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7891
5b118558
UW
78922013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7893
7894 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7895 "64" to "64-v1". Add "64-v2".
7896 (abi-64-options): Rename to ...
7897 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7898 (abi-64-condition): Rename to ...
7899 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7900 (abi-64-ld-soname): Rename to ...
7901 (abi-64-v1-ld-soname): ... this.
7902 (abi-64-v2-options): Define.
7903 (abi-64-v2-condition): Likewise.
7904 (abi-64-v2-ld-soname): Likewise.
7905 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7906 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7910
61cd8fe4
UW
79112013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7912 Alan Modra <amodra@gmail.com>
7913
7914 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7915 New versions for use with the ELFv2 ABI.
7916 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7917 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7918 declaration.
7919 (struct La_ppc64v2_retval): Likewise.
7920 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7921 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7922 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7923 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7924 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7925 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7926 Do not save or restore CR.
7927 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7928 (_dl_profile_resolve): Do no save or restore CR. Support extended
7929 return values for ELFv2 ABI. Fix location of FPR return registers.
7930 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7931 updated values for _CALL_ELF == 2.
7932 (La_regs, La_retval, int_retval): Likewise.
7933
8b8a692c
UW
79342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7935
7936 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7937 (FRAME_MIN_SIZE_PARM): Likewise.
7938 (FRAME_BACKCHAIN): Likewise.
7939 (FRAME_CR_SAVE): Likewise.
7940 (FRAME_LR_SAVE): Likewise.
7941 (FRAME_TOC_SAVE): Likewise.
7942 (FRAME_PARM_SAVE): Likewise.
7943 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7944 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7945 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7946 (call_mcount_parm_offset): New macro.
7947 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7948 (PROF): Use symbolic stack frame offsets.
7949 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7950 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7951 Redefine in terms of FRAME_MIN_SIZE.
7952 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7953 (_dl_profile_resolve): Likewise. Update comment.
7954 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7955 symbols stack frame offsets.
7956 (__sigsetjmp): Likewise.
7957 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7958 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7959 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7960 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7961
7962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7963 (FRAME_BACKCHAIN): Remove.
7964 (FRAME_CR_SAVE): Likewise.
7965 (FRAME_LR_SAVE): Likewise.
7966 (FRAME_COMPILER_DW): Likewise.
7967 (FRAME_LINKER_DW): Likewise.
7968 (FRAME_TOC_SAVE): Likewise.
7969 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7970 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7971 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7972 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7974 (CHECK_SP): Use symbolic stack frame offsets.
7975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7976 zone" instead of caller's parameter save area for temp storage.
7977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7978 Likewise. Also, use symbolic stack frame offsets.
7979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7980 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7981 our own stack frame instead of the caller's.
7982 (__socket): Use symbolic stack frame offsets.
7983
122b66de
UW
79842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7985 Alan Modra <amodra@gmail.com>
7986
7987 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7988 Define.
57f41c40
AS
7989 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7990 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7991 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7992 New function.
7993 (elf_machine_fixup_plt): Call it.
7994 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7995 reloc arguments.
7996 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7997 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7998 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7999 r2 before calling target.
8000
696caf1d
UW
80012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8002 Alan Modra <amodra@gmail.com>
8003
8004 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8005 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8006 versions of macros to support ELFv2 ABI.
8007 (LOCALENTRY): New macro.
8008 (ENTRY, EALIGN): Use it.
8009 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8010 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8011 fall through into ENTRY entry point.
8012 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8013 Only define if _CALL_ELF != 2.
8014
8015 (elf_machine_matches_host): Verify ABI version matches.
8016 (RTLD_START): Use LOCALENTRY.
8017 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8018 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8019 (PLT_ENTRY_WORDS): New macro.
8020 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8021 (elf_machine_runtime_setup): Support ELFv2 ABI.
8022 (elf_machine_fixup_plt): Likewise.
8023 (elf_machine_plt_conflict): Likewise.
8024 (resolve_ifunc): Likewise.
8025 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8026 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8027 Likewise.
8028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8029 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8031 (makecontext): Support ELFv2 ABI.
8032 * elf/elf.h (EF_PPC64_ABI): Define.
8033
d31beafa
UW
80342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8035
57f41c40
AS
8036 * sysdeps/powerpc/powerpc64/sysdep.h
8037 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8038 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8039 (ENTRY) [ASSEMBLER]: ... but instead here ...
8040 (EALIGN) [ASSEMBLER]: ... and here.
8041 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8042 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8043 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8044 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8045 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8046 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8047 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8048 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8050 Use PPC64_LOAD_FUNCPTR.
8051
b525166b
UW
8052 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8053
7ec07d9a
AM
80542013-12-04 Alan Modra <amodra@gmail.com>
8055
8056 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8057 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8058 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8059 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8060
8061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8062 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8063 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8064 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8065 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8066 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8067
5162e7dd
UW
80682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8069
8070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8071 (__makecontext): Fix incorrect CFI when backtracing out of
8072 context created via makecontext.
8073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8074 (__setcontext): Fix incorrect CFI during switch to new context.
8075 (__novec_setcontext): Likewise.
8076
19e3372b
OB
80772013-12-04 Ondřej Bílka <neleai@seznam.cz>
8078
8079 [BZ #4772]
8080 * time/strptime_l.c (__strptime_internal): Allow modifiers
8081 in strptime.
8082 * time/tst-strptime.c (day_tests): Add testcase.
8083
ecaf142d
SP
80842013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8085
8086 * scripts/bench.pl: Skip over blank lines.
8087
fbf964ae
PE
80882013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8089
8090 [BZ #926]
8091 * manual/time.texi (Calendar Time): Clarify what timezone functions
8092 use.
8093
fa60a674
AZ
80942013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8095
8096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8097
d674f0ef
OB
80982013-12-04 Ondřej Bílka <neleai@seznam.cz>
8099
8100 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8101 implementation.
8102 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8103 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8104 * debug/memset_chk.c (__memset_chk): Likewise.
8105 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8106 * debug/strncpy_chk.c: Likewise.
8107
17dea188
JM
81082013-12-03 Joseph Myers <joseph@codesourcery.com>
8109
749008ff
JM
8110 [BZ #15268]
8111 [BZ #15425]
8112 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8113 (__ieee754_exp): For possibly underflowing results, check size of
8114 result and force underflow exception if required.
8115 * math/auto-libm-test-in: Add more tests of exp.
8116 * math/auto-libm-test-out: Regenerated.
8117 * sysdeps/i386/fpu/libm-test-ulps: Update.
8118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8119
17dea188
JM
8120 [BZ #16283]
8121 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8122 * math/w_exp2f.c (__exp2f): Likewise.
8123 * math/w_exp2l.c (__exp2l): Likewise.
8124 * math/auto-libm-test-in: Do not allow missing errno on exp2
8125 underflow.
8126 * math/auto-libm-test-out: Regenerated.
8127
b20de2c3
OB
81282013-12-03 Ondřej Bílka <neleai@seznam.cz>
8129
8130 [BZ #16274]
8131 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8132 handle filename validation.
8133 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8134 (do_open): Delete.
8135
d8e2dbe3
JM
81362013-12-03 Joseph Myers <joseph@codesourcery.com>
8137
34e16df5
JM
8138 [BZ #6786]
8139 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8140 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8141 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8142 <float.h>.
8143 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8144 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8145 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8147 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8148 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8149 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8150 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8151 Add more erfc tests.
8152 * math/auto-libm-test-out: Regenerated.
8153 * sysdeps/i386/fpu/libm-test-ulps: Update.
8154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8155
d8e2dbe3
JM
8156 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8157 exp2, expm1, j0 and j1.
8158 * math/auto-libm-test-out: Regenerated.
8159 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8160 (erfc_test_data): Likewise.
8161 (exp_test_data): Likewise.
8162 (exp_tonearest_test_data): Likewise.
8163 (exp_towardzero_test_data): Likewise.
8164 (exp_downward_test_data): Likewise.
8165 (exp_upward_test_data): Likewise.
8166 (exp10_test_data): Likewise.
8167 (exp2_test_data): Likewise.
8168 (expm1_test_data): Likewise.
8169 (j0_test_data): Likewise.
8170 (j1_test_data): Likewise.
8171 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8172 (input_flag_type): Add flag_xfail_rounding.
8173 (input_flags): Add xfail-rounding.
8174 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8175 (output_for_one_input_case): Handle flag_xfail_rounding.
8176 * sysdeps/i386/fpu/libm-test-ulps: Update.
8177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8178
18d14251
AJ
81792013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8180
3d2e6075 8181 [BZ #16289]
18d14251
AJ
8182 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8183 division by 0.
8184
520d437b
SP
81852013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8186
8187 [BZ #16195]
8188 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8189 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8190 (STAP_PROBE0): New macro.
8191 (STAP_PROBE1): Likewise.
8192 (STAP_PROBE2): Likewise.
8193 (STAP_PROBE3): Likewise.
8194 (STAP_PROBE4): Likewise.
8195
416e0145
OB
81962013-12-02 Ondřej Bílka <neleai@seznam.cz>
8197
8198 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8199
9d17796a
SE
82002013-12-02 Steve Ellcey <sellcey@mips.com>
8201
8202 * benchtests/Makefile (bench): Add sqrt.
8203 (LDLIBS-bench-sqrt): New.
8204 * benchtests/sqrt-input: New.
8205
f524d6a8
PS
82062013-12-02 Pavel Simerda <psimerda@redhat.com>
8207
639a0ef8
PS
8208 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8209 (GAIH_EAI): Likewise.
8210 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8211 (gaih_inet): Likewise.
8212 (getaddrinfo): Don't use GAIH_EAI.
8213
f524d6a8
PS
8214 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8215 (struct gaih): Remove definition.
8216
df3aedaf
SP
82172013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8218
8219 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8220 Use HERRNOP directly.
8221
1ab19dec
AZ
82222013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8223
b42ad38d 8224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 8225
176b0c79
JM
82262013-11-30 Joseph Myers <joseph@codesourcery.com>
8227
8228 * math/gen-auto-libm-tests.c (test_functions): Add more
8229 single-argument functions.
8230 (special_fill_pi_2): New function.
8231 (special_fill_minus_pi_2): Likewise.
8232 (special_fill_pi_6): Likewise.
8233 (special_fill_minus_pi_6): Likewise.
8234 (special_fill_pi_3): Likewise.
8235 (special_fill_2pi_3): Likewise.
8236 (special_fill_e): Likewise.
8237 (special_fill_1_e): Likewise.
8238 (special_fill_e_minus_1): Likewise.
8239 (special_real_inputs): Add more special inputs.
8240 (output_for_one_input_case): Do not require ERANGE on underflow to
8241 zero if round-to-nearest result does not underflow to zero, unless
8242 exact results required.
8243 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8244 atan, atanh, cbrt, cos and cosh.
8245 * math/auto-libm-test-out: Regenerated.
8246 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8247 (acos_tonearest_test_data): Likewise.
8248 (acos_towardzero_test_data): Likewise.
8249 (acos_downward_test_data): Likewise.
8250 (acos_upward_test_data): Likewise.
8251 (acosh_test_data): Likewise.
8252 (asin_test_data): Likewise.
8253 (asin_tonearest_test_data): Likewise.
8254 (asin_towardzero_test_data): Likewise.
8255 (asin_upward_test_data): Likewise.
8256 (asinh_test_data): Likewise.
8257 (atan_test_data): Likewise.
8258 (atanh_test_data): Likewise.
8259 (cbrt_test_data): Likewise.
8260 (cos_test_data): Likewise.
8261 (cos_tonearest_test_data): Likewise.
8262 (cos_towardzero_test_data): Likewise.
8263 (cos_downward_test_data): Likewise.
8264 (cos_upward_test_data): Likewise.
8265 (cosh_test_data): Likewise.
8266 (cosh_tonearest_test_data): Likewise.
8267 (cosh_towardzero_test_data): Likewise.
8268 (cosh_downward_test_data): Likewise.
8269 (cosh_upward_test_data): Likewise.
8270 * sysdeps/i386/fpu/libm-test-ulps: Update.
8271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8272
ffb536d0
JM
82732013-11-29 Joseph Myers <joseph@codesourcery.com>
8274
2a77a467
JM
8275 [BZ #6787]
8276 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8277 * math/w_exp10f.c (__exp10f): Likewise.
8278 * math/w_exp10l.c (__exp10l): Likewise.
8279 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8280 errno settings in existing tests.
8281
ea3bc4e8
JM
8282 [BZ #14032]
8283 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8284 precision control set to double precision.
8285 * sysdeps/i386/fpu/w_sqrt.c: New file.
8286 * math/auto-libm-test-in: Add more tests.
8287 * math/auto-libm-test-out: Update.
8288
0712c9d8
JM
8289 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8290 (sqrt_test_tonearest): New function.
8291 (sqrt_towardzero_test_data): New variable.
8292 (sqrt_test_towardzero): New function.
8293 (sqrt_downward_test_data): New variable.
8294 (sqrt_test_downward): New function.
8295 (sqrt_upward_test_data): New variable.
8296 (sqrt_test_upward): New function.
8297 (main): Call the new functions.
8298
ffb536d0
JM
8299 * math/gen-auto-libm-tests.c: New file.
8300 * math/auto-libm-test-in: Likewise.
8301 * math/auto-libm-test-out: New generated file.
8302 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8303 variables.
8304 (%beautify): Add generated representations of zero.
8305 (top level): Set $auto_input and call parse_auto_input.
8306 (beautify): Remove trailing "f" from hex float constants.
8307 (parse_args): Handle XFAIL_TEST.
8308 (convert_condition): New function.
8309 (or_value): Likewise.
8310 (or_cond_value): Likewise.
8311 (generate_testfile): Handle AUTO_TESTS_* lines.
8312 (parse_auto_input): New function.
8313 * math/libm-test.inc (XFAIL_TEST): New macro.
8314 (ERRNO_UNCHANGED): Update value.
8315 (ERRNO_EDOM): Likewise.
8316 (ERRNO_ERANGE): Likewise.
8317 (IGNORE_RESULT): Likewise.
8318 (TEST_COND_flt_32): New macro.
8319 (TEST_COND_dbl_64): Likewise.
8320 (TEST_COND_ldbl_96_intel): Likewise.
8321 (TEST_COND_ldbl_96_m68k): Likewise.
8322 (TEST_COND_ldbl_128): Likewise.
8323 (TEST_COND_ldbl_128ibm): Likewise.
8324 (TEST_COND_long32): Likewise.
8325 (TEST_COND_long64): Likewise.
8326 (TEST_COND_before_rounding): Likewise.
8327 (TEST_COND_after_rounding): Likewise.
8328 (enable_test): Handle XFAIL_TEST flag.
8329 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8330 with finite results.
8331 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8332 auto-libm-test-out.
8333
acd98a8e
AK
83342013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8335 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8336
8337 [BZ #16214]
8338 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8339 __tls_get_addr_internal instead of __tls_get_offset in order to
8340 avoid GOT pointer dependency. Make rtld export
8341 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8342 __tls_get_addr since we are a __tls_get_offset platform.
8343 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8344 GOT pointer being set up before.
8345 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8346
3c1c46a6
JM
83472013-11-28 Joseph Myers <joseph@codesourcery.com>
8348
7475aef5
JM
8349 * manual/math.texi (Errors in Math Functions): Document accuracy
8350 goals.
8351
8bca7cd8
JM
8352 [BZ #15004]
8353 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8354 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8357 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8359 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8369
91a1f3fe
JM
8370 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8371 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8372 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8373 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8374 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8375 Likewise.
8376 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8377 Likewise.
8378 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8379 Likewise.
8380 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8381 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8382 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8383 atomic-feupdateenv and flt-rounds.
8384 * sysdeps/powerpc/nofpu/Versions (libc): Add
8385 __atomic_feholdexcept, __atomic_feclearexcept,
8386 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8387 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8388 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8389 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8390 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8391 here.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8393 Update.
8394
c5df7609
JM
8395 * manual/arith.texi (FP Exceptions): Document that exceptions may
8396 not be raised when matherr is used.
8397 (Math Error Reporting): Document overflow in directed rounding
8398 modes. Document that errno may not be set when finite values are
8399 returned on overflow. Document intent to set errno on underflow
8400 only for underflow to zero.
8401
3c1c46a6
JM
8402 [BZ #16271]
8403 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8404 round-to-nearest then adjust result for other rounding modes.
8405 * include/fenv.h (fegetround): Use libm_hidden_proto.
8406 * math/fegetround.c (fegetround): Use libm_hidden_def.
8407 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8408 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8409 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8410 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8411 Likewise.
8412 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8413 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8414 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8415 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8416
5a4c6d53
SP
84172013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8418
8419 [BZ #16077]
8420 * nss/Versions (libnss_files): Add
8421 _nss_files_gethostbyname3_r.
8422 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8423 New function.
8424 (HOST_DB_LOOKUP): Remove macro.
8425 (_nss_files_gethostbyname_r): Implement function without the
8426 HOST_DB_LOOKUP macro.
8427 (_nss_files_gethostbyname2_r): Likewise.
8428
897b98ba
OB
84292013-11-28 Ondřej Bílka <neleai@seznam.cz>
8430
8431 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8432
6f476861
UB
84332013-11-26 Uros Bizjak <ubizjak@gmail.com>
8434
8435 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8436 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8437 warning.
8438
bd12ab55
AZ
84392013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8440
8441 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8442 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8443 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8444 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8445 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8446 __fe_nomask_env_priv and attribute_hidden.
8447 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8448 (libc_feupdateenv_test_ppc): Likewise.
8449 (libc_feresetround_ppc): Likewise.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8451 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8452 compat_symbol macro.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8454 (__fe_nomask_env): Likewise.
8455 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8456
52bb6543
OB
84572013-11-26 Ondřej Bílka <neleai@seznam.cz>
8458
8459 * string/Makefile: Remove ifunc tests.
8460 * string/test-string.h: Define TEST_IFUNC.
8461 * string/test-bcopy-ifunc.c: Remove.
8462 * string/test-bzero-ifunc.c: Likewise.
8463 * string/test-memccpy-ifunc.c: Likewise.
8464 * string/test-memchr-ifunc.c: Likewise.
8465 * string/test-memcmp-ifunc.c: Likewise.
8466 * string/test-memcpy-ifunc.c: Likewise.
8467 * string/test-memmem-ifunc.c: Likewise.
8468 * string/test-memmove-ifunc.c: Likewise.
8469 * string/test-mempcpy-ifunc.c: Likewise.
8470 * string/test-memrchr-ifunc.c: Likewise.
8471 * string/test-memset-ifunc.c: Likewise.
8472 * string/test-rawmemchr-ifunc.c: Likewise.
8473 * string/test-stpcpy-ifunc.c: Likewise.
8474 * string/test-stpncpy-ifunc.c: Likewise.
8475 * string/test-strcasecmp-ifunc.c: Likewise.
8476 * string/test-strcasestr-ifunc.c: Likewise.
8477 * string/test-strcat-ifunc.c: Likewise.
8478 * string/test-strchr-ifunc.c: Likewise.
8479 * string/test-strchrnul-ifunc.c: Likewise.
8480 * string/test-strcmp-ifunc.c: Likewise.
8481 * string/test-strcpy-ifunc.c: Likewise.
8482 * string/test-strcspn-ifunc.c: Likewise.
8483 * string/test-strlen-ifunc.c: Likewise.
8484 * string/test-strncasecmp-ifunc.c: Likewise.
8485 * string/test-strncat-ifunc.c: Likewise.
8486 * string/test-strncmp-ifunc.c: Likewise.
8487 * string/test-strncpy-ifunc.c: Likewise.
8488 * string/test-strnlen-ifunc.c: Likewise.
8489 * string/test-strpbrk-ifunc.c: Likewise.
8490 * string/test-strrchr-ifunc.c: Likewise.
8491 * string/test-strspn-ifunc.c: Likewise.
8492 * string/test-strstr-ifunc.c: Likewise.
8493
ab260039 84942013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8495
8496 * benchtests/Makefile: Remove ifunc tests.
8497 * benchtests/bench-string.h: Define TEST_IFUNC.
8498 * benchtests/bench-bcopy-ifunc.c: Remove.
8499 * benchtests/bench-bzero-ifunc.c: Likewise.
8500 * benchtests/bench-memccpy-ifunc.c: Likewise.
8501 * benchtests/bench-memchr-ifunc.c: Likewise.
8502 * benchtests/bench-memcmp-ifunc.c: Likewise.
8503 * benchtests/bench-memcpy-ifunc.c: Likewise.
8504 * benchtests/bench-memmem-ifunc.c: Likewise.
8505 * benchtests/bench-memmove-ifunc.c: Likewise.
8506 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8507 * benchtests/bench-memrchr-ifunc.c: Likewise.
8508 * benchtests/bench-memset-ifunc.c: Likewise.
8509 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8510 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8511 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8512 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8513 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8514 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8515 * benchtests/bench-strcat-ifunc.c: Likewise.
8516 * benchtests/bench-strchr-ifunc.c: Likewise.
8517 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8518 * benchtests/bench-strcmp-ifunc.c: Likewise.
8519 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8520 * benchtests/bench-strcpy-ifunc.c: Likewise.
8521 * benchtests/bench-strcspn-ifunc.c: Likewise.
8522 * benchtests/bench-strlen-ifunc.c: Likewise.
8523 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8524 * benchtests/bench-strncat-ifunc.c: Likewise.
8525 * benchtests/bench-strncmp-ifunc.c: Likewise.
8526 * benchtests/bench-strncpy-ifunc.c: Likewise.
8527 * benchtests/bench-strnlen-ifunc.c: Likewise.
8528 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8529 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8530 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8531 * benchtests/bench-strspn-ifunc.c: Likewise.
8532 * benchtests/bench-strstr-ifunc.c: Likewise.
8533
85342013-11-26 Ondřej Bílka <neleai@seznam.cz>
8535
ab260039
OB
8536 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8537
d1d9eaf4 85382013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8539
d1d9eaf4
OB
8540 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8541 * rt/aio.h: Likewise.
8542 * sysdeps/gnu/bits/utmp.h: Likewise.
8543 * sysdeps/gnu/bits/utmpx.h: Likewise.
8544 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8545 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8546 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8547 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8548 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8549 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8550 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8551 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8552 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8553 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8554 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8555 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8556 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8558 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8559 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8560 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8561 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8562 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8563 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8564 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8565 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8566 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8567 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8568 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8570 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8571 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8572 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8573 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8574 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8575 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8576 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8577 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8578 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8579 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8580 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8581 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8582 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8583 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8584 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8585 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8586
a7624ed9
CD
85872013-11-25 Carlos O'Donell <carlos@redhat.com>
8588
8589 [BZ #16245]
8590 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8591 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8592
63cfe52b
JM
85932013-11-25 Joseph Myers <joseph@codesourcery.com>
8594
8595 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8596 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8597 Likewise.
8598
41e8926a
AZ
85992013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8600
8601 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8602 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8603 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8604 (__fesetround): Remove define.
8605 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8606 rounding and exceptions handling.
8607 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8608 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8609 (__fe_nomask_env): Likewise.
8610 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8611 __fegetround instead of fegetround.
8612 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8613 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8614
6851bd4d
RM
86152013-11-21 Roland McGrath <roland@hack.frob.com>
8616
070906ff
RM
8617 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8618 it's there.
8619
6851bd4d
RM
8620 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8621
84ae135d
MI
86222013-11-21 Meador Inge <meadori@codesourcery.com>
8623
8624 [BZ #11157]
8625 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8626 (encrypt_r): Likewise.
8627 * malloc/obstack.h (obstack_free): Likewise.
8628 * posix/unistd.h (encrypt): Likewise.
8629
daf75146
GM
86302013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8631
8632 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8633 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8634 DL_CALL_DT_FINI() that call the functions directly.
8635 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8636 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8637 * elf/dl-fini.c: Likewise.
8638
10ad46bc
OB
86392013-11-20 Ondřej Bílka <neleai@seznam.cz>
8640
8641 * malloc/hooks.c (memalign_check): Add alignment rounding.
8642 * malloc/malloc.c (_mid_memalign): New function.
8643 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8644 Implement by calling _mid_memalign.
8645 * manual/probes.texi (Memory Allocation Probes): Remove
8646 memory_valloc_retry and memory_pvalloc_retry.
8647
f3fd2628
SP
86482013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8649
4712799f
SP
8650 * locale/programs/locarchive.c (open_archive): Add const
8651 qualifier to ARCHIVEFNAME and copy default fname to
8652 DEFAULT_FNAME.
8653
0417b20f
SP
8654 [BZ #15601]
8655 * libio/tst-widetext.input: Rename Oriya to Odia.
8656 * locale/iso-639.def: Likewise.
8657
f3fd2628
SP
8658 * manual/probes.texi (Mathematical Function Probes): Add
8659 documentation for sin, cos, asin and acos probes.
8660 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8661 (__sin32): Add slowasin probe.
8662 (__cos32): Add slowacos probe.
8663 (__mpsin): Add slowsin probe.
8664 (__mpcos): Add slowcos probe.
8665
73c1ce4f
JM
86662013-11-19 Joseph Myers <joseph@codesourcery.com>
8667
8668 [BZ #15483]
8669 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8670 thread-local __sim_exceptions_thread and global
8671 __sim_exceptions_global.
8672 (__sim_disabled_exceptions): Change to thread-local
8673 __sim_disabled_exceptions_thread and global
8674 __sim_disabled_exceptions_global.
8675 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8676 and global __sim_round_mode_global.
8677 (__simulate_exceptions): Use thread-local floating-point state and
8678 set global state from it as needed.
8679 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8680 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8681 __sim_round_mode_thread.
8682 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8683 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8684 and global __sim_exceptions_global.
8685 (__sim_disabled_exceptions): Change to thread-local
8686 __sim_disabled_exceptions_thread and global
8687 __sim_disabled_exceptions_global.
8688 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8689 and global __sim_round_mode_global.
8690 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8691 (SIM_SET_GLOBAL): Likewise.
8692 * sysdeps/powerpc/soft-fp/sfp-machine.h
8693 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8694 __sim_round_mode_thread.
8695 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8696 __sim_disabled_exceptions_thread.
8697 (__sim_exceptions): Change to __sim_exceptions_thread.
8698 (__sim_disabled_exceptions): Change to
8699 __sim_disabled_exceptions_thread.
8700 (__sim_round_mode): Change to __sim_round_mode_thread.
8701 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8702 thread-local floating-point state and set global state from it as
8703 needed.
8704 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8705 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8706 (__sim_disabled_exceptions): Remove extern declaration.
8707 (feenableexcept): Use thread-local floating-point state and set
8708 global state from it as needed.
8709 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8710 extern declaration.
8711 (__sim_disabled_exceptions): Likewise.
8712 (__sim_round_mode): Likewise.
8713 (__fegetenv): Use thread-local floating-point state.
8714 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8715 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8716 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8717 floating-point state and set global state from it as needed.
8718 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8719 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8720 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8721 Likewise.
8722 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8723 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8724 Likewise.
8725 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8726 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8727 Use __sim_round_mode_thread.
8728 * math/test-fenv-tls.c: New file.
8729 * math/Makefile (tests): Add test-fenv-tls.
8730 ($(objpfx)test-fenv-tls): Depend on
8731 $(common-objpfx)nptl/libpthread.so.
8732
b5449b12
AS
87332013-11-19 Andreas Schwab <schwab@suse.de>
8734
8735 * locale/programs/locale.c (show_info): Decode wordarray elements.
8736 * locale/categories.def (LC_MONETARY): Add element for
8737 _NL_MONETARY_CRNCYSTR.
8738 * locale/C-monetary.c (conversion_rate): New variable.
8739 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8740 element.
8741
e186536b
CM
87422013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8743
8744 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8745 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8746
5c349950
PP
87472013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8748
8749 * elf/Makefile (tst-auxv): New test.
8750 * elf/tst-auxv.c: New
8751 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8752
699df45b
JM
87532013-11-18 Joseph Myers <joseph@codesourcery.com>
8754
8755 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8756 (hidden_proto): Caller changed.
8757 (hidden_tls_proto): New macro.
8758 (libc_hidden_tls_proto): Likewise.
8759 (rtld_hidden_tls_proto): Likewise.
8760 (libm_hidden_tls_proto): Likewise.
8761 (libresolv_hidden_tls_proto): Likewise.
8762 (librt_hidden_tls_proto): Likewise.
8763 (libdl_hidden_tls_proto): Likewise.
8764 (libnss_files_hidden_tls_proto): Likewise.
8765 (libnsl_hidden_tls_proto): Likewise.
8766 (libnss_nisplus_hidden_tls_proto): Likewise.
8767 (libutil_hidden_tls_proto): Likewise.
8768
b7589107
OB
87692013-11-18 Ondřej Bílka <neleai@seznam.cz>
8770
8771 [BZ #10253]
8772 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8773 (decompose_rpath): Defer expansion to fillin_rpath.
8774 (_dl_init_paths): Pass linkmap to fillin_rpath.
8775
250c23bd
RS
87762013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8777
8778 * benchtests/Makefile: Add strsep.
8779 * benchtests/bench-strsep.c: New file: strsep benchtest.
8780 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8781
a7931fcf
AS
87822013-11-18 Andreas Schwab <schwab@suse.de>
8783
8784 * locale/programs/locale.c (show_info) [case byte]: Check for
8785 '\377' instead of '\177'.
8786 * locale/C-monetary.c (not_available): Always use "\377".
8787 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8788 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8789 detect unavailable sign_posn locale elements.
8790 * locale/localeconv.c (__localeconv): For grouping and
8791 mon_grouping handle "\177" and "\377" like no grouping.
8792 (INT_ELEM): New macro. Use it to set all numeric members.
8793 * locale/programs/ld-monetary.c (monetary_read)
8794 <tok_mon_grouping>: Normalize single -1 to the empty string.
8795 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8796 Likewise.
8797
728dab0e
OB
87982013-11-07 Ondřej Bílka <neleai@seznam.cz>
8799
8800 [BZ #16055]
8801 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8802 when we match (nil).
8803 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8804
66294491
JM
88052013-11-16 Joseph Myers <joseph@codesourcery.com>
8806
ce665817
JM
8807 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8808 (NO_TEST_INLINE): Update value.
8809 (ERRNO_UNCHANGED): Likewise.
8810 (ERRNO_EDOM): Likewise.
8811 (ERRNO_ERANGE): Likewise.
8812 (IGNORE_RESULT): Likewise.
8813 (check_float_internal): Check signs of NaN results if
8814 TEST_NAN_SIGN used.
8815 (check_complex): Pass TEST_NAN_SIGN flag through to second
8816 check_float_internal call.
8817 (copysign_test_data): Add tests with quiet NaNs as second
8818 argument. Use TEST_NAN_SIGN.
8819 (fabs_test_data): Add test of negative quiet NaN argument. Use
8820 TEST_NAN_SIGN.
8821 (signbit_test_data): Add tests of quiet NaN argument.
8822 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8823
ee1466a9
JM
8824 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8825 $ignore_result.
8826 (parse_args): Handle function results specified as IGNORE.
8827 * math/libm-test.inc (IGNORE_RESULT): New macro.
8828 (check_float_internal): Do not check numerical result if flag
8829 IGNORE_RESULT set.
8830 (check_complex): Pass through IGNORE_RESULT to second
8831 check_float_internal call.
8832 (check_int): Do not check numerical result if flag IGNORE_RESULT
8833 set.
8834 (check_long): Likewise.
8835 (check_bool): Likewise.
8836 (check_longlong): Likewise.
8837 (lrint_test_data): Add tests of infinite and NaN arguments.
8838 (lrint_tonearest_test_data): Likewise.
8839 (lrint_towardzero_test_data): Likewise.
8840 (lrint_downward_test_data): Likewise.
8841 (lrint_upward_test_data): Likewise.
8842 (llrint_test_data): Likewise.
8843 (llrint_tonearest_test_data): Likewise.
8844 (llrint_towardzero_test_data): Likewise.
8845 (llrint_downward_test_data): Likewise.
8846 (llrint_upward_test_data): Likewise.
8847 (lround_test_data): Likewise.
8848 (llround_test_data): Likewise.
8849
14407b7e
JM
8850 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8851 (ERRNO_UNCHANGED): Update value.
8852 (ERRNO_EDOM): Likewise.
8853 (ERRNO_ERANGE): Likewise.
8854 (NO_TEST_INLINE_FLOAT): New macro.
8855 (NO_TEST_INLINE_DOUBLE): Likewise.
8856 (enable_test): New function.
8857 (RUN_TEST_f_f): Check enable_test before running test.
8858 (RUN_TEST_2_f): Likewise.
8859 (RUN_TEST_fff_f): Likewise.
8860 (RUN_TEST_c_f): Likewise.
8861 (RUN_TEST_f_f1): Likewise.
8862 (RUN_TEST_fF_f1): Likewise.
8863 (RUN_TEST_fI_f1): Likewise.
8864 (RUN_TEST_ffI_f1): Likewise.
8865 (RUN_TEST_c_c): Likewise.
8866 (RUN_TEST_cc_c): Likewise.
8867 (RUN_TEST_f_i): Likewise.
8868 (RUN_TEST_f_i_tg): Likewise.
8869 (RUN_TEST_ff_i_tg): Likewise.
8870 (RUN_TEST_f_b): Likewise.
8871 (RUN_TEST_f_b_tg): Likewise.
8872 (RUN_TEST_f_l): Likewise.
8873 (RUN_TEST_f_L): Likewise.
8874 (RUN_TEST_fFF_11): Likewise.
8875 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8876 conditionals.
8877 (cosh_test_data): Likewise.
8878 (exp_test_data): Likewise.
8879 (expm1_test_data): Likewise.
8880 (hypot_test_data): Likewise.
8881 (pow_test_data): Likewise.
8882 (sinh_test_data): Likewise.
8883 (tanh_test_data): Likewise.
8884 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8885 flags argument.
8886
ca07f197
JM
8887 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8888 tests with quiet NaN input and output.
8889 (acosh_test_data): Likewise.
8890 (asin_test_data): Likewise.
8891 (asinh_test_data): Likewise.
8892 (atan_test_data): Likewise.
8893 (atanh_test_data): Likewise.
8894 (atan2_test_data): Likewise.
8895 (cbrt_test_data): Likewise.
8896 (cos_test_data): Likewise.
8897 (cosh_test_data): Likewise.
8898 (erf_test_data): Likewise.
8899 (erfc_test_data): Likewise.
8900 (exp_test_data): Likewise.
8901 (exp10_test_data): Likewise.
8902 (exp2_test_data): Likewise.
8903 (expm1_test_data): Likewise.
8904 (hypot_test_data): Likewise.
8905 (j0_test_data): Likewise.
8906 (j1_test_data): Likewise.
8907 (jn_test_data): Likewise.
8908 (lgamma_test_data): Likewise.
8909 (log_test_data): Likewise.
8910 (log10_test_data): Likewise.
8911 (log1p_test_data): Likewise.
8912 (log2_test_data): Likewise.
8913 (pow_test_data): Likewise.
8914 (scalb_test_data): Likewise.
8915 (sin_test_data): Likewise.
8916 (sincos_test_data): Likewise.
8917 (sinh_test_data): Likewise.
8918 (tan_test_data): Likewise.
8919 (tanh_test_data): Likewise.
8920 (tgamma_test_data): Likewise.
8921 (y0_test_data): Likewise.
8922 (y1_test_data): Likewise.
8923 (yn_test_data): Likewise.
8924
66294491
JM
8925 [BZ #16167]
8926 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8927 argument being NaN and avoid computations with second argument in
8928 that case.
8929 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8930 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8931 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8932
1820b143
CL
89332013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8934
8935 * locale/iso-639.def: Add Chitwani Tharu (the).
8936
714bd261
AS
89372013-11-14 Andreas Schwab <schwab@suse.de>
8938
8939 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8940 word instead of empty string.
8941
7ab44563
AZ
89422013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8943
8944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8945 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8947 (__fe_nomask_env): Likewise.
8948
e8470ea2
SE
89492013-11-13 Steve Ellcey <sellcey@mips.com>
8950
8951 * benchtests/bench-timing.h: Include time.h.
8952
17c1d9f0
L
89532013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8954
8955 [BZ #15997]
8956 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8957 to 3.4.0 for x32.
8958 * sysdeps/unix/sysv/linux/configure: Regenerated.
8959
9310c284
JM
89602013-11-13 Joseph Myers <joseph@codesourcery.com>
8961
8962 [BZ #16151]
8963 * stdlib/strtod_l.c (round_and_return): Do not consider
8964 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8965 exponent one less than half the least subnormal exponent.
8966 * stdlib/test-strtod-round-data: Add more tests.
8967 * stdlib/tst-strtod-round.c (tests): Regenerated.
8968
7a2ad8cf
AZ
89692013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8970
8971 [BZ #14143]
8972 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8973 (__fe_mask_env): Likewise.
8974 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8975 libm_hidden_proto and add function prototype.
8976 (__fe_mask_env): Add function prototype.
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8978 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8980 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8982 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8983
50727aa7
MS
89842013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8985
b2f386c1 8986 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8987 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8988
a615be46
MS
89892013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8990
8991 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8992 of htab_find_slot().
8993
7ddace62
DM
89942013-11-11 David S. Miller <davem@davemloft.net>
8995
8996 [BZ #16150]
8997 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8998 symbol in the non-vis3 case in static builds.
8999 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9000 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9001 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9002 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9003
9182aa67
JK
90042013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9005
9006 [BZ #387]
9007 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9008 it is empty.
9009
450a2e2d
AZ
90102013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9011
b2f386c1
SP
9012 * benchtests/Makefile: Add bench-strtod.
9013 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9014
8ec3f656
AS
90152013-11-11 Andreas Schwab <schwab@suse.de>
9016
9017 [BZ #16153]
9018 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9019 terminating NUL in key length.
9020
76a9b998
AZ
90212013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9022
9023 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9024 Add artificial ODP entry for vDSO symbol for PPC64.
9025 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9026 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9027
e4368156
OB
90282013-11-07 Ondřej Bílka <neleai@seznam.cz>
9029
9030 [BZ #15374]
9031 * nss/getent.c (services_keys): Recognize services starting with digit.
9032
8d6bb57c
DM
90332013-11-06 David S. Miller <davem@davemloft.net>
9034
9035 [BZ #15985]
9036 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9037 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9038
e256c421
WN
90392013-11-06 Will Newton <will.newton@linaro.org>
9040
9041 * manual/memory.texi (Malloc Examples): Remove register
9042 keyword from examples.
9043
f6e12daa 90442013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9045
f6e12daa 9046 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9047
9d880655
AS
90482013-11-04 Joseph Myers <joseph@codesourcery.com>
9049
fd2f9486 9050 [BZ #6981]
9d880655
AS
9051 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9052 depending on [__GCC_IEC_559 > 0].
9053 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9054 depending on [__GCC_IEC_559_COMPLEX > 0].
9055
ae129d3c
CL
90562013-11-03 Chris Leonard <cjl@sugarlabs.org>
9057
9058 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9059 to iso-639.def.
9060
4a15c2a4 90612013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9062
9063 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9064
8b35e35d
OB
90652013-11-01 Ondřej Bílka <neleai@seznam.cz>
9066
9067 [BZ #16112]
9068 * malloc/malloc (malloc_info): Do not handle first bin as
9069 special case.
9070
1d70fd6c
CL
90712013-11-01 Chris Leonard <cjl@sugarlabs.org>
9072
9073 * locale/iso-639.def: Add Central Nahuatl (nhn).
9074
8c5c2600
BH
90752013-11-01 Bruno Haible <bruno@clisp.org>
9076
9077 [BZ #7003]
9078 * manual/math.texi (BSD Random): Specify range upper bound as
9079 in POSIX.
9080
da5579c2
CL
90812013-10-31 Chris Leonard <cjl@sugarlabs.org>
9082
9083 * locale/iso-639.def: Add Meadow Mari (mhr).
9084
5d30d853
OB
90852013-10-31 Ondřej Bílka <neleai@seznam.cz>
9086
9087 [BZ #14752], [BZ #15763]
9088 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9089 Validate name.
9090 * rt/tst_shm.c: Add test for escaping directory.
9091
a4966c61
AS
90922013-10-31 Andreas Schwab <schwab@suse.de>
9093
8a43e768 9094 [BZ #15917]
a4966c61
AS
9095 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9096 followed by 'x' as part of digit sequence.
9097 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9098
28d708c4
MAP
90992013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9100
9101 [BZ #16037]
9102 * configure.ac: allow GNU Make 4.0 and greater.
9103 * configure: Regenerated.
9104
a56ee40b
WN
91052013-10-30 Will Newton <will.newton@linaro.org>
9106
9107 [BZ #16038]
9108 * malloc/hooks.c (memalign_check): Limit alignment to the
9109 maximum representable power of two.
9110 * malloc/malloc.c (__libc_memalign): Likewise.
9111 * malloc/tst-memalign.c (do_test): Add test for very
9112 large alignment values.
9113 * malloc/tst-posix_memalign.c (do_test): Likewise.
9114
c6e4925d
OB
91152013-10-30 Ondřej Bílka <neleai@seznam.cz>
9116
9117 [BZ #11087]
9118 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9119 (munmap_chunk): Likewise.
9120 (mremap_chunk): Likewise.
9121
91222013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 9123
8a43e768 9124 [BZ #15799]
bbea82f7
OB
9125 * stdlib/div.c (div): Remove obsolete code.
9126 * stdlib/ldiv.c (ldiv): Likewise.
9127 * stdlib/lldiv.c (lldiv): Likewise.
9128
977f4b31
SP
91292013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9130
9131 [BZ #16071]
9132 * nss/nss_files/files-XXX.c (get_contents_ret): New
9133 enumerator.
9134 (get_contents): New function.
9135 (internal_getent): Use it. Expand size of LINEBUFLEN.
9136
cb8a6dbd
MF
91372013-10-30 Mike Frysinger <vapier@gentoo.org>
9138
9139 * configure.in: Moved to ...
9140 * configure.ac: ... here. Change reference to configure.in
9141 to configure.ac.
9142 * sysdeps/arm/preconfigure.ac: ... here.
9143 configure.in to configure.ac.
9144 * sysdeps/gnu/configure.in: Moved to ...
9145 * sysdeps/gnu/configure.ac: ... here.
9146 * sysdeps/i386/configure.in: Moved to ...
9147 * sysdeps/i386/configure.ac: ... here.
9148 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9149 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9150 * sysdeps/mach/configure.in: Moved to ...
9151 * sysdeps/mach/configure.ac: ... here.
9152 * sysdeps/mach/hurd/configure.in: Moved to ...
9153 * sysdeps/mach/hurd/configure.ac: ... here.
9154 * sysdeps/powerpc/configure.in: Moved to ...
9155 * sysdeps/powerpc/configure.ac: ... here.
9156 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9157 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9158 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9159 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9160 * sysdeps/s390/s390-32/configure.in: Moved to ...
9161 * sysdeps/s390/s390-32/configure.ac: ... here.
9162 * sysdeps/s390/s390-64/configure.in: Moved to ...
9163 * sysdeps/s390/s390-64/configure.ac: ... here.
9164 * sysdeps/sh/configure.in: Moved to ...
9165 * sysdeps/sh/configure.ac: ... here.
9166 * sysdeps/sparc/configure.in: Moved to ...
9167 * sysdeps/sparc/configure.ac: ... here.
9168 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9169 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9170 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9171 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9172 * sysdeps/x86_64/configure.in: Moved to ...
9173 * sysdeps/x86_64/configure.ac: ... here.
9174 * sysdeps/x86_64/preconfigure.in: Moved to ...
9175 * sysdeps/x86_64/preconfigure.ac: ... here.
9176 * aclocal.m4: Change reference to configure.in to configure.ac.
9177 * config.h.in: Likewise.
9178 * manual/install.texi: Likewise.
9179 * manual/maint.texi: Likewise.
9180 * Makefile: Likewise.
9181 * malloc/Makefile: Likewise.
9182 * nscd/Makefile: Likewise.
9183 * Makeconfig: Change reference to configure.in and
9184 preconfigure.in to configure.ac and preconfigure.ac
9185 respectively.
9186 * INSTALL: Regenerated.
9187 * configure: Likewise.
9188 * sysdeps/gnu/configure: Likewise.
9189 * sysdeps/i386/configure: Likewise.
9190 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9191 * sysdeps/mach/configure: Likewise.
9192 * sysdeps/mach/hurd/configure: Likewise.
9193 * sysdeps/powerpc/configure: Likewise.
9194 * sysdeps/powerpc/powerpc32/configure: Likewise.
9195 * sysdeps/powerpc/powerpc64/configure: Likewise.
9196 * sysdeps/s390/s390-32/configure: Likewise.
9197 * sysdeps/s390/s390-64/configure: Likewise.
9198 * sysdeps/sh/configure: Likewise.
9199 * sysdeps/sparc/configure: Likewise.
9200 * sysdeps/unix/sysv/linux/configure: Likewise.
9201 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9202 * sysdeps/x86_64/configure: Likewise.
9203 * sysdeps/x86_64/preconfigure: Likewise.
9204
36a4953a
AS
92052013-10-29 Andreas Schwab <schwab@suse.de>
9206
9207 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9208
c79a1204
SP
92092013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9210
dfa1b402
SP
9211 * benchtests/pow-inputs: Add new inputs.
9212
54f73d9c
SP
9213 * benchtests/exp-inputs: Add new inputs.
9214
c79a1204
SP
9215 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9216 conditional check for return value.
9217 (__cos32): Likewise.
9218
67beb545 92192013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
9220
9221 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9222 to provide a boost for large inputs with word alignment.
9223 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9224 implementation based on optimized PPC64 strcpy.
9225 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9226 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9227 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9228 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9229
151659f6
OB
92302013-10-25 Ondřej Bílka <neleai@seznam.cz>
9231
482a077e 9232 [BZ #2801]
151659f6
OB
9233 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9234
10b0f26b
OB
92352013-10-25 Ondřej Bílka <neleai@seznam.cz>
9236
9237 [BZ #14876]
9238 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9239 * time/tst-strptime.c (day_tests): Add testcase.
9240
ca42d35e
OB
92412013-10-25 Ondřej Bílka <neleai@seznam.cz>
9242
482a077e 9243 [BZ #14029]
ca42d35e
OB
9244 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9245
52e6d801
FB
92462013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9247
9248 [BZ #16074]
9249 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9250 MAP_FAILED on error.
9251
7cbcdb36
SP
92522013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9253
9254 [BZ #16072]
9255 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9256 heap for large requests.
9257
894f3f10
AM
92582013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9259
9260 [BZ #9954]
9261 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9262 result if the result has no associated interface.
9263 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9264 interface for all 127.X.Y.Z addresses.
9265
b85545a6
CL
92662013-10-24 Chris Leonard <cjl@sugarlabs.org>
9267
9268 * locale/iso-639.def: Add Ligurian (lij)
9269
d1f23d46
OB
92702013-10-21 Ondřej Bílka <neleai@seznam.cz>
9271
9272 [BZ #15825]
9273 * sunrpc/rpc_main.c: Document rpcgen -5.
9274
4db5b08f
MS
92752013-10-19 Michael Stahl <mstahl@redhat.com>
9276
9277 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9278
a471e96a
OB
92792013-10-19 Ondřej Bílka <neleai@seznam.cz>
9280
d1f23d46 9281 [BZ #10278]
a471e96a
OB
9282 * posix/glob.c: Match only directories when trailing slash is present.
9283 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9284 (main): Add testcase.
9285
45c30c61
OB
92862013-10-19 Ondřej Bílka <neleai@seznam.cz>
9287
9288 [BZ #15670]
9289 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9290
484c12fb
CD
92912013-10-18 Carlos O'Donell <carlos@redhat.com>
9292
3d7dc513
CD
9293 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9294 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9295 AUTH_DES and cindex for FIPS 140-2.
9296 (DES Encryption): Add cindex FIPS 46-3.
9297
484c12fb
CD
9298 * locale/locarchive.h (struct locarhandle): Add fname.
9299 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9300 if an optional argument was specified to --list-archive,
9301 otherwise NULL.
9302 * locale/programs/locarchive.c (show_archive_content): Take new
9303 argument fname and pass it via ah.fname to open_archive.
9304 * locale/programs/localedef.h: Update decl.
9305 (open_archive): If AH->fname is non-null, open that file
9306 rather than the default file name, and don't ignore ENOENT.
9307 (create_archive): Set AH.fname to NULL.
9308 (delete_locales_from_archive): Likewise.
9309 (add_locales_to_archive): Likewise.
9310 * locale/programs/locfile.c (write_all_categories): Likewise.
9311
3c8325fb
JM
93122013-10-18 Joseph Myers <joseph@codesourcery.com>
9313 Aldy Hernandez <aldyh@redhat.com>
9314
9315 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9316 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9317 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9318 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9319 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9320 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9321 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9322 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9323 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9324 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9325 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9326 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9327 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9328 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9329 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9330 Likewise.
9331 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9332 Likewise.
9333 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9334 Likewise.
9335 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9336 Likewise.
9337 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9338 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9339 Likewise.
9340 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9341 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9342 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9343 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9344 Likewise.
9345 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9346 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9347 * sysdeps/powerpc/preconfigure: Likewise.
9348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9349 Likewise.
9350 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9351 Replace contents of file by #include of <fenv_libc.h>.
9352 * sysdeps/powerpc/soft-fp/sfp-machine.h
9353 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9354 and <sys/prctl.h>.
9355 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9356 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9357 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9358 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9359 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9360 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9362 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9363 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9364 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9365 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9366 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9368 Allow copysignl PLT reference to be missing.
9369
5abe0682
RS
93702013-10-18 Richard Sandiford <richard@codesourcery.com>
9371 Joseph Myers <joseph@codesourcery.com
9372
9373 [BZ #15948]
9374 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9375 single character.
9376 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9377
c7738d08
SP
93782013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9379
9380 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9381 * elf/tst-tls1.c: Likewise.
9382 * elf/tst-tls10.h: Likewise.
9383 * elf/tst-tls14.c: Likewise.
9384 * elf/tst-tls2.c: Likewise.
9385 * elf/tst-tls3.c: Likewise.
9386 * elf/tst-tls4.c: Likewise.
9387 * elf/tst-tls5.c: Likewise.
9388 * elf/tst-tls6.c: Likewise.
9389 * elf/tst-tls7.c: Likewise.
9390 * elf/tst-tls8.c: Likewise.
9391 * elf/tst-tls9.c: Likewise.
9392 * elf/tst-tlsmod1.c: Likewise.
9393 * elf/tst-tlsmod13.c: Likewise.
9394 * elf/tst-tlsmod13a.c: Likewise.
9395 * elf/tst-tlsmod14a.c: Likewise.
9396 * elf/tst-tlsmod16a.c: Likewise.
9397 * elf/tst-tlsmod16b.c: Likewise.
9398 * elf/tst-tlsmod2.c: Likewise.
9399 * elf/tst-tlsmod3.c: Likewise.
9400 * elf/tst-tlsmod4.c: Likewise.
9401 * elf/tst-tlsmod5.c: Likewise.
9402 * elf/tst-tlsmod6.c: Likewise.
9403
0bfcf2c7
OB
94042013-10-18 Ondřej Bílka <neleai@seznam.cz>
9405
9406 [BZ #12486]
9407 * malloc/malloc.c: remove checks for statistics.
9408
264aad1e
OB
94092013-10-17 Ondřej Bílka <neleai@seznam.cz>
9410
9411 [BZ #15277]
9412 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9413 * inet/tst-network.c: Add testcase.
9414
b957ced8
AS
94152013-10-17 Andreas Schwab <schwab@suse.de>
9416
9417 [BZ #15218]
9418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9419 to determine canonical name.
9420
c5d5d574
OB
94212013-10-17 Ondřej Bílka <neleai@seznam.cz>
9422
9423 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9424 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9426 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9436 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9437 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9438 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9440 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9441 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9442 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9443 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9446 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9447 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9448 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9449 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9450 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9451 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9453 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9454 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9457 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9481
e5c2c2d0
JM
94822013-10-17 Joseph Myers <joseph@codesourcery.com>
9483
9484 [BZ #16041]
9485 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9486 make result into a quiet NaN.
9487
51ca9e29
JM
94882013-10-16 Joseph Myers <joseph@codesourcery.com>
9489
9490 * soft-fp/adddf3.c: Fix horizontal whitespace.
9491 * soft-fp/addsf3.c: Likewise.
9492 * soft-fp/addtf3.c: Likewise.
9493 * soft-fp/divdf3.c: Likewise.
9494 * soft-fp/divsf3.c: Likewise.
9495 * soft-fp/divtf3.c: Likewise.
9496 * soft-fp/double.h: Likewise.
9497 * soft-fp/eqdf2.c: Likewise.
9498 * soft-fp/eqsf2.c: Likewise.
9499 * soft-fp/eqtf2.c: Likewise.
9500 * soft-fp/extenddftf2.c: Likewise.
9501 * soft-fp/extended.h: Likewise.
9502 * soft-fp/extendsfdf2.c: Likewise.
9503 * soft-fp/extendsftf2.c: Likewise.
9504 * soft-fp/extendxftf2.c: Likewise.
9505 * soft-fp/fixdfdi.c: Likewise.
9506 * soft-fp/fixdfsi.c: Likewise.
9507 * soft-fp/fixdfti.c: Likewise.
9508 * soft-fp/fixsfdi.c: Likewise.
9509 * soft-fp/fixsfsi.c: Likewise.
9510 * soft-fp/fixsfti.c: Likewise.
9511 * soft-fp/fixtfdi.c: Likewise.
9512 * soft-fp/fixtfsi.c: Likewise.
9513 * soft-fp/fixtfti.c: Likewise.
9514 * soft-fp/fixunsdfdi.c: Likewise.
9515 * soft-fp/fixunsdfsi.c: Likewise.
9516 * soft-fp/fixunsdfti.c: Likewise.
9517 * soft-fp/fixunssfdi.c: Likewise.
9518 * soft-fp/fixunssfsi.c: Likewise.
9519 * soft-fp/fixunssfti.c: Likewise.
9520 * soft-fp/fixunstfdi.c: Likewise.
9521 * soft-fp/fixunstfsi.c: Likewise.
9522 * soft-fp/fixunstfti.c: Likewise.
9523 * soft-fp/floatdidf.c: Likewise.
9524 * soft-fp/floatdisf.c: Likewise.
9525 * soft-fp/floatditf.c: Likewise.
9526 * soft-fp/floatsidf.c: Likewise.
9527 * soft-fp/floatsisf.c: Likewise.
9528 * soft-fp/floatsitf.c: Likewise.
9529 * soft-fp/floattidf.c: Likewise.
9530 * soft-fp/floattisf.c: Likewise.
9531 * soft-fp/floattitf.c: Likewise.
9532 * soft-fp/floatundidf.c: Likewise.
9533 * soft-fp/floatundisf.c: Likewise.
9534 * soft-fp/floatunditf.c: Likewise.
9535 * soft-fp/floatunsidf.c: Likewise.
9536 * soft-fp/floatunsisf.c: Likewise.
9537 * soft-fp/floatunsitf.c: Likewise.
9538 * soft-fp/floatuntidf.c: Likewise.
9539 * soft-fp/floatuntisf.c: Likewise.
9540 * soft-fp/floatuntitf.c: Likewise.
9541 * soft-fp/fmadf4.c: Likewise.
9542 * soft-fp/fmasf4.c: Likewise.
9543 * soft-fp/fmatf4.c: Likewise.
9544 * soft-fp/gedf2.c: Likewise.
9545 * soft-fp/gesf2.c: Likewise.
9546 * soft-fp/getf2.c: Likewise.
9547 * soft-fp/ledf2.c: Likewise.
9548 * soft-fp/lesf2.c: Likewise.
9549 * soft-fp/letf2.c: Likewise.
9550 * soft-fp/muldf3.c: Likewise.
9551 * soft-fp/mulsf3.c: Likewise.
9552 * soft-fp/multf3.c: Likewise.
9553 * soft-fp/negdf2.c: Likewise.
9554 * soft-fp/negsf2.c: Likewise.
9555 * soft-fp/negtf2.c: Likewise.
9556 * soft-fp/op-1.h: Likewise.
9557 * soft-fp/op-2.h: Likewise.
9558 * soft-fp/op-4.h: Likewise.
9559 * soft-fp/op-8.h: Likewise.
9560 * soft-fp/op-common.h: Likewise.
9561 * soft-fp/quad.h: Likewise.
9562 * soft-fp/single.h: Likewise.
9563 * soft-fp/soft-fp.h: Likewise.
9564 * soft-fp/sqrtdf2.c: Likewise.
9565 * soft-fp/sqrtsf2.c: Likewise.
9566 * soft-fp/sqrttf2.c: Likewise.
9567 * soft-fp/subdf3.c: Likewise.
9568 * soft-fp/subsf3.c: Likewise.
9569 * soft-fp/subtf3.c: Likewise.
9570 * soft-fp/truncdfsf2.c: Likewise.
9571 * soft-fp/trunctfdf2.c: Likewise.
9572 * soft-fp/trunctfsf2.c: Likewise.
9573 * soft-fp/trunctfxf2.c: Likewise.
9574 * soft-fp/unorddf2.c: Likewise.
9575 * soft-fp/unordsf2.c: Likewise.
9576 * soft-fp/unordtf2.c: Likewise.
9577
9ebb0332
JM
95782013-10-15 Joseph Myers <joseph@codesourcery.com>
9579
9580 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9581 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9582
4b1a6d8b
OB
95832013-10-15 Ondřej Bílka <neleai@seznam.cz>
9584
9585 * elf/dl-libc.c: Clear initfini list after freeing.
9586
1e145589
JM
95872013-10-14 Joseph Myers <joseph@codesourcery.com>
9588
9589 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9590 * soft-fp/addsf3.c: Likewise.
9591 * soft-fp/addtf3.c: Likewise.
9592 * soft-fp/divdf3.c: Likewise.
9593 * soft-fp/divsf3.c: Likewise.
9594 * soft-fp/divtf3.c: Likewise.
9595 * soft-fp/double.h: Likewise.
9596 * soft-fp/eqdf2.c: Likewise.
9597 * soft-fp/eqsf2.c: Likewise.
9598 * soft-fp/eqtf2.c: Likewise.
9599 * soft-fp/extenddftf2.c: Likewise.
9600 * soft-fp/extended.h: Likewise.
9601 * soft-fp/extendsfdf2.c: Likewise.
9602 * soft-fp/extendsftf2.c: Likewise.
9603 * soft-fp/extendxftf2.c: Likewise.
9604 * soft-fp/fixdfdi.c: Likewise.
9605 * soft-fp/fixdfsi.c: Likewise.
9606 * soft-fp/fixdfti.c: Likewise.
9607 * soft-fp/fixsfdi.c: Likewise.
9608 * soft-fp/fixsfsi.c: Likewise.
9609 * soft-fp/fixsfti.c: Likewise.
9610 * soft-fp/fixtfdi.c: Likewise.
9611 * soft-fp/fixtfsi.c: Likewise.
9612 * soft-fp/fixtfti.c: Likewise.
9613 * soft-fp/fixunsdfdi.c: Likewise.
9614 * soft-fp/fixunsdfsi.c: Likewise.
9615 * soft-fp/fixunsdfti.c: Likewise.
9616 * soft-fp/fixunssfdi.c: Likewise.
9617 * soft-fp/fixunssfsi.c: Likewise.
9618 * soft-fp/fixunssfti.c: Likewise.
9619 * soft-fp/fixunstfdi.c: Likewise.
9620 * soft-fp/fixunstfsi.c: Likewise.
9621 * soft-fp/fixunstfti.c: Likewise.
9622 * soft-fp/floatdidf.c: Likewise.
9623 * soft-fp/floatdisf.c: Likewise.
9624 * soft-fp/floatditf.c: Likewise.
9625 * soft-fp/floatsidf.c: Likewise.
9626 * soft-fp/floatsisf.c: Likewise.
9627 * soft-fp/floatsitf.c: Likewise.
9628 * soft-fp/floattidf.c: Likewise.
9629 * soft-fp/floattisf.c: Likewise.
9630 * soft-fp/floattitf.c: Likewise.
9631 * soft-fp/floatundidf.c: Likewise.
9632 * soft-fp/floatundisf.c: Likewise.
9633 * soft-fp/floatunsidf.c: Likewise.
9634 * soft-fp/floatunsisf.c: Likewise.
9635 * soft-fp/floatuntidf.c: Likewise.
9636 * soft-fp/floatuntisf.c: Likewise.
9637 * soft-fp/floatuntitf.c: Likewise.
9638 * soft-fp/fmadf4.c: Likewise.
9639 * soft-fp/fmasf4.c: Likewise.
9640 * soft-fp/fmatf4.c: Likewise.
9641 * soft-fp/gedf2.c: Likewise.
9642 * soft-fp/gesf2.c: Likewise.
9643 * soft-fp/getf2.c: Likewise.
9644 * soft-fp/ledf2.c: Likewise.
9645 * soft-fp/lesf2.c: Likewise.
9646 * soft-fp/letf2.c: Likewise.
9647 * soft-fp/muldf3.c: Likewise.
9648 * soft-fp/mulsf3.c: Likewise.
9649 * soft-fp/multf3.c: Likewise.
9650 * soft-fp/negdf2.c: Likewise.
9651 * soft-fp/negsf2.c: Likewise.
9652 * soft-fp/negtf2.c: Likewise.
9653 * soft-fp/op-1.h: Likewise.
9654 * soft-fp/op-2.h: Likewise.
9655 * soft-fp/op-4.h: Likewise.
9656 * soft-fp/op-8.h: Likewise.
9657 * soft-fp/op-common.h: Likewise.
9658 * soft-fp/quad.h: Likewise.
9659 * soft-fp/single.h: Likewise.
9660 * soft-fp/soft-fp.h: Likewise.
9661 * soft-fp/sqrtdf2.c: Likewise.
9662 * soft-fp/sqrtsf2.c: Likewise.
9663 * soft-fp/sqrttf2.c: Likewise.
9664 * soft-fp/subdf3.c: Likewise.
9665 * soft-fp/subsf3.c: Likewise.
9666 * soft-fp/subtf3.c: Likewise.
9667 * soft-fp/truncdfsf2.c: Likewise.
9668 * soft-fp/trunctfdf2.c: Likewise.
9669 * soft-fp/trunctfsf2.c: Likewise.
9670 * soft-fp/trunctfxf2.c: Likewise.
9671 * soft-fp/unorddf2.c: Likewise.
9672 * soft-fp/unordsf2.c: Likewise.
9673 * soft-fp/unordtf2.c: Likewise.
9674
17c48a60
OB
96752013-10-14 Ondřej Bílka <neleai@seznam.cz>
9676
9677 [BZ #15672]
9678 * misc/error.c (error_tail): Fix possible buffer overflow.
9679
cabba934
OB
96802013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9681
9682 [BZ #13028]
9683 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9684 address.
9685
94bf958a
PM
96862013-10-14 P. J. McDermott <pj@pehjota.net>
9687
9688 [BZ #832]
9689 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9690 testing pipefail option.
9691
71b4dea7
JM
96922013-10-12 Joseph Myers <joseph@codesourcery.com>
9693
9694 * soft-fp/double.h: Indent preprocessor directives inside #if.
9695 * soft-fp/extended.h: Likewise.
9696 * soft-fp/op-2.h: Likewise.
9697 * soft-fp/op-4.h: Likewise.
9698 * soft-fp/op-common.h: Likewise.
9699 * soft-fp/quad.h: Likewise.
9700 * soft-fp/single.h: Likewise.
9701 * soft-fp/soft-fp.h: Likewise.
9702
55602758
YC
97032013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9704
9705 * iconv/iconv_prog.c: Fix typos.
9706 * stdio-common/psiginfo-data.h: Likewise.
9707
9cd83302
RT
97082013-10-12 Reuben Thomas <rrt@sc3d.org>
9709
9710 [BZ #15764]
9711 * locale/setlocale.c: Fix typo.
9712
99fd9f47
JM
97132013-10-12 Joseph Myers <joseph@codesourcery.com>
9714
b7ea74f0
JM
9715 [BZ #16036]
9716 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9717 signaling NaN arguments.
9718 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9719 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9720
8a509447
JM
9721 [BZ #14910]
9722 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9723 unordered operands.
9724 * soft-fp/gesf2.c (__gesf2): Likewise.
9725 * soft-fp/getf2.c (__getf2): Likewise.
9726 * soft-fp/ledf2.c (__ledf2): Likewise.
9727 * soft-fp/lesf2.c (__lesf2): Likewise.
9728 * soft-fp/letf2.c (__letf2): Likewise.
9729
98998e9f
JM
9730 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9731 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9732 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9733 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9734 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9735 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9736 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9737 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9738 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9739 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9740 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9741 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9742 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9743 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9744 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9745 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9746 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9747 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9748 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9749 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9750 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9751 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9752 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9753 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9754 * soft-fp/floattidf.c (__floattidf): Likewise.
9755 * soft-fp/floattisf.c (__floattisf): Likewise.
9756 * soft-fp/floattitf.c (__floattitf): Likewise.
9757 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9758 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9759 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9760 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9761 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9762 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9763 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9764 * soft-fp/gesf2.c (__gesf2): Likewise.
9765 * soft-fp/getf2.c (__getf2): Likewise.
9766 * soft-fp/ledf2.c (__ledf2): Likewise.
9767 * soft-fp/lesf2.c (__lesf2): Likewise.
9768 * soft-fp/letf2.c (__letf2): Likewise.
9769
8edc4a11
JM
9770 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9771 Undefine and redefine.
9772 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9773 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9774 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9775 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9776 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9777 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9778 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9779 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9780 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9781 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9782 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9783 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9784 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9785 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9786 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9787
8399acaf
JM
9788 [BZ #16032]
9789 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9790 without decrementing exponent if mantissa >= that for the
9791 denominator, not >.
9792 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9793 denominator, not >. Decrement exponent in < case instead of
9794 incrementing in >= case.
9795 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9796 without decrementing exponent if mantissa >= that for the
9797 denominator, not >.
9798
99fd9f47
JM
9799 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9800 computing saturated result for unsigned overflow.
9801
10e1cf6b
SP
98022013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9803 Jeff Law <law@redhat.com>
9804
9805 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9806 (atan2Mp): Add systemtap probe marker.
9807 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9808 (__ieee754_log): Add systemtap probe marker.
9809 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9810 (atanMp): Add systemtap probe marker.
9811 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9812 (tanMp): Add systemtap probe marker.
9813 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9814 (__slowexp): Add systemtap probe marker.
9815 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9816 (__slowpow): Add systemtap probe marker.
9817 * manual/probes.texi: Document probes.
9818
3d110c7c
EB
98192013-10-11 Eric Biggers <ebiggers3@gmail.com>
9820
9821 [BZ #15362]
9822 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9823 written.
9824 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9825 written.
9826 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9827 written to buffer but not flushed.
9828 * libio/iofwrite_u.c: Likewise.
9829 * libio/iopadn.c: Return bytes returned even if EOF was
9830 encountered.
9831 * libio/iowpadn.c: Likewise.
9832 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9833 if _IO_padn does not write the whole buffer.
9834 [!COMPILE_WPRINTF] (PAD): Likewise.
9835
75b4202a
DM
98362013-10-10 David S. Miller <davem@davemloft.net>
9837
9838 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9839 directory block.
9840
6c6352e6
JM
98412013-10-10 Joseph Myers <joseph@codesourcery.com>
9842
33b853c3
JM
9843 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9844 instead of FSF address.
9845 * soft-fp/fixdfti.c: Likewise.
9846 * soft-fp/fixsfti.c: Likewise.
9847 * soft-fp/fixtfti.c: Likewise.
9848 * soft-fp/fixunsdfti.c: Likewise.
9849 * soft-fp/fixunssfti.c: Likewise.
9850 * soft-fp/fixunstfti.c: Likewise.
9851 * soft-fp/floattidf.c: Likewise.
9852 * soft-fp/floattisf.c: Likewise.
9853 * soft-fp/floattitf.c: Likewise.
9854 * soft-fp/floatuntidf.c: Likewise.
9855 * soft-fp/floatuntisf.c: Likewise.
9856 * soft-fp/floatuntitf.c: Likewise.
9857 * soft-fp/trunctfxf2.c: Likewise.
9858
6c6352e6
JM
9859 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9860 * soft-fp/fixdfti.c: Likewise.
9861 * soft-fp/fixsfti.c: Likewise.
9862 * soft-fp/fixtfti.c: Likewise.
9863 * soft-fp/fixunsdfti.c: Likewise.
9864 * soft-fp/fixunssfti.c: Likewise.
9865 * soft-fp/fixunstfti.c: Likewise.
9866 * soft-fp/floattidf.c: Likewise.
9867 * soft-fp/floattisf.c: Likewise.
9868 * soft-fp/floattitf.c: Likewise.
9869 * soft-fp/floatuntidf.c: Likewise.
9870 * soft-fp/floatuntisf.c: Likewise.
9871 * soft-fp/floatuntitf.c: Likewise.
9872 * soft-fp/trunctfxf2.c: Likewise.
9873
3bf78b71
DM
98742013-10-10 David S. Miller <davem@davemloft.net>
9875
9876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9877
6f10289e
JM
98782013-10-10 Joseph Myers <joseph@codsourcery.com>
9879
bd878fc0
JM
9880 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9881 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9882 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9883 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9884 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9885 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9886 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9887
6f10289e
JM
9888 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9889 for NaNs before doing comparisons on argument.
9890 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9891 Likewise.
9892
321e2684
WN
98932013-10-10 Will Newton <will.newton@linaro.org>
9894
9895 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9896 passed to _int_memalign does not overflow.
9897
40fefba1
TR
98982013-10-10 Torvald Riegel <triegel@redhat.com>
9899
9900 * scripts/bench.pl: Add include-sources directive.
9901 * benchtests/README: Update documentation.
9902
2ae21ed2
JM
99032013-10-10 Joseph Myers <joseph@codesourcery.com>
9904
dcc2dd3f
JM
9905 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9906 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9907 instead of FP_INIT_ROUNDMODE.
9908 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9909 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9910
2ae21ed2
JM
9911 [BZ #16034]
9912 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9913 copy class of input value.
9914 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9915 not handle exceptions.
9916 * soft-fp/negsf2.c (__negsf2): Likewise.
9917 * soft-fp/negtf2.c (__negtf2): Likewise.
9918 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9919
cb8f9562
JM
99202013-10-09 Joseph Myers <joseph@codesourcery.com>
9921
9922 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9923 semicolon. From Linux kernel.
9924
5b60c59d
AB
99252013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9926
9927 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9928
b86835ca
YC
99292013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9930
9931 [BZ #156]
9932 * manual/socket.texi: Added statement about buffer
9933 for gethostbyname2_r.
9934
e7044ea7
OB
99352013-10-08 Ondřej Bílka <neleai@seznam.cz>
9936
9937 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9938 Use .p2align directive instead, throughout.
9939 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9940 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9941 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9942 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9943 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9944 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9945 * sysdeps/x86_64/strchr.S: Likewise.
9946 * sysdeps/x86_64/strrchr.S: Likewise.
9947
09544cbc
SP
99482013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9949
88576635
SP
9950 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9951
e7b2d1dd
SP
9952 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9953
09544cbc
SP
9954 * sysdeps/generic/math_private.h (__mpsin1): Remove
9955 declaration.
9956 (__mpcos1): Likewise.
9957 (__mpsin): New argument __range_reduce.
9958 (__mpcos): Likewise.
9959 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9960 (slow): Use __mpsin and __mpcos.
9961 (slow1): Likewise.
9962 (slow2): Likewise.
9963 (sloww): Likewise.
9964 (sloww1): Likewise.
9965 (sloww2): Likewise.
9966 (bsloww): Likewise.
9967 (bsloww1): Likewise.
9968 (bsloww2): Likewise.
9969 (cslow2): Likewise.
9970 (csloww): Likewise.
9971 (csloww1): Likewise.
9972 (csloww2): Likewise.
9973 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9974 range_reduce. Merge in __mpsin1.
9975 (__mpcos): Likewise.
9976 (__mpsin1): Remove.
9977 (__mpcos1): Likewise.
9978
7602d070
JM
99792013-10-07 Joseph Myers <joseph@codesourcery.com>
9980
9981 * locale/loadlocale.c (_nl_intern_locale_data): Use
9982 LOCFILE_ALIGNED_P.
9983 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9984 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9985 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9986 obstack data is appropriately aligned.
9987 (obstack_int32_grow_fast): Likewise.
9988 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9989 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9990 (add_locale_uint32_array): Likewise.
9991
a357259b
SP
99922013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9993
9994 * benchtests/Makefile: Remove ARGLIST and RET variables.
9995 ($(objpfx)bench-%.c): Pass only function name to the script.
9996 * benchtests/README: Update documentation.
9997 * benchtests/acos-inputs: Add new directives.
9998 * benchtests/acosh-inputs: Likewise.
9999 * benchtests/asin-inputs: Likewise.
10000 * benchtests/asinh-inputs: Likewise.
10001 * benchtests/atan-inputs: Likewise.
10002 * benchtests/atanh-inputs: Likewise.
10003 * benchtests/cos-inputs: Likewise.
10004 * benchtests/cosh-inputs: Likewise.
10005 * benchtests/exp-inputs: Likewise.
10006 * benchtests/log-inputs: Likewise.
10007 * benchtests/pow-inputs: Likewise.
10008 * benchtests/rint-inputs: Likewise.
10009 * benchtests/sin-inputs: Likewise.
10010 * benchtests/sinh-inputs: Likewise.
10011 * benchtests/tan-inputs: Likewise.
10012 * benchtests/tanh-inputs: Likewise.
10013 * scripts/bench.pl: Add support for new directives.
10014
9ec1b13d
AM
100152013-10-07 Alan Modra <amodra@gmail.com>
10016
10017 * README: Fix careless merge.
10018
8b7d57cd
AM
100192013-10-05 Alan Modra <amodra@gmail.com>
10020
10021 * NEWS: Mention powerpc64le support and bugs fixed.
10022 * README: Both big-endian and little-endian powerpc64 supported.
10023
7b7bab13
ST
100242013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10025
57f41c40
AS
10026 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10027 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10028 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10029 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10030
d39baad1
RA
100312013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10032
10033 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10034 match prototype.
10035
cd78f7e7
JM
100362013-10-04 Joseph Myers <joseph@codesourcery.com>
10037
29d73d86
JM
10038 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10039 Move -mhard-float appending from
10040 ports/sysdeps/powerpc/powerpc32/Makefile.
10041 [$(with-fp) = yes] (ASFLAGS): Likewise.
10042 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10043 * sysdeps/powerpc/nofpu: Move directory from
10044 ports/sysdeps/powerpc/nofpu.
10045 * sysdeps/powerpc/soft-fp: Move directory from
10046 ports/sysdeps/powerpc/soft-fp.
10047 * sysdeps/powerpc/powerpc32/405: Move directory from
10048 ports/sysdeps/powerpc/powerpc32/405.
10049 * sysdeps/powerpc/powerpc32/440: Move directory from
10050 ports/sysdeps/powerpc/powerpc32/440.
10051 * sysdeps/powerpc/powerpc32/464: Move directory from
10052 ports/sysdeps/powerpc/powerpc32/464.
10053 * sysdeps/powerpc/powerpc32/476: Move directory from
10054 ports/sysdeps/powerpc/powerpc32/476.
10055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10056 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10058 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10060 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10062 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10064 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10065 * README: Update for powerpc-*-linux-gnu software floating point
10066 support in libc.
10067
e246b347
JM
10068 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10069 case to powerpc/powerpc32*.
10070 * sysdeps/unix/sysv/linux/configure: Regenerated.
10071
89c2003e
JM
10072 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10073 (_FPU_MASK_OM): Define as 0x04.
10074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10076 0x00c10080.
10077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10078 0x0000003c.
10079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10080
cd78f7e7
JM
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10082 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10083 getcontext_e500.
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10085 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10086 setcontext_e500.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10088 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10089 and setcontext_e500.
10090
c755294d
CL
100912013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10092
10093 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10094
e16d221c
SP
100952013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10096
10097 * manual/threads.texi (Default Thread Attributes): Fix typo.
10098
215c7d43
WN
100992013-10-04 Will Newton <will.newton@linaro.org>
10100
10101 * malloc/Makefile: Add tst-memalign.
10102 * malloc/tst-memalign.c: New file.
10103
27d0461b
WN
10104 * malloc/tst-posix_memalign.c: Add comments.
10105 (do_test): Add comments and call free on all potentially
10106 allocated pointers. Add space after cast.
10107
1bc92709
WN
10108 * malloc/tst-pvalloc.c: Add comments.
10109 (do_test): Add comments and call free on all potentially
10110 allocated pointers. Remove duplicate check for NULL pointer.
10111 Add space after cast.
10112
66a9be9d
WN
10113 * malloc/tst-valloc.c: Add comments.
10114 (do_test): Add comments and call free on all potentially
10115 allocated pointers. Remove duplicate check for NULL pointer.
10116 Add space after cast.
10117
4cb81307
AM
101182013-10-04 Alan Modra <amodra@gmail.com>
10119
10120 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10121 Use stdint types in rather than __attribute__((mode())).
10122 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10123
f8e3e9f3
AM
101242013-10-04 Alan Modra <amodra@gmail.com>
10125
10126 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10127 Correct handling of unaligned relocs for little-endian.
10128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10129
8f9ebb08
AM
101302013-10-04 Alan Modra <amodra@gmail.com>
10131
10132 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10133 * configure: Regenerate.
10134 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10135 * shlib-versions: Likewise.
10136
0edf96c2
AM
101372013-10-04 Alan Modra <amodra@gmail.com>
10138
10139 * string/tester.c (test_memrchr): Increment reported test cycle.
10140
e0f7a380
AM
101412013-10-04 Alan Modra <amodra@gmail.com>
10142
10143 * string/test-memcpy.c (do_one_test): When reporting errors, print
10144 string address and don't overrun end of string.
10145
466b0393
AM
101462013-10-04 Alan Modra <amodra@gmail.com>
10147
10148 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10149 insrdi. Make better use of reg selection to speed exit slightly.
10150 Schedule entry path a little better. Remove useless "are we done"
10151 checks on entry to main loop. Handle wrapping around zero address.
10152 Correct main loop count. Handle single left-over word from main
10153 loop inline rather than by using loop_small. Remove extra word
10154 case in loop_small caused by wrong loop count. Add little-endian
10155 support.
10156 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10157 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10158 cache hint.
10159 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10160 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10161 support. Avoid rlwimi.
10162 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10163
3be87c77
AM
101642013-10-04 Alan Modra <amodra@gmail.com>
10165
10166 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 10167 insrdi. Formatting.
3be87c77
AM
10168 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10169 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10170 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10171 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10172 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10173 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10174
759cfef3
AM
101752013-10-04 Alan Modra <amodra@gmail.com>
10176
10177 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10178 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10179 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10180 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10181 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10182 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10183 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10184 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10185 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10186 use of regs. Use power7 mtocrf. Tidy function tails.
10187
fe6e95d7
AM
101882013-10-04 Alan Modra <amodra@gmail.com>
10189
10190 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10191 Formatting. Consistently use rXXX register defines or rN defines.
10192 Use early exit labels that avoid restoring unused non-volatile regs.
10193 Make cr field use more consistent with rWORDn compares. Rename
10194 regs used as shift registers for unaligned loop, using rN defines
10195 for short lifetime/multiple use regs.
10196 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10197 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10198 addi 1,1,64 to pop stack frame. Simplify return value code.
10199 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10200
664318c3
AM
102012013-10-04 Alan Modra <amodra@gmail.com>
10202
10203 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10204 support. Correct typos, formatting. Optimize tail. Use insrdi
10205 rather than rlwimi.
10206 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10207 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10208 little-endian support. Correct typos.
10209 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10210 rather than rlwimi.
10211 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10212 in loop and entry code to keep "and." results.
10213 (strchr): Add little-endian support. Comment. Move cntlzd
10214 earlier in tail.
10215 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10216
43b84013
AM
102172013-10-04 Alan Modra <amodra@gmail.com>
10218
10219 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10220 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10221 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10222 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10223
8a7413f9
AM
102242013-10-04 Alan Modra <amodra@gmail.com>
10225
10226 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10227 (rTMP): Define as r11.
10228 (strcmp): Add little-endian support. Optimise tail.
10229 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10230 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10231 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10232 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10233 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10234 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10235 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10236
33ee81de
AM
102372013-10-04 Alan Modra <amodra@gmail.com>
10238
10239 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10240 little-endian support. Remove unnecessary "are we done" tests.
10241 Handle "s" wrapping around zero and extremely large "size".
10242 Correct main loop count. Handle single left-over word from main
10243 loop inline rather than by using small_loop. Correct comments.
10244 Delete "zero" tail, use "end_max" instead.
10245 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10246
db9b4570
AM
102472013-10-04 Alan Modra <amodra@gmail.com>
10248
10249 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10250 support. Don't branch over align.
10251 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10252 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10253 support. Rearrange tmp reg use to suit. Comment.
10254 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10255
f7c399cf
AM
102562013-10-04 Alan Modra <amodra@gmail.com>
10257
10258 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10259
0b2c2ace
AM
102602013-10-04 Alan Modra <amodra@gmail.com>
10261
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10263 conditional form of branch and link when obtaining pc.
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10265
02f04a6c
AM
102662013-10-04 Alan Modra <amodra@gmail.com>
10267
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10269 HIWORD/LOWORD.
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10272
9b874b2f
AM
102732013-10-04 Alan Modra <amodra@gmail.com>
10274
10275 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10276 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10277 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10278 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10279 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10280 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10281 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10282 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10283 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10284 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10285
be1e5d31
AB
102862013-10-04 Anton Blanchard <anton@au1.ibm.com>
10287 Alistair Popple <alistair@ozlabs.au.ibm.com>
10288 Alan Modra <amodra@gmail.com>
10289
10290 [BZ #15723]
10291 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10292 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10293 _dl_hwcap access for little-endian.
10294 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10295 destroy vmx regs when saving unaligned.
10296 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10297 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10298 destroy vmx regs when saving unaligned.
10299
fef13a78
AM
103002013-10-04 Alan Modra <amodra@gmail.com>
10301
10302 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10303 Don't use a union to pack hi/low value.
10304
76a66d51
AB
103052013-10-04 Anton Blanchard <anton@au1.ibm.com>
10306
10307 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10308 for little-endian.
10309 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10310 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10311 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10312 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10313 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10314
6a31fe7f
AM
103152013-10-04 Alan Modra <amodra@gmail.com>
10316
10317 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10318 constants to usual value for .cst8 section, and remove redundant
10319 high address load.
10320 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10321 constant for 0x1p52. Load little-endian words of double from
10322 correct stack offsets.
10323
7b88401f
AM
103242013-10-04 Alan Modra <amodra@gmail.com>
10325
10326 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10327 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10328 words of double from correct stack offsets.
10329 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10330 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10331 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10332 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10333 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10334 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10335 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10336 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10337 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10338 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10339 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10340 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10341 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10342 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10343 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10344 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10345 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10346
9c008155
AM
103472013-10-04 Alan Modra <amodra@gmail.com>
10348
10349 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10350 64-bit int/double union.
10351 (_FPU_SETCW): Likewise.
10352 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10353 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10354
da13146d
AM
103552013-10-04 Alan Modra <amodra@gmail.com>
10356
10357 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10358 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10359
603e8410
AM
103602013-10-04 Alan Modra <amodra@gmail.com>
10361
10362 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10363 use vector int constants.
10364 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10365
4a28b3ca
AB
103662013-10-04 Anton Blanchard <anton@au1.ibm.com>
10367
10368 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10369 array with long long.
10370 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10371 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10372 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10373 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10374 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10375 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10376 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10377 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10378 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10379 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10380 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10381 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10382 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10383
2ca85d2b
AB
103842013-10-04 Anton Blanchard <anton@au1.ibm.com>
10385
10386 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10387 (__signbit): Likewise. Correct for little-endian.
10388 (__signbitl): Call __signbit.
10389 (lrint): Correct for little-endian.
10390 (lrintf): Call lrint.
10391
62a728ae
AM
103922013-10-04 Alan Modra <amodra@gmail.com>
10393
10394 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10395 union 32-bit int array member with 64-bit int array.
10396 (t515, tm256): Double rather than long double.
10397 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10398
32c301df
AM
103992013-10-04 Alan Modra <amodra@gmail.com>
10400
10401 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10402 Delete.
10403 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10405 version of math_ldbl.h.
10406
650ef4bd
AM
104072013-10-04 Alan Modra <amodra@gmail.com>
10408
10409 [BZ #15734], [BZ #15735]
10410 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10411 all uses of ieee875 long double macros and unions. Simplify test
10412 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10413 ldbl_extract_mantissa value for ix,iy exponents. Properly
10414 normalize after ldbl_extract_mantissa, and don't add hidden bit
10415 already handled. Don't treat low word of ieee854 mantissa like
10416 low word of IBM long double and mask off bit when testing for
10417 zero.
10418 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10419 all uses of ieee875 long double macros and unions. Simplify tests
10420 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10421 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10422 two1022, instead use their values. Recognise that tests for large
10423 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10424 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10425 Rewrite all uses of ieee875 long double macros and unions. Simplify
10426 test for 0.0L and nan. Correct negation.
10427 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10428 ieee875 long double macros and unions. Correct output for large
10429 magnitude x. Correct absolute value calculation.
10430 (__erfcl): Likewise.
10431 * math/libm-test.inc: Add tests for errors discovered in IBM long
10432 double versions of fmodl, remainderl, erfl and erfcl.
10433
765714ca
AM
104342013-10-04 Alan Modra <amodra@gmail.com>
10435
10436 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10437 all uses of ieee854 long double macros and unions. Simplify tests
10438 for long doubles that are fully specified by the high double.
10439 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10440 Likewise.
10441 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10442 Remove dead code too.
10443 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10444 (__ieee754_ynl): Likewise.
10445 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10446 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10447 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10448 Remove dead code too.
10449 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10450 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10451 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10452 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10453 Simplify.
10454 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10455 Simplify.
10456 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10457 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10458 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10459 Comment on variable precision.
10460 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10461 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10462 Likewise.
10463 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10464 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10465 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10466 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10467 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10468
4ebd120c
AM
104692013-10-04 Alan Modra <amodra@gmail.com>
10470
10471 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10472 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10473 all uses of ieee854 long double macros and unions.
10474 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10475 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10476 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10477 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10478 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10479 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10480 Likewise.
10481 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10482 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10483 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10484 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10485 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10486 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10487 Simplify sign and nan test too.
10488 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10489 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10490 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10491 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10492 Likewise.
10493 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10494 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10495 Likewise.
10496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10497 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10498 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10499 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10500 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10502
1b6adf88
AM
105032013-10-04 Alan Modra <amodra@gmail.com>
10504
10505 * stdio-common/printf_size.c (__printf_size): Don't use
10506 union ieee854_long_double in fpnum union.
10507 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10508 signbit macro to retrieve sign from long double.
10509 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10510 retrieve sign from long double.
10511 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10512 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10513 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10514 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10515 * math/test-misc.c (main): Don't use union ieee854_long_double.
10516
4cf69995
AM
105172013-10-04 Alan Modra <amodra@gmail.com>
10518
10519 [BZ #15680]
10520 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10521 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10522 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10523 calculation. Remove unnecessary test for denormal exponent.
10524 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10525 Correct handling of denormals. Avoid undefined shift behaviour.
10526 Correct normalisation of low mantissa when low double is denormal.
10527 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10528 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10529 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10530 Correct normalisation of low mantissa. Test for overflow of high
10531 mantissa and normalise.
10532 (ldbl_nearbyint): Use more readable constant for two52.
10533 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10534 (__mpn_construct_long_double): Fix test for overflow of high
10535 mantissa and correct normalisation. Avoid undefined shift.
10536
9605ca6c
AM
105372013-10-04 Alan Modra <amodra@gmail.com>
10538
10539 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10540 (union ibm_extended_long_double): Define as an array of ieee754_double.
10541 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10542 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10543 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10544 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10545 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10547 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10548 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10551 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10552
975569d0
JM
105532013-10-03 Joseph Myers <joseph@codesourcery.com>
10554
d3d23756
JM
10555 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10556 page size instead of calling getpagesize.
10557
975569d0
JM
10558 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10559 (LOCFILE_ALIGN_MASK): Likewise.
10560 (LOCFILE_ALIGN_UP): Likewise.
10561 (LOCFILE_ALIGNED_P): Likewise.
10562 * locale/programs/ld-collate.c (collate_output): Use the new
10563 macros instead of __alignof__ (int32_t).
10564 * locale/weight.h (findidx): Likewise.
10565
b1fe1f2b
OB
105662013-10-03 Ondřej Bílka <neleai@seznam.cz>
10567
10568 [BZ #431]
10569 * manual/string.texi: Fix strncat and wcsncat.
10570
5f855e35
BM
105712013-10-03 Brooks Moses <bmoses@google.com>
10572
10573 [BZ #15915]
10574 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10575 * Makerules: ...here, and adjust associated comments.
10576
3cef6009
WN
105772013-10-02 Will Newton <will.newton@linaro.org>
10578
10579 * malloc/Makefile: Add tst-pvalloc.
10580 * malloc/tst-pvalloc.c: New file.
10581
7815420b
WN
105822013-10-02 Will Newton <will.newton@linaro.org>
10583
10584 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10585 improve test coverage.
10586
4868b204
WN
105872013-10-02 Will Newton <will.newton@linaro.org>
10588
10589 * malloc/Makefile: Add tst-posix_memalign.
10590 * malloc/tst-posix_memalign.c: New file.
10591
29c793b3
EB
105922013-10-01 Eric Blake <eblake@redhat.com>
10593
10594 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10595 Use __THROWNL rather than __THROW on static functions.
10596
fd967522
PM
105972013-09-30 Petr Machata <pmachata@redhat.com>
10598
10599 * elf/elf.h (R_AARCH64_ABS16): New macro.
10600 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10601 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10602 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10603 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10604 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10605 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10606 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10607 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10608 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10609 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10610 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10611 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10612 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10613 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10614 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10615 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10616 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10617 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10618 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10619 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10620 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10621 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10622 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10623 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10624 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10625 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10626 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10627 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10628 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10629 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10630 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10631 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10632 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10633 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10634 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10635 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10636 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10637 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10638 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10639 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10640 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10641 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10642 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10643 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10644 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10645 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10646 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10647 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10648 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10649 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10650 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10651 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10652 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10653 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10654 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10655 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10656 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10657 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10658 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10659 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10660 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10661 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10662 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10663 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10664 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10665 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10666 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10667 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10668 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10669 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10670 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10671 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10672 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10673 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10674 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10675 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10676 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10677 (R_AARCH64_TLSDESC_LDR): Likewise.
10678 (R_AARCH64_TLSDESC_ADD): Likewise.
10679 (R_AARCH64_TLSDESC_CALL): Likewise.
10680
b2179107
AS
106812013-09-30 Andreas Schwab <schwab@suse.de>
10682
10683 [BZ #15048]
10684 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10685 the nss database lookup.
10686 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10688
47f28d0a
MF
106892013-09-28 Mike Frysinger <vapier@gentoo.org>
10690
10691 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10692
106932013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10694
10695 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10696 ${Bash-specific parameter/pattern/string} parameter expansion.
10697 * sysdeps/unix/make-syscalls.sh: Likewise.
10698
f4518a17
KK
106992013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10700
10701 * sysdeps/sh/stackguard-macros.h: New file.
10702
dc1a95c7
OB
107032013-09-26 Ondřej Bílka <neleai@seznam.cz>
10704
10705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10707 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10708 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10709 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10710 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10711
5ebbff8f
AZ
107122013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10713
10714 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10715 Fix thread ID register.
10716
4fd2cf9f
JM
107172013-09-25 Joseph Myers <joseph@codesourcery.com>
10718
10719 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10720 [POSIX || UNIX98]: Require rather than permitting all symbols from
10721 <time.h>.
10722 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10723 element of struct sched_param.
10724 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10725 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10726 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10727 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10728 constant.
10729
12c22bc4
OL
107302013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10731
10732 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10733 argument calculation.
10734
a03d8ea7
JM
107352013-09-24 Joseph Myers <joseph@codesourcery.com>
10736
10737 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10738 Expect macro.
10739 [POSIX] (pthread_attr_t): Do not require type.
10740 [POSIX] (pthread_cond_t): Likewise.
10741 [POSIX] (pthread_condattr_t): Likewise.
10742 [POSIX] (pthread_key_t): Likewise.
10743 [POSIX] (pthread_mutex_t): Likewise.
10744 [POSIX] (pthread_mutexattr_t): Likewise.
10745 [POSIX] (pthread_once_t): Likewise.
10746 [POSIX] (pthread_t): Likewise.
10747 [POSIX-based standards] (pthread_atfork): Expect function.
10748
6055173a
JM
107492013-09-24 Joseph Myers <joseph@codesourcery.com>
10750 Richard Sandiford <richard@codesourcery.com>
10751
10752 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10753 (swap_endianness_p): New extern variable.
10754 (set_big_endian): New inline function.
10755 (maybe_swap_uint32): Likewise.
10756 (maybe_swap_uint32_array): Likewise.
10757 (maybe_swap_uint32_obstack): Likewise.
10758 * locale/programs/locfile.c: Include <stdbool.h>.
10759 (swap_endianness_p): New variable.
10760 (add_locale_uint32): Call maybe_swap_uint32.
10761 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10762 (write_locale_data): Call maybe_swap_uint32_array.
10763 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10764 maybe_swap_uint32.
10765 (obstack_int32_grow_fast): Likewise.
10766 (output_weightwc): Call maybe_swap_uint32_obstack.
10767 (collate_output): Likewise.
10768 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10769 (OPT_LITTLE_ENDIAN): Likewise.
10770 (options): Add --little-endian and --big-endian options.
10771 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10772 * locale/programs/locarchive.c: Include "locfile.h".
10773 (GET): New macro.
10774 (SET): Likewise.
10775 (INC): Likewise.
10776 (create_archive): Use the new macros to access fields of
10777 structures directly mapped from or written to locale archives.
10778 (oldlocrecentcmp): Likewise.
10779 (enlarge_archive): Likewise.
10780 (insert_name): Likewise.
10781 (add_alias): Likewise.
10782 (add_locale): Likewise.
10783 (delete_locales_from_archive): Likewise.
10784 (show_archive_content): Likewise.
10785 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10786 locale data.
10787
39bf0bb4
RM
107882013-09-24 Roland McGrath <roland@hack.frob.com>
10789
10790 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10791 http://www.gnu.org/doc/freemanuals.texi.
10792 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10793
f02eed10
WN
107942013-09-24 Will Newton <will.newton@linaro.org>
10795
10796 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10797 macro.
10798
a3a6c312
JM
107992013-09-23 Joseph Myers <joseph@codesourcery.com>
10800
10801 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10802 unsigned char.
10803
107375ac
MR
108042013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10805
10806 * manual/threads.texi (POSIX Threads): Fix a typo.
10807
141f3a77
SP
108082013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10809
303e567a
SP
10810 [BZ #14547]
10811 * string/tst-strcoll-overflow.c: New test case.
10812 * string/Makefile (xtests): Add tst-strcoll-overflow.
10813 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10814 cache if string sizes may cause integer overflow.
10815
141f3a77
SP
10816 [BZ #14547]
10817 * string/strcoll_l.c (coll_seq): New members rule, idx,
10818 save_idx and back_us.
10819 (get_next_seq_nocache): New function.
10820 (do_compare_nocache): New function.
10821 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10822 when malloc fails.
10823
c61b4d41
CD
108242013-09-23 Carlos O'Donell <carlos@redhat.com>
10825
0b1f8e35
CD
10826 [BZ #15754]
10827 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10828 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10829 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10830
c61b4d41
CD
10831 [BZ #15754]
10832 * elf/Makefile (tests): Add tst-ptrguard1.
10833 (tests-static): Add tst-ptrguard1-static.
10834 (tst-ptrguard1-ARGS): Define.
10835 (tst-ptrguard1-static-ARGS): Define.
10836 * elf/tst-ptrguard1.c: New file.
10837 * elf/tst-ptrguard1-static.c: New file.
10838 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10839 * sysdeps/i386/stackguard-macros.h: Likewise.
10840 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10841 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10842 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10843 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10844 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10845 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10846
108472013-09-23 Hector Marco <hecmargi@upv.es>
10848 Ismael Ripoll <iripoll@disca.upv.es>
10849 Carlos O'Donell <carlos@redhat.com>
10850
10851 [BZ #15754]
10852 * sysdeps/generic/stackguard-macros.h: Define
10853 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10854 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10855 Define __pointer_chk_guard_local.
10856 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10857 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10858
f5f4e7b4
VV
108592013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10860
10861 [BZ #15859]
10862 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10863
5bb43a43
AS
108642013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10865
10866 * include/string.h (__ffs): Declare as hidden.
10867 * string/ffs.c (__ffs): Define as hidden.
10868 * sysdeps/i386/ffs.c (__ffs): Likewise.
10869 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10870 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10871 * sysdeps/s390/ffs.c (__ffs): Likewise.
10872 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10873
3ea5be54
AO
108742013-09-20 Alexandre Oliva <aoliva@redhat.com>
10875
ffb89e53
AO
10876 * NEWS: Mention malloc probes.
10877
322dea08
AO
10878 * malloc/arena.c (new_heap): New memory_heap_new probe.
10879 (grow_heap): New memory_heap_more probe.
10880 (shrink_heap): New memory_heap_less probe.
10881 (heap_trim): New memory_heap_free probe.
10882 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10883 (systrim): New memory_sbrk_less probe.
10884 * manual/probes.texi: Document them.
10885
655673f3
AO
10886 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10887 * manual/probes.texi: Document it.
10888
35fed6f1
AO
10889 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10890 (__libc_realloc): Add memory_realloc_retry probe.
10891 (__libc_memalign): Add memory_memalign_retry probe.
10892 (__libc_valloc): Add memory_valloc_retry probe.
10893 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10894 (__libc_calloc): Add memory_calloc_retry probe.
10895 * manual/probes.texi: Document them.
10896
6999d38c
AO
10897 * malloc/arena.c (get_free_list): Add probe
10898 memory_arena_reuse_free_list.
10899 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10900 and memory_arena_reuse.
10901 (arena_get2) [!PER_THREAD]: Likewise.
10902 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10903 memory_arena_reuse_realloc.
10904 * manual/probes.texi: Document them.
10905
0653427f
AO
10906 * malloc/malloc.c (__libc_free): Add
10907 memory_mallopt_free_dyn_thresholds probe.
10908 (__libc_mallopt): Add multiple memory_mallopt probes.
10909 * manual/probes.texi: Document them.
10910
3ea5be54
AO
10911 * malloc/malloc.c: Include stap-probe.h.
10912 (__libc_mallopt): Add memory_mallopt probe.
10913 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10914 * manual/probes.texi: New.
10915 * manual/Makefile (chapters): Add probes.
10916 * manual/threads.texi: Set next node.
10917
e35696c3 109182013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10919
e35696c3
CL
10920 [BZ #15963, #13985]
10921 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10922 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10923 Add `Chinese' to `nan' entry name.
10924
4aafb73c
SP
109252013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10926
10927 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10928 (POLYNOMIAL): Likewise.
10929 (TAYLOR_SINCOS): Likewise.
10930 (TAYLOR_SLOW): Likewise.
10931 (__sin): Use TAYLOR_SINCOS.
10932 (__cos): Likewise.
10933 (slow): Use TAYLOR_SLOW.
10934 (sloww): Likewise.
10935 (bsloww): Likewise.
10936 (csloww): Likewise.
10937
d84f25c7
LD
109382013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10939
10940 * stdlib/strtod_l.c: Fix buffer overrun.
10941
5eea0404
SP
109422013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10943
7849ff93
SP
10944 * benchtests/Makefile (bench): Add sincos.
10945 * benchtests/bench-sincos.c: New file.
10946
cfa3c886
SP
10947 * math/libm-test.inc (cos_test_data): New test inputs.
10948 (sin_test_data): Likewise.
10949
b348e1e3
SP
10950 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10951 macro.
10952 (__sin): Use it.
10953 (__cos): Likewise.
10954 (slow1): Likewise.
10955 (slow2): Likewise.
10956 (sloww1): Likewise.
10957 (sloww2): Likewise.
10958 (bsloww1): Likewise.
10959 (bsloww2): Likewise.
10960 (cslow2): Likewise.
10961 (csloww1): Likewise.
10962 (csloww2): Likewise.
10963
6cce25f8
SP
10964 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10965 function.
10966 (__sin): Use it.
10967 (__cos): Likewise.
10968
5eea0404
SP
10969 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10970 gotos.
10971 (__cos): Likewise.
10972
9c21573c
MR
109732013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10974
10975 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10976 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10977 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10978 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10979 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10980 * elf/cache.c (print_entry): Handle the new cache flags.
10981
24d22e65
JM
109822013-09-18 Joseph Myers <joseph@codesourcery.com>
10983 Aldy Hernandez <aldyh@redhat.com>
10984
10985 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10986 Change condition to [_SOFT_FLOAT].
10987 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10988 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10990 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10993 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10994 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10995 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10996 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10998 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10999 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11000 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11001 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11002 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11003 declaration.
11004
d13ef066
JM
110052013-09-18 Joseph Myers <joseph@codesourcery.com>
11006
2e071de0
JM
11007 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11008 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11009 (__longjmp): Use LOAD_GP to load saved GPRs.
11010 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11011 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11012 (__sigsetjmp): Use SAVE_GP to save GPRs.
11013
d13ef066
JM
11014 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11015 Do not append -msoft-float.
11016 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11017
97a0650b
SP
110182013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11019
11020 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11021
11ca09e9
JM
110222013-09-17 Joseph Myers <joseph@codesourcery.com>
11023
11024 [BZ #15966]
11025 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11026 (_FPU_GETCW): Use initial "__" on variable and field names but not
11027 on macro parameter name.
11028 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11029 parentheses around reference to macro parameter.
11030
08ffcf34
RS
110312013-09-13 Richard Sandiford <richard@codesourcery.com>
11032
11033 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11034 prototype.
11035 (ctype_startup): Use uint32_t in cast and sizeof for
11036 ctype->charnames.
11037
ae7080d3
JL
110382013-09-11 Jia Liu <proljc@gmail.com>
11039
11040 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11041 __daddr_t_defined.
11042 [__FreeBSD__]: Likewise.
11043
5905e7b3
OB
110442013-09-11 Ondřej Bílka <neleai@seznam.cz>
11045
11046 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11047 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11048 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11049 (strchr): Remove __strchr_sse42 ifunc selection.
11050 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11051 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11052
b987c776
WN
110532013-09-11 Will Newton <will.newton@linaro.org>
11054
11055 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11056 parameter to RES. Remove hardcoded 1000 value.
11057 * benchtests/bench-skeleton.c (main): Pass RES parameter
11058 to TIMING_INIT and multiply result by 1000.
11059
ddf985af
AZ
110602013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11061
11062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11063
ffdd3181
AS
110642013-09-11 Andreas Schwab <schwab@suse.de>
11065
11066 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11067 if not defined.
11068 (O_TMPFILE) [__USE_GNU]: Define.
11069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11070 Define.
11071
b73ed247
WN
110722013-09-11 Will Newton <will.newton@linaro.org>
11073
11074 [BZ #15857]
11075 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11076 does not overflow.
11077
55e17aad
WN
110782013-09-11 Will Newton <will.newton@linaro.org>
11079
11080 [BZ #15856]
11081 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11082 does not overflow.
11083
1159a193
WN
110842013-09-11 Will Newton <will.newton@linaro.org>
11085
11086 [BZ #15855]
11087 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11088 does not overflow.
11089
5905e7b3 110902013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
11091
11092 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11093 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11094 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11095 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11096 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11097
cdfc721b
AM
110982013-09-10 Allan McRae <allan@archlinux.org>
11099
aa04af00
AM
11100 [BZ #15748]
11101 * manual/arith.texi (Parsing of Floats): Clarify
11102 cross-reference.
11103
cdfc721b
AM
11104 [BZ #15849]
11105 * manual/install.texi (Running make install): Mention
11106 --enable-pt-chown.
11107 * INSTALL: Regenerated.
11108
95e7cf29
MR
111092013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11110
11111 * csu/init-first.c (_init): Remove the !SHARED condition around
11112 FPU control word initialization.
11113 * elf/dl-support.c (_dl_fpu_control): New variable.
11114 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11115 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11116 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11117 * math/test-fpucw-static.c: New file.
11118 * math/test-fpucw-ieee.c: New file.
11119 * math/test-fpucw-ieee-static.c: New file.
11120 * math/Makefile (tests): Add `test-fpucw-ieee' and
11121 `$(tests-static)'.
11122 (tests-static): New variable.
11123 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11124 dependency to...
11125 [($(build-shared),yes)]
11126 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11127 ... this.
11128 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11129 New dependency.
11130
83e43bf0
AM
111312013-09-09 Allan McRae <allan@archlinux.org>
11132
a9f5ce09
AM
11133 [BZ #15939]
11134 * manual/string.texi (Collation Functions): Fix typo in
11135 strcoll example.
11136 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11137
34829bc2
AM
11138 [BZ #15893]
11139 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11140
3932737d
AM
11141 [BZ #15892]
11142 * libio/memstream.c (open_memstream): Fix memory leak.
11143 * libio/wmemstream.c (open_wmemstream): Likewise.
11144
83e43bf0
AM
11145 [BZ #15895]
11146 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11147
0c66b8e9
WN
111482013-09-09 Will Newton <will.newton@linaro.org>
11149
11150 * malloc/Makefile: Add tst-realloc to tests.
11151 * malloc/tst-realloc.c: New file.
11152
f6b00fd1
AM
111532013-09-09 Allan McRae <allan@archlinux.org>
11154
11155 [BZ #15844]
11156 * COPYING: Update from GNU website to fix FSF address.
11157 * COPYING.LIB: Likewise.
11158
eec55e16
DM
111592013-09-06 David S. Miller <davem@davemloft.net>
11160
11161 * po/zh_TW.po: Update Chinese (traditional) translation from
11162 translation project.
11163
1ecbb381
RS
111642013-09-06 Richard Sandiford <richard@codesourcery.com>
11165 Joseph Myers <joseph@codesourcery.com>
11166
11167 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11168 "localeinfo.h".
11169 (obstack_chunk_alloc): New macro.
11170 (obstack_chunk_free): Likewise.
11171 (record_offset): New function.
11172 (init_locale_data): Likewise.
11173 (align_locale_data): Likewise.
11174 (add_locale_empty): Likewise.
11175 (add_locale_raw_data): Likewise.
11176 (add_locale_raw_obstack): Likewise.
11177 (add_locale_string): Likewise.
11178 (add_locale_wstring): Likewise.
11179 (add_locale_uint32): Likewise.
11180 (add_locale_uint32_array): Likewise.
11181 (add_locale_char): Likewise.
11182 (start_locale_structure): Likewise.
11183 (end_locale_structure): Likewise.
11184 (start_locale_prelude): Likewise.
11185 (end_locale_prelude): Likewise.
11186 (write_locale_data): Take locale_file structure rather than an
11187 iovec.
11188 * locale/programs/locfile.h: Include "obstack.h".
11189 (struct locale_file): Change to store locale file contents instead
11190 of header.
11191 (init_locale_data): New prototype.
11192 (align_locale_data): Likewise.
11193 (add_locale_empty): Likewise.
11194 (add_locale_raw_data): Likewise.
11195 (add_locale_raw_obstack): Likewise.
11196 (add_locale_string): Likewise.
11197 (add_locale_wstring): Likewise.
11198 (add_locale_uint32): Likewise.
11199 (add_locale_uint32_array): Likewise.
11200 (add_locale_char): Likewise.
11201 (start_locale_structure): Likewise.
11202 (end_locale_structure): Likewise.
11203 (start_locale_prelude): Likewise.
11204 (end_locale_prelude): Likewise.
11205 (write_locale_data): Update prototype.
11206 * locale/programs/3level.h (struct TABLE): Remove result field.
11207 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11208 Use new locale_file interface.
11209 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11210 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11211 * locale/programs/ld-address.c (address_output): Use new
11212 locale_file interface.
11213 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11214 NO_ADD_LOCALE.
11215 (collate_finish): Don't call collseq_table_finalize.
11216 (collate_output): Use new locale_file interface.
11217 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11218 in file.
11219 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11220 (TABLE): Move defines earlier in file.
11221 (ELEMENT): Likewise.
11222 (DEFAULT): Likewise.
11223 (wctrans_table_add): Move macro and inline function earlier in
11224 file.
11225 (struct wctype_table): Move type earlier in file.
11226 (add_locale_wctype_table): New static prototype.
11227 (struct locale_ctype_t): Use logical types instead of struct iovec
11228 pointers for members.
11229 (ctype_output): Use new locale_file interface.
11230 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11231 new locale_file interface.
11232 (allocate_arrays): Update for use of new locale_file interface.
11233 * locale/programs/ld-identification.c (identification_output): Use
11234 new locale_file interface.
11235 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11236 * locale/programs/ld-messages.c (messages_output): Likewise.
11237 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11238 * locale/programs/ld-name.c (name_output): Likewise.
11239 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11240 * locale/programs/ld-paper.c (paper_output): Likewise.
11241 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11242 * locale/programs/ld-time.c (time_output): Likewise.
11243
e029e2e5
AZ
112442013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11245
11246 * benchtests/Makefile: Add memrchr benchmark.
11247 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11248 benchmark as memrchr.
11249 * benchtests/bench-memrchr-ifunc.c: New file.
11250 * benchtests/bench-memrchr.c: New file.
11251
bbf6e8e4
WN
112522013-09-06 Will Newton <will.newton@linaro.org>
11253
11254 * benchtests/Makefile (string-bench): Add memcpy.
11255
6c82a2f8
CD
112562013-09-05 Carlos O'Donell <carlos@redhat.com>
11257 Cong Wang <amwang@redhat.com>
11258
e732c5f0 11259 [BZ #15850]
6c82a2f8
CD
11260 * sysdeps/unix/sysv/linux/bits/in.h
11261 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11262 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11263 before __USE_KERNEL_IPV6_DEFS uses.
11264 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11265 IPPROTO_BEETPH.
11266 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11267 sockaddr_in6, or ipv6_mreq.
11268
5430fc65
AZ
112692013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11270
11271 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11272 memory access for final bytes in some large inputs.
11273 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11274
4660856c
AZ
112752013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11276
11277 * string/test-memrchr.c: New file.
11278 * string/test-memrchr-ifunc.c: New file.
11279 * string/Makefile: Add new memrchr testcase.
11280
bb8ea713
MF
112812013-09-05 Mike Frysinger <vapier@gentoo.org>
11282
11283 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11284 fanotify_init returns EPERM.
11285
b92a20b5
JM
112862013-09-04 Joseph Myers <joseph@codesourcery.com>
11287
11288 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11289 errors.
11290 (top level): Treat second token from macro or constant entries for
11291 allowed headers as allowed.
11292 * include/complex.h: Condition internal declarations on
11293 [!_ISOMAC].
11294 * include/fenv.h: Condition include of <stdbool.h> and internal
11295 declarations on [!_ISOMAC].
7447ccd9
CL
11296
112972013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11298
3e181dda 11299 [BZ #15923]
7447ccd9
CL
11300 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11301
3f2e46a4
JM
113022013-09-04 Joseph Myers <joseph@codesourcery.com>
11303
11304 * configure.in (--enable-versioning): Remove configure option.
11305 (libc_cv_asm_symver_directive): Remove configure test.
11306 (libc_cv_ld_version_script_option): Likewise.
11307 (VERSIONING): Remove variable and AC_SUBST.
11308 (DO_VERSIONING): Remove AC_DEFINE.
11309 * configure: Regenerated.
11310 * config.h.in (DO_VERSIONING): Remove macro.
11311 * Makerules [$(versioning) = yes]: Change conditionals to
11312 [$(build-shared) = yes].
11313 * config.make.in (versioning): Remove variable.
11314 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11315 [$(build-shared) = yes].
11316 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11317 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11318 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11319 [$(build-shared) = yes].
11320 * extra-lib.mk [$(versioning) = yes]: Likewise.
11321 * hurd/Makefile [$(versioning) = yes]: Likewise.
11322 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11323 [SHARED].
11324 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11325 [SHARED].
11326 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11327 [SHARED && !NO_HIDDEN].
11328 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11329 [SHARED].
11330 [SHARED && DO_VERSIONING]: Likewise..
11331 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11332 [$(build-shared) = yes].
11333 * manual/install.texi (--disable-versioning): Remove
11334 documentation.
11335 * INSTALL: Regenerated.
11336 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11337 to [SHARED].
11338 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11339 [$(build-shared) = yes].
11340 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11341 * sysdeps/i386/i686/multiarch/strstr-c.c
11342 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11343 [SHARED && !NO_HIDDEN].
11344 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11345 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11346 * sysdeps/powerpc/powerpc32/dl-machine.c
11347 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11348 * sysdeps/powerpc/powerpc32/sysdep.h
11349 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11350 to [SHARED && PIC && !NO_HIDDEN].
11351 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11352 conditional to [SHARED].
11353
44558701
WN
113542013-09-04 Will Newton <will.newton@linaro.org>
11355
11356 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11357 * benchtests/bench-string.h: Include bench-timing.h instead
11358 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11359 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11360 call to HP_TIMING_DIFF_INIT.
11361 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11362 instead of hp-timing.h macros.
11363 * benchtests/bench-memchr.c: Likewise.
11364 * benchtests/bench-memcmp.c: Likewise.
11365 * benchtests/bench-memcpy.c: Likewise.
11366 * benchtests/bench-memmem.c: Likewise.
11367 * benchtests/bench-memmove.c: Likewise.
11368 * benchtests/bench-memset.c: Likewise.
11369 * benchtests/bench-rawmemchr.c: Likewise.
11370 * benchtests/bench-strcasecmp.c: Likewise.
11371 * benchtests/bench-strcasestr.c: Likewise.
11372 * benchtests/bench-strcat.c: Likewise.
11373 * benchtests/bench-strchr.c: Likewise.
11374 * benchtests/bench-strcmp.c: Likewise.
11375 * benchtests/bench-strcpy.c: Likewise.
11376 * benchtests/bench-strcpy_chk.c: Likewise.
11377 * benchtests/bench-strlen.c: Likewise.
11378 * benchtests/bench-strncasecmp.c: Likewise.
11379 * benchtests/bench-strncat.c: Likewise.
11380 * benchtests/bench-strncmp.c: Likewise.
11381 * benchtests/bench-strncpy.c: Likewise.
11382 * benchtests/bench-strnlen.c: Likewise.
11383 * benchtests/bench-strpbrk.c: Likewise.
11384 * benchtests/bench-strrchr.c: Likewise.
11385 * benchtests/bench-strspn.c: Likewise.
11386 * benchtests/bench-strstr.c: Likewise.
11387
cae16d66
WN
113882013-09-04 Will Newton <will.newton@linaro.org>
11389
11390 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11391
ffa3cd7f
JM
113922013-09-03 Joseph Myers <joseph@codesourcery.com>
11393
11394 [BZ #15427]
11395 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11396 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11397 * math/libm-test.inc (lgamma_test_data): Add more tests.
11398 * sysdeps/i386/fpu/libm-test-ulps: Update.
11399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11400
8f02859f
OB
114012013-09-03 Ondřej Bílka <neleai@seznam.cz>
11402
11403 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11404 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11405 Add ifunc.
11406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11407 Add strcmp-sse2-unaligned
11408 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11409
18d43716
MF
114102013-09-02 Mike Frysinger <vapier@gentoo.org>
11411
11412 * Versions.def (libc): Add GLIBC_2.19.
11413
ac444012
MF
114142013-09-02 Mike Frysinger <vapier@gentoo.org>
11415
11416 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11417 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11418
b7835e32
JM
114192013-09-02 Joseph Myers <joseph@codesourcery.com>
11420
11421 [BZ #14155]
11422 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11423 intermediate calculations in recurrence.
11424 (__ieee754_ynf): Likewise.
11425 * math/libm-test.inc (jn_test_data): Do not allow spurious
11426 underflow exception. Add more tests.
11427 (yn_test_data): Add more tests.
11428 * sysdeps/i386/fpu/libm-test-ulps: Update.
11429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11430
8220f4f0
OB
114312013-09-02 Ondřej Bílka <neleai@seznam.cz>
11432
11433 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11434
f24a6d08
OB
114352013-08-30 Ondřej Bílka <neleai@seznam.cz>
11436
11437 * csu/init-first.c: Fix then/than typos.
11438 * locale/programs/ld-collate.c: Likewise.
11439 * locale/programs/linereader.h: Likewise.
11440 * manual/charset.texi: Likewise.
11441 * manual/filesys.texi: Likewise.
11442 * manual/stdio.texi: Likewise.
11443 * manual/string.texi: Likewise.
11444 * stdlib/fmtmsg.c: Likewise.
11445 * sysdeps/i386/stpncpy.S: Likewise.
11446 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11447 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11448 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11449 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11450
382466e0
OB
114512013-08-30 Ondřej Bílka <neleai@seznam.cz>
11452
11453 * elf/dl-open.c: Fix typos.
11454 * iconvdata/gbbig5.c: Likewise.
11455 * iconvdata/iso-2022-jp.c: Likewise.
11456 * iconv/gconv_int.h: Likewise.
11457 * iconv/loop.c: Likewise.
11458 * nis/rpcsvc/nis.h: Likewise.
11459 * resolv/ns_name.c: Likewise.
11460 * stdio-common/vfscanf.c: Likewise.
11461 * streams/stropts.h: Likewise.
11462 * sunrpc/rpc_thread.c: Likewise.
11463 * sysdeps/i386/strpbrk.S: Likewise.
11464 * sysdeps/ieee754/k_standard.c: Likewise.
11465 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11466 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11467 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11468 * sysdeps/mach/hurd/profil.c: Likewise.
11469 * sysdeps/s390/dl-procinfo.h: Likewise.
11470 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11471 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11472 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11473 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11474 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11475
0186c6e9
OB
114762013-08-30 Ondřej Bílka <neleai@seznam.cz>
11477
11478 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11480
d4e16af1
OB
114812013-08-29 Ondřej Bílka <neleai@seznam.cz>
11482
11483 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11484 aix specific files.
11485 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11486 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11487 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11488 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11489 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11490 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11491 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11492 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11493
88335980
TS
114942013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11495 Roland McGrath <roland@hack.frob.com>
11496
11497 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11498 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11499
ed479b02
ST
115002013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11501
11502 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11503 __executable_start symbol instead of _start.
11504
f1cc4c86
TS
115052013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11506
d821f07c
TS
11507 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11508 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11509 Move macros to...
11510 * sysdeps/gnu/ldsodefs.h: ... this new file.
11511
c54290cf
TS
11512 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11513 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11514 instead of ELFOSABI_LINUX.
11515
0007fc9b 11516 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11517 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11518 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11519 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11520 Likewise.
11521 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11522 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11523 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11524 Likewise.
11525 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11526 (ibm_extended_long_double): Add ieee_nan member.
11527 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11528 (do_test): New function.
11529
f1cc4c86
TS
11530 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11531 TEST_TRUNC.
11532 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11533 functions, renamed from truncdfsf_test, trunctfsf_test,
11534 trunctfdf_test.
11535 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11536 functions.
11537 (do_test): Run all these.
11538
6f65e668
OB
115392013-08-29 Ondřej Bílka <neleai@seznam.cz>
11540
11541 * argp/argp-help.c: Fix typos.
11542 * argp/argp-parse.c: Likewise.
11543 * debug/backtracesyms.c: Likewise.
11544 * elf/elf.h: Likewise.
11545 * malloc/malloc.c: Likewise.
11546 * nis/nis_print.c: Likewise.
11547 * resolv/res_comp.c: Likewise.
11548 * stdlib/stdlib.h: Likewise.
11549 * sunrpc/clnt_tcp.c: Likewise.
11550 * sunrpc/clnt_udp.c: Likewise.
11551 * sunrpc/clnt_unix.c: Likewise.
11552 * sysdeps/unix/bsd/ptsname.c: Likewise.
11553 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11554 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11556 Likewise.
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11558 Likewise.
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11560 Likewise.
6f65e668
OB
11561 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11562
3a309239
SP
115632013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11564
11565 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11567
3b813b29
MF
115682013-08-27 Mike Frysinger <vapier@gentoo.org>
11569
11570 [BZ #15897]
11571 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11572 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11573 ($(objpfx)bug-dl-leaf): New rule.
11574 ($(objpfx)bug-dl-leaf.so): Likewise.
11575 ($(objpfx)bug-dl-leaf.out): Likewise.
11576 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11577 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11578 * dlfcn/bug-dl-leaf.c: New test.
11579 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11580 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11581 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11582 (dlclose): Likewise.
11583 (dlmopen): Likewise.
11584
8cc3269f
RM
115852013-08-27 Roland McGrath <roland@hack.frob.com>
11586
7f9d0034
RM
11587 * include/netdb.h [!_ISOMAC]:
11588 Don't include <tls.h>.
11589 (h_errno, __libc_h_errno): Move declaration and macros out of
11590 [_LIBC_REENTRANT].
11591
fb431262
RM
11592 * include/resolv.h [_RESOLV_H_]:
11593 Don't include <tls.h>.
11594 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11595 * resolv/res_libc.c: Don't include <tls.h>.
11596 (_res): Use __attribute__ ((nocommon)) in place of
11597 __attribute__ ((section (".bss"))).
11598
bd81123a
RM
11599 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11600 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11601
c4e42566
RM
11602 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11603
f890a59b
RM
11604 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11605 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11606
11607 * resolv/res_mkquery.c: Include <sys/time.h>.
11608
5d1f0a09
RM
11609 * inet/ifreq.c: Moved to ...
11610 * sysdeps/unix/ifreq.c: ... here.
11611 * inet/ifreq.c: New file, true stub version.
11612
6fcf28b3
RM
11613 * socket/sa_len.c: New file.
11614 * socket/Makefile (aux): Add it.
11615 * sysdeps/unix/sysv/linux/Makefile
11616 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11617 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11618 and #include <socket/sa_len.c>.
11619 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11620 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11621
e041fb8b
RM
11622 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11623 * bits/socket.h: ... here.
11624
8cc3269f
RM
11625 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11626 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11627 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11628
5d228a43
AS
116292013-08-27 Andreas Schwab <schwab@suse.de>
11630
45b8accc
AS
11631 [BZ #15736]
11632 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11633 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11634 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11635 * string/test-strcasecmp.c (test_main): Run tests in several
11636 locales.
11637 * string/test-strncasecmp.c (test_main): Likewise.
11638
5d228a43
AS
11639 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11640 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11641 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11642 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11643 (__strncasecmp_ssse3) [PIC]: Likewise.
11644
59d112a4
RM
116452013-08-26 Roland McGrath <roland@hack.frob.com>
11646
53234cc3
RM
11647 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11648
59d112a4
RM
11649 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11650 instead of explicitly declaring xdecrypt.
11651 * nis/nss_nis/nis-publickey.c: Likewise.
11652
595aba70
SP
116532013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11654
11655 [BZ #15890]
11656 * nscd/aicache.c: Include res_hconf.h.
11657 (addhstaiX): Initialize res_hconf.
11658
ffabd393
AS
116592013-08-26 Andreas Schwab <schwab@suse.de>
11660
11661 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11662 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11663
e0a69f5c
SP
116642013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11665
11666 * nscd/aicache.c (addhstaiX): Fix indentation.
11667
8c12f01d
MF
116682013-08-25 Mike Frysinger <vapier@gentoo.org>
11669
11670 * configure.ac: Quote $build_pt_chown test.
11671 * configure: Regenerated.
11672
8fe89494
JM
116732013-08-23 Joseph Myers <joseph@codesourcery.com>
11674
11675 [BZ #15532]
11676 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11677 * math/s_cexpf.c (__cexpf): Likewise.
11678 * math/s_cexpl.c (__cexpl): Likewise.
11679 * math/libm-test.inc (cexp_test_data): Correct expected return
11680 value for NaN + i0. Add another test.
11681
75b181d6
DM
116822013-08-22 David S. Miller <davem@davemloft.net>
11683
11684 * po/ca.po: Update Catalan translation from translation project.
936241e4 11685 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11686
acd06bb1
JM
116872013-08-21 Joseph Myers <joseph@codesourcery.com>
11688
11689 [BZ #15797]
11690 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11691 is infinite, not alongside NaN test.
11692 * math/s_fdimf.c (__fdimf): Likewise.
11693 * math/s_fdiml.c (__fdiml): Likewise.
11694 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11695 errno is unchanged.
11696
c0c3f78a
OB
116972013-08-21 Ondřej Bílka <neleai@seznam.cz>
11698
11699 * argp/argp-help.c: Fix typos.
11700 * crypt/speeds.c: Likewise.
11701 * csu/check_fds.c: Likewise.
11702 * elf/dl-load.c: Likewise.
11703 * elf/dl-open.c: Likewise.
11704 * elf/reldep3.c: Likewise.
11705 * elf/reldep.c: Likewise.
11706 * elf/sprof.c: Likewise.
11707 * iconv/iconv_charmap.c: Likewise.
11708 * iconv/skeleton.c: Likewise.
11709 * iconv/strtab.c: Likewise.
11710 * io/lockf64.c: Likewise.
11711 * libio/libioP.h: Likewise.
11712 * resolv/gai_notify.c: Likewise.
11713 * resolv/ns_name.c: Likewise.
11714 * resolv/ns_samedomain.c: Likewise.
11715 * resolv/res_send.c: Likewise.
11716 * stdlib/random.c: Likewise.
11717 * sunrpc/rpc/xdr.h: Likewise.
11718 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11719 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11720 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11721 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11722 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11723 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11724 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11725 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11726 * sysdeps/mach/hurd/check_fds.c: Likewise.
11727 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11728 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11729 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11730 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11731 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11732 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11733 * sysdeps/pthread/aio_notify.c: Likewise.
11734 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11735 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11736 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11737 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11738 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11739
46ed1038
LD
117402013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11741
11742 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11743 version if bit_Slow_SSE4_2 is set.
11744 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11745 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11746
d400dcac
AZ
117472013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11748
11749 [BZ #15867]
11750 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11751 trampoline stack frame information.
11752 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11753 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11754 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11755 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11756 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11757 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11758 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11759 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11760 sa_flags value.
11761 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11762 interrupting a syscall and set with option SA_SIGINFO.
11763
42c8fdd8
JM
117642013-08-20 Joseph Myers <joseph@codesourcery.com>
11765
c980f2f4
JM
11766 [BZ #15531]
11767 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11768 argument is infinite.
11769 * math/s_cprojf.c (__cprojf): Likewise.
11770 * math/s_cprojl.c (__cprojl): Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11772 * math/libm-test.inc (cproj_test_data): Add more tests.
11773
0716c4fc
JM
11774 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11775
42c8fdd8
JM
11776 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11777 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11778 size. Use __ffs to determine corresponding shift.
11779
b31469d0
JM
117802013-08-20 Joseph Myers <joseph@codesourcery.com>
11781 Roland McGrath <roland@hack.frob.com>
11782
11783 * Makefile (INSTALL): Remove trailing blank lines from output of
11784 makeinfo.
11785
4e39af6e
AK
117862013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11787
11788 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11789 Align 32 bit compat elf_greg to 8 bytes.
11790
f315524e
AA
117912013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11792
11793 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11794
1326ba1a
SP
117952013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11796
11797 * string/strcoll_l.c (coll_seq): New structure.
11798 (get_next_seq_cached): New function.
11799 (get_next_seq): New function.
11800 (do_compare): New function.
11801 (STRCOLL): Use GNU style definition. Simplify implementation
11802 by using get_next_seq, get_next_seq_cached and do_compare.
11803
91ce4085
FW
118042013-08-16 Florian Weimer <fweimer@redhat.com>
11805
11806 [BZ #14699]
11807 CVE-2013-4237
11808 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11809 member.
11810 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11811 member.
11812 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11813 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11814 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11815 conditional.
11816 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11817 GETDENTS_64BIT_ALIGNED.
11818 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11819 * manual/filesys.texi (Reading/Closing Directory): Document
11820 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11821 strongly.
11822 * manual/conf.texi (Limits for Files): Add portability note to
11823 NAME_MAX, PATH_MAX.
11824 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11825
ca0a6bc4
AS
118262013-08-13 Andreas Schwab <schwab@suse.de>
11827
11828 [BZ #15749]
11829 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11830 of fabs.
11831 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11832 LDBL_MAX_EXP >= 16384]: Add tests for it.
11833
6c1fd795
DM
118342013-08-12 David S. Miller <davem@davemloft.net>
11835
11836 * version.h (RELEASE): Set to "development".
11837 (VERSION): Set to "2.18.90".
11838 * NEWS: Add 2.19 section.
11839
31ad488d
DM
118402013-08-03 David S. Miller <davem@davemloft.net>
11841
11842 * po/ko.po: Update Korean translation from translation project.
11843
db24e684
DM
118442013-08-01 David S. Miller <davem@davemloft.net>
11845
11846 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11847 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11848 Bilka.
11849
f723285b
DM
118502013-07-30 David S. Miller <davem@davemloft.net>
11851
11852 * po/fr.po: Update French translation from translation project.
11853
3cbc52db
DM
118542013-07-28 David S. Miller <davem@davemloft.net>
11855
30bbc0cc
DM
11856 * po/cs.po: Update Czech translation from translation project.
11857
3cbc52db
DM
11858 * po/sv.po: Update Swedish translation from translation project.
11859
d492e6d0
DM
118602013-07-27 David S. Miller <davem@davemloft.net>
11861
f1a7f492
DM
11862 * po/eo.po: Update Esperanto translation from translation project.
11863
90e62a4a
DM
11864 * po/vi.po: Update Vietnamese translation from translation project.
11865
d492e6d0
DM
11866 * po/de.po: Update German translation from translation project.
11867
d4baa62d
DM
118682013-07-26 David S. Miller <davem@davemloft.net>
11869
641aa7b4
DM
11870 * po/bg.po: Update Bulgarian translation from translation project.
11871
d4baa62d
DM
11872 * po/nl.po: Update Dutch translation from translation project.
11873 * po/pl.po: Update Polish translation from translation project.
11874 * po/ru.po: Update Russian translation from translation project.
11875
61a9dcb9
DM
118762013-07-24 David S. Miller <davem@davemloft.net>
11877
11878 * po/libc.pot: Update.
11879
7b1f8b58
AZ
118802013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11881
11882 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11883 variable page size.
11884 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11885 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11886 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11887
a8fc7a03
AK
118882013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11889
11890 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11891
e4608715
CD
118922013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11893 Andreas Schwab <schwab@suse.de>
11894 Roland McGrath <roland@hack.frob.com>
11895 Joseph Myers <joseph@codesourcery.com>
11896 Carlos O'Donell <carlos@redhat.com>
11897
11898 [BZ #15755]
11899 * config.h.in: Define HAVE_PT_CHOWN.
11900 * config.make.in (build-pt-chown): New variable.
11901 * configure.in (--enable-pt_chown): New configure option.
11902 * configure: Regenerate.
11903 * login/Makefile: Include Makeconfig. Build pt_chown only if
11904 build-pt-chown is enabled.
11905 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11906 pt_chown to fix pty ownership.
11907 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11908 CLOSE_ALL_FDS.
11909 * manual/install.texi (Configuring and compiling): Mention
11910 --enable-pt_chown. Add @findex for grantpt.
11911 * INSTALL: Regenerate.
11912
da2d62df
DM
119132013-07-20 David S. Miller <davem@davemloft.net>
11914
11915 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11916 difference between 32-bit and 64-bit.
11917
d7e06450
CD
119182013-07-15 Carlos O'Donell <carlos@redhat.com>
11919
11920 [BZ #15711]
11921 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11922 Avoid system header dependency with -ffreestanding.
11923 ($(objpfx)bits/syscall%d): Likewise.
11924
f959cfd7
DM
119252013-07-13 David S. Miller <davem@davemloft.net>
11926
11927 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11928 underflows from atanl/atan2l due to bug 15319.
11929 (casinh_test_data): Likewise.
11930
c61f8513
DM
119312013-07-07 David S. Miller <davem@davemloft.net>
11932
11933 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11934
72c90ed0
JA
119352013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11936
11937 * sysdeps/i386/fpu/libm-test-ulps: Update.
11938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11939
52dfbe13
SP
119402013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11941
11942 * configure.in (--enable-lock-elision): Fix message text.
11943 * INSTALL: Regenerate.
11944 * configure: Regenerate.
11945
3f169543
AZ
119462013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11947
11948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11949
521c6785
AJ
119502013-07-03 Andreas Jaeger <aj@suse.de>
11951
11952 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11953 define.
11954 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11955 (ptrace_peeksiginfo_args): Add.
11956 (__ptrace_peeksiginfo_flags): Add.
11957 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11958 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11959 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11960
d2cc15cb
AM
119612013-07-03 Allan McRae <allan@archlinux.org>
11962
11963 * sysdeps/i386/fpu/libm-test-ulps: Update.
11964
3aaeeca7
DM
119652013-07-02 David S. Miller <davem@davemloft.net>
11966
11967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11968
5314ed1a
MT
119692013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11970
11971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11972
67338156
JM
119732013-07-02 Joseph Myers <joseph@codesourcery.com>
11974
11975 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11977
1717da59
AK
119782013-07-02 Andi Kleen <ak@linux.intel.com>
11979
11980 * config.h.in (ENABLE_LOCK_ELISION): Add.
11981 * configure.in (--enable-lock-elision): Add option.
11982 * manual/install.texi: Document --enable lock elision.
11983 * configure: Regenerate
11984 * INSTALL: Regenerate.
11985
1c81621c
L
119862013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11987
11988 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11989 SSE4.2 strcasecmp for libc.a.
11990 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11991
77f01ab5
JM
119922013-07-02 Joseph Myers <joseph@codesourcery.com>
11993
11994 [BZ #13304]
11995 * soft-fp/op-common.h (_FP_FMA): New macro.
11996 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11997 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11998 (_FP_MUL_MEAT_1_imm): ... here.
11999 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12000 (_FP_MUL_MEAT_1_wide): ... here.
12001 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12002 (_FP_MUL_MEAT_1_hard): ... here.
12003 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12004 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12005 (_FP_MUL_MEAT_2_wide): ... here.
12006 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12007 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12008 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12009 (_FP_MUL_MEAT_2_gmp): ... here.
12010 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12011 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12012 (_FP_MUL_MEAT_4_wide): ... here.
12013 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12014 (_FP_MUL_MEAT_4_gmp): ... here.
12015 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12016 (_FP_WFRACBITS_DW_S): Likewise.
12017 (_FP_WFRACXBITS_DW_S): Likewise.
12018 (_FP_HIGHBIT_DW_S): Likewise.
12019 (FP_FMA_S): Likewise.
12020 (_FP_FRAC_HIGH_DW_S): Likewise.
12021 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12022 (_FP_WFRACBITS_DW_D): Likewise.
12023 (_FP_WFRACXBITS_DW_D): Likewise.
12024 (_FP_HIGHBIT_DW_D): Likewise.
12025 (FP_FMA_D): Likewise.
12026 (_FP_FRAC_HIGH_DW_D): Likewise.
12027 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12028 (_FP_WFRACBITS_DW_E): Likewise.
12029 (_FP_WFRACXBITS_DW_E): Likewise.
12030 (_FP_HIGHBIT_DW_E): Likewise.
12031 (FP_FMA_E): Likewise.
12032 (_FP_FRAC_HIGH_DW_E): Likewise.
12033 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12034 (_FP_WFRACBITS_DW_Q): Likewise.
12035 (_FP_WFRACXBITS_DW_Q): Likewise.
12036 (_FP_HIGHBIT_DW_Q): Likewise.
12037 (FP_FMA_Q): Likewise.
12038 (_FP_FRAC_HIGH_DW_Q): Likewise.
12039 * soft-fp/fmasf4.c: New file.
12040 * soft-fp/fmadf4.c: Likewise.
12041 * soft-fp/fmatf4.c: Likewise.
12042
6308fd9a
LD
120432013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12044
12045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12046 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12047 Silvermont.
12048 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12049 macro.
12050 (index_Slow_SSE4_2): Likewise.
12051 (index_Prefer_PMINUB_for_stringop): Likewise.
12052 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12053 bit_Slow_SSE4_2 is set.
12054 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12055 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12056
89cd9569
RA
120572013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12058
12059 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12060 rtld_global._dl_hwcap2.
12061 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12062 POWER8.
12063 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12064 POWER8 feature descriptions defined in _dl_hwcap2.
12065 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12066 string handling for POWER8 feature bits.
12067 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12068 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12069 _dl_powerpc_cap_flags.
12070 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12071 * sysdeps/powerpc/rtld-global-offsets.sym
12072 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12073 _dl_hwcap2 in the rtld_global_ro structure.
12074
1ae8bfe0
RA
120752013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12076
12077 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12078 hardware capabilities in support of AT_HWCAP2.
12079 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12080 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12081 GLRO(dl_hwcap2).
12082 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12083 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12084 explicitly the unknown a_type display mechanism is used.
12085 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12086 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12087 struct member.
12088 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12089 to macro prototype for AT_HWCAP2 support.
12090 * sysdeps/i386/dl-procinfo.h: Likewise.
12091 * sysdeps/s390/dl-procinfo.h: Likewise.
12092 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12093 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12094 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12095 return -1 for unknown a_type display fallback.
12096 * sysdeps/sparc/dl-procinfo.h: Likewise.
12097 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12098 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12099
8fbec010
JM
121002013-06-28 Joseph Myers <joseph@codesourcery.com>
12101
12102 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12103 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12104
0432680e
PY
121052013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12106
12107 [BZ #12492]
12108 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12109 mprotect making __stack_prot writable.
12110
ce61a2ad
NF
121112013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12112 Joseph Myers <joseph@codesourcery.com>
12113
12114 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12115 as being properly aligned.
12116
f91f1c0f
MR
121172013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12118
3d0f5d0c
MR
12119 * dlfcn/modstatic5.c: New file.
12120 * dlfcn/tststatic5.c: New file.
12121 * dlfcn/Makefile (tests): Add tststatic5.
12122 (tests-static): Likewise.
12123 (modules-names): Add modstatic5.
12124 (tststatic5-ENV): New variable.
12125 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12126
f91f1c0f
MR
12127 [BZ #15022]
12128 * elf/dl-support.c (_dl_main_map): New variable.
12129 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12130 (_dl_nns, _dl_load_adds): Set to 1.
12131 (_dl_initial_searchlist): Refer to _dl_main_map.
12132 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12133 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12134 call to _dl_get_origin.
12135 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12136 around call_map.
12137 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12138 * dlfcn/modstatic3.c: New file.
12139 * dlfcn/tststatic3.c: New file.
12140 * dlfcn/tststatic4.c: New file.
12141 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12142 (tests-static): Likewise.
12143 (modules-names): Add modstatic3.
12144 (tststatic3-ENV, tststatic4-ENV): New variables.
12145 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12146 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12147
cbe7d24b
JM
121482013-06-26 Joseph Myers <joseph@codesourcery.com>
12149
12150 * configure.in (CC): Require GCC version 4.4 or later.
12151 * configure: Regenerated.
12152 * manual/install.texi (Tools for Compilation): Update GCC version
12153 requirement.
12154 * INSTALL: Regenerated.
12155
11b8a0e1
LD
121562013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12157
12158 [BZ #15674]
bb5bb87c
L
12159 * string/test-memcmp.c (check2): New.
12160 (main): Call check2.
12161
11b8a0e1
LD
12162 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12163
b0037103
MR
121642013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12165
12166 [BZ #15022]
12167 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12168 over to...
12169 (dl_open_worker) [!SHARED]: ... here.
12170
c18c701d
RA
121712013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12172
12173 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12174
1d17fa5f
RH
121752013-06-25 Richard Henderson <rth@redhat.com>
12176
12177 * locale/programs/locarchive.c: Include <libc-internal.h>
12178
8fcb833a
JM
121792013-06-25 Joseph Myers <joseph@codesourcery.com>
12180
12181 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12182 trailing whitespace removed.
12183
17db6e8d
MF
121842013-06-24 Mike Frysinger <vapier@gentoo.org>
12185
12186 [BZ #10283]
17db6e8d
MF
12187 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12188 * locale/programs/locarchive.c: Include libc-mmap.h.
12189 (prepare_address_space): Take two new outputs (the mmap base and len).
12190 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12191 values.
12192 (create_archive): Declare new mmap base and len values for
12193 prepare_address_space, and store the result in ah.
12194 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12195 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12196 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12197 Declare new mmap base and len values for
12198 prepare_address_space, and store the result in new_ah.
12199 (open_archive): Declare new mmap base and len values for
12200 prepare_address_space, and store the result in ah.
12201 (close_archive): If ah->mmap_base is not NULL, use that and
12202 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12203 * sysdeps/generic/libc-mmap.h: New file.
12204
d605071e
MF
122052013-06-24 Mike Frysinger <vapier@gentoo.org>
12206
12207 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12208 (ALIGN_UP): Likewise.
12209 (PTR_ALIGN_DOWN): Likewise.
12210 (PTR_ALIGN_UP): Likewise.
12211
2f063a6e
RA
122122013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12213
12214 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12215 entry mapped to PPC_PLATFORM_POWER8.
12216 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12217 POWER8.
12218 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12219 (_dl_string_platform): Add case for exporting platform position for
12220 POWER8.
12221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12222 search path to sysdeps/powerpc/powerpc32/power8 directory.
12223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12224 search path to sysdeps/powerpc/powerpc64/power8 directory.
12225 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12226 power7 directories.
12227 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12228 power7 directories.
12229
a31ee4b3
SP
122302013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12231
a74ca98f
SP
12232 * INSTALL: Regenerate.
12233
a31ee4b3
SP
12234 * nscd/connections.c (nscd_init): Fix comment.
12235
695c378f
JM
122362013-06-22 Joseph Myers <joseph@codesourcery.com>
12237
d8412221
JM
12238 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12239
695c378f
JM
12240 [BZ #15667]
12241 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12242 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12243
d1d54715
MR
122442013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12245
12246 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12247 DL_DST_REQ_STATIC.
12248 (DL_DST_REQ_STATIC): Remove macro.
12249
8fdda7af
JM
122502013-06-21 Joseph Myers <joseph@codesourcery.com>
12251
12252 [BZ #7006]
12253 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12254 with a shift of 0 bits.
12255
f3bc5e5a
MR
122562013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12257
12258 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12259 $(tststatic-ENV).
12260
be09e8c9
KK
122612013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12262
12263 [BZ #15655]
12264 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12265
85c2e611
AZ
122662013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12267
12268 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12269 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12270 accepts -fno-tree-loop-distribute-patterns.
12271 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12272 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12273 recursive call.
12274 * string/memset.c (memset): Likewise.
12275 * string/test-memmove.c (simple_memmove): Disable loop transformation
12276 to library calls.
12277 * string/test-memset.c (simple_memset): Likewise.
12278 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12279 * benchtests/bench-memset.c (simple_memset): Likewise.
12280 * configure: Regenerated.
12281
c91e0825
JM
122822013-06-20 Joseph Myers <joseph@codesourcery.com>
12283
b8c792af
JM
12284 * math/test-misc.c (main): Ignore fesetround failure when failures
12285 of subsequent rounding tests would be ignored.
12286
c91e0825
JM
12287 [BZ #15654]
12288 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12289 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12290 * math/fegetenv.c (__fegetenv): Return 0.
12291 * math/fegetexcept.c (fegetexcept): Return 0.
12292 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12293 FE_TONEAREST.
12294 * math/feholdexcpt.c (feholdexcept): Return 0.
12295 * math/fesetenv.c (__fesetenv): Return 0.
12296 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12297 argument FE_TONEAREST.
12298 * math/feupdateenv.c (__feupdateenv): Return 0.
12299 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12300
bfcacbde
RM
123012013-06-18 Roland McGrath <roland@hack.frob.com>
12302
12303 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12304 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12305 ($(objpfx)rtld-%.os rules): Use them.
12306
e55a9b25
AZ
123072013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12308
12309 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12310 fields.
12311
346d65b3
RM
123122013-06-17 Roland McGrath <roland@hack.frob.com>
12313
12086fb4
RM
12314 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12315 length of target pattern, then descending length of dependency pattern.
12316 * configure.in (AWK): Require gawk 3.1.2 or newer.
12317 * manual/install.texi (Tools for Compilation): Say that we do.
12318 * configure: Regenerated.
12319
346d65b3
RM
12320 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12321 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12322 * scripts/sysd-rules.awk: ... this new script.
12323 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12324 than a glob-style pattern.
12325
1a846317
JM
123262013-06-17 Joseph Myers <joseph@codesourcery.com>
12327
12328 * math/test-misc.c (main): Do not treat incorrectly rounded
12329 conversions as failure unless ROUNDING_TESTS passes.
12330
8fc75e6f
JM
123312013-06-15 Joseph Myers <joseph@codesourcery.com>
12332
3711a167
JM
12333 [BZ #15631]
12334 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12335 restore exception state around main square root computation, then
12336 check for inexactness explicitly.
12337
8fc75e6f
JM
12338 * math/libm-test.inc (fma_test_data): Add another test.
12339
61dd6208
SP
123402013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12341
adf23d2c
SP
12342 * manual/threads.texi (Non-POSIX Extensions): New document
12343 node. Document pthread_getattr_default_np and
12344 pthread_setattr_default_np.
12345
61dd6208
SP
12346 * Versions.def (libpthread): Add GLIBC_2.18.
12347 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12349 Likewise.
12350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12351 Likewise.
12352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12353 Likewise.
12354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12355 Likewise.
12356 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12357 Likewise.
12358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12359 Likewise.
12360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12361 Likewise.
12362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12363 Likewise.
12364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12365 Likewise.
12366
d086fc7b
LD
123672013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12368
12369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12370 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12371
747ef469
SP
123722013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12373 H.J. Lu <hjl.tools@gmail.com>
12374
12375 [BZ #15627]
12376 * sysdeps/x86_64/rtld-memset.c: Remove file.
12377 * sysdeps/x86_64/rtld-memset.S: New file.
12378
1b2feed2
JM
123792013-06-14 Joseph Myers <joseph@codesourcery.com>
12380
12381 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12382 (test_in_one_mode): Take arguments for whether the rounding mode
12383 is supported for each floating-point type.
12384 (do_test): Pass new arguments to test_in_one_mode using
12385 ROUNDING_TESTS.
12386
a58ad3f8
RM
123872013-06-13 Roland McGrath <roland@hack.frob.com>
12388
12389 * posix/tst-waitid.c (do_test): Distinguish different instances of
12390 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12391 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12392 before entering the kernel for waitpid.
12393
c204ab28
SP
123942013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12395
12396 * NEWS: Fix note on clock function precision. Text by Roland
12397 McGrath.
12398
f4a29fba
RM
123992013-06-13 Roland McGrath <roland@hack.frob.com>
12400
12401 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12402 it into place only when and if the sanity check passes.
12403
1f24b9ad
JM
124042013-06-13 Joseph Myers <joseph@codesourcery.com>
12405
12406 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12407 output for whether conversion result is exact. Take argument
12408 indicating whether type is IBM long double.
12409 (round_for_all): Change need_exact field to ibm_ld.
12410 * stdlib/tst-strtod-round.c (struct exactness): New type.
12411 (struct test): Change bool ld_ok field to struct exactness exact.
12412 (TEST): Update all definitions for change to field.
12413 (tests): Regenerate array contents.
12414 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12415 field value. Check for IBM long double here.
12416 (do_test): Update calls to test_in_one_mode.
12417
58206c68
SP
124182013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12419
12420 [BZ #12515]
12421 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12422 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12423
2d6f4c5b 124242013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
12425
12426 [BZ #15605]
12427 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12428 generated by the compiler on loop optimizations.
12429 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12430 general definitions.
12431
94f2c076
JM
124322013-06-12 Joseph Myers <joseph@codesourcery.com>
12433
12434 * math/bug-nextafter.c: Include <math-tests.h>.
12435 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12436 the relevant type.
12437 * math/bug-nexttoward.c: Include <math-tests.h>.
12438 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12439 the relevant type.
12440 * math/test-misc.c: Include <math-tests.h>.
12441 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12442 the relevant type.
12443
e0e50a0a
AJ
124442013-06-12 Andreas Jaeger <aj@suse.de>
12445
12446 * po/ia.po: Update Interlingua translation from translation
12447 project.
12448
25061094
SP
124492013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12450
12451 * include/fenv.h: Include stdbool.h.
12452 (struct rm_ctx): New structure.
12453 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12454 Define macro.
12455 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12456 (SET_RESTORE_ROUNDF): Likewise.
12457 (SET_RESTORE_ROUNDL): Likewise.
12458 (SET_RESTORE_ROUND_NOEX): Likewise.
12459 (SET_RESTORE_ROUND_NOEXF): Likewise.
12460 (SET_RESTORE_ROUND_NOEXL): Likewise.
12461 (SET_RESTORE_ROUND_53BIT): Likewise.
12462 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12463 (libc_feresetround_noexf_ctx): Likewise.
12464 (libc_feresetround_noexl_ctx): Likewise.
12465 (libc_feholdsetround_53bit_ctx): Likewise.
12466 (libc_feresetround_53bit_ctx): Likewise.
12467 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12468 (libc_feholdexcept_setround_sse_ctx): New function.
12469 (libc_fesetenv_sse_ctx): Likewise.
12470 (libc_feupdateenv_sse_ctx): Likewise.
12471 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12472 (libc_feholdexcept_setround_387_ctx): Likewise.
12473 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12474 (libc_feholdsetround_387_prec_ctx): Likewise.
12475 (libc_feholdsetround_387_ctx): Likewise.
12476 (libc_feholdsetround_387_53bit_ctx): Likewise.
12477 (libc_feholdsetround_sse_ctx): Likewise.
12478 (libc_feresetround_sse_ctx): Likewise.
12479 (libc_feresetround_387_ctx): Likewise.
12480 (libc_feupdateenv_387_ctx): Likewise.
12481 (libc_feholdexcept_setroundf_ctx): Define macro.
12482 (libc_fesetenvf_ctx): Likewise.
12483 (libc_feupdateenvf_ctx): Likewise.
12484 (libc_feholdsetroundf_ctx): Likewise.
12485 (libc_feresetroundf_ctx): Likewise.
12486 (libc_feholdexcept_setround_ctx): Likewise.
12487 (libc_fesetenv_ctx): Likewise.
12488 (libc_feupdateenv_ctx): Likewise.
12489 (libc_feholdsetround_ctx): Likewise.
12490 (libc_feresetround_ctx): Likewise.
12491 (libc_feholdexcept_setroundl_ctx): Likewise.
12492 (libc_feupdateenvl_ctx): Likewise.
12493 (libc_feholdsetroundl_ctx): Likewise.
12494 (libc_feresetroundl_ctx): Likewise.
12495 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12496 (libc_feresetround_53bit_ctx): Likewise.
12497
59b30555
SP
124982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12499
12500 * locale/iso-639.def: Convert to UTF-8.
12501
f1d73d30
JM
125022013-06-11 Joseph Myers <joseph@codesourcery.com>
12503
12504 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12505 (EXCEPTION_TESTS_double): Likewise.
12506 (EXCEPTION_TESTS_long_double): Likewise.
12507 (EXCEPTION_TESTS): Likewise.
12508 * math/libm-test.inc (test_exceptions): Only test exceptions if
12509 EXCEPTION_TESTS (FLOAT).
12510
94aca5e7
SP
125112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12512
12513 * benchtests/Makefile (string-bench): Add strcpy_chk and
12514 stpcpy_chk.
12515 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12516 * benchtests/bench-stpcpy_chk.c: New file.
12517 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12518 * benchtests/bench-strcpy_chk.c: New file.
12519 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12520 code.
12521 (do_test): Likewise.
12522
fac0c5f2
RA
125232013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12524
12525 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12526 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12527 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12528 with tabs where appropriate.
12529 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12530 dl-procinfo.h.
12531 [PPC_PLATFORM_PPC440]: Likewise.
12532 [PPC_PLATFORM_PPC464]: Likewise.
12533 [PPC_PLATFORM_PPC476]: Likewise.
12534 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12535 ppc464, and ppc476 platform strings merging from ports/
12536 dl-procinfo.h.
12537
f22bc486
AS
125382013-06-11 Andreas Schwab <schwab@suse.de>
12539
12540 [BZ #14991]
12541 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12542 (from_ucs4_idx): Regenerate.
12543 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12544 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12545 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12546 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12547 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12548 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12549 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12550 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12551 from FROM_LOOP and TO_LOOP specific macros.
12552 (BODY): Handle combining characters.
12553 * iconvdata/BIG5HKSCS.irreversible: Update.
12554 * iconvdata/BIG5HKSCS.precomposed: New file.
12555 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12556 characters.
12557 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12558
c1f75dc3
SP
125592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12560
4eacded2
SP
12561 * include/sys/time.h: Fix indentation and add copyright header.
12562
fec799f8
SP
12563 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12564 (do_test): Likewise.
12565 * string/test-memchr.c (do_one_test): Likewise.
12566 (do_test): Likewise.
12567 * string/test-memcmp.c (do_one_test): Likewise.
12568 (do_test): Likewise.
12569 * string/test-memcpy.c (do_one_test): Likewise.
12570 (do_test): Likewise.
12571 * string/test-memmem.c (do_one_test): Likewise.
12572 (do_test): Likewise.
12573 (do_random_tests): Likewise.
12574 * string/test-memmove.c (do_one_test): Likewise.
12575 (do_test): Likewise.
12576 * string/test-memset.c (do_one_test): Likewise.
12577 (do_test): Likewise.
12578 * string/test-rawmemchr.c (do_one_test): Likewise.
12579 (do_test): Likewise.
12580 * string/test-strcasecmp.c (do_one_test): Likewise.
12581 (do_test): Likewise.
12582 * string/test-strcasestr.c (do_one_test): Likewise.
12583 (do_test): Likewise.
12584 * string/test-strcat.c (do_one_test): Likewise.
12585 (do_test): Likewise.
12586 * string/test-strchr.c (do_one_test): Likewise.
12587 (do_test): Likewise.
12588 * string/test-strcmp.c (do_one_test): Likewise.
12589 (do_test): Likewise.
12590 * string/test-strcpy.c (do_one_test): Likewise.
12591 (do_test): Likewise.
12592 * string/test-string.h: Likewise.
12593 (test_init): Likewise.
12594 * string/test-strlen.c (do_one_test): Likewise.
12595 (do_test): Likewise.
12596 * string/test-strncasecmp.c (do_one_test): Likewise.
12597 (do_test): Likewise.
12598 * string/test-strncat.c (do_one_test): Likewise.
12599 (do_test): Likewise.
12600 * string/test-strncmp.c (do_one_test): Likewise.
12601 (do_test_limit): Likewise.
12602 (do_test): Likewise.
12603 * string/test-strncpy.c (do_one_test): Likewise.
12604 (do_test): Likewise.
12605 * string/test-strnlen.c (do_one_test): Likewise.
12606 (do_test): Likewise.
12607 * string/test-strpbrk.c (do_one_test): Likewise.
12608 (do_test): Likewise.
12609 * string/test-strrchr.c (do_one_test): Likewise.
12610 (do_test): Likewise.
12611 * string/test-strspn.c (do_one_test): Likewise.
12612 (do_test): Likewise.
12613 * string/test-strstr.c (do_one_test): Likewise.
12614 (do_test): Likewise.
12615
97020474
SP
12616 * benchtests/Makefile (string-bench): Add string benchmarks.
12617 * benchtests/bench-bcopy-ifunc.c: New file.
12618 * benchtests/bench-bcopy.c: New file.
12619 * benchtests/bench-bzero-ifunc.c: New file.
12620 * benchtests/bench-bzero.c: New file.
12621 * benchtests/bench-memccpy-ifunc.c: New file.
12622 * benchtests/bench-memccpy.c: New file.
12623 * benchtests/bench-memchr-ifunc.c: New file.
12624 * benchtests/bench-memchr.c: New file.
12625 * benchtests/bench-memcmp-ifunc.c: New file.
12626 * benchtests/bench-memcmp.c: New file.
12627 * benchtests/bench-memmem-ifunc.c: New file.
12628 * benchtests/bench-memmem.c: New file.
12629 * benchtests/bench-memmove-ifunc.c: New file.
12630 * benchtests/bench-memmove.c: New file.
12631 * benchtests/bench-mempcpy-ifunc.c: New file.
12632 * benchtests/bench-mempcpy.c: New file.
12633 * benchtests/bench-memset-ifunc.c: New file.
12634 * benchtests/bench-memset.c: New file.
12635 * benchtests/bench-rawmemchr-ifunc.c: New file.
12636 * benchtests/bench-rawmemchr.c: New file.
12637 * benchtests/bench-stpcpy-ifunc.c: New file.
12638 * benchtests/bench-stpcpy.c: New file.
12639 * benchtests/bench-stpncpy-ifunc.c: New file.
12640 * benchtests/bench-stpncpy.c: New file.
12641 * benchtests/bench-strcasecmp-ifunc.c: New file.
12642 * benchtests/bench-strcasecmp.c: New file.
12643 * benchtests/bench-strcasestr-ifunc.c: New file.
12644 * benchtests/bench-strcasestr.c: New file.
12645 * benchtests/bench-strcat-ifunc.c: New file.
12646 * benchtests/bench-strcat.c: New file.
12647 * benchtests/bench-strchr-ifunc.c: New file.
12648 * benchtests/bench-strchr.c: New file.
12649 * benchtests/bench-strchrnul-ifunc.c: New file.
12650 * benchtests/bench-strchrnul.c: New file.
12651 * benchtests/bench-strcmp-ifunc.c: New file.
12652 * benchtests/bench-strcmp.c: New file.
12653 * benchtests/bench-strcpy-ifunc.c: New file.
12654 * benchtests/bench-strcpy.c: New file.
12655 * benchtests/bench-strcspn-ifunc.c: New file.
12656 * benchtests/bench-strcspn.c: New file.
12657 * benchtests/bench-strlen-ifunc.c: New file.
12658 * benchtests/bench-strlen.c: New file.
12659 * benchtests/bench-strncasecmp-ifunc.c: New file.
12660 * benchtests/bench-strncasecmp.c: New file.
12661 * benchtests/bench-strncat-ifunc.c: New file.
12662 * benchtests/bench-strncat.c: New file.
12663 * benchtests/bench-strncmp-ifunc.c: New file.
12664 * benchtests/bench-strncmp.c: New file.
12665 * benchtests/bench-strncpy-ifunc.c: New file.
12666 * benchtests/bench-strncpy.c: New file.
12667 * benchtests/bench-strnlen-ifunc.c: New file.
12668 * benchtests/bench-strnlen.c: New file.
12669 * benchtests/bench-strpbrk-ifunc.c: New file.
12670 * benchtests/bench-strpbrk.c: New file.
12671 * benchtests/bench-strrchr-ifunc.c: New file.
12672 * benchtests/bench-strrchr.c: New file.
12673 * benchtests/bench-strspn-ifunc.c: New file.
12674 * benchtests/bench-strspn.c: New file.
12675 * benchtests/bench-strstr-ifunc.c: New file.
12676 * benchtests/bench-strstr.c: New file.
12677
c1f75dc3
SP
12678 * benchtests/Makefile: Disable parallel execution of targets.
12679 (string-bench): Add memcpy.
12680 (benchset): New variable to store a list of benchmark sets.
12681 (bench-func): Renamed from bench.
12682 (bench-set): New target.
12683 (bench): Depend on bench-func and bench-set.
12684 * benchtests/README: Add section on benchmark sets.
12685 * benchtests/bench-memcpy-ifunc.c: New file.
12686 * benchtests/bench-memcpy.c: New file.
12687 * benchtests/bench-string.h: New file.
12688
50fd745b
AS
126892013-06-11 Andreas Schwab <schwab@suse.de>
12690
12691 [BZ #15577]
12692 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12693 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12694 values in the triple.
12695 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12696 terminator in the group key.
12697
3ee7e9fe
AJ
126982013-06-11 Andreas Jaeger <aj@suse.de>
12699
12700 * po/zh_TW.po: Update Chinese (traditional) translation from
12701 translation project.
12702
89fb6835
SP
127032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12704
12705 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12706 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12707 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12708 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12709 (clock_getcpuclockid): Likewise.
12710 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12711 Add weak_alias and libc_hidden_def.
12712 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12713 * rt/clock_gettime.c (clock_gettime): Rename to
12714 __clock_gettime. Add weak_alias and libc_hidden_def.
12715 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12716 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12717 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12718 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12719 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12720 Likewise.
12721 * rt/clock_settime.c (clock_settime): Rename to
12722 __clock_settime. Add weak_alias and libc_hidden_def.
12723 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12724
0efa6f8b
JM
127252013-06-10 Joseph Myers <joseph@codesourcery.com>
12726
b8c61b4b
JM
12727 * mach/err_boot.sub: Remove trailing whitespace.
12728 * mach/err_ipc.sub: Likewise.
12729 * mach/err_mach.sub: Likewise.
12730
0efa6f8b
JM
12731 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12732 (ROUNDING_TESTS_double): Likewise.
12733 (ROUNDING_TESTS_long_double): Likewise.
12734 (ROUNDING_TESTS): Likewise.
12735 * math/libm-test.inc: Include <math-tests.h>.
12736 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12737 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12738 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12739 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12740
50b818bf
SP
127412013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12742
12743 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12744 of assigning.
12745
60d2f8f3
JM
127462013-06-08 Joseph Myers <joseph@codesourcery.com>
12747
4902d2c3
JM
12748 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12749 otherwise empty TRANS lines.
12750 * sysdeps/gnu/errlist.c: Regenerated.
12751
60d2f8f3
JM
12752 * catgets/gencat.c (error_print): Use (void) in function
12753 definition.
12754 * crypt/crypt_util.c (__init_des): Likewise.
12755 * crypt/speeds.c (Stop): Likewise.
12756 (main): Likewise.
12757 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12758 * inet/ruserpass.c (token): Likewise.
12759 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12760 * intl/localealias.c (extend_alias_table): Likewise.
12761 * intl/plural-exp.c (init_germanic_plural): Likewise.
12762 * libio/fcloseall.c (__fcloseall): Likewise.
12763 * libio/genops.c (_IO_flush_all): Likewise.
12764 (_IO_flush_all_linebuffered): Likewise.
12765 (_IO_cleanup): Likewise.
12766 (_IO_iter_begin): Likewise.
12767 (_IO_iter_end): Likewise.
12768 (_IO_list_lock): Likewise.
12769 (_IO_list_unlock): Likewise.
12770 (_IO_list_resetlock): Likewise.
12771 * libio/getchar.c (getchar): Likewise.
12772 * libio/getchar_u.c (getchar_unlocked): Likewise.
12773 * libio/getwchar.c (getwchar): Likewise.
12774 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12775 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12776 * login/getpt.c (__getpt): Likewise.
12777 * login/tst-utmp.c (main): Likewise.
12778 * malloc/hooks.c (__malloc_check_init): Likewise.
12779 * malloc/malloc.c (__malloc_stats): Likewise.
12780 * malloc/mtrace.c (tr_break): Likewise.
12781 (mtrace): Likewise.
12782 (muntrace): Likewise.
12783 * misc/fstab.c (endfsent): Likewise.
12784 * misc/getclktck.c (__getclktck): Likewise.
12785 * misc/getdtsz.c (__getdtablesize): Likewise.
12786 * misc/gethostid.c (gethostid): Likewise.
12787 * misc/getpagesize.c (__getpagesize): Likewise.
12788 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12789 (__get_nprocs): Likewise.
12790 (__get_phys_pages): Likewise.
12791 (__get_avphys_pages): Likewise.
12792 * misc/getttyent.c (getttyent): Likewise.
12793 (setttyent): Likewise.
12794 (endttyent): Likewise.
12795 * misc/getusershell.c (getusershell): Likewise.
12796 (endusershell): Likewise.
12797 (setusershell): Likewise.
12798 (initshells): Likewise.
12799 * misc/hsearch.c (__hdestroy): Likewise.
12800 * misc/sync.c (sync): Likewise.
12801 * misc/syslog.c (closelog_internal): Likewise.
12802 (closelog): Likewise.
12803 * misc/ttyslot.c (ttyslot): Likewise.
12804 * misc/vhangup.c (vhangup): Likewise.
12805 * posix/fork.c (__fork): Likewise.
12806 * posix/getegid.c (__getegid): Likewise.
12807 * posix/geteuid.c (__geteuid): Likewise.
12808 * posix/getgid.c (__getgid): Likewise.
12809 * posix/getpid.c (__getpid): Likewise.
12810 * posix/getppid.c (__getppid): Likewise.
12811 * posix/getuid.c (__getuid): Likewise.
12812 * posix/pause.c (pause): Likewise.
12813 * posix/setpgrp.c (setpgrp): Likewise.
12814 * posix/setsid.c (__setsid): Likewise.
12815 * posix/test-vfork.c (noop): Likewise.
12816 * resolv/gethnamaddr.c (_endhtent): Likewise.
12817 (_gethtent): Likewise.
12818 (ht_endhostent): Likewise.
12819 (gethostent): Likewise.
12820 (dns_service): Likewise.
12821 * stdlib/drand48.c (drand48): Likewise.
12822 * stdlib/lrand48.c (lrand48): Likewise.
12823 * stdlib/mrand48.c (mrand48): Likewise.
12824 * stdlib/rand.c (rand): Likewise.
12825 * stdlib/random.c (__random): Likewise.
12826 * stdlib/setenv.c (clearenv): Likewise.
12827 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12828 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12829 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12830 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12831 (__get_nprocs): Likewise.
12832 (__get_phys_pages): Likewise.
12833 (__get_avphys_pages): Likewise.
12834 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12835 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12836 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12837 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12838 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12839 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12840 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12841 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12842 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12843 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12844 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12845 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12846 * sysdeps/posix/clock.c (clock): Likewise.
12847 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12848 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12849 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12850 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12851 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12852 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12853 (__get_nprocs_conf): Likewise.
12854 (__get_phys_pages): Likewise.
12855 (__get_avphys_pages): Likewise.
12856 * time/clock.c (clock): Likewise.
12857 * time/tzset.c (__tzname_max): Likewise.
12858
2e09a79a
JM
128592013-06-07 Joseph Myers <joseph@codesourcery.com>
12860
12861 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12862 (__bswap_32): Do not use "register".
12863 * crypt/crypt.c (_ufc_doit_r): Likewise.
12864 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12865 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12866 * gmon/gmon.c (__monstartup): Likewise.
12867 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12868 * hurd/hurdmalloc.c (more_memory): Likewise.
12869 (malloc): Likewise.
12870 (free): Likewise.
12871 (realloc): Likewise.
12872 (malloc_fork_prepare): Likewise.
12873 (malloc_fork_parent): Likewise.
12874 (malloc_fork_child): Likewise.
12875 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12876 (_svcauth_des): Likewise.
12877 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12878 * inet/inet_net.c (inet_network): Likewise.
12879 * inet/inet_netof.c (inet_netof): Likewise.
12880 * inet/rcmd.c (__validuser2_sa): Likewise.
12881 * io/fts.c (fts_open): Likewise.
12882 (fts_load): Likewise.
12883 (fts_close): Likewise.
12884 (fts_read): Likewise.
12885 (fts_children): Likewise.
12886 (fts_build): Likewise.
12887 (fts_stat): Likewise.
12888 (fts_sort): Likewise.
12889 (fts_alloc): Likewise.
12890 (fts_lfree): Likewise.
12891 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12892 (_IO_file_xsgetn): Likewise.
12893 (_IO_file_xsgetn_mmap): Likewise.
12894 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12895 (_IO_cookie_write): Likewise.
12896 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12897 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12898 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12899 * malloc/obstack.c (_obstack_begin): Likewise.
12900 (_obstack_begin_1): Likewise.
12901 (_obstack_newchunk): Likewise.
12902 (_obstack_allocated_p): Likewise.
12903 (obstack_free): Likewise.
12904 (_obstack_memory_used): Likewise.
12905 * misc/getttyent.c (getttynam): Likewise.
12906 (getttyent): Likewise.
12907 (skip): Likewise.
12908 (value): Likewise.
12909 * misc/getusershell.c (initshells): Likewise.
12910 * misc/syslog.c (__vsyslog_chk): Likewise.
12911 * misc/ttyslot.c (ttyslot): Likewise.
12912 * nis/nis_hash.c (__nis_hash): Likewise.
12913 * posix/fnmatch_loop.c (FCT): Likewise.
12914 * posix/getconf.c (print_all): Likewise.
12915 (main): Likewise.
12916 * posix/getopt.c (exchange): Likewise.
12917 * posix/glob.c (globfree): Likewise.
12918 (prefix_array): Likewise.
12919 (__glob_pattern_type): Likewise.
12920 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12921 (NS_GET32): Likewise.
12922 (NS_PUT16): Likewise.
12923 (NS_PUT32): Likewise.
12924 * resolv/gethnamaddr.c (getanswer): Likewise.
12925 (gethostbyname2): Likewise.
12926 (gethostbyaddr): Likewise.
12927 (_gethtent): Likewise.
12928 (_gethtbyname2): Likewise.
12929 (_gethtbyaddr): Likewise.
12930 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12931 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12932 * resolv/res_init.c (__res_vinit): Likewise.
12933 (net_mask): Likewise.
12934 * resolv/res_mkquery.c (outchar): Likewise.
12935 (PRINT): Likewise.
12936 * stdio-common/printf_fp.c (outchar): Likewise.
12937 (PRINT): Likewise.
12938 * stdio-common/printf_fphex.c (outchar): Likewise.
12939 (PRINT): Likewise.
12940 * stdio-common/printf_size.c (outchar): Likewise.
12941 (PRINT): Likewise.
12942 * stdio-common/test_rdwr.c (main): Likewise.
12943 * stdio-common/tfformat.c (matches): Likewise.
12944 * stdio-common/vfprintf.c (outchar): Likewise.
12945 (printf_unknown): Likewise.
12946 (buffered_vfprintf): Likewise.
12947 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12948 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12949 (ReadFile): Likewise.
12950 * stdlib/qsort.c (SWAP): Likewise.
12951 (_quicksort): Likewise.
12952 * stdlib/setenv.c (__add_to_environ): Likewise.
12953 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12954 * stdlib/strtol_l.c (__strtol_l): Likewise.
12955 * stdlib/tst-strtod.c (main): Likewise.
12956 * stdlib/tst-strtol.c (main): Likewise.
12957 * stdlib/tst-strtoll.c (main): Likewise.
12958 * string/bits/string2.h (__strcmp_cc): Likewise.
12959 (__strcmp_cg): Likewise.
12960 (__strcspn_c1): Likewise.
12961 (__strcspn_c2): Likewise.
12962 (__strcspn_c3): Likewise.
12963 (__strspn_c1): Likewise.
12964 (__strspn_c2): Likewise.
12965 (__strspn_c3): Likewise.
12966 (__strsep_1c): Likewise.
12967 (__strsep_2c): Likewise.
12968 (__strsep_3c): Likewise.
12969 * string/memccpy.c (__memccpy): Likewise.
12970 * string/stpcpy.c (__stpcpy): Likewise.
12971 * string/strcmp.c (strcmp): Likewise.
12972 * string/strrchr.c (strrchr): Likewise.
12973 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12974 Likewise.
12975 * sysdeps/mach/hurd/getcwd.c
12976 (_hurd_canonicalize_directory_name_internal): Likewise.
12977 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12978 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12979 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12980 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12981 Likewise, in both definitions.
12982 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12983 definitions.
12984 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12985 64] (__bswap_64): Likewise.
12986 * time/test_time.c (main): Likewise.
12987 * time/tzfile.c (__tzfile_read): Likewise.
12988 (__tzfile_compute): Likewise.
12989 * time/tzset.c (__tzset_parse_tz): Likewise.
12990 (tzset_internal): Likewise.
12991 (compute_change): Likewise.
12992 * wcsmbs/wcscat.c (__wcscat): Likewise.
12993 * wcsmbs/wcschr.c (wcschr): Likewise.
12994 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12995 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12996 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12997 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12998 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12999 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13000 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13001 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13002 * wcsmbs/wmemset.c (wmemset): Likewise.
13003
9e54314b
JM
130042013-06-06 Joseph Myers <joseph@codesourcery.com>
13005
13006 * scripts/config.guess: Update to version 2013-05-16.
13007 * scripts/config.sub: Update to version 2013-04-24.
13008 * scripts/install-sh: Update to version 2011-11-20.07.
13009 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13010 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13011
350635a5
OB
130122013-06-06 Ondřej Bílka <neleai@seznam.cz>
13013
13014 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13015 * elf/sln.c: Likewise.
13016 * hurd/hurd/ioctl.h: Likewise.
13017 * hurd/hurdmalloc.c: Likewise.
13018 * hurd/xattr.c: Likewise.
13019 * include/shlib-compat.h: Likewise.
13020 * inet/ruserpass.c: Likewise.
13021 * libio/iofgets_u.c: Likewise.
13022 * libio/iofgetws_u.c: Likewise.
13023 * locale/programs/ld-identification.c: Likewise.
13024 * locale/programs/ld-time.c: Likewise.
13025 * mach/msg-destroy.c: Likewise.
13026 * nss/nss_files/files-netgrp.c: Likewise.
13027 * resolv/res_data.c: Likewise.
13028 * soft-fp/op-1.h: Likewise.
13029 * soft-fp/op-2.h: Likewise.
13030 * soft-fp/op-4.h: Likewise.
13031 * soft-fp/op-common.h: Likewise.
13032 * stdio-common/printf_fphex.c: Likewise.
13033 * stdlib/strtod_l.c: Likewise.
13034 * sunrpc/rpc/clnt.h: Likewise.
13035 * sysdeps/generic/framestate.c: Likewise.
13036 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13037 * sysdeps/i386/bsd-setjmp.S: Likewise.
13038 * sysdeps/i386/__longjmp.S: Likewise.
13039 * sysdeps/i386/setjmp.S: Likewise.
13040 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13041 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13042 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13043 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13044 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13045 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13046 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13047 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13048 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13049 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13050 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13051 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13052 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13053 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13054 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13055 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13056 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13057 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13058 * sysdeps/ieee754/support.c: Likewise.
13059 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13060 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13061 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13062 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13063 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13064 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13065 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13066 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13067 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13068 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13069 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13070 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13071 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13072 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13073 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13074 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13075 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13077
44a988af
OB
130782013-06-05 Ondřej Bílka <neleai@seznam.cz>
13079
25506f09 13080 * posix/transbug.c: Remove executable mode.
44a988af 13081
9c84384c
JM
130822013-06-05 Joseph Myers <joseph@codesourcery.com>
13083
13084 * crypt/speeds.c: Remove trailing whitespace.
13085 * dlfcn/default.c: Likewise.
13086 * elf/ifuncdep2.c: Likewise.
13087 * elf/ifuncmain1.c: Likewise.
13088 * elf/ifuncmain1vis.c: Likewise.
13089 * elf/testobj.h: Likewise.
13090 * elf/tst-stackguard1.c: Likewise.
13091 * gmon/sys/gmon.h: Likewise.
13092 * hurd/hurdmsg.c: Likewise.
13093 * hurd/new-fd.c: Likewise.
13094 * hurd/ports-get.c: Likewise.
13095 * iconvdata/ibm1008_420.c: Likewise.
13096 * inet/tst-getni1.c: Likewise.
13097 * inet/tst-getni2.c: Likewise.
13098 * libio/ioungetc.c: Likewise.
13099 * libio/wfiledoalloc.c: Likewise.
13100 * manual/libm-err-tab.pl: Likewise.
13101 * math/w_dremf.c: Likewise.
13102 * misc/ftruncate.c: Likewise.
13103 * posix/bug-glob2.c: Likewise.
13104 * posix/tst-pcre.c: Likewise.
13105 * posix/wait4.c: Likewise.
13106 * resolv/README: Likewise.
13107 * resolv/res_debug.h: Likewise.
13108 * resolv/tst-inet_ntop.c: Likewise.
13109 * setjmp/bug269-setjmp.c: Likewise.
13110 * soft-fp/extended.h: Likewise.
13111 * soft-fp/op-1.h: Likewise.
13112 * soft-fp/op-2.h: Likewise.
13113 * soft-fp/op-4.h: Likewise.
13114 * soft-fp/op-8.h: Likewise.
13115 * soft-fp/testit.c: Likewise.
13116 * stdio-common/bug16.c: Likewise.
13117 * stdlib/random.c: Likewise.
13118 * sunrpc/rpcsvc/rquota.x: Likewise.
13119 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13120 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13121 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13122 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13123 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13124 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13125 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13126 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13127 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13128 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13129 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13130 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13131 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13132 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13133 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13135 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13138 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13143 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13144 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13145 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13146 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13147 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13148 * sysdeps/ieee754/s_lib_version.c: Likewise.
13149 * sysdeps/mach/hurd/check_fds.c: Likewise.
13150 * sysdeps/mach/hurd/getsockname.c: Likewise.
13151 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13152 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13153 * sysdeps/powerpc/bits/link.h: Likewise.
13154 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13155 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13156 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13157 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13158 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13159 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13160 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13161 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13162 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13163 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13164 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13165 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13166 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13167 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13168 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13169 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13170 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13171 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13172 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13173 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13174 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13175 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13176 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13177 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13178 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13179 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13180 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13181 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13182 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13183 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13184 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13185 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13186 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13187 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13188 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13189 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13190 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13191 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13192 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13193 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13194 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13195 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13196 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13197 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13198 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13199 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13200 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13201 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13202 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13203 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13206 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13207 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13208 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13209 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13210 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13211 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13212 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13213 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13214 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13215 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13216 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13217 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13218 * sysdeps/powerpc/sysdep.h: Likewise.
13219 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13220 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13221 * sysdeps/sh/dl-trampoline.S: Likewise.
13222 * sysdeps/sh/memset.S: Likewise.
13223 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13224 * sysdeps/sh/strlen.S: Likewise.
13225 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13226 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13227 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13228 * sysdeps/sparc/sparc32/rem.S: Likewise.
13229 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13230 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13231 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13232 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13233 * sysdeps/sparc/sparc32/urem.S: Likewise.
13234 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13235 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13236 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13237 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13238 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13239 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13240 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13241 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13242 * sysdeps/unix/bsd/times.c: Likewise.
13243 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13244 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13248 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13249 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13250 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13251 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13252 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13253 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13254 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13255 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13256 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13257 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13258 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13259 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13260 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13261 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13262 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13263 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13264 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13265 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13266 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13267 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13268 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13269 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13270 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13271 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13272 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13273 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13274 * sysdeps/x86_64/strcspn.S: Likewise.
13275
869378a5
RA
132762013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13277
13278 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13279 generated file. Regenerate properly from gen-translit.pl.
13280 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13281 locale/C-translit.h.
13282
840e2943
AS
132832013-06-05 Andreas Schwab <schwab@suse.de>
13284
13285 [BZ #15100]
13286 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13287 week as 6 instead of -1.
13288 * time/tst-strptime.c (day_tests): Add test case.
13289
4c60cb0c
SP
132902013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13291
13292 * sysdeps/generic/math_private.h
13293 (libc_feholdexcept_setround_53bit): Replace with
13294 libc_feholdsetround_53bit.
13295 (libc_feupdateenv_53bit): Replace with
13296 libc_feresetround_53bit.
13297 (SET_RESTORE_ROUND_53BIT): Adjust.
13298
d180203e
SP
132992013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13300
96df079a
SP
13301 * string/test-strchrnul.c: Add copyright header.
13302
d180203e
SP
13303 * posix/tst-getaddrinfo4.c: Increase test timeout.
13304
8b0ccb2d
CD
133052013-06-03 Carlos O'Donell <carlos@redhat.com>
13306
13307 [BZ #15536]
13308 * math/libm-test.inc (MAX_EXP): Remove
13309 (MIN_EXP): Define.
13310 (ulp): Use MIN_EXP - MANT_DIG.
13311 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13312
3b3c4d40
CD
133132013-05-31 Carlos O'Donell <carlos@redhat.com>
13314
13315 * po/be.po: Revert last change.
13316 * po/zh_CN.po: Likewise.
13317 * po/header.pot: Likewise.
13318
fab7ce3f
JM
133192013-05-31 Joseph Myers <joseph@codesourcery.com>
13320
13321 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13322 link-libc-deps to empty as target-specific variable.
13323 * Makerules (link-libc-args): New variable.
13324 (libc-for-link): Likewise.
13325 (link-libc-deps): Likewise.
13326 (lib%.so): Depend on $(link-libc-deps). Link with
13327 $(link-libc-args).
13328 (build-module): Link with $(link-libc-args).
13329 (build-module-asneeded): Likewise.
13330 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13331 list of objects.
13332 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13333 target-specific variable.
13334 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13335 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13336 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13337 libc.
13338 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13339 libc and ld.so.
13340 ($(objpfx)libpcprofile.so): Likewise.
13341 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13342 libc_nonshared.a.
13343 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13344 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13345 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13346 $(link-libc-deps).
13347 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13348 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13349 * login/Makefile ($(objpfx)libutil.so): Likewise.
13350 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13351 * math/Makefile ($(objpfx)libm.so): Likewise.
13352 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13353 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13354 variable instead of depending directly on libc.
13355 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13356 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13357 $(link-libc-deps).
13358 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13359 libc.
13360 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13361 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13362 ($(objpfx)libanl.so): Likewise.
13363 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13364 ld.so.
13365 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13366 $(link-libc-deps).
13367 * sysdeps/i386/fpu/Makefile: Remove file.
13368 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13369 ($(objpfx)libm.so): Remove dependency on ld.so.
13370
eca5920c
PF
133712013-05-30 Patsy Franklin <pfrankli@redhat.com>
13372
13373 [BZ # 15553]
13374 * nis/yp_xdr.c (XDRMAXNAME): Define.
13375 (XDRMAXRECORD): Define.
13376 (xdr_domainname): Use XDRMAXNAME.
13377 (xdr_mapname): Likewise.
13378 (xdr_peername): Likewise.
13379 (xdr_keydat): Use XDRMAXRECORD.
13380 (xdr_valdat): Likewise.
13381
133822013-05-30 Jeff Law <law@redhat.com>
96945714
JL
13383
13384 [BZ #14256]
13385 * manual/errno.texi (ESTALE): Update to account for more than
13386 just NFS file systems.
13387 * sysdeps/gnu/errlist.c: Regenerated.
13388
b9375348
SP
133892013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13390
13391 [BZ #15465]
13392 * elf/Makefile (tests): Add tst-null-argv.
13393 (modules-names): Add tst-null-argv-lib.
13394 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13395 (tst-null-argv-ENV): Set environment for tst-null-argv.
13396 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13397 (RTLD_PROGNAME): New macro.
13398 * elf/tst-null-argv.c: New test case.
13399 * elf/tst-null-argv-lib.c: Library for test case.
13400 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13401 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13402 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13403 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13404 * elf/dl-init.c (call_init): Likewise.
13405 (_dl_init): Likewise.
13406 * elf/dl-load.c (print_search_path): Likewise.
13407 (_dl_map_object): Likewise.
13408 * elf/dl-lookup.c (do_lookup_x): Likewise.
13409 (add_dependency): Likewise.
13410 (_dl_lookup_symbol_x): Likewise.
13411 (_dl_debug_bindings): Likewise.
13412 * elf/dl-open.c (_dl_show_scope): Likewise.
13413 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13414 * elf/dl-version.c (match_symbol): Likewise.
13415 (_dl_check_map_versions): Likewise.
13416 * elf/rtld.c (dl_main): Likewise.
13417 (print_unresolved): Use RTLD_PROGNAME.
13418 (print_missing_version): Likewise.
13419 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13420 (elf_machine_rela): Likewise.
13421 * sysdeps/powerpc/powerpc32/dl-machine.c
13422 (__process_machine_rela): Likewise.
13423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13424 Likewise.
13425 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13426 Likewise.
13427 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13428 Likewise.
13429 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13431 Likewise.
13432 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13433 Likewise.
13434 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13435
8a9f20c8
CD
134362013-05-28 Carlos O'Donell <carlos@redhat.com>
13437
13438 * po/be.po: Add descriptive title.
13439 * po/zh_CN.po: Likewise.
13440 * po/header.pot: Likewise.
13441
0e60d68e
MF
134422013-05-28 Mike Frysinger <vapier@gentoo.org>
13443
13444 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13445 error message.
13446 (enlarge_archive): Likewise.
13447
56b672e9
BN
134482013-05-28 Ben North <ben@redfrontdoor.org>
13449
13450 * manual/arith.texi (frexp): It is the magnitude of the return
13451 value which lies in [0.5, 1), not the return value itself.
13452
5e056687
AZ
134532013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13454
13455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13456
2b66ef5d
TS
134572013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13458
528c2405
TS
13459 * stdio-common/bug26.c (main): Correct fscanf template.
13460
07b4c13d
TS
13461 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13462 declare _dl_skip_args.
13463
ec9dd97c
TS
13464 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13465 Don't declare.
13466
2b66ef5d
TS
13467 * manual/platform.texi: Add missing @end deftypefun.
13468
4f8dfe27
JM
134692013-05-24 Joseph Myers <joseph@codesourcery.com>
13470
0323d086
JM
13471 [BZ #15529]
13472 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13473 bit of mantissa of 2^16382.
13474 * math/libm-test.inc (hypot_test_data): Add more tests.
13475
dd4259b9
JM
13476 * math/libm-test.inc: Add drem and pow10 to list of tested
13477 functions.
13478 (pow10_test): New function.
13479 (drem_test): Likewise.
13480 (drem_test_tonearest): Likewise.
13481 (drem_test_towardzero): Likewise.
13482 (drem_test_downward): Likewise.
13483 (drem_test_upward): Likewise.
13484 (main): Call the new functions.
13485
4f8dfe27
JM
13486 * math/libm-test.inc (finite_test_data): Remove.
13487 (finite_test): Run tests from isfinite_test_data.
13488 (gamma_test_data): Remove.
13489 (gamma_test): Run tests from lgamma_test_data.
13490 * sysdeps/i386/fpu/libm-test-ulps: Update.
13491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13492
d116b7c4
AZ
134932013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13494
13495 * manual/platform.texi: Add PowerPC PPR function set documentation.
13496 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13497 implementation.
13498
e96e3767
CD
134992013-05-24 Carlos O'Donell <carlos@redhat.com>
13500
13501 * math/libm-test.inc (MAX_EXP): Define.
13502 (ULPDIFF): Define.
13503 (ulp): New function.
13504 (check_float_internal): Use ULPDIFF.
13505 (cpow_test): Disable failing test.
13506 (check_ulp): Test ulp() implemetnation.
13507 (main): Call check_ulp before starting tests.
13508
b679a606
JM
135092013-05-24 Joseph Myers <joseph@codesourcery.com>
13510
e8bdba36
JM
13511 * math/gen-libm-test.pl (generate_testfile): Do not handle
13512 START_DATA and END_DATA.
13513 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13514 END_DATA.
13515 (acos_tonearest_test_data): Likewise.
13516 (acos_towardzero_test_data): Likewise.
13517 (acos_downward_test_data): Likewise.
13518 (acos_upward_test_data): Likewise.
13519 (acosh_test_data): Likewise.
13520 (asin_test_data): Likewise.
13521 (asin_tonearest_test_data): Likewise.
13522 (asin_towardzero_test_data): Likewise.
13523 (asin_downward_test_data): Likewise.
13524 (asin_upward_test_data): Likewise.
13525 (asinh_test_data): Likewise.
13526 (atan_test_data): Likewise.
13527 (atanh_test_data): Likewise.
13528 (atan2_test_data): Likewise.
13529 (cabs_test_data): Likewise.
13530 (cacos_test_data): Likewise.
13531 (cacosh_test_data): Likewise.
13532 (carg_test_data): Likewise.
13533 (casin_test_data): Likewise.
13534 (casinh_test_data): Likewise.
13535 (catan_test_data): Likewise.
13536 (catanh_test_data): Likewise.
13537 (cbrt_test_data): Likewise.
13538 (ccos_test_data): Likewise.
13539 (ccosh_test_data): Likewise.
13540 (ceil_test_data): Likewise.
13541 (cexp_test_data): Likewise.
13542 (cimag_test_data): Likewise.
13543 (clog_test_data): Likewise.
13544 (clog10_test_data): Likewise.
13545 (conj_test_data): Likewise.
13546 (copysign_test_data): Likewise.
13547 (cos_test_data): Likewise.
13548 (cos_tonearest_test_data): Likewise.
13549 (cos_towardzero_test_data): Likewise.
13550 (cos_downward_test_data): Likewise.
13551 (cos_upward_test_data): Likewise.
13552 (cosh_test_data): Likewise.
13553 (cosh_tonearest_test_data): Likewise.
13554 (cosh_towardzero_test_data): Likewise.
13555 (cosh_downward_test_data): Likewise.
13556 (cosh_upward_test_data): Likewise.
13557 (cpow_test_data): Likewise.
13558 (cproj_test_data): Likewise.
13559 (creal_test_data): Likewise.
13560 (csin_test_data): Likewise.
13561 (csinh_test_data): Likewise.
13562 (csqrt_test_data): Likewise.
13563 (ctan_test_data): Likewise.
13564 (ctan_tonearest_test_data): Likewise.
13565 (ctan_towardzero_test_data): Likewise.
13566 (ctan_downward_test_data): Likewise.
13567 (ctan_upward_test_data): Likewise.
13568 (ctanh_test_data): Likewise.
13569 (ctanh_tonearest_test_data): Likewise.
13570 (ctanh_towardzero_test_data): Likewise.
13571 (ctanh_downward_test_data): Likewise.
13572 (ctanh_upward_test_data): Likewise.
13573 (erf_test_data): Likewise.
13574 (erfc_test_data): Likewise.
13575 (exp_test_data): Likewise.
13576 (exp_tonearest_test_data): Likewise.
13577 (exp_towardzero_test_data): Likewise.
13578 (exp_downward_test_data): Likewise.
13579 (exp_upward_test_data): Likewise.
13580 (exp10_test_data): Likewise.
13581 (exp2_test_data): Likewise.
13582 (expm1_test_data): Likewise.
13583 (fabs_test_data): Likewise.
13584 (fdim_test_data): Likewise.
13585 (finite_test_data): Likewise.
13586 (floor_test_data): Likewise.
13587 (fma_test_data): Likewise.
13588 (fma_towardzero_test_data): Likewise.
13589 (fma_downward_test_data): Likewise.
13590 (fma_upward_test_data): Likewise.
13591 (fmax_test_data): Likewise.
13592 (fmin_test_data): Likewise.
13593 (fmod_test_data): Likewise.
13594 (fpclassify_test_data): Likewise.
13595 (frexp_test_data): Likewise.
13596 (gamma_test_data): Likewise.
13597 (hypot_test_data): Likewise.
13598 (ilogb_test_data): Likewise.
13599 (isfinite_test_data): Likewise.
13600 (isgreater_test_data): Likewise.
13601 (isgreaterequal_test_data): Likewise.
13602 (isinf_test_data): Likewise.
13603 (isless_test_data): Likewise.
13604 (islessequal_test_data): Likewise.
13605 (islessgreater_test_data): Likewise.
13606 (isnan_test_data): Likewise.
13607 (isnormal_test_data): Likewise.
13608 (issignaling_test_data): Likewise.
13609 (isunordered_test_data): Likewise.
13610 (j0_test_data): Likewise.
13611 (j1_test_data): Likewise.
13612 (jn_test_data): Likewise.
13613 (ldexp_test_data): Likewise.
13614 (lgamma_test_data): Likewise.
13615 (lrint_test_data): Likewise.
13616 (lrint_tonearest_test_data): Likewise.
13617 (lrint_towardzero_test_data): Likewise.
13618 (lrint_downward_test_data): Likewise.
13619 (lrint_upward_test_data): Likewise.
13620 (llrint_test_data): Likewise.
13621 (llrint_tonearest_test_data): Likewise.
13622 (llrint_towardzero_test_data): Likewise.
13623 (llrint_downward_test_data): Likewise.
13624 (llrint_upward_test_data): Likewise.
13625 (log_test_data): Likewise.
13626 (log10_test_data): Likewise.
13627 (log1p_test_data): Likewise.
13628 (log2_test_data): Likewise.
13629 (logb_test_data): Likewise.
13630 (logb_downward_test_data): Likewise.
13631 (lround_test_data): Likewise.
13632 (llround_test_data): Likewise.
13633 (modf_test_data): Likewise.
13634 (nearbyint_test_data): Likewise.
13635 (nextafter_test_data): Likewise.
13636 (nexttoward_test_data): Likewise.
13637 (pow_test_data): Likewise.
13638 (pow_tonearest_test_data): Likewise.
13639 (pow_towardzero_test_data): Likewise.
13640 (pow_downward_test_data): Likewise.
13641 (pow_upward_test_data): Likewise.
13642 (remainder_test_data): Likewise.
13643 (remainder_tonearest_test_data): Likewise.
13644 (remainder_towardzero_test_data): Likewise.
13645 (remainder_downward_test_data): Likewise.
13646 (remainder_upward_test_data): Likewise.
13647 (remquo_test_data): Likewise.
13648 (rint_test_data): Likewise.
13649 (rint_tonearest_test_data): Likewise.
13650 (rint_towardzero_test_data): Likewise.
13651 (rint_downward_test_data): Likewise.
13652 (rint_upward_test_data): Likewise.
13653 (round_test_data): Likewise.
13654 (scalb_test_data): Likewise.
13655 (scalbn_test_data): Likewise.
13656 (scalbln_test_data): Likewise.
13657 (signbit_test_data): Likewise.
13658 (sin_test_data): Likewise.
13659 (sin_tonearest_test_data): Likewise.
13660 (sin_towardzero_test_data): Likewise.
13661 (sin_downward_test_data): Likewise.
13662 (sin_upward_test_data): Likewise.
13663 (sincos_test_data): Likewise.
13664 (sinh_test_data): Likewise.
13665 (sinh_tonearest_test_data): Likewise.
13666 (sinh_towardzero_test_data): Likewise.
13667 (sinh_downward_test_data): Likewise.
13668 (sinh_upward_test_data): Likewise.
13669 (sqrt_test_data): Likewise.
13670 (tan_test_data): Likewise.
13671 (tan_tonearest_test_data): Likewise.
13672 (tan_towardzero_test_data): Likewise.
13673 (tan_downward_test_data): Likewise.
13674 (tan_upward_test_data): Likewise.
13675 (tanh_test_data): Likewise.
13676 (tgamma_test_data): Likewise.
13677 (trunc_test_data): Likewise.
13678 (y0_test_data): Likewise.
13679 (y1_test_data): Likewise.
13680 (yn_test_data): Likewise.
13681 (significand_test_data): Likewise.
13682
b679a606
JM
13683 * math/gen-libm-test.pl (@functions): Remove variable.
13684 (generate_testfile): Don't handle START and END lines.
13685 * math/libm-test.inc (START): New macro.
13686 (END): Likewise.
13687 (END_COMPLEX): Likewise.
13688 (acos_test): Use END macro without arguments.
13689 (acos_test_tonearest): Likewise.
13690 (acos_test_towardzero): Likewise.
13691 (acos_test_downward): Likewise.
13692 (acos_test_upward): Likewise.
13693 (acosh_test): Likewise.
13694 (asin_test): Likewise.
13695 (asin_test_tonearest): Likewise.
13696 (asin_test_towardzero): Likewise.
13697 (asin_test_downward): Likewise.
13698 (asin_test_upward): Likewise.
13699 (asinh_test): Likewise.
13700 (atan_test): Likewise.
13701 (atanh_test): Likewise.
13702 (atan2_test): Likewise.
13703 (cabs_test): Likewise.
13704 (cacos_test): Use END_COMPLEX macro without arguments.
13705 (cacosh_test): Likewise.
13706 (carg_test): Use END macro without arguments.
13707 (casin_test): Use END_COMPLEX macro without arguments.
13708 (casinh_test): Likewise.
13709 (catan_test): Likewise.
13710 (catanh_test): Likewise.
13711 (cbrt_test): Use END macro without arguments.
13712 (ccos_test): Use END_COMPLEX macro without arguments.
13713 (ccosh_test): Likewise.
13714 (ceil_test): Use END macro without arguments.
13715 (cexp_test): Use END_COMPLEX macro without arguments.
13716 (cimag_test): Use END macro without arguments.
13717 (clog_test): Use END_COMPLEX macro without arguments.
13718 (clog10_test): Likewise.
13719 (conj_test): Likewise.
13720 (copysign_test): Use END macro without arguments.
13721 (cos_test): Likewise.
13722 (cos_test_tonearest): Likewise.
13723 (cos_test_towardzero): Likewise.
13724 (cos_test_downward): Likewise.
13725 (cos_test_upward): Likewise.
13726 (cosh_test): Likewise.
13727 (cosh_test_tonearest): Likewise.
13728 (cosh_test_towardzero): Likewise.
13729 (cosh_test_downward): Likewise.
13730 (cosh_test_upward): Likewise.
13731 (cpow_test): Use END_COMPLEX macro without arguments.
13732 (cproj_test): Likewise.
13733 (creal_test): Use END macro without arguments.
13734 (csin_test): Use END_COMPLEX macro without arguments.
13735 (csinh_test): Likewise.
13736 (csqrt_test): Likewise.
13737 (ctan_test): Likewise.
13738 (ctan_test_tonearest): Likewise.
13739 (ctan_test_towardzero): Likewise.
13740 (ctan_test_downward): Likewise.
13741 (ctan_test_upward): Likewise.
13742 (ctanh_test): Likewise.
13743 (ctanh_test_tonearest): Likewise.
13744 (ctanh_test_towardzero): Likewise.
13745 (ctanh_test_downward): Likewise.
13746 (ctanh_test_upward): Likewise.
13747 (erf_test): Use END macro without arguments.
13748 (erfc_test): Likewise.
13749 (exp_test): Likewise.
13750 (exp_test_tonearest): Likewise.
13751 (exp_test_towardzero): Likewise.
13752 (exp_test_downward): Likewise.
13753 (exp_test_upward): Likewise.
13754 (exp10_test): Likewise.
13755 (exp2_test): Likewise.
13756 (expm1_test): Likewise.
13757 (fabs_test): Likewise.
13758 (fdim_test): Likewise.
13759 (finite_test): Likewise.
13760 (floor_test): Likewise.
13761 (fma_test): Likewise.
13762 (fma_test_towardzero): Likewise.
13763 (fma_test_downward): Likewise.
13764 (fma_test_upward): Likewise.
13765 (fmax_test): Likewise.
13766 (fmin_test): Likewise.
13767 (fmod_test): Likewise.
13768 (fpclassify_test): Likewise.
13769 (frexp_test): Likewise.
13770 (gamma_test): Likewise.
13771 (hypot_test): Likewise.
13772 (ilogb_test): Likewise.
13773 (isfinite_test): Likewise.
13774 (isgreater_test): Likewise.
13775 (isgreaterequal_test): Likewise.
13776 (isinf_test): Likewise.
13777 (isless_test): Likewise.
13778 (islessequal_test): Likewise.
13779 (islessgreater_test): Likewise.
13780 (isnan_test): Likewise.
13781 (isnormal_test): Likewise.
13782 (issignaling_test): Likewise.
13783 (isunordered_test): Likewise.
13784 (j0_test): Likewise.
13785 (j1_test): Likewise.
13786 (jn_test): Likewise.
13787 (ldexp_test): Likewise.
13788 (lgamma_test): Likewise.
13789 (lrint_test): Likewise.
13790 (lrint_test_tonearest): Likewise.
13791 (lrint_test_towardzero): Likewise.
13792 (lrint_test_downward): Likewise.
13793 (lrint_test_upward): Likewise.
13794 (llrint_test): Likewise.
13795 (llrint_test_tonearest): Likewise.
13796 (llrint_test_towardzero): Likewise.
13797 (llrint_test_downward): Likewise.
13798 (llrint_test_upward): Likewise.
13799 (log_test): Likewise.
13800 (log10_test): Likewise.
13801 (log1p_test): Likewise.
13802 (log2_test): Likewise.
13803 (logb_test): Likewise.
13804 (logb_test_downward): Likewise.
13805 (lround_test): Likewise.
13806 (llround_test): Likewise.
13807 (modf_test): Likewise.
13808 (nearbyint_test): Likewise.
13809 (nextafter_test): Likewise.
13810 (nexttoward_test): Likewise.
13811 (pow_test): Likewise.
13812 (pow_test_tonearest): Likewise.
13813 (pow_test_towardzero): Likewise.
13814 (pow_test_downward): Likewise.
13815 (pow_test_upward): Likewise.
13816 (remainder_test): Likewise.
13817 (remainder_test_tonearest): Likewise.
13818 (remainder_test_towardzero): Likewise.
13819 (remainder_test_downward): Likewise.
13820 (remainder_test_upward): Likewise.
13821 (remquo_test): Likewise.
13822 (rint_test): Likewise.
13823 (rint_test_tonearest): Likewise.
13824 (rint_test_towardzero): Likewise.
13825 (rint_test_downward): Likewise.
13826 (rint_test_upward): Likewise.
13827 (round_test): Likewise.
13828 (scalb_test): Likewise.
13829 (scalbn_test): Likewise.
13830 (scalbln_test): Likewise.
13831 (signbit_test): Likewise.
13832 (sin_test): Likewise.
13833 (sin_test_tonearest): Likewise.
13834 (sin_test_towardzero): Likewise.
13835 (sin_test_downward): Likewise.
13836 (sin_test_upward): Likewise.
13837 (sincos_test): Likewise.
13838 (sinh_test): Likewise.
13839 (sinh_test_tonearest): Likewise.
13840 (sinh_test_towardzero): Likewise.
13841 (sinh_test_downward): Likewise.
13842 (sinh_test_upward): Likewise.
13843 (sqrt_test): Likewise.
13844 (tan_test): Likewise.
13845 (tan_test_tonearest): Likewise.
13846 (tan_test_towardzero): Likewise.
13847 (tan_test_downward): Likewise.
13848 (tan_test_upward): Likewise.
13849 (tanh_test): Likewise.
13850 (tgamma_test): Likewise.
13851 (trunc_test): Likewise.
13852 (y0_test): Likewise.
13853 (y1_test): Likewise.
13854 (yn_test): Likewise.
13855 (significand_test): Likewise.
13856
bae143d2
OB
138572013-05-24 Ondřej Bílka <neleai@seznam.cz>
13858
13859 [BZ #15381]
13860 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13861
9323d39b
EM
138622013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13863
d4ea44a0 13864 [BZ #14894]
9323d39b
EM
13865 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13866 __ppc_mdoio and __ppc_mdoom.
13867 * manual/platform.texi: Document new functions __ppc_yield,
13868 __ppc_mdoio and __ppc_mdoom.
13869
13e23af7
CD
138702013-05-22 Carlos O'Donell <carlos@redhat.com>
13871
13872 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13873 (main): Mention "tls" pseudo-hwcap is legacy.
13874 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13875
351fe550
JM
138762013-05-22 Joseph Myers <joseph@codesourcery.com>
13877
13878 * math/gen-libm-test.pl (parse_args): Output only string of
13879 arguments as text for test name, not full call or descriptions of
13880 tests for extra outputs.
13881 (generate_testfile): Do not pass function name to parse_args.
13882 Generate this_func variable from START.
13883 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13884 field to arg_str.
13885 (struct test_ff_f_data): Likewise.
13886 (test_ff_f_data_nexttoward): Likewise.
13887 (struct test_fi_f_data): Likewise.
13888 (struct test_fl_f_data): Likewise.
13889 (struct test_if_f_data): Likewise.
13890 (struct test_fff_f_data): Likewise.
13891 (struct test_c_f_data): Likewise.
13892 (struct test_f_f1_data): Likewise. Remove field extra_name.
13893 (struct test_fF_f1_data): Likewise.
13894 (struct test_ffI_f1_data): Likewise.
13895 (struct test_c_c_data): Rename test_name field to arg_str.
13896 (struct test_cc_c_data): Likewise.
13897 (struct test_f_i_data): Likewise.
13898 (struct test_ff_i_data): Likewise.
13899 (struct test_f_l_data): Likewise.
13900 (struct test_f_L_data): Likewise.
13901 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13902 and extra2_name.
13903 (COMMON_TEST_SETUP): New macro.
13904 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13905 (COMMON_TEST_CLEANUP): Likewise.
13906 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13907 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13908 macros.
13909 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13910 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13911 macros.
13912 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13913 (RUN_TEST_fff_f): Take argument string. Call new setup and
13914 cleanup macros.
13915 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13916 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13917 macros.
13918 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13919 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13920 macros.
13921 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13922 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13923 cleanup macros.
13924 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13925 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13926 cleanup macros.
13927 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13928 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13929 cleanup macros.
13930 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13931 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13932 macros.
13933 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13934 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13935 macros.
13936 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13937 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13938 macros.
13939 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13940 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13941 cleanup macros.
13942 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13943 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13944 cleanup macros.
13945 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13946 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13947 macros.
13948 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13949 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13950 cleanup macros.
13951 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13952 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13953 macros.
13954 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13955 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13956 macros.
13957 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13958 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13959 cleanup macros.
13960 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13961
85118d4d
EBM
139622013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13963
13964 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13965 to _sifields.sigfault.
13966 (si_addr_lsb): Define new macro.
13967 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13969 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13970
7a44c18f
CD
139712013-05-03 Carlos O'Donell <carlos at redhat.com>
13972
13973 [BZ #15441]
13974 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13975 returns -1.
13976 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13977 null return -1.
13978 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13979 loading the domain.
13980
b50a7181
JM
139812013-05-22 Joseph Myers <joseph@codesourcery.com>
13982
13983 * math/gen-libm-test.pl (parse_args): Do not include expected
13984 result in test name.
13985 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13986 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13987 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13988 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13989 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13991
051063c8
SP
139922013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13993
3ce9e010
SP
13994 * benchtests/Makefile: Sort function entries.
13995
051063c8
SP
13996 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13997 tanh, asinh, acosh, atanh.
13998 * benchtests/acos-inputs: New file.
13999 * benchtests/acosh-inputs: New file.
14000 * benchtests/asin-inputs: New file.
14001 * benchtests/asinh-inputs: New file.
14002 * benchtests/atanh-inputs: New file.
14003 * benchtests/cosh-inputs: New file.
14004 * benchtests/log-inputs: New file.
14005 * benchtests/sinh-inputs: New file.
14006 * benchtests/tanh-inputs: New file.
14007
47c22455
DL
140082013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14009
14010 [BZ #15339]
14011 * posix/tst-getaddrinfo4.c: New test.
14012 * posix/Makefile (tests): Add it.
14013
3d04f5db
SP
140142013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14015
14016 [BZ #15339]
14017 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14018 when no services were used.
14019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14020 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14021
d5dd6189
AS
140222013-05-21 Andreas Schwab <schwab@suse.de>
14023
14024 [BZ #15014]
14025 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14026 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14027 successful.
14028 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14029 redundant variable declarations and reallocation of buffer when
14030 parsing as IPv6 address. Always set NSS status when called from
14031 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14032 buffer too small. Correct computation of needed size.
14033 * nss/Makefile (tests): Add test-digits-dots.
14034 * nss/test-digits-dots.c: New test.
14035
fef94eab
SP
140362013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14037
14038 * benchtests/Makefile: Remove instructions for adding
14039 benchmark tests.
14040 * benchtests/README: New file to explain how to execute and
14041 enhance the benchmark tests.
14042
e39adf43
AS
140432013-05-21 Andreas Schwab <schwab@suse.de>
14044
14045 [BZ #15493]
14046 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14047 * setjmp/tst-sigsetjmp.c: New test.
14048
b2b671b6
OB
140492013-05-20 Ondřej Bílka <neleai@seznam.cz>
14050
14051 * sysdeps/x86_64/memset.S (memset): New implementation.
14052 (__bzero): Likewise.
14053 (__memset_tail): New function.
14054
2d48b41c
OB
140552013-05-20 Ondřej Bílka <neleai@seznam.cz>
14056
14057 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14058 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14059 __memcpy_sse2_unaligned ifunc selection.
14060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14061 Add memcpy-sse2-unaligned.S.
14062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14063 Add: __memcpy_sse2_unaligned.
14064
f16cc3eb
JM
140652013-05-19 Joseph Myers <joseph@codesourcery.com>
14066
3e694268
JM
14067 [BZ #15490]
14068 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14069 math_force_eval before restoring floating-point envrionment.
14070 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14071 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14072 Likewise.
14073 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14074 <math_private.h>.
14075 (__nearbyintl): Use math_force_eval before restoring
14076 floating-point environment.
14077 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14078
db62a907
JM
14079 * math/gen-libm-test.pl (special_functions): Remove.
14080 (parse_args): Don't handle TEST_extra. Handle functions with no
14081 return value.
14082 * math/libm-test.inc (struct test_sincos_data): Replace with
14083 struct test_fFF_11_data.
14084 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14085 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14086 (sincos_test_data): Change element type to struct
14087 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14088 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14089 RUN_TEST_LOOP_sincos.
14090 * math/README.libm-test: Don't mention special handling of
14091 individual functions.
14092 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14093 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14094 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14095 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14096 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14098
f16cc3eb
JM
14099 * math/gen-libm-test.pl (get_variable): Remove function.
14100 (parse_args): Don't show pointer parameters to call in test
14101 names. Use "extra output N" in test names for extra outputs
14102 rather than naming variables.
14103
3779b5b6
JM
141042013-05-18 Joseph Myers <joseph@codesourcery.com>
14105
2ee094ff
JM
14106 [BZ #15488]
14107 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14108 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14109 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14110 double tests.
14111 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14112 disable.
14113 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14114 check_long_double.
14115
3779b5b6
JM
14116 * math/gen-libm-test.pl (@tests): Remove variable.
14117 ($count): Likewise.
14118 (new_test): Remove function.
14119 (show_exceptions): New function.
14120 (special_functions): Use show_exceptions instead of new_test.
14121 (parse_args): Likewise.
14122 (generate_testfile): Pass only function name in generated call to
14123 print_max_error or print_complex_max_error.
14124 (get_ulps): Do not handle complex tests specially.
14125 (output_test): Rename to ...
14126 (get_all_ulps_for_test): ... this. Return a string rather than
14127 printing to a file. Require ulps to be present.
14128 (output_ulps): Generate arrays rather than #defines.
14129 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14130 (struct ulp_data): New type.
14131 (BUILD_COMPLEX_ULP): Remove macro.
14132 (compare_ulp_data): New function.
14133 (find_ulps): Likewise.
14134 (find_test_ulps): Likewise.
14135 (find_function_ulps): Likewise.
14136 (find_complex_function_ulps): Likewise.
14137 (print_max_error): Determine allowed ulps using
14138 find_function_ulps.
14139 (print_complex_max_error): Determine allowed ulps using
14140 find_complex_function_ulps.
14141 (check_float_internal): Determine max ulps using find_test_ulps.
14142 (check_float): Do not take max_ulp parameter. Update call to
14143 check_float_internal.
14144 (check_complex): Likewise.
14145 (check_int): Do not take max_ulp parameter.
14146 (check_long): Likewise.
14147 (check_bool): Likewise.
14148 (check_longlong): Likewise.
14149 (struct test_f_f_data): Remove max_ulp field.
14150 (struct test_ff_f_data): Likewise.
14151 (struct test_ff_f_data_nexttoward): Likewise.
14152 (struct test_fi_f_data): Likewise.
14153 (struct test_fl_f_data): Likewise.
14154 (struct test_if_f_data): Likewise.
14155 (struct test_fff_f_data): Likewise.
14156 (struct test_c_f_data): Likewise.
14157 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14158 (struct test_fF_f1_data): Likewise.
14159 (struct test_ffI_f1_data): Likewise.
14160 (struct test_c_c_data): Remove max_ulp field.
14161 (struct test_cc_c_data): Likewise.
14162 (struct test_f_i_data): Likewise.
14163 (struct test_ff_i_data): Likewise.
14164 (struct test_f_l_data): Likewise.
14165 (struct test_f_L_data): Likewise.
14166 (struct test_sincos_data): Likewise.
14167 (RUN_TEST_f_f): Do not handle ulps.
14168 (RUN_TEST_LOOP_f_f): Likewise.
14169 (RUN_TEST_2_f): Likewise.
14170 (RUN_TEST_LOOP_2_f): Likewise.
14171 (RUN_TEST_fff_f): Likewise.
14172 (RUN_TEST_LOOP_fff_f): Likewise.
14173 (RUN_TEST_c_f): Likewise.
14174 (RUN_TEST_LOOP_c_f): Likewise.
14175 (RUN_TEST_f_f1): Likewise.
14176 (RUN_TEST_LOOP_f_f1): Likewise.
14177 (RUN_TEST_fF_f1): Likewise.
14178 (RUN_TEST_LOOP_fF_f1): Likewise.
14179 (RUN_TEST_fI_f1): Likewise.
14180 (RUN_TEST_LOOP_fI_f1): Likewise.
14181 (RUN_TEST_ffI_f1): Likewise.
14182 (RUN_TEST_LOOP_ffI_f1): Likewise.
14183 (RUN_TEST_c_c): Likewise.
14184 (RUN_TEST_LOOP_c_c): Likewise.
14185 (RUN_TEST_cc_c): Likewise.
14186 (RUN_TEST_LOOP_cc_c): Likewise.
14187 (RUN_TEST_f_i): Likewise.
14188 (RUN_TEST_LOOP_f_i): Likewise.
14189 (RUN_TEST_f_i_tg): Likewise.
14190 (RUN_TEST_LOOP_f_i_tg): Likewise.
14191 (RUN_TEST_ff_i_tg): Likewise.
14192 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14193 (RUN_TEST_f_b): Likewise.
14194 (RUN_TEST_LOOP_f_b): Likewise.
14195 (RUN_TEST_f_b_tg): Likewise.
14196 (RUN_TEST_LOOP_f_b_tg): Likewise.
14197 (RUN_TEST_f_l): Likewise.
14198 (RUN_TEST_LOOP_f_l): Likewise.
14199 (RUN_TEST_f_L): Likewise.
14200 (RUN_TEST_LOOP_f_L): Likewise.
14201 (RUN_TEST_sincos): Likewise.
14202 (RUN_TEST_LOOP_sincos): Likewise.
14203
8269107f
JM
142042013-05-17 Joseph Myers <joseph@codesourcery.com>
14205
bb38759d
JM
14206 [BZ #15480]
14207 [BZ #15485]
14208 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14209 main case of finite arguments, set rounding mode to FE_TONEAREST
14210 and discard exceptions.
14211 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14212 exceptions.
14213 (remainder_tonearest_test_data): New variable.
14214 (remainder_test_tonearest): New function.
14215 (remainder_towardzero_test_data): New variable.
14216 (remainder_test_towardzero): New function.
14217 (remainder_downward_test_data): New variable.
14218 (remainder_test_downward): New function.
14219 (remainder_upward_test_data): New variable.
14220 (remainder_test_upward): New function.
14221 (main): Call the new test functions.
14222
a00bdcf0
JM
14223 * math/libm-test.inc (struct test_f_f1_data): Remove field
14224 extra_init.
14225 (struct test_fF_f1_data): Likewise.
14226 (struct test_ffI_f1_data): Likewise.
14227 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14228 based on value of EXTRA_EXPECTED.
14229 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14230 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14231 EXTRA_VAR based on value of EXTRA_EXPECTED.
14232 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14233 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14234 EXTRA_VAR based on value of EXTRA_EXPECTED.
14235 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14236 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14237 EXTRA_VAR based on value of EXTRA_EXPECTED.
14238 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14239 * math/gen-libm-test.pl (parse_args): Don't output initializers
14240 for extra output values.
14241
de407f79
JM
14242 * math/libm-test.inc (check_int): Expect result to be exactly
14243 equal to expected value and do not handle ulps.
14244 (check_long): Likewise.
14245 (check_longlong): Likewise.
14246
8269107f
JM
14247 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14248 exceptions.
14249 (cimag_test_data): Likewise.
14250 (conj_test_data): Likewise.
14251 (copysign_test_data): Likewise.
14252 (cproj_test_data): Likewise.
14253 (creal_test_data): Likewise.
14254 (fabs_test_data): Likewise.
14255 (fdim_test_data): Likewise.
14256 (finite_test_data): Likewise.
14257 (floor_test_data): Likewise.
14258 (fmax_test_data): Likewise.
14259 (fmin_test_data): Likewise.
14260 (fmod_test_data): Likewise.
14261 (fpclassify_test_data): Likewise.
14262 (frexp_test_data): Likewise.
14263 (ilogb_test_data): Likewise.
14264 (isfinite_test_data): Likewise.
14265 (isgreater_test_data): Likewise.
14266 (isgreaterequal_test_data): Likewise.
14267 (isinf_test_data): Likewise.
14268 (isless_test_data): Likewise.
14269 (islessequal_test_data): Likewise.
14270 (islessgreater_test_data): Likewise.
14271 (isnan_test_data): Likewise.
14272 (isnormal_test_data): Likewise.
14273 (issignaling_test_data): Likewise.
14274 (isunordered_test_data): Likewise.
14275 (ldexp_test_data): Likewise.
14276 (lrint_test_data): Likewise.
14277 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14278 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14279 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14280 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14281 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14282 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14283 test input.
14284 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14285 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14286 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14287 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14288 that test input.
14289 (lrint_downward_test_data): Test for "inexact" exceptions.
14290 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14291 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14292 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14293 test input.
14294 (lrint_upward_test_data): Test for "inexact" exceptions.
14295 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14296 test input.
14297 (llrint_test_data): Test for "inexact" exceptions.
14298 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14299 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14300 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14301 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14302 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14303 (llrint_downward_test_data): Test for "inexact" exceptions.
14304 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14305 (llrint_upward_test_data): Test for "inexact" exceptions.
14306 (logb_test_data): Likewise.
14307 (logb_downward_test_data): Likewise.
14308 (nextafter_test_data): Likewise.
14309 (nexttoward_test_data): Likewise.
14310 (remainder_test_data): Likewise.
14311 (remquo_test_data): Likewise.
14312 (scalbn_test_data): Likewise.
14313 (scalbln_test_data): Likewise.
14314 (signbit_test_data): Likewise.
14315 (sqrt_test_data): Likewise.
14316 (significand_test_data): Likewise.
14317
48a18de1
SP
143182013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14319
14320 [BZ #15424]
14321 * benchtests/bench-modf.c (struct args): Mark arg0 as
14322 volatile.
14323 * scripts/bench.pl: Mark members of struct args as volatile.
14324
13d3b41a
AZ
143252013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14326
68191c1d 14327 [BZ # 15497]
13d3b41a
AZ
14328 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14329 negative infinity on POWER6 or lower.
14330 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14331
2848b105
MR
143322013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14333
14334 [BZ #15442]
14335 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14336 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14337 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14338 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14339 (_FP_SETQNAN): New macro.
14340 (_FP_SETQNAN_SEMIRAW): Likewise.
14341 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14342 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14343 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14344 (FP_EXTEND): Use _FP_FRAC_SNANP.
14345 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14346 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14347 into account.
14348 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14349 New macro.
14350 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14351 Likewise.
14352
323e5cb7
JM
143532013-05-16 Joseph Myers <joseph@codesourcery.com>
14354
c58b274f
JM
14355 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14356 with DIVIDE_BY_ZERO_EXCEPTION.
14357 (gamma_test_data): Likewise.
14358 (lgamma_test_data): Likewise.
14359 (log_test_data): Likewise.
14360 (log10_test_data): Likewise.
14361 (log2_test_data): Likewise.
14362 (tgamma_test_data): Likewise.
14363
0ab34904
JM
14364 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14365 (acos_test_tonearest): Likewise.
14366 (acos_test_towardzero): Likewise.
14367 (acos_test_downward): Likewise.
14368 (acos_test_upward): Likewise.
14369 (acosh_test): Likewise.
14370 (asin_test): Likewise.
14371 (asin_test_tonearest): Likewise.
14372 (asin_test_towardzero): Likewise.
14373 (asin_test_downward): Likewise.
14374 (asin_test_upward): Likewise.
14375 (asinh_test): Likewise.
14376 (atan_test): Likewise.
14377 (atanh_test): Likewise.
14378 (atan2_test): Likewise.
14379 (cabs_test): Likewise.
14380 (cacos_test): Likewise.
14381 (cacosh_test): Likewise.
14382 (casin_test): Likewise.
14383 (casinh_test): Likewise.
14384 (catan_test): Likewise.
14385 (catanh_test): Likewise.
14386 (cbrt_test): Likewise.
14387 (ccos_test): Likewise.
14388 (ccosh_test): Likewise.
14389 (cexp_test): Likewise.
14390 (clog_test): Likewise.
14391 (clog10_test): Likewise.
14392 (cos_test): Likewise.
14393 (cos_test_tonearest): Likewise.
14394 (cos_test_towardzero): Likewise.
14395 (cos_test_downward): Likewise.
14396 (cos_test_upward): Likewise.
14397 (cosh_test): Likewise.
14398 (cosh_test_tonearest): Likewise.
14399 (cosh_test_towardzero): Likewise.
14400 (cosh_test_downward): Likewise.
14401 (cosh_test_upward): Likewise.
14402 (cpow_test): Likewise.
14403 (csin_test): Likewise.
14404 (csinh_test): Likewise.
14405 (csqrt_test): Likewise.
14406 (ctan_test): Likewise.
14407 (ctan_test_tonearest): Likewise.
14408 (ctan_test_towardzero): Likewise.
14409 (ctan_test_downward): Likewise.
14410 (ctan_test_upward): Likewise.
14411 (ctanh_test): Likewise.
14412 (ctanh_test_tonearest): Likewise.
14413 (ctanh_test_towardzero): Likewise.
14414 (ctanh_test_downward): Likewise.
14415 (ctanh_test_upward): Likewise.
14416 (erf_test): Likewise.
14417 (erfc_test): Likewise.
14418 (exp_test): Likewise.
14419 (exp_test_tonearest): Likewise.
14420 (exp_test_towardzero): Likewise.
14421 (exp_test_downward): Likewise.
14422 (exp_test_upward): Likewise.
14423 (exp10_test): Likewise.
14424 (exp2_test): Likewise.
14425 (expm1_test): Likewise.
14426 (fmod_test): Likewise.
14427 (gamma_test): Likewise.
14428 (hypot_test): Likewise.
14429 (j0_test): Likewise.
14430 (j1_test): Likewise.
14431 (jn_test): Likewise.
14432 (lgamma_test): Likewise.
14433 (log_test): Likewise.
14434 (log10_test): Likewise.
14435 (log1p_test): Likewise.
14436 (log2_test): Likewise.
14437 (logb_test_downward): Likewise.
14438 (pow_test): Likewise.
14439 (pow_test_tonearest): Likewise.
14440 (pow_test_towardzero): Likewise.
14441 (pow_test_downward): Likewise.
14442 (pow_test_upward): Likewise.
14443 (remainder_test): Likewise.
14444 (remquo_test): Likewise.
14445 (sin_test): Likewise.
14446 (sin_test_tonearest): Likewise.
14447 (sin_test_towardzero): Likewise.
14448 (sin_test_downward): Likewise.
14449 (sin_test_upward): Likewise.
14450 (sincos_test): Likewise.
14451 (sinh_test): Likewise.
14452 (sinh_test_tonearest): Likewise.
14453 (sinh_test_towardzero): Likewise.
14454 (sinh_test_downward): Likewise.
14455 (sinh_test_upward): Likewise.
14456 (sqrt_test): Likewise.
14457 (tan_test): Likewise.
14458 (tan_test_tonearest): Likewise.
14459 (tan_test_towardzero): Likewise.
14460 (tan_test_downward): Likewise.
14461 (tan_test_upward): Likewise.
14462 (tanh_test): Likewise.
14463 (tgamma_test): Likewise.
14464 (y0_test): Likewise.
14465 (y1_test): Likewise.
14466 (yn_test): Likewise.
14467
323e5cb7
JM
14468 * math/gen-libm-test.pl (adjust_arg): Remove function.
14469 (special_function): Remove argument $in_func. Only handle
14470 generating output for tables of tests, not inside functions.
14471 (parse_args): Likewise.
14472 (generate_testfile): Remove variable $in_func. Update call to
14473 parse_args.
14474 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14475 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14476 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14477 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14478 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14479 (MAX_VALUE_INIT): Rename macro to max_value.
14480 (MIN_VALUE_INIT): Rename macro to min_value.
14481 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14482 (plus_zero): Remove variable.
14483 (minus_zero): Likewise.
14484 (plus_infty): Likewise.
14485 (minus_infty): Likewise.
14486 (qnan_value): Likewise.
14487 (max_value): Likewise.
14488 (min_value): Likewise.
14489 (min_subnorm_value): Likewise.
14490
e054f494
RA
144912013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14492
14493 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14494 uint64_t or uint32_t usage.
14495 * crypt/sha256-block.c: Likewise.
14496 * crypt/sha256-crypt.c: Likewise.
14497 * crypt/sha256.c: Likewise.
14498 * crypt/sha512-block.c: Likewise.
14499 * crypt/sha512-crypt.c: Likewise.
14500 * crypt/sha512.c: Likewise.
14501 * debug/backtrace-tst.c: Likewise.
14502 * debug/pcprofiledump.c: Likewise.
14503 * elf/cache.c: Likewise.
14504 * elf/dl-cache.c: Likewise.
14505 * elf/dl-misc.c: Likewise.
14506 * elf/dl-profile.c: Likewise.
14507 * elf/dl-support.c: Likewise.
14508 * elf/ldconfig.c: Likewise.
14509 * elf/sprof.c: Likewise.
14510 * iconv/dummy-repertoire.c: Likewise.
14511 * iconv/iconv_charmap.c: Likewise.
14512 * iconv/skeleton.c: Likewise.
14513 * iconvdata/8bit-generic.c: Likewise.
14514 * iconvdata/cp737.h: Likewise.
14515 * iconvdata/cp775.h: Likewise.
14516 * iconvdata/ibm1008.h: Likewise.
14517 * iconvdata/ibm1025.h: Likewise.
14518 * iconvdata/ibm1046.h: Likewise.
14519 * iconvdata/ibm1097.h: Likewise.
14520 * iconvdata/ibm1112.h: Likewise.
14521 * iconvdata/ibm1122.h: Likewise.
14522 * iconvdata/ibm1123.h: Likewise.
14523 * iconvdata/ibm1124.h: Likewise.
14524 * iconvdata/ibm1129.h: Likewise.
14525 * iconvdata/ibm1130.h: Likewise.
14526 * iconvdata/ibm1132.h: Likewise.
14527 * iconvdata/ibm1133.h: Likewise.
14528 * iconvdata/ibm1137.h: Likewise.
14529 * iconvdata/ibm1140.h: Likewise.
14530 * iconvdata/ibm1141.h: Likewise.
14531 * iconvdata/ibm1142.h: Likewise.
14532 * iconvdata/ibm1143.h: Likewise.
14533 * iconvdata/ibm1144.h: Likewise.
14534 * iconvdata/ibm1145.h: Likewise.
14535 * iconvdata/ibm1146.h: Likewise.
14536 * iconvdata/ibm1147.h: Likewise.
14537 * iconvdata/ibm1148.h: Likewise.
14538 * iconvdata/ibm1149.h: Likewise.
14539 * iconvdata/ibm1153.h: Likewise.
14540 * iconvdata/ibm1154.h: Likewise.
14541 * iconvdata/ibm1155.h: Likewise.
14542 * iconvdata/ibm1156.h: Likewise.
14543 * iconvdata/ibm1157.h: Likewise.
14544 * iconvdata/ibm1158.h: Likewise.
14545 * iconvdata/ibm1160.h: Likewise.
14546 * iconvdata/ibm1161.h: Likewise.
14547 * iconvdata/ibm1162.h: Likewise.
14548 * iconvdata/ibm1163.h: Likewise.
14549 * iconvdata/ibm1164.h: Likewise.
14550 * iconvdata/ibm1166.h: Likewise.
14551 * iconvdata/ibm1167.h: Likewise.
14552 * iconvdata/ibm12712.h: Likewise.
14553 * iconvdata/ibm1390.h: Likewise.
14554 * iconvdata/ibm1399.h: Likewise.
14555 * iconvdata/ibm16804.h: Likewise.
14556 * iconvdata/ibm4517.h: Likewise.
14557 * iconvdata/ibm4899.h: Likewise.
14558 * iconvdata/ibm4909.h: Likewise.
14559 * iconvdata/ibm4971.h: Likewise.
14560 * iconvdata/ibm5347.h: Likewise.
14561 * iconvdata/ibm803.h: Likewise.
14562 * iconvdata/ibm856.h: Likewise.
14563 * iconvdata/ibm901.h: Likewise.
14564 * iconvdata/ibm902.h: Likewise.
14565 * iconvdata/ibm9030.h: Likewise.
14566 * iconvdata/ibm9066.h: Likewise.
14567 * iconvdata/ibm921.h: Likewise.
14568 * iconvdata/ibm922.h: Likewise.
14569 * iconvdata/ibm9448.h: Likewise.
14570 * iconvdata/isiri-3342.h: Likewise.
14571 * iconvdata/jis0201.h: Likewise.
14572 * include/link.h: Likewise.
14573 * include/netdb.h: Likewise.
14574 * inet/check_native.c: Likewise.
14575 * inet/check_pf.c: Likewise.
14576 * inet/getipv4sourcefilter.c: Likewise.
14577 * inet/getnameinfo.c: Likewise.
14578 * inet/getsourcefilter.c: Likewise.
14579 * inet/htonl.c: Likewise.
14580 * inet/setipv4sourcefilter.c: Likewise.
14581 * inet/setsourcefilter.c: Likewise.
14582 * inet/test-inet6_opt.c: Likewise.
14583 * inet/tst-network.c: Likewise.
14584 * locale/C-collate.c: Likewise.
14585 * locale/C-ctype.c: Likewise.
14586 * locale/C-time.c: Likewise.
14587 * locale/C-translit.h: Likewise.
14588 * locale/loadarchive.c: Likewise.
14589 * locale/programs/3level.h: Likewise.
14590 * locale/programs/charmap.c: Likewise.
14591 * locale/programs/charmap.h: Likewise.
14592 * locale/programs/ld-address.c: Likewise.
14593 * locale/programs/ld-collate.c: Likewise.
14594 * locale/programs/ld-ctype.c: Likewise.
14595 * locale/programs/ld-identification.c: Likewise.
14596 * locale/programs/ld-measurement.c: Likewise.
14597 * locale/programs/ld-messages.c: Likewise.
14598 * locale/programs/ld-monetary.c: Likewise.
14599 * locale/programs/ld-name.c: Likewise.
14600 * locale/programs/ld-numeric.c: Likewise.
14601 * locale/programs/ld-paper.c: Likewise.
14602 * locale/programs/ld-telephone.c: Likewise.
14603 * locale/programs/ld-time.c: Likewise.
14604 * locale/programs/linereader.c: Likewise.
14605 * locale/programs/locale.c: Likewise.
14606 * locale/programs/locarchive.c: Likewise.
14607 * locale/programs/locfile.h: Likewise.
14608 * locale/programs/repertoire.c: Likewise.
14609 * locale/programs/simple-hash.c: Likewise.
14610 * locale/programs/simple-hash.h: Likewise.
14611 * malloc/memusage.c: Likewise.
14612 * malloc/memusagestat.c: Likewise.
14613 * nis/nis_defaults.c: Likewise.
14614 * nis/nis_hash.c: Likewise.
14615 * nis/nis_print.c: Likewise.
14616 * nis/nis_xdr.c: Likewise.
14617 * nscd/connections.c: Likewise.
14618 * nscd/hstcache.c: Likewise.
14619 * nscd/nscd_gethst_r.c: Likewise.
14620 * nscd/nscd_getserv_r.c: Likewise.
14621 * nscd/nscd_helper.c: Likewise.
14622 * nscd/servicescache.c: Likewise.
14623 * nss/makedb.c: Likewise.
14624 * nss/nss_db/db-XXX.c: Likewise.
14625 * nss/nss_db/db-initgroups.c: Likewise.
14626 * nss/nss_db/db-netgrp.c: Likewise.
14627 * nss/nss_files/files-network.c: Likewise.
14628 * nss/nss_files/files-parse.c: Likewise.
14629 * posix/bug-regex5.c: Likewise.
14630 * posix/fnmatch_loop.c: Likewise.
14631 * posix/regcomp.c: Likewise.
14632 * posix/regexec.c: Likewise.
14633 * posix/tst-rfc3484-2.c: Likewise.
14634 * posix/tst-rfc3484-3.c: Likewise.
14635 * posix/tst-rfc3484.c: Likewise.
14636 * resolv/nss_dns/dns-canon.c: Likewise.
14637 * resolv/nss_dns/dns-network.c: Likewise.
14638 * resolv/res_init.c: Likewise.
14639 * resolv/res_mkquery.c: Likewise.
14640 * resolv/tst-aton.c: Likewise.
14641 * stdlib/cxa_atexit.c: Likewise.
14642 * stdlib/cxa_finalize.c: Likewise.
14643 * stdlib/gen-fpioconst.c: Likewise.
14644 * stdlib/strtol_l.c: Likewise.
14645 * string/tst-endian.c: Likewise.
14646 * sunrpc/auth_des.c: Likewise.
14647 * sunrpc/clnt_udp.c: Likewise.
14648 * sunrpc/rtime.c: Likewise.
14649 * sunrpc/svcauth_des.c: Likewise.
14650 * sunrpc/xdr.c: Likewise.
14651 * sunrpc/xdr_intXX_t.c: Likewise.
14652 * sunrpc/xdr_rec.c: Likewise.
14653 * sysdeps/generic/ldconfig.h: Likewise.
14654 * sysdeps/generic/ldsodefs.h: Likewise.
14655 * sysdeps/generic/memusage.h: Likewise.
14656 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14657 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14658 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14659 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14666 * sysdeps/posix/getaddrinfo.c: Likewise.
14667 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14668 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14669 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14670 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14671 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14672 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14673 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14674 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14675 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14676 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14677 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14678 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14679 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14680 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14681 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14682 * sysdeps/x86_64/dl-tls.h: Likewise.
14683 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14684 * time/alt_digit.c: Likewise.
14685 * time/era.c: Likewise.
14686 * wcsmbs/tst-c16c32-1.c: Likewise.
14687
8c75f674
JM
146882013-05-16 Joseph Myers <joseph@codesourcery.com>
14689
14690 * math/libm-test.inc (struct test_sincos_data): New type.
14691 (RUN_TEST_LOOP_sincos): New macro.
14692 (sincos_test_data): New variable.
14693 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14694
e6e49e59
RH
146952013-05-16 Richard Henderson <rth@redhat.com>
14696
14697 * math/atest-exp2.c (LIMB64): New macro.
14698 (CONSTSZ): New macro.
14699 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14700 (hexdig): Move ...
14701 (print_mpn_fp): ... to function scope.
14702 (read_mpn_hex): Remove.
14703 (get_log2): Remove.
14704 (exp2_mpn): Use mp_log2.
14705 (main): Use mp_exp1.
14706
15c7c18d
JM
147072013-05-16 Joseph Myers <joseph@codesourcery.com>
14708
105a07df
JM
14709 * math/libm-test.inc: Remove comment about not testing "inexact"
14710 exceptions.
14711 (INEXACT_EXCEPTION): New macro.
14712 (NO_INEXACT_EXCEPTION): Likewise.
14713 (INVALID_EXCEPTION_OK): Update value.
14714 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14715 (OVERFLOW_EXCEPTION_OK): Likewise.
14716 (UNDERFLOW_EXCEPTION_OK): Likewise.
14717 (IGNORE_ZERO_INF_SIGN): Likewise.
14718 (ERRNO_UNCHANGED): Likewise.
14719 (ERRNO_EDOM): Likewise.
14720 (ERRNO_ERANGE): Likewise.
14721 (test_exceptions): Handle testing "inexact" exceptions.
14722 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14723 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14724 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14725 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14726 INEXACT_EXCEPTION.
14727 (rint_towardzero_test_data): Likewise.
14728 (rint_downward_test_data): Likewise.
14729 (rint_upward_test_data): Likewise.
14730
e9eee333
JM
14731 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14732 with OVERFLOW_EXCEPTION.
14733 (exp10_test_data): Likewise.
14734 (exp2_test_data): Likewise.
14735 (expm1_test_data): Likewise.
14736 (lgamma_test_data): Likewise.
14737 (pow_test_data): Likewise.
14738 (tgamma_test_data): Likewise.
14739 (yn_test_data): Remove duplicate test of overflow.
14740
1c38ff73
JM
14741 * math/libm-test.inc (struct test_cc_c_data): New type.
14742 (RUN_TEST_LOOP_cc_c): New macro.
14743 (cpow_test_data): New variable.
14744 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14745
15c7c18d
JM
14746 * math/libm-test.inc (struct test_f_L_data): New type.
14747 (RUN_TEST_LOOP_f_L): New macro.
14748 (llrint_test_data): New variable.
14749 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14750 (llrint_tonearest_test_data): New variable.
14751 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14752 (llrint_towardzero_test_data): New variable.
14753 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14754 (llrint_downward_test_data): New variable.
14755 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14756 (llrint_upward_test_data): New variable.
14757 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14758 (llround_test_data): New variable.
14759 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14760
f137ff13
PC
147612013-05-13 Peter Collingbourne <pcc@google.com>
14762
14763 * math/atest-exp2.c (get_log2): Remove const attribute.
14764
3608cb24
JM
147652013-05-15 Joseph Myers <joseph@codesourcery.com>
14766
14767 * math/libm-test.inc (struct test_f_l_data): New type.
14768 (RUN_TEST_LOOP_f_l): New macro.
14769 (lrint_test_data): New variable.
14770 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14771 (lrint_tonearest_test_data): New variable.
14772 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14773 (lrint_towardzero_test_data): New variable.
14774 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14775 (lrint_downward_test_data): New variable.
14776 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14777 (lrint_upward_test_data): New variable.
14778 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14779 (lround_test_data): New variable.
14780 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14781
39b1f617
PC
147822013-05-15 Peter Collingbourne <pcc@google.com>
14783
1deff3dc
PC
14784 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14785 (EXTRACT_WORDS64) Use where appropriate.
14786 (INSERT_WORDS64) Likewise.
14787
791f3ba0
PC
14788 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14789 constraints with x constraints.
14790 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14791
39b1f617
PC
14792 * malloc/obstack.c (_obstack_compat): Add initializer.
14793
12fba011
EM
147942013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14795
14796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14797 si_trapno and add si_addr_lsb to _sifields.sigfault.
14798 (si_trapno): Remove macro.
14799 (si_addr_lsb): Define new macro.
14800 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14801
d369f531
JM
148022013-05-15 Joseph Myers <joseph@codesourcery.com>
14803
b861c6c4
JM
14804 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14805 instead of TEST_f_l.
14806 (llrint_test_tonearest): Likewise.
14807 (llrint_test_towardzero): Likewise.
14808 (llrint_test_downward): Likewise.
14809 (llrint_test_upward): Likewise.
14810 (llround_test): Likewise.
14811
7abeee12
JM
14812 * math/libm-test.inc (struct test_f_i_data): Add comment.
14813 (RUN_TEST_LOOP_f_b): New macro.
14814 (RUN_TEST_LOOP_f_b_tg): Likewise.
14815 (finite_test_data): New variable.
14816 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14817 (isfinite_test_data): New variable.
14818 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14819 (isinf_test_data): New variable.
14820 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14821 (isnan_test_data): New variable.
14822 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14823 (isnormal_test_data): New variable.
14824 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14825 (issignaling_test_data): New variable.
14826 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14827 (signbit_test_data): New variable.
14828 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14829
cbe8c4d3
JM
14830 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14831 with INVALID_EXCEPTION.
14832 (acosh_test_data): Likewise.
14833 (asin_test_data): Likewise.
14834 (atanh_test_data): Likewise.
14835 (fmod_test_data): Likewise.
14836 (log_test_data): Likewise.
14837 (log10_test_data): Likewise.
14838 (log2_test_data): Likewise.
14839 (pow_test_data): Likewise.
14840 (sqrt_test_data): Likewise.
14841 (y0_test_data): Likewise.
14842 (y1_test_data): Likewise.
14843 (yn_test_data): Likewise.
14844
5575c0e5
JM
14845 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14846 function contents.
14847
d369f531
JM
14848 * math/libm-test.inc (struct test_ff_i_data): New type.
14849 (RUN_TEST_LOOP_ff_i_tg): New macro.
14850 (isgreater_test_data): New variable.
14851 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14852 (isgreaterequal_test_data): New variable.
14853 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14854 (isless_test_data): New variable.
14855 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14856 (islessequal_test_data): New variable.
14857 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14858 (islessgreater_test_data): New variable.
14859 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14860 (isunordered_test_data): New variable.
14861 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14862
781fd748
DM
148632013-05-14 David S. Miller <davem@davemloft.net>
14864
14865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14866
87aa21df
JM
148672013-05-14 Joseph Myers <joseph@codesourcery.com>
14868
5e908270
JM
14869 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14870
f71172e5
JM
14871 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14872 extra_test to int.
14873 (struct test_f_i_data): Change type of max_ulp to int.
14874
8cfa635a
JM
14875 * math/libm-test.inc (test_ffI_f1_data): New type.
14876 (RUN_TEST_LOOP_ffI_f1): New macro.
14877 (remquo_test_data): New variable.
14878 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14879
2bcb36b2
JM
14880 * setjmp/tst-setjmp-fp.c: New file.
14881 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14882 (link-libm): New variable.
14883 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14884
acbd839a
JM
14885 * math/libm-test.inc (struct test_f_i_data): New type.
14886 (RUN_TEST_LOOP_f_i): New macro.
14887 (RUN_TEST_LOOP_f_i_tg): Likewise.
14888 (fpclassify_test_data): New variable.
14889 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14890 (ilogb_test_data): New variable.
14891 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14892
e414d745
JM
14893 * math/libm-test.inc (scalbln_test): Correct function name in END
14894 call.
14895
d9c2a0fd
JM
14896 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14897 (RUN_TEST_LOOP_fI_f1): New macro.
14898 (frexp_test_data): New variable.
14899 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14900
9dc9095d
JM
14901 * math/libm-test.inc (struct test_fF_f1_data): New type.
14902 (RUN_TEST_LOOP_fF_f1): New macro.
14903 (modf_test_data): New variable.
14904 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14905
87aa21df
JM
14906 * math/libm-test.inc (struct test_f_f1_data): New type.
14907 (RUN_TEST_LOOP_f_f1): New macro.
14908 (gamma_test_data): New variable.
14909 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14910 (lgamma_test_data): New variable.
14911 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14912
141af660
CD
149132013-05-13 Carlos O'Donell <carlos@redhat.com>
14914
14915 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14916 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14917 (main): Comment "tls" pseudo-hwcap.
14918
6d33265c
JM
149192013-05-13 Joseph Myers <joseph@codesourcery.com>
14920
68fc074c
JM
14921 * math/libm-test.inc (struct test_fl_f_data): New type.
14922 (RUN_TEST_LOOP_fl_f): New variable.
14923 (scalbln_test_data): New variable.
14924 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14925
243216e1
JM
14926 * math/libm-test.inc (struct test_fi_f_data): New type.
14927 (RUN_TEST_LOOP_fi_f): New macro.
14928 (ldexp_test_data): New variable.
14929 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14930 (scalbn_test_data): New variable.
14931 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14932
6a1992e2
JM
14933 * math/libm-test.inc (struct test_c_f_data): New type.
14934 (RUN_TEST_LOOP_c_f): New macro.
14935 (cabs_test_data): New variable.
14936 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14937 (carg_test_data): New variable.
14938 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14939 (cimag_test_data): New variable.
14940 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14941 (creal_test_data): New variable.
14942 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14943
0e400df5
JM
14944 * math/libm-test.inc (struct test_if_f_data): New type.
14945 (RUN_TEST_LOOP_if_f): New macro.
14946 (jn_test_data): New variable.
14947 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14948 (yn_test_data): New variable.
14949 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14950
6d33265c
JM
14951 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14952
f98ece5f
AZ
149532013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14954
14955 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14956 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14957
0f7d347b
SP
149582013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14959
43fe811b
SP
14960 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14961 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14962 (bench-deps): Add bench-timing.h.
14963 * benchtests-bench-skeleton.c: Include bench-timing.h.
14964 (main): Use TIMING_* macros instead of clock_gettime.
14965 * benchtests/bench-timing.h: New file.
14966
0f7d347b
SP
14967 [BZ #14582]
14968 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14969 Renamed from _LIB_VERSION.
14970 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14971
601a3a5f
JM
149722013-05-12 Joseph Myers <joseph@codesourcery.com>
14973
4f184d30
JM
14974 * math/libm-test.inc (struct test_fff_f_data): New type.
14975 (RUN_TEST_LOOP_fff_f): New macro.
14976 (fma_test_data): New variable.
14977 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14978 (fma_towardzero_test_data): New variable.
14979 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14980 (fma_downward_test_data): New variable.
14981 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14982 (fma_upward_test_data): New variable.
14983 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14984
08198877
JM
14985 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14986 (struct test_c_c_data): New type.
14987 (RUN_TEST_LOOP_c_c): New macro.
14988 (cacos_test_data): New variable.
14989 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14990 (cacosh_test_data): New variable.
14991 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14992 (casin_test_data): New variable.
14993 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14994 (casinh_test_data): New variable.
14995 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14996 (catan_test_data): New variable.
14997 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14998 (catanh_test_data): New variable.
14999 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15000 (ccos_test_data): New variable.
15001 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15002 (ccosh_test_data): New variable.
15003 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15004 (cexp_test_data): New variable.
15005 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15006 (clog_test_data): New variable.
15007 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15008 (clog10_test_data): New variable.
15009 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15010 (conj_test_data): New variable.
15011 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15012 (cproj_test_data): New variable.
15013 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15014 (csin_test_data): New variable.
15015 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15016 (csinh_test_data): New variable.
15017 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15018 (csqrt_test_data): New variable.
15019 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15020 (ctan_test_data): New variable.
15021 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15022 (ctan_tonearest_test_data): New variable.
15023 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15024 (ctan_towardzero_test_data): New variable.
15025 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15026 (ctan_downward_test_data): New variable.
15027 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15028 (ctan_upward_test_data): New variable.
15029 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15030 (ctanh_test_data): New variable.
15031 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15032 (ctanh_tonearest_test_data): New variable.
15033 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15034 (ctanh_towardzero_test_data): New variable.
15035 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15036 (ctanh_downward_test_data): New variable.
15037 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15038 (ctanh_upward_test_data): New variable.
15039 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15040 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15041 of BUILD_COMPLEX.
15042
601a3a5f
JM
15043 * math/libm-test.inc (struct test_ff_f_data): New type.
15044 (struct test_ff_f_data_nexttoward): Likewise.
15045 (RUN_TEST_LOOP_2_f): New macro.
15046 (RUN_TEST_LOOP_ff_f): Likewise.
15047 (atan2_test_data): New variable.
15048 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15049 (copysign_test_data): New variable.
15050 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15051 (fdim_test_data): New variable.
15052 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15053 (fmax_test_data): New variable.
15054 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15055 (fmin_test_data): New variable.
15056 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15057 (fmod_test_data): New variable.
15058 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15059 (hypot_test_data): New variable.
15060 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15061 (nextafter_test_data): New variable.
15062 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15063 (nexttoward_test_data): New variable.
15064 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15065 (pow_test_data): New variable.
15066 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15067 (pow_tonearest_test_data): New variable.
15068 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15069 (pow_towardzero_test_data): New variable.
15070 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15071 (pow_downward_test_data): New variable.
15072 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15073 (pow_upward_test_data): New variable.
15074 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15075 (remainder_test_data): New variable.
15076 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15077 (scalb_test_data): New variable.
15078 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15079 * sysdeps/i386/fpu/libm-test-ulps: Update.
15080
74c57478
JM
150812013-05-11 Joseph Myers <joseph@codesourcery.com>
15082
8329e4da
JM
15083 * math/libm-test.inc (fma_test): Use max_value instead of local
15084 variable fltmax.
15085 (nextafter_test): Likewise.
15086
74c57478
JM
15087 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15088 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15089 (acos_downward_test_data): New variable.
15090 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15091 (acos_upward_test_data): New variable.
15092 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15093 (acosh_test_data): New variable.
15094 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15095 (asin_test_data): New variable.
15096 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15097 (asin_tonearest_test_data): New variable.
15098 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15099 (asin_towardzero_test_data): New variable.
15100 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15101 (asin_downward_test_data): New variable.
15102 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15103 (asin_upward_test_data): New variable.
15104 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15105 (asinh_test_data): New variable.
15106 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15107 (atan_test_data): New variable.
15108 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15109 (atanh_test_data): New variable.
15110 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15111 (cbrt_test_data): New variable.
15112 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15113 (ceil_test_data): New variable.
15114 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15115 (cos_test_data): New variable.
15116 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15117 (cos_tonearest_test_data): New variable.
15118 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15119 (cos_towardzero_test_data): New variable.
15120 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15121 (cos_downward_test_data): New variable.
15122 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15123 (cos_upward_test_data): New variable.
15124 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15125 (cosh_test_data): New variable.
15126 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15127 (cosh_tonearest_test_data): New variable.
15128 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15129 (cosh_towardzero_test_data): New variable.
15130 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15131 (cosh_downward_test_data): New variable.
15132 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15133 (cosh_upward_test_data): New variable.
15134 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15135 (erf_test_data): New variable.
15136 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15137 (erfc_test_data): New variable.
15138 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15139 (exp_test_data): New variable.
15140 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15141 (exp_tonearest_test_data): New variable.
15142 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15143 (exp_towardzero_test_data): New variable.
15144 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15145 (exp_downward_test_data): New variable.
15146 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15147 (exp_upward_test_data): New variable.
15148 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15149 (exp10_test_data): New variable.
15150 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15151 (exp2_test_data): New variable.
15152 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15153 (expm1_test_data): New variable.
15154 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15155 (fabs_test_data): New variable.
15156 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15157 (floor_test_data): New variable.
15158 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15159 (j0_test_data): New variable.
15160 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15161 (j1_test_data): New variable.
15162 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15163 (log_test_data): New variable.
15164 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15165 (log10_test_data): New variable.
15166 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15167 (log1p_test_data): New variable.
15168 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15169 (log2_test_data): New variable.
15170 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15171 (logb_test_data): New variable.
15172 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15173 (logb_downward_test_data): New variable.
15174 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15175 (nearbyint_test_data): New variable.
15176 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15177 (rint_test_data): New variable.
15178 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15179 (rint_tonearest_test_data): New variable.
15180 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15181 (rint_towardzero_test_data): New variable.
15182 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15183 (rint_downward_test_data): New variable.
15184 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15185 (rint_upward_test_data): New variable.
15186 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15187 (round_test_data): New variable.
15188 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15189 (sin_test_data): New variable.
15190 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15191 (sin_tonearest_test_data): New variable.
15192 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15193 (sin_towardzero_test_data): New variable.
15194 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15195 (sin_downward_test_data): New variable.
15196 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15197 (sin_upward_test_data): New variable.
15198 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15199 (sinh_test_data): New variable.
15200 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15201 (sinh_tonearest_test_data): New variable.
15202 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15203 (sinh_towardzero_test_data): New variable.
15204 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15205 (sinh_downward_test_data): New variable.
15206 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15207 (sinh_upward_test_data): New variable.
15208 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15209 (sqrt_test_data): New variable.
15210 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15211 (tan_test_data): New variable.
15212 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15213 (tan_tonearest_test_data): New variable.
15214 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15215 (tan_towardzero_test_data): New variable.
15216 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15217 (tan_downward_test_data): New variable.
15218 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15219 (tan_upward_test_data): New variable.
15220 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15221 (tanh_test_data): New variable.
15222 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15223 (tgamma_test_data): New variable.
15224 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15225 (trunc_test_data): New variable.
15226 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15227 (y0_test_data): New variable.
15228 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15229 (y1_test_data): New variable.
15230 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15231 (significand_test_data): New variable.
15232 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15233
7187d844
CG
152342013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15235
15236 [BZ #12387]
15237 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15238
f63fae73
PT
152392013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15240
15241 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15242
8a67a4b3
AJ
152432013-05-10 Andreas Jaeger <aj@suse.de>
15244
15245 [BZ #15448]
15246 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15247 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15248
51df539d
JM
152492013-05-10 Joseph Myers <joseph@codesourcery.com>
15250
15251 * math/gen-libm-test.pl (adjust_arg): New function.
15252 (special_functions): Handle generating output in both functions
15253 and arrays.
15254 (parse_args): Likewise.
15255 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15256 $in_func argument to parse_args.
15257 * math/libm-test.inc (struct test_f_f_data): New type.
15258 (IF_ROUND_INIT_): New macro.
15259 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15260 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15261 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15262 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15263 (ROUND_RESTORE_): Likewise.
15264 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15265 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15266 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15267 (ROUND_RESTORE_FE_UPWARD): Likewise.
15268 (RUN_TEST_LOOP_f_f): New macro.
15269 (acos_test_data): New variable.
15270 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15271 (acos_tonearest_test_data): New variable.
15272 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15273
5c637fe5
SP
152742013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15275
15276 * benchtests/bench-skeleton.c (startup): Fix coding style.
15277
ab2b9461
JM
152782013-05-10 Joseph Myers <joseph@codesourcery.com>
15279
15280 [BZ #6809]
15281 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15282 negative infinity argument.
15283 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15284 negative infinity argument.
15285 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15286 negative infinity argument.
15287 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15288 domain errors.
15289
4c0fe6fe
FW
152902013-05-10 Florian Weimer <fweimer@redhat.com>
15291
15292 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15293 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15294 * iconv/iconv_prog.c (main): Likewise.
15295 * locale/programs/charmap-dir.c (charmap_readdir)
15296 (fopen_uncompressed): Likewise.
15297 * locale/programs/locfile.c (siblings_uncached)
15298 (write_locale_data): Use lstat64 instead of lstat.
15299 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15300 stat.
15301
a3375d29
AJ
153022013-05-10 Andreas Jaeger <aj@suse.de>
15303
15304 [BZ #15395]
15305 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15306 localization.
15307 Include <locale.h>.
15308
36129722
CD
153092013-05-09 Carlos O'Donell <carlos@redhat.com>
15310
15311 * elf/dl-close.c (_dl_close_worker): Add comments.
15312
faa7f811
JM
153132013-05-09 Joseph Myers <joseph@codesourcery.com>
15314
ed41ffef
JM
15315 [BZ #15359]
15316 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15317 high part of pi/2.
15318 (__ieee754_rem_pio2l): Update comments.
15319
d0213cd0
JM
15320 [BZ #15429]
15321 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15322 high part of pi/2.
15323 (__ieee754_rem_pio2l): Update comments.
15324
0d3e777a
JM
15325 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15326 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15327
24f56066
JM
15328 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15329 M_PI_4l.
15330
faa7f811
JM
15331 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15332 (M_PI_34_LOG10El): Likewise.
15333 (M_PI2_LOG10El): Likewise.
15334 (M_PI4_LOG10El): Likewise.
15335 (M_PI_LOG10El): Likewise.
15336
e9a5e0fd
AZ
153372013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15338
15339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15340
d8cd06db
JM
153412013-05-08 Joseph Myers <joseph@codesourcery.com>
15342
a0d9f9d7
JM
15343 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15344 (MINUS_ZERO_INIT): Likewise.
15345 (PLUS_INFTY_INIT): Likewise.
15346 (MINUS_INFTY_INIT): Likewise.
15347 (QNAN_VALUE_INIT): Likewise.
15348 (MAX_VALUE_INIT): Likewise.
15349 (MIN_VALUE_INIT): Likewise.
15350 (MIN_SUBNORM_VALUE_INIT): Likewise.
15351 (plus_zero): Initialize with PLUS_ZERO_INIT.
15352 (minus_zero): Initialize with MINUS_ZERO_INIT.
15353 (plus_infty): Initialize with PLUS_INFTY_INIT.
15354 (minus_infty): Initialize with MINUS_INFTY_INIT.
15355 (qnan_value): Initialize with QNAN_VALUE_INIT.
15356 (max_value): Initialize with MAX_VALUE_INIT.
15357 (min_value): Initialize with MIN_VALUE_INIT.
15358 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15359
ae08db3b
JM
15360 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15361 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15362 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15363 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15364
f44bf14a
JM
15365 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15366 (RUN_TEST_2_f): Likewise.
15367 (RUN_TEST_ff_f): Likewise.
15368 (RUN_TEST_fi_f): Likewise.
15369 (RUN_TEST_fl_f): Likewise.
15370 (RUN_TEST_fff_f): Likewise.
15371 (RUN_TEST_c_f): Likewise.
15372 (RUN_TEST_f_f1): Likewise.
15373 (RUN_TEST_fF_f1): Likewise.
15374 (RUN_TEST_fI_f1): Likewise.
15375 (RUN_TEST_ffI_f1): Likewise.
15376 (RUN_TEST_c_c): Likewise.
15377 (RUN_TEST_cc_c): Likewise.
15378 (RUN_TEST_f_i): Likewise.
15379 (RUN_TEST_f_i_tg): Likewise.
15380 (RUN_TEST_ff_i_tg): Likewise.
15381 (RUN_TEST_f_b): Likewise.
15382 (RUN_TEST_f_b_tg): Likewise.
15383 (RUN_TEST_f_l): Likewise.
15384 (RUN_TEST_f_L): Likewise.
15385 (RUN_TEST_sincos): Likewise.
15386 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15387 whether to show exceptions. Do not include ");\n" in return
15388 value.
15389 (special_functions): Output call to RUN_TEST_sincos instead of
15390 check_float calls. Update calls to new_test.
15391 (parse_args): Output call to single RUN_TEST_* macro instead of
15392 check_* calls and other assignments. Update calls to new_test.
15393
d8cd06db
JM
15394 [BZ #2546]
15395 [BZ #2560]
15396 [BZ #5159]
15397 [BZ #15426]
15398 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15399 input to result for tgamma overflow.
15400 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15401 (gamma_coeff): New variable.
15402 (NCOEFF): New macro.
15403 (gamma_positive): New function.
15404 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15405 underflow here. Use gamma_positive instead of exp (lgamma) for
15406 other arguments.
15407 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15408 (gamma_coeff): New variable.
15409 (NCOEFF): New macro.
15410 (gammaf_positive): New function.
15411 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15412 underflow here. Use gamma_positive instead of exp (lgamma) for
15413 other arguments.
15414 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15415 (gamma_coeff): New variable.
15416 (NCOEFF): New macro.
15417 (gammal_positive): New function.
15418 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15419 underflow here. Use gamma_positive instead of exp (lgamma) for
15420 other arguments.
15421 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15422 (gamma_coeff): New variable.
15423 (NCOEFF): New macro.
15424 (gammal_positive): New function.
15425 (__ieee754_gammal_r): Handle positive infinity, overflow and
15426 underflow here. Handle NaN the same as positive infinity. Remove
15427 check x < 0xffffffff for negative integers. Use gamma_positive
15428 instead of exp (lgamma) for other arguments.
15429 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15430 (gamma_coeff): New variable.
15431 (NCOEFF): New macro.
15432 (gammal_positive): New function.
15433 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15434 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15435 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15436 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15438 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15439 * sysdeps/generic/math_private.h (__gamma_productf): New
15440 prototype.
15441 (__gamma_product): Likewise.
15442 (__gamma_productl): Likewise.
15443 * math/Makefile (libm-calls): Add gamma_product.
15444 * math/libm-test.inc (tgamma_test): Add more tests.
15445 * sysdeps/i386/fpu/libm-test-ulps: Update.
15446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15447
bb7cf681
OB
154482013-05-08 Ondřej Bílka <neleai@seznam.cz>
15449
15450 * benchtests/bench-skeleton.c (main): Preheat CPU.
15451
ba853947
AJ
154522013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15453
15454 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15455
8347c74c
RM
154562013-05-07 Roland McGrath <roland@hack.frob.com>
15457
15458 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15459 and _dl_skip_args_internal.
15460
e8dd4791
CD
154612013-05-07 Carlos O'Donell <carlos@redhat.com>
15462
15463 * manual/message.texi (Message Translation): Talk about users.
15464 Message to key mapping impacts design.
15465
c7405830
RM
154662013-05-06 Roland McGrath <roland@hack.frob.com>
15467
a9173057
RM
15468 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15469
976e2f03
RM
15470 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15471
9723ffc5
RM
15472 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15473 * sysdeps/wordsize-64/glob64.c: ... here.
15474
962e6658
RM
15475 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15476 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15477 New macros.
15478
ee586a6d
RM
15479 * debug/getlogin_r_chk.c: Moved to ...
15480 * login/getlogin_r_chk.c: ... here.
15481 * debug/Makefile (routines): Move getlogin_r_chk to ...
15482 * login/Makefile (routines): ... here.
15483 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15484 * login/Versions (libc: GLIBC_2.4): ... here.
15485
355f9165
RM
15486 * io/poll.c (__poll): Renamed from poll.
15487 Add libc_hidden_def.
15488 (poll): Define as weak alias.
15489
bd9ffde6
RM
15490 * debug/ptsname_r_chk.c: Moved to ...
15491 * login/ptsname_r_chk.c: ... here.
15492 * debug/Makefile (routines): Move ptsname_r_chk to ...
15493 * login/Makefile (routines): ... here.
15494 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15495 * login/Versions (libc: GLIBC_2.4): ... here.
15496
8fb16a04
RM
15497 * posix/getlogin.c: Moved to ...
15498 * login/getlogin.c: ... here.
15499 * posix/getlogin_r.c: Moved to ...
15500 * login/getlogin_r.c: ... here.
15501 * posix/getlogin_r.c: Moved to ...
15502 * login/getlogin_r.c: ... here.
15503 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15504 * login/Makefile (routines): ... here.
15505 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15506 * login/Versions (libc: GLIBC_2.0): ... here.
15507
b99b892f
RM
15508 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15509 (setrlimit): Define as weak alias.
15510
c7405830
RM
15511 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15512 Call __ names for open, ftruncate, and close.
15513 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15514 (truncate): Define as weak alias.
15515
5bf96de5
JM
155162013-05-06 Joseph Myers <joseph@codesourcery.com>
15517
9ea3513c
JM
15518 * math/gen-libm-test.pl (parse_args): Initialize x before each
15519 test of frexp, modf and remquo.
15520
5bf96de5
JM
15521 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15522 test signgam value.
15523
16e616a7
AZ
155242013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15525
15526 [BZ #15418]
15527 [BZ #15419]
15528 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15529 internal tests.
15530 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15531
d5e82754
RM
155322013-05-06 Roland McGrath <roland@hack.frob.com>
15533
15534 * elf/dl-writev.h: New file.
15535 * elf/dl-misc.c: Include it.
15536 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15537 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15538
a7548d41
JM
155392013-05-04 Joseph Myers <joseph@codesourcery.com>
15540
b7dab1e4
JM
15541 * math/libm-test.inc (noXFails): Remove variable.
15542 (noXPasses): Likewise.
15543 (BUILD_COMPLEX_INT): Remove macro.
15544 (print_screen): Remove xfail argument.
15545 (print_screen_max_error): Likewise.
15546 (update_stats): Likewise.
15547 (print_max_error): Likewise. Update calls to other affected
15548 functions.
15549 (print_complex_max_error): Likewise.
15550 (test_single_exception): Update calls to print_screen.
15551 (test_single_errno): Likewise.
15552 (check_float_internal): Remove xfail argument. Update calls to
15553 other affected functions.
15554 (check_float): Likewise.
15555 (check_complex): Likewise.
15556 (check_int): Likewise.
15557 (check_long): Likewise.
15558 (check_bool): Likewise.
15559 (check_longlong): Likewise.
15560 (main): Don't print noXFails and noXPasses.
15561 * math/gen-libm-test.pl (top level): Don't mention expected
15562 failure handling in comment.
15563 (new_test): Don't handle expected failures.
15564 (parse_args): Don't mention expected failure handling in comment.
15565 (generate_testfile): Don't handle expected failures.
15566 (parse_ulps): Likewise.
15567 (print_ulps_file): Likewise.
15568 (get_failure): Remove function.
15569 (output_test): Don't handle expected failures.
15570 * make/README.libm-test: Don't mention expected failure handling.
15571
a7548d41
JM
15572 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15573 (minus_zero): Likewise.
15574 (plus_infty): Likewise.
15575 (minus_infty): Likewise.
15576 (qnan_value): Likewise.
15577 (max_value): Likewise.
15578 (min_value): Likewise.
15579 (min_subnorm_value): Likewise.
15580 (initialize): Do not initialize those variables dynamically.
15581
60bfd54c
RM
155822013-05-03 Roland McGrath <roland@hack.frob.com>
15583
cc0e6ed8
RM
15584 * io/open.c (__open_2): Moved to ...
15585 * io/open_2.c: ... this new file.
15586 * io/open64.c (__open64_2): Moved to ...
15587 * io/open64_2.c: ... this new file.
15588 * io/openat.c (__openat_2): Moved to ...
15589 * io/openat_2.c: ... this new file.
15590 * io/openat64.c (__openat64_2): Moved to ...
15591 * io/openat64_2.c: ... this new file.
15592 * io/Makefile (routines): Add them.
15593 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15594 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15595 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15596 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15597 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15598 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15599 (__openat64): Add hidden_ver.
15600 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15601 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15602
60bfd54c
RM
15603 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15604 Separately conditionalize setting of GLRO(dl_sysinfo) so
15605 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15606 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15607
83e7640f
AZ
156082013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15609
15610 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15611 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15612 definition.
15613 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15614 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15615 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15616 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15617 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15618
d5dc2af3
JM
156192013-05-03 Joseph Myers <joseph@codesourcery.com>
15620
c31a5b1e
JM
15621 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15622 test signgam value.
15623
d5dc2af3
JM
15624 * math/libm-test.inc (hypot_test): Do not use
15625 IGNORE_ZERO_INF_SIGN.
15626
164fd39d
AJ
156272013-05-03 Andreas Jaeger <aj@suse.de>
15628
15629 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15630 Linux 3.9.
15631 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15632 (PF_MAX): Adjust for VSOCK change.
15633
8237f48c
AZ
156342013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15635
15636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15637
9df02941
CD
156382013-05-02 Carlos O'Donell <carlos@redhat.com>
15639
15640 [BZ #15264]
15641 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15642 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15643 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15644
d422395e
DM
156452013-05-02 David S. Miller <davem@davemloft.net>
15646
15647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15648
a07c5731
OB
156492013-05-01 Ondřej Bílka <neleai@seznam.cz>
15650
15651 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15652
1324e37f
RM
156532013-05-01 Roland McGrath <roland@hack.frob.com>
15654
15655 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15656
0695940b
RS
156572013-05-01 Richard Smith <richard@metafoo.co.uk>
15658
bb5f27ad 15659 [BZ #14952]
0695940b
RS
15660 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15661 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15662 Use __attribute__ ((__gnu_inline__)).
15663 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15664 Don't use __attribute__ ((__gnu_inline__)).
15665
10de07f5
JM
156662013-05-01 Joseph Myers <joseph@codesourcery.com>
15667
15668 [BZ #15423]
15669 * math/s_catan.c (__catan): Handle small real or imaginary part of
15670 input specially to avoid spurious underflow.
15671 * math/s_catanf.c (__catanf): Likewise.
15672 * math/s_catanh.c (__catanh): Likewise.
15673 * math/s_catanhf.c (__catanhf): Likewise.
15674 * math/s_catanhl.c (__catanhl): Likewise.
15675 * math/s_catanl.c (__catanl): Likewise.
15676 * math/libm-test.inc (catan_test): Add more tests.
15677 (catanh_test): Likewise.
15678 * sysdeps/i386/fpu/libm-test-ulps: Update.
15679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15680
cb4d5414
AZ
156812013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15682
15683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15684
caf84319
JM
156852013-04-30 Joseph Myers <joseph@codesourcery.com>
15686
15687 [BZ #15416]
15688 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15689 accurately for denominator in atan2.
15690 * math/s_catanf.c (__catanf): Likewise.
15691 * math/s_catanh.c (__catanh): Likewise.
15692 * math/s_catanhf.c (__catanhf): Likewise.
15693 * math/s_catanhl.c (__catanhl): Likewise.
15694 * math/s_catanl.c (__catanl): Likewise.
15695 * math/libm-test.inc (catan_test): Add more tests.
15696 (catanh_test): Likewise.
15697 * sysdeps/i386/fpu/libm-test-ulps: Update.
15698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15699
d569c6ee
SP
157002013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15701
6dbe713d
SP
15702 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15703
f0ee064b
SP
15704 * benchtests/Makefile (bench): Remove slow benchmarks.
15705 * benchtests/atan-inputs: Add slow benchmark inputs.
15706 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15707 (BENCH_FUNC): Accept variant offset.
15708 (VARIANT): Define.
15709 * benchtests/bench-skeleton.c (main): Run benchmark for each
15710 variant.
15711 * benchtests/cos-inputs: Add slow benchmark inputs.
15712 * benchtests/exp-inputs: Likewise.
15713 * benchtests/pow-inputs: Likewise.
15714 * benchtests/sin-inputs: Likewise.
15715 * benchtests/slowatan-inputs: Remove.
15716 * benchtests/slowatan.c: Remove.
15717 * benchtests/slowcos-inputs: Remove.
15718 * benchtests/slowcos.c: Remove.
15719 * benchtests/slowexp-inputs: Remove.
15720 * benchtests/slowexp.c: Remove.
15721 * benchtests/slowpow-inputs: Remove.
15722 * benchtests/slowpow.c: Remove.
15723 * benchtests/slowsin-inputs: Remove.
15724 * benchtests/slowsin.c: Remove.
15725 * benchtests/slowtan-inputs: Remove.
15726 * benchtests/slowtan.c: Remove.
15727 * benchtests/tan-inputs: Add slow benchmark inputs.
15728 * scripts/bench.pl: Parse comments and directives.
15729
d569c6ee
SP
15730 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15731 in CPPFLAGS.
15732 ($(objpfx)bench-%.c): Remove *-ITER.
15733 * benchtests/bench-modf.c: Remove definition of ITER.
15734 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15735 (main): Loop for DURATION seconds instead of fixed number of
15736 iterations.
15737 * scripts/bench.pl: Don't expect iterations in parameters.
15738
a6a242fe
RM
157392013-04-29 Roland McGrath <roland@hack.frob.com>
15740
15741 * io/fchdir.c (__fchdir): Renamed from fchdir.
15742 (fchdir): Define as weak alias.
15743
f2da7793
JM
157442013-04-29 Joseph Myers <joseph@codesourcery.com>
15745
15746 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15747 (ERRNO_EDOM): Likewise.
15748 (ERRNO_ERANGE): Likewise.
15749 (noErrnoTests): New variable.
15750 (init_max_error): Set errno to 0.
15751 (test_single_errno): New function.
15752 (test_errno): Likewise.
15753 (check_float_internal): Call test_errno. Set errno to 0.
15754 (check_complex): Refer to errno tests in comment.
15755 (check_int): Call test_errno. Set errno to 0.
15756 (check_long): Likewise.
15757 (check_bool): Likewise.
15758 (check_longlong): Likewise.
15759 (cos_test): Use ERRNO_* flags for errno tests instead of
15760 check_int.
15761 (expm1_test): Likewise.
15762 (fmod_test): Likewise.
15763 (ilogb_test): Likewise.
15764 (lgamma_test): Likewise.
15765 (pow_test): Likewise.
15766 (remainder_test): Likewise.
15767 (sin_test): Likewise.
15768 (tan_test): Likewise.
15769 (yn_test): Likewise.
15770 (initialize): Set errno to 0.
15771 (main): Print number of errno tests.
15772 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15773
b1a36ceb
AJ
157742013-04-29 Andreas Jaeger <aj@suse.de>
15775
c3ed8088
AJ
15776 [BZ #15084]
15777 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15778 and RES_USEVC.
15779
f1a24198
AJ
15780 [BZ #15085]
15781 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15782 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15783 unimplemented.
15784
9ce3b2cb
AJ
15785 [BZ #15380]
15786 * stdlib/random.c (__initstate): Return NULL if
15787 __initstate fails.
15788
f1a24198 15789 [BZ #15086]
b1a36ceb
AJ
15790 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15791 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15792 RES_SNGLKUPREOP.
15793
7e7b6f36
AZ
157942013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15795
15796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15797
4d14f449
JM
157982013-04-29 Joseph Myers <joseph@codesourcery.com>
15799
15800 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15801 of individual tests.
15802 (casin_test): Likewise.
15803 (casinh_test): Likewise.
15804
5b4217d7
JM
158052013-04-27 Joseph Myers <joseph@codesourcery.com>
15806
15807 [BZ #15409]
15808 * math/s_catan.c (__catan): Handle arguments with large real or
15809 imaginary part separately without squaring.
15810 * math/s_catanf.c (__catanf): Likewise.
15811 * math/s_catanh.c (__catanh): Likewise.
15812 * math/s_catanhf.c (__catanhf): Likewise.
15813 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15814 and redefine.
15815 (__catanhl): Handle arguments with large real or imaginary part
15816 separately without squaring.
15817 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15818 and redefine.
15819 (__catanl): Handle arguments with large real or imaginary part
15820 separately without squaring.
15821 * math/libm-test.inc (catan_test): Add more tests.
15822 (catanh_test): Likewise.
15823 * sysdeps/i386/fpu/libm-test-ulps: Update.
15824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15825
4220c3ef
AJ
158262013-04-27 Andreas Jaeger <aj@suse.de>
15827
15828 [BZ #15007]
15829 * stdlib/stdlib.h: Update guards for qecvt.
15830 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15831 <stdlib.h>.
15832
4721b2d1
AM
158332013-04-27 Allan McRae <allan@archlinux.org>
15834
15835 * sysdeps/i386/fpu/libm-test-ulps: Update.
15836
f0302940
JM
158372013-04-26 Joseph Myers <joseph@codesourcery.com>
15838
9457fd95
JM
15839 [BZ #15406]
15840 * math/s_catan.c: Include <float.h>.
15841 (__catan): Ensure underflow exception occurs for underflowed
15842 result.
15843 * math/s_catanf.c: Include <float.h>.
15844 (__catanf): Ensure underflow exception occurs for underflowed
15845 result.
15846 * math/s_catanh.c: Include <float.h>.
15847 (__catanh): Ensure underflow exception occurs for underflowed
15848 result.
15849 * math/s_catanhf.c: Include <float.h>.
15850 (__catanhf): Ensure underflow exception occurs for underflowed
15851 result.
15852 * math/s_catanhl.c: Include <float.h>.
15853 (__catanhl): Ensure underflow exception occurs for underflowed
15854 result.
15855 * math/s_catanl.c: Include <float.h>.
15856 (__catanl): Ensure underflow exception occurs for underflowed
15857 result.
15858 * math/libm-test.inc (catan_test): Add more tests.
15859 (catanh_test): Likewise.
15860
f0302940
JM
15861 [BZ #15405]
15862 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15863 underflowed result.
15864 * math/s_ccoshf.c (__ccoshf): Likewise.
15865 * math/s_ccoshl.c (__ccoshl): Likewise.
15866 * math/s_csin.c (__csin): Likewise.
15867 * math/s_csinf.c (__csinf): Likewise.
15868 * math/s_csinh.c (__csinh): Likewise.
15869 * math/s_csinhf.c (__csinhf): Likewise.
15870 * math/s_csinhl.c (__csinhl): Likewise.
15871 * math/s_csinl.c (__csinl): Likewise.
15872 * math/libm-test.inc (ccos_test): Add more tests.
15873 (ccosh_test): Likewise.
15874 (csin_test): Likewise.
15875 (csinh_test): Likewise.
15876
aa630f59
AZ
158772013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15878
15879 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15880 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15881 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15882 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15883 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15884 powerpc/power5+/fpu folders.
15885 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15886
15887
1b835983
MT
158882013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15889
15890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15891
73709b26
JM
158922013-04-25 Joseph Myers <joseph@codesourcery.com>
15893
15894 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15895 additions to variable.
15896 [$(config-machine) = x86_64] (modules-names): Likewise.
15897 ($(objpfx)tst-audit3): Remove dependency.
15898 ($(objpfx)tst-audit3.out): Likewise.
15899 ($(objpfx)tst-audit4): Likewise.
15900 ($(objpfx)tst-audit4.out): Likewise.
15901 ($(objpfx)tst-audit5): Likewise.
15902 ($(objpfx)tst-audit5.out): Likewise.
15903 ($(objpfx)tst-audit6): Likewise.
15904 ($(objpfx)tst-audit6.out): Likewise.
15905 ($(objpfx)tst-audit7): Likewise.
15906 ($(objpfx)tst-audit7.out): Likewise.
15907 (tst-audit3-ENV): Remove variable.
15908 (tst-audit4-ENV): Likewise.
15909 (tst-audit5-ENV): Likewise.
15910 (tst-audit6-ENV): Likewise.
15911 (tst-audit7-ENV): Likewise.
15912 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15913 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15914 addition to variable.
15915 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15916 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15917 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15918 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15919 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15920 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15921 tst-audit3, tst-audit4 and tst-audit5.
15922 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15923 tst-audit6 and tst-audit7.
15924 [$(subdir) = elf] (modules-names): Add audit modules for those
15925 tests.
15926 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15927 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15928 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15929 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15930 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15931 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15932 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15933 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15934 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15935 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15936 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15937 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15938 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15939 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15940 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15941 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15942 Likewise.
15943 [$(subdir) = elf && $(config-cflags-avx) = yes]
15944 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15945 [$(subdir) = elf && $(config-cflags-avx) = yes]
15946 (CFLAGS-tst-auditmod4a.c): Likewise.
15947 [$(subdir) = elf && $(config-cflags-avx) = yes]
15948 (CFLAGS-tst-auditmod4b.c): Likewise.
15949 [$(subdir) = elf && $(config-cflags-avx) = yes]
15950 (CFLAGS-tst-auditmod6b.c): Likewise.
15951 [$(subdir) = elf && $(config-cflags-avx) = yes]
15952 (CFLAGS-tst-auditmod6c.c): Likewise.
15953 [$(subdir) = elf && $(config-cflags-avx) = yes]
15954 (CFLAGS-tst-auditmod7b.c): Likewise.
15955 * elf/tst-audit3.c: Move to ...
15956 * sysdeps/x86_64/tst-audit3.c: ... here.
15957 * elf/tst-audit4.c: Move to ...
15958 * sysdeps/x86_64/tst-audit4.c: ... here.
15959 * elf/tst-audit5.c: Move to ...
15960 * sysdeps/x86_64/tst-audit5.c: ... here.
15961 * elf/tst-audit6.c: Move to ...
15962 * sysdeps/x86_64/tst-audit6.c: ... here.
15963 * elf/tst-audit7.c: Move to ...
15964 * sysdeps/x86_64/tst-audit7.c: ... here.
15965 * elf/tst-auditmod3a.c: Move to ...
15966 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15967 * elf/tst-auditmod3b.c: Move to ...
15968 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15969 * elf/tst-auditmod4a.c: Move to ...
15970 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15971 * elf/tst-auditmod4b.c: Move to ...
15972 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15973 * elf/tst-auditmod5a.c: Move to ...
15974 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15975 * elf/tst-auditmod5b.c: Move to ...
15976 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15977 * elf/tst-auditmod6a.c: Move to ...
15978 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15979 * elf/tst-auditmod6b.c: Move to ...
15980 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15981 * elf/tst-auditmod6c.c: Move to ...
15982 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15983 * elf/tst-auditmod7a.c: Move to ...
15984 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15985 * elf/tst-auditmod7b.c: Move to ...
15986 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15987
1ef74943
PP
159882013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15989
15990 [BZ #15366]
15991 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15992 define unconditionally.
15993 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15994 define unconditionally.
15995 (INT8_C, INT16_C, etc.): Likewise.
15996
93fd48c5
MR
159972013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15998
ae9552cf
MR
15999 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16000 __ehdr_start with hidden visibility.
16001
93fd48c5
MR
16002 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16003
418601aa
CD
160042013-04-24 Carlos O'Donell <carlos@redhat.com>
16005
16006 * math/libm-test.inc (cos_test): Use accurate hex constants.
16007 (sincost_test): Likewise.
16008
2f38fbfe
JM
160092013-04-24 Joseph Myers <joseph@codesourcery.com>
16010
5e221800
JM
16011 * math/libm-test.inc (catan_test): Add more tests.
16012 (catanh_test): Likewise.
16013
77f143fd
JM
16014 * math/s_catanf.c (__catanf): Use suffixed floating-point
16015 constants.
16016 * math/s_catanhf.c (__catanhf): Likewise.
16017 * math/s_catanhl.c (__catanhl): Likewise.
16018 * math/s_catanl.c (__catanl): Likewise.
16019
2f38fbfe
JM
16020 [BZ #15394]
16021 * math/s_catan.c (__catan): Calculate imaginary part of result
16022 with log1p not log unless computing log of number close to 0.
16023 * math/s_catanf.c (__catanf): Likewise.
16024 * math/s_catanl.c (__catanl): Likewise.
16025 * math/s_catanh.c (__catanh): Calculate real part of result with
16026 log1p not log unless computing log of number close to 0.
16027 * math/s_catanhf.c (__catanhf): Likewise.
16028 * math/s_catanhl.c (__catanhl): Likewise.
16029 * math/libm-test.inc (catan_test): Add more tests.
16030 (catanh_test): Likewise.
16031 * sysdeps/i386/fpu/libm-test-ulps: Update.
16032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16033
45d69176
SP
160342013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16035
16036 * benchtests/Makefile: Mention files in which fast and slow
16037 paths of math functions are implemented.
16038
87f51853
RM
160392013-04-23 Roland McGrath <roland@hack.frob.com>
16040
16041 * sysdeps/posix/timespec_get.c: New file.
16042
3c026539
AZ
160432013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16044
16045 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16046 POWER.
16047 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16048 for POWER.
16049 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16050 powerpc/power5/fpu folders.
16051 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16052 * benchtests/Makefile: Add modf testcase.
16053 * benchtests/bench-modf.c: New file: Benchmark test for mo
16054
ff491d14
SP
160552013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16056
16057 [BZ #14888]
16058 * time/Makefile (tests): Add tst-strptime-whitespace.
16059 * time/strptime_l.c (get_number): Use ISSPACE.
16060 (__strptime_internal): Likewise.
16061 * time/tst-strptime-whitespace.c: New test case.
16062
7ed3f4e8
AS
160632013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16064
16065 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16066 member.
16067 (_nss_files_init): Set it here.
16068
5c95f7b6
HC
160692013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16070
16071 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16072 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16073 unsigned.
16074
d34c9158
JBG
160752013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16076
16077 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16078
2169712d
SP
160792013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16080
16081 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16082 size just once.
16083
29c5de99
DM
160842013-04-21 David S. Miller <davem@davemloft.net>
16085
16086 * po/ru.po: Update Russion translation from translation project.
16087
ccdad15d
AC
160882013-04-17 Adam Conrad <adconrad@0c3.net>
16089
16090 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16091 and setfsgid.
16092
0f122b8d
CD
160932013-04-17 Carlos O'Donell <carlos@redhat.com>
16094
5c5b07da 16095 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 16096 * configure: Regenerate.
5c5b07da 16097 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
16098 Add example to error message.
16099 * sysdeps/i386/configure: Regenerate.
16100
037714dd
SP
161012013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16102
16103 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16104 slowtan.
16105 * benchtests/cos-inputs: New file.
16106 * benchtests/slowcos-inputs: New file.
16107 * benchtests/slowcos.c: New file.
16108 * benchtests/slowtan-inputs: New file.
16109 * benchtests/slowtan.c: New file.
16110 * benchtests/tan-inputs: New file.
16111
e913141d
RM
161122013-04-16 Roland McGrath <roland@hack.frob.com>
16113
16114 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16115 considered kosher.
16116
a2964074
SP
161172013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16118
4856bcd2
SP
16119 * benchtests/Makefile: Include cppflags-iterator.mk to add
16120 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16121
a2964074
SP
16122 * Makefile.in (bench-clean): New target.
16123 * benchtests/Makefile (bench-clean): Likewise.
16124
9fbf9aca
DH
161252013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16126
16127 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16128
207d1e2a
TS
161292013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16130
16131 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16132
306dfba9
AS
161332013-04-15 Andreas Schwab <schwab@suse.de>
16134
16135 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16136 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16137 * nscd/pwdcache.c (cache_addpw): Likewise.
16138 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16139 more than recsize.
16140
206a6699
SP
161412013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16142
16143 * benchtests/Makefile (bench): Write all output to
16144 bench-out.tmp together.
16145
0582f6b3
AS
161462013-04-15 Andreas Schwab <schwab@suse.de>
16147
16148 * nscd/nscd.c (main): Don't fork again after closing files.
16149
acb4325f
SP
161502013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16151
5cb26d0a
SP
16152 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16153
acb4325f
SP
16154 * benchtests/Rules (bench-deps): Collect dependencies into a
16155 single variable. Add Makefile to dependencies.
16156 ($(objpfx)bench-%.c): Depend on bench-deps.
16157
47792506
RM
161582013-04-12 Roland McGrath <roland@hack.frob.com>
16159 Xavier Roche <roche+kml2@exalead.com>
16160
16161 [BZ #15361]
16162 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16163 just that it's a file descriptor.
16164 * manual/llio.texi (Synchronizing AIO Operations): Update description
16165 for EBADF error from aio_fsync.
16166
8fc1bee5
SP
161672013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16168
16169 * Rules (bench): Move target definition...
16170 * benchtests/Makefile: ... here.
16171
aba5e333
CD
161722013-04-11 Carlos O'Donell <carlos@redhat.com>
16173
16174 * math/libm-test.inc (cos_test): Fix PI/2 test.
16175 (sincos_test): Likewise.
16176 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16177 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16178
273cdee8
AS
161792013-04-11 Andreas Schwab <schwab@suse.de>
16180
6ecec3b6
AS
16181 [BZ #13988]
16182 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16183 accept exponent character only when digits were seen.
16184 * stdio-common/Makefile (tests): Add bug26.
16185 * stdio-common/bug26.c: New file.
16186
273cdee8
AS
16187 [BZ #14293]
16188 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16189 non-freeable.
16190
8da491f5
SP
161912013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16192
01dc6df9
SP
16193 * Makeconfig (rtld-prefix): Define built linker prefix.
16194 * Rules (run-bench): Use it.
16195 * math/Makefile (run-regen-ulps): Likewise.
16196
8da491f5
SP
16197 * Rules (bench): Remove eval.
16198
abe7f530
SP
161992013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16200 Roland McGrath <roland@hack.frob.com>
16201 Ondrej Bilka <neleai@seznam.cz>
16202
16203 [BZ #15346]
16204 * time/getdate.c: Include ctype.h and alloca.h.
16205 (__getdate_r): Trim leading and trailing spaces of input.
16206 * time/tst-getdate.c (tests): Add tests with leading and
16207 trailing spaces.
16208
61c23e62
RM
162092013-04-08 Roland McGrath <roland@hack.frob.com>
16210
16211 [BZ #14280]
16212 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16213 when computing value.
16214
7208a313
CD
162152013-04-06 Carlos O'Donell <carlos@redhat.com>
16216
085b2d41
CD
16217 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16218 Use testrun.sh to run libm tests.
16219
7208a313
CD
16220 [BZ #15309]
16221 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16222
872c0acd
MM
162232013-04-06 Marko Myllynen <myllynen@redhat.com>
16224
16225 [BZ #15264]
16226 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16227
26510bdd
CD
162282013-04-06 Carlos O'Donell <carlos@redhat.com>
16229
16230 * Makefile.in (regen-ulps): New target.
16231 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16232 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16233 [ifneq (no,$(PERL)] (regen-ulps): New target.
16234 [ifeq (no,$(PERL)] (regen-ulps): New target.
16235 * math/libm-test.inc (ulps_file_name): Define.
16236 (output_dir): New variable.
16237 (options): Add "output-dir" option.
16238 (parse_opt): Handle 'o' case.
16239 (main): If output_dir is non-NULL use it as a prefix
16240 otherwise use "".
16241 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16242
a01f19c8
CD
162432013-04-06 Carlos O'Donell <carlos@redhat.com>
16244
16245 [BZ #10060, #10062]
16246 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16247 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16248 fail configure if __sync_val_compare_and_swap is not inlined.
16249 * sysdeps/i386/configure: Regenerate.
16250 * configure.in: Build for i686 when configured for i386.
16251 * configure: Regenerate.
16252 * README: Remove i386 reference.
16253
b7a329a5
CD
162542013-04-06 Carlos O'Donell <carlos@redhat.com>
16255
16256 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16257 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16258
bf0f50df
TS
162592013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16260
ee091edf
TS
16261 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16262 (lmsnanval): New variables.
16263 (F): Add conversion tests.
16264 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16265 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16266
a8b792d6
TS
16267 * stdio-common/tstdiomisc.c (F): Properly collect individual
16268 tests' results.
16269
a1cbf437
TS
16270 [BZ #14686, #15336]
16271 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16272 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16273 Instead, use input NaN values or generate a qNaN by arithmetic
16274 operation. Also fix bugs to comply with the standard.
16275 * math/libm-test.inc (remainder_test): Add more tests.
16276
8b43a0c9
TS
16277 [BZ #15335, #15342]
16278 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16279 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16280 input NaN values or generate a qNaN by arithmetic operation.
16281
d91da4ce
TS
16282 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16283 unreachable code.
16284
bf0f50df
TS
16285 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16286 definitions.
16287
05e166c8
JM
162882013-04-03 Joseph Myers <joseph@codesourcery.com>
16289
16290 [BZ #14478]
16291 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16292 underflowed result.
16293 * math/s_cexpf.c (__cexpf): Likewise.
16294 * math/s_cexpl.c (__cexpl): Likewise.
16295 * math/libm-test.inc (cexp_test): Add more tests.
16296
1cef1b19
AS
162972013-04-03 Andreas Schwab <schwab@suse.de>
16298
16299 [BZ #15330]
16300 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16301 order arrays from heap if bigger than alloca cutoff.
16302
74d87055
TS
163032013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16304
16305 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16306 (SNAN_TESTS_double): Refer to GCC PR56831.
16307 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16308 GCC PR56828.
16309
d755bba4
SP
163102013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16311
90d5d5bb
SP
16312 * Rules (bench): Move bench.out after the run is complete.
16313
73e0cd5d
SP
16314 * Rules (bench): Echo currently running benchmark.
16315
64aabd4b
SP
16316 * benchtests/Makefile (bench): Add atan and slowatan.
16317 * benchtests/atan-inputs: New file.
16318 * benchtests/slowatan-inputs: New file.
16319 * benchtests/slowatan.c: New file.
16320
c871eccd
SP
16321 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16322 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16323 its value.
16324
d755bba4
SP
16325 [BZ #15305]
16326 * sysdeps/unix/sysv/linux/kernel-features.h
16327 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16328 __ASSUME_XFS_RESTRICTED_CHOWN.
16329 * sysdeps/unix/sysv/linux/pathconf.c
16330 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16331 Save and restore errno.
16332
52ce4860
JM
163332013-04-02 Joseph Myers <joseph@codesourcery.com>
16334
16335 [BZ #15327]
16336 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16337 arguments using __kernel_casinh.
16338 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16339 arguments using __kernel_casinhf.
16340 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16341 arguments using __kernel_casinhl.
16342 * math/libm-test.inc (cacosh_test): Add more tests.
16343 * sysdeps/i386/fpu/libm-test-ulps: Update.
16344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16345
81f311c2
SP
163462013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16347
e7906a47
SP
16348 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16349 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16350
92e3664b
SP
16351 * bench/Makefile (bench): Add sin and slowsin.
16352 * benchtests/sin-inputs: New file.
16353 * benchtests/slowsin-inputs: New file.
16354 * benchtests/slowsin.c: New file.
16355
81f311c2
SP
16356 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16357 (bench): Add slowexp and slowpow.
16358 (exp-ITER): Increase iterations.
16359 (pow-ITER): Likewise.
16360 * benchtests/exp-inputs: Change input.
16361 * benchtests/pow-inputs: Likewise.
16362 * benchtests/slowexp-inputs: New file.
16363 * benchtests/slowexp.c: New file.
16364 * benchtests/slowpow-inputs: New file.
16365 * benchtests/slowpow.c: New file.
16366
ab0f1aa9
AZ
163672013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16368
16369 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16370 instructions.
16371 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16372 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16373 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16374 * benchtests/Makefile: Add rint benchtest.
16375 * benchtests/rint-inputs: Input for rint benchtest.
16376
57267616
TS
163772013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16378
16379 * Versions.def (libm): Add GLIBC_2.18.
16380 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16381 hidden libm prototypes.
16382 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16383 * math/Makefile (libm-calls): Add s_issignaling.
16384 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16385 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16386 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16387 declaration.
16388 * math/math.h [__USE_GNU] (issignaling): New macro.
16389 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16390 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16391 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16392 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16393 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16394 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16395 * manual/arith.texi (issignaling): New section.
16396 * manual/libm-err-tab.pl (@all_functions): Update comment.
16397 * math/gen-libm-test.pl (parse_args): Apply special handling for
16398 issignaling.
16399 * math/libm-test.inc (print_float, issignaling_test): New
16400 functions.
16401 (check_float_internal): Add issignaling checks.
16402 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16403 default definition.
16404 * sysdeps/powerpc/math-tests.h: New file.
16405 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16406 tests.
16407 * math/test-snan.c (TEST_FUNC): Likewise.
16408
6142896d
DM
164092013-03-30 David S. Miller <davem@davemloft.net>
16410
16411 * po/de.po: Update from translation team.
16412
ccc8cadf
JM
164132013-03-30 Joseph Myers <joseph@codesourcery.com>
16414
16415 [BZ #10357]
16416 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16417 imaginary part less than 1.0 and real part less than 0.5
16418 specially.
16419 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16420 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16421 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16422 (cacos_test): Add more tests.
16423 (casin_test): Likewise.
16424 (casinh_test): Likewise.
16425 * sysdeps/i386/fpu/libm-test-ulps: Update.
16426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16427
0f6a8d4b
SP
164282013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16429
0d1029de
SP
16430 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16431 ONE with its value.
16432
c2d94018
SP
16433 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16434 (__pow_mp): Replace ONE and MONE with their values.
16435 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16436 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16437 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16438 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16439 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16440 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16441
27ec37f1
SP
16442 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16443
a64d7e0e
SP
16444 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16445 (__pow_mp): Replace ZERO and MZERO with their values.
16446 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16447 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16448 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16450 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16451 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16452 (__sqr): Likewise.
16453
d26dd3eb
SP
16454 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16455
0f6a8d4b
SP
16456 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16457
e57b0c61
RM
164582013-03-28 Roland McGrath <roland@hack.frob.com>
16459
16460 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16461 Declare with __attribute__ ((weak)).
16462 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16463 Call __call_tls_dtors only if it's not NULL.
16464
356b3480
RM
164652013-03-28 Roland McGrath <roland@hack.frob.com>
16466
288f7d79
RM
16467 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16468 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16469 magic __ehdr_start linker symbol if it's defined.
16470 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16471 them up here if it was already done.
16472
dc0a0263
RM
16473 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16474 (_dl_aux_init): Use const in cast when setting it.
16475 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16476 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16477 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16478
3d3436ae
RM
16479 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16480 Declare them here.
16481 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16482 * csu/libc-tls.c: Nor here.
16483 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16484
356b3480
RM
16485 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16486 (__libc_message): Never call vsyslog.
16487
b0f1246a
AM
164882013-03-28 Alan Modra <amodra@gmail.com>
16489
16490 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16491 Define as empty.
16492 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16493 Likewise.
16494
fbbe2b9a
AZ
164952013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16496
16497 [BZ #15214]
16498 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16499 underflow.
16500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16501
1728ab37
SP
165022013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16503
7a86be6e
SP
16504 [BZ #15304]
16505 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16506 Don't add gid passed as argument.
16507
1728ab37
SP
16508 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16509
3a7182a1
JM
165102013-03-27 Joseph Myers <joseph@codesourcery.com>
16511
16512 [BZ #15307]
16513 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16514 imaginary part between 1.0 and 1.5 and real part less than 0.5
16515 specially.
16516 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16517 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16518 * math/libm-test.inc (cacos_test): Add more tests.
16519 (casin_test): Likewise.
16520 (casinh_test): Likewise.
16521 * sysdeps/i386/fpu/libm-test-ulps: Update.
16522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16523
6f2e90e7
SP
165242013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16525
5739f705
SP
16526 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16527 constants.
16528 (norm): Likewise.
16529 (denorm): Likewise.
16530 (__dbl_mp): Likewise.
16531 (add_magnitudes): Likewise.
16532 (sub_magnitudes): Likewise.
16533 (__add): Likewise.
16534 (__sub): Likewise.
16535 (__mul): Likewise.
16536 (__sqr): Likewise.
16537 (__inv): Likewise.
16538 (__dvd): Likewise.
16539
e375e83d
SP
16540 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16541 commented code.
16542 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16543 (__dubcos): Likewise.
16544 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16545 (__ieee754_acos): Likewise.
16546 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16547 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16548 (__exp1): Likewise.
16549 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16550 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16551 (log1): Likewise.
16552 (my_log2): Likewise.
16553 (checkint): Likewise.
16554 * sysdeps/ieee754/dbl-64/e_remainder.c
16555 (__ieee754_remainder): Likewise.
16556 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16557 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16558 (bsloww): Likewise.
16559 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16560
6f2e90e7
SP
16561 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16562 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16563 MANTISSA_STORE_T to store computations on mantissa. Use
16564 macros for rounding and division.
16565 (denorm): Likewise.
16566 (__dbl_mp): Likewise.
16567 (add_magnitudes): Likewise.
16568 (sub_magnitudes): Likewise.
16569 (__mul): Likewise.
16570 (__sqr): Likewise.
16571 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16572 powers of two in terms of TWOPOW macro.
16573 (mp_no): Make type of mantissa as MANTISSA_T.
16574 [!RADIXI]: Define RADIXI.
16575 [!TWO52]: Define TWO52.
16576 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16577
fce14d4e
AZ
165782013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16579
16580 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16581 llroundl symbol when building for PPC32.
16582
9ad027fb
MW
165832013-03-24 Mark H Weaver <mhw@netris.org>
16584
16585 * manual/arith.texi (Normalization Functions): Fix prototypes for
16586 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16587
e42a38dd
AZ
165882013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16589
16590 [BZ #13889]
16591 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16592 high value to check if expl overflow.
16593 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16594 to check for underflow and overflow.
16595 * math/libm-test.inc: Add exp test.
16596
2e0fb521
DL
165972013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16598
16599 [BZ #11120]
16600 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16601 with NOT_IN_libc.
16602
b5784d95
AZ
166032013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16604
16605 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16606 symbol.
16607
5aa4a1a1
TS
166082013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16609
bdef0be7
TS
16610 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16611 wrap blocks consisting of several statements.
16612
5aa4a1a1
TS
16613 * sysdeps/generic/math-tests.h: New file.
16614 * sysdeps/i386/fpu/math-tests.h: Likewise.
16615 * math/test-snan.c: Include it.
16616 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16617
98c48fe5
JM
166182013-03-21 Joseph Myers <joseph@codesourcery.com>
16619
16620 [BZ #15285]
16621 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16622 (__ieee754_j0l): Do not improve calculations using cos of twice
16623 input for inputs above LDBL_MAX / 2.0L.
16624 (__ieee754_y0l): Likewise.
16625 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16626 (__ieee754_j1l): Do not improve calculations using cos of twice
16627 input for inputs above LDBL_MAX / 2.0L.
16628 (__ieee754_y1l): Likewise.
16629 * math/libm-test.inc (j0_test): Add another test.
16630 (j1_test): Likewise.
16631 (y0_test): Likewise.
16632 (y1_test): Likewise.
16633 * sysdeps/i386/fpu/libm-test-ulps: Update.
16634
3775a8bc
SP
166352013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16636
16637 * Rules ($(objpfx)bench-%.c): Include code from a C source
16638 file.
16639
0a1b2ae6
JM
166402013-03-21 Joseph Myers <joseph@codesourcery.com>
16641
16642 [BZ #15287]
16643 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16644 imaginary part 1.0 and real part less than 0.5 specially.
16645 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16646 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16647 * math/libm-test.inc (cacos_test): Add more tests.
16648 (casin_test): Likewise.
16649 (casinh_test): Likewise.
16650 * sysdeps/i386/fpu/libm-test-ulps: Update.
16651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16652
b33d4ce4
SP
166532013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16654
16655 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16656 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16657
bef0b507
JM
166582013-03-20 Joseph Myers <joseph@codesourcery.com>
16659
16660 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16661 * config.make.in (config-cflags-sse4): Remove variable.
16662 (config-cflags-avx): Likewise.
16663 (config-cflags-sse2avx): Likewise.
16664 (config-cflags-novzeroupper): Likewise.
16665 (config-asflags-i686): Likewise.
16666 (have-mfma4): Likewise.
16667 (have-as-vis3): Likewise.
16668 (MIG): Likewise.
16669 * configure.in (MIG): Do not AC_SUBST.
16670 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16671 (libc_cv_cc_sse4): Do not AC_SUBST.
16672 (libc_cv_cc_avx): Likewise.
16673 (libc_cv_cc_sse2avx): Likewise.
16674 (libc_cv_cc_novzeroupper): Likewise.
16675 (libc_cv_cc_fma4): Likewise.
16676 (libc_cv_as_i686): Likewise.
16677 (libc_cv_sparc_as_vis3): Likewise.
16678 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16679 LIBC_CONFIG_VAR.
16680 (config-asflags-i686): Likewise.
16681 (config-cflags-avx): Likewise.
16682 (config-cflags-sse2avx): Likewise.
16683 (have-mfma4): Likewise.
16684 (config-cflags-novzeroupper): Likewise.
16685 * sysdeps/mach/configure.in (MIG): Likewise.
16686 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16687 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16688 LIBC_CONFIG_VAR.
16689 (config-cflags-avx): Likewise.
16690 (config-cflags-sse2avx): Likewise.
16691 (have-mfma4): Likewise.
16692 (config-cflags-novzeroupper): Likewise.
16693 * configure: Regenerated.
16694 * sysdeps/i386/configure: Likewise.
16695 * sysdeps/mach/configure: Likewise.
16696 * sysdeps/sparc/configure: Likewise.
16697 * sysdeps/x86_64/configure: Likewise.
16698
912cc4b3
RM
166992013-03-20 Roland McGrath <roland@hack.frob.com>
16700
16701 [BZ #14812]
16702 * locale/programs/localedef.c (options): Put N_ translation marker
16703 on argument names, not just descriptions.
16704
04eed2b0
MS
167052013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16706
16707 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16708
a065ceff
OB
167092013-03-20 Ondřej Bílka <neleai@seznam.cz>
16710
9bb2a810 16711 [BZ #14176]
a065ceff
OB
16712 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16713
a600e5ce
RM
167142013-03-19 Roland McGrath <roland@hack.frob.com>
16715
16716 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16717 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16718 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16719 [!BEFORE_ABORT] (before_abort): New function.
16720 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16721 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16722 (writev_for_fatal): New function.
16723 (WRITEV_FOR_FATAL): New macro; call that.
16724 (backtrace_and_maps): New function.
16725 (BEFORE_ABORT): New macro; call that.
16726 (struct str_list): Type removed.
16727 (__libc_message, __libc_fatal): Functions removed.
16728 Include <sysdeps/posix/libc_fatal.c> instead.
16729
6b18bea6
JM
167302013-03-19 Joseph Myers <joseph@codesourcery.com>
16731
16732 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16733 constants.
16734 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16735 double constants.
16736
aaa8cb4b
AS
167372013-03-19 Andreas Schwab <schwab@suse.de>
16738
44673770
AS
16739 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16740 * sysdeps/gnu/configure: Regenerate.
16741
aaa8cb4b
AS
16742 * configure.in: Substitute libc_cv_rtlddir.
16743 * configure: Regenerate.
16744 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16745 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16746 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16747 * elf/Makefile (install-others, CFLAGS-interp.c)
16748 (ldso_install, common-ldd-rewrite): Likewise.
16749 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16750 $(inst_slibdir)/$(rtld-installed-name).
16751 * scripts/rellns-sh: Add -p option.
16752 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16753 for source.
16754
d3cfc668
SP
167552013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16756
16757 * manual/nptl.texi: Renamed to ...
16758 * manual/threads.texi: ... this.
16759 * manual/Makefile (chapters): Update.
16760
0e2b9cdd
RM
167612013-03-18 Roland McGrath <roland@hack.frob.com>
16762
16763 [BZ #14812]
16764 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16765 on argument names, not just descriptions.
0e2b9cdd
RM
16766 * malloc/memusagestat.c (options): Likewise.
16767 * nss/getent.c (options): Likewise.
63270c24
RM
16768
167692013-03-18 Benno Schulenberg <bensberg@justemail.net>
16770
16771 [BZ #14812]
16772 * iconv/iconv_prog.c (options): Put N_ translation marker
16773 on argument names, not just descriptions.
16774 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16775
b2e1393c
OB
167762013-03-18 Ondrej Bilka <neleai@seznam.cz>
16777
16778 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16779 implementation which is faster on all x86_64 architectures.
16780 Tested on AMD, Intel Nehalem, SNB, IVB.
16781 * sysdeps/x86_64/strnlen.S: Likewise.
16782
16783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16784 Remove all multiarch strlen and strnlen versions.
16785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16786 Remove strlen and strnlen related parts.
16787
16788 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16789 Inline strlen part.
16790 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16791
16792 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16793 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16794 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16795 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16796 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16797 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16798
ec4ff04d
CD
167992013-03-17 Carlos O'Donell <carlos@redhat.com>
16800
16801 * manual/memory.texi (Malloc Tunable Parameters):
16802 Sort parameters alphabetically. Add comments for missing entries.
16803
cd18e90a
DM
168042013-03-17 David S. Miller <davem@davemloft.net>
16805
16806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16807
2a185d32
JM
168082013-03-16 Joseph Myers <joseph@codesourcery.com>
16809
d2f9799e
JM
16810 [BZ #15283]
16811 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16812 for arguments at most half maximum finite value.
16813 * math/libm-test.inc (j0_test): Add more tests.
16814 (j1_test): Likewise.
16815 (y0_test): Likewise.
16816 (y1_test): Likewise.
16817 * sysdeps/i386/fpu/libm-test-ulps: Update.
16818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16819
2a185d32
JM
16820 [BZ #14155]
16821 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16822 1 / x and functions P and Q for arguments above 0x1p256L.
16823 (__ieee754_y0l): Likewise.
16824 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16825 (__ieee754_y1l): Likewise.
16826 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16827 (j1_test): Likewise.
16828 (y0_test): Likewise.
16829 (y1_test): Likewise.
16830
6cbec759
TS
168312013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16832
16833 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16834 variable.
16835
bc16e260
RM
168362013-03-15 Roland McGrath <roland@hack.frob.com>
16837
aefc9b8c
RM
16838 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16839 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16840 zero since it's initialized to EXEC_PAGESIZE.
16841
bc16e260
RM
16842 * sysdeps/unix/sysv/linux/ldsodefs.h
16843 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16844 * sysdeps/generic/ldsodefs.h: ... here.
16845
a57da955
TS
168462013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16847
af00a34d
TS
16848 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16849
495ded2c
TS
16850 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16851 math/test-snan.c.
16852 * math/test-snan.c: Renamed from
16853 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16854 * math/Makefile (tests): Add test-snan.
16855 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16856 test-powerpc-snan.
16857
777b0332
TS
16858 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16859 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16860 functions.
16861 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16862 __builtin_nan family of functions.
16863 * math/libm-test.inc (initialize): Initialize qnan_value with
16864 __builtin_nan family of functions.
16865 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16866 Remove variables.
16867 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16868 Remove functions.
16869 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16870 storage class. Initialize qNaN_var and sNaN_var with
16871 __builtin_nan and __builtin_nans families of functions,
16872 respectively.
16873
64d063b8
TS
16874 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16875 (sqrt_test): Remove duplicate test with qNaN input.
16876 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16877 (round_test, signbit_test, significand_test): Note missing +/-Inf
16878 as well as qNaN tests.
16879
67e971f1
TS
16880 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16881 qNaN_var. Fix a few strings, too.
16882 * math/libm-test.inc (nan_value): Rename to qnan_value.
16883 * math/gen-libm-test.pl (%beautify): Adjust to that.
16884 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16885 * math/test-misc.c (main): Likewise.
16886 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16887 to __qnan_bytes, and __qnan_union, respectively.
16888 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16889 Likewise.
16890 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16891 and lqnanval, respectively.
16892 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16893 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16894 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16895 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16896
64487e12
TS
16897 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16898 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16899 doubles.
16900
e015e27b
TS
16901 * math/test-misc.c (main): Fix copy'n'pastos.
16902 * misc/tst-efgcvt.c (special): Likewise.
16903
a57da955
TS
16904 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16905 Remove declarations.
16906
1e380345
SP
169072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16908
16909 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16910 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16911 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16912 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16913
ef26eece
AZ
169142013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16915
16916 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16917 macro to return vdso values correctly in IFUNC implementations.
16918 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16919 Optimization by using IFUNC.
16920
8cfdb7e0
SP
169212013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16922 Richard Henderson <rth@redhat.com>
16923 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16924
16925 * Makefile.in (bench): New target.
16926 * NEWS: Mention the benchmark framework.
16927 * Rules (bench): Likewise.
16928 (binaries-bench): Generate binaries for functions to
16929 benchmark.
16930 * benchtests/Makefile: New makefile for benchmark tests.
16931 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16932 programs.
16933 * benchtests/exp-inputs: New input file for EXP function.
16934 * benchtests/pow-inputs: New input file for POW function.
16935 * scripts/bench.pl: New script to generate source files for
16936 benchmark programs.
16937
bcda9880
SP
169382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16939
d22ca8cd
SP
16940 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16941 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16942 computations on mantissa. Use macros for rounding and
16943 division.
16944 (denorm): Likewise.
16945 (__dbl_mp): Likewise.
16946 (add_magnitudes): Likewise.
16947 (sub_magnitudes): Likewise.
16948 (__mul): Likewise.
16949 (__sqr): Likewise.
16950 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16951 powers of two in terms of TWOPOW macro.
16952 (mp_no): Make type of mantissa as MANTISSA_T.
16953 [!RADIXI]: Define RADIXI.
16954 [!TWO52]: Define TWO52.
16955 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16956
bcda9880
SP
16957 * manual/nptl.texi (cindex): Modify threads to pthreads.
16958
06d5adfb
JM
169592013-03-15 Joseph Myers <joseph@codesourcery.com>
16960
16961 * sysdeps/x86_64/preconfigure: Regenerated.
16962
41c7328e
JM
169632013-03-14 Joseph Myers <joseph@codesourcery.com>
16964
16965 [BZ #14155]
16966 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16967 0x1p28 and above.
16968 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16969 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16970 0x1p28 and above.
16971 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16972 * math/libm-test.inc (j0_test): Do not allow one spurious
16973 underflow exception.
16974 (y1_test): Likewise.
16975
e25cfa60
SP
169762013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16977
0409959c
SP
16978 * manual/Makefile (chapters): Add nptl.
16979 * manual/debug.texi (Debugging Support): Add link to Threads
16980 chapter.
16981 * manual/nptl.texi: New file.
16982
e25cfa60
SP
16983 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16984
58a1335e
PB
169852013-03-14 Petr Baudis <pasky@ucw.cz>
16986
16987 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16988 for non-NULL pointer before the memory validity test. Pointed
16989 out by Holger Brunck <holger.brunck@keymile.com>.
16990
9dc7c64f
AS
169912013-03-13 Andreas Schwab <schwab@suse.de>
16992
16993 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16994 instead of .os.
16995
54206aa6
JM
169962013-03-13 Joseph Myers <joseph@codesourcery.com>
16997
16998 * timezone/zic.c: Update from tzcode 2013b.
16999
e98cdb38
CD
170002013-03-12 Carlos O'Donell <carlos@redhat.com>
17001
17002 * manual/install.texi (Configuring and compiling):
17003 Mention i686 and i586.
17004 * INSTALL: Regenerate.
17005
9967e003
RM
170062013-03-12 Roland McGrath <roland@hack.frob.com>
17007
17008 * sysdeps/init_array/elf-init.c: New file.
17009 * csu/elf-init.c
17010 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17011 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17012
17013 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17014 __gmon_start__ as global, but as static with a .preinit_array pointer.
17015 * sysdeps/init_array/gmon-start.c: New file. Use that.
17016 * sysdeps/init_array/crti.S: New file, empty except for comments.
17017 * sysdeps/init_array/crtn.S: Likewise.
17018
e6b5a293 170192013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17020
17021 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17022 definining bcopy.
80f844c9
OB
17023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17024 Remove Prefer_SSE_for_memop.
17025 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17026 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17027 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17029 memset-x86-64.
80f844c9 17030 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17031 Remove bzero, memset ifunc support.
80f844c9
OB
17032 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17033 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17034 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17035 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17036
fb6b0fcb
AS
170372013-03-11 Andreas Schwab <schwab@suse.de>
17038
17039 [BZ #15234]
17040 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17041 by SHLIB_COMPAT.
17042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17043 (GLIBC_2.16): Remove pthread_atfork.
17044
3e6bd4b1
PP
170452013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17046
17047 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17048 (ptestcases.h): Likewise.
17049
222d7f00
RM
170502013-03-08 Roland McGrath <roland@hack.frob.com>
17051
17052 * Makeconfig ($(common-objpfx)config.status): Depend on
17053 sysdeps/*/preconfigure{,.in} too.
17054
1ba4f030
JM
170552013-03-08 Joseph Myers <joseph@codesourcery.com>
17056
a222d91a
JM
17057 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17058 (__free_hook): Use void * instead of __malloc_ptr_t.
17059 (__malloc_hook): Likewise.
17060 (__realloc_hook): Likewise.
17061 (__memalign_hook): Likewise.
17062 (__after_morecore_hook): Likewise.
17063 * malloc/arena.c (save_malloc_hook): Likewise.
17064 (save_free_hook): Likewise.
17065 * malloc/hooks.c (malloc_hook_ini): Likewise.
17066 (realloc_hook_ini): Likewise.
17067 (memalign_hook_ini): Likewise.
17068 * malloc/malloc.c (malloc_hook_ini): Likewise.
17069 (realloc_hook_ini): Likewise.
17070 (memalign_hook_ini): Likewise.
17071 (__free_hook): Likewise.
17072 (__malloc_hook): Likewise.
17073 (__realloc_hook): Likewise.
17074 (__memalign_hook): Likewise.
17075 (__libc_malloc): Likewise.
17076 (__libc_free): Likewise.
17077 (__libc_realloc): Likewise.
17078 (__libc_memalign): Likewise.
17079 (__libc_valloc): Likewise.
17080 (__libc_pvalloc): Likewise.
17081 (__libc_calloc): Likewise.
17082 (__posix_memalign): Likewise.
17083 * malloc/morecore.c (__sbrk): Likewise.
17084 (__default_morecore): Likewise.
17085
5cc45e10
JM
17086 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17087
dd54b864
JM
17088 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17089 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17090 __malloc_ptrdiff_t.
17091
1ba4f030
JM
17092 * malloc/malloc.h (__malloc_size_t): Remove macro.
17093 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17094 __malloc_size_t.
17095 (old_memalign_hook): Likewise.
17096 (old_realloc_hook): Likewise.
17097 (struct hdr): Likewise.
17098 (flood): Likewise.
17099 (mallochook): Likewise.
17100 (memalignhook): Likewise.
17101 (reallochook): Likewise.
17102 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17103 (tr_old_realloc_hook): Likewise.
17104 (tr_old_memalign_hook): Likewise.
17105 (tr_mallochook): Likewise.
17106 (tr_reallochook): Likewise.
17107 (tr_memalignhook): Likewise.
17108
edf66e57
AZ
171092013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17110
17111 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17112 default_ldbl_pack and using as default implementation.
17113 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17114 implementation.
17115 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17116 redundant definition.
17117 (ldbl_insert_mantissa): Likewise.
17118 (ldbl_canonicalize): Likewise.
17119 (ldbl_nearbyint): Likewise.
17120 (ldbl_pack): Rename to ldbl_pack_ppc.
17121 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17122 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17123 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17124
6d9145d8
SP
171252013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17126
17127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17128 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17129 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17130 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17132 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17133 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17134 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17135
4dd4e157
AJ
171362013-03-07 Andreas Jaeger <aj@suse.de>
17137
17138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17139 bits/mman-linux.h.
17140
adbb8027
SP
171412013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17142
ce544b5b
SP
17143 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17144 Include mpa.h and declare __MPEXP.
17145 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17146 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17147 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17148 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17149 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17150 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17151 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17152
4cc149fd
SP
17153 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17154 (__slowpow): Use long double EXPL and LOGL functions to
17155 compute POW.
17156 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17157 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17158 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17159 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17160 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17161 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17162
e6ebd4a7
SP
17163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17164 intermediate variable to calculate exponent.
17165 (__sqr): Likewise.
17166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17167 Likewise.
17168 (__sqr): Likewise.
17169
82a9811d
SP
17170 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17171 [!NO__SQR]: Define __sqr.
17172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17173 and NO__SQR. Remove all code except __mul and __sqr. Include
17174 sysdeps/ieee754/dbl-64/mpa.c.
17175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17176
adbb8027
SP
17177 [BZ #12723]
17178 * posix/Makefile (tests): Add tst-pathconf.
17179 * posix/tst-pathconf.c: New test case.
17180 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17181 _PC_PIPE_BUF.
17182 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17183
39120df9
PF
171842013-03-06 Patsy Franklin <pfrankli@redhat.com>
17185
17186 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17187
67525cb8
AJ
171882013-03-06 Andreas Jaeger <aj@suse.de>
17189
664a9ce4
AJ
17190 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17191 definition via __MAP_ANONYMOUS.
17192
8e39047d
AJ
17193 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17194 it's not part of Linux headers.
17195
67525cb8
AJ
17196 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17197 (MAP_HUGE_MASK): Define.
17198
17199 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17200 Define.
17201 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17203 Define.
17204 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17205 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17206 Define.
17207 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17208 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17209 Define.
17210 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17211
17212 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17213 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17214 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17215 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17216 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17217 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17218
17219 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17220 Handle f2fs.
17221
17222 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17223 Handle f2fs and efivarfs.
17224
17225 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17226 f2fs.
17227
17228 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17229 (EFIVARFS_MAGIC): Add.
17230 (F2FS_LINK_MAX): Add.
17231
e1b42695
PP
172322013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17233
17234 * stdio-common/vfprintf.c: Replace __builtin_expect with
17235 __glibc_unlikely.
17236
2d67d91a
JM
172372013-03-06 Joseph Myers <joseph@codesourcery.com>
17238
17239 [BZ #13550]
17240 * sysdeps/generic/bp-sym.h: Remove file.
17241 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17242 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17243 <bp-sym.h> and <bp-asm.h>.
17244 (__longjmp): Don't use BP_SYM.
17245 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17246 and <bp-asm.h>.
17247 (memcpy): Don't use BP_SYM.
17248 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17249 <bp-sym.h> and <bp-asm.h>.
17250 (memcpy): Don't use BP_SYM.
17251 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17252 <bp-asm.h>.
17253 (memcpy): Don't use BP_SYM.
17254 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17255 <bp-asm.h>.
17256 (memset): Don't use BP_SYM.
17257 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17258 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17259 (__bzero): Don't use BP_SYM.
17260 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17261 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17262 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17263 <bp-sym.h> and <bp-asm.h>.
17264 (memcmp): Don't use BP_SYM. Remove comment about bounded
17265 pointers.
17266 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17267 <bp-sym.h> and <bp-asm.h>.
17268 (memcpy): Don't use BP_SYM.
17269 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17270 <bp-sym.h> and <bp-asm.h>.
17271 (memset): Don't use BP_SYM.
17272 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17273 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17274 (__bzero): Don't use BP_SYM.
17275 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17276 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17277 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17278 <bp-sym.h> and <bp-asm.h>.
17279 (strncmp): Don't use BP_SYM. Remove comment about bounded
17280 pointers.
17281 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17282 <bp-sym.h> and <bp-asm.h>.
17283 (memcpy): Don't use BP_SYM.
17284 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17285 <bp-sym.h> and <bp-asm.h>.
17286 (memset): Don't use BP_SYM.
17287 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17288 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17289 (__bzero): Don't use BP_SYM.
17290 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17291 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17292 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17293 <bp-sym.h> and <bp-asm.h>.
17294 (__memchr): Don't use BP_SYM.
17295 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17296 <bp-sym.h> and <bp-asm.h>.
17297 (memcmp): Don't use BP_SYM. Remove comment about bounded
17298 pointers.
17299 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17300 <bp-sym.h> and <bp-asm.h>.
17301 (memcpy): Don't use BP_SYM.
17302 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17303 <bp-sym.h> and <bp-asm.h>.
17304 (__mempcpy): Don't use BP_SYM.
17305 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17306 <bp-sym.h> and <bp-asm.h>.
17307 (__memrchr): Don't use BP_SYM.
17308 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17309 <bp-sym.h> and <bp-asm.h>.
17310 (memset): Don't use BP_SYM.
17311 (__bzero): Likewise.
17312 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17313 <bp-sym.h> and <bp-asm.h>.
17314 (__rawmemchr): Don't use BP_SYM.
17315 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17316 <bp-sym.h> and <bp-asm.h>.
17317 (__STRCMP): Don't use BP_SYM.
17318 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17319 <bp-sym.h> and <bp-asm.h>.
17320 (strchr): Don't use BP_SYM.
17321 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17322 <bp-sym.h> and <bp-asm.h>.
17323 (__strchrnul): Don't use BP_SYM.
17324 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17325 <bp-sym.h> and <bp-asm.h>.
17326 (strlen): Don't use BP_SYM.
17327 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17328 <bp-sym.h> and <bp-asm.h>.
17329 (strncmp): Don't use BP_SYM. Remove comment about bounded
17330 pointers.
17331 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17332 <bp-sym.h> and <bp-asm.h>.
17333 (__strnlen): Don't use BP_SYM.
17334 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17335 <bp-sym.h> and <bp-asm.h>.
17336 (__GI__setjmp): Don't use BP_SYM.
17337 (_setjmp): Likewise.
17338 (__sigsetjmp): Likewise.
17339 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17340 (L(start_addresses)): Don't use BP_SYM.
17341 (_start): Likewise.
17342 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17343 <bp-asm.h>.
17344 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17345 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17346 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17347 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17348 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17349 <bp-asm.h>.
17350 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17351 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17352 about bounded pointers.
17353 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17354 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17355 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17356 <bp-asm.h>.
17357 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17358 about bounded pointers. Remove GKM FIXME comments.
17359 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17360 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17361 <bp-asm.h>.
17362 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17363 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17364 Remove GKM FIXME comments.
17365 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17366 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17367 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17368 <bp-asm.h>.
17369 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17370 about bounded pointers. Remove GKM FIXME comment.
17371 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17372 and <bp-asm.h>.
17373 (strncmp): Don't use BP_SYM. Remove comment about bounded
17374 pointers.
17375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17376 <bp-sym.h> and <bp-asm.h>.
17377 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17379 <bp-sym.h> and <bp-asm.h>.
17380 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17381 comment.
17382
cdcf361f
PP
173832013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17384
17385 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17386 call free(NULL).
17387
3c4a2b15
DM
173882013-03-05 David S. Miller <davem@davemloft.net>
17389
17390 * po/es.po: Update from translation team.
17391
cdcf361f 173922013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
17393
17394 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17395 <bits/mman-linux.h>.
17396 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17397 is fine.
17398 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17399 <bits/mman-linux.h> to end of file.
17400 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17401 is fine.
17402 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17403 <bits/mman-linux.h> to end of file.
17404 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17405 is fine.
17406 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17407 <bits/mman-linux.h> to end of file.
17408
17409 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17410 (MCL_CURRENT, MCL_FUTURE): Define here.
17411
5f67c04f
AK
174122013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17413
8a4473cc 17414 [BZ #15232]
5f67c04f
AK
17415 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17416 attribute_hidden.
17417 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17418
c3e94a95
AK
174192013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17420
17421 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17422 fourth parameter needed for rt_sigprocmask syscall.
17423 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17424 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17425 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17426 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17427 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17428 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17429
cfb6382a
JM
174302013-03-04 Joseph Myers <joseph@codesourcery.com>
17431
17432 [BZ #13550]
17433 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17434 comment about bounded pointers.
17435 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17436 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17437
539d8e01
AJ
174382013-03-04 Andreas Jaeger <aj@suse.de>
17439
17440 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17441 common definitions.
17442
17443 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17444 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17445 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17446 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17447 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
17448 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17449
2e167a70 174502013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
17451
17452 [BZ #15055]
17453 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17454 __ieee754_sqrl instead of __sqrl.
17455
68508633
JM
174562013-03-01 Joseph Myers <joseph@codesourcery.com>
17457
17458 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17459 * sysdeps/powerpc/fpu_control.h: ... here.
17460 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17461 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17462 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17463 * sysdeps/powerpc/bits/mathinline.h: ... here.
17464
7775448e
RM
174652013-03-01 Roland McGrath <roland@hack.frob.com>
17466
17467 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17468 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17469 to just [NEED_DL_SYSINFO_DSO].
17470 * elf/dl-support.c: Likewise.
17471 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17472 * elf/rtld.c (dl_main): Likewise.
17473 * elf/setup-vdso.h (setup_vdso): Likewise.
17474 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17475 * sysdeps/unix/sysv/linux/dl-sysdep.c
17476 (_dl_discover_osversion): Likewise.
17477
4e9b5995
CD
174782013-03-01 Carlos O'Donell <carlos@redhat.com>
17479
17480 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17481 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17482
e23872c8
SP
174832013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17484
e5c74c63
SP
17485 * NEWS: Mention libm performance improvements and non-x86 PI
17486 futex support.
17487
e23872c8
SP
17488 * csu/libc-start.c (__pthread_initialize_minimal): Change
17489 function arguments.
17490 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17491
b5510883
JM
174922013-02-28 Joseph Myers <joseph@codesourcery.com>
17493
17494 [BZ #13550]
17495 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17496 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17497 <bp-sym.h> and <bp-asm.h>.
17498 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17499 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17500 and <bp-asm.h>.
17501 (memcpy): Don't use BP_SYM.
17502 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17503 <bp-asm.h>.
17504 (__mpn_add_n): Don't use BP_SYM.
17505 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17506 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17507 and <bp-asm.h>.
17508 (__mpn_addmul_1): Don't use BP_SYM.
17509 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17510 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17511 <bp-sym.h>.
17512 (_setjmp): Don't use BP_SYM.
17513 (__novmx_setjmp): Likewise.
17514 (__GI__setjmp): Likewise.
17515 (__vmx_setjmp): Likewise.
17516 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17517 <bp-sym.h>.
17518 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17519 (__bzero): Don't use BP_SYM.
17520 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17521 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17522 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17523 <bp-sym.h> and <bp-asm.h>.
17524 (memcpy): Don't use BP_SYM.
17525 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17526 <bp-sym.h> and <bp-asm.h>.
17527 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17528 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17529 <bp-sym.h> and <bp-asm.h>.
17530 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17531 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17532 <bp-asm.h>.
17533 (__mpn_lshift): Don't use BP_SYM.
17534 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17535 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17536 <bp-asm.h>.
17537 (memset): Don't use BP_SYM.
17538 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17539 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17540 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17541 <bp-asm.h>.
17542 (__mpn_mul_1): Don't use BP_SYM.
17543 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17544 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17545 <bp-sym.h> and <bp-asm.h>.
17546 (memcmp): Don't use BP_SYM.
17547 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17548 <bp-sym.h> and <bp-asm.h>.
17549 (memcpy): Don't use BP_SYM.
17550 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17551 <bp-sym.h> and <bp-asm.h>.
17552 (memset): Don't use BP_SYM.
17553 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17554 <bp-sym.h> and <bp-asm.h>.
17555 (strncmp): Don't use BP_SYM.
17556 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17557 <bp-sym.h> and <bp-asm.h>.
17558 (memcpy): Don't use BP_SYM.
17559 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17560 <bp-sym.h> and <bp-asm.h>.
17561 (memset): Don't use BP_SYM.
17562 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17563 <bp-sym.h> and <bp-asm.h>.
17564 (__memchr): Don't use BP_SYM.
17565 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17566 <bp-sym.h> and <bp-asm.h>.
17567 (memcmp): Don't use BP_SYM.
17568 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17569 <bp-sym.h> and <bp-asm.h>.
17570 (memcpy): Don't use BP_SYM.
17571 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17572 <bp-sym.h> and <bp-asm.h>.
17573 (__mempcpy): Don't use BP_SYM.
17574 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17575 <bp-sym.h> and <bp-asm.h>.
17576 (__memrchr): Don't use BP_SYM.
17577 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17578 <bp-sym.h> and <bp-asm.h>.
17579 (memset): Don't use BP_SYM.
17580 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17581 <bp-sym.h> and <bp-asm.h>.
17582 (__rawmemchr): Don't use BP_SYM.
17583 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17584 <bp-sym.h> and <bp-asm.h>.
17585 (__STRCMP): Don't use BP_SYM.
17586 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17587 <bp-sym.h> and <bp-asm.h>.
17588 (strchr): Don't use BP_SYM.
17589 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17590 <bp-sym.h> and <bp-asm.h>.
17591 (__strchrnul): Don't use BP_SYM.
17592 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17593 <bp-sym.h> and <bp-asm.h>.
17594 (strlen): Don't use BP_SYM.
17595 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17596 <bp-sym.h> and <bp-asm.h>.
17597 (strncmp): Don't use BP_SYM.
17598 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17599 <bp-sym.h> and <bp-asm.h>.
17600 (__strnlen): Don't use BP_SYM.
17601 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17602 <bp-asm.h>.
17603 (__mpn_rshift): Don't use BP_SYM.
17604 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17605 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17606 <bp-sym.h> and <bp-asm.h>.
17607 (__sigsetjmp): Don't use BP_SYM.
17608 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17609 (L(start_addresses)): Don't use BP_SYM.
17610 (_start): Likewise.
17611 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17612 <bp-asm.h>.
17613 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17614 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17615 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17616 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17617 <bp-asm.h>.
17618 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17619 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17620 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17621 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17622 <bp-asm.h>.
17623 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17624 comments.
17625 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17626 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17627 <bp-asm.h>.
17628 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17629 FIXME comments.
17630 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17631 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17632 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17633 <bp-asm.h>.
17634 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17635 comment.
17636 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17637 and <bp-asm.h>.
17638 (strncmp): Don't use BP_SYM,
17639 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17640 <bp-asm.h>.
17641 (__mpn_sub_n): Don't use BP_SYM.
17642 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17643 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17644 and <bp-asm.h>.
17645 (__mpn_submul_1): Don't use BP_SYM.
17646 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17648 <bp-sym.h> and <bp-asm.h>.
17649 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17651 <bp-sym.h> and <bp-asm.h>.
17652 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17653 comment.
17654
8d19fe64
SP
176552013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17656
17657 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17658 Use ZK to minimize writes to Z.
17659 (sub_magnitudes): Simplify code a bit.
17660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17661 Use ZK to minimize writes to Z.
17662 (sub_magnitudes): Simplify code a bit.
17663
85bd816a
RM
176642013-02-27 Roland McGrath <roland@hack.frob.com>
17665
17666 * csu/gmon-start.c: Add special exception to license text.
17667
b5977bf2
RH
176682013-02-27 Richard Henderson <rth@redhat.com>
17669
17670 * scripts/config.guess: Update from config.git.
17671 * scripts/config.sub: Likewise.
17672
11d6e2f2
SP
176732013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17674
09c14ed2
SP
17675 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17676
a688864e
SP
17677 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17678
6295157a
SP
17679 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17680
b8de2202
SP
17681 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17682
11d6e2f2
SP
17683 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17684
7e80ddb8
RM
176852013-02-26 Roland McGrath <roland@hack.frob.com>
17686
17687 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17688 [$(build-shared = yes].
7e80ddb8 17689
7da6d9ed
SP
176902013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17691
45f05884
SP
17692 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17693 (__mul): Reduce iterations for calculating mantissa.
17694
2236d359
SP
17695 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17696 MPTWO.
17697 (__mpranred): Likewise.
17698
7da6d9ed
SP
17699 [BZ #15160]
17700 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17701 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17702
b7688c42
PE
177032013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17704
17705 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17706 Define __attribute__.
17707
53a5c423
SP
177082013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17709
17710 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17711 unused.
17712 * posix/regex_internal.h (__attribute): Remove.
17713 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17714 (re_string_context_at): Likewise.
17715 (bitset_not): Use __attribute__ and mark function as possibly
17716 unused.
17717 (bitset_merge): Likewise.
17718 (bitset_mask): Likewise.
17719 (re_string_char_size_at): Likewise.
17720 (re_string_wchar_at): Likewise.
17721 (re_string_elem_size_at): Likewise.
17722
60f5a8b5
SP
177232013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17724
2a983a2e
SP
17725 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17726 code.
17727 (cc32): Likewise.
17728
e69804d1
SP
17729 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17730 (__acr): Likewise.
17731 (__cpy): Likewise.
17732 (norm): Likewise.
17733 (denorm): Likewise.
17734 (__dbl_mp): Likewise.
17735 (add_magnitudes): Likewise.
17736 (sub_magnitudes): Likewise.
17737 (__mul): Likewise.
17738 (__inv): Likewise.
17739
2f22a1e8
SP
17740 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17741 style.
17742
8930ddc7
SP
17743 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17744 style.
17745
dc60cb11
SP
17746 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17747 code.
17748
60f5a8b5
SP
17749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17750 up changes with default code.
17751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17752 Likewise.
17753
b4d1fd33
AM
177542013-02-24 Allan McRae <allan@archlinux.org>
17755
faf6f8bc
AM
17756 * manual/socket.texi (The Internet Namespace): Order menu items
17757 to match that in the file.
17758
b4d1fd33
AM
17759 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17760 node listing of the info page menu.
17761
2366713d
JM
177622013-02-21 Joseph Myers <joseph@codesourcery.com>
17763
17764 [BZ #13550]
17765 * sysdeps/i386/bp-asm.h: Remove file.
17766 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17767 (PARMS): Do not use macros from bp-asm.h.
17768 (S1): Likewise.
17769 (S2): Likewise.
17770 (SIZE): Likewise.
17771 (__mpn_add_n): Do not use BP_SYM
17772 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17773 "bp-asm.h".
17774 (PARMS): Do not use macros from bp-asm.h.
17775 (S1): Likewise.
17776 (SIZE): Likewise.
17777 (__mpn_addmul_1): Do not use BP_SYM
17778 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17779 "bp-asm.h".
17780 (PARMS): Do not use macros from bp-asm.h.
17781 (SIGMSK): Likewise.
17782 (_setjmp): Likewise. Do not use BP_SYM.
17783 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17784 "bp-asm.h".
17785 (PARMS): Do not use macros from bp-asm.h.
17786 (SIGMSK): Likewise.
17787 (setjmp): Likewise. Do not use BP_SYM.
17788 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17789 "bp-asm.h".
17790 (PARMS): Do not use macros from bp-asm.h.
17791 (__frexp): Do not use BP_SYM.
17792 (frexp): Likewise.
17793 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17794 "bp-asm.h".
17795 (PARMS): Do not use macros from bp-asm.h.
17796 (__frexpf): Do not use BP_SYM.
17797 (frexpf): Likewise.
17798 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17799 "bp-asm.h".
17800 (PARMS): Do not use macros from bp-asm.h.
17801 (__frexpl): Do not use BP_SYM.
17802 (frexpl): Likewise.
17803 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17804 "bp-asm.h".
17805 (PARMS): Do not use macros from bp-asm.h.
17806 (__remquo): Do not use BP_SYM.
17807 (remquo): Likewise.
17808 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17809 "bp-asm.h".
17810 (PARMS): Do not use macros from bp-asm.h.
17811 (__remquof): Do not use BP_SYM.
17812 (remquof): Likewise.
17813 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17814 "bp-asm.h".
17815 (PARMS): Do not use macros from bp-asm.h.
17816 (__remquol): Do not use BP_SYM.
17817 (remquol): Likewise.
17818 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17819 "bp-asm.h".
17820 (PARMS): Do not use macros from bp-asm.h.
17821 (DEST): Likewise.
17822 (SRC): Likewise.
17823 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17824 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17825 "bp-asm.h".
17826 (PARMS): Do not use macros from bp-asm.h.
17827 (strlen): Do not use BP_SYM.
17828 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17829 "bp-asm.h".
17830 (PARMS): Do not use macros from bp-asm.h.
17831 (S1): Likewise.
17832 (S2): Likewise.
17833 (SIZE): Likewise.
17834 (__mpn_add_n): Do not use BP_SYM.
17835 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17836 "bp-asm.h".
17837 (PARMS): Do not use macros from bp-asm.h.
17838 (S1): Likewise.
17839 (SIZE): Likewise.
17840 (__mpn_addmul_1): Do not use BP_SYM.
17841 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17842 weak_alias.
17843 (bzero): Likewise.
17844 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17845 "bp-asm.h".
17846 (PARMS): Do not use macros from bp-asm.h.
17847 (S): Likewise.
17848 (SIZE): Likewise.
17849 (__mpn_lshift): Do not use BP_SYM.
17850 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17851 "bp-asm.h".
17852 (PARMS): Do not use macros from bp-asm.h.
17853 (DEST): Likewise.
17854 (SRC): Likewise.
17855 (LEN): Likewise.
17856 (memcpy): Likewise. Do not use BP_SYM.
17857 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17858 libc_hidden_def and weak_alias.
17859 (mempcpy): Do not use BP_SYM in weak_alias.
17860 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17861 "bp-asm.h".
17862 (PARMS): Do not use macros from bp-asm.h.
17863 (DEST): Likewise.
17864 (LEN): Likewise.
17865 [!BZERO_P] (CHR): Likewise.
17866 (memset): Likewise. Do not use BP_SYM.
17867 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17868 "bp-asm.h".
17869 (PARMS): Do not use macros from bp-asm.h.
17870 (S1): Likewise.
17871 (SIZE): Likewise.
17872 (__mpn_mul_1): Do not use BP_SYM.
17873 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17874 "bp-asm.h".
17875 (PARMS): Do not use macros from bp-asm.h.
17876 (S): Likewise.
17877 (SIZE): Likewise.
17878 (__mpn_rshift): Do not use BP_SYM.
17879 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17880 "bp-asm.h".
17881 (PARMS): Do not use macros from bp-asm.h.
17882 (STR): Likewise.
17883 (CHR): Likewise.
17884 (strchr): Likewise. Do not use BP_SYM.
17885 (index): Do not use BP_SYM in weak_alias.
17886 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17887 "bp-asm.h".
17888 (PARMS): Do not use macros from bp-asm.h.
17889 (DEST): Likewise.
17890 (SRC): Likewise.
17891 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17892 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17893 "bp-asm.h".
17894 (PARMS): Do not use macros from bp-asm.h.
17895 (strlen): Do not use BP_SYM.
17896 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17897 "bp-asm.h".
17898 (PARMS): Do not use macros from bp-asm.h.
17899 (S1): Likewise.
17900 (S2): Likewise.
17901 (SIZE): Likewise.
17902 (__mpn_sub_n): Do not use BP_SYM.
17903 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17904 "bp-asm.h".
17905 (PARMS): Do not use macros from bp-asm.h.
17906 (S1): Likewise.
17907 (SIZE): Likewise.
17908 (__mpn_submul_1): Do not use BP_SYM.
17909 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17910 "bp-asm.h".
17911 (PARMS): Do not use macros from bp-asm.h.
17912 (S1): Likewise.
17913 (S2): Likewise.
17914 (SIZE): Likewise.
17915 (__mpn_add_n): Do not use BP_SYM.
17916 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17917 weak_alias.
17918 (bzero): Likewise.
17919 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17920 "bp-asm.h".
17921 (PARMS): Do not use macros from bp-asm.h.
17922 (BLK2): Likewise.
17923 (LEN): Likewise.
17924 (memcmp): Do not use BP_SYM.
17925 (bcmp): Do not use BP_SYM in weak_alias.
17926 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17927 "bp-asm.h".
17928 (PARMS): Do not use macros from bp-asm.h.
17929 (DEST): Likewise.
17930 (SRC): Likewise.
17931 (LEN): Likewise.
17932 (memcpy): Likewise. Do not use BP_SYM.
17933 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17934 "bp-asm.h".
17935 (PARMS): Do not use macros from bp-asm.h.
17936 (DEST): Likewise.
17937 (SRC): Likewise.
17938 (LEN): Likewise.
17939 (memmove): Likewise. Do not use BP_SYM.
17940 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17941 "bp-asm.h".
17942 (PARMS): Do not use macros from bp-asm.h.
17943 (DEST): Likewise.
17944 (SRC): Likewise.
17945 (LEN): Likewise.
17946 (__mempcpy): Likewise. Do not use BP_SYM.
17947 (mempcpy): Do not use BP_SYM in weak_alias.
17948 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17949 "bp-asm.h".
17950 (PARMS): Do not use macros from bp-asm.h.
17951 (DEST): Likewise.
17952 (LEN): Likewise.
17953 [!BZERO_P] (CHR): Likewise.
17954 (memset): Likewise. Do not use BP_SYM.
17955 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17956 "bp-asm.h".
17957 (PARMS): Do not use macros from bp-asm.h.
17958 (STR2): Likewise.
17959 (strcmp): Do not use BP_SYM.
17960 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17961 "bp-asm.h".
17962 (PARMS): Do not use macros from bp-asm.h.
17963 (STR): Likewise.
17964 (DELIM): Likewise.
17965 [USE_AS_STRTOK_R] (SAVE): Likewise.
17966 (FUNCTION): Likewise. Do not use BP_SYM.
17967 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17968 aliases.
17969 (strtok_r): Likewise.
17970 (__GI___strtok_r): Likewise.
17971 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17972 (PARMS): Do not use macros from bp-asm.h.
17973 (S): Likewise.
17974 (SIZE): Likewise.
17975 (__mpn_lshift): Do not use BP_SYM.
17976 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17977 (PARMS): Do not use macros from bp-asm.h.
17978 (STR): Likewise.
17979 (CHR): Likewise.
17980 (__memchr): Do not use BP_SYM.
17981 (memchr): Do not use BP_SYM in weak_alias.
17982 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17983 (PARMS): Do not use macros from bp-asm.h.
17984 (BLK2): Likewise.
17985 (LEN): Likewise.
17986 (memcmp): Do not use BP_SYM.
17987 (bcmp): Do not use BP_SYM in weak_alias.
17988 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17989 (PARMS): Do not use macros from bp-asm.h.
17990 (S1): Likewise.
17991 (SIZE): Likewise.
17992 (__mpn_mul_1): Do not use BP_SYM.
17993 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17994 "bp-asm.h".
17995 (PARMS): Do not use macros from bp-asm.h.
17996 (STR): Likewise.
17997 (CHR): Likewise.
17998 (__rawmemchr): Do not use BP_SYM.
17999 (rawmemchr): Do not use BP_SYM in weak_alias.
18000 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18001 (PARMS): Do not use macros from bp-asm.h.
18002 (S): Likewise.
18003 (SIZE): Likewise.
18004 (__mpn_rshift): Do not use BP_SYM.
18005 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18006 (PARMS): Do not use macros from bp-asm.h.
18007 (SIGMSK): Likewise.
18008 (__sigsetjmp): Likewise. Do not use BP_SYM.
18009 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18010 (_start): Do not use BP_SYM.
18011 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18012 (PARMS): Do not use macros from bp-asm.h.
18013 (DEST): Likewise.
18014 (SRC): Likewise.
18015 (__stpcpy): Likewise. Do not use BP_SYM.
18016 (stpcpy): Do not use BP_SYM in weak_alias.
18017 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18018 "bp-asm.h".
18019 (PARMS): Do not use macros from bp-asm.h.
18020 (DEST): Likewise.
18021 (SRC): Likewise.
18022 (LEN): Likewise.
18023 (__stpncpy): Likewise. Do not use BP_SYM.
18024 (stpncpy): Do not use BP_SYM in weak_alias.
18025 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18026 (PARMS): Do not use macros from bp-asm.h.
18027 (STR): Likewise.
18028 (CHR): Likewise.
18029 (strchr): Likewise. Do not use BP_SYM.
18030 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18031 "bp-asm.h".
18032 (PARMS): Do not use macros from bp-asm.h.
18033 (STR): Likewise.
18034 (CHR): Likewise.
18035 (__strchrnul): Likewise. Do not use BP_SYM.
18036 (strchrnul): Do not use BP_SYM in weak_alias.
18037 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18038 "bp-asm.h".
18039 (PARMS): Do not use macros from bp-asm.h.
18040 (STOP): Likewise.
18041 (strcspn): Do not use BP_SYM.
18042 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18043 "bp-asm.h".
18044 (PARMS): Do not use macros from bp-asm.h.
18045 (STR): Likewise.
18046 (STOP): Likewise.
18047 (strpbrk): Likewise. Do not use BP_SYM.
18048 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18049 "bp-asm.h".
18050 (PARMS): Do not use macros from bp-asm.h.
18051 (STR): Likewise.
18052 (CHR): Likewise.
18053 (strrchr): Likewise. Do not use BP_SYM.
18054 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18055 (PARMS): Do not use macros from bp-asm.h.
18056 (SKIP): Likewise.
18057 (strspn): Do not use BP_SYM.
18058 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18059 (PARMS): Do not use macros from bp-asm.h.
18060 (STR): Likewise.
18061 (DELIM): Likewise.
18062 (SAVE): Likewise.
18063 (FUNCTION): Likewise. Do not use BP_SYM.
18064 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18065 aliases.
18066 (strtok_r): Likewise.
18067 (__GI___strtok_r): Likewise.
18068 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18069 (PARMS): Do not use macros from bp-asm.h.
18070 (S1): Likewise.
18071 (S2): Likewise.
18072 (SIZE): Likewise.
18073 (__mpn_sub_n): Do not use BP_SYM.
18074 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18075 "bp-asm.h".
18076 (PARMS): Do not use macros from bp-asm.h.
18077 (S1): Likewise.
18078 (SIZE): Likewise.
18079 (__mpn_submul_1): Do not use BP_SYM.
18080 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18081 <bp-sym.h>.
18082 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18083 and <bp-asm.h>.
18084 (PARMS): Do not use macros from bp-asm.h.
18085 (FLAGS): Likewise.
18086 (PTID): Likewise.
18087 (TLS): Likewise.
18088 (CTID): Likewise.
18089 (__clone): Do not use BP_SYM.
18090 (clone): Do not use BP_SYM in weak_alias.
18091 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18092 and <bp-asm.h>.
18093 (PARMS): Do not use macros from bp-asm.h.
18094 (LEN): Likewise.
18095 (__mmap64): Do not use BP_SYM.
18096 (mmap64): Do not use BP_SYM in weak_alias.
18097 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18098 <bp-sym.h> and <bp-asm.h>.
18099 (PARMS): Do not use macros from bp-asm.h.
18100 (__posix_fadvise64_l64): Do not use BP_SYM.
18101 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18102 (PARMS): Do not use macros from bp-asm.h.
18103 (NSOPS): Likewise.
18104 (semtimedop): Do not use BP_SYM.
18105 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18106 and <bp-asm.h>.
18107
582a3cff
AM
181082013-02-21 Allan McRae <allan@archlinux.org>
18109
18110 * manual/message.texi (Charset conversion in gettext):
18111 Move @end statement to beginning of line.
18112
bab8a695
SP
181132013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18114
80945231
SP
18115 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18116 static.
18117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18118 Likewise.
18119
bab8a695
SP
18120 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18121 (denorm): Likewise.
18122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18124
e21d7aa7
AK
181252013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18126
18127 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18128 tail-call to the resolved function if pltexit isn't needed.
18129
4c7a4263
SP
181302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18131
18132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18133 or Y being zero as being unlikely.
18134 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18135 Likewise.
18136
41f49342
CD
181372013-02-20 Carlos O'Donell <carlos@redhat.com>
18138
18139 * manual/nss.texi (System Databases and Name Service Switch):
18140 Remove frobnicate @pxref.
18141
50022a93
TS
181422013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18143
18144 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18145 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18146
08cbd996
PM
181472013-02-20 Petr Machata <pmachata@redhat.com>
18148
18149 * elf/elf.h (R_ARM_TARGET1): New macro.
18150 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18151 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18152 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18153 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18154 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18155 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18156 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18157 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18158 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18159 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18160 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18161 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18162 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18163 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18164 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18165 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18166 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18167 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18168 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18169 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18170 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18171 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18172 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18173 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18174 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18175 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18176 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18177 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18178 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18179 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18180 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18181 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18182 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18183 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18184 (R_ARM_THM_GOT_BREL12): Likewise.
18185 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18186 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18187 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18188 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18189 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18190 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18191 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18192 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18193 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18194
c7b275d6
TS
181952013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18196
18197 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18198 __attribute_used__ to __attribute__ ((unused)).
18199
20cd7fb3
SP
182002013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18201
18202 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18203 powerpc mpa.c.
18204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18205 comment formatting.
18206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18207
92945b52
JM
182082013-02-19 Joseph Myers <joseph@codesourcery.com>
18209
18210 [BZ #13550]
18211 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18212 Remove macro.
18213 (ENTER): Remove both macro definitions.
18214 (LEAVE): Likewise.
18215 (CHECK_BOUNDS_LOW): Likewise.
18216 (CHECK_BOUNDS_HIGH): Likewise.
18217 (CHECK_BOUNDS_BOTH): Likewise.
18218 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18219 (RETURN_BOUNDED_POINTER): Likewise.
18220 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18221 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18222 (POP_ERRNO_LOCATION_RETURN): Likewise.
18223 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18224 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18225 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18226 macros.
18227 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18228 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18229 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18230 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18231 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18232 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18233 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18234 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18235 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18236 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18237 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18238 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18239 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18240 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18241 removed macros.
18242 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18243 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18244 macros.
18245 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18246 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18247 * sysdeps/i386/i586/memset.S (memset): Likewise.
18248 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18249 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18250 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18251 macros.
18252 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18253 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18254 Change uses of L(2) to L(out).
18255 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18256 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18257 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18258 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18259 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18260 removed macros.
18261 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18262 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18263 macros.
18264 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18265 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18266 (RETURN): Do not use macro LEAVE.
18267 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18268 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18269 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18270 * sysdeps/i386/i686/memset.S (memset): Likewise.
18271 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18272 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18273 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18274 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18275 Likewise.
18276 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18277 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18278 L(1_2) and L(1_3) into L(1).
18279 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18280 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18281 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18282 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18283 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18284 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18285 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18286 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18287 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18288 macros.
18289 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18290 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18291 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18292 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18293 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18294 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18295 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18296 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18297 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18298 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18299 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18300 * sysdeps/i386/strspn.S (strspn): Likewise.
18301 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18302 conditional code.
18303 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18304 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18305 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18306 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18307 L(1_3) into L(1_1).
18308 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18309 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18310 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18311 macros.
18312 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18313
2389741a
JJ
183142013-02-19 Jakub Jelinek <jakub@redhat.com>
18315
18316 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18317 macro.
18318
2016b3cd
SP
183192013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18320
e4f22324
SP
18321 * math/atest-exp.c (exp_mpn): Remove ROUND.
18322 * math/atest-exp2.c (exp_mpn): Likewise.
18323 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18324
2016b3cd
SP
18325 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18326 * stdlib/tst-tls-atexit-lib.c: Likewise.
18327 * stdlib/tst-tls-atexit.c: Likewise.
18328
4be9b544
MF
183292013-02-18 Mike Frysinger <vapier@gentoo.org>
18330
18331 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18332 and __attribute_alloc_size__.
18333
2f62b9ee
MF
183342013-02-18 Mike Frysinger <vapier@gentoo.org>
18335
18336 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18337 __attribute_alloc_size__.
18338 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18339 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18340
6ff444c4
MF
183412013-02-18 Mike Frysinger <vapier@gentoo.org>
18342
18343 * include/programs/xmalloc.h: New file.
18344 * catgets/gencat.c: Include it.
18345 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18346 * elf/pldd.c: Likewise.
18347 * iconv/iconv_charmap.c: Likewise.
18348 * iconv/iconvconfig.c: Likewise.
18349 * iconv/strtab.c: Likewise.
18350 * locale/programs/locale.c: Likewise.
18351 * locale/programs/localedef.h: Likewise.
18352 * locale/programs/simple-hash.c: Likewise.
18353 * nscd/nscd.h: Likewise.
18354 * nss/makedb.c: Likewise.
18355 * sysdeps/generic/ldconfig.h: Likewise.
18356
be179c8a
SP
183572013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18358
ba384f6e
SP
18359 * Versions.def: Add GLIBC_2.18.
18360 * include/link.h (struct link_map): New member l_tls_dtor_count.
18361 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18362 (__call_tls_dtors): Likewise.
18363 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18364 __cxa_thread_atexit_impl.
18365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18366 Likewise.
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18368 Likewise.
18369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18370 Likewise.
18371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18372 Likewise.
18373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18375 Likewise.
18376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18377 Likewise.
18378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18380 Likewise.
18381 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18382 (tests): Add test case tst-tls-atexit.
18383 (modules-names): Add shared library for tst-tls-atexit.
85891aca 18384 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
18385 (GLIBC_PRIVATE): Add __call_tls_dtors.
18386 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18387 for libstdc++.
18388 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18389 * stdlib/tst-tls-atexit.c: New test case.
18390 * stdlib/tst-tls-atexit-lib.c: New test case.
18391
ffaa74cf 18392 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 18393
be179c8a
SP
18394 * elf/Versions (ld): Add _dl_find_dso_for_object.
18395 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18396 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18397 (dl_open_worker): Use _dl_find_dso_for_object.
18398 * elf/dl-sym.c (do_sym): Likewise.
18399 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18400
f78b5caa
AK
184012013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18402
18403 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18404 Syntactic changes only.
18405 (_dl_runtime_profile): Do a tail-call to the resolved function.
18406
29691210
JM
184072013-02-17 Joseph Myers <joseph@codesourcery.com>
18408
18409 [BZ #13550]
18410 * sysdeps/x86_64/bp-asm.h: Remove file.
18411 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18412 <bp-sym.h> and <bp-asm.h>.
18413 (__clone): Do not use BP_SYM.
18414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18415 <bp-sym.h> and <bp-asm.h>.
18416 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18417 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18418 "bp-asm.h".
18419 (_setjmp): Do not use BP_SYM.
18420 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18421 "bp-asm.h".
18422 (setjmp): Do not use BP_SYM.
18423 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18424 libc_hidden_def.
18425 (mempcpy): Do not use BP_SYM in weak_alias.
18426 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18427 "bp-asm.h".
18428 (strchr): Do not use BP_SYM.
18429 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18430 "bp-asm.h".
18431 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18432 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18433 (_start): Do not use BP_SYM.
18434 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18435 "bp-asm.h".
18436 (strcat): Do not use BP_SYM.
18437 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18438 "bp-asm.h".
18439 (STRCMP): Do not use BP_SYM.
18440 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18441 "bp-asm.h".
18442 (STRCPY): Do not use BP_SYM.
18443 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18444 "bp-asm.h".
18445 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18446 "bp-asm.h".
18447 (FUNCTION): Do not use BP_SYM.
18448 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18449 weak_alias.
18450 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18451
f238fd19
AJ
184522013-02-17 Andreas Jaeger <aj@suse.de>
18453
18454 * time/Versions: Sort entries.
18455 * string/Versions: Likewise.
18456 * resolv/Versions: Likewise.
18457 * posix/Versions: Likewise.
18458 * iconv/Versions: Likewise.
18459 * elf/Versions: Likewise.
18460 * wcsmbs/Versions: Likewise.
18461
bd07f23c 184622013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18463
22af19f9
SP
18464 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18465 loop termination condition.
18466
4709fe76
SP
18467 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18468 variable to calculate EZ.
18469 (__sqr): Likewise.
2d0e0f29
SP
18470
18471 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18472 the lower precision input.
18473
daaa7713
JM
184742013-02-15 Joseph Myers <joseph@codesourcery.com>
18475
18476 [BZ #13550]
18477 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18478 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18479 (run-via-rtld-prefix): Do not handle %-bp tests.
18480 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18481 (all-object-suffixes): Remove .ob.
18482 (bppfx): Remove variable.
18483 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18484 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18485 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18486 [$(build-bounded) = yes] (libtype.ob): Likewise.
18487 * Makerules (elide-routines.ob): Remove variable.
18488 (do-tests-clean): Do not handle *-bp.out.
18489 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18490 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18491 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18492 (tests): Do not include $(tests-bp.out).
18493 (xtests): Do not include $(xtests-bp.out).
18494 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18495 [$(build-bounded) = yes] ($(addprefix
18496 $(objpfx),$(binaries-bounded))): Remove rule.
18497 ($(objpfx)%-bp.out): Remove rule.
18498 * config.make.in (build-bounded): Remove variable.
18499 * crypt/Makefile [$(build-bounded) = yes]
18500 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18501 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18502 append to variable.
18503 [$(build-bounded) = yes] (install-lib): Likewise.
18504 [$(build-bounded) = yes] (generated): Likewise.
18505 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18506 Remove rule.
18507 * intl/Makefile [$(build-bounded) = yes]
18508 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18509 * math/Makefile [$(build-bounded) = yes]
18510 ($(tests:%=$(objpfx)%-bp): Likewise.
18511 * misc/Makefile [$(build-bounded) = yes]
18512 ($(objpfx)tst-tsearch-bp): Likewise.
18513 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18514 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18515 Remove dependency.
18516 * string/Makefile (o-objects.ob): Remove variable.
18517 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18518 (CFLAGS-.ob): Remove variable.
18519 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18520 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18521 both definitions of variable.
18522 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18523 (ASFLAGS-.ob): Remove variable.
18524
e97ed6dd
JM
185252013-02-14 Joseph Myers <joseph@codesourcery.com>
18526
2bdd4ca6
JM
18527 [BZ #13550]
18528 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18529 Remove __BOUNDED_POINTERS__ from condition.
18530 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18531 * string/bits/string2.h [!__NO_STRING_INLINES &&
18532 !__BOUNDED_POINTERS__]: Likewise.
18533 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18534 Likewise.
18535 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18536 Remove conditional code.
18537 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18538 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18539 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18540 condition.
18541
e97ed6dd
JM
18542 [BZ #13550]
18543 * csu/libc-start.c: Do not include <bp-sym.h>.
18544 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18545 * elf/dl-open.c: Do not include <bp-sym.h>.
18546 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18547 * math/fegetenv.c: Do not include <bp-sym.h>.
18548 (fegetenv): Do not use BP_SYM in versioned symbols.
18549 * nptl/sysdeps/pthread/bits/libc-lockP.h
18550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18551 <bp-sym.h>.
18552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18553 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18555 (__pthread_mutex_destroy): Likewise.
18556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18557 (__pthread_mutex_lock): Likewise.
18558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18559 (__pthread_mutex_trylock): Likewise.
18560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18561 (__pthread_mutex_unlock): Likewise.
18562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18563 (__pthread_mutexattr_init): Likewise.
18564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18565 (__pthread_mutexattr_destroy): Likewise.
18566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18567 (__pthread_mutexattr_settype): Likewise.
18568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18569 (__pthread_rwlock_init): Likewise.
18570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18571 (__pthread_rwlock_destroy): Likewise.
18572 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18573 (__pthread_rwlock_rdlock): Likewise.
18574 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18575 (__pthread_rwlock_tryrdlock): Likewise.
18576 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18577 (__pthread_rwlock_wrlock): Likewise.
18578 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18579 (__pthread_rwlock_trywrlock): Likewise.
18580 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18581 (__pthread_rwlock_unlock): Likewise.
18582 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18583 (__pthread_key_create): Likewise.
18584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18585 (__pthread_setspecific): Likewise.
18586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18587 (__pthread_getspecific): Likewise.
18588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18589 Likewise.
18590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18591 (_pthread_cleanup_push_defer): Likewise.
18592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18593 (_pthread_cleanup_pop_restore): Likewise.
18594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18595 (pthread_setcancelstate): Likewise.
18596 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18597 <bp-sym.h>.
18598 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18599 (memchr): Do not use BP_SYM in weak_alias.
18600 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18601 (fegetenv): Do not use BP_SYM in versioned symbols.
18602 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18603 (fesetenv): Do not use BP_SYM in versioned symbols.
18604 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18605 (feupdateenv): Do not use BP_SYM in versioned symbols.
18606 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18607 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18608 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18609 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18610 (open64): Do not use BP_SYM in weak_alias.
18611 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18612 (fegetenv): Do not use BP_SYM in versioned symbols.
18613 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18614 (fesetenv): Do not use BP_SYM in versioned symbols.
18615 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18616 (feupdateenv): Do not use BP_SYM in versioned symbols.
18617 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18618 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18619 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18620 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18621 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18622 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18623 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18624 <bp-sym.h>.
18625 (__libc_start_main): Do not use BP_SYM.
18626
d6752ccd
SP
186272013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18628
cb57ce60
SP
18629 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18630 redundant return line.
18631 (norm): Likewise.
18632 (denorm): Likewise.
18633 (dbl_mp): Likewise.
18634 (sub_magnitudes): Likewise.
18635 (__add): Likewise.
18636 (__sub): Likewise.
18637 (__mul): Likewise.
18638 (__inv): Likewise.
18639 (__dvd): Likewise.
18640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18641 (norm): Likewise.
18642 (denorm): Likewise.
18643 (dbl_mp): Likewise.
18644 (sub_magnitudes): Likewise.
18645 (__add): Likewise.
18646 (__sub): Likewise.
18647 (__mul): Likewise.
18648 (__inv): Likewise.
18649 (__dvd): Likewise.
18650
f414520d
SP
18651 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18652 instead of __mul.
18653 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18654 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18655 (cc32): Likewise.
18656
d6752ccd
SP
18657 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18658 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18660 of __mul for squares.
18661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18662 function
18663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18664 Likewise.
18665 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18666 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18667
70d9946a
JM
186682013-02-13 Joseph Myers <joseph@codesourcery.com>
18669
18670 [BZ #13550]
18671 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18672 code.
18673 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18674 prototype or function definition. Rename ubp_* variables and
18675 parameters. Remove argv definitions conditional on
18676 [__BOUNDED_POINTERS__].
18677 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18678 * elf/dl-runtime.c (_dl_fixup): Likewise.
18679 * include/set-hooks.h (RUN_HOOK): Likewise.
18680 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18681 definition.
18682 * string/strcpy.c (strcpy): Do not use __unbounded.
18683 * sysdeps/generic/frame.h (struct layout): Likewise.
18684 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18685 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18686 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18687 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18688 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18689 (__backtrace): Likewise.
18690 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18691 use __ptrvalue.
18692 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18693 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18694 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18695 Likewise.
18696 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18697 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18698 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18699 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18700 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18701 Do not use __unbounded.
18702 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18703 Rename __unboundedrlimits parameter to rlimits in prototype.
18704 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18705 Do not use __unbounded.
18706 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18707 not use __ptrvalue.
18708 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18709 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18710 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18711 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18712 __ptrvalue or __unbounded.
18713 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18714 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18715 use __unbounded.
18716 (__new_msgctl): Do not use __ptrvalue.
18717 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18718 __unbounded.
18719 (__libc_msgrcv): Do not use __ptrvalue.
18720 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18721 startup_info): Do not use __unbounded.
18722 (__libc_start_main): Likewise. Rename ubp_* variables and
18723 parameters. Remove argv definitions conditional on
18724 [__BOUNDED_POINTERS__].
18725 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18726 __ptrvalue.
18727 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18728 use __unbounded.
18729 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18730 or __ptrvalue.
18731 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18732 use __unbounded.
18733 (__new_shmctl): Do not use __ptrvalue.
18734 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18735 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18736 Likewise.
18737 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18738 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18739 (__libc_sigaction): Likewise.
18740 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18741 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18742 Likewise.
18743 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18744
cc7834d6
OB
187452013-02-13 Ondřej Bílka <neleai@seznam.cz>
18746
ffb1ec7b 18747 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18748
18749 * string/mempcpy.c: Implement by calling memcpy.
18750
bdf02814
SP
187512013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18752
c2af38aa
SP
18753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18754
4e92d59e
SP
18755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18756 evaluation.
18757
909279a5
SP
18758 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18759 values in the mantissa.
18760
bdf02814
SP
18761 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18762 minimize writes to Z.
18763 (sub_magnitudes): Simplify code a bit.
18764
cd525923
RM
187652013-02-12 Roland McGrath <roland@hack.frob.com>
18766
18767 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18768 from the message. The linker prefixes all warnings with that already.
18769
7e2f0d2d
AS
187702013-02-12 Andreas Schwab <schwab@suse.de>
18771
a445af0b
AS
18772 [BZ #15078]
18773 * posix/regexec.c (extend_buffers): Add parameter min_len.
18774 (check_matching): Pass minimum needed length.
18775 (clean_state_log_if_needed): Likewise.
18776 (get_subexp): Likewise.
18777 * posix/Makefile (tests): Add bug-regex34.
18778 (bug-regex34-ENV): Define.
18779 * posix/bug-regex34.c: New file.
18780
7e2f0d2d
AS
18781 [BZ #11561]
18782 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18783 elements compare against the byte sequence of it, not its name.
18784 * posix/Makefile (tests): Add bug-regex35.
18785 (bug-regex35-ENV): Define.
18786 * posix/bug-regex35.c: New file.
18787
a175b684
TV
187882013-02-11 Tom de Vries <tom@codesourcery.com>
18789
18790 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18791 comment.
18792 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18793 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18794 (CHECK_EOL): Add undef.
18795
310998fe 187962013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18797
18798 * bits/stdlib-bsearch.h: New file.
18799 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18800 * stdlib/stdlib.h: Likewise.
41eda41d 18801
8ded91fb
RM
188022013-02-11 Roland McGrath <roland@hack.frob.com>
18803
18804 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18805 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18806 declaration.
18807 * manual/search.texi (Array Search Function): Add missing const in
18808 lfind prototype.
18809 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18810 declaration to use rlim_t.
18811 (Basic Scheduling Functions): Remove erroneous const from
18812 sched_getparam prototype. Remove erroneous * from
18813 sched_get_priority_max and sched_get_priority_min prototypes.
18814 (Resource Usage): Fix summary @comment on vtimes to refer to
18815 sys/vtimes.h rather than vtimes.h.
18816 Add missing *s in vtimes prototype.
18817 (Limits on Resources): Fix ulimit prototype to return long int.
18818 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18819 prototypes to use long int rather than double.
18820 (BSD Random): Fix initstate and setstate to use char *, not void *.
18821 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18822 prototype to make second argument 'struct aiocb64 *const[]'.
18823 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18824 (Status of AIO Operations): Remove erroneous const in aio_return and
18825 aio_return64 prototypes.
18826 (Synchronizing I/O): Fix sync prototype to return void.
18827 * manual/startup.texi (Suboptions): Remove an erroneous const in
18828 getsubopt prototype.
18829 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18830 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18831 use size_t rather than int.
18832 (Scanning All Users): Likewise for getpwent_r.
18833 (Setting Groups): Add missing const to setgroups prototype.
18834 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18835 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18836 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18837 'const void *' rather than 'const char *'.
18838 (Host Address Functions): Likewise for inet_ntop.
18839 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18840 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18841 ssize_t for return value.
18842 (Sending Data): Likewise for send, sendto, sendmsg.
18843 (Socket Option Functions): Add a missing const in setsockopt prototype.
18844 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18845 use wchar_t for the argument.
18846 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18847 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18848 take no arguments.
18849 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18850 double/float/long double for second argument.
18851 Fix return types of significand, significandf, significandl.
18852 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18853 argument in fchmod prototype.
18854 (File Owner): Use uid_t and gid_t in fchown prototype.
18855 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18856 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18857 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18858 use 'const struct dirent **' as argument types to CMP function pointer
18859 argument.
18860 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18861 (File Times): Fix summary magic @comment for struct utimbuf and utime
18862 to refer to utime.h, not time.h.
18863 * manual/string.texi (Argz Functions): Add missing const in
18864 argz_extract and argz_next prototypes.
18865 (Finding Tokens in a String): Likewise for basename.
18866 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18867 (Copying and Concatenation): Fix typo in wmemmove prototype.
18868 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18869 (Signal Stack): Remove erroneous const in sigstack prototype.
18870 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18871 prototype.
18872 (Simple Calendar Time): Likewise for stime.
18873 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18874 prototype.
18875 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18876 say sys/sysctl.h instead.
18877 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18878 and vsyslog prototypes.
18879
fe77fe6d
TV
188802013-02-11 Tom de Vries <tom@codesourcery.com>
18881
18882 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18883 Remove.
18884
3a09b620
RM
188852013-02-11 Roland McGrath <roland@hack.frob.com>
18886
18887 * misc/sys/mman.h: Fix typo in mremap comment.
18888
550a0b89
RM
188892013-02-08 Roland McGrath <roland@hack.frob.com>
18890
18891 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18892 the '\0' terminator.
18893
a2da1673
JM
188942013-02-08 Joseph Myers <joseph@codesourcery.com>
18895
18896 [BZ #13550]
18897 * debug/segfault.c: Don't include <bp-checks.h>.
18898 * sysdeps/generic/bp-checks.h: Remove file.
18899 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18900 (__GETDENTS): Don't use CHECK_N.
18901 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18902 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18903 (__getgroups): Don't use CHECK_N.
18904 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18905 (setgroups): Don't use CHECK_N.
18906 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18907 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18908 (__libc_msgrcv): Don't use CHECK_N.
18909 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18910 (__libc_msgsnd): Don't use CHECK_N.
18911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18912 <bp-checks.h>.
18913 (__libc_pread): Don't use CHECK_N.
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18915 include <bp-checks.h>.
18916 (__libc_pread64): Don't use CHECK_N.
18917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18918 include <bp-checks.h>.
18919 (__libc_pwrite): Don't use CHECK_N.
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18921 include <bp-checks.h>.
18922 (__libc_pwrite64): Don't use CHECK_N.
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18924 <bp-checks.h>.
18925 (__libc_pread): Don't use CHECK_N.
18926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18927 include <bp-checks.h>.
18928 (__libc_pread64): Don't use CHECK_N.
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18930 include <bp-checks.h>.
18931 (__libc_pwrite): Don't use CHECK_N.
18932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18933 include <bp-checks.h>.
18934 (__libc_pwrite64): Don't use CHECK_N.
18935 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18936 (do_pread): Don't use CHECK_N.
18937 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18938 (do_pread64): Don't use CHECK_N.
18939 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18940 (do_pwrite): Don't use CHECK_N.
18941 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18942 (do_pwrite64): Don't use CHECK_N.
18943 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18944 (__libc_readv): Don't use CHECK_N.
18945 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18946 (semop): Don't use CHECK_N.
18947 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18948 <bp-checks.h>.
18949 (semtimedop): Don't use CHECK_N.
18950 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18951 (__libc_pread): Don't use CHECK_N.
18952 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18953 <bp-checks.h>.
18954 (__libc_pread64): Don't use CHECK_N.
18955 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18956 <bp-checks.h>.
18957 (__libc_pwrite): Don't use CHECK_N.
18958 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18959 <bp-checks.h>.
18960 (__libc_pwrite64): Don't use CHECK_N.
18961 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18962 <bp-checks.h>.
18963 (__libc_msgrcv): Don't use CHECK_N.
18964 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18965 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18966 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18967 (__libc_writev): Don't use CHECK_N.
18968
b84660a8
RM
189692013-02-08 Roland McGrath <roland@hack.frob.com>
18970
7f3e75f8
RM
18971 * string/strcpy.c: Removed unused variable.
18972
b84660a8
RM
18973 * Makeconfig (+sysdep-includes): Define with := rather than =.
18974 Use an existing include/ subdir of each sysdeps dir before it.
18975
471514d3
CD
189762013-02-08 Carlos O'Donell <carlos@redhat.com>
18977
18978 * nscd/connection.c (register_traced_file): Comment function.
18979 [HAVE_INOTIFY] (union __inev): Define.
18980 [HAVE_INOTIFY] (inotify_check_files): New function.
18981 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18982 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18983 clear_db_cache.
18984 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18985
b2d3c3be
CD
189862013-02-08 Carlos O'Donell <carlos@redhat.com>
18987
18988 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18989 loaded if not already and that a failure is permanent.
18990
b39949d2
CD
189912013-02-08 Carlos O'Donell <carlos@redhat.com>
18992
ddacd1db 18993 [BZ #15006]
b39949d2
CD
18994 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18995 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18996
b2c9eff4
JM
189972013-02-08 Joseph Myers <joseph@codesourcery.com>
18998
f3aae3f3
JM
18999 [BZ #13550]
19000 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19001 (CHECK_1_NULL_OK): Likewise.
19002 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19003 (__fxstat): Do not use CHECK_1.
19004 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19005 <bp-checks.h>.
19006 (___fxstat64): Do not use CHECK_1.
19007 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19008 <bp-checks.h>.
19009 (__fxstatat): Do not use CHECK_1.
19010 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19011 <bp-checks.h>.
19012 (__fxstatat64): Do not use CHECK_1.
19013 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19014 <bp-checks.h>.
19015 (__fxstat): Do not use CHECK_1.
19016 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19017 <bp-checks.h>.
19018 (__fxstatat): Do not use CHECK_1.
19019 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19020 <bp-checks.h>.
19021 (__getresgid): Do not use CHECK_1.
19022 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19023 <bp-checks.h>.
19024 (__getresuid): Do not use CHECK_1.
19025 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19026 <bp-checks.h>.
19027 (__lxstat): Do not use CHECK_1.
19028 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19029 <bp-checks.h>.
19030 (__old_msgctl): Do not use CHECK_1.
19031 (__new_msgctl): Likewise.
19032 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19033 <bp-checks.h>.
19034 (__new_setrlimit): Do not use CHECK_1.
19035 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19036 <bp-checks.h>.
19037 (__old_shmctl): Do not use CHECK_1.
19038 (__new_shmctl): Likewise.
19039 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19040 <bp-checks.h>.
19041 (__xstat): Do not use CHECK_1.
19042 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19043 (__lxstat): Do not use CHECK_1.
19044 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19045 <bp-checks.h>.
19046 (___lxstat64): Do not use CHECK_1.
19047 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19048 (__old_msgctl): Do not use CHECK_1.
19049 (__new_msgctl): Likewise.
19050 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19051 <bp-checks.h>.
19052 (__gettimeofday): Do not use CHECK_1.
19053 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19054 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19055 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19056 <bp-checks.h>.
19057 (__gettimeofday): Do not use CHECK_1.
19058 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19059 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19060 (__new_shmctl): Do not use CHECK_1.
19061 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19062 <bp-checks.h>.
19063 (do_sigtimedwait): Do not use CHECK_1.
19064 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19065 <bp-checks.h>.
19066 (do_sigwaitinfo): Do not use CHECK_1.
19067 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19068 <bp-checks.h>.
19069 (msgctl): Do not use CHECK_1.
19070 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19071 <bp-checks.h>.
19072 (shmctl): Do not use CHECK_1.
19073 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19074 (ustat): Do not use CHECK_1.
19075 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19076 <bp-checks.h>.
19077 (__fxstat): Do not use CHECK_1.
19078 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19079 <bp-checks.h>.
19080 (__fxstatat): Do not use CHECK_1.
19081 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19082 <bp-checks.h>.
19083 (__lxstat): Do not use CHECK_1.
19084 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19085 <bp-checks.h>.
19086 (__xstat): Do not use CHECK_1.
19087 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19088 (__xstat): Do not use CHECK_1.
19089 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19090 (___xstat64): Do not use CHECK_1.
19091
b2c9eff4
JM
19092 [BZ #13550]
19093 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19094 definitions.
19095 (CHECK_BOUNDS_HIGH): Likewise.
19096 * string/strcpy.c: Do not include <bp-checks.h>.
19097 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19098
f1d70dad
RM
190992013-02-07 Roland McGrath <roland@hack.frob.com>
19100
19101 * nscd/nscd-client.h (__nscd_drop_map_ref):
19102 Add __attribute__ ((unused)).
19103 * nis/nss-nisplus.h (niserr2nss): Likewise.
19104
19105 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19106 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19107
19108 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19109 Remove inline keyword.
19110 * include/rounding-mode.h (round_away): Likewise.
19111 * libio/wfileops.c (adjust_wide_data): Likewise.
19112 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19113 (__m128i_strloadu_tolower): Likewise.
19114 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19115 (__m128i_strloadu_tolower): Likewise.
19116 * time/mktime.c (ydhms_diff): Likewise.
19117 * locale/elem-hash.h (elem_hash): Likewise.
19118 * locale/setlocale.c (setdata): Likewise.
19119 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19120 (re_string_wchar_at): Likewise.
19121 (bitset_not, bitset_merge, bitset_mask): Likewise.
19122 [!(__GNUC__ > 3)] (inline): Remove macro.
19123 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19124 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19125 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19126 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19127 * string/memcmp.c (memcmp_bytes): Likewise.
19128 * locale/programs/locarchive.c (compute_hashval): Likewise.
19129 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19130 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19131 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19132 * nss/getent.c (print_rpc, print_protocols): Likewise.
19133 (print_passwd, print_group, print_aliases): Likewise.
19134 * nis/nss-nisplus.h (niserr2nss): Likewise.
19135 * nscd/connections.c (restart_p): Likewise.
19136 Change return type to bool.
19137
eab55bfb
RM
191382013-02-05 Roland McGrath <roland@hack.frob.com>
19139
7bd642f5
RM
19140 * Makeconfig (all-Depend-files): Add existing
19141 $(sorted-subdirs:=/Depend) files.
19142 (all-subdirs): Remove nss.
19143 * sysdeps/unix/inet/Subdirs: Add it here instead.
19144 * hesiod/Depend: New file.
19145
573c29b2
RM
19146 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19147 instead of calling alloca.
19148
b2e25af0
RM
19149 * io/lseek.c (__lseek): Rename to __libc_lseek.
19150 Define __lseek as an alias.
19151
eab55bfb
RM
19152 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19153
9a0d1941
CD
191542013-02-04 Carlos O'Donell <carlos@redhat.com>
19155
19156 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19157 else clause and remove check for non-standard endianness.
19158
b83bbec4
DM
191592013-02-04 David S. Miller <davem@davemloft.net>
19160
19161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19162
6277fdab
JM
191632013-02-04 Joseph Myers <joseph@codesourcery.com>
19164
19165 [BZ #13550]
19166 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19167 (__ubp_memchr): Remove prototype.
19168 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19169 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19170 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19171 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19172 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19173 Remove alias.
19174 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19175 (__ubp_memchr): Likewise.
19176 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19177 (__ubp_memchr): Likewise.
19178 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19179 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19180 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19181 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19182 CHECK_STRING.
19183 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19184 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19185 (__getcwd): Do not use CHECK_STRING.
19186 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19187 <bp-checks.h>.
19188 (__real_chown): Do not use CHECK_STRING.
19189 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19190 <bp-checks.h>.
19191 (fchownat): Do not use CHECK_STRING.
19192 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19193 CHECK_STRING.
19194 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19195 <bp-checks.h>.
19196 (__lchown): Do not use CHECK_STRING.
19197 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19198 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19199 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19200 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19202 include <bp-checks.h>.
19203 (truncate64): Do not use CHECK_STRING.
19204 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19205 <bp-checks.h>.
19206 (__real_chown): Do not use CHECK_STRING.
19207 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19208 <bp-checks.h>.
19209 (__lchown): Do not use CHECK_STRING.
19210 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19211 <bp-checks.h>.
19212 (__chown): Do not use CHECK_STRING.
19213 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19214 <bp-checks.h>.
19215 (truncate64): Do not use CHECK_STRING.
19216 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19217 Likewise.
19218 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19219 (__xmknod): Do not use CHECK_STRING.
19220 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19221 <bp-checks.h>.
19222 (__xmknodat): Do not use CHECK_STRING.
19223 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19224 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19225
903ae060
AS
192262013-02-04 Andreas Schwab <schwab@suse.de>
19227
19228 [BZ #14142]
19229 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19230 * include/netdb.h: Likewise for h_errno.
19231 * elf/tst-stackguard1.c: Include <tls.h>.
19232
542f9466
JK
192332013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19234
19235 * elf/link.h (struct link_map): Extend the l_addr comment.
19236 * include/link.h (struct link_map): Likewise.
19237
e782a927
JM
192382013-02-01 Joseph Myers <joseph@codesourcery.com>
19239
19240 [BZ #13550]
19241 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19242 (BOUNDED_1): Remove macro.
19243 * debug/backtrace.c: Don't include <bp-checks.h>.
19244 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19245 (__backtrace): Likewise.
19246 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19247 <bp-checks.h>.
19248 (__backtrace): Don't use BOUNDED_1.
19249 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19250 <bp-checks.h>.
19251 (__backtrace): Don't use BOUNDED_1.
19252 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19253 (__backtrace): Don't use BOUNDED_1.
19254 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19255 (shmat): Don't use BOUNDED_N.
19256
8cf28c5e
JM
192572013-01-31 Joseph Myers <joseph@codesourcery.com>
19258
3a7ac8a0
JM
19259 [BZ #13550]
19260 * sysdeps/generic/bp-start.h: Remove file.
19261 * csu/libc-start.c: Don't include <bp-start.h>.
19262 (LIBC_START_MAIN): Set up __environ directly instead of using
19263 INIT_ARGV_and_ENVIRON.
19264 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19265 <bp-start.h>.
19266
f3499f95
JM
19267 [BZ #13550]
19268 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19269 definitions.
19270 (CHECK_FCNTL): Likewise.
19271 (CHECK_N_PAGES): Likewise.
19272
32a45bea
JM
19273 [BZ #13550]
19274 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19275 definitions.
19276 (CHECK_SIGSET_NULL_OK): Likewise.
19277 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19278 <bp-checks.h>.
19279 (sigpending): Don't use CHECK_SIGSET.
19280 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19281 <bp-checks.h>.
19282 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19283 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19284 <bp-checks.h>.
19285 (do_sigsuspend): Don't use CHECK_SIGSET.
19286 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19287 use CHECK_SIGSET.
19288 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19289 (do_sigwait): Don't use CHECK_SIGSET.
19290 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19291 use CHECK_SIGSET.
19292 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19293 include <bp-checks.h>.
19294 (sigpending): Don't use CHECK_SIGSET.
19295 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19296 include <bp-checks.h>.
19297 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19298 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19299 <bp-checks.h>.
19300 (sigpending): Don't use CHECK_SIGSET.
19301 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19302 <bp-checks.h>.
19303 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19304
2e8a5c8c
JM
19305 [BZ #13550]
19306 * sysdeps/generic/bp-semctl.h: Remove file.
19307 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19308 <bp-checks.h> and <bp-semctl.h>.
19309 (__old_semctl): Don't use CHECK_SEMCTL.
19310 (__new_semctl): Likewise.
19311 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19312 and <bp-semctl.h>.
19313 (__old_semctl): Don't use CHECK_SEMCTL.
19314 (__new_semctl): Likewise.
19315 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19316 <bp-checks.h> and <bp-semctl.h>.
19317 (__old_semctl): Don't use CHECK_SEMCTL.
19318 (__new_semctl): Likewise.
19319 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19320 <bp-checks.h> and <bp-semctl.h>.
19321 (semctl): Don't use CHECK_SEMCTL.
19322
c2d54929
JM
19323 [BZ #13550]
19324 * Makerules (elide-bp-thunks): Remove variable.
19325 (elide-routines.oS): Don't use $(elide-bp-thunks).
19326 (elide-routines.os): Likewise.
19327 (elide-routines.o): Likewise.
19328 (elide-routines.op): Likewise.
19329 (elide-routines.og): Likewise.
19330 (objects): Don't use $(bp-thunks).
19331 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19332 include.
19333 (common-generated): Do not add s-proto-bp.d.
19334 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19335 (int): Likewise.
19336 (typ): Likewise.
19337 Do not generate makefile rules for bounded-pointer thunks.
19338 * sysdeps/generic/bp-thunks.h: Remove file.
19339 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19340 * sysdeps/unix/s-proto-bp.S: Likewise.
19341
8cf28c5e
JM
19342 [BZ #15062]
19343 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19344 parts of result separately when argument is not close to line from
19345 -i to i and one part of argument is small.
19346 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19347 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19348 * math/libm-test.inc (cacos_test): Add more tests.
19349 (casin_test): Likewise.
19350 (casinh_test): Likewise.
19351 * sysdeps/i386/fpu/libm-test-ulps: Update.
19352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19353
c4e33b8d
DM
193542013-01-31 David S. Miller <davem@davemloft.net>
19355
19356 * po/de.po: Update from translation team.
19357
3b60b421
MK
193582013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19359
19360 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19361
bb931195
TS
193622013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19363
b5a5da23
TS
19364 * configure.in (_AC_PROG_CC_C89): New definition.
19365 * configure: Regenerate.
19366
bb931195
TS
19367 * configure.in (AC_PROG_CPP): New definition.
19368 * configure: Regenerate.
19369
8c53a12c
JM
193702013-01-23 Joseph Myers <joseph@codesourcery.com>
19371
19372 * debug/tst-backtrace.h: New file.
19373 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19374 (ret): Remove variable.
19375 (x): Likewise.
19376 (FAIL): Remove macro.
19377 (NO_INLINE): Likewise.
19378 (fn1): Use match function instead of strstr.
19379 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19380 (ret): Remove variable.
19381 (x): Likewise.
19382 (FAIL): Remove macro.
19383 (NO_INLINE): Likewise.
19384 (fn): Use match function instead of strstr.
19385 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19386 (ret): Remove variable.
19387 (x): Likewise.
19388 (FAIL): Remove macro.
19389 (NO_INLINE): Likewise.
19390 (handle_signal): Use match function instead of strstr.
19391 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19392 (ret): Remove variable.
19393 (x): Likewise.
19394 (FAIL): Remove macro.
19395 (NO_INLINE): Likewise.
19396 (handle_signal): Use match function instead of strstr.
19397
4858fa2a
RM
193982013-01-23 Roland McGrath <roland@hack.frob.com>
19399
19400 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19401
bae8e7f5
DM
194022013-01-23 David S. Miller <davem@davemloft.net>
19403
19404 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19405 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19406 argument of CAS if possible.
19407 * sysdeps/sparc/sparc64/bits/atomic.h
19408 (__arch_compare_and_exchange_val_32_acq): Likewise.
19409 (__arch_compare_and_exchange_val_64_acq): Likewise.
19410
9cbbc4ae
PT
194112013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19412
19413 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19414 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19415 Include <limits.h>.
67b3f58c 19416 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 19417
5655a0b5
AC
194182013-01-23 Adam Conrad <adconrad@0c3.net>
19419
19420 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19421 (LDFLAGS-tst-array5): Likewise.
19422
052aff95
JM
194232013-01-23 Joseph Myers <joseph@codesourcery.com>
19424
19425 [BZ #15036]
19426 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19427 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19428 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19429 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19430
7c1e01aa
DM
194312013-01-21 David S. Miller <davem@davemloft.net>
19432
19433 * sysdeps/sparc/backtrace.c: New file.
19434 * sysdeps/sparc/sparc32/backtrace.h: New file.
19435 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19436 * sysdeps/sparc/sparc64/backtrace.h: New file.
19437 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19438 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19439 -funwind-tables.
19440
ab087e0a
AS
194412013-01-21 Andreas Schwab <schwab@suse.de>
19442
19443 [BZ #15020]
19444 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19445 closed its stdout.
19446
ed689c2f
AS
194472013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19448
19449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19450 "mpa2.h".
19451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19452
31d470ac
JM
194532013-01-18 Joseph Myers <joseph@codesourcery.com>
19454 Mark Mitchell <mark@codesourcery.com>
19455 Tom de Vries <tom@codesourcery.com>
19456 Paul Pluzhnikov <ppluzhnikov@google.com>
19457
19458 * debug/tst-backtrace2.c: New file.
19459 * debug/tst-backtrace3.c: Likewise.
19460 * debug/tst-backtrace4.c: Likewise.
19461 * debug/tst-backtrace5.c: Likewise.
19462 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19463 (CFLAGS-tst-backtrace3.c): Likewise.
19464 (CFLAGS-tst-backtrace4.c): Likewise.
19465 (CFLAGS-tst-backtrace5.c): Likewise.
19466 (LDFLAGS-tst-backtrace2): Likewise.
19467 (LDFLAGS-tst-backtrace3): Likewise.
19468 (LDFLAGS-tst-backtrace4): Likewise.
19469 (LDFLAGS-tst-backtrace5): Likewise.
19470 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19471 tst-backtrace4 and tst-backtrace5.
19472
90567f30 194732013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19474 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19475
19476 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19477 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19478 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19479 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19481 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19482 "+r" and remove output regs list as redundant. Add explicit inline
19483 asm to specify register of return val to work around compiler codegen
19484 bug. Remove (int) cast on return value. Add return type parameter to
19485 use in macro so that this macro does not truncate return value for
19486 64-bit values.
19487 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19488 pass to INTERNAL_VSYSCALL_NCS.
19489 (INLINE_VSYSCALL): Add 'long int' as return type to
19490 INTERNAL_VSYSCALL_NCS macro invocation.
19491 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19492 INTERNAL_VSYSCALL_NCS macro invocation.
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19494
d3b9ea61
SP
194952013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19496
0b57daeb
SP
19497 [BZ #14496]
19498 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19499 Fix application of SIMD FP exception mask.
19500
caa99d06
SP
19501 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19502 mp_no from a power of two.
19503 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19504 __mpexp_twomm1. Use __pow_mp.
19505
d3b9ea61
SP
19506 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19507 multiplication.
19508
1dbaee3c
DM
195092013-01-17 David S. Miller <davem@davemloft.net>
19510
19511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19512
728d7b43
JM
195132013-01-17 Joseph Myers <joseph@codesourcery.com>
19514
19515 [BZ #15023]
19516 * include/complex.h: Condition contents on [!_COMPLEX_H].
19517 (__kernel_casinhf): New prototype.
19518 (__kernel_casinh): Likewise.
19519 (__kernel_casinhl): Likewise.
19520 * math/Makefile (libm_calls): Add k_casinh.
19521 * math/k_casinh.c: New file.
19522 * math/k_casinhf.c: Likewise.
19523 * math/k_casinhl.c: Likewise.
19524 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19525 finite nonzero arguments.
19526 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19527 finite nonzero arguments.
19528 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19529 finite nonzero arguments.
19530 * math/s_casinh.c: Do not include <float.h>.
19531 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19532 * math/s_casinhf.c: Do not include <float.h>.
19533 (__casinhf): Move code for finite nonzero arguments to
19534 k_casinhf.c.
19535 * math/s_casinhl.c: Do not include <float.h>.
19536 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19537 redefine.
19538 (__casinhl): Move code for finite nonzero arguments to
19539 k_casinhl.c.
19540 * math/libm-test.inc (cacos_test): Add more tests.
19541 * sysdeps/i386/fpu/libm-test-ulps: Update.
19542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19543
2a26ef3a
PT
195442013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19545
19546 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19547 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19548 [!HAVE_MREMAP]: Remove [defined linux] case.
19549 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19550
a897655d
SP
195512013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19552
19553 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19554
881ebe89 195552013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19556
19557 * elf/elf.h (R_386_SIZE32): New relocation.
19558 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19559 R_386_SIZE32.
19560 (elf_machine_rela): Likewise.
19561 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19562 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19563
59981e9b
JM
195642013-01-17 Joseph Myers <joseph@codesourcery.com>
19565
19566 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19567 (FP_FAST_FMA): Do not define.
19568 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19569 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19570 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19571 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19572 !_SOFT_FLOAT]: Likewise.
19573 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19574 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19575 value.
19576 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19577 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19578 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19579 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19580 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19581 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19582 file.
19583
cfa8054f
AS
195842013-01-16 Andreas Schwab <schwab@suse.de>
19585
19586 [BZ #14327]
19587 * include/stdlib.h (__mktemp): Add declaration.
19588 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19589 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19590
dd930cc5
SP
195912013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19592
881ebe89
SP
19593 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19594 definitions.
19595 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19596 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19597 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19598 definitions here.
19599 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19600 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19601 definitions.
19602 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19603 and ONE.
19604 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19605 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19606 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19607 definitions.
19608 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19609 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19610 definitions.
19611 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19612
dd930cc5
SP
19613 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19614
c19a9f89
DM
196152013-01-15 David S. Miller <davem@davemloft.net>
19616
1aa61767
DM
19617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19618 trunc{,f} to libm-sysdep_routes.
19619 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19621 file.
19622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19624 file.
19625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19626 file.
19627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19629 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19630 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19631 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19632 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19633 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19634 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19635
c42d5e98
DM
19636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19637 nearbyint{,f} to libm-sysdep_routes.
19638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19640 New file.
19641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19642 file.
19643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19644 New file.
19645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19646 file.
19647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19649 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19650 file.
19651 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19652 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19653 file.
19654 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19655 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19656 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19657
c19a9f89
DM
19658 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19659 libc_feholdexcept and libc_fesetenv.
19660
357679d2
MF
196612013-01-15 Mike Frysinger <vapier@gentoo.org>
19662
19663 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19664
65a82e3d
DM
196652013-01-14 David S. Miller <davem@davemloft.net>
19666
8b954ab9
DM
19667 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19668 (SPARC_ASM_VIS2_IFUNC): Likewise.
19669 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19671 use of 'siam' instruction.
19672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19673 Likewise.
19674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19675 Likewise.
19676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19677 Likewise.
19678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19683 file.
19684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19685 file.
19686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19687 file.
19688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19689 file.
19690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19695 new VIS2 routines.
19696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19699 Likewise.
19700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19705 routines to libm-sysdep_routines.
19706 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19707
65a82e3d
DM
19708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19709 fdim/fdimf to libm-sysdep_routines.
19710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19711 file.
19712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19714 file.
19715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19718 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19719 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19720 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19721 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19722
e34ab705
SP
197232013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19724
2a91b573
SP
19725 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19726 to optimize copies.
19727
1066a534
SP
19728 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19731
e34ab705
SP
19732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19733 local variable MPTWO.
19734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19735 Likewise.
19736
aba5e596
MF
197372013-01-13 Mike Frysinger <vapier@gentoo.org>
19738
19739 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19740 GLOB_NOESCAPE.
19741
e557e9e5
MF
197422013-01-13 Mike Frysinger <vapier@gentoo.org>
19743
19744 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19745
0428cec9
MF
197462013-01-13 Mike Frysinger <vapier@gentoo.org>
19747
19748 * manual/pattern.texi (glob_t): Document gl_flags.
19749 (glob64_t): Likewise.
19750
8794a964
DM
197512013-01-11 David S. Miller <davem@davemloft.net>
19752
66438c3f
RM
19753 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19754 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19755 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19756 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19757 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19758 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19759 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19760 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19761 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19762 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19763 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19764 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19765 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19766
4ae4244d
DM
19767 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19768 sparc V9 rather than using V8 code.
19769 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19770 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19771
8794a964
DM
19772 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19773 Move to...
19774 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19775 Here.
19776
6270516e
RM
197772013-01-11 Roland McGrath <roland@hack.frob.com>
19778
19779 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19780 not in the main loop.
19781 * configure: Regenerated.
19782
6a57d931
JM
197832013-01-11 Joseph Myers <joseph@codesourcery.com>
19784
19785 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19786 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19787 to just #else.
19788 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19789 [!__GLIBC_HAVE_LONG_LONG] case.
19790 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19791 condition to just #else.
19792 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19793 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19794 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19795 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19796 unconditional.
19797 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19798 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19799 #elif condition to just #else.
19800 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19801 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19802 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19803 #elif condition to just #else.
19804
0e8529e9
SE
198052013-01-11 Steve Ellcey <sellcey@mips.com>
19806
19807 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19808 (EF_MIPS_ARCH_64): Fix value.
19809 (EF_MIPS_ARCH_32R2): New.
19810 (EF_MIPS_ARCH_64R2): New.
19811
740b3dbe
L
198122013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19813
19814 * Makeconfig (+link-pie-before-libc): New.
19815 (+link-pie-after-libc): Likewise.
19816 (+link-pie-tests): Likewise.
19817 (+link-pie): Rewritten.
19818 (link-before-libc): Remove $(config-LDFLAGS).
19819 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19820 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19821 (config-LDFLAGS): Renamed to ...
19822 (rtld-LDFLAGS): This.
19823 (rtld-tests-LDFLAGS): New macro.
19824 (link-libc-rpath-link): Likewise.
19825 (link-libc-tests-rpath-link): Likewise.
19826 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19827 (link-libc): Prepand $(link-libc-rpath-link).
19828 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19829 (test-program-prefix): New macro.
19830 (test-via-rtld-prefix): Likewise.
19831 (test-program-cmd): Likewise.
19832 (host-test-program-cmd): Likewise.
19833 * Makefile ($(common-objpfx)testrun.sh): Replace
19834 $(run-program-prefix) with $(test-program-prefix).
19835 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19836 $(rtld-LDFLAGS).
19837 ($(common-objpfx)shlib.lds): Likewise.
19838 (build-module-helper): Likewise.
19839 ($(common-objpfx)format.lds): Likewise.
19840 * Rules (binaries-pie-tests): New.
19841 (binaries-pie-notests): Likewise.
19842 (binaries-pie): Rewritten.
19843 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19844 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19845 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19846 (make-test-out): Replace $(host-built-program-cmd) with
19847 $(host-test-program-cmd).
19848 * config.make.in (build-hardcoded-path-in-tests): New variable.
19849 * configure.in (--enable-hardcoded-path-in-tests): New configure
19850 option.
19851 (hardcoded_path_in_tests): New AC_SUBST.
19852 * configure: Regenerated.
19853 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19854 $(built-program-cmd) with $(test-program-cmd).
19855 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19856 (test_program_cmd): This.
19857 * elf/Makefile ($(objpfx)order.out): Run test with
19858 $(test-program-prefix).
19859 ($(objpfx)order2.out): Likewise.
19860 ($(objpfx)tst-initorder.out): Likewise.
19861 ($(objpfx)tst-initorder2.out): Likewise.
19862 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19863 $(test-program-cmd).
19864 ($(objpfx)tst-array1-static.out): Likewise.
19865 ($(objpfx)tst-array2.out): Likewise.
19866 ($(objpfx)tst-array3.out): Likewise.
19867 ($(objpfx)tst-array4.out): Likewise.
19868 ($(objpfx)tst-array5.out): Likewise.
19869 ($(objpfx)tst-array5-static.out): Likewise.
19870 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19871 $(test-program-cmd).
19872 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19873 $(run-program-prefix) with $(test-program-prefix).
19874 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19875 (test_program_prefix): This.
19876 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19877 $(run-program-prefix) with $(test-program-prefix).
19878 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19879 (test_program_prefix): This.
19880 * iconvdata/tst-tables.sh: Likewise.
19881 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19882 $(run-program-prefix) with $(test-program-prefix).
19883 ($(objpfx)tst-translit.out): Likewise.
19884 ($(objpfx)tst-gettext2.out): Likewise.
19885 ($(objpfx)tst-gettext4.out): Likewise.
19886 ($(objpfx)tst-gettext6.out): Likewise.
19887 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19888 (test_program_prefix): This.
19889 * intl/tst-gettext2.sh: Likewise.
19890 * intl/tst-gettext4.sh Likewise.
19891 * intl/tst-gettext6.sh: Likewise.
19892 * intl/tst-translit.sh: Likewise.
19893 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19894 with $(test-program-cmd).
19895 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19896 $(run-program-prefix) with $(test-program-prefix).
19897 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19898 (test_program_prefix): This.
19899 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19900 $(run-program-prefix) with $(test-program-prefix).
19901 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19902 (test_program_prefix): This.
19903 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19904 * posix/Makefile ($(objpfx)globtest.out): Replace
19905 $(run-via-rtld-prefix) and $(test-wrapper) with
19906 $(test-program-prefix) and $(test-via-rtld-prefix).
19907 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19908 $(test-program-prefix).
19909 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19910 $(host-test-program-cmd).
19911 (tst-spawn-ARGS): Likewise.
19912 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19913 $(test-program-prefix).
19914 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19915 (test_via_rtld_prefix): This.
19916 (test_wrapper): Renamed to ...
19917 (test_program_prefix): This.
19918 (run_program_prefix): Replaced by test_program_prefix.
19919 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19920 (test_program_prefix): This.
19921 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19922 with $(host-test-program-cmd).
19923 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19924 $(run-program-prefix) with $(test-program-prefix).
19925 ($(objpfx)tst-printf.out): Likewise.
19926 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19927 $(test-program-cmd).
19928 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19929 (test_program_prefix): This.
19930 * stdio-common/tst-unbputc.sh: Likewise.
19931 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19932 $(run-program-prefix) with $(test-program-prefix).
19933 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19934 (test_program_prefix): This.
19935 * string/Makefile ($(objpfx)tst-svc.out): Replace
19936 $(built-program-cmd) with $(test-program-cmd).
19937
c6fe55cf
AJ
199382013-01-11 Andreas Jaeger <aj@suse.de>
19939
19940 [BZ #15003]
19941 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19942 value. Sync with Linux 3.7.
19943
9e6919c8
DM
199442013-01-10 David S. Miller <davem@davemloft.net>
19945
19946 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19947 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19948 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19949
1c9f1a02
RM
199502013-01-10 Roland McGrath <roland@hack.frob.com>
19951
19952 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19953 never set.
19954 * configure: Regenerated.
19955
b9de2dde
DM
199562013-01-10 David S. Miller <davem@davemloft.net>
19957
19958 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19959 sparc V9 rather than using V8 code.
19960 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19961 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19962
e7f68ef4
RM
199632013-01-10 Roland McGrath <roland@hack.frob.com>
19964
19965 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19966 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19967 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19968 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19969 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19970 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19971 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19972 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19973 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19974 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19975 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19976 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19977 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19978 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19979 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19980 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19981 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19982 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19983 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19984 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19985 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19986 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19987 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19988 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19989 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19990 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19991 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19992
5a47cc9c
DM
199932013-01-10 David S. Miller <davem@davemloft.net>
19994
19995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19996
4cf8f209
L
199972013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19998
19999 * posix/Makefile (tests-static): New variable.
20000 (tests): Add $(tests-static).
20001 (tst-exec-static-ARGS): New variable.
20002 (tst-spawn-static-ARGS): Likewise.
20003 * posix/tst-exec-static.c: New file.
20004 * posix/tst-spawn-static.c: Likewise.
20005 * posix/tst-exec.c: Support run directly.
20006 * posix/tst-spawn.c: Likewise.
20007
fed0faa1
JM
200082013-01-10 Joseph Myers <joseph@codesourcery.com>
20009
828beb13
JM
20010 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20011 long.
20012 * math/bits/mathcalls.h (llrint): Likewise.
20013 (llround): Likewise.
20014 * stdlib/stdlib.h (struct drand48_data): Likewise.
20015 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20016 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20017 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20018 Likewise.
20019 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20020 Likewise.
20021 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20022 (elf_greg_t): Likewise.
20023 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20024 (__jmp_buf): Likewise.
20025 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20026 definitions.
20027 (llrint): Likewise, for all definitions.
20028 (llrintl): Likewise.
20029
fed0faa1
JM
20030 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20031 Remove [__GNUC__] condition.
20032 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20033 condition to just [__USE_ISOC99].
20034 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20035
1a20cb20
L
200362013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20037
20038 [BZ #14200]
20039 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20040 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20041 defined.
20042 (_POSIX_V6_ILP32_OFF32): Likewise.
20043 (_XBS5_ILP32_OFF32): Likewise.
20044 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20045 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20046
751b85f7
SP
200472013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20048
7490eb81
SP
20049 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20050
751b85f7
SP
20051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20052 doubles __mpexp_twomm1. Adjust usage.
20053 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20054 Remove.
20055
988197f0
AS
200562013-01-10 Andreas Schwab <schwab@suse.de>
20057
20058 [BZ #14964]
20059 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20060 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20061
e83d7298
DM
200622013-01-09 David S. Miller <davem@davemloft.net>
20063
034ed64b 20064 [BZ #15003]
57f41c40
AS
20065 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20066 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20067 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20068 (TCP_FASTOPEN): Define.
e83d7298
DM
20069 (tcp_repair_opt): New structure.
20070 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20071 enum values.
57f41c40
AS
20072 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20073 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20074 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20075 (tcp_cookie_transactions): New structure.
20076
d5e0b9bd
AB
200772013-01-09 Anton Blanchard <anton@samba.org>
20078
20079 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20080 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20081 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20082 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20083
0c07e3ea
JM
200842013-01-09 Joseph Myers <joseph@codesourcery.com>
20085
20086 * include/features.h (__USE_ANSI): Remove.
20087
232f7002
RM
200882013-01-09 Roland McGrath <roland@hack.frob.com>
20089
ad98e30c
RM
20090 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20091
232f7002
RM
20092 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20093
950c99ca
SP
200942013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20095
b5792741
SP
20096 * sysdeps/s390/fpu/libm-test-ulps: Update.
20097
47cf2278
SP
20098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20099
950c99ca
SP
20100 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20101 (__acr): Likewise.
20102 (__cpy): Likewise.
20103 (norm): Likewise.
20104 (denorm): Likewise.
20105 (__mp_dbl): Likewise.
20106 (__dbl_mp): Likewise.
20107 (add_magnitudes): Likewise.
20108 (sub_magnitudes): Likewise.
20109 (__add): Likewise.
20110 (__sub): Likewise.
20111 (__mul): Likewise.
20112 (__inv): Likewise.
20113 (__dvd): Likewise.
20114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20115 (__acr): Likewise.
20116 (__cpy): Likewise.
20117 (norm): Likewise.
20118 (denorm): Likewise.
20119 (__mp_dbl): Likewise.
20120 (__dbl_mp): Likewise.
20121 (add_magnitudes): Likewise.
20122 (sub_magnitudes): Likewise.
20123 (__add): Likewise.
20124 (__sub): Likewise.
20125 (__mul): Likewise.
20126 (__inv): Likewise.
20127 (__dvd): Likewise.
20128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20129 (__acr): Likewise.
20130 (__cpy): Likewise.
20131 (norm): Likewise.
20132 (denorm): Likewise.
20133 (__mp_dbl): Likewise.
20134 (__dbl_mp): Likewise.
20135 (add_magnitudes): Likewise.
20136 (sub_magnitudes): Likewise.
20137 (__add): Likewise.
20138 (__sub): Likewise.
20139 (__mul): Likewise.
20140 (__inv): Likewise.
20141 (__dvd): Likewise.
20142
eede9df9
JM
201432013-01-08 Joseph Myers <joseph@codesourcery.com>
20144
20145 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20146 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20147 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20148 2 && __USE_EXTERN_INLINES]: Likewise.
20149
c40ea3d9
AJ
201502013-01-08 Andreas Jaeger <aj@suse.de>
20151
20152 [BZ# 14985]
20153 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20154 Remove.
20155 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20156 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20157
2ccdea26
AB
201582013-01-07 Anton Blanchard <anton@samba.org>
20159
20160 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20161 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20162 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20163 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20164 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20165 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20166 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20167 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20169 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20170 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20171 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20172 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20173 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20174 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20175 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20176 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20177 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20178 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20179 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20180 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20181 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20182 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20183 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20184 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20185 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20186 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20187 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20188 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20189 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20190 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20192 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20193 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20194 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20195 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20196 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20197 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20198 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20199 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20200 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20201 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20202 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20203
a9708fed
JM
202042013-01-07 Joseph Myers <joseph@codesourcery.com>
20205
375607b9
JM
20206 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20207 (__MALLOC_PMT): Likewise.
20208 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20209 [__GNUC__], only on [_LIBC].
20210 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20211 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20212 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20213 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20214 forward declaration.
20215 (realloc_hook_ini): Likewise.
20216 (memalign_hook_ini): Likewise.
20217 (__libc_memalign): Do not use __MALLOC_PMT in variable
20218 declaration.
20219 (__libc_valloc): Likewise.
20220 (__libc_pvalloc): Likewise.
20221 (__libc_calloc): Likewise.
20222 (__posix_memalign): Likewise.
20223
a9708fed
JM
20224 [BZ #14996]
20225 * math/s_casinh.c: Include <float.h>.
20226 (__casinh): Do not do computation with squaring and square root
20227 for large arguments.
20228 * math/s_casinhf.c: Include <float.h>.
20229 (__casinhf): Do not do computation with squaring and square root
20230 for large arguments.
20231 * math/s_casinhl.c: Include <float.h>.
20232 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20233 (__casinhl): Do not do computation with squaring and square root
20234 for large arguments.
20235 * math/libm-test.inc (casin_test): Add more tests.
20236 (casinh_test): Likewise.
20237 * sysdeps/i386/fpu/libm-test-ulps: Update.
20238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20239
afec409a
L
202402013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20241
20242 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20243 (__x86_64_raw_data_cache_size): Likewise.
20244 (__x86_64_data_cache_size_half): Likewise.
20245 (__x86_64_raw_data_cache_size_half): Likewise.
20246 (__x86_64_shared_cache_size): Likewise.
20247 (__x86_64_raw_shared_cache_size): Likewise.
20248 (__x86_64_shared_cache_size_half): Likewise.
20249 (__x86_64_raw_shared_cache_size_half): Likewise.
20250 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20251 to ...
20252 (__x86_data_cache_size): This.
20253 (__x86_64_raw_data_cache_size): Renamed to ...
20254 (__x86_raw_data_cache_size): This.
20255 (__x86_64_data_cache_size_half): Renamed to ...
20256 (__x86_data_cache_size_half): This.
20257 (__x86_64_raw_data_cache_size_half): Renamed to ...
20258 (__x86_raw_data_cache_size_half): This.
20259 (__x86_64_shared_cache_size): Renamed to ...
20260 (__x86_shared_cache_size): This.
20261 (__x86_64_raw_shared_cache_size): Renamed to ...
20262 (__x86_raw_shared_cache_size): This.
20263 (__x86_64_shared_cache_size_half): Renamed to ...
20264 (__x86_shared_cache_size_half): This.
20265 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20266 (__x86_raw_shared_cache_size_half): This.
20267 * sysdeps/x86_64/memcpy.S: Updated.
20268 * sysdeps/x86_64/memset.S: Likewise.
20269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20270 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20271 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20272
0b3986d0
DM
202732013-01-04 David S. Miller <davem@davemloft.net>
20274
20275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20276
e47686e9
AS
202772013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20278
d643bac1
AS
20279 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20280 1 to avoid redefinition warning.
20281 (__USE_GNU): Don't define.
20282 (init_signaling_nan): Protoize.
20283
e47686e9
AS
20284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20285
b18decba
SP
202862013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20287
fffb407f
SP
20288 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20290 (__cpymn): Likewise.
20291 (norm): Remove commented code.
20292 (denorm): Likewise.
20293 (__mp_dbl): Likewise.
20294 (__inv): Likewise.
20295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20296 (__cpymn): Likewise.
20297 (norm): Remove commented code.
20298 (denorm): Likewise.
20299 (__mp_dbl): Likewise.
20300 (__inv): Likewise.
20301
b18decba
SP
20302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20303 mp_no value for 1.0 and 2.0.
20304 (norm): Use RADIXI instead of radixi.d.
20305 (denorm): Likewise.
20306 (__mul): Use 0.0 instead of zero.d.
20307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20308 mp_no value for 1.0 and 2.0.
20309 (norm): Use RADIXI instead of radixi.d.
20310 (denorm): Likewise.
20311 (__mul): Use 0.0 instead of zero.d.
20312
cdc1c96f
JM
203132013-01-04 Joseph Myers <joseph@codesourcery.com>
20314
20315 [BZ #14994]
20316 * math/s_casinh.c (__casinh): Reduce finite argument to first
20317 quadrant then set signs of results at the end.
20318 * math/s_casinhf.c (__casinhf): Likewise.
20319 * math/s_casinhl.c (__casinhl): Likewise.
20320 * math/libm-test.inc (casin_test): Add more tests.
20321 (casinh_test): Likewise.
20322 * sysdeps/i386/fpu/libm-test-ulps: Update.
20323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20324
302913e1
SP
203252013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20326
6420d207
SP
20327 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20328
a9e48ab4
SP
20329 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20330
b7837264
SP
20331 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20332 declarations.
20333 (denorm): Likewise.
20334 (__mp_dbl): Likewise.
20335 (__inv): Likewise.
20336
f8af25d2
SP
20337 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20338 and adjust the header comment.
20339
302913e1
SP
20340 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20341 variable name from declaration.
20342
5d7dd1ca
L
203432013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20344
20345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20346 Initialize COMMON_CPUID_INDEX_7 element.
20347 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20348 (CPUID_RTM): Likewise.
20349 (HAS_RTM): Likewise.
20350 (COMMON_CPUID_INDEX_7): New enum.
20351
2f5f40f4
AS
203522013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20353
20354 [BZ #14981]
20355 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20356 size is zero, record memory as freed.
20357
4056f4a0
AJ
203582013-01-03 Andreas Jaeger <aj@suse.de>
20359
20360 * po/ia.po: Add new Interlingua translation.
20361
ab15736f 203622012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
20363
20364 * locale/programs/localedef.c: Fix description of '--posix' flag.
20365
568035b7
JM
203662013-01-02 Joseph Myers <joseph@codesourcery.com>
20367
e6898b8d
JM
20368 * NEWS: Update dates in second copyright notice.
20369 * README: Update copyright dates in example.
20370 * manual/libc.texinfo: Update copyright dates.
20371 * scripts/test-installation.pl: Update copyright date in --version
20372 output.
20373
0e2f9562
JM
20374 * hurd/ctty-input.c: Fix copyright notice formatting.
20375 * hurd/ctty-output.c: Likewise.
20376 * hurd/dtable.c: Likewise.
20377 * hurd/hurd-raise.c: Likewise.
20378 * hurd/hurdprio.c: Likewise.
20379 * hurd/msgportdemux.c: Likewise.
20380 * misc/sys/file.h: Likewise.
20381 * misc/sys/ioctl.h: Likewise.
20382 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20383 * sysdeps/mach/hurd/chdir.c: Likewise.
20384 * sysdeps/mach/hurd/fchdir.c: Likewise.
20385 * sysdeps/mach/hurd/rename.c: Likewise.
20386 * sysdeps/mach/hurd/rmdir.c: Likewise.
20387 * sysdeps/mach/hurd/seekdir.c: Likewise.
20388 * sysdeps/mach/hurd/setsid.c: Likewise.
20389 * sysdeps/posix/wait3.c: Likewise.
20390
568035b7
JM
20391 * All files with FSF copyright notices: Update copyright dates
20392 using scripts/update-copyrights.
20393 * intl/plural.c: Regenerated.
20394 * locale/programs/charmap-kw.h: Likewise.
20395 * locale/programs/locfile-kw.h: Likewise.
20396
da08f647
SP
203972013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20398
0f5477af
SP
20399 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20400 four values.
20401
44e0d4c2
SP
20402 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20403 calculation loop and add branch prediction.
20404
4d55b4e5
SP
20405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20406 check access beyond bounds of m1np.
20407
da08f647
SP
20408 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20409 MPTWO.
20410 (__inv): Remove local variable MPTWO to use the global
20411 constant.
20412 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20413 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20414 variable MPTWO.
20415 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20416 MP3HALFS static const.
20417
8e051029
DM
204182013-01-01 David S. Miller <davem@davemloft.net>
20419
20420 * po/ca.po: Update from translation team.
20421
f4cf5f2d
JM
204222013-01-01 Joseph Myers <joseph@codesourcery.com>
20423
20424 * scripts/update-copyrights: New file.
20425 * Makeconfig: Reformat copyright notice.
20426 * ctype/ctype.h: Likewise.
20427 * debug/swprintf_chk.c: Likewise.
20428 * elf/dl-cache.c: Likewise.
20429 * elf/dl-debug.c: Likewise.
20430 * elf/dl-object.c: Likewise.
20431 * grp/initgroups.c: Likewise.
20432 * hurd/Makefile: Likewise.
20433 * hurd/hurd/signal.h: Likewise.
20434 * hurd/hurdfault.c: Likewise.
20435 * hurd/hurdioctl.c: Likewise.
20436 * hurd/hurdlookup.c: Likewise.
20437 * hurd/intr-msg.c: Likewise.
20438 * iconv/gconv_open.c: Likewise.
20439 * libio/swprintf.c: Likewise.
20440 * locale/lc-ctype.c: Likewise.
20441 * locale/nl_langinfo.c: Likewise.
20442 * mach/Machrules: Likewise.
20443 * mach/Makefile: Likewise.
20444 * malloc/obstack.h: Likewise.
20445 * manual/Makefile: Likewise.
20446 * manual/tsort.awk: Likewise.
20447 * misc/bits/stab.def: Likewise.
20448 * nis/nis_print_group_entry.c: Likewise.
20449 * nis/nis_table.c: Likewise.
20450 * nis/nss_compat/compat-pwd.c: Likewise.
20451 * nis/nss_compat/compat-spwd.c: Likewise.
20452 * po/Makefile: Likewise.
20453 * posix/fnmatch.c: Likewise.
20454 * posix/regex.h: Likewise.
20455 * resolv/Makefile: Likewise.
20456 * resolv/nss_dns/dns-network.c: Likewise.
20457 * resolv/res_hconf.c: Likewise.
20458 * scripts/gen-sorted.awk: Likewise.
20459 * soft-fp/soft-fp.h: Likewise.
20460 * stdio-common/printf.h: Likewise.
20461 * stdlib/monetary.h: Likewise.
20462 * stdlib/random.c: Likewise.
20463 * stdlib/random_r.c: Likewise.
20464 * sysdeps/generic/Makefile: Likewise.
20465 * sysdeps/gnu/Makefile: Likewise.
20466 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20468 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20469 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20470 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20473 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20474 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20476 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20477 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20478 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20479 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20480 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20481 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20482 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20483 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20484 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20486 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20487 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20488 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20489 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20490 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20491 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20492 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20493 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20494 * sysdeps/mach/hurd/errnos.awk: Likewise.
20495 * sysdeps/mach/hurd/fork.c: Likewise.
20496 * sysdeps/mach/hurd/getcwd.c: Likewise.
20497 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20498 * sysdeps/mach/hurd/mmap.c: Likewise.
20499 * sysdeps/mach/hurd/utimes.c: Likewise.
20500 * sysdeps/mach/hurd/xmknod.c: Likewise.
20501 * sysdeps/posix/profil.c: Likewise.
20502 * sysdeps/posix/readdir_r.c: Likewise.
20503 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20504 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20505 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20506 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20508 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20509 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20510 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20512 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20513 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20514 * sysdeps/pthread/lio_listio.c: Likewise.
20515 * sysdeps/sparc/dl-procinfo.h: Likewise.
20516 * sysdeps/unix/i386/sysdep.S: Likewise.
20517 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20518 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20519 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20520 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20522 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20523 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20524 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20525 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20526 * sysdeps/wordsize-32/divdi3.c: Likewise.
20527 * time/sys/time.h: Likewise.
20528 * wcsmbs/Makefile: Likewise.
20529
0549fbba
DM
205302013-01-01 David S. Miller <davem@davemloft.net>
20531
a141f1a7
DM
20532 * po/fr.po: Update from translation team.
20533
0549fbba
DM
20534 * catgets/gencat.c: Update copyright year.
20535 * csu/version.c: Likewise.
20536 * debug/catchsegv.sh: Likewise.
20537 * debug/pcprofiledump.c: Likewise.
20538 * debug/xtrace.sh: Likewise.
20539 * elf/ldconfig.c: Likewise.
20540 * elf/ldd.bash.in: Likewise.
20541 * elf/pldd.c: Likewise.
20542 * elf/sotruss.ksh: Likewise.
20543 * elf/sprof.c: Likewise.
20544 * iconv/iconv_prog.c: Likewise.
20545 * iconv/iconvconfig.c: Likewise.
20546 * locale/programs/locale.c: Likewise.
20547 * locale/programs/localedef.c: Likewise.
20548 * login/programs/pt_chown.c: Likewise.
20549 * malloc/memusage.sh: Likewise.
20550 * malloc/memusagestat.c: Likewise.
20551 * malloc/mtrace.pl: Likewise.
20552 * nscd/nscd.c: Likewise.
20553 * nss/getent.c: Likewise.
20554 * nss/makedb.c: Likewise.
20555 * posix/getconf.c: Likewise.
20556
18ea052c
SP
205572012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20558
20559 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20560 numbers.
20561
9c89fca6
MF
205622012-12-30 Mike Frysinger <vapier@gentoo.org>
20563
20564 * math/bits/mathcalls.h (modf): Use __nonnull.
20565
085ec079
SP
205662012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20567
20568 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20569 (split): Use macro CN instead of the bare value.
20570 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20571 could be used.
20572 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20573 instead of the bare value.
20574 (power1): Likewise.
20575
6d9f97e1
SP
205762012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20577
d63f73be
SP
20578 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20579 __ATAN_TWOM.
20580 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20581
6d9f97e1
SP
20582 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20583 their values.
20584 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20585 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20586 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20587 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20588
4c4febf5
AJ
205892012-12-28 Andreas Jaeger <aj@suse.de>
20590
af5843ef
AJ
20591 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20592 values are from Linux 3.7.
20593
4c4febf5
AJ
20594 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20595 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20596
99136f82
SP
205972012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20598
2f216c3c 20599 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20600 TRUE case.
20601
99136f82
SP
20602 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20603 (norm): Likewise.
20604 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20605 variables with preprocessor constants.
20606 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20607 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20608 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20609
7fffbdff
BH
206102012-12-27 Bruno Haible <bruno@clisp.org>
20611
20612 [BZ #14317]
20613 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20614 only if needed.
20615
b76eb5f0
SP
206162012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20617
31a7fe5c
SP
20618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20619 and use variable directly.
20620 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20621
b76eb5f0
SP
20622 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20623 MPONE.
20624 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20625 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20626 variable MPONE.
20627 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20629 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20630 include directive. Remove local variable MPONE.
20631 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20632 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20633 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20634
2c8bfe7d
DM
206352012-12-25 David S. Miller <davem@davemloft.net>
20636
20637 * version.h (RELEASE): Set to "development".
20638 (VERSION): Set to "2.17.90".
20639 * NEWS: Add 2.18 section.
20640
147d03b0
DM
206412012-12-21 David S. Miller <davem@davemloft.net>
20642
20643 * po/hr.po: Update from translation team.
20644
a8ebb2b9
AK
206452012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20646
20647 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20648
95b4f1b6
SE
206492012-12-19 Steve Ellcey <sellcey@mips.com>
20650
b2d94007 20651 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20652
cedb2a90
MS
206532012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20654
20655 * manual/contrib.texi (Contributors): Spelling correction.
20656
bbf527d6
DM
206572012-12-15 David S. Miller <davem@davemloft.net>
20658
20659 * po/ru.po: Update from translation team.
20660
bc38c906
DM
206612012-12-13 David S. Miller <davem@davemloft.net>
20662
85429b1a
DM
20663 * NEWS: Mention IFUNC testsuite enhancements.
20664
d283e353
DM
20665 * po/pl.po: Update from translation team.
20666 * po/bg.po: Likewise.
20667
bc38c906
DM
20668 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20669 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20670
a181b0d7
DM
206712012-12-11 David S. Miller <davem@davemloft.net>
20672
4641d57e
DM
20673 * po/sv.po: Update from translation team.
20674
f7bc6495
DM
20675 * po/vi.po: Update from translation team.
20676
6fc9048f
DM
20677 * po/cs.po: Update from translation team.
20678
a181b0d7
DM
20679 * po/de.po: Update from translation team.
20680 * po/eo.po: Likewise.
20681 * po/nl.po: Likewise.
20682
f70bfe80
SP
206832012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20684
3c8b4190
SP
20685 [BZ #14246]
20686 * manual/argp.texi (Argp Helper Functions): Move node to follow
20687 Argp Parsing State.
20688
f70bfe80
SP
20689 [BZ #14872]
20690 * manual/conf.texi (Limits on File System Capacity): Mention if
20691 terminating null is included in the max size.
20692
188f0adf
AJ
206932012-12-10 Andreas Jaeger <aj@suse.de>
20694
20695 * po/cs.po: Update from translation team.
20696
56e7d3ad
SP
206972012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20698
20699 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20700 void pointer and cast to uintptr_t.
20701 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20702 path.
20703 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20704 * sysdeps/s390/s390-64/memset.S: Likewise.
20705
76f2d2ea 207062012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20707
20708 [BZ #14833]
20709 * menual/message.texi (Message Translation): Fix typos.
20710 (Helper programs for gettext): Likewise.
20711
67cbf9a2
AS
207122012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20713
20714 [BZ #14898]
20715 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20716 Change to -1.
20717
682d0e9a
DM
207182012-12-07 David S. Miller <davem@davemloft.net>
20719
20720 * po/libc.pot: Update.
20721
573cd484
RH
207222012-12-07 Richard Henderson <rth@redhat.com>
20723
7e9da188 20724 [BZ #10114]
573cd484
RH
20725 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20726 normal/normal case to before the switch.
20727 (_FP_DIV): Likewise.
20728
e933a943
MF
207292012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20730 Mike Frysinger <vapier@gentoo.org>
20731
20732 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20733 check for __NR_fadvise64_64.
20734
82123268
CM
207352012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20736
20737 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20738 0, not just to plain "0" as a statement.
20739 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20740 with cw.
20741
d9814526
JM
207422012-12-06 Joseph Myers <joseph@codesourcery.com>
20743
20744 * NEWS: Use sourceware.org in Bugzilla URL.
20745
7728c574
SP
207462012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20747
f16946dd
SP
20748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20749 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20750
5704bbcb
SP
20751 * stdio-common/tst-put-error.c (do_test): Add newline to the
20752 padded test to ensure flush.
20753
17aa0516
JL
207542012-12-05 Jeff Law <law@redhat.com>
20755
20756 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20757
363313b5
JM
207582012-12-05 Joseph Myers <joseph@codesourcery.com>
20759
effbd42a
JM
20760 * README: Don't refer to ports add-on as distributed separately.
20761 Mention AArch64 in list of systems supported in the ports add-on.
20762
87600365
JM
20763 * LICENSES: Add more non-FSF copyright and license notices.
20764
a0d7066a
JM
20765 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20766 ((unused)).
20767
66ca5a5b
JM
20768 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20769
363313b5
JM
20770 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20771 10000 as width of padded output.
20772
b37984ad
JM
207732012-12-04 Joseph Myers <joseph@codesourcery.com>
20774
9003570a
JM
20775 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20776
b37984ad
JM
20777 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20778 variable LX with __attribute__ ((unused)).
20779 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20780 Likewise.
20781 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20782 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20783 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20784 with __attribute__ ((unused)).
20785
c8df52ec
DM
207862012-12-04 David S. Miller <davem@abraco.davemloft.net>
20787
20788 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20789
b3b099af
JM
207902012-12-04 Joseph Myers <joseph@codesourcery.com>
20791
c33aa6e3
JM
20792 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20793 (CFLAGS-nldbl-acos.c): New variable.
20794 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20795 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20796 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20797 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20798 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20799 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20800 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20801 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20802 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20803 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20804 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20805 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20806 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20807 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20808 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20809 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20810 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20811 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20812 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20813 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20814 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20815 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20816 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20817 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20818 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20819 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20820 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20821 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20822 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20823 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20824 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20825 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20826 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20827 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20828 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20829 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20830 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20831 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20832 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20833 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20834 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20835 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20836 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20837 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20838 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20839 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20840 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20841 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20842 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20843 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20844 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20845 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20846 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20847 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20848 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20849 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20850 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20851 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20852 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20853 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20854 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20855 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20856 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20857 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20858 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20859 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20860 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20861 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20862 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20863 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20864 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20865 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20866 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20867 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20868 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20869 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20870 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20871 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20872 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20873 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20874 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20875 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20876 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20877 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20878 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20879 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20880 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20881 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20882 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20883 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20884 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20885 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20886 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20887 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20888 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20889 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20890 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20891
20f0018d
JM
20892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20893 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20894
b3b099af
JM
20895 [BZ #14914]
20896 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20897 whole low double instead of just low 47 bits when splitting values
20898 into two parts.
20899
029264d1
AM
209002012-12-03 Allan McRae <allan@archlinux.org>
20901
20902 * manual/stdio.texi (Predefined Printf Handlers): Remove
20903 @hsep and @vsep usage.
20904
c9d6789e
MF
209052012-12-03 Mike Frysinger <vapier@gentoo.org>
20906
20907 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20908 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20909
4b7634a5
JL
209102012-12-03 Jeff Law <law@redhat.com>
20911
20912 * time/sys/time.h (settimeofday): Do not mark TV argument
20913 as __nonnull.
20914
eb6cbd24
MF
209152012-12-01 Mike Frysinger <vapier@gentoo.org>
20916
20917 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20918 when currently writing and seek to current position when not.
20919 * libio/Makefile (tests): Remove bug-fclose1.
20920 * libio/bug-fclose1.c: Delete.
20921
f638872a
JM
209222012-12-01 Joseph Myers <joseph@codesourcery.com>
20923
20924 * manual/arith.texi (feenableexcept): Fix typo.
20925 (fedisableexcept): Likewise.
20926
48085d14
RM
209272012-11-30 Roland McGrath <roland@hack.frob.com>
20928
20929 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20930 second, differently-typed declaration, rather than a cast.
20931
1a538b9f
SP
209322012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20933
20934 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20935 * include/rpc/svc.h: ... here.
20936
d07f2ff1 209372012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20938
20939 [BZ #13013]
20940 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20941 depending n and resplen2 to catch cases where answer
20942 equals answerp2.
20943
c93ec1f0
CD
209442012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20945
20946 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20947 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20948
37db69de
MF
209492012-11-29 Mike Frysinger <vapier@gentoo.org>
20950
20951 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20952
e10c4e4f
RM
209532012-11-29 Roland McGrath <roland@hack.frob.com>
20954
20955 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20956
2af1b328
JL
209572012-11-28 Jeff Law <law@redhat.com>
20958
20959 [BZ #13761]
20960 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20961 dataset_temporary. Track alloca usage into alloca_used.
20962 If dataset is large allocate and release it via malloc/free.
20963
111db5b1
FW
209642012-06-04 Florian Weimer <fweimer@redhat.com>
20965
f06cc227 20966 [BZ #14197]
111db5b1
FW
20967 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20968
dd694abd
DM
209692012-11-28 David S. Miller <davem@davemloft.net>
20970
20971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20972
9984dd01
JM
209732012-11-28 Joseph Myers <joseph@codesourcery.com>
20974
20975 [BZ #14803]
20976 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20977 of pi/2 rounded to nearest to 64 bits.
20978 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20979 nearest to 64 bits.
20980 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20981 bits.
20982
14bc93a9
JL
209832012-11-28 Jeff Law <law@redhat.com>
20984 Martin Osvald <mosvald@redhat.com>
20985
20986 [BZ #14889]
20987 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20988 * sunrpc/svc.c: Include time.h.
20989 (__svc_accept_failed): New function.
20990 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20991 any reason other than EINTR, call __svc_accept_failed.
20992 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20993 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20994
e3c6aa3a
AS
209952012-11-28 Andreas Schwab <schwab@suse.de>
20996
20997 * scripts/abilist.awk: Also handle indirect functions in .opd
20998 section.
20999
1bead169
JM
210002012-11-28 Joseph Myers <joseph@codesourcery.com>
21001
21002 [BZ #13881]
21003 * sysdeps/x86/fpu/powl_helper.c: New file.
21004 * sysdeps/x86/fpu/Makefile: Likewise.
21005 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21006 (p3): New object.
21007 (__ieee754_powl): Use __powl_helper for finite arguments except
21008 integer exponents below 8.
21009 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21010 (p3): New object.
21011 (__ieee754_powl): Use __powl_helper for finite arguments except
21012 integer exponents below 8.
21013 * math/libm-test.inc (pow_test): Add more tests and enable some
21014 previously disabled tests.
21015 * sysdeps/i386/fpu/libm-test-ulps: Update.
21016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21017
0817d63d
SP
210182012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21019 Carlos O'Donell <carlos_odonell@mentor.com>
21020
21021 * nss/makedb.c (is_prime): Assert that input is odd and greater
21022 than 4. Note that fact in a comment too.
21023 (next_prime): Add 4 to input.
21024
de2fd463
SP
210252012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21026
21027 [BZ #11741]
21028 * libio/Makefile (tests): Add test case tst-fwrite-error.
21029 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21030 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21031 * libio/tst-fwrite-error.c: New test case.
21032
c515fb51
L
210332012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21034
21035 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21036 before casting to void *.
21037 * include/libc-internal.h (__pointer_type): New macro.
21038 (__integer_if_pointer_type_sub): Likewise.
21039 (__integer_if_pointer_type): Likewise.
21040 (cast_to_integer): Likewise.
21041 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21042 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21043 before casting to atomic64_t.
21044 (atomic_exchange_acq): Likewise.
21045 (__arch_exchange_and_add_body): Likewise.
21046 (__arch_add_body): Likewise.
21047 (atomic_add_negative): Likewise.
21048 (atomic_add_zero): Likewise.
21049
4cf77aa9
JM
210502012-11-26 Joseph Myers <joseph@codesourcery.com>
21051
21052 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21053 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21054 (add_fdes): Likewise.
21055 (linear_search_fdes): Likewise.
21056 (binary_search_unencoded_fdes): Likewise.
21057
d260b3b4
AS
210582012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21059
21060 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21061
67060746
AC
210622012-11-24 Adam Conrad <adconrad@0c3.net>
21063
21064 * configure.in: Autodetect C++ header directories.
21065 * configure: Regenerated.
21066
800938a1
MF
210672012-11-23 Mike Frysinger <vapier@gentoo.org>
21068
21069 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21070
4e6e34e6
AS
210712012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21072
21073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21074
7c7feb47
JM
210752012-11-22 Joseph Myers <joseph@codesourcery.com>
21076
7184dcdf
JM
21077 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21078 LDBL_MANT_DIG == 106]: Disable some tests.
21079 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21080 Likewise.
21081 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21082 Likewise.
21083
0a42601f
JM
21084 [BZ #14871]
21085 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21086 input for small inputs. Return +/- pi/2 for large inputs.
21087 * math/libm-test.inc (atan_test): Add more tests.
21088
79c9b9fe
JM
21089 * sysdeps/generic/unwind-dw2-fde-glibc.c
21090 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21091 __attribute__ ((unused)).
21092
c60d3bf2
JM
21093 [BZ #14645]
21094 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21095 x * y if x and y are nonzero and z is zero.
21096
ef1e0867
JM
21097 [BZ #14811]
21098 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21099 nonzero exponents with absolute value below 0x1p-117 to +/-
21100 0x1p-117.
21101
1468ded3
JM
21102 [BZ #14869]
21103 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21104 up arguments below 2**-450, not just those below 2**-500.
21105 * math/libm-test.inc (hypot_test): Add another test.
21106
8e27e3cc
JM
21107 [BZ #14868]
21108 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21109 Return a+b for ratio over 2**120, not 2**60.
21110 * math/libm-test.inc (hypot_test): Add another test.
21111
c9c0279b
JM
21112 * math/libm-test.inc (clog_test): Use
21113 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21114 (clog10_test): Likewise.
21115
7c7feb47
JM
21116 [BZ #6778]
21117 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21118
fff1530e
AS
211192012-11-22 Andreas Schwab <schwab@suse.de>
21120
21121 * sysdeps/i386/fpu/libm-test-ulps: Update.
21122
94558d30
PT
211232012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21124
21125 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21126 printf output with newline.
21127
7e1be741
L
211282012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21129
6bfea974
L
21130 [BZ #14865]
21131 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21132 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21133 -z nodlopen, -z initfirst and -z execstack support.
21134 * configure: Regenerated.
21135
7e1be741
L
21136 * elf/elf.h (DF_1_NODIRECT): New macro.
21137 (DF_1_IGNMULDEF): Likewise.
21138 (DF_1_NOKSYMS): Likewise.
21139 (DF_1_NOHDR): Likewise.
21140 (DF_1_EDITED): Likewise.
21141 (DF_1_NORELOC): Likewise.
21142 (DF_1_SYMINTPOSE): Likewise.
21143 (DF_1_GLOBAUDIT): Likewise.
21144 (DF_1_SINGLETON): Likewise.
21145 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21146 DT_1_SUPPORTED_MASK bits.
21147 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21148
105ce2ce
CD
211492012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21150
21151 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21152
123be9de
TS
211532012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21154
d072f3f7
TS
21155 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21156 macro.
21157
123be9de
TS
21158 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21159 (sendmmsg): Move declarations...
21160 * socket/sys/socket.h: ... here.
21161 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21162 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21163 include it from...
21164 * socket/recvmmsg.c: ... this new file.
21165 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21166 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21167 definition of __sendmmsg hidden.
21168 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21169 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21170 Move ENOSYS stub into and include it from...
21171 * socket/sendmmsg.c: ... this new file.
21172 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21173 (sysdep_routines): Move recvmmsg and sendmmsg...
21174 * socket/Makefile (routines): ... here.
21175 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21176 (GLIBC_PRIVATE): Add __sendmmsg.
21177 * include/sys/socket.h (__sendmmsg): Add declarations.
21178 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21179 sendmmsg.
21180
cf9a5d18
JM
211812012-11-20 Joseph Myers <joseph@codesourcery.com>
21182
21183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21184 variable I1 with __attribute__ ((unused)).
21185 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21186
ecd4caf9
JM
211872012-11-19 Joseph Myers <joseph@codesourcery.com>
21188
be14d48f
JM
21189 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21190 DUMMY variables with __attribute__ ((unused)).
21191
ecd4caf9
JM
21192 * bits/byteswap.h: Include <bits/types.h>.
21193 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21194
986cab95
PT
211952012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21196
21197 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21198 string_t. Do not manually set errno.
21199 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21200 length with __strnlen. Make sure to both set errno and return it on
21201 failure.
21202
6d33cc9d
DM
212032012-11-19 David S. Miller <davem@davemloft.net>
21204
21205 With help from Joseph Myers.
21206 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21207 very large arguments properly.
21208 * math/libm-test.inc (atan_test): New tests.
21209 (atan2_test): New tests.
21210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21212
ee663277
JM
212132012-11-19 Joseph Myers <joseph@codesourcery.com>
21214
877f2d8e
JM
21215 [BZ #14856]
21216 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21217 Define to 3.
21218
116fc08a
JM
21219 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21220 [POSIX] (EADDRNOTAVAIL): Likewise.
21221 [POSIX] (EAFNOSUPPORT): Likewise.
21222 [POSIX] (EALREADY): Likewise.
21223 [POSIX] (ECONNABORTED): Likewise.
21224 [POSIX] (ECONNREFUSED): Likewise.
21225 [POSIX] (ECONNRESET): Likewise.
21226 [POSIX] (EDESTADDRREQ): Likewise.
21227 [POSIX] (EDQUOT): Likewise.
21228 [POSIX] (EHOSTUNREACH): Likewise.
21229 [POSIX] (EIDRM): Likewise.
21230 [POSIX] (EISCONN): Likewise.
21231 [POSIX] (ELOOP): Likewise.
21232 [POSIX] (EMULTIHOP): Likewise.
21233 [POSIX] (ENETDOWN): Likewise.
21234 [POSIX] (ENETUNREACH): Likewise.
21235 [POSIX] (ENOBUFS): Likewise.
21236 [POSIX] (ENODATA): Likewise.
21237 [POSIX] (ENOLINK): Likewise.
21238 [POSIX] (ENOMSG): Likewise.
21239 [POSIX] (ENOPROTOOPT): Likewise.
21240 [POSIX] (ENOSR): Likewise.
21241 [POSIX] (ENOSTR): Likewise.
21242 [POSIX] (ENOTCONN): Likewise.
21243 [POSIX] (ENOTSOCK): Likewise.
21244 [POSIX] (EOPNOTSUPP): Likewise.
21245 [POSIX] (EOVERFLOW): Likewise.
21246 [POSIX] (EPROTO): Likewise.
21247 [POSIX] (EPROTONOSUPPORT): Likewise.
21248 [POSIX] (EPROTOTYPE): Likewise.
21249 [POSIX] (ESTALE): Likewise.
21250 [POSIX] (ETIME): Likewise.
21251 [POSIX] (ETXTBSY): Likewise.
21252 [POSIX] (EWOULDBLOCK): Likewise.
21253 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21254 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21255 [POSIX] (SEEK_CUR): Likewise.
21256 [POSIX] (SEEK_END): Likewise.
21257 [POSIX || UNIX98] (mode_t): Do not require.
21258 [POSIX] (off_t): Likewise.
21259 [POSIX] (pid_t): Likewise.
21260 [POSIX] (sys/stat.h): Do not allow header.
21261 [POSIX] (unistd.h): Likewise.
21262 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21263 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21264 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21265 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21266 require.
21267 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21268 sigevent): Specify elements.
21269 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21270 entry.
21271 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21272 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21273
a483863f
JM
21274 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21275 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21276 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21277 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21278 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21279 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21280 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21281 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21282 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21283 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21284 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21285 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21286 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21287 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21288 Likewise.
21289 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21290 Likewise.
21291 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21292 Likewise.
21293 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21294 Likewise.
21295 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21296 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21297 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21298 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21299 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21300 Specify lower bound on value.
21301 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21302 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21303 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21304 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21305 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21306 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21307 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21308 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21309 value.
21310 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21311 as optional.
21312 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21313 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21314 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21315 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21316 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21317 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21318 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21319 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21320 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21321 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21322 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21323 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21324 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21325 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21326 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21327 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21328 entry.
21329 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21330 optional.
21331 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21332 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21333 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21334 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21335 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21336 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21337 Likewise.
21338 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21339 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21340 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21341 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21342 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21343 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21344 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21345 as optional.
21346 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21347 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21348 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21349 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21350 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21351 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21352 specify as optional.
21353 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21354 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21355 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21356 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21357 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21358 [XPG3] (NL_LANGMAX): Likewise.
21359 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21360 [POSIX || XPG3] (NL_NMAX): Likewise.
21361 [POSIX || XPG3] (NL_SETMAX): Likewise.
21362 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21363 [XPG3] (NZERO): Likewise.
21364 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21365 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21366 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21367 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21368 (REG_ERANGE): Expect.
21369 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21370 optional-constant.
21371 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21372 Use (void) in prototype.
21373 [POSIX] (*_t): Allow.
21374 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21375 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21376 (WRDE_BADVAL): Expect.
21377
5ba924e3
JM
21378 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21379 expect.
21380 [XPG3 || XPG4] (O_RSYNC): Likewise.
21381 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21382 Likewise.
21383 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21384 [XPG3 || XPG4] (sigqueue): Likewise.
21385 [XPG3 || XPG4] (sigtimedwait): Likewise.
21386 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21387 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21388 [XPG3 || XPG4] (vsnprintf): Likewise.
21389 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21390 Likewise.
21391 [XPG3 || XPG4] (blksize_t): Likewise.
21392 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21393 Likewise.
21394 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21395 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21396 [XPG3 || XPG4] (struct itimerspec): Likewise.
21397 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21398 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21399 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21400 [XPG3 || XPG4] (clockid_t): Likewise.
21401 [XPG3 || XPG4] (timer_t): Likewise.
21402 [XPG3 || XPG4] (clock_getres): Likewise.
21403 [XPG3 || XPG4] (clock_gettime): Likewise.
21404 [XPG3 || XPG4] (clock_settime): Likewise.
21405 [XPG3 || XPG4] (nanosleep): Likewise.
21406 [XPG3 || XPG4] (timer_create): Likewise.
21407 [XPG3 || XPG4] (timer_delete): Likewise.
21408 [XPG3 || XPG4] (timer_gettime): Likewise.
21409 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21410 [XPG3 || XPG4] (timer_settime): Likewise.
21411 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21412 [XPG3 || XPG4] (getlogin_r): Likewise.
21413 [XPG3 || XPG4] (pread): Likewise.
21414 [XPG3 || XPG4] (pthread_atfork): Likewise.
21415 [XPG3 || XPG4] (pwrite): Likewise.
21416
ee663277
JM
21417 [BZ #14835]
21418 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21419 <bits/siginfo.h>.
21420
942caa16
PT
214212012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21422
e19af380
PT
21423 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21424 finalizing MALLSTREAM.
21425
942caa16
PT
21426 * sysdeps/mach/hurd/syncfs.c: New file.
21427
cfde9b46
SP
214282012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21429
21430 [BZ #14719]
21431 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21432 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21433 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21434 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21435 (_nss_dns_gethostbyname4_r): Likewise.
21436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21437 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21438
f6da27e5
PH
214392012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21440
21441 [BZ #13763]
21442 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21443
6665d4a2
SM
214442012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21445
1f51ee92
SM
21446 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21447 * elf/cache.c (print_entry): Print ",AArch64" for
21448 FLAG_AARCH64_LIB64
21449
6665d4a2
SM
21450 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21451 * elf/cache.c (print_entry): Print ",hard-float" for
21452 FLAG_ARM_LIBHF.
21453
05b227bd
DM
214542012-11-18 David S. Miller <davem@davemloft.net>
21455
21456 With help from Joseph Myers.
21457 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21458 cutoff to 2**-13.
21459 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21460 cutoff to 2**-25.
21461 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21462 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21463 small.
21464 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21465 * math/libm-test.inc (y0_test): New tests.
21466 (y1_test): New tests.
21467 * sysdeps/i386/fpu/libm-test-ulps: Update.
21468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21470
786b0b67
AS
214712012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21472
21473 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21474 64-bit targets.
21475 * configure: Regenerated.
21476
8e18b86d
DM
214772012-11-17 David S. Miller <davem@davemloft.net>
21478
21479 [BZ #14811]
21480 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21481 nonzero exponents with absolute value below 0x1p-128 to +/-
21482 0x1p-128.
21483
531f1ae0
JM
214842012-11-17 Joseph Myers <joseph@codesourcery.com>
21485
12df29e2
JM
21486 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21487
150dc1a0
JM
21488 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21489
531f1ae0
JM
21490 * posix/getconf-speclist.c: New file.
21491 * posix/posix-envs.def: Likewise.
21492 * posix/confstr.c (START_ENV_GROUP): New macro.
21493 (END_ENV_GROUP): Likewise.
21494 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21495 (KNOWN_PRESENT_ENV_STRING): Likewise.
21496 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21497 (UNKNOWN_ENVIRONMENT): Likewise.
21498 (confstr): Include posix-envs.def instead of handling
21499 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21500 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21501 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21502 (END_ENV_GROUP): Likewise.
21503 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21504 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21505 (UNKNOWN_ENVIRONMENT): Likewise.
21506 (__sysconf): Include posix-envs.def instead of handling associated
21507 cases directly here.
21508 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21509 preprocessing getconf-speclist.c rather than running getconf or
21510 generating empty file.
21511
a93f9cbc
PT
215122012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21513
21514 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21515
d64d9f87
AL
215162012-11-16 Andrej Lajovic <natrij@gmail.com>
21517
21518 [BZ #14672]
21519 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21520
447885eb
DM
215212012-11-16 David S. Miller <davem@davemloft.net>
21522
21523 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21524 smaller than LDBL_EPSILON/2.0L, just return xm1.
21525
bcbf9830
L
215262012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21527
21528 * elf/tst-array1.c (init): Set constructor priority to 1000.
21529 (fini): Set destructor priority to 1000.
21530 * elf/tst-array2dep.c: Likewise.
21531
2b766585
SP
215322012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21533
21534 [BZ #11741]
21535 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21536 (_IO_new_file_xsputn): Also return EOF if none of the input
21537 data was written when overflow failed.
21538 * libio/iopadn.c (_IO_padn): Likewise.
21539 * libio/iowpadn.c (_IO_wpadn): Likewise.
21540 * stdio-common/tst-put-error.c: Add copyright notice.
21541 (do_test): Add case for printing padded string.
21542 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21543 _IO_padn returned error.
21544 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21545 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21546 return EOF.
21547
b1848fde
SP
215482012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21549
21550 * libio/libioP.h: Add comment note that the references to C++
21551 bits are now obsolete.
21552
2fd89785
MS
215532012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21554
21555 * math/libm-test.inc (check_complex): Use asprintf.
21556
e3ea5409
JM
215572012-11-14 Joseph Myers <joseph@codesourcery.com>
21558
21559 * debug/pcprofiledump.c (print_version): Update copyright year.
21560 * malloc/memusagestat.c (print_version): Likewise.
21561
2e64d265
L
215622012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21563
21564 [BZ #14831]
21565 * elf/Makefile (tests): Add tst-audit8.
21566 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21567 ($(objpfx)tst-audit8.out): New target.
21568 (tst-audit8-ENV): New variable.
21569 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21570 audit if l_reloc_result is NULL.
21571 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21572 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21573 * elf/tst-audit8.c: New file.
21574
c485e4d2
MS
215752012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21576
21577 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21578 * misc/Makefile (CFLAGS-select.c): Define.
21579 * posix/Makefile (CFLAGS-pause.c): Define.
21580
3a0d900a
DM
215812012-11-13 David S. Miller <davem@davemloft.net>
21582
21583 * crypt/Makefile: Move test targets after toplevel Rules
21584 inclusion. Grab any necessary sysdep routines when linking.
21585 * crypt/md5.c (md5_process_block): Remove define, we will always
21586 name it __md5_process_block.
21587 (md5_finish_ctx): Update md5_process_block call.
21588 (md5_stream): Likewise.
21589 (md5_process_bytes): Likewise.
21590 (md5_process_block): Rename to __md5_process_block and move to ...
21591 * crypt/md5-block.c: ... here.
21592 * crypt/sha256.c (sha256_process_block): Move to ...
21593 * crypt/sha256-block.c: ... here.
21594 * crypt/sha512.c (sha512_process_block): Move to ...
21595 * crypt/sha512-block.c: ... here.
21596 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21597 path.
21598 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21599 * sysdeps/sparc/sparc64/multiarch/Makefile
21600 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21601 crypt subdir.
21602 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21603 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21604 multiarch changes.
21605 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21606 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21607 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21608 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21609 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21610 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21611 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21612 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21613 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21614 file.
21615 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21616 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21617 file.
21618 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21619
8ca89318
JM
216202012-11-13 Joseph Myers <joseph@codesourcery.com>
21621
e27d476a
JM
21622 * timezone/tzselect.ksh: Update from tzcode git revision
21623 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21624 * timezone/zdump.c: Likewise.
21625 * timezone/zic.c: Likewise.
21626 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21627 in TZVERSION setting, not $(PKGVERSION).
21628 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21629 REPORT_BUGS_TO settings.
21630
8ca89318
JM
21631 [BZ #14838]
21632 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21633 macro.
21634
47594329
MS
216352012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21636
21637 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21638 detection to immediately after _FP_ROUND().
21639 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21640 bits are 0.
21641
640ac3f1
DM
216422012-11-11 David S. Miller <davem@davemloft.net>
21643
21644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21645 inttypes.h
21646 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21647 __close rather than their public counterparts.
21648
3d2577bb
JM
216492012-11-10 Joseph Myers <joseph@codesourcery.com>
21650
21651 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21652 file.
21653 [UNIX98] (sem_timedwait): Do not expect.
21654 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21655 [XPG4 || UNIX98] (sockatmark): Do not expect.
21656 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21657 (clock_getcpuclockid): Do not expect.
21658 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21659 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21660 Do not expect.
21661 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21662 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21663 [UNIX98] (vwscanf): Likewise.
21664 [UNIX98] (vswscanf): Likewise.
21665
fb1ae1ee
JM
216662012-11-09 Joseph Myers <joseph@codesourcery.com>
21667
9ec6f8bd
JM
21668 * timezone/version.h: Remove file.
21669 * timezone/README: Do not refer to version.h.
21670 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21671 $(objpfx)version.h.
21672 ($(objpfx)zdump.o): Likewise.
c3f81911 21673 ($(objpfx)version.h): New target.
9ec6f8bd 21674
0aa8f8a1
JM
21675 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21676 2012i.
21677 * timezone/README: Don't mention modification to tzselect.ksh.
21678 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21679 work on unmodified tzselect.ksh. Substitute version numbers in
21680 tzselect.ksh.
21681
4e87147f
JM
21682 * Makefile (format-me): Remove.
21683 (INSTALL): Adjust indentation. Use commands directly instead of
21684 using $(format-me).
21685
8b748aed
JM
21686 * aclocal.m4 (ACX_PKGVERSION): New macro.
21687 (ACX_BUGURL): Likewise.
21688 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21689 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21690 (REPORT_BUGS_TO): Likewise.
21691 * configure: Regenerated.
21692 * config.h.in (PKGVERSION): New macro.
21693 (REPORT_BUGS_TO): Likewise.
21694 * config.make.in (PKGVERSION): New variable.
21695 (PKGVERSION_TEXI): Likewise.
21696 (REPORT_BUGS_TO): Likewise.
21697 (REPORT_BUGS_TEXI): Likewise.
21698 * Makefile (format-me): Use -I$(common-objpfx)manual.
21699 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21700 ($(common-objpfx)manual/%): New target.
21701 (manual/%): Remove target.
21702 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21703 (print_version): Use PKGVERSION.
21704 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21705 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21706 and REPORT_BUGS_TO.
21707 ($(objpfx)xtrace): Likewise.
21708 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21709 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21710 (print_version): Use PKGVERSION.
21711 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21712 (do_version): Use PKGVERSION.
21713 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21714 REPORT_BUGS_TO.
21715 (common-ldd-rewrite): Likewise.
21716 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21717 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21718 (print_version): Use PKGVERSION.
21719 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21720 * elf/pldd.c (argp_program_bug_address): Remove variable.
21721 (more_help): New function.
21722 (argp): Use more_help.
21723 (print_version): Use PKGVERSION.
21724 * elf/sln.c (main): Use PKGVERSION.
21725 (usage): Use REPORT_BUGS_TO.
21726 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21727 (top level): Use PKGVERSION.
21728 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21729 (print_version): Use PKGVERSION.
21730 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21731 (print_version): Use PKGVERSION.
21732 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21733 (print_version): Use PKGVERSION.
21734 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21735 (print_version): Use PKGVERSION.
21736 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21737 (print_version): Use PKGVERSION.
21738 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21739 (print_version): Use PKGVERSION.
21740 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21741 and BUGURL.
21742 ($(objpfx)memusage): Likewise.
21743 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21744 (do_version): Use PKGVERSION.
21745 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21746 (print_version): Use PKGVERSION.
21747 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21748 ($PKGVERSION): New variable.
21749 ($REPORT_BUGS_TO): Likewise.
21750 (usage): Use $REPORT_BUGS_TO.
21751 (top level): Use $PKGVERSION.
21752 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21753 ($(objpfx)pkgvers.texi): New rule.
21754 ($(objpfx)stamp-pkgvers): Likewise.
21755 * manual/install.texi: Include pkgvers.texi.
21756 (--with-pkgversion): Document new configure option.
21757 (--with-bugurl): Likewise.
21758 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21759 than necessarily for this particular distribution. Use
21760 REPORT_BUGS_TO for where to report bugs.
21761 * INSTALL: Regenerated.
21762 * manual/libc.texinfo: Include pkgvers.texi.
21763 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21764 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21765 (print_version): Use PKGVERSION.
21766 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21767 (print_version): Use PKGVERSION.
21768 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21769 (print_version): Use PKGVERSION.
21770 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21771 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21772 macro.
21773 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21774 (print_version): Use PKGVERSION.
21775 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21776 (print_version): Use PKGVERSION.
21777 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21778 and PKGVERSION.
21779
92e4b6a9
JM
21780 * timezone/checktab.awk: Update from tzcode 2012i.
21781 * timezone/ialloc.c: Likewise.
21782 * timezone/private.h: Likewise.
21783 * timezone/scheck.c: Likewise.
21784 * timezone/tzfile.h: Likewise.
21785 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21786 (TZVERSION): Hardcode tzcode version number.
21787 * timezone/zdump.c: Update from tzcode 2012i.
21788 * timezone/zic.c: Likewise.
21789 * timezone/version.h: New file.
21790 * timezone/README: Describe version.h. Update upstream location.
21791
9bde902c
JM
21792 [BZ #14824]
21793 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21794 (mktemp): Enable declaration.
21795 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21796 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21797 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21798 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21799 Likewise.
21800 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21801 Likewise.
21802 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21803 Likewise.
21804 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21805 Likewise.
21806 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21807 Likewise.
21808 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21809 Likewise.
21810
fb1ae1ee
JM
21811 [BZ #14821]
21812 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21813 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21814 for copies of such integer values.
21815 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21816 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21817
2c1adbcb
AJ
218182012-11-09 Andreas Jaeger <aj@suse.de>
21819
21820 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21821 definitions and declarations that are provided by
21822 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21823
d0f8457e
AK
218242012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21825
3a235abb 21826 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21827 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21828 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21829 definition.
21830
57241e26
MS
218312012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21832
21833 * elf/elf.h: Update comment before AArch64 relocations.
21834
60e8270d
DM
218352012-11-07 David S. Miller <davem@davemloft.net>
21836
21837 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21838 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21839 (__start_context): Declare.
21840 (__makecontext_ret): Delete.
21841 (__makecontext): Hook up __start_context instead of
21842 __makecontext_ret.
21843 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21844 (sysdep_routines): Add __start_context when in stdlib.
21845
0fbb0fbc
JM
218462012-11-07 Joseph Myers <joseph@codesourcery.com>
21847
21848 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21849 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21850 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21851 hardcoded "nm".
21852 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21853 (READELF): New variable. Use it instead of hardcoded "readelf".
21854
eb48db7e
L
218552012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21856
21857 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21858 * sysdeps/x86/Makefile: Here.
21859 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21860 * sysdeps/x86/tst-xmmymm.sh: This.
21861
05bcf62a
JM
218622012-11-07 Joseph Myers <joseph@codesourcery.com>
21863
c4b6cf53
JM
21864 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21865 expectations.
21866 [UNIX98] (pthread_barrier_t): Do not expect.
21867 [UNIX98] (pthread_barrierattr_t): Likewise.
21868 [UNIX98] (pthread_spinlock_t): Likewise.
21869 [UNIX98] (pthread_barrier_destroy): Likewise.
21870 [UNIX98] (pthread_barrier_init): Likewise.
21871 [UNIX98] (pthread_barrier_wait): Likewise.
21872 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21873 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21874 [UNIX98] (pthread_barrierattr_init): Likewise.
21875 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21876 [UNIX98] (pthread_getcpuclockid): Likewise.
21877 [UNIX98] (pthread_mutex_timedlock): Likewise.
21878 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21879 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21880 [UNIX98] (pthread_sigmask): Likewise.
21881 [UNIX98] (pthread_spin_destroy): Likewise.
21882 [UNIX98] (pthread_spin_init): Likewise.
21883 [UNIX98] (pthread_spin_lock): Likewise.
21884 [UNIX98] (pthread_spin_trylock): Likewise.
21885 [UNIX98] (pthread_spin_unlock): Likewise.
21886 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21887 Do not expect.
21888 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21889 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21890 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21891 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21892 [XPG3 || XPG4] (pthread_key_t): Likewise.
21893 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21894 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21895 [XPG3 || XPG4] (pthread_once_t): Likewise.
21896 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21897 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21898 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21899 [XPG3 || XPG4] (pthread_t): Likewise.
21900
cbe6e120
JM
21901 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21902 not expect.
21903 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21904
1b126443
JM
21905 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21906 Change function return type to int.
21907
b961a573
JM
21908 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21909 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21910 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21911 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21912 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21913 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21914 [!POSIX] (posix_madvise): Likewise.
21915 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21916 && !UNIX98].
21917 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21918 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21919 (mode_t): Likewise.
21920 (posix_mem_offset): Likewise.
21921 (posix_typed_mem_get_info): Likewise.
21922 (posix_typed_mem_open): Likewise.
21923
9e188909
JM
21924 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21925 Change condition to [XOPEN2K8].
21926
05bcf62a
JM
21927 * conform/conformtest.pl: Preprocess allow-header data with -x c
21928 instead of from stdin.
21929 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21930 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21931 [C99-based standards] (cerfc): Likewise.
21932 [C99-based standards] (cexp2): Likewise.
21933 [C99-based standards] (cexpm1): Likewise.
21934 [C99-based standards] (clog10): Likewise.
21935 [C99-based standards] (clog1p): Likewise.
21936 [C99-based standards] (clog2): Likewise.
21937 [C99-based standards] (clgamma): Likewise.
21938 [C99-based standards] (ctgamma): Likewise.
21939 [C99-based standards] (cerff): Likewise.
21940 [C99-based standards] (cerfcf): Likewise.
21941 [C99-based standards] (cexp2f): Likewise.
21942 [C99-based standards] (cexpm1f): Likewise.
21943 [C99-based standards] (clog10f): Likewise.
21944 [C99-based standards] (clog1pf): Likewise.
21945 [C99-based standards] (clog2f): Likewise.
21946 [C99-based standards] (clgammaf): Likewise.
21947 [C99-based standards] (ctgammaf): Likewise.
21948 [C99-based standards] (cerfl): Likewise.
21949 [C99-based standards] (cerfcl): Likewise.
21950 [C99-based standards] (cexp2l): Likewise.
21951 [C99-based standards] (cexpm1l): Likewise.
21952 [C99-based standards] (clog10l): Likewise.
21953 [C99-based standards] (clog1pl): Likewise.
21954 [C99-based standards] (clog2l): Likewise.
21955 [C99-based standards] (clgammal): Likewise.
21956 [C99-based standards] (ctgammal): Likewise.
21957 * conform/data/inttypes.h-data [C99-based standards]: Include
21958 stdint.h-data. Remove all expectations for stdint.h contents.
21959 [C99-based standards] (PRI*): Do not allow.
21960 [C99-based standards] (SCN*): Likewise.
21961 [C99-based standards] (*_t): Likewise.
21962 [C99-based-standards] (PRId8): Expect macro.
21963 [C99-based-standards] (PRIi8): Likewise.
21964 [C99-based-standards] (PRIo8): Likewise.
21965 [C99-based-standards] (PRIu8): Likewise.
21966 [C99-based-standards] (PRIx8): Likewise.
21967 [C99-based-standards] (PRIX8): Likewise.
21968 [C99-based-standards] (SCNd8): Likewise.
21969 [C99-based-standards] (SCNi8): Likewise.
21970 [C99-based-standards] (SCNo8): Likewise.
21971 [C99-based-standards] (SCNu8): Likewise.
21972 [C99-based-standards] (SCNx8): Likewise.
21973 [C99-based-standards] (PRIdLEAST8): Likewise.
21974 [C99-based-standards] (PRIiLEAST8): Likewise.
21975 [C99-based-standards] (PRIoLEAST8): Likewise.
21976 [C99-based-standards] (PRIuLEAST8): Likewise.
21977 [C99-based-standards] (PRIxLEAST8): Likewise.
21978 [C99-based-standards] (PRIXLEAST8): Likewise.
21979 [C99-based-standards] (SCNdLEAST8): Likewise.
21980 [C99-based-standards] (SCNiLEAST8): Likewise.
21981 [C99-based-standards] (SCNoLEAST8): Likewise.
21982 [C99-based-standards] (SCNuLEAST8): Likewise.
21983 [C99-based-standards] (SCNxLEAST8): Likewise.
21984 [C99-based-standards] (PRIdFAST8): Likewise.
21985 [C99-based-standards] (PRIiFAST8): Likewise.
21986 [C99-based-standards] (PRIoFAST8): Likewise.
21987 [C99-based-standards] (PRIuFAST8): Likewise.
21988 [C99-based-standards] (PRIxFAST8): Likewise.
21989 [C99-based-standards] (PRIXFAST8): Likewise.
21990 [C99-based-standards] (SCNdFAST8): Likewise.
21991 [C99-based-standards] (SCNiFAST8): Likewise.
21992 [C99-based-standards] (SCNoFAST8): Likewise.
21993 [C99-based-standards] (SCNuFAST8): Likewise.
21994 [C99-based-standards] (SCNxFAST8): Likewise.
21995 [C99-based-standards] (PRId16): Likewise.
21996 [C99-based-standards] (PRIi16): Likewise.
21997 [C99-based-standards] (PRIo16): Likewise.
21998 [C99-based-standards] (PRIu16): Likewise.
21999 [C99-based-standards] (PRIx16): Likewise.
22000 [C99-based-standards] (PRIX16): Likewise.
22001 [C99-based-standards] (SCNd16): Likewise.
22002 [C99-based-standards] (SCNi16): Likewise.
22003 [C99-based-standards] (SCNo16): Likewise.
22004 [C99-based-standards] (SCNu16): Likewise.
22005 [C99-based-standards] (SCNx16): Likewise.
22006 [C99-based-standards] (PRIdLEAST16): Likewise.
22007 [C99-based-standards] (PRIiLEAST16): Likewise.
22008 [C99-based-standards] (PRIoLEAST16): Likewise.
22009 [C99-based-standards] (PRIuLEAST16): Likewise.
22010 [C99-based-standards] (PRIxLEAST16): Likewise.
22011 [C99-based-standards] (PRIXLEAST16): Likewise.
22012 [C99-based-standards] (SCNdLEAST16): Likewise.
22013 [C99-based-standards] (SCNiLEAST16): Likewise.
22014 [C99-based-standards] (SCNoLEAST16): Likewise.
22015 [C99-based-standards] (SCNuLEAST16): Likewise.
22016 [C99-based-standards] (SCNxLEAST16): Likewise.
22017 [C99-based-standards] (PRIdFAST16): Likewise.
22018 [C99-based-standards] (PRIiFAST16): Likewise.
22019 [C99-based-standards] (PRIoFAST16): Likewise.
22020 [C99-based-standards] (PRIuFAST16): Likewise.
22021 [C99-based-standards] (PRIxFAST16): Likewise.
22022 [C99-based-standards] (PRIXFAST16): Likewise.
22023 [C99-based-standards] (SCNdFAST16): Likewise.
22024 [C99-based-standards] (SCNiFAST16): Likewise.
22025 [C99-based-standards] (SCNoFAST16): Likewise.
22026 [C99-based-standards] (SCNuFAST16): Likewise.
22027 [C99-based-standards] (SCNxFAST16): Likewise.
22028 [C99-based-standards] (PRId32): Likewise.
22029 [C99-based-standards] (PRIi32): Likewise.
22030 [C99-based-standards] (PRIo32): Likewise.
22031 [C99-based-standards] (PRIu32): Likewise.
22032 [C99-based-standards] (PRIx32): Likewise.
22033 [C99-based-standards] (PRIX32): Likewise.
22034 [C99-based-standards] (SCNd32): Likewise.
22035 [C99-based-standards] (SCNi32): Likewise.
22036 [C99-based-standards] (SCNo32): Likewise.
22037 [C99-based-standards] (SCNu32): Likewise.
22038 [C99-based-standards] (SCNx32): Likewise.
22039 [C99-based-standards] (PRIdLEAST32): Likewise.
22040 [C99-based-standards] (PRIiLEAST32): Likewise.
22041 [C99-based-standards] (PRIoLEAST32): Likewise.
22042 [C99-based-standards] (PRIuLEAST32): Likewise.
22043 [C99-based-standards] (PRIxLEAST32): Likewise.
22044 [C99-based-standards] (PRIXLEAST32): Likewise.
22045 [C99-based-standards] (SCNdLEAST32): Likewise.
22046 [C99-based-standards] (SCNiLEAST32): Likewise.
22047 [C99-based-standards] (SCNoLEAST32): Likewise.
22048 [C99-based-standards] (SCNuLEAST32): Likewise.
22049 [C99-based-standards] (SCNxLEAST32): Likewise.
22050 [C99-based-standards] (PRIdFAST32): Likewise.
22051 [C99-based-standards] (PRIiFAST32): Likewise.
22052 [C99-based-standards] (PRIoFAST32): Likewise.
22053 [C99-based-standards] (PRIuFAST32): Likewise.
22054 [C99-based-standards] (PRIxFAST32): Likewise.
22055 [C99-based-standards] (PRIXFAST32): Likewise.
22056 [C99-based-standards] (SCNdFAST32): Likewise.
22057 [C99-based-standards] (SCNiFAST32): Likewise.
22058 [C99-based-standards] (SCNoFAST32): Likewise.
22059 [C99-based-standards] (SCNuFAST32): Likewise.
22060 [C99-based-standards] (SCNxFAST32): Likewise.
22061 [C99-based-standards] (PRId64): Likewise.
22062 [C99-based-standards] (PRIi64): Likewise.
22063 [C99-based-standards] (PRIo64): Likewise.
22064 [C99-based-standards] (PRIu64): Likewise.
22065 [C99-based-standards] (PRIx64): Likewise.
22066 [C99-based-standards] (PRIX64): Likewise.
22067 [C99-based-standards] (SCNd64): Likewise.
22068 [C99-based-standards] (SCNi64): Likewise.
22069 [C99-based-standards] (SCNo64): Likewise.
22070 [C99-based-standards] (SCNu64): Likewise.
22071 [C99-based-standards] (SCNx64): Likewise.
22072 [C99-based-standards] (PRIdLEAST64): Likewise.
22073 [C99-based-standards] (PRIiLEAST64): Likewise.
22074 [C99-based-standards] (PRIoLEAST64): Likewise.
22075 [C99-based-standards] (PRIuLEAST64): Likewise.
22076 [C99-based-standards] (PRIxLEAST64): Likewise.
22077 [C99-based-standards] (PRIXLEAST64): Likewise.
22078 [C99-based-standards] (SCNdLEAST64): Likewise.
22079 [C99-based-standards] (SCNiLEAST64): Likewise.
22080 [C99-based-standards] (SCNoLEAST64): Likewise.
22081 [C99-based-standards] (SCNuLEAST64): Likewise.
22082 [C99-based-standards] (SCNxLEAST64): Likewise.
22083 [C99-based-standards] (PRIdFAST64): Likewise.
22084 [C99-based-standards] (PRIiFAST64): Likewise.
22085 [C99-based-standards] (PRIoFAST64): Likewise.
22086 [C99-based-standards] (PRIuFAST64): Likewise.
22087 [C99-based-standards] (PRIxFAST64): Likewise.
22088 [C99-based-standards] (PRIXFAST64): Likewise.
22089 [C99-based-standards] (SCNdFAST64): Likewise.
22090 [C99-based-standards] (SCNiFAST64): Likewise.
22091 [C99-based-standards] (SCNoFAST64): Likewise.
22092 [C99-based-standards] (SCNuFAST64): Likewise.
22093 [C99-based-standards] (SCNxFAST64): Likewise.
22094 [C99-based-standards] (PRIdMAX): Likewise.
22095 [C99-based-standards] (PRIiMAX): Likewise.
22096 [C99-based-standards] (PRIoMAX): Likewise.
22097 [C99-based-standards] (PRIuMAX): Likewise.
22098 [C99-based-standards] (PRIxMAX): Likewise.
22099 [C99-based-standards] (PRIXMAX): Likewise.
22100 [C99-based-standards] (SCNdMAX): Likewise.
22101 [C99-based-standards] (SCNiMAX): Likewise.
22102 [C99-based-standards] (SCNoMAX): Likewise.
22103 [C99-based-standards] (SCNuMAX): Likewise.
22104 [C99-based-standards] (SCNxMAX): Likewise.
22105 [C99-based-standards] (PRIdPTR): Likewise.
22106 [C99-based-standards] (PRIiPTR): Likewise.
22107 [C99-based-standards] (PRIoPTR): Likewise.
22108 [C99-based-standards] (PRIuPTR): Likewise.
22109 [C99-based-standards] (PRIxPTR): Likewise.
22110 [C99-based-standards] (PRIXPTR): Likewise.
22111 [C99-based-standards] (SCNdPTR): Likewise.
22112 [C99-based-standards] (SCNiPTR): Likewise.
22113 [C99-based-standards] (SCNoPTR): Likewise.
22114 [C99-based-standards] (SCNuPTR): Likewise.
22115 [C99-based-standards] (SCNxPTR): Likewise.
22116 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22117 allow.
22118 * conform/data/stdint.h-data: Update comments to clarify
22119 requirements.
22120 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22121 type.
22122 [C99-based standards] (INT8_MAX): Likewise.
22123 [C99-based standards] (INT16_MIN): Likewise.
22124 [C99-based standards] (INT16_MAX): Likewise.
22125 [C99-based standards] (INT32_MIN): Likewise.
22126 [C99-based standards] (INT32_MAX): Likewise.
22127 [C99-based standards] (INT64_MIN): Likewise.
22128 [C99-based standards] (INT64_MAX): Likewise.
22129 [C99-based standards] (UINT8_MAX): Likewise.
22130 [C99-based standards] (UINT16_MAX): Likewise.
22131 [C99-based standards] (UINT32_MAX): Likewise.
22132 [C99-based standards] (UINT64_MAX): Likewise.
22133 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22134 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22135 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22136 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22137 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22138 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22139 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22140 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22141 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22142 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22143 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22144 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22145 [C99-based standards] (INT_FAST8_MIN): Likewise.
22146 [C99-based standards] (INT_FAST8_MAX): Likewise.
22147 [C99-based standards] (INT_FAST16_MIN): Likewise.
22148 [C99-based standards] (INT_FAST16_MAX): Likewise.
22149 [C99-based standards] (INT_FAST32_MIN): Likewise.
22150 [C99-based standards] (INT_FAST32_MAX): Likewise.
22151 [C99-based standards] (INT_FAST64_MIN): Likewise.
22152 [C99-based standards] (INT_FAST64_MAX): Likewise.
22153 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22154 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22155 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22156 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22157 [C99-based standards] (INTPTR_MIN): Likewise.
22158 [C99-based standards] (INTPTR_MAX): Likewise.
22159 [C99-based standards] (UINTPTR_MAX): Likewise.
22160 [C99-based standards] (INTMAX_MIN): Likewise.
22161 [C99-based standards] (INTMAX_MAX): Likewise.
22162 [C99-based standards] (UINTMAX_MAX): Likewise.
22163 [C99-based standards] (PTRDIFF_MIN): Likewise.
22164 [C99-based standards] (PTRDIFF_MAX): Likewise.
22165 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22166 [C99-based standards] (SIZE_MAX): Likewise.
22167 [C99-based standards] (WCHAR_MAX): Likewise.
22168 [C99-based standards] (WINT_MAX): Likewise.
22169 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22170 constraint on value.
22171 [C99-based standards] (WCHAR_MIN): Likewise.
22172 [C99-based standards] (WINT_MIN): Likewise.
22173 [C99-based standards] (*_t): Allow.
22174 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22175 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22176 Include math.h-data and complex.h-data. Remove all expectations
22177 of math.h and complex.h contents.
22178 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22179 at end of line.
22180 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22181 (struct tm): Expect tag.
22182 [C99-based-standards] (wcstof): Expect function.
22183 [C99-based-standards] (wcstold): Likewise.
22184 [C99-based-standards] (wcstoll): Likewise.
22185 [C99-based-standards] (wcstoull): Likewise.
22186 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22187 macro-int-constant. Specify type.
22188 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22189 constraint on value.
22190 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22191 Specify type.
22192 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22193 Specify value.
22194 [ISO C standards]: Do not allow headers.
22195 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22196 wcs[abcdefghijklmnopqrstuvwxyz]*.
22197 [ISO C standards] (*_t): Do not allow.
22198 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22199 Expect function.
22200 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22201 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22202 Specify type.
22203 [ISO C standards]: Do not allow headers.
22204 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22205 is[abcdefghijklmnopqrstuvwxyz]*.
22206 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22207 to[abcdefghijklmnopqrstuvwxyz]*.
22208 [ISO C standards] (*_t): Do not allow.
22209 * conform/data/stdalign.h-data: New file.
22210 * conform/data/stdbool.h-data: Likewise.
22211 * conform/data/stdnoreturn.h-data: Likewise.
22212
7514feb8
RM
222132012-11-07 Roland McGrath <roland@hack.frob.com>
22214
22215 [BZ #14815]
22216 * manual/filesys.texi (Directory Entries): Typo fix.
22217 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22218
19b2ecfc
MS
222192012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22220
22221 * elf/elf.h (EM_AARCH64): New macro.
22222 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22223 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22224 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22225 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22226 (R_AARCH64_TLSDESC): Likewise.
22227 (NT_ARM_TLS): Likewise.
22228 (NT_ARM_HW_BREAK): Likewise.
22229 (NT_ARM_HW_WATCH): Likewise.
22230
60e235ee
JM
222312012-11-07 Joseph Myers <joseph@codesourcery.com>
22232
22233 [BZ #14811]
22234 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22235 (__ieee754_powl): Saturate nonzero exponents with absolute value
22236 below 0x1p-79 to +/- 0x1p-79.
22237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22238 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22239 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22240 nonzero exponents with absolute value below 0x1p-32 to +/-
22241 0x1p-32.
22242 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22243 (__ieee754_powl): Saturate nonzero exponents with absolute value
22244 below 0x1p-79 to +/- 0x1p-79.
22245 * math/libm-test.inc (pow_test): Add more tests.
22246
0ab234b7
AK
222472012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22248
22249 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22250 _dl_s390_cap_flags with kernel. Increase string length.
22251 (_dl_s390_platforms): Add z196 and zEC12.
22252
45832f74
JM
222532012-11-07 Joseph Myers <joseph@codesourcery.com>
22254
22255 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22256 Change XOPEN21K to XOPEN2K.
22257
19218757
MK
222582012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22259
22260 * string/memmove.c: Use memcpy when possible.
22261
c5f45721
AJ
222622012-11-06 Andreas Jaeger <aj@suse.de>
22263
22264 * po/eo.po: Update from translation team.
22265
82477c28
JM
222662012-11-06 Joseph Myers <joseph@codesourcery.com>
22267
22268 [BZ #14793]
22269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22270 exponent and small x and y exponents, scale x or y up. Increase
22271 by 2 the exponent used in scaling up.
22272 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22273 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22274 * math/libm-test.inc (fma_test): Add more tests.
22275 (fma_test_towardzero): Likewise.
22276 (fma_test_downward): Likewise.
22277 (fma_test_upward): Likewise.
22278
99252c8c
JM
222792012-11-05 Joseph Myers <joseph@codesourcery.com>
22280
acfa885f
JM
22281 [BZ #14805]
22282 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22283 fenv_t *.
22284
99252c8c
JM
22285 [BZ #14801]
22286 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22287 namespace for names of struct fields.
22288 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22289 fenv_t fields.
22290 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22291 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22292
d6d98dea
ST
222932012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22294
22295 [BZ #3665]
22296 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22297
e10bb107
TS
222982012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22299
22300 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22301 PTR_DEMANGLE.
22302
22303 [BZ #5246]
22304 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22305 PTR_DEMANGLE.
22306
a0c2940d
JM
223072012-11-04 Joseph Myers <joseph@codesourcery.com>
22308
22309 [BZ #14797]
22310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22311 definitely overflow as x * y not x * y + z.
22312 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22313 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22314 * math/libm-test.inc (fma_test): Add more tests.
22315 (fma_test_towardzero): Likewise.
22316 (fma_test_downward): Likewise.
22317 (fma_test_upward): Likewise.
22318
b830319d
TS
223192012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22320
22321 [BZ #157]
22322
22323 * include/stub-tag.h: Remove file.
22324 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22325 '#include' of it.
22326 * manual/maint.texi (Porting): Don't reference it.
22327 * Makerules ($(objpfx)stubs): Likewise.
22328 * dirent/closedir.c: Don't include <stub-tag.h>.
22329 * dirent/dirfd.c: Likewise.
22330 * dirent/fdopendir.c: Likewise.
22331 * dirent/getdents.c: Likewise.
22332 * dirent/getdents64.c: Likewise.
22333 * dirent/opendir.c: Likewise.
22334 * dirent/readdir.c: Likewise.
22335 * dirent/readdir64.c: Likewise.
22336 * dirent/readdir64_r.c: Likewise.
22337 * dirent/readdir_r.c: Likewise.
22338 * dirent/rewinddir.c: Likewise.
22339 * dirent/seekdir.c: Likewise.
22340 * dirent/telldir.c: Likewise.
22341 * gmon/profil.c: Likewise.
22342 * grp/setgroups.c: Likewise.
22343 * inet/if_index.c: Likewise.
22344 * io/access.c: Likewise.
22345 * io/chdir.c: Likewise.
22346 * io/chmod.c: Likewise.
22347 * io/chown.c: Likewise.
22348 * io/close.c: Likewise.
22349 * io/dup.c: Likewise.
22350 * io/dup2.c: Likewise.
22351 * io/dup3.c: Likewise.
22352 * io/euidaccess.c: Likewise.
22353 * io/faccessat.c: Likewise.
22354 * io/fchdir.c: Likewise.
22355 * io/fchmod.c: Likewise.
22356 * io/fchmodat.c: Likewise.
22357 * io/fchown.c: Likewise.
22358 * io/fchownat.c: Likewise.
22359 * io/fcntl.c: Likewise.
22360 * io/flock.c: Likewise.
22361 * io/fstatfs.c: Likewise.
22362 * io/fstatfs64.c: Likewise.
22363 * io/fstatvfs.c: Likewise.
22364 * io/fstatvfs64.c: Likewise.
22365 * io/futimens.c: Likewise.
22366 * io/fxstat.c: Likewise.
22367 * io/fxstat64.c: Likewise.
22368 * io/fxstatat.c: Likewise.
22369 * io/fxstatat64.c: Likewise.
22370 * io/getcwd.c: Likewise.
22371 * io/isatty.c: Likewise.
22372 * io/lchmod.c: Likewise.
22373 * io/lchown.c: Likewise.
22374 * io/link.c: Likewise.
22375 * io/linkat.c: Likewise.
22376 * io/lseek.c: Likewise.
22377 * io/lseek64.c: Likewise.
22378 * io/lxstat64.c: Likewise.
22379 * io/mkdir.c: Likewise.
22380 * io/mkdirat.c: Likewise.
22381 * io/mkfifo.c: Likewise.
22382 * io/mkfifoat.c: Likewise.
22383 * io/open.c: Likewise.
22384 * io/open64.c: Likewise.
22385 * io/openat.c: Likewise.
22386 * io/openat64.c: Likewise.
22387 * io/pipe.c: Likewise.
22388 * io/pipe2.c: Likewise.
22389 * io/poll.c: Likewise.
22390 * io/posix_fadvise.c: Likewise.
22391 * io/posix_fadvise64.c: Likewise.
22392 * io/posix_fallocate.c: Likewise.
22393 * io/posix_fallocate64.c: Likewise.
22394 * io/read.c: Likewise.
22395 * io/readlink.c: Likewise.
22396 * io/readlinkat.c: Likewise.
22397 * io/rmdir.c: Likewise.
22398 * io/sendfile.c: Likewise.
22399 * io/sendfile64.c: Likewise.
22400 * io/statfs.c: Likewise.
22401 * io/statfs64.c: Likewise.
22402 * io/statvfs.c: Likewise.
22403 * io/statvfs64.c: Likewise.
22404 * io/symlink.c: Likewise.
22405 * io/symlinkat.c: Likewise.
22406 * io/ttyname.c: Likewise.
22407 * io/ttyname_r.c: Likewise.
22408 * io/umask.c: Likewise.
22409 * io/unlink.c: Likewise.
22410 * io/unlinkat.c: Likewise.
22411 * io/utime.c: Likewise.
22412 * io/utimensat.c: Likewise.
22413 * io/write.c: Likewise.
22414 * io/xmknod.c: Likewise.
22415 * io/xmknodat.c: Likewise.
22416 * io/xstat.c: Likewise.
22417 * io/xstat64.c: Likewise.
22418 * login/getpt.c: Likewise.
22419 * login/grantpt.c: Likewise.
22420 * login/unlockpt.c: Likewise.
22421 * math/e_acoshl.c: Likewise.
22422 * math/e_acosl.c: Likewise.
22423 * math/e_asinl.c: Likewise.
22424 * math/e_atan2l.c: Likewise.
22425 * math/e_atanhl.c: Likewise.
22426 * math/e_coshl.c: Likewise.
22427 * math/e_expl.c: Likewise.
22428 * math/e_fmodl.c: Likewise.
22429 * math/e_gammal_r.c: Likewise.
22430 * math/e_hypotl.c: Likewise.
22431 * math/e_j0l.c: Likewise.
22432 * math/e_j1l.c: Likewise.
22433 * math/e_jnl.c: Likewise.
22434 * math/e_lgammal_r.c: Likewise.
22435 * math/e_log10l.c: Likewise.
22436 * math/e_log2l.c: Likewise.
22437 * math/e_logl.c: Likewise.
22438 * math/e_powl.c: Likewise.
22439 * math/e_rem_pio2l.c: Likewise.
22440 * math/e_sinhl.c: Likewise.
22441 * math/e_sqrtl.c: Likewise.
22442 * math/fclrexcpt.c: Likewise.
22443 * math/fedisblxcpt.c: Likewise.
22444 * math/feenablxcpt.c: Likewise.
22445 * math/fegetenv.c: Likewise.
22446 * math/fegetexcept.c: Likewise.
22447 * math/fegetround.c: Likewise.
22448 * math/feholdexcpt.c: Likewise.
22449 * math/fesetenv.c: Likewise.
22450 * math/fesetround.c: Likewise.
22451 * math/feupdateenv.c: Likewise.
22452 * math/fgetexcptflg.c: Likewise.
22453 * math/fraiseexcpt.c: Likewise.
22454 * math/fsetexcptflg.c: Likewise.
22455 * math/ftestexcept.c: Likewise.
22456 * math/k_cosl.c: Likewise.
22457 * math/k_rem_pio2l.c: Likewise.
22458 * math/k_sinl.c: Likewise.
22459 * math/k_tanl.c: Likewise.
22460 * math/s_asinhl.c: Likewise.
22461 * math/s_atanl.c: Likewise.
22462 * math/s_cbrtl.c: Likewise.
22463 * math/s_erfl.c: Likewise.
22464 * math/s_expm1l.c: Likewise.
22465 * math/s_log1pl.c: Likewise.
22466 * math/s_tanhl.c: Likewise.
22467 * misc/acct.c: Likewise.
22468 * misc/brk.c: Likewise.
22469 * misc/chflags.c: Likewise.
22470 * misc/chroot.c: Likewise.
22471 * misc/fchflags.c: Likewise.
22472 * misc/fgetxattr.c: Likewise.
22473 * misc/flistxattr.c: Likewise.
22474 * misc/fremovexattr.c: Likewise.
22475 * misc/fsetxattr.c: Likewise.
22476 * misc/fsync.c: Likewise.
22477 * misc/ftruncate.c: Likewise.
22478 * misc/futimes.c: Likewise.
22479 * misc/futimesat.c: Likewise.
22480 * misc/getdomain.c: Likewise.
22481 * misc/getdtsz.c: Likewise.
22482 * misc/gethostid.c: Likewise.
22483 * misc/gethostname.c: Likewise.
22484 * misc/getloadavg.c: Likewise.
22485 * misc/getpagesize.c: Likewise.
22486 * misc/getsysstats.c: Likewise.
22487 * misc/getxattr.c: Likewise.
22488 * misc/gtty.c: Likewise.
22489 * misc/ioctl.c: Likewise.
22490 * misc/lgetxattr.c: Likewise.
22491 * misc/listxattr.c: Likewise.
22492 * misc/llistxattr.c: Likewise.
22493 * misc/lremovexattr.c: Likewise.
22494 * misc/lsetxattr.c: Likewise.
22495 * misc/lutimes.c: Likewise.
22496 * misc/madvise.c: Likewise.
22497 * misc/mincore.c: Likewise.
22498 * misc/mlock.c: Likewise.
22499 * misc/mlockall.c: Likewise.
22500 * misc/mmap.c: Likewise.
22501 * misc/mprotect.c: Likewise.
22502 * misc/msync.c: Likewise.
22503 * misc/munlock.c: Likewise.
22504 * misc/munlockall.c: Likewise.
22505 * misc/munmap.c: Likewise.
22506 * misc/preadv.c: Likewise.
22507 * misc/preadv64.c: Likewise.
22508 * misc/ptrace.c: Likewise.
22509 * misc/pwritev.c: Likewise.
22510 * misc/pwritev64.c: Likewise.
22511 * misc/readv.c: Likewise.
22512 * misc/reboot.c: Likewise.
22513 * misc/remap_file_pages.c: Likewise.
22514 * misc/removexattr.c: Likewise.
22515 * misc/revoke.c: Likewise.
22516 * misc/select.c: Likewise.
22517 * misc/setdomain.c: Likewise.
22518 * misc/setegid.c: Likewise.
22519 * misc/seteuid.c: Likewise.
22520 * misc/sethostid.c: Likewise.
22521 * misc/sethostname.c: Likewise.
22522 * misc/setregid.c: Likewise.
22523 * misc/setreuid.c: Likewise.
22524 * misc/setxattr.c: Likewise.
22525 * misc/sstk.c: Likewise.
22526 * misc/stty.c: Likewise.
22527 * misc/swapoff.c: Likewise.
22528 * misc/swapon.c: Likewise.
22529 * misc/sync.c: Likewise.
22530 * misc/syncfs.c: Likewise.
22531 * misc/syscall.c: Likewise.
22532 * misc/truncate.c: Likewise.
22533 * misc/ualarm.c: Likewise.
22534 * misc/usleep.c: Likewise.
22535 * misc/ustat.c: Likewise.
22536 * misc/utimes.c: Likewise.
22537 * misc/vhangup.c: Likewise.
22538 * misc/writev.c: Likewise.
22539 * posix/_exit.c: Likewise.
22540 * posix/alarm.c: Likewise.
22541 * posix/execve.c: Likewise.
22542 * posix/fexecve.c: Likewise.
22543 * posix/fork.c: Likewise.
22544 * posix/fpathconf.c: Likewise.
22545 * posix/getaddrinfo.c: Likewise.
22546 * posix/getegid.c: Likewise.
22547 * posix/geteuid.c: Likewise.
22548 * posix/getgid.c: Likewise.
22549 * posix/getgroups.c: Likewise.
22550 * posix/getlogin.c: Likewise.
22551 * posix/getlogin_r.c: Likewise.
22552 * posix/getpgid.c: Likewise.
22553 * posix/getpid.c: Likewise.
22554 * posix/getppid.c: Likewise.
22555 * posix/getresgid.c: Likewise.
22556 * posix/getresuid.c: Likewise.
22557 * posix/getsid.c: Likewise.
22558 * posix/getuid.c: Likewise.
22559 * posix/glob64.c: Likewise.
22560 * posix/nanosleep.c: Likewise.
22561 * posix/pathconf.c: Likewise.
22562 * posix/pause.c: Likewise.
22563 * posix/posix_madvise.c: Likewise.
22564 * posix/pread.c: Likewise.
22565 * posix/pread64.c: Likewise.
22566 * posix/pwrite.c: Likewise.
22567 * posix/pwrite64.c: Likewise.
22568 * posix/sched_getaffinity.c: Likewise.
22569 * posix/sched_getp.c: Likewise.
22570 * posix/sched_gets.c: Likewise.
22571 * posix/sched_primax.c: Likewise.
22572 * posix/sched_primin.c: Likewise.
22573 * posix/sched_rr_gi.c: Likewise.
22574 * posix/sched_setaffinity.c: Likewise.
22575 * posix/sched_setp.c: Likewise.
22576 * posix/sched_sets.c: Likewise.
22577 * posix/sched_yield.c: Likewise.
22578 * posix/setgid.c: Likewise.
22579 * posix/setlogin.c: Likewise.
22580 * posix/setpgid.c: Likewise.
22581 * posix/setresgid.c: Likewise.
22582 * posix/setresuid.c: Likewise.
22583 * posix/setsid.c: Likewise.
22584 * posix/setuid.c: Likewise.
22585 * posix/sleep.c: Likewise.
22586 * posix/spawni.c: Likewise.
22587 * posix/sysconf.c: Likewise.
22588 * posix/times.c: Likewise.
22589 * posix/wait.c: Likewise.
22590 * posix/wait3.c: Likewise.
22591 * posix/wait4.c: Likewise.
22592 * posix/waitpid.c: Likewise.
22593 * resolv/gai_sigqueue.c: Likewise.
22594 * resource/getpriority.c: Likewise.
22595 * resource/getrlimit.c: Likewise.
22596 * resource/getrusage.c: Likewise.
22597 * resource/nice.c: Likewise.
22598 * resource/setpriority.c: Likewise.
22599 * resource/setrlimit.c: Likewise.
22600 * resource/ulimit.c: Likewise.
22601 * rt/aio_cancel.c: Likewise.
22602 * rt/aio_fsync.c: Likewise.
22603 * rt/aio_read.c: Likewise.
22604 * rt/aio_sigqueue.c: Likewise.
22605 * rt/aio_suspend.c: Likewise.
22606 * rt/aio_write.c: Likewise.
22607 * rt/clock_getres.c: Likewise.
22608 * rt/clock_gettime.c: Likewise.
22609 * rt/clock_nanosleep.c: Likewise.
22610 * rt/clock_settime.c: Likewise.
22611 * rt/lio_listio.c: Likewise.
22612 * rt/mq_close.c: Likewise.
22613 * rt/mq_getattr.c: Likewise.
22614 * rt/mq_notify.c: Likewise.
22615 * rt/mq_open.c: Likewise.
22616 * rt/mq_receive.c: Likewise.
22617 * rt/mq_send.c: Likewise.
22618 * rt/mq_setattr.c: Likewise.
22619 * rt/mq_timedreceive.c: Likewise.
22620 * rt/mq_timedsend.c: Likewise.
22621 * rt/mq_unlink.c: Likewise.
22622 * rt/shm_open.c: Likewise.
22623 * rt/shm_unlink.c: Likewise.
22624 * rt/timer_create.c: Likewise.
22625 * rt/timer_delete.c: Likewise.
22626 * rt/timer_getoverr.c: Likewise.
22627 * rt/timer_gettime.c: Likewise.
22628 * rt/timer_settime.c: Likewise.
22629 * setjmp/__longjmp.c: Likewise.
22630 * setjmp/setjmp.c: Likewise.
22631 * signal/kill.c: Likewise.
22632 * signal/killpg.c: Likewise.
22633 * signal/raise.c: Likewise.
22634 * signal/sigaction.c: Likewise.
22635 * signal/sigaltstack.c: Likewise.
22636 * signal/sigblock.c: Likewise.
22637 * signal/sigignore.c: Likewise.
22638 * signal/sigintr.c: Likewise.
22639 * signal/signal.c: Likewise.
22640 * signal/sigpause.c: Likewise.
22641 * signal/sigpending.c: Likewise.
22642 * signal/sigqueue.c: Likewise.
22643 * signal/sigreturn.c: Likewise.
22644 * signal/sigset.c: Likewise.
22645 * signal/sigsetmask.c: Likewise.
22646 * signal/sigstack.c: Likewise.
22647 * signal/sigsuspend.c: Likewise.
22648 * signal/sigtimedwait.c: Likewise.
22649 * signal/sigvec.c: Likewise.
22650 * signal/sigwait.c: Likewise.
22651 * signal/sigwaitinfo.c: Likewise.
22652 * signal/sysv_signal.c: Likewise.
22653 * socket/accept.c: Likewise.
22654 * socket/accept4.c: Likewise.
22655 * socket/bind.c: Likewise.
22656 * socket/connect.c: Likewise.
22657 * socket/getpeername.c: Likewise.
22658 * socket/getsockname.c: Likewise.
22659 * socket/getsockopt.c: Likewise.
22660 * socket/isfdtype.c: Likewise.
22661 * socket/listen.c: Likewise.
22662 * socket/recv.c: Likewise.
22663 * socket/recvfrom.c: Likewise.
22664 * socket/recvmsg.c: Likewise.
22665 * socket/send.c: Likewise.
22666 * socket/sendmsg.c: Likewise.
22667 * socket/sendto.c: Likewise.
22668 * socket/setsockopt.c: Likewise.
22669 * socket/shutdown.c: Likewise.
22670 * socket/sockatmark.c: Likewise.
22671 * socket/socket.c: Likewise.
22672 * socket/socketpair.c: Likewise.
22673 * stdio-common/ctermid.c: Likewise.
22674 * stdio-common/cuserid.c: Likewise.
22675 * stdio-common/remove.c: Likewise.
22676 * stdio-common/rename.c: Likewise.
22677 * stdio-common/renameat.c: Likewise.
22678 * stdio-common/tempname.c: Likewise.
22679 * stdlib/getcontext.c: Likewise.
22680 * stdlib/makecontext.c: Likewise.
22681 * stdlib/setcontext.c: Likewise.
22682 * stdlib/swapcontext.c: Likewise.
22683 * stdlib/system.c: Likewise.
22684 * streams/fattach.c: Likewise.
22685 * streams/fdetach.c: Likewise.
22686 * streams/getmsg.c: Likewise.
22687 * streams/getpmsg.c: Likewise.
22688 * streams/putmsg.c: Likewise.
22689 * streams/putpmsg.c: Likewise.
22690 * sysdeps/unix/bsd/getpt.c: Likewise.
22691 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22692 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22693 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22695 Likewise.
22696 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22697 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22698 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22699 * sysvipc/msgctl.c: Likewise.
22700 * sysvipc/msgget.c: Likewise.
22701 * sysvipc/msgrcv.c: Likewise.
22702 * sysvipc/msgsnd.c: Likewise.
22703 * sysvipc/semctl.c: Likewise.
22704 * sysvipc/semget.c: Likewise.
22705 * sysvipc/semop.c: Likewise.
22706 * sysvipc/semtimedop.c: Likewise.
22707 * sysvipc/shmat.c: Likewise.
22708 * sysvipc/shmctl.c: Likewise.
22709 * sysvipc/shmdt.c: Likewise.
22710 * sysvipc/shmget.c: Likewise.
22711 * termios/tcdrain.c: Likewise.
22712 * termios/tcflow.c: Likewise.
22713 * termios/tcflush.c: Likewise.
22714 * termios/tcgetattr.c: Likewise.
22715 * termios/tcgetpgrp.c: Likewise.
22716 * termios/tcsendbrk.c: Likewise.
22717 * termios/tcsetattr.c: Likewise.
22718 * termios/tcsetpgrp.c: Likewise.
22719 * time/adjtime.c: Likewise.
22720 * time/clock.c: Likewise.
22721 * time/getitimer.c: Likewise.
22722 * time/gettimeofday.c: Likewise.
22723 * time/setitimer.c: Likewise.
22724 * time/settimeofday.c: Likewise.
22725 * time/stime.c: Likewise.
22726 * time/time.c: Likewise.
22727
227282012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22729
a20492cf
PT
22730 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22731 /usr/old/bin.
22732
72e182e3
PT
22733 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22734 instead of spaces.
22735 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22736
fbeafede
JM
227372012-11-03 Joseph Myers <joseph@codesourcery.com>
22738
5b5b04d6
JM
22739 [BZ #14796]
22740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22741 FE_TONEAREST before applying Dekker multiplication and Knuth
22742 addition. Clear inexact exceptions and check for exact zero
22743 results afterwards.
22744 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22745 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22747 * math/libm-test.inc (fma_test): Add more tests.
22748 (fma_test_towardzero): Likewise.
22749 (fma_test_downward): Likewise.
22750 (fma_test_upward): Likewise.
22751 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22752 function.
22753 (libc_fesetround): New macro.
22754 (libc_fesetroundf): Likewise.
22755 (libc_fesetroundl): Likewise.
22756 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22757 function.
22758 (libc_fesetround_387): Likewise.
22759 (libc_fesetroundf): New macro.
22760 (libc_fesetround): Likewise.
22761 (libc_fesetroundl): Likewise.
22762 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22763 function.
22764 (libc_fesetroundf): New macro.
22765 (libc_fesetround): Likewise.
22766 (libc_fesetroundl): Likewise.
22767 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22768 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22769 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22770 libm_hidden_ver.
22771 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22772 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22773 libm_hidden_def.
22774 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22775 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22776 libm_hidden_ver.
22777 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22778 libm_hidden_def.
22779
fbeafede
JM
22780 [BZ #3439]
22781 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22782 integer constant usable in #if and use that to give value to enum
22783 constant.
22784 (FE_DIVBYZERO): Likewise.
22785 (FE_UNDERFLOW): Likewise.
22786 (FE_OVERFLOW): Likewise.
22787 (FE_INVALID): Likewise.
22788 (FE_INVALID_SNAN): Likewise.
22789 (FE_INVALID_ISI): Likewise.
22790 (FE_INVALID_IDI): Likewise.
22791 (FE_INVALID_ZDZ): Likewise.
22792 (FE_INVALID_IMZ): Likewise.
22793 (FE_INVALID_COMPARE): Likewise.
22794 (FE_INVALID_SOFTWARE): Likewise.
22795 (FE_INVALID_SQRT): Likewise.
22796 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22797 (FE_TONEAREST): Likewise.
22798 (FE_TOWARDZERO): Likewise.
22799 (FE_UPWARD): Likewise.
22800 (FE_DOWNWARD): Likewise.
22801 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22802 (FE_DIVBYZERO): Likewise.
22803 (FE_OVERFLOW): Likewise.
22804 (FE_UNDERFLOW): Likewise.
22805 (FE_INEXACT): Likewise.
22806 (FE_TONEAREST): Likewise.
22807 (FE_DOWNWARD): Likewise.
22808 (FE_UPWARD): Likewise.
22809 (FE_TOWARDZERO): Likewise.
22810 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22811 (FE_UNDERFLOW): Likewise.
22812 (FE_OVERFLOW): Likewise.
22813 (FE_DIVBYZERO): Likewise.
22814 (FE_INVALID): Likewise.
22815 (FE_TONEAREST): Likewise.
22816 (FE_TOWARDZERO): Likewise.
22817 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22818 (FE_OVERFLOW): Likewise.
22819 (FE_UNDERFLOW): Likewise.
22820 (FE_DIVBYZERO): Likewise.
22821 (FE_INEXACT): Likewise.
22822 (FE_TONEAREST): Likewise.
22823 (FE_TOWARDZERO): Likewise.
22824 (FE_UPWARD): Likewise.
22825 (FE_DOWNWARD): Likewise.
22826 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22827 (FE_DIVBYZERO): Likewise.
22828 (FE_OVERFLOW): Likewise.
22829 (FE_UNDERFLOW): Likewise.
22830 (FE_INEXACT): Likewise.
22831 (FE_TONEAREST): Likewise.
22832 (FE_DOWNWARD): Likewise.
22833 (FE_UPWARD): Likewise.
22834 (FE_TOWARDZERO): Likewise.
22835
105ca950
CM
228362012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22837
22838 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22839
a542b389
AS
228402012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22841
22842 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22843 commands. Quote $PWD.
22844 (blacklist_exports): Don't use remove_newlines. Replace "declare
22845 -x" by "export".
22846 (remove_newlines): Remove.
22847
f62c8abc
L
228482012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22849
22850 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22851 * stdlib/stdlib.h (atof): Moved to ...
22852 * include/bits/stdlib-float.h: Here. New file.
22853 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22854 * stdlib/bits/stdlib-float.h: New file.
22855 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22856 -mno-sse -mno-mmx.
22857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22858 <xmmintrin.h>.
22859
0155d5b2
JM
228602012-11-02 Joseph Myers <joseph@codesourcery.com>
22861
a68d0680
JM
22862 * conform/conformtest.pl (@headers): Add fenv.h.
22863 * conform/data/fenv.h-data: New file.
22864 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22865 include of <math/fenv.h>.
22866
caf7f573
JM
22867 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22868 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22869 && !UNIX98]. Enables tests for XOPEN2K8.
22870 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22871 POSIX2008]: Likewise.
22872
6c073ad6
JM
22873 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22874 (struct rusage): Do not expect type or its members.
22875
0155d5b2
JM
22876 [BZ #3439]
22877 * math/math.h (FP_NAN): Define macro to integer constant usable in
22878 #if and use that to give value to enum constant.
22879 (FP_INFINITE): Likewise.
22880 (FP_ZERO): Likewise.
22881 (FP_SUBNORMAL): Likewise.
22882 (FP_NORMAL): Likewise.
22883
b5dcacb4
AS
228842012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22885
22886 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22887 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22888 arguments.
22889
f7934be8
RM
228902012-11-02 Roland McGrath <roland@hack.frob.com>
22891
22892 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22893 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22894 autoconf-time if not.
22895 * configure.in: Remove AC_PREREQ.
22896
d7d08bde
TMQMF
228972012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22898
22899 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22900 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22901 of the internal implementation.
22902
dcdae19a
JM
229032012-11-02 Joseph Myers <joseph@codesourcery.com>
22904
22905 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22906 except include of <misc/sys/syslog.h>.
22907
d6cffd3e
AS
229082012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22909
22910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22911 function returns with a NULL context exit with zero.
22912
b3563932
TMQMF
229132012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22914
22915 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22916
b288a93d
L
229172012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22918
22919 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22920 (run_program_cmd): This.
22921 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22922 (tst_langinfo): New variable. Use it.
22923
a2421a68
SAS
229242012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22925
22926 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22927 floating point opcodes.
22928
6f796e1b
TS
229292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22930
7402596b
TS
22931 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22932 variable.
22933
d0d4f868
TS
22934 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22935
6f796e1b
TS
22936 * sysdeps/mach/hurd/powerpc: Remove directory.
22937 * sysdeps/mach/powerpc: Likewise.
22938
4da224a2
AS
229392012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22940
22941 * scripts/check-local-headers.sh: Ignore c++ headers.
22942
341dd673
TS
229432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22944
22945 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22946 __libc_cleanup_region_start argument.
22947
473611b2
JM
229482012-11-01 Joseph Myers <joseph@codesourcery.com>
22949
22950 [BZ #14784]
22951 [BZ #14785]
22952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22953 x * y using scaling, not as x * y + z.
22954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22956 * math/libm-test.inc (fma_test): Add more tests.
22957 (fma_test_towardzero): Likewise.
22958 (fma_test_downward): Likewise.
22959 (fma_test_upward): Likewise.
22960
4078da3d
TS
229612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22962
22963 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22964
903252aa
JM
229652012-10-31 Joseph Myers <joseph@codesourcery.com>
22966
22967 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22968 New variable.
22969
cbc818d0
TS
229702012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22971
22972 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22973
5a03cb1e
AS
229742012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22975
22976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22977 Fix sort order.
22978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22979 Likewise.
22980
90aff2ff
TMQMF
229812012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22982
22983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22984 Fix the order of the list for glibc 2.17.
22985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22986 Likewise.
22987
1818fcb7
AS
229882012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22989
22990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22991
ef82f4da
JM
229922012-10-31 Joseph Myers <joseph@codesourcery.com>
22993
16a0e2ec
JM
22994 [BZ #14610]
22995 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22996 for low part of x being zero before using __atanl (y).
22997 * math/libm-test.inc (atan2_test): Add another test.
22998
0eb69512
JM
22999 * manual/install.texi (Configuring and compiling): Document
23000 general use of test-wrapper and test-wrapper-env.
23001 * INSTALL: Regenerated.
23002
ef82f4da
JM
23003 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23004 (__fma): Do not extract and scale down low bits on after-rounding
23005 systems when result rounded to normal precision would have normal
23006 exponent.
23007 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23008 (__fmal): Do not extract and scale down low bits on after-rounding
23009 systems when result rounded to normal precision would have normal
23010 exponent.
23011 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23012 (__fmal): Do not extract and scale down low bits on after-rounding
23013 systems when result rounded to normal precision would have normal
23014 exponent.
23015 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23016 macro.
23017 (fma_test): Add more tests.
23018 (fma_test_towardzero): Likewise.
23019 (fma_test_downward): Likewise.
23020 (fma_test_upward): Likewise.
23021
954ef0d9
L
230222012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23023
23024 * sysdeps/i386/tininess.h: Renamed to ...
23025 * sysdeps/x86/tininess.h: This.
23026 * sysdeps/x86_64/tininess.h: Removed.
23027
df61ffb2
JM
230282012-10-30 Joseph Myers <joseph@codesourcery.com>
23029
23030 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23031 input. Use $(build-program-cmd).
23032 ($(objpfx)tst-array1-static.out): Likewise.
23033 ($(objpfx)tst-array2.out): Likewise.
23034 ($(objpfx)tst-array3.out): Likewise.
23035 ($(objpfx)tst-array4.out): Likewise.
23036 ($(objpfx)tst-array5.out): Likewise.
23037 ($(objpfx)tst-array5-static.out): Likewise.
23038
01767843
CM
230392012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23040
47cc1490
CM
23041 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23042 if defined.
23043
01767843
CM
23044 * nss/nsswitch.h (nss_interface_function): Provide new
23045 macro for use with NSS functions.
23046 * grp/initgroups.c: Use new macro.
23047 * nss/getXXbyYY.c: Likewise.
23048 * nss/getXXbyYY_r.c: Likewise.
23049 * nss/getXXent.c: Likewise.
23050 * nss/getXXent_r.c: Likewise.
23051 * sysdeps/posix/getaddrinfo.c: Likewise.
23052
8321aa97
AJ
230532012-10-30 Andreas Jaeger <aj@suse.de>
23054
23055 * po/ru.po: Update Russion translation from translation project.
23056
2a27fd6d
JM
230572012-10-30 Joseph Myers <joseph@codesourcery.com>
23058
8627a232
JM
23059 [BZ #14152]
23060 [BZ #14783]
23061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23062 result and shift together with sticky bit instead of replicating
23063 round-to-nearest rounding.
23064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23066 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23067 missing underflow exceptions.
23068 (fma_test_towardzero): Add more tests.
23069 (fma_test_downward): Likewise.
23070 (fma_test_upward): Likewise.
23071
2a27fd6d
JM
23072 [BZ #14047]
23073 * sysdeps/generic/tininess.h: New file.
23074 * sysdeps/i386/tininess.h: Likewise.
23075 * sysdeps/sh/tininess.h: Likewise.
23076 * sysdeps/x86_64/tininess.h: Likewise.
23077 * stdlib/tst-strtod-underflow.c: Likewise.
23078 * stdlib/tst-tininess.c: Likewise.
23079 * stdlib/strtod_l.c: Include <tininess.h>.
23080 (round_and_return): Do not set errno for exact underflow cases.
23081 Force an underflow exception when setting errno for underflow.
23082 Determine underflow based on rounding to normal precision if
23083 TININESS_AFTER_ROUNDING.
23084 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23085 ERANGE for exact underflow cases.
23086 * stdlib/Makefile (tests): Add tst-tininess and
23087 tst-strtod-underflow.
23088 ($(objpfx)tst-tininess): Use $(link-libm).
23089 ($(objpfx)tst-strtod-underflow): Likewise.
23090
e7170363
AJ
230912012-10-30 Andreas Jaeger <aj@suse.de>
23092
e5088dc6
AJ
23093 [BZ#14767]
23094 * elf/Makefile (tests): Remove conditional for have-initfini-array
23095 since this is now always required and the variable does not exist
23096 anymore.
23097 (tests-static): Likewise.
23098 (modules-names): Likewise.
23099
e7170363 23100 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
23101
23102 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23103 merged with constructor/destructor.
23104 (init_array): Likewise.
23105 * elf/tst-array2dep.c (fini_array): Likewise.
23106 (init_array): Likewise.
23107
60457d8a
MF
231082012-10-29 Mike Frysinger <vapier@gentoo.org>
23109
23110 * manual/message.texi: Delete @cartouche tags.
23111
8bece752
PT
231122012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23113
94ce799f
PT
23114 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23115 EOPNOTSUPP.
23116 * sysdeps/mach/hurd/fsync.c: Likewise.
23117
8bece752
PT
23118 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23119 [_POSIX_REALTIME_SIGNALS]: Change condition to
23120 [_POSIX_REALTIME_SIGNALS > 0].
23121
86ebe6b1
AJ
231222012-10-27 Andreas Jaeger <aj@suse.de>
23123
23124 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23125 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23127 [__WORDSIZE != 64]: Likewise.
23128
54399c08
L
231292012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23130
23131 * iconvdata/tst-table.sh: Remove ${SHELL}.
23132 * iconvdata/tst-tables.sh: Likewise.
23133
e2211bed
DM
231342012-10-25 David S. Miller <davem@davemloft.net>
23135
23136 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23137 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23138 of strtoull.
23139
f303f97c
DM
23140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23141 ifunc-impl-list.c
23142 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23143 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23144 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23145 file.
23146
1e9d84cd
RM
231472012-10-25 Roland McGrath <roland@hack.frob.com>
23148
23149 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23150 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23151 __getdirentries.
23152
df381762
JM
231532012-10-25 Joseph Myers <joseph@codesourcery.com>
23154 Jim Blandy <jimb@codesourcery.com>
23155
23156 * scripts/cross-test-ssh.sh: New file.
23157 * manual/install.texi (Configuring and compiling): Document use of
23158 cross-test-ssh.sh.
23159 * INSTALL: Regenerated.
23160
bff64913
PT
231612012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23162
23163 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23164 EOPNOTSUPP.
23165
25fe8932
JM
231662012-10-25 Joseph Myers <joseph@codesourcery.com>
23167
23168 * Makeconfig (run-program-prefix): Fix comment.
23169
cc1290d0
JM
231702012-10-24 Joseph Myers <joseph@codesourcery.com>
23171 Jim Blandy <jimb@codesourcery.com>
23172
23173 * Makeconfig (test-wrapper): New variable,
23174 (test-wrapper-env): Likewise.
23175 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23176 (run-built-tests): Define to yes.
23177 (run-program-prefix): Use $(test-wrapper).
23178 (built-program-cmd): Likewise.
23179 * Rules (make-test-out): Use $(test-wrapper-env) and
23180 $(host-built-program-cmd).
23181 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23182 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23183 tst-pathopt.sh.
23184 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23185 $(test-wrapper-env) to tst-rtld-load-self.sh.
23186 ($(objpfx)order2.out): Use $(test-wrapper).
23187 ($(objpfx)tst-initorder.out): Likewise.
23188 ($(objpfx)tst-initorder2.out): Likewise.
23189 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23190 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23191 (test_wrapper_env): New variable. Use it to run ld.so.
23192 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23193 Use it to run ld.so.
23194 (test_wrapper_env): Likewise.
23195 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23196 $(test-wrapper) to run-iconv-test.sh.
23197 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23198 (ICONV): Use $test_wrapper.
23199 * posix/Makefile ($(objpfx)globtest.out): Pass
23200 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23201 globtest.sh, not $(run-program-prefix).
23202 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23203 (test_wrapper): Likewise.
23204 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23205 set together with run_via_rtld_prefix.
23206 (run_program_prefix): Define in terms of test_wrapper and
23207 run_via_rtld_prefix.
23208
6e6249d0
RM
232092012-10-24 Roland McGrath <roland@hack.frob.com>
23210
23211 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23212 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23213 Targets removed.
23214
23215 [BZ #14743]
23216 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23217 Declare __clock_getres, __clock_gettime, __clock_settime,
23218 __clock_nanosleep, and __clock_getcpuclockid.
23219 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23220 Remove librt_hidden_def (clock_gettime).
23221 * sysdeps/unix/clock_gettime.c: Likewise.
23222 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23223 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23224 * rt/clock_getres.c: Define __clock_getres as an alias.
23225 * sysdeps/posix/clock_getres.c: Likewise.
23226 * rt/clock_settime.c: Define __clock_settime as an alias.
23227 * sysdeps/unix/clock_settime.c: Likewise.
23228 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23229 * sysdeps/unix/clock_nanosleep.c: Likewise.
23230 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23231 * rt/clock-compat.c: New file.
23232 * rt/Makefile (librt-routines): Add clock-compat and move
23233 $(clock-routines) to ...
23234 (routines): ... here, new variable.
23235 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23236 Don't add get_clockfreq here.
23237 * rt/Versions (libc: GLIBC_2.17): New version set.
23238 Add clock_* symbols here.
23239 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23240 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23241 (GLIBC_2.17): Add clock_* symbols.
23242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23246 Likewise.
23247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23248 Likewise.
23249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23253 * NEWS: Mention the move.
23254
23255 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23256 Use __open, __read, __close rather than their public counterparts.
23257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23258 (__get_clockfreq_via_cpuinfo): Likewise.
23259 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23260 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23261
23262 * config.h.in (HAVE_IFUNC): New #undef.
23263 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23264 was successful.
23265 * configure: Regenerated.
23266
0cae3f4b
MF
232672012-10-24 Mike Frysinger <vapier@gentoo.org>
23268
23269 * configure.in: Move READELF check to start of file.
23270 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23271 libc_cv_asm_gnu_indirect_function in the process.
23272 * configure: Regenerated.
23273
8175a253
MF
232742012-10-24 Mike Frysinger <vapier@gentoo.org>
23275
23276 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23277 send the output to /dev/null.
23278 (libc_cv_cc_with_libunwind): Likewise.
23279 (libc_cv_as_noexecstack): Likewise.
23280 * configure: Regenerate.
23281
0708a7d1
JM
232822012-10-24 Joseph Myers <joseph@codesourcery.com>
23283
10b40d85
JM
23284 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23285
0708a7d1
JM
23286 * posix/globtest.sh (TMPDIR): Do not set.
23287 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23288 (testout): Likewise.
23289
9fddec1a
AJ
232902012-10-24 Andreas Jaeger <aj@suse.de>
23291
3a8db22f
AJ
23292 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23293 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23294 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23295 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23296 posix_fadvise64, posix_fallocate64.
23297
9fddec1a
AJ
23298 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23299 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23300 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23301 Likewise.
23302 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23303 Likewise.
23304 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23305
23306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23307 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23308 <bits/fcntl-linux.h>.
23309 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23310
23311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23312 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23313 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23314 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23315 [__WORDSIZE != 64]: Likewise.
23316
ebfd1bbd
JM
233172012-10-23 Joseph Myers <joseph@codesourcery.com>
23318
03ac099f
JM
23319 * Makeconfig (run-built-tests): New variable.
23320 * Rules [$(cross-compiling) = yes]: Change condition to
23321 [$(run-built-tests) = no].
23322 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23323 to [$(run-built-tests) = yes].
23324 * elf/Makefile [$(cross-compiling) = no]: Likewise
23325 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23326 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23327 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23328 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23329 * io/Makefile [$(cross-compiling) = no]: Likewise.
23330 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23331 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23332 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23333 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23334 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23335 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23336 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23337 * string/Makefile [$(cross-compiling) = no]: Likewise.
23338
ebfd1bbd
JM
23339 * posix/Makefile ($(objpfx)globtest.out): Pass
23340 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23341 $(rtld-installed-name).
23342 * posix/globtest.sh (elf_objpfx): Remove variable.
23343 (rtld_installed_name): Likewise.
23344 (library_path): Likewise.
23345 (run_program_prefix): New variable. Use for running globtest
23346 binary.
23347
166bca24
JB
233482012-10-23 Jim Blandy <jimb@codesourcery.com>
23349 Joseph Myers <joseph@codesourcery.com>
23350
23351 * Makeconfig (host-built-program-cmd): New variable.
23352 * elf/Makefile (tst-stackguard1-ARGS): Use
23353 $(host-built-program-cmd).
23354 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23355 (tst-spawn-ARGS): Likewise.
23356 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23357
88866099
JM
233582012-10-23 Joseph Myers <joseph@codesourcery.com>
23359 Jim Blandy <jimb@codesourcery.com>
23360
23361 * Makeconfig (run-via-rtld-prefix): New variable.
23362 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23363 (built-program-cmd): Likewise.
23364
b4b4c296
AJ
233652012-10-22 Andreas Jaeger <aj@suse.de>
23366
23367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23368 __O_RSYNC if it exists, otherwise to O_SYNC.
23369
6fb54a22
JB
233702012-10-22 Jim Blandy <jimb@codesourcery.com>
23371 Joseph Myers <joseph@codesourcery.com>
23372
23373 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23374 /dev/null.
23375 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23376 from /dev/null
23377 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23378 /dev/null.
23379
481b90b9
AJ
233802012-10-22 Andreas Jaeger <aj@suse.de>
23381
2a0e2669
AJ
23382 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23383 Define always.
23384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23385
76e38f9a
AJ
23386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23387 bits/fcntl-linux.h.
23388
7cd37b43
AJ
23389 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23390 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23391
481b90b9
AJ
23392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23393 to __O_LARGEFILE.
23394 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23395 to __O_LARGEFILE.
23396
aba75984
JB
233972012-10-21 Jim Blandy <jimb@codesourcery.com>
23398 Joseph Myers <joseph@codesourcery.com>
23399
23400 * config.make.in (NM): New variable.
23401
88d4247f
AJ
234022012-10-21 Andreas Jaeger <aj@suse.de>
23403
23404 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23405 definitions and declarations that are provided by
23406 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23407
f2eed205
L
234082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23409
23410 [BZ #14683]
23411 * elf/Makefile (tests-static): Add tst-leaks1-static.
23412 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23413 ($(objpfx)tst-leaks1-static): New rule.
23414 ($(objpfx)tst-leaks1-static-mem): Likewise.
23415 (tst-leaks1-static-ENV): New macro.
23416 * elf/dl-open.c (dl_open_worker): Check the main application
23417 only if SHARED is defined.
23418 * elf/tst-leaks1-static.c: New file.
23419
335e6931
AJ
234202012-10-20 Andreas Jaeger <aj@suse.de>
23421
23422 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23423 generic values for Linux.
23424 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23425 and declarations that are provided by <bits/fcntl-linux.h> and
23426 include <bits/fcntl-linux.h>.
23427 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23429
ac5c94d3
RM
234302012-10-20 Roland McGrath <roland@hack.frob.com>
23431
23432 * io/fcntl.h: Move include of <bits/types.h> to the top and
23433 include it unconditionally.
23434
de54b33a
L
234352012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23436
228cfb01
L
23437 * wcsmbs/Makefile (tests-ifunc): New variable.
23438 (tests): Add $(tests-ifunc).
23439 * wcsmbs/test-wcschr-ifunc.c: New file.
23440 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23441 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23442 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23443 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23444 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23445
69f07e5f
L
23446 * string/Makefile (tests-ifunc): New variable.
23447 (tests): Add $(tests-ifunc).
23448 * string/test-memccpy.c (TEST_NAME): New macro.
23449 * string/test-memchr.c (TEST_NAME): Likewise.
23450 * string/test-memcmp.c (TEST_NAME): Likewise.
23451 * string/test-memcpy.c (TEST_NAME): Likewise.
23452 * string/test-memmem.c (TEST_NAME): Likewise.
23453 * string/test-memmove.c (TEST_NAME): Likewise.
23454 * string/test-memset.c (TEST_NAME): Likewise.
23455 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23456 * string/test-stpcpy.c (TEST_NAME): Likewise.
23457 * string/test-stpncpy.c (TEST_NAME): Likewise.
23458 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23459 * string/test-strcasestr.c (TEST_NAME): Likewise.
23460 * string/test-strcat.c (TEST_NAME): Likewise.
23461 * string/test-strchr.c (TEST_NAME): Likewise.
23462 * string/test-strcmp.c(TEST_NAME): Likewise.
23463 * string/test-strcpy.c (TEST_NAME): Likewise.
23464 * string/test-strcspn.c (TEST_NAME): Likewise.
23465 * string/test-strlen.c (TEST_NAME): Likewise.
23466 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23467 * string/test-strncmp.c (TEST_NAME): Likewise.
23468 * string/test-strncpy.c (TEST_NAME): Likewise.
23469 * string/test-strnlen.c (TEST_NAME): Likewise.
23470 * string/test-strpbrk.c (TEST_NAME): Likewise.
23471 * string/test-strrchr.c (TEST_NAME): Likewise.
23472 * string/test-strspn.c (TEST_NAME): Likewise.
23473 * string/test-strstr.c (TEST_NAME): Likewise.
23474 * string/test-bcopy-ifunc.c: New file.
23475 * string/test-bzero-ifunc.c: Likewise.
23476 * string/test-memccpy-ifunc.c: Likewise.
23477 * string/test-memchr-ifunc.c: Likewise.
23478 * string/test-memcmp-ifunc.c: Likewise.
23479 * string/test-memcpy-ifunc.c: Likewise.
23480 * string/test-memmem-ifunc.c: Likewise.
23481 * string/test-memmove-ifunc.c: Likewise.
23482 * string/test-mempcpy-ifunc.c: Likewise.
23483 * string/test-memset-ifunc.c: Likewise.
23484 * string/test-rawmemchr-ifunc.c: Likewise.
23485 * string/test-stpcpy-ifunc.c: Likewise.
23486 * string/test-stpncpy-ifunc.c: Likewise.
23487 * string/test-strcasecmp-ifunc.c: Likewise.
23488 * string/test-strcasestr-ifunc.c: Likewise.
23489 * string/test-strcat-ifunc.c: Likewise.
23490 * string/test-strchr-ifunc.c: Likewise.
23491 * string/test-strchrnul-ifunc.c: Likewise.
23492 * string/test-strcmp-ifunc.c: Likewise.
23493 * string/test-strcpy-ifunc.c: Likewise.
23494 * string/test-strcspn-ifunc.c: Likewise.
23495 * string/test-strlen-ifunc.c: Likewise.
23496 * string/test-strncasecmp-ifunc.c: Likewise.
23497 * string/test-strncat-ifunc.c: Likewise.
23498 * string/test-strncmp-ifunc.c: Likewise.
23499 * string/test-strncpy-ifunc.c: Likewise.
23500 * string/test-strnlen-ifunc.c: Likewise.
23501 * string/test-strpbrk-ifunc.c: Likewise.
23502 * string/test-strrchr-ifunc.c: Likewise.
23503 * string/test-strspn-ifunc.c: Likewise.
23504 * string/test-strstr-ifunc.c: Likewise.
23505
de54b33a
L
23506 * debug/Makefile (tests-ifunc): New variable.
23507 (tests): Add $(tests-ifunc).
23508 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23509 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23510 * debug/test-stpcpy_chk-ifunc.c: New file.
23511 * debug/test-strcpy_chk-ifunc.c: Likewise.
23512
88481c16
SP
235132012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23514
23515 [BZ #13601]
23516 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23517 header is not read in.
23518
135948bd
JM
235192012-10-19 Joseph Myers <joseph@codesourcery.com>
23520
89f1c388
JM
23521 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23522 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23523 directly. Pass built executable to script as
23524 $(built-program-cmd).
23525 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23526 $testprogram without using LD_LIBRARY_PATH and $ldso.
23527
e40a0d21
JM
23528 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23529 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23530 $(rtld-installed-name).
23531 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23532 (rtld_installed_name): Likewise.
23533 (library_path): Likewise.
23534 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23535 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23536 $(run-program-prefix) to tst-tables.sh.
23537 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23538 it to run tst-table-from and tst-table-to.
23539 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23540 Pass it to tst-table.sh.
23541 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23542 $(run-program-prefix) to tst-gettext.sh.
23543 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23544 tst-translit.sh.
23545 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23546 tst-gettext2.sh.
23547 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23548 to run tst-gettext.
23549 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23550 to run tst-gettext2.
23551 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23552 to run tst-translit.
23553 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23554 $(run-program-prefix) to tst-mtrace.sh.
23555 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23556 to run tst-mtrace.
23557 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23558 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23559 $(rtld-installed-name).
23560 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23561 (rtld_installed_name): Likewise.
23562 (run_program_prefix): New variable. Use it to run wordexp-test.
23563
728e272a
JM
23564 * Makeconfig (ARCH): Remove all definitions.
23565 (machine): Likewise.
23566 [ARCH]: Remove conditional code.
23567 [!objdir]: Give error.
23568 [!objdir] (objpfx): Remove.
23569 [!objdir] (common-objpfx): Likewise.
23570 [!objdir] (common-objdir): Likewise.
23571 * configure.in (config_makefile): Remove. Hardcode Makefile in
23572 AC_CONFIG_FILES call.
23573 * configure: Regenerated.
23574
d528cdcf
JM
23575 [BZ #13888]
23576 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23577 or TMPDIR.
23578 (testout): Likewise.
23579
135948bd
JM
23580 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23581 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23582 $(rtld-installed-name).
23583 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23584 (rtld_installed_name): Likwise.
23585 (runit): Remove function.
23586 (run_getconf): New variable, Use it for running getconf binary.
23587
38c78296
L
235882012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23589
23590 [BZ #14716]
23591 * string/test-memmem.c (check_result): New function.
23592 (do_one_test): Use it.
23593 (check1): New function.
23594 (test_main): Use it.
23595
d077f65f
MT
235962012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23597
23598 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23599
ced52c71
JM
236002012-10-18 Joseph Myers <joseph@codesourcery.com>
23601
23602 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23603 (_G_LSEEK64): Likewise.
23604 (_G_MMAP64): Likewise.
23605 (_G_FSTAT64): Likewise.
23606 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23607 (_G_LSEEK64): Likewise.
23608 (_G_MMAP64): Likewise.
23609 (_G_FSTAT64): Likewise.
23610 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23611 unconditional. Call __mmap64 directly.
23612 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23613 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23614 __lseek64 directly.
23615 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23616 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23617 __mmap64 directly.
23618 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23619 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23620 __lseek64 directly.
23621 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23622 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23623 __lseek64 directly.
23624 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23625 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23626 __lseek64 directly.
23627 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23628 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23629 __fxstat64 directly.
23630 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23631 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23632 unconditional.
23633 (freopen64) [!_G_OPEN64]: Remove conditional code.
23634 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23635 unconditional.
23636 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23637 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23638 unconditional.
23639 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23640 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23641 unconditional.
23642 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23643 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23644 unconditional.
23645 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23646 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23647 unconditional.
23648 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23649 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23650 unconditional.
23651 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23652 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23653 unconditional.
23654 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23655
b741de23
SP
236562012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23657
23658 [BZ #12140]
23659 * manual/memory.texi (Malloc Tunable Parameters): Add note
23660 about free list pointers overwriting some perturb bytes.
23661 Wording suggested by Roland McGrath.
23662
f9b9d9c9
JM
236632012-10-17 Joseph Myers <joseph@codesourcery.com>
23664
23665 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23666 (lgamma_test): Likewise.
23667 (tgamma_test): Likewise.
23668
172a631a
FW
236692012-10-16 Florian Weimer <fweimer@redhat.com>
23670
23671 [BZ #14700]
23672 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23673 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23674
e9f37252
MK
236752012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23676
23677 * NEWS: Mention BZ #14716.
23678 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23679 when removing AVAILABLE1_USES_J macro.
23680
d394eb74
L
236812012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23682
23683 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23684 (__bswap_64): __uint64_t for unsigned 64-bit int.
23685
ca38dc17
AS
236862012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23687
23688 * include/string.h (memmem): Declare libc hidden alias.
23689 * string/memmem.c (memmem): Define libc hidden alias.
23690 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23691 __read, __close instead of open, read, close.
23692
9a387d1f
L
236932012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23694
ac49ecaf
L
23695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23696 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23697 global and hidden.
23698 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23699 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23700 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23701 Likewise.
23702 (__rawmemchr_sse2): Likewise.
23703 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23704 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23705 (__strchr_sse2): Likewise.
23706 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23707 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23708 (__strcasecmp_sse2): Likewise.
23709 (__strncasecmp_sse2): Likewise.
23710 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23711 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23712 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23713 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23714 (__strrchr_sse2): Likewise.
23715 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23716 ifunc-impl-list.c.
23717 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23718 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23719 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23720 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23721 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23722 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23723 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23724 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23725 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23726 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23727 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23728 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23729 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23730 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23731 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23732 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23733 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23734 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23735 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23736 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23737 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23738 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23739 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23740 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23741 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23742 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23743 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23744 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23745 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23746 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23747
b090e8ea
L
23748 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23749 global and hidden.
23750 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23751 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23752 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23753 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23754 Likewise.
23755 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23756 Likewise.
23757 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23758 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23759 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23760 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23761 ifunc-impl-list.c.
23762 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23763 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23764 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23765 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23766 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23767 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23768 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23769 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23770 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23771 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23772 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23773 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23774 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23775 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23776 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23777 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23778 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23779 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23780 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23781 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23782 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23783 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23784 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23785 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23786 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23787 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23788 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23789 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23790 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23791 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23792 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23793 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23794 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23795 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23796 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23797 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23798 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23799 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23800 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23801 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23802 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23803
11dd4af6
L
23804 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23805 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23806 * include/ifunc-impl-list.h: New file.
23807 * misc/ifunc-impl-list.c: Likewise.
23808 * misc/Makefile (routines): Add ifunc-impl-list.
23809 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23810 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23811 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23812 TEST_NAME]: New variables.
11dd4af6
L
23813 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23814 are defined.
23815 (test_init): Call __libc_ifunc_impl_list to initialize
23816 func_list if TEST_IFUNC and TEST_NAME are defined.
23817
9a387d1f
L
23818 * string/Makefile (strop-tests): Add bcopy and bzero.
23819 * string/test-bcopy.c: New file.
23820 * string/test-bzero.c: Likewise.
23821 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23822 defined.
23823 * string/test-memset.c: Support bzero test if TEST_BZERO is
23824 defined.
23825 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23826 __libc_memmove.
23827 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23828 __libc_memset.
23829 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23830 of memset.
23831
472371b9
JM
238322012-10-10 Joseph Myers <joseph@codesourcery.com>
23833
1e4a9536
JM
23834 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23835 * configure: Regenerated.
23836
d173d12e
JM
23837 * Makeconfig (+link-static-before-libc): Don't include
23838 $(link-static-libc).
23839
472371b9
JM
23840 * libio/libio.h (_IO_pos_t): Remove.
23841
89a3ad0b
AO
238422012-10-10 Alexandre Oliva <aoliva@redhat.com>
23843
23844 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23845 McGrath.
23846
e7451425
AO
238472012-10-10 Alexandre Oliva <aoliva@redhat.com>
23848
23849 * crypt/crypt-entry.c: Include fips-private.h.
23850 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23851 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23852 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23853 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23854
4ba74a35
AO
238552012-10-10 Alexandre Oliva <aoliva@redhat.com>
23856
23857 * crypt/crypt-private.h: Include stdbool.h.
23858 (_ufc_setup_salt_r): Return bool.
23859 * crypt/crypt-entry.c: Include errno.h.
23860 (__crypt_r): Return NULL with EINVAL for bad salt.
23861 * crypt/crypt_util.c (bad_for_salt): New.
23862 (_ufc_setup_salt_r): Check that salt is long enough and within
23863 the specified alphabet.
23864 * crypt/badsalttest.c: New file.
23865 * crypt/Makefile (tests): Add it.
23866 ($(objpfx)badsalttest): New.
23867
f96f1242
MK
238682012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23869
23870 * NEWS: Add entry for BZ #14602.
23871
0e8e0c1c
JM
238722012-10-09 Joseph Myers <joseph@codesourcery.com>
23873
23874 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23875 type-generic.
23876 * math/libm-test.inc: Update comment listing what functions and
23877 macros are tested.
23878 (isgreater_test): New function.
23879 (isgreaterequal_test): Likewise.
23880 (isless_test): Likewise.
23881 (islessequal_test): Likewise.
23882 (islessgreater_test): Likewise.
23883 (isunordered_test): Likewise.
23884 (main): Call the new functions.
23885
273edc5e
RM
238862012-10-09 Roland McGrath <roland@hack.frob.com>
23887
b8493de0
RM
23888 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23889 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23890 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23891 * sysdeps/i386/configure: Regenerated.
23892 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23893 * sysdeps/mach/configure: Regenerated.
23894 * sysdeps/mach/hurd/configure: Regenerated.
23895 * sysdeps/powerpc/configure: Regenerated.
23896 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23897 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23898 * sysdeps/s390/s390-32/configure: Regenerated.
23899 * sysdeps/s390/s390-64/configure: Regenerated.
23900 * sysdeps/sh/configure: Regenerated.
23901 * sysdeps/sparc/configure: Regenerated.
23902 * sysdeps/unix/sysv/linux/configure: Regenerated.
23903 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23904 * sysdeps/x86_64/configure: Regenerated.
23905
273edc5e
RM
23906 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23907 defined. Don't check if MAP is NULL.
23908
c8450f70
JM
239092012-10-09 Joseph Myers <joseph@codesourcery.com>
23910
23911 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23912 (_G_stat64): Likewise.
23913 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23914 (_G_stat64): Likewise.
23915 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23916 instead of struct _G_stat64.
23917 * libio/fileops.c (mmap_remap_check): Likewise.
23918 (decide_maybe_mmap): Likewise.
23919 (_IO_new_file_seekoff): Likewise.
23920 (_IO_file_stat): Likewise.
23921 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23922 _G_off64_t.
23923 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23924 instead of struct _G_stat64.
23925 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23926
57e605ba
MK
239272012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23928
23929 [BZ #14602]
23930 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23931 Replace with ...
23932 (CHECK_EOL): New macro.
23933 (two_way_short_needle): Check beginning of haystack for EOL. Use
23934 CHECK_EOL.
23935 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23936 Replace with CHECK_EOL.
23937 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23938 Replace with CHECK_EOL.
23939
ef1bb361
JM
239402012-10-08 Joseph Myers <joseph@codesourcery.com>
23941
23942 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23943 type-generic.
23944 * math/libm-test.inc: Update comment listing what functions and
23945 macros are tested.
23946 (finite_test): New function.
23947 (isinf_test): Likewise.
23948 (isnan_test): Likewise.
23949 (fpclassify_test): Test subnormal input.
23950 (isfinite_test): Likewise.
23951 (isnormal_test): Likewise.
23952 (main): Call the new functions.
23953
55f11534
JN
239542012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23955
23956 [BZ #14660]
23957 * Makerules (%.dynsym): Force C locale when running
23958 $(OBJDUMP) --dynamic-syms.
23959
1ab29350
AS
239602012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23961
23962 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23963 <stdint.h>.
23964
f1ecb7ef
DM
239652012-10-06 David S. Miller <davem@davemloft.net>
23966
23967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23968 upper 32-bits of the length value in %o2 since we use branch-on-register
23969 tests which consider the entire 64-bit register.
23970
5d41d91a
L
239712012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23972
23973 * string/test-strstr.c (check2): Add a test for page boundary.
23974
3baddb72
DM
239752012-10-05 David S. Miller <davem@davemloft.net>
23976
23977 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23978 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23979 file.
23980 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23981 sysdep_routines.
23982 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23983 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23984 and bzero when HWCAP_SPARC_CRYPTO is present.
23985
9cee5585
L
239862012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23987
d7e0dab9
L
23988 [BZ #14602]
23989 * string/test-strstr.c (check2): New function.
23990 (test_main): Call check2.
23991
03759f47
L
23992 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23993 and bug-strchr1.
23994 * string/bug-strcasestr1.c (do_test): Moved to ...
23995 * string/test-strcasestr.c (check1): Here. New function.
23996 (do_one_test): Break out result checking code into ...
23997 (check_result): This. New function.
23998 (do_one_test): Call check_result.
23999 (test_main): Call check1.
24000 * string/bug-strchr1.c (do_test): Moved to ...
24001 * string/test-strchr.c (check1): Here. New function.
24002 (do_one_test): Break out result checking code into ...
24003 (check_result): This. New function.
24004 (do_one_test): Call check_result.
24005 (test_main): Call check1.
24006 * string/bug-strstr1.c (main): Moved to ...
046f153e 24007 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24008 (do_one_test): Break out result checking code into ...
24009 (check_result): This. New function.
24010 (do_one_test): Call check_result.
24011 (test_main): Call check1.
24012 * string/bug-strcasestr1.c: Removed.
24013 * string/bug-strchr1.c: Likewise.
24014 * string/bug-strstr1.c: Likewise.
24015
53cea63e
L
24016 * elf/Makefile (dl-routines): Add hwcaps.
24017 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24018 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24019 (_dl_important_hwcaps): Moved to ...
24020 * elf/dl-hwcaps.c: Here. New file.
24021 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24022
9cee5585 24023 [BZ #14557]
bb859b06
L
24024 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24025 if IS_IN_rtld isn't defined.
24026
9cee5585
L
24027 * elf/dl-support.c (_dl_sysinfo_map): New.
24028 Include "get-dynamic-info.h" and "setup-vdso.h".
24029 (_dl_non_dynamic_init): Call setup_vdso.
24030 * elf/dynamic-link.h: Don't include <assert.h>.
24031 (elf_get_dynamic_info): Moved to ...
24032 * elf/get-dynamic-info.h: Here. New file.
24033 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24034 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24035 * elf/setup-vdso.h: Here. New file.
24036 * elf/rtld.c: Include "setup-vdso.h".
24037 (dl_main): Call setup_vdso.
24038
23c31b76
JM
240392012-10-05 Joseph Myers <joseph@codesourcery.com>
24040
28234b07
JM
24041 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24042 creal in comment listing functions tested. List finite, isinf,
24043 isnan, isless, islessequal, isgreater, isgreaterequal,
24044 islessgreater, isunordered, lgamma_r and pow10 as functions and
24045 macros not tested. Mention which functions not tested are aliases
24046 for other functions. Fix typo. Note that signs of NaNs are not
24047 tested.
24048
23c31b76
JM
24049 * scripts/config.guess: Update from config.git.
24050 * scripts/config.sub: Likewise.
24051
9043e228
RM
240522012-10-04 Roland McGrath <roland@hack.frob.com>
24053
24054 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24055 * misc/madvise.c (madvise): Renamed to __madvise.
24056 Make madvise a weak alias.
24057 * include/sys/mman.h: Declare __madvise.
24058 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24059 * sysdeps/unix/syscalls.list
24060 (madvise): Make __madvise the strong name, and madvise a weak alias.
24061 * sysdeps/unix/sysv/linux/syscalls.list
24062 (madvise, mmap): Remove redundant entries.
24063 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24064 * malloc/malloc.c (mtrim): Likewise.
24065 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24066
f57f8055
RM
240672012-10-03 Roland McGrath <roland@hack.frob.com>
24068
24069 * sysdeps/mach/hurd/dl-cache.c: File removed.
24070 * config.h.in (USE_LDCONFIG): New #undef.
24071 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24072 * configure: Regenerated.
24073 * elf/Makefile (dl-routines): Add dl-cache only under
24074 [$(use-ldconfig) = yes].
24075 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24076 cache on [USE_LDCONFIG].
24077 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24078 [USE_LDCONFIG].
24079 * elf/rtld.c (dl_main): Likewise.
24080
5bb0c10a
PT
240812012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24082
24083 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24084 _SC_LEVEL4_CACHE_LINESIZE.
24085
010188c6
RM
240862012-10-03 Roland McGrath <roland@hack.frob.com>
24087
24088 * sysdeps/unix/bsd/confstr.h: File removed.
24089
b6c5ec07
AO
240902012-10-02 Alexandre Oliva <aoliva@redhat.com>
24091
24092 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24093 sys/sdt-config.h.
24094
408223d4
RM
240952012-10-02 Roland McGrath <roland@hack.frob.com>
24096
24097 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24098 Make 'mapoff' field ElfW(Off) rather than off_t.
24099
bb9510dc
DL
241002012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24101
fc997c6e
DL
24102 * nscd/Makefile: Remove nscd-cflags and all its users.
24103 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24104 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24105
bb9510dc
DL
24106 [BZ #10631]
24107 * malloc.c (malloc_printerr): Clarify error message.
24108
05699367
L
241092012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24110
24111 [BZ #14648]
24112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24113 Set bit_FMA_Usable if FMA is supported.
24114 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24115 macro.
24116 (bit_FMA4_Usable): Updated.
24117 (index_FMA_Usable): New macro.
24118 (CPUID_FMA): Likewise
24119 (HAS_FMA): Defined with bit_FMA_Usable.
24120
51367701
RM
241212012-10-01 Roland McGrath <roland@hack.frob.com>
24122
24123 * bits/types.h (__swblk_t): Type removed.
24124 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24125 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24126 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24127 (__SWBLK_T_TYPE): Likewise.
24128 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24129 (__SWBLK_T_TYPE): Likewise.
24130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24131 (__SWBLK_T_TYPE): Likewise.
24132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24133 (__SWBLK_T_TYPE): Likewise.
24134
4d57bf63 241352012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 24136 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
24137
24138 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24139 (xdr_mapname): Use YPMAXMAP as maxsize.
24140 (xdr_peername): Use YPMAXPEER as maxsize.
24141 (xdr_keydat): Use YPAXRECORD as maxsize.
24142 (xdr_valdat): Use YPMAXRECORD as maxsize.
24143
93c65d43
RM
241442012-10-01 Roland McGrath <roland@hack.frob.com>
24145
497a03d6
RM
24146 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24147
93c65d43
RM
24148 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24149 * csu/init-first.c: ... here.
24150 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24151 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24152 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24153 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24154 * sysdeps/i386/init-first.c: File removed.
24155 * sysdeps/sh/init-first.c: File removed.
24156
bec749fd
JM
241572012-10-01 Joseph Myers <joseph@codesourcery.com>
24158
24159 [BZ #14645]
24160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24161 if x * y might underflow to zero and z is zero.
24162 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24163 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24164 * math/libm-test.inc (min_subnorm_value): New variable.
24165 (fma_test): Add more tests.
24166 (fma_test_towardzero): Likewise.
24167 (fma_test_downward): Likewise
24168 (fma_test_upward): Likewise.
24169 (initialize): Set min_subnorm_value.
24170
8ec5b013
JM
241712012-09-29 Joseph Myers <joseph@codesourcery.com>
24172
24173 [BZ #14638]
24174 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24175 0 + 0.
24176 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24177 mode for addition resulting in exact zero.
24178 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24180 exact 0 + 0.
24181 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24182 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24183 * math/libm-test.inc (fma_test): Add more tests.
24184 (fma_test_towardzero): New function.
24185 (fma_test_downward): Likewise.
24186 (fma_test_upward): Likewise.
24187 (main): Call the new functions.
24188
b1fa802e
DM
241892012-09-28 David S. Miller <davem@davemloft.net>
24190
24191 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24192
d3b9fd9e
RM
241932012-09-28 Roland McGrath <roland@hack.frob.com>
24194
ea4d37b3
RM
24195 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24196 instead of SIGALRM.
24197
ac51c949
RM
24198 * sysdeps/gnu/_G_config.h: Moved to ...
24199 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24200 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24201 * sysdeps/generic/_G_config.h: ... here.
24202
28c195f7
RM
24203 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24204
848917f9
RM
24205 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24206
6bacf05b
RM
24207 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24208 Conditionalize target on [libnss_test1.so-version].
24209
91363dbb
RM
24210 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24211
cc87f7d8
RM
24212 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24213 (elfobjdir): Move out of conditionals.
24214
b1c608fe
RM
24215 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24216 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24217 (__nss_lookup_function): Conditionalize label remove_from_tree on
24218 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 24219
1d9a6d96
DM
242202012-09-28 David S. Miller <davem@davemloft.net>
24221
24222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24223 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24224 file.
24225 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24226 sysdep_routines.
24227 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24229 when HWCAP_SPARC_CRYPTO is present.
24230
72581615
PT
242312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24232
24233 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24234
715a900c
JL
242352012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24236
24237 [BZ #6530]
24238 * stdio-common/vfprintf.c (process_string_arg): Revert
24239 2000-07-22 change.
24240
242412011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24242
24243 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24244 for testcase.
24245 * stdio-common/tst-sprintf.c: Include <locale.h>
24246 (main): Test sprintf's handling of incomplete multibyte
24247 characters.
24248
9bac1d86
L
242492012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24250
24251 * elf/dl-runtime.c (VERSYMIDX): Removed.
24252 * elf/dl-version.c (VERSYMIDX): Likewise.
24253 * elf/do-rel.h (VERSYMIDX): Likewise.
24254 (VALIDX): Likewise.
24255 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24256 * elf/rtld.c (VALIDX): Likewise.
24257 (ADDRIDX): Likewise.
9bac1d86
L
24258 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24259 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24260 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
24261 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24262 (VALIDX): Likewise.
24263 (ADDRIDX): Likewise.
9bac1d86 24264
b31606c0
PT
242652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24266
24267 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24268
11541177
JL
242692012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24270
24271 [BZ #11438]
24272 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24273 to global scope.
24274 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24275 addresses are in the same scope as 192.0.2/24.
24276 * posix/gai.conf: Document new scope table defaults.
24277
adb26fae
SP
242782012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24279
24280 [BZ #5298]
24281 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24282 for ftell. Compute offsets from write pointers instead.
24283 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24284
4573c6b0
SP
242852012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24286
24287 [BZ #14543]
24288 * libio/Makefile (tests): New test case tst-fseek.
24289 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24290 combination works in wide mode.
24291 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24292 state when the external buffer state changes.
24293
aa9bbfe6
DM
242942012-09-27 David S. Miller <davem@davemloft.net>
24295
24296 [BZ #14376]
24297 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24298 pass reloc->r_addend in as the 'high' argument to
24299 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24300
784421e7
DM
24301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24302
c39bc8b8
PT
243032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24304
24305 * rt/tst-aio2.c: Include <pthread.h>.
24306 * rt/tst-aio3.c: Likewise.
24307
1ccc2399
SE
243082012-09-27 Steve Ellcey <sellcey@mips.com>
24309
24310 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24311
31ed4153
L
243122012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24313
25f5f885
L
24314 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24315 contents on [SHARED].
31ed4153 24316
b7bfe116
MP
243172012-09-26 Marek Polacek <polacek@redhat.com>
24318
24319 [BZ #14530]
24320 [BZ #13741]
24321 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24322 for C++ and GCC <4.3 as well as for non GCC compilers.
24323
43c4edba
MT
243242012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24325
24326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24327
6a1bf82f
RM
243282012-09-25 Roland McGrath <roland@hack.frob.com>
24329
24330 * Makefile.in (all, install): Declare with .PHONY.
24331 Reported by Michael Hope <michael.hope@linaro.org>.
24332
8ad11b9a
TMQMF
243332012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24334
24335 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24336 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24337 system header.
24338 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24339 Likewise.
24340 (sydep_routines): Add the new and the internal functions.
24341 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24342 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24344 (GLIBC_2.17): Add the new function.
24345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24346 (GLIBC_2.17): Likewise.
24347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24348 (GLIBC_2.17): Likewise.
24349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24350 (GLIBC_2.17): Likewise.
24351 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24352
7e2fca8d
AM
243532012-09-25 Alan Modra <amodra@gmail.com>
24354
24355 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24356 Add release barrier before setting once_control to say
24357 initialisation is done. Add hints on lwarx. Use macro in
24358 place of isync.
24359 (clear_once_control): Add release barrier.
24360
b87c4b24
JM
243612012-09-25 Joseph Myers <joseph@codesourcery.com>
24362
d032e0d2
JM
24363 [BZ #13629]
24364 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24365 specially.
24366 * math/s_clog10.c (__clog10): Likewise.
24367 * math/s_clog10f.c (__clog10f): Likewise.
24368 * math/s_clog10l.c (__clog10l): Likewise.
24369 * math/s_clogf.c (__clogf): Likewise.
24370 * math/s_clogl.c (__clogl): Likewise.
24371 * math/Makefile (libm-calls): Add x2y2m1.
24372 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24373 (__x2y2m1): Likewise.
24374 (__x2y2m1l): Likewise.
24375 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24376 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24377 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24378 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24379 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24380 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24381 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24382 * sysdeps/i386/fpu/libm-test-ulps: Update.
24383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24384
b87c4b24
JM
24385 [BZ #14621]
24386 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24387 int as type of variable DEPTH.
24388 (glob): Use size_t instead of int as type of variables NEWCOUNT
24389 and OLD_PATHC.
24390
6d3bf199
LD
243912012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24392
22bf5c17
LD
24393 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24394 Add s_sincosf-sse2.
24395 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24396 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24397 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24398 macros for using routine as __sincosf_ia32.
24399 Use macro for function declaration and weak_alias.
24400 * sysdeps/i386/fpu/libm-test-ulps: Update.
24401
24402 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24404
24405 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
24406 subnormal argument.
24407 * math/s_cexpf.c (__cexpf): Likewise.
24408 * math/s_csinf.c (__csinf): Likewise.
24409 * math/s_csinhf.c (__csinhf): Likewise.
24410 * math/s_ctanf.c (__ctanf): Likewise.
24411 * math/s_ctanhf.c (__ctanhf): Likewise.
24412 * math/s_ccosh.c (__ccoshf): Likewise.
24413 * math/s_cexp.c (__cexpl): Likewise.
24414 * math/s_csin.c (__csin): Likewise.
24415 * math/s_csinh.c (__csinh): Likewise.
24416 * math/s_ctan.c (__ctan): Likewise.
24417 * math/s_ctanh.c (ctanh): Likewise.
24418 * math/s_ccoshl.c (__ccoshl): Likewise.
24419 * math/s_cexpl.c (__cexpl): Likewise.
24420 * math/s_csinl.c (__csinl): Likewise.
24421 * math/s_csinhl.c (__csinhl): Likewise.
24422 * math/s_ctanl.c (__ctanl): Likewise.
24423 * math/s_ctanhl.c (__ctanhl): Likewise.
24424
203e5603
JM
244252012-09-25 Joseph Myers <joseph@codesourcery.com>
24426
24427 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24428 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24429 (_IO_off_t): Define to __off_t, not _G_off_t.
24430 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24431 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24432 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24433 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24434 type of __dummy and __dummy2 fields.
24435 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24436 (_G_ssize_t): Likewise.
24437 (_G_off_t): Likewise.
24438 (_G_pid_t): Likewise.
24439 (_G_uid_t): Likewise.
24440 (_G_wchar_t): Likewise.
24441 (_G_wint_t): Likewise.
24442 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24443 (_G_ssize_t): Likewise.
24444 (_G_off_t): Likewise.
24445 (_G_pid_t): Likewise.
24446 (_G_uid_t): Likewise.
24447 (_G_wchar_t): Likewise.
24448 (_G_wint_t): Likewise.
24449 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24450 (_G_ssize_t): Likewise.
24451 (_G_off_t): Likewise.
24452 (_G_pid_t): Likewise.
24453 (_G_uid_t): Likewise.
24454 (_G_wchar_t): Likewise.
24455 (_G_wint_t): Likewise.
24456
9fab36eb
SP
244572012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24458
24459 * malloc/arena.c: Include malloc-sysdep.h.
24460 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24461 is sufficient to shrink the heap or an unmap is needed.
24462 * sysdeps/generic/malloc-sysdep.h: New file. Define
24463 new function check_may_shrink_heap.
24464 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24465 new function check_may_shrink_heap.
24466
2b4f00d1
SP
244672012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24468
24469 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24470 comments.
24471
9a9028b1
DL
244722012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24473
57c69bef
DL
24474 * catgets/test-gencat.sh: Add "set -e".
24475 * elf/tst-pathopt.sh: Likewise.
24476 * grp/tst_fgetgrent.sh: Likewise.
24477 * iconvdata/run-iconv-test.sh: Likewise.
24478 * intl/tst-gettext.sh: Likewise.
24479 * intl/tst-gettext2.sh: Likewise.
24480 * intl/tst-gettext4.sh: Likewise.
24481 * intl/tst-gettext6.sh: Likewise.
24482 * intl/tst-translit.sh: Likewise.
24483 * io/ftwtest-sh: Likewise.
24484 * libio/test-freopen.sh: Likewise.
24485 * malloc/tst-mtrace.sh: Likewise.
24486 * posix/globtest.sh: Likewise.
24487 * posix/tst-getconf.sh: Likewise.
24488 * posix/wordexp-tst.sh: Likewise.
24489 * stdio-common/tst-printf.sh: Likewise.
24490 * stdio-common/tst-unbputc.sh: Likewise.
24491 * stdlib/tst-fmtmsg.sh: Likewise.
24492 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24493 * catgets/Makefile: Do not specify -e option when running
24494 testsuite shell scripts.
24495 * elf/Makefile: Likewise.
24496 * grp/Makefile: Likewise.
24497 * iconvdata/Makefile: Likewise.
24498 * intl/Makefile: Likewise.
24499 * io/Makefile: Likewise.
24500 * libio/Makefile: Likewise.
24501 * malloc/Makefile: Likewise.
24502 * posix/Makefile: Likewise.
24503 * stdio-common/Makefile: Likewise.
24504 * stdlib/Makefile: Likewise.
24505 * sysdeps/x86_64/Makefile: Likewise.
24506
9a9028b1
DL
24507 * io/ftwtest-sh: Add copyright header.
24508 * posix/globtest.sh: Likewise.
24509 * posix/tst-getconf.sh: Likewise.
24510 * posix/wordexp-tst.sh: Likewise.
24511 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24512
ced6f16e
L
245132012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24514
94b32c39
L
24515 [BZ #13679]
24516 * Makeconfig (+link): Defined as $(+link-static) if
24517 $(build-shared) isn't yes.
24518 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24519 isn't yes.
24520 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24521
189e935b
L
24522 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24523
ced6f16e
L
24524 [BZ #14562]
24525 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24526 new chunk size with MALLOC_ALIGN_MASK.
24527
a9f8e53a
JM
245282012-09-24 Joseph Myers <joseph@codesourcery.com>
24529
24530 [BZ #5044]
24531 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24532 <rounding-mode.h>.
24533 (__printf_fphex): Determine rounding using get_rounding_mode and
24534 round_away.
24535 * stdio-common/tst-printf-round.c (struct hex_test): New
24536 structure.
24537 (hex_tests): New variable.
24538 (test_hex_in_one_mode): New function.
24539 (do_test): Also run tests for hex float output.
24540
43153109
JM
245412012-09-21 Joseph Myers <joseph@codesourcery.com>
24542
24543 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24544 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24545 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24546 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24547 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24548 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24549 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24550 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24551
8a26625d
JM
245522012-09-20 Joseph Myers <joseph@codesourcery.com>
24553
24554 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24555 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24556 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24557 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24558
f3fd569c
DL
245592012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24560
24561 [BZ #14579]
24562 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24563 mode only.
24564 * elf/tst-rtld-load-self.sh: New test.
24565 * elf/Makefile: Run it.
24566
63bbedd4
JM
245672012-09-18 Joseph Myers <joseph@codesourcery.com>
24568
24569 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24570 (tst-writev-ENV): Remove.
24571 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24572
626f8b6a
CM
245732012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24574
24575 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24576
b7aaa4d6
JM
245772012-09-17 Joseph Myers <joseph@codesourcery.com>
24578
24579 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24580 unconditional.
24581 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24582 Likewise.
24583 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24584 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24585 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24586 Likewise.
24587
65513990
L
245882012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24589
24590 [BZ #14587]
24591 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24592 * config.make.in (have-cpp-asm-debuginfo): Removed.
24593 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24594 * configure: Regenerated.
24595
784761be
JM
245962012-09-14 Joseph Myers <joseph@codesourcery.com>
24597
24598 [BZ #5044]
24599 * stdio-common/printf_fp.c: Include <stdbool.h> and
24600 <rounding-mode.h>.
24601 (___printf_fp): Determine rounding using get_rounding_mode and
24602 round_away.
24603 * stdio-common/tst-printf-round.c: New file.
24604 * stdio-common/Makefile (tests): Add tst-printf-round.
24605 (link-libm): New variable.
24606 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24607
9503345f
L
246082012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24609
24610 [BZ #14576]
24611 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24612 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24613 Likewise.
24614 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24615 Likewise.
24616
ad35fc00
JM
246172012-09-13 Joseph Myers <joseph@codesourcery.com>
24618
24619 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24620 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24621 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24622 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24623
6c9b0f68
JM
246242012-09-12 Joseph Myers <joseph@codesourcery.com>
24625
24626 [BZ #14518]
24627 * include/rounding-mode.h: New file.
24628 * sysdeps/generic/get-rounding-mode.h: Likewise.
24629 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24630 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24631 (MAX_VALUE): New macro.
24632 (MIN_VALUE): Likewise.
24633 (overflow_value): New function.
24634 (underflow_value): Likewise.
24635 (round_and_return): Use overflow_value and underflow_value to
24636 determine return values in overflow and underflow cases. Use
24637 round_away to determine rounding depending on rounding mode.
24638 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24639 determine return values in overflow and underflow cases.
24640 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24641 (struct test_results): New structure.
24642 (struct test): Use struct test_results to store expected results
24643 for all rounding modes.
24644 (TEST): Include expected results for all rounding modes.
24645 (test_in_one_mode): New function.
24646 (do_test): Use test_in_one_mode to compute and check results.
24647 Check results for all rounding modes.
24648 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24649 $(link-libm).
24650
19fcedd5
AM
246512012-12-09 Allan McRae <allan@archlinux.org>
24652
1e9d84cd 24653 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24654
8bbfd2f1
JM
246552012-09-11 Joseph Myers <joseph@codesourcery.com>
24656
24657 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24658 (_G_int32_t): Likewise.
24659 (_G_uint16_t): Likewise.
24660 (_G_uint32_t): Likewise.
24661 (_G_HAVE_BOOL): Likewise.
24662 (_G_HAVE_ATEXIT): Likewise.
24663 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24664 (_G_HAVE_IO_FILE_OPEN): Likewise.
24665 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24666 (_G_int32_t): Likewise.
24667 (_G_uint16_t): Likewise.
24668 (_G_uint32_t): Likewise.
24669 (_G_HAVE_BOOL): Likewise.
24670 (_G_HAVE_ATEXIT): Likewise.
24671 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24672 (_G_HAVE_IO_FILE_OPEN): Likewise.
24673 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24674 (_G_int32_t): Likewise.
24675 (_G_uint16_t): Likewise.
24676 (_G_uint32_t): Likewise.
24677 (_G_HAVE_BOOL): Likewise.
24678 (_G_HAVE_ATEXIT): Likewise.
24679 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24680 (_G_HAVE_IO_FILE_OPEN): Likewise.
24681
b1dc5912
L
246822012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24683
24684 * csu/libc-tls.c: Update copyright years.
24685
0e886ef9
JM
246862012-09-10 Joseph Myers <joseph@codesourcery.com>
24687
28361c5e
JM
24688 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24689 [!_G_USING_THUNKS]: Remove conditional code.
24690 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24691 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24692
0e886ef9
JM
24693 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24694 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24695 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24696 (_G_VTABLE_LABEL_PREFIX): Likewise.
24697 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24698 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24699 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24700 (_G_VTABLE_LABEL_PREFIX): Likewise.
24701 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24702 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24703 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24704 (_G_VTABLE_LABEL_PREFIX): Likewise.
24705 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24706
bcba7aa2
L
247072012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24708
24709 * libio/Makefile: Include ../Makeconfig before tests.
24710 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24711 only if $(build-shared) is yes.
24712
06585ee8
L
24713 * iconv/gconv_db.c: Update copyright years.
24714
80ccd52c
LD
247152012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24716
24717 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24718 unwind info if defined PIC. Fix special cases description.
24719 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24720
24721 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24722 DP_HI_MASK entry.
24723 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24724
691bc9c1
L
247252012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24726
3d9b46b3
L
24727 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24728
de2139a9
L
24729 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24730 is NULL.
24731
5ca78dd0
L
24732 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24733 (LDLIBS-tst-chk4): This.
24734 (LDFLAGS-tst-chk5): Renamed to ...
24735 (LDLIBS-tst-chk5): This.
24736 (LDFLAGS-tst-chk6): Renamed to ...
24737 (LDLIBS-tst-chk6): This.
24738 (LDFLAGS-tst-lfschk4): Renamed to ...
24739 (LDLIBS-tst-lfschk4): This.
24740 (LDFLAGS-tst-lfschk5): Renamed to ...
24741 (LDLIBS-tst-lfschk5): This.
24742 (LDFLAGS-tst-lfschk6): Renamed to ...
24743 (LDLIBS-tst-lfschk6): This.
24744
691bc9c1
L
24745 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24746 on $(common-objpfx)soversions.mk.
24747
65cafb1c
JM
247482012-09-07 Joseph Myers <joseph@codesourcery.com>
24749
24750 [BZ #10014]
24751 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24752 example host name.
24753
c78ab094
SP
247542012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24755
24756 * malloc/arena.c (arena_get_retry): New function that gets
24757 another arena for the caller to try its request on.
24758 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24759 current arena cannot fulfill the request.
24760 (__libc_memalign): Likewise.
24761 (__libc_memalign): Likewise.
24762 (__libc_pvalloc): Likewise.
24763 (__libc_calloc): Likewise.
24764
01f49f59
JT
247652012-09-05 John Tobey <john.tobey@gmail.com>
24766
24767 [BZ #13542]
24768 * manual/arith.texi (Operations on Complex): Fix description
24769 of carg branch cut.
24770
4c23fed5
JM
247712012-09-06 Joseph Myers <joseph@codesourcery.com>
24772
1d3c8572
JM
24773 [BZ #10014]
24774 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24775 host name.
24776
4c23fed5
JM
24777 [BZ #10038]
24778 * manual/memory.texi (Memory): Make order of menu items match
24779 order of sections.
24780
04570aaa
L
247812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24782
24783 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24784 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24785 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24786
b80af2f4
L
247872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24788
24789 * csu/libc-tls.c (static_dtv): Renamed to ...
24790 (_dl_static_dtv): This. Make it global.
24791 (_dl_initial_dtv): Removed.
24792 (__libc_setup_tls): Updated.
24793 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24794 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24795 DL_INITIAL_DTV.
24796
2abe9f15
PM
247972012-09-06 Petr Machata <pmachata@redhat.com>
24798
24799 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24800 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24801 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24802 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24803
0948c3af
L
248042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24805
24806 [BZ #14545]
24807 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24808 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24809 freeing dtv[-1].
24810
a5055ad1
L
248112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24812
24813 [BZ #14544]
24814 * Makeconfig (link-static-before-libc): Replace $(+prector)
24815 with $(+prectorT).
24816 (link-static-after-libc): Replace $(+postctor) with
24817 $(+postctorT).
24818 (link-bounded): Replace $(+prector)/$(+postctor) with
24819 $(+prectorT)/$(+postctorT).
24820 (+prectorT): New macro.
24821 (+postctorT): Likewise.
24822
ed8c2ecd
JM
248232012-09-06 Joseph Myers <joseph@codesourcery.com>
24824
24825 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24826 (round_str): Handle values above the maximum for IBM long double
24827 as inexact.
24828 * stdlib/tst-strtod-round.c (tests): Regenerated.
24829
14c996c8
AK
248302012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24831
24832 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24833 assembler flag.
24834 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24835 zarch_nohighgprs around the zarch optimized routines.
24836 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24837 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24838 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24839 for zarch.
24840
430d6ce6
DM
248412012-09-05 David S. Miller <davem@davemloft.net>
24842
24843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24844
57f41c40
AS
24845 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24846 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24847 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24848 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24849 entries.
24850
24d4e01b
AO
248512012-09-05 Alexandre Oliva <aoliva@redhat.com>
24852
24853 * malloc/arena.c: Fold copyright years.
24854 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24855
61d58174
AO
248562012-09-05 Alexandre Oliva <aoliva@redhat.com>
24857
24858 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24859
20196a5e
AO
248602012-09-05 Alexandre Oliva <aoliva@redhat.com>
24861
24862 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24863
5c447383
AO
248642012-09-05 Alexandre Oliva <aoliva@redhat.com>
24865
24866 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24867 change internal state upon failure.
24868
fad64255
AO
248692012-09-05 Alexandre Oliva <aoliva@redhat.com>
24870
24871 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24872 * malloc/memusage.c (mmap): Likewise.
24873 (mmap64, mremap): Likewise. Adjust name in comment.
24874
1ffb8c90
SP
248752012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24876
24877 * libio/fileops.c: Fix typos in comments.
24878 * libio/oldfileops.c: Likewise.
24879 * libio/wfileops.c: Likewise.
24880
6ef9cc37
SP
248812012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24882
24883 [BZ #1349]
24884 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24885 (tst-malloc-usable-ENV): Set environment for test case.
24886 * malloc/hooks.c (malloc_check_get_size): New function to get
24887 requested size.
24888 * malloc/malloc.c (musable): Use malloc_check_get_size.
24889 * malloc/tst-malloc-usable.c: New test case.
24890
4d038ae3
AS
248912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24892
24893 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24894
c4e85184
AM
248952012-09-05 Allan McRae <allan@archlinux.org>
24896
b9dafc56 24897 [BZ #13966]
c4e85184
AM
24898 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24899 determine header location.
24900 * configure: Regenerated.
24901
e1343020
AS
249022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24903
24904 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24905 float format.
24906 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24907 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24908 format.
e1343020
AS
24909 (test): Regenerate.
24910
0a9f1987
DM
249112012-09-04 David S. Miller <davem@davemloft.net>
24912
24913 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24914 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24915 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24916
29237804
FW
249172012-09-04 Florian Weimer <fweimer@redhat.com>
24918
24919 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24920 failures.
24921
edb3cb88
FW
24922 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24923
60160d83
JM
249242012-09-04 Joseph Myers <joseph@codesourcery.com>
24925
24926 [BZ #9914]
24927 * libio/iogetdelim.c: Include <limits.h>.
24928 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24929 + len + 1 would overflow.
24930
bcd6c8dc
AJ
249312012-09-03 Andreas Jaeger <aj@suse.de>
24932
24933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24934 * sysdeps/i386/fpu/libm-test-ulps: Update.
24935
4ffffbd2
LD
249362012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24937
24938 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24939 Add s_sinf-sse2, s_conf-sse2.
24940
24941 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24942 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24943 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24944 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24945
24946 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24947 for using routine as __sinf_ia32.
24948 Use macro for function declaration and weak_alias.
24949 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24950 for using routine as __cosf_ia32.
24951 Use macro for function declaration and weak_alias.
24952
24953 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24954 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24955
24956 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24957 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24959
24960 * math/libm-test.inc (cos_test): Add more test cases.
24961 (sin_test): Likewise.
24962 (sincos_test): Likewise.
24963
511fa286
AK
249642012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24965
24966 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24967 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24968 hidden.
24969 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24970
5f30cfec
L
249712012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24972
24973 [BZ #14538]
24974 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24975 first element of the GOT.
24976 (elf_machine_load_address): Return the difference between
24977 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24978
0786794f
AM
249792012-09-01 Allan McRae <allan@archlinux.org>
24980
5f30cfec
L
24981 [BZ #13412]
24982 * configure.in (AWK): Require gawk version 3.0 or later.
24983 * configure: Regenerated.
0786794f 24984
26889eac
JM
249852012-09-01 Joseph Myers <joseph@codesourcery.com>
24986
24987 * sysdeps/unix/sysv/linux/kernel-features.h
24988 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24989 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24990 [__NR_clock_getres]: Make code unconditional.
24991 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24992 (clock_getcpuclockid): Remove code left unreachable by removal of
24993 conditionals.
24994 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24995 code unconditional.
24996 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24997 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24998 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24999 Make code unconditional.
25000 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25001 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25002 * sysdeps/unix/sysv/linux/clock_settime.c
25003 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25004 conditional code.
25005 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25006 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25007
d22e28b0
L
250082012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25009
25010 [BZ #14476]
25011 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25012 scripts/test-installation.pl.
25013
25014 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25015 and $ld_so_version if it is set.
25016
050af9c4
SP
250172012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25018
25019 [BZ #14516]
25020 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25021 failure if reading from procfs failed.
25022 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25023
ad845c0b
JM
250242012-08-27 Joseph Myers <joseph@codesourcery.com>
25025
25026 * sysdeps/unix/sysv/linux/kernel-features.h
25027 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25028 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25029 Remove conditional code.
25030 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25031 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25032 Remove conditional code.
25033 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25034 * sysdeps/unix/sysv/linux/i386/fxstat.c
25035 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25036 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25037 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25038 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25039 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25040 * sysdeps/unix/sysv/linux/i386/lxstat.c
25041 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25042 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25043 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25044 Remove conditional code.
25045 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25046 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25047 Remove conditional code.
25048 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25049 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25050 <kernel-features.h>.
25051 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25052 Remove.
25053 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25054 Remove conditional code.
25055 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25056 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25057 Remove conditional.
25058
5dbf56af
MF
250592012-08-27 Mike Frysinger <vapier@gentoo.org>
25060
25061 [BZ #5400]
25062 * NEWS: Add fixed bug number.
25063
d6e70f43
JM
250642012-08-27 Joseph Myers <joseph@codesourcery.com>
25065
7efb4737
JM
25066 [BZ #14519]
25067 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25068 underflowing exponent in case of negative sign.
25069 * stdlib/tst-strtod-round-data: Add more tests.
25070 * stdlib/tst-strtod-round.c (tests): Regenerated.
25071
af92131a
JM
25072 [BZ #3479]
25073 * stdlib/strtod_l.c (NDIG): Remove.
25074 (HEXNDIG): Likewise.
25075 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25076 smallest representable value.
25077 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25078 lie within an exact representation of 1/2 ulp of the result.
25079 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25080 unconditionally.
25081 (TENS_P9_IDX): Define unconditionally.
25082 (TENS_P9_SIZE): Likewise.
25083 (TENS_P10_IDX): Likewise.
25084 (TENS_P10_SIZE): Likewise.
25085 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25086 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25087 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25088 entries for 10^2^13 and 10^2^14.
25089 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25090 (TENS_P13_IDX): Define.
25091 (TENS_P13_SIZE): Likewise.
25092 (TENS_P14_IDX): Likewise.
25093 (TENS_P14_SIZE): Likewise.
25094 (_fpioconst_pow10): Change array size to
25095 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25096 unconditional.
25097 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25098 1024]: Add entries for 10^2^13 and 10^2^14.
25099 [LAST_POW10 > _LAST_POW10]: Remove #error.
25100 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25101 (_fpioconst_pow10): Change array size to
25102 FPIOCONST_POW10_ARRAY_SIZE.
25103 * stdlib/gen-fpioconst.c: New file.
25104 * stdlib/gen-tst-strtod-round.c: Likewise.
25105 * stdlib/tst-strtod-round-data: Likewise.
25106 * stdlib/tst-strtod-round.c: Likewise.
25107 * stdlib/Makefile (tests): Add tst-strtod-round.
25108
d6e70f43
JM
25109 [BZ #14459]
25110 * stdlib/strtod_l.c: Include <stdint.h>.
25111 (NDEBUG): Do not define.
25112 (round_and_return): Change EXPONENT parameter to type intmax_t.
25113 Rearrange calculations to avoid internal overflow possibilities.
25114 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25115 Rearrange calculations to avoid internal overflow possibilities.
25116 Assert that number fits inside MPNSIZE limbs.
25117 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25118 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25119 calculations and add assertions to avoid internal overflow
25120 possibilities. Add casts to avoid signed/unsigned operations.
25121 * stdlib/tst-strtod-overflow.c: New file.
25122 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25123
1f529f7d
MP
251242012-08-25 Marek Polacek <polacek@redhat.com>
25125
25126 * time/time.h: Fix some typos in comments.
25127
59a629f1
RM
251282012-08-23 Roland McGrath <roland@hack.frob.com>
25129
25130 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25131 * posix/tst-rfc3484-2.c: Likewise.
25132 * posix/tst-rfc3484-3.c: Likewise.
25133
d3bafbc9
SM
251342012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25135
25136 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25137 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25138
4efcc022
JM
251392012-08-23 Joseph Myers <joseph@codesourcery.com>
25140
25141 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25142 #include of fxstatat64.c.
25143
3cc3ef96
RM
251442012-08-22 Roland McGrath <roland@hack.frob.com>
25145
f04e2132
RM
25146 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25147 * shadow/getspent_r.c: Likewise.
25148 * shadow/getspnam.c: Likewise.
25149 * shadow/getspnam_r.c: Likewise.
25150 * gshadow/getsgent.c: Likewise.
25151 * gshadow/getsgent_r.c: Likewise.
25152 * gshadow/getsgnam.c: Likewise.
25153 * gshadow/getsgnam_r.c: Likewise.
25154 * inet/getnetbyad.c: Likewise.
25155 * inet/getnetbyad_r.c: Likewise.
25156 * inet/getnetbynm.c: Likewise.
25157 * inet/getnetbynm_r.c: Likewise.
25158 * inet/getnetent.c: Likewise.
25159 * inet/getnetent_r.c: Likewise.
25160 * inet/getproto.c: Likewise.
25161 * inet/getproto_r.c: Likewise.
25162 * inet/getprtent.c: Likewise.
25163 * inet/getprtent_r.c: Likewise.
25164 * inet/getprtname.c: Likewise.
25165 * inet/getprtname_r.c: Likewise.
25166 * inet/getrpcbyname.c: Likewise.
25167 * inet/getrpcbyname_r.c: Likewise.
25168 * inet/getrpcbynumber.c: Likewise.
25169 * inet/getrpcbynumber_r.c: Likewise.
25170 * inet/getrpcent.c: Likewise.
25171 * inet/getrpcent_r.c: Likewise.
25172 * inet/getaliasent.c: Likewise.
25173 * inet/getaliasent_r.c: Likewise.
25174 * inet/getaliasname.c: Likewise.
25175 * inet/getaliasname_r.c: Likewise.
25176 * nscd/getgrgid_r.c: Likewise.
25177 * nscd/getgrnam_r.c: Likewise.
25178 * nscd/gethstbyad_r.c: Likewise.
25179 * nscd/gethstbynm3_r.c: Likewise.
25180 * nscd/getpwnam_r.c: Likewise.
25181 * nscd/getpwuid_r.c: Likewise.
25182 * nscd/getsrvbynm_r.c: Likewise.
25183 * nscd/getsrvbypt_r.c: Likewise.
25184 * nscd/gai.c: Likewise.
25185
c53d909c
RM
25186 * configure.in (build_nscd): New substituted variable, set
25187 by --disable-build-nscd and defaults to $use_nscd.
25188 * configure: Regenerated.
25189 * config.make.in (build-nscd): New substituted variable.
25190 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25191 Change conditional to require [$(build-nscd) = yes] as well.
25192 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25193
3cc3ef96
RM
25194 [BZ# 13696]
25195 * configure.in (use_nscd): New substituted variable, set by
25196 --disable-nscd. If enabled, define USE_NSCD.
25197 * configure: Regenerated.
25198 * config.h.in: Add USE_NSCD.
25199 * config.make.in (use-nscd): New substituted variable.
25200 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25201 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25202 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25203 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25204 (CFLAGS-getgrnam_r.c): Likewise.
25205 (CFLAGS-initgroups.c): Likewise.
25206 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25207 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25208 Variables removed.
25209 * inet/getnetgrent_r.c
25210 (nscd_setnetgrent): New function, broken out of ...
25211 (setnetgrent): ... here. Call it.
25212 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25213 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25214 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25215 * nscd/Makefile (routines, aux): Move definitions after include of
25216 Makeconfig. Conditionalize on [$(use-nscd) != no].
25217 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25218 Conditionalize on [USE_NSCD].
25219 (is_nscd, nscd_init_cb): Likewise.
25220 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25221 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25222 * nss/nss_db/db-init.c: Likewise.
25223 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25224 [USE_NSCD].
25225 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25226 (make_request): Use it.
25227 (cache_valid_p): New function.
25228 (__check_pf): Use it.
25229 * NEWS: Add item for --disable-nscd.
25230
07e51550
DL
252312012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25232
25233 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25234 to support sed >= 4.2.1-20-ga9bf076.
25235 * configure: Regenerated.
25236
35a5b08b
RM
252372012-08-22 Roland McGrath <roland@hack.frob.com>
25238
25239 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25240 Conditionalize whole body on [IREL].
25241
8479f23a
JL
252422012-08-22 Jeff Law <law@redhat.com>
25243
25244 [BZ #14505]
25245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25246 if the family is PF_UNSPEC.
25247
48da0b21
MF
252482012-08-22 Mike Frysinger <vapier@gentoo.org>
25249
25250 * Makerules (lib-version): Rename from V.
25251 (install-lib-nosubdir): Change V to lib-version.
25252
15d0da8c
WS
252532012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25254
25255 [BZ #14252]
25256 * powerpc32/power6/wcschr.c: New file.
25257 * powerpc32/power6/wcscpy.c: New file.
25258 * powerpc32/power6/wcsrchr.c: New file.
25259 * powerpc64/power6/wcschr.c: New file.
25260 * powerpc64/power6/wcscpy.c: New file.
25261 * powerpc64/power6/wcsrchr.c: New file.
25262
bcca0895
MK
252632012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25264
25265 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25266 (two_way_short_needle): Use it.
5a4aaa33
RM
25267 * string/strstr.c (AVAILABLE1_USES_J): Define.
25268 * string/strcasestr.c: Likewise.
99677e57
MK
25269
25270 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25271 array references.
25272 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25273
400726de
MK
25274 [BZ #11607]
25275 * NEWS: Add an entry.
25276 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25277 define their defaults.
25278 (two_way_short_needle): Detect end-of-string on-the-fly.
25279 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25280 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25281 * string/bug-strcasestr1.c: New test.
25282 * string/Makefile: Run it.
25283
20a71f2c
MK
252842012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25285
25286 [BZ #11607]
25287 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25288 the first character.
25289
21ad0558
RM
252902012-08-21 Roland McGrath <roland@hack.frob.com>
25291
25292 * csu/elf-init.c (__libc_csu_irel): Function removed.
25293 * csu/libc-start.c (apply_irel): New function.
25294 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25295
0e1d9911
JM
252962012-08-21 Joseph Myers <joseph@codesourcery.com>
25297
25298 * sysdeps/unix/sysv/linux/kernel-features.h
25299 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25300 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25301 <kernel-features.h>.
25302 [__NR_fadvise64_64]: Make code unconditional.
25303 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25304 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25305 !__NR_fadvise64_64)]: Likewise.
25306 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25307 !__NR_fadvise64_64))]: Likewise.
25308 [__NR_fadvise64]: Make code unconditional.
25309 [!__NR_fadvise64]: Remove conditional code.
25310 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25311 <kernel-features.h>.
25312 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25313 unconditional.
25314 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25315 conditional code.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25317 not include <kernel-features.h>.
25318 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25319 unconditional.
25320 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25321 conditional code.
25322 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25323 include <kernel-features.h>.
25324 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25325 unconditional.
25326 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25327 conditional code.
25328
14a50c9d
WS
253292012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25330
25331 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25332 slight instruction rearrangements per scrollpipe analysis.
25333 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25334
c0f4faf0
RM
253352012-08-20 Roland McGrath <roland@hack.frob.com>
25336
696da859
RM
25337 * manual/syslog.texi (syslog; vsyslog, closelog):
25338 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25339 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25340
c0f4faf0
RM
25341 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25342 DSOCAPS to match condition on defining it.
25343
348363b2
JM
253442012-08-20 Joseph Myers <joseph@codesourcery.com>
25345
a35cbf28
JM
25346 * sysdeps/unix/sysv/linux/kernel-features.h
25347 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25349 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25350 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25352 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25353 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25355 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25356 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25357
445f7ecd
JM
25358 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25359 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25360
348363b2
JM
25361 * sysdeps/unix/sysv/linux/kernel-features.h
25362 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25363 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25364 unconditional.
25365 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25366 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25367 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25368 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25369 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25370 Make code unconditional.
25371 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25372 (__mmap64) [!__NR_mmap2]: Likewise.
25373 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25374 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25375 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25376 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25377 [__NR_mmap2]: Make code unconditional.
25378 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25379 (__mmap64) [!__NR_mmap2]: Likewise.
25380
bc5bc0e5
AK
253812012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25382
25383 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25384
88d506de
AJ
253852012-08-18 Andreas Jaeger <aj@suse.de>
25386
25387 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25388
493387d2
MF
253892012-08-18 Mike Frysinger <vapier@gentoo.org>
25390
25391 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25392 * include/unistd.h (__have_sock_cloexec): Likewise.
25393 (__have_pipe2): Likewise.
25394 (__have_dup3): Likewise.
25395
a277af22
MF
253962012-08-18 Mike Frysinger <vapier@gentoo.org>
25397
25398 [BZ #9685]
25399 * include/unistd.h (__have_pipe2): Change define into an extern int.
25400 (__have_dup3): Likewise.
25401 * socket/have_sock_cloexec.c: Include fcntl.h.
25402 (__have_pipe2): New variable.
25403 (__have_dup3): Likewise.
25404
fdab8fd3
MF
254052012-08-17 Mike Frysinger <vapier@gentoo.org>
25406
25407 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25408
31035e80
MP
254092012-08-17 Marek Polacek <polacek@redhat.com>
25410
25411 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25412 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25413
3bd9e993
RM
254142012-08-17 Roland McGrath <roland@hack.frob.com>
25415
c91c505f
RM
25416 * configure.in: Add AC_SUBST for sysheaders.
25417 * configure: Regenerated.
25418 * config.make.in (sysheaders): New substituted variable.
25419
7c6f9d53
RM
25420 * sysdeps/unix/mkfifo.c: Moved ...
25421 * sysdeps/posix/mkfifo.c: ... here.
25422 * sysdeps/unix/mkfifoat.c: Moved ...
25423 * sysdeps/posix/mkfifoat.c: ... here.
25424
25425 * sysdeps/unix/utime.c: Moved ...
25426 * sysdeps/posix/utime.c: ... here.
25427
25428 * sysdeps/unix/time.c: Moved ...
25429 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
25430 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25431 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
25432
25433 * sysdeps/unix/nice.c: Moved ...
25434 * sysdeps/posix/nice.c: ... here.
25435
25436 * sysdeps/unix/alarm.c: Moved ...
25437 * sysdeps/posix/alarm.c: ... here.
25438
3bd9e993
RM
25439 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25440
d1f09384
JL
254412012-08-17 Jeff Law <law@redhat.com>
25442
25443 * intl/Makefile (codeset_mo): New variable.
25444 ($(codeset_mo)): New target.
25445 (tst-codeset.out): Depend on that. Remove explicit rule.
25446 (tst-gettext3.out, tst-gettext5.out): Likewise.
25447 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25448 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25449 * intl/tst-codeset.sh: Remove.
25450 * intl/tst-gettext3.sh: Likewise.
25451 * intl/tst-gettext5.sh: Likewise.
25452
2ae1ae5c
RM
254532012-08-17 Roland McGrath <roland@hack.frob.com>
25454
c31fdb83
RM
25455 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25456 * sysdeps/unix/syscalls.list: ... here.
25457
a0844057
RM
25458 * sysdeps/posix/getaddrinfo.c
25459 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25460 (gaiconf_init, gaiconf_reload): Use them.
25461 [!_STATBUF_ST_NSEC]
25462 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25463 Define using time_t rather than struct timespec.
25464
750c1f2a
RM
25465 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25466 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25467 Macros removed.
25468 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25469 [!NO_THREADS].
25470 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25471 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25472 Likewise.
25473
2ae1ae5c
RM
25474 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25475 __libc_cleanup_push argument.
25476
e66a42f5
RM
25477 * bits/param.h: New file.
25478 * misc/sys/param.h: New file.
25479 * include/sys/param.h: New file.
25480 * misc/Makefile (headers): Add bits/param.h.
25481 * sysdeps/generic/sys/param.h: File removed.
25482 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25483 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25484 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25485 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25486
b7c08a66
RM
25487 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25488 last change.
25489
b2e1c562
RM
25490 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25491 [_IO_MTSAFE_IO].
25492 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25493 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25494 New macros.
25495
c75ccd4c
RM
25496 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25497 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25498 rather than -D_IO_MTSAFE_IO conditionally.
25499 * stdio-common/Makefile (CPPFLAGS): Likewise.
25500 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25501 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25502 Use $(libio-mtsafe).
25503 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25504 of -D_IO_MTSAFE_IO.
25505 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25506 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25507 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25508 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25509 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25510 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25511 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25512 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25513 (CFLAGS-fread_u_chk.c): Likewise.
25514 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25515 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25516 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25517 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25518 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25519 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25520 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25521 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25522 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25523
25524 * libio/Makefile: Test [$(libc-reentrant) = yes]
25525 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25526
25527 * Makeconfig
25528 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25529 * sysdeps/pthread/configure: File removed.
25530 * sysdeps/pthread/Makeconfig: New file.
25531 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25532 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25533
d9195db8
GB
255342012-08-16 Gary Benson <gbenson@redhat.com>
25535
25536 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25537 unmapping the first object in a namespace.
25538
86466cd9
RM
255392012-08-16 Roland McGrath <roland@hack.frob.com>
25540
25541 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25542 (__internal_setnetgrent): ... this. Add internal_function to
25543 definition. Add libc_hidden_def.
25544 (setnetgrent): Update caller.
25545 (internal_endnetgrent): Renamed to ...
25546 (__internal_endnetgrent): ... this. Add internal_function to
25547 definition. Add libc_hidden_def.
25548 (endnetgrent): Update caller.
25549 (internal_getnetgrent_r): Renamed to ...
25550 (__internal_getnetgrent_r): ... this. Add internal_function to
25551 definition. Add libc_hidden_def.
25552 (__getnetgrent_r): Update caller.
25553 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25554
c3c8283c
JM
255552012-08-16 Joseph Myers <joseph@codesourcery.com>
25556
25557 * stdlib/longlong.h: Update from GCC.
25558
db1ee0a8
RM
255592012-08-16 Roland McGrath <roland@hack.frob.com>
25560
25561 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25562 on _QL, which is set by umul_ppmm but never used.
25563 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25564 variables, which are set by GMP macros but never used.
25565 * stdio-common/_itowa.c (_itowa): Likewise.
25566 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25567 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25568
30f69637
CD
255692012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25570
25571 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25572 struct La_sh_regs is not constant.
25573 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25574 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25575 and struct La_sparc64_regs are not constant.
25576
93a78ac4
JM
255772012-08-16 Joseph Myers <joseph@codesourcery.com>
25578
25579 * sysdeps/unix/sysv/linux/kernel-features.h
25580 (__ASSUME_POSIX_TIMERS): Remove.
25581 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25582 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25583 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25584 Make code unconditional.
25585 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25586 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25587 Make code unconditional.
25588 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25589 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25590 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25591 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25592 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25593 Make code unconditional.
25594 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25595 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25596 (__libc_missing_posix_timers): Remove.
25597
dd924cd7
RM
255982012-08-15 Roland McGrath <roland@hack.frob.com>
25599
4b4f2771
RM
25600 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25601 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25602
601c888b
RM
25603 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25604
176790a7
RM
25605 * elf/dl-sym.c: Include <stdlib.h>.
25606
329bc018
RM
25607 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25608 constants, which avoids warnings in 32-bit builds.
25609
e04e272d
RM
25610 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25611 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25612
952bf94a
RM
25613 * misc/lseek.c: File moved to ...
25614 * io/lseek.c: ... here.
25615
7c99b50a
RM
25616 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25617
dd924cd7
RM
25618 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25619 shifting LEN more than 31 bits at once.
25620
b3f479a8
LD
256212012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25622
25623 [BZ #14195]
8c4ae0d4
RM
25624 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25625 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25626 * string/test-strncasecmp.c (check1): Renamed to...
25627 (bz12205): ...this.
25628 (bz14195): Add new testcase for two empty input strings and N > 0.
25629 (test_main): Call new testcase, adapt for renamed function.
25630
9c55864e
AJ
256312012-08-15 Andreas Jaeger <aj@suse.de>
25632
25633 [BZ #14090]
25634 * crypt/md5test2.c: New test, based on test supplied by Serge
25635 Belyshev <belyshev@depni.sinp.msu.ru>.
25636 * crypt/Makefile (xtests): Add md5test-giant..
25637 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25638
02dcb6c5
PE
256392012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25640
25641 [BZ #14090]
25642 * crypt/md5.c (md5_process_block): Don't assume the buffer
25643 length is less than 2**32.
25644 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25645 length is less than 2**64.
25646
a3f95dcc
RM
256472012-08-15 Roland McGrath <roland@hack.frob.com>
25648
be75d758
RM
25649 * string/str-two-way.h: Include <sys/param.h>.
25650 (MAX): Macro removed.
25651
7312ca90
RM
25652 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25653 Move #define and #undef of memmove to just before and after
25654 including <string.h>.
25655
9a0a5486
RM
25656 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25657 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25658 and after including <string.h>. Move declarations of
25659 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25660 to before #include "string/memmove.c".
25661
67cc348d
RM
25662 * include/dirent.h: Declare __getdirentries.
25663
a3f95dcc
RM
25664 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25665 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25666
ca98e171
MF
256672012-08-14 Mike Frysinger <vapier@gentoo.org>
25668
25669 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25670 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25671 * sysdeps/i386/configure: Regenerated.
25672 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25673 STABS_CURRENT_FILE, and STABS_FUN.
25674 (END): Remove call to STABS_FUN_END.
25675 (STABS_CURRENT_FILE1): Delete.
25676 (STABS_CURRENT_FILE): Likewise.
25677 (STABS_FUN): Likewise.
25678 (STABS_FUN_END): Likewise.
25679 (STABS_FUN2): Likewise.
25680 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25681 * sysdeps/x86_64/configure: Regenerated.
25682
5908bf46
RM
256832012-08-14 Roland McGrath <roland@hack.frob.com>
25684
25685 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25686 * elf/dl-lookup.c: Likewise.
5908bf46 25687
f2c05b9e
JM
256882012-08-14 Joseph Myers <joseph@codesourcery.com>
25689
25690 * sysdeps/unix/sysv/linux/kernel-features.h
25691 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25692 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25693 unconditionally.
25694 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25695 unconditionally.
25696 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25697 condition on __ASSUME_CLONE_THREAD_FLAGS.
25698
e11f5155
AJ
256992012-08-14 Andreas Jaeger <aj@suse.de>
25700
25701 * sysdeps/i386/fpu/libm-test-ulps: Update.
25702
51a9ba86
MK
257032012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25704
2fdd4f78
AJ
25705 * include/atomic.h (atomic_exchange_and_add): Split into ...
25706 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25707 New atomic macros.
51a9ba86 25708
ba6cba9e
MT
257092012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25710
25711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25712
42443a47
JL
257132012-08-13 Jeff Law <law@redhat.com>
25714
25715 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25716 null byte in the output string.
25717
121dce05
JM
257182012-08-10 Joseph Myers <joseph@codesourcery.com>
25719
25720 * sysdeps/unix/sysv/linux/kernel-features.h
25721 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25722 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25723 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25724 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25725 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25726 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25727 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25728
bf51f568
JL
257292012-08-09 Jeff Law <law@redhat.com>
25730
25731 [BZ #13939]
25732 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25733 When avoid_arena is set, don't retry in the that arena. Pick the
25734 next one, whatever it might be.
25735 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25736 (arena_lock): Pass in new parameter to arena_get2.
25737 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25738 arena_get2.
25739 (__libc_malloc): Unify retrying after main arena failure with
25740 __libc_memalign version.
25741 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25742
f85fa270
L
257432012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25744
25745 [BZ #14166]
25746 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25747 to __redirect_strstr.
25748 (__strstr_sse42): Use typeof __redirect_strstr.
25749 (__strstr_ia32): Likewise.
25750 (__libc_strstr): New prototype.
25751 (strstr): Renamed to ...
25752 (__libc_strstr): This.
25753 (strstr): New strong alias of __libc_strstr.
25754 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25755 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25756 __redirect_time.
25757 Include <time.h>.
25758 (__libc_time): New prototype.
25759 (time_ifunc): Replace time with __libc_time.
25760 (time): New strong alias and hidden definition of __libc_time.
25761 (__GI_time): Remove strong alias.
25762 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25763 Include <stddef.h>.
25764 (memmove): Redefined to __redirect_memmove.
25765 (__memmove_sse2): Use typeof __redirect_memmove.
25766 (__memmove_ssse3): Likewise.
25767 (__memmove_ssse3_back): Likewise.
25768 (__libc_memmove): New prototype.
25769 (memmove): Renamed to ...
25770 (__libc_memmove): This.
25771 (memmove): New strong alias of __libc_memmove.
25772
33b4a91e
MS
257732012-08-08 Mark Salter <msalter@redhat.com>
25774
25775 * elf/elf.h
25776 (R_MN10300_TLS_GD): Define.
25777 (R_MN10300_TLS_LD): Likewise.
25778 (R_MN10300_TLS_LDO): Likewise.
25779 (R_MN10300_TLS_GOTIE): Likewise.
25780 (R_MN10300_TLS_IE): Likewise.
25781 (R_MN10300_TLS_LE): Likewise.
25782 (R_MN10300_TLS_DTPMOD): Likewise.
25783 (R_MN10300_TLS_DTPOFF): Likewise.
25784 (R_MN10300_TLS_TPOFF): Likewise.
25785 (R_MN10300_SYM_DIFF): Likewise.
25786 (R_MN10300_ALIGN): Likewise.
25787 (R_MN10300_NUM): Update.
25788
b36137f1
JM
257892012-08-08 Joseph Myers <joseph@codesourcery.com>
25790
25791 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25792 Remove.
25793
cdd915fd
RM
257942012-08-08 Roland McGrath <roland@hack.frob.com>
25795
a2433aac
RM
25796 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25797
cdd915fd
RM
25798 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25799 sysdeps/unix -> sysdeps/posix move.
25800 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25801
bf9b740a
AM
258022012-08-07 Allan McRae <allan@archlinux.org>
25803
25804 [BZ #14303]
25805 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25806 (SUNOS_CPP): Likewise.
25807 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25808 not found.
25809 (open_input): Call CPP using execvp.
25810
93df14ee
JM
258112012-08-07 Joseph Myers <joseph@codesourcery.com>
25812
25813 * sysdeps/unix/sysv/linux/kernel-features.h
25814 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25815 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25816 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25817 (__ASSUME_WAITID_SYSCALL): Likewise.
25818 * sysdeps/unix/sysv/linux/dl-execstack.c
25819 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25820 code unconditional.
25821 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25822 conditional code.
25823 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25824 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25825 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25826 code.
25827 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25828 unconditional.
25829 [__ASSUME_WAITID_SYSCALL]: Likewise.
25830 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25831
d34689de
RM
258322012-08-07 Roland McGrath <roland@hack.frob.com>
25833
a281decc
RM
25834 * sysdeps/unix/closedir.c: Renamed to ...
25835 * sysdeps/posix/closedir.c: ... here.
25836 * sysdeps/unix/dirfd.c: Renamed to ...
25837 * sysdeps/posix/dirfd.c: ... here.
25838 * sysdeps/unix/dirstream.h: Renamed to ...
25839 * sysdeps/posix/dirstream.h: ... here.
25840 * sysdeps/unix/fdopendir.c: Renamed to ...
25841 * sysdeps/posix/fdopendir.c: ... here.
25842 * sysdeps/unix/opendir.c: Renamed to ...
25843 * sysdeps/posix/opendir.c: ... here.
25844 * sysdeps/unix/readdir.c: Renamed to ...
25845 * sysdeps/posix/readdir.c: ... here.
25846 * sysdeps/unix/readdir_r.c: Renamed to ...
25847 * sysdeps/posix/readdir_r.c: ... here.
25848 * sysdeps/unix/rewinddir.c: Renamed to ...
25849 * sysdeps/posix/rewinddir.c: ... here.
25850 * sysdeps/unix/seekdir.c: Renamed to ...
25851 * sysdeps/posix/seekdir.c: ... here.
25852 * sysdeps/unix/telldir.c: Renamed to ...
25853 * sysdeps/posix/telldir.c: ... here.
25854 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25855 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25856 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25857 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25858
22895b47
RM
25859 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25860 * bits/fcntl.h: ... here.
25861
707a53b6
RM
25862 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25863 not 0.
25864 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25865 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25866 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25867 (struct flock): Move l_start, l_len to the beginning.
25868 Use __pid_t for l_pid.
25869 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25870 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25871 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25872 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25873 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25874 [__USE_LARGEFILE64] (struct flock64): New type.
25875 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25876
f0bd3e25
RM
25877 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25878 * bits/dirent.h: ... here.
25879
d34689de
RM
25880 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25881 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25882
6dad2c06
JM
258832012-08-07 Joseph Myers <joseph@codesourcery.com>
25884
25885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25886 Change from 2.6.0 to 2.6.16.
25887 * sysdeps/unix/sysv/linux/configure: Regenerated.
25888 * sysdeps/unix/sysv/linux/kernel-features.h
25889 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25890 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25891 version.
25892 (__ASSUME_UTIMES): Likewise.
25893 (__ASSUME_CLONE_STOPPED): Remove.
25894 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25895 architectures, not kernel version.
25896 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25897 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25898 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25899 (__ASSUME_WAITID_SYSCALL): Likewise.
25900 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25901 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25902 * README: State 2.6.16 as minimum Linux kernel version. Do not
25903 refer to older versions.
25904
03af9520
RM
259052012-08-06 Roland McGrath <roland@hack.frob.com>
25906
8e49df1d
RM
25907 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25908 Define alphasort64 as an alias.
25909 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25910 Define versionsort64 as an alias.
25911 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25912 Define scandir64 as an alias.
25913 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25914 Define scandirat64 as an alias.
25915 * dirent/alphasort64.c (alphasort64):
25916 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25917 * dirent/versionsort64.c: Likewise.
25918 * dirent/scandir64.c: Likewise.
25919 * dirent/scandirat64.c: Likewise.
25920 * sysdeps/wordsize-64/alphasort.c: File removed.
25921 * sysdeps/wordsize-64/alphasort64.c: File removed.
25922 * sysdeps/wordsize-64/scandir.c: File removed.
25923 * sysdeps/wordsize-64/scandir64.c: File removed.
25924 * sysdeps/wordsize-64/scandirat.c: File removed.
25925 * sysdeps/wordsize-64/scandirat64.c: File removed.
25926 * sysdeps/wordsize-64/versionsort.c: File removed.
25927 * sysdeps/wordsize-64/versionsort64.c: File removed.
25928 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25929 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25930 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25931 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25932 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25933 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25934 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25935 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25936
25937 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25939 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25941 [defined __arch64__ || defined __sparcv9]
25942 (__INO_T_MATCHES_INO64_T): New macro.
25943 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25944 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25945 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25946 * sysdeps/unix/sysv/linux/bits/dirent.h
25947 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25948 (_DIRENT_MATCHES_DIRENT64): New macro.
25949
03af9520
RM
25950 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25951 Define lockf64 as an alias.
25952 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25953 Define fseeko64 as an alias.
25954 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25955 Define ftello64 as an alias.
25956 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25957 Define _IO_fgetpos64 and fgetpos64 as aliases.
25958 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25959 Define _IO_fsetpos64 and fsetpos64 as aliases.
25960 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25961 Conditionalize body on this.
25962 * libio/fseeko64.c: Likewise.
25963 * libio/ftello64.c: Likewise.
25964 * libio/iofgetpos64.c: Likewise.
25965 * libio/iofsetpos64.c: Likewise.
25966 * sysdeps/wordsize-64/lockf.c: File removed.
25967 * sysdeps/wordsize-64/lockf64.c: File removed.
25968 * sysdeps/wordsize-64/fseeko.c: File removed.
25969 * sysdeps/wordsize-64/fseeko64.c: File removed.
25970 * sysdeps/wordsize-64/ftello.c: File removed.
25971 * sysdeps/wordsize-64/ftello64.c: File removed.
25972 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25973 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25974 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25975 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25976 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25977 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25978 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25979 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25980 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25981 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25982 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25983 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25984 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25985 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25986
25987 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25989 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25991 [defined __arch64__ || defined __sparcv9]
25992 (__OFF_T_MATCHES_OFF64_T): New macro.
25993 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25994 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25996 (__OFF_T_MATCHES_OFF64_T): New macro.
25997
c5757acd
L
259982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25999
26000 * stdlib/secure-getenv.c (__secure_getenv): Replace
26001 GLIBC_2_16 with GLIBC_2_17.
26002
3a31811e
L
260032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26004
26005 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26006 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26007
faa2bccb
DM
260082012-08-03 David S. Miller <davem@davemloft.net>
26009
26010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26011
85fe1997
JM
260122012-08-03 Joseph Myers <joseph@codesourcery.com>
26013
26014 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26015 Remove.
26016 (__ASSUME_CORRECT_SI_PID): Likewise.
26017 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26018 (__ASSUME_TMPFS_NAME): Likewise.
26019 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26020 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26021 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26022 (HAVE_AUX_SECURE): Make definition unconditional.
26023 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26024 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26025
4f75b7a0
RM
260262012-08-03 Roland McGrath <roland@hack.frob.com>
26027
26028 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26029 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26030 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26031 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26032 __eloop_threshold instead of SYMLOOP_MAX.
26033
26034 * sysdeps/generic/eloop-threshold.h: New file.
26035 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26036 of MAXSYMLINKS.
26037 * elf/chroot_canon.c (chroot_canon): Likewise.
26038
7aab07e4
JM
260392012-08-03 Joseph Myers <joseph@codesourcery.com>
26040
26041 [BZ #13717]
26042 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26043 Change to 2.6.0 everywhere.
26044 * sysdeps/unix/sysv/linux/configure: Regenerated.
26045 * sysdeps/unix/sysv/linux/kernel-features.h
26046 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26047 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26048 kernel versions.
26049 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26050 (__ASSUME_FUTEX_REQUEUE): Remove.
26051 (__ASSUME_STATFS64): Define unconditionally.
26052 (__ASSUME_AT_SECURE): Likewise.
26053 (__ASSUME_CORRECT_SI_PID): Likewise.
26054 (__ASSUME_TGKILL): Define without depending on kernel version for
26055 i386.
26056 (__ASSUME_UTIMES): Likewise.
26057 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26058 kernel version.
26059 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26060 (__ASSUME_TMPFS_NAME): Likewise.
26061 * README: Update reference to Linux kernel versions.
26062
b67e9372
MP
260632012-08-02 Marek Polacek <polacek@redhat.com>
26064
1f529f7d 26065 [BZ# 14150]
b67e9372
MP
26066 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26067 libc_cv_asm_type_prefix with %.
26068 * configure: Regenerated.
d2441631
RM
26069 * include/libc-symbols.h: Remove comment about
26070 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26071 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26072 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26073 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26074 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26075 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26076 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26077 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26078 * elf/tst-unique2mod1.c: Likewise.
26079 * elf/tst-unique1mod2.c: Likewise.
26080 * elf/tst-unique1mod1.c: Likewise.
26081 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26082 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26083 Replace ASM_TYPE_DIRECTIVE with .type.
26084 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26085 * sysdeps/i386/sysdep.h: Likewise.
26086 * sysdeps/x86_64/sysdep.h: Likewise.
26087 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26089 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 26090 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
26091 * sysdeps/powerpc/powerpc32/sysdep.h:
26092 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
26093 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26094 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26095 * sysdeps/i386/fpu/e_powf.S: Likewise.
26096 * sysdeps/i386/fpu/e_expl.S: Likewise.
26097 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26098 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26099 * sysdeps/i386/fpu/e_pow.S: Likewise.
26100 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26101 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26102 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26103 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26104 * sysdeps/i386/fpu/e_log2.S: Likewise.
26105 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26106 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26107 * sysdeps/i386/fpu/e_powl.S: Likewise.
26108 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26109 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26110 * sysdeps/i386/fpu/e_logl.S: Likewise.
26111 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26112 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26113 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26114 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26115 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26116 * sysdeps/i386/fpu/e_log.S: Likewise.
26117 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26118 * sysdeps/i386/fpu/e_logf.S: Likewise.
26119 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26120 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26121 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26122 * sysdeps/i386/fpu/e_log10.S: Likewise.
26123 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26124 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26125 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26126 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26127 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26128 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26129 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26130 * sysdeps/i386/i686/strtok.S: Likewise.
26131 * sysdeps/i386/i386-mcount.S: Likewise.
26132 * sysdeps/i386/strtok.S: Likewise.
26133 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26134 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26135 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26136 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26137 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26138 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26139 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26140 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26141 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26142 * sysdeps/x86_64/_mcount.S: Likewise.
26143 * sysdeps/x86_64/strtok.S: Likewise.
26144 * sysdeps/sh/_mcount.S: Likewise.
26145
2747bf9a
RM
261462012-08-01 Roland McGrath <roland@hack.frob.com>
26147
26148 * libio/iofopen.c: Include <fcntl.h>.
26149 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26150 (_IO_fopen64, fopen64): Define as aliases.
26151 * libio/iofopen64.c: Include <fcntl.h>.
26152 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26153 Conditionalize body on this.
26154 * sysdeps/wordsize-64/iofopen.c: File removed.
26155 * sysdeps/wordsize-64/iofopen64.c: File removed.
26156
3fb791b8
MP
261572012-08-01 Marek Polacek <polacek@redhat.com>
26158
26159 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26160 Use dlfcn directly instead of a variable.
26161 (binfmt-subdir): Do not define.
26162 (dlfcn): Likewise.
26163
a9f1039f
JM
261642012-08-01 Joseph Myers <joseph@codesourcery.com>
26165
23bddc06
JM
26166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26167 Remove all definitions.
26168 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26169 <kernel-features.h>.
26170 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26171 (miss_F_GETOWN_EX): Remove all definitions.
26172 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26173 macro definition.
26174 [!__ASSUME_FCNTL64]: Remove conditional code.
26175 [__ASSUME_FCNTL64]: Make code unconditional.
26176 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26177 <kernel-features.h>.
26178 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26179 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26180 (lockf64) [__NR_fcntl64]: Make code unconditional.
26181 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26182
a9f1039f
JM
26183 * sysdeps/unix/sysv/linux/kernel-features.h
26184 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26185 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26186 Make code unconditional.
26187 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26188 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26190 [__NR_vfork]: Make code unconditional.
26191 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26192 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26194 [__NR_vfork]: Make code unconditional.
26195 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26196 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26197
09c0ee5f
RM
261982012-08-01 Roland McGrath <roland@hack.frob.com>
26199
48aec5b9
RM
26200 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26201 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26202
cd97c966
RM
26203 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26204 Define mkstemp64 as an alias.
3f55550c
RM
26205 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26206 Define mkstemps64 as an alias.
cd97c966
RM
26207 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26208 Define mkostemp64 as an alias.
b8625cfc
RM
26209 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26210 Define mkostemps64 as an alias.
cd97c966
RM
26211 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26212 Conditionalize body on this.
26213 * misc/mkostemp64.c: Likewise.
b8625cfc 26214 * misc/mkostemps64.c: Likewise.
3f55550c 26215 * misc/mkstemps64.c: Likewise.
cd97c966
RM
26216 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26217 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26218 * sysdeps/wordsize-64/mkostemp.c: File removed.
26219 * sysdeps/wordsize-64/mkstemp.c: File removed.
26220 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26221 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26222 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26223 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26224
09c0ee5f
RM
26225 [BZ #14138]
26226 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26227 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26228 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26229 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26230
26231 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26232 compat_symbol macros from <shlib-compat.h> rather than the underlying
26233 default_symbol_version and symbol_version macros, so that DEFAULT
26234 lines in shlib-versions are respected.
26235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26236
7e66ee51
FW
262372012-08-01 Florian Weimer <fweimer@redhat.com>
26238
26239 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26240 Declare with warn_unused_result.
26241 (setgid, setregid, setegid, setresgid): Likewise.
26242 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26243 Likewise.
26244 * WUR-REPORT: Remove set*id functions.
26245
d2a54255
PT
262462012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26247
26248 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26249
7ecdb005
RM
262502012-07-31 Roland McGrath <roland@hack.frob.com>
26251
b4180a5e 26252 [BZ #10191]
789bd351
RM
26253 * include/sys/socket.h (__libc_accept, __libc_accept4):
26254 Add attribute_hidden.
26255 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26256
40ce302d
RM
26257 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26258 use of PTR_MANGLE.
26259 * inet/getnetgrent_r.c (setup): Likewise.
26260
7ecdb005
RM
26261 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26262
e2eabb2c
DM
262632012-07-31 David S. Miller <davem@davemloft.net>
26264
26265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26266
d0419dbf
JM
262672012-07-31 Joseph Myers <joseph@codesourcery.com>
26268
26269 [BZ #13629]
26270 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26271 value between 1.0 and 2.0 and smaller part has absolute value less
26272 than 1.0.
26273 * math/s_clog10.c (__clog10): Likewise.
26274 * math/s_clog10f.c (__clog10f): Likewise.
26275 * math/s_clog10l.c (__clog10l): Likewise.
26276 * math/s_clogf.c (__clogf): Likewise.
26277 * math/s_clogl.c (__clogl): Likewise.
26278 * math/libm-test.inc (clog_test): Add more tests.
26279 (clog10_test): Likewise.
26280 * sysdeps/i386/fpu/libm-test-ulps: Update.
26281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26282
2bc13872
FW
262832012-07-31 Florian Weimer <fweimer@redhat.com>
26284
26285 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26286 Exit with zero in case no suitable GID is found, and write a
26287 message to standard error.
26288
bea9b193
RM
262892012-07-30 Roland McGrath <roland@hack.frob.com>
26290
26291 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26292 rather than to 1.
26293 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26294 (MAXPATHLEN): Removed.
26295 (NOGROUP, NODEV): New macros.
26296 (setbit, clrbit, isset, isclr): New macros.
26297 (howmany, roundup, powerof2): New macros.
26298 (DEV_BSIZE): New macro.
26299
26300 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26301 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26302
26303 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26304 definition on [!__NO_LONG_DOUBLE_MATH].
26305
26306 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26307 PTR_MANGLE and PTR_DEMANGLE.
26308
26309 * socket/accept4.c (accept4): Rename to __libc_accept4.
26310 Define accept4 as a weak alias.
26311
26312 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26313 on [_DIRENT_HAVE_D_TYPE].
26314 * io/ftw.c (ftw_dir): Likewise.
26315
26316 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26317
26318 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26319
26320 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26321 Use the BSD numbers rather than the arbitrary ones we had.
26322 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26323 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26324 (SIGXCPU, SIGXFSZ): New macros.
26325 (_NSIG): Now 32.
26326
26327 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26328 initializer on [_LIBC_REENTRANT].
26329
26330 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26331 definitions inside [_POSIX_MAPPED_FILES].
26332
26333 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26334
26335 * dirent/opendir.c: Include <fcntl.h>.
26336
26337 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26338 (__libc_getspecific): Likewise.
26339 (__libc_key_create): Likewise.
26340
26341 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26342 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26343 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26344 (tmpfile64): Define as alias.
26345 * sysdeps/wordsize-64/tmpfile.c: File removed.
26346 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26347 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26348 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26349
26350 * stdio-common/vfscanf.c: Include <stdbool.h>.
26351 * nss/makedb.c: Likewise.
26352 * stdio-common/_i18n_number.h: Likewise.
26353 * argp/argp-help.c: Likewise.
26354 * posix/wordexp.c: Likewise.
26355 * sysdeps/posix/spawni.c: Likewise.
26356 * nss/nss_files/files-initgroups.c: Likewise.
26357 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26358 * nss/nss_files/files-initgroups.c: Likewise.
26359 * nss/nss_db/db-netgrp.c: Likewise.
26360 * nss/nss_db/db-initgroups.c: Likewise.
26361 * io/fchmodat.c: Include <sys/stat.h>.
26362
26363 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26364 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26365
26366 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26367 [HAVE_MMAP].
26368
26369 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26370 Add multiple inclusion protection.
26371
e5abc686
DM
263722012-07-27 David S. Miller <davem@davemloft.net>
26373
26374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26375
815e6fa3
GB
263762012-07-27 Gary Benson <gbenson@redhat.com>
26377
26378 [BZ #14298]
26379 * elf/rtld.c: Include <stap-probe.h>.
26380 (dl_main): Added static probes "init_start" and "init_complete".
26381 * elf/dl-load.c: Include <stap-probe.h>.
26382 (lose): Take new parameter "nsid".
26383 Added static probe "map_failed".
26384 (_dl_map_object_from_fd): Pass namespace id to lose.
26385 Added static probe "map_start".
26386 (open_verify): Pass namespace id to lose.
26387 * elf/dl-open.c: Include <stap-probe.h>.
26388 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26389 and "reloc_complete".
26390 * elf/dl-close.c: Include <stap-probe.h>.
26391 (_dl_close_worker): Added static probes "unmap_start" and
26392 "unmap_complete".
26393 * elf/rtld-debugger-interface.txt: New file documenting the above.
26394
9f98c16c
RM
263952012-07-26 Roland McGrath <roland@hack.frob.com>
26396
26397 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26398 rather than a string variable.
26399 * sunrpc/rpc_main.c (h_output): Likewise.
26400 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26401
f3c22df3
PT
264022012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26403
26404 * inet/check_native.c: New file.
26405
3129cfc6
JM
264062012-07-26 Joseph Myers <joseph@codesourcery.com>
26407
da865e95
JM
26408 [BZ #13629]
26409 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26410 if larger part has absolute value 1.0.
26411 * math/s_clog10.c (__clog10): Likewise.
26412 * math/s_clog10f.c (__clog10f): Likewise.
26413 * math/s_clog10l.c (__clog10l): Likewise.
26414 * math/s_clogf.c (__clogf): Likewise.
26415 * math/s_clogl.c (__clogl): Likewise.
26416 * math/libm-test.inc (clog_test): Add more tests.
26417 (clog10_test): Likewise.
26418 * sysdeps/i386/fpu/libm-test-ulps: Update.
26419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26420
3129cfc6
JM
26421 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26422 (pltexit): Likewise.
26423 (La_regs): Likewise.
26424 (La_retval): Likewise.
26425 (int_retval): Likewise.
26426 Update #error for removed macros to refer only to definitions in
26427 tst-audit.h.
26428 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26429 macro.
26430 (pltexit): Likewise.
26431 (La_regs): Likewise.
26432 (La_retval): Likewise.
26433 (int_retval): Likewise.
26434 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26435 macro.
26436 (pltexit): Likewise.
26437 (La_regs): Likewise.
26438 (La_retval): Likewise.
26439 (int_retval): Likewise.
26440 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26441 macro.
26442 (pltexit): Likewise.
26443 (La_regs): Likewise.
26444 (La_retval): Likewise.
26445 (int_retval): Likewise.
26446 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26447 macro.
26448 (pltexit): Likewise.
26449 (La_regs): Likewise.
26450 (La_retval): Likewise.
26451 (int_retval): Likewise.
26452 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26453 macro.
26454 (pltexit): Likewise.
26455 (La_regs): Likewise.
26456 (La_retval): Likewise.
26457 (int_retval): Likewise.
26458 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26459 macro.
26460 (pltexit): Likewise.
26461 (La_regs): Likewise.
26462 (La_retval): Likewise.
26463 (int_retval): Likewise.
26464 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26465 macro definitions in tst-audit.h.
26466 * sysdeps/i386/tst-audit.h: New file.
26467 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26468 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26469 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26470 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26471 * sysdeps/sh/tst-audit.h: Likewise.
26472 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26473 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26474 * sysdeps/x86_64/tst-audit.h: Likewise.
26475
bfc07087
AJ
264762012-07-26 Andreas Jaeger <aj@suse.de>
26477
b1b2aaf8
AJ
26478 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26479 ptrace.
26480
26481 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26482 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26483 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26484 PTRACE_O_MASK.
26485 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26486 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26487 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26488
bfc07087
AJ
26489 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26490 value.
26491
26492 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26493 _sigsys.
26494 (si_call_addr, si_syscall, si_arch): Define new macro.
26495 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26496 _sigsys.
26497 (si_call_addr, si_syscall, si_arch): Define new marcro.
26498 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26499 _sigsys.
26500 (si_call_addr, si_syscall, si_arch): Define new macro.
26501 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26502 _sigsys.
26503 (si_call_addr, si_syscall, si_arch): Define new macro.
26504
89b4b02f
JM
265052012-07-25 Joseph Myers <joseph@codesourcery.com>
26506
26507 [BZ #13717]
26508 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26509 Change to 2.4.21 where previously 2.4.1.
26510 * sysdeps/unix/sysv/linux/configure: Regenerated.
26511 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26512 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26513 Linux kernel version.
26514 (__ASSUME_STD_AUXV): Remove.
26515 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26516 kernel version.
26517 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26518 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26519 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26520 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26521 (__ASSUME_NETLINK_SUPPORT): Likewise.
26522 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26523 (__no_netlink_support): Remove conditional definition.
26524 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26525 Remove.
26526 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26527 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26528 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26529 (if_nameindex_ioctl): Remove.
26530 (if_nameindex_netlink): Do not handle __no_netlink_support.
26531 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26532 code.
26533 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26534 Remove conditional code.
26535 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26536 code.
26537 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26538 unconditional.
26539 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26540 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26541 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26542 Remove.
26543 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26544 [!__ASSUME_STD_AUXV]: Remove conditional code.
26545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26546 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26547 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26549 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26550 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26551 code.
26552 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26554 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26555 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26556 conditional code.
26557 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26559 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26560 code.
26561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26562 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26563 conditional code.
26564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26565 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26566 code unconditional.
26567 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26568 conditional code.
26569 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26570 unconditional.
26571 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26572 conditional code.
26573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26574 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26575 unconditional.
26576 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26577 conditional code.
26578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26579 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26580 code unconditional.
26581 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26582 conditional code.
26583 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26584 unconditional.
26585 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26586 conditional code.
26587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26588 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26589 code unconditional.
26590 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26591 conditional code.
26592 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26593 unconditional.
26594 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26595 conditional code.
26596
842a39cd
AS
265972012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26598
26599 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26600 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26601 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26602 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26603 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26604 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26605 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26606 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26607 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26608 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26609 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26610 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26611 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26612 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26613 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26614 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26615 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26616 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26617 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26619 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26620 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26621 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26622
84b3fd84
FW
266232012-07-25 Florian Weimer <fweimer@redhat.com>
26624
26625 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26626 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26627 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26628 Introduce __libc_secure_getenv.
0c7936d5
FW
26629 * stdlib/Versions (2.17): Add secure_getenv
26630 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26631 * stdlib/secure-getenv.c: Rename __secure_getenv to
26632 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26633 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26634 * stdlib/tst-secure-getenv.c: New.
26635 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26636 * manual/startup.texi (Environment Access): Document
26637 secure_getenv.
84b3fd84
FW
26638 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26639 __libc_secure_getenv.
26640 * inet/ruserpass.c (ruserpass): Likewise.
26641 * malloc/mtrace.c (mtrace): Likewise.
26642 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26643 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26644 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26645 * sysdeps/posix/tempname.c: Likewise. Evaluate
26646 HAVE_SECURE_GETENV.
26647 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26648 __secure_getenv to __libc_secure_getenv.
84b3fd84 26649 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26651 Likewise.
26652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26653 Likewise.
26654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26656 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26661
56e49b71
JM
266622012-07-25 Joseph Myers <joseph@codesourcery.com>
26663
26664 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26665 (struct La_i86_retval): Likewise.
26666 (struct La_x86_64_regs): Likewise.
26667 (struct La_x86_64_retval): Likewise.
26668 (struct La_x32_regs): Likewise.
26669 (struct La_x32_retval): Likewise.
26670 (struct La_ppc32_regs): Likewise.
26671 (struct La_ppc32_retval): Likewise.
26672 (struct La_ppc64_regs): Likewise.
26673 (struct La_ppc64_retval): Likewise.
26674 (struct La_sh_regs): Likewise.
26675 (struct La_sh_retval): Likewise.
26676 (struct La_s390_32_regs): Likewise.
26677 (struct La_s390_32_retval): Likewise.
26678 (struct La_s390_64_regs): Likewise.
26679 (struct La_s390_64_retval): Likewise.
26680 (struct La_sparc32_regs): Likewise.
26681 (struct La_sparc32_retval): Likewise.
26682 (struct La_sparc64_regs): Likewise.
26683 (struct La_sparc64_retval): Likewise.
26684 (struct audit_ifaces): Remove architecture-specific pltenter and
26685 pltexit members.
26686 * sysdeps/i386/ldsodefs.h: New file.
26687 * sysdeps/powerpc/ldsodefs.h: Likewise.
26688 * sysdeps/s390/ldsodefs.h: Likewise.
26689 * sysdeps/sh/ldsodefs.h: Likewise.
26690 * sysdeps/sparc/ldsodefs.h: Likewise.
26691 * sysdeps/x86_64/ldsodefs.h: Likewise.
26692
354691b7
MP
266932012-07-25 Marek Polacek <polacek@redhat.com>
26694
26695 [BZ #6808]
26696 * math/libm-test.inc (yn_test): Add another test.
26697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26698 to ERANGE when the result is +-Inf.
26699 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26700 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26701 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26702 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26703
bf9e2071
JM
267042012-07-24 Joseph Myers <joseph@codesourcery.com>
26705
26706 * conform/data/time.h-data (NULL): Use macro-constant. Require
26707 equal to 0.
26708 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26709 clock_t.
26710 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26711
57633811
TS
267122012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26713
26714 * configure.in <sysdeps resolving>: Correct printing
26715 Implies_before.
26716 * configure: Regenerate.
26717
c23c33b0
TS
267182012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26719
26720 * math/w_ilogb.c: Include <limits.h>.
26721 * math/w_ilogbl.c: Likewise.
26722
b5982523
JM
267232012-07-20 Joseph Myers <joseph@codesourcery.com>
26724
26725 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26726 va_copy. Document allowing for unavailable va_copy only as
26727 pre-C99 compatibility.
26728 * manual/string.texi (Copying and Concatenation): Use va_copy
26729 instead of __va_copy in concat example.
26730
ac4ea442
PT
267312012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26732
26733 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26734 (__sendto): Use create_address_port. Initialize APORT and deallocate
26735 it if not null.
26736
f98eafbd
PT
26737 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26738 with O_NOLINK passed to __file_name_lookup.
26739
898c7aab
PT
26740 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26741 with O_NOLINK passed to __file_name_lookup.
26742
0ced335a
PT
26743 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26744 negative N or less than NGIDS.
26745
b3404dbd
PT
26746 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26747 type to string_t. Set ERANGE as errno and return it if NAME is not big
26748 enough. Use memcpy instead of strncpy.
26749
0f48659e
JM
267502012-07-20 Joseph Myers <joseph@codesourcery.com>
26751
26752 * elf/Makefile (check-data): Remove.
26753 (localplt.data): New vpath directive.
26754 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26755 instead of $(check-data).
26756 * scripts/data/localplt-generic.data: Move to ...
26757 * sysdeps/generic/localplt.data: ... here.
26758 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26759 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26760 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26762 ... here.
26763 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26765 ... here.
26766 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26768 ... here.
26769 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26771 ... here.
26772 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26774 ... here.
26775 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26777 ... here.
26778
d37cbdaa
AZ
267792012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26780
26781 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26782 PPC32 and PPC64 files.
26783 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26784 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26785
46f85fc2
AK
267862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26787
26788 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26789 __makecontext_ret to ...
26790 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26791 ... here and call exit if uc_link is NULL. New file.
26792 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26793 __makecontext_ret.S.
26794 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26795 __makecontext_ret to ...
26796 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26797 ... here and call exit if uc_link is NULL. New file.
26798 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26799 __makecontext_ret.S.
26800
08f43f9b
AK
268012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26802
26803 * elf/elf.h (R_390_IRELATIVE): New definition.
26804 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26805 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26806 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26807 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26808 (elf_machine_lazy_rel): Likewise.
26809 * sysdeps/s390/dl-irel.h: New file.
26810 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26811 * sysdeps/s390/s390-64/memset.S: New asm code.
26812 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26813 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26814 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26815 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26816 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26817 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26818 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26819 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26820 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26821 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26822 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26823 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26824 * sysdeps/s390/s390-32/memset.S: New asm code.
26825 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26826
3b05db33
MP
268272012-07-17 Marek Polacek <polacek@redhat.com>
26828
26829 [BZ #14349]
26830 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26831 * sysdeps/s390/s390-64/configure.in: Likewise.
26832 * sysdeps/sparc/configure.in: Likewise.
26833 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26834 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26835 * sysdeps/i386/configure.in: Likewise.
26836 * sysdeps/x86_64/configure.in: Likewise.
26837 * sysdeps/sh/configure.in: Likewise.
26838 * sysdeps/s390/s390-32/configure: Regenerated.
26839 * sysdeps/s390/s390-64/configure: Likewise.
26840 * sysdeps/x86_64/configure: Likewise.
26841 * sysdeps/sh/configure: Likewise.
26842 * sysdeps/powerpc/powerpc64/configure: Likewise.
26843 * sysdeps/powerpc/powerpc32/configure: Likewise.
26844 * sysdeps/sparc/configure: Likwise.
26845 * sysdeps/i386/configure: Likewise.
26846
a66877c6
MP
26847 * elf/dl-open.c: Comment fixes.
26848
cfc82fd8
JM
268492012-07-17 Joseph Myers <joseph@codesourcery.com>
26850
bd29910a
JM
26851 * Makefile [CXX] (check-data): Remove.
26852 [CXX] (c++-types.data): New vpath directive.
26853 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26854 vpath. Do not allow for C++ type data being missing.
26855 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26856 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26857 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26858 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26859 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26860 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26861 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26863 ... here.
26864 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26866 ... here.
26867 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26869 ... here.
26870 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26872 ... here.
26873 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26875 ... here.
26876 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26878 ... here.
26879 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26881 ... here.
26882 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26884
cfc82fd8
JM
26885 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26886 definitions to architecture-specific files.
26887 (TLS_IE): Likewise.
26888 (TLS_LD): Likewise.
26889 (TLS_GD): Likewise.
26890 * sysdeps/i386/tls-macros.h: New file.
26891 * sysdeps/powerpc/tls-macros.h: Likewise.
26892 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26893 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26894 * sysdeps/sh/tls-macros.h: Likewise.
26895 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26896 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26897 * sysdeps/x86_64/tls-macros.h: Likewise.
26898
f7db3170
TS
268992012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26900
07cbfc23
TS
26901 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26902 zero value for regular exit case.
26903
f7db3170
TS
26904 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26905 (__start_context): Preserve zero value for regular exit case.
26906
dc97c227
TS
269072012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26908 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26909
26910 * manual/setjmp.texi (setcontext): Clarify normal process
26911 termination when uc_link is the null pointer.
26912 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26913 exit call.
26914
d0cd7d02
AS
269152012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26916
26917 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26918 preprocessor. Test for each exception mask separately.
26919
dd318934
AJ
269202012-07-16 Andreas Jaeger <aj@suse.de>
26921
26922 * po/ru.po: Update from translation team.
26923
8048311a
JM
269242012-07-15 Joseph Myers <joseph@codesourcery.com>
26925
26926 * conform/data/string.h-data (NULL): Use macro-constant. Require
26927 equal to 0.
26928 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26929 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26930 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26931 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26932 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26933
b637d46e
AJ
269342012-07-13 Andreas Jaeger <aj@suse.de>
26935
26936 * po/fr.po: Update from translation team.
26937
541428fe
MP
269382012-07-12 Marek Polacek <polacek@redhat.com>
26939
26940 [BZ #14173]
26941 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26942 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26943 loop condition.
26944
ec332e94
JM
269452012-07-12 Joseph Myers <joseph@codesourcery.com>
26946
26947 [BZ #13717]
26948 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26949 Change to 2.4.1 where previously 2.4.0.
26950 * sysdeps/unix/sysv/linux/configure: Regenerated.
26951 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26952 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26953 version.
26954 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26955 (__ASSUME_AT_CLKTCK): Remove.
26956 (__ASSUME_AT_PAGESIZE): Likewise.
26957 (__ASSUME_AT_XID): Likewise.
26958 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26959 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26960 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26961 unconditionally.
26962 (HAVE_AUX_PAGESIZE): Likewise.
26963 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26964 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26965 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26966
7b6e99be
JB
269672012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26968
26969 [BZ #14307]
26970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26971 the temporary buffer used to invoke __gethostbyname2_r,
26972 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26973 host_data / struct gaih_addrtuple.
26974 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26975 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26976 header file nss/nsswitch.h.
26977 * nss/nsswitch.h (global scope): Add definition of implementation
26978 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26979 resolv/nss_dns/dns-host.c).
26980
608404eb
AJ
269812012-07-11 Andreas Jaeger <aj@suse.de>
26982
26983 * po/fr.po: Update from translation team.
26984
71220aca
AJ
26985 * po/sv.po: Update from translation team
26986 * po/fr.po: Another update from translation team.
26987
28cfe843
AZ
269882012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26989
26990 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26991 for subnormals or multiply small sinh result by itself.
26992 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26994
6b90f981
DM
269952012-07-11 David S. Miller <davem@davemloft.net>
26996
26997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26998
c6825772
AS
269992012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27000
27001 [BZ #14347]
27002 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27003 (INTERNAL_MARK): Shift it here.
27004
7b8e0d49
MP
270052012-07-10 Marek Polacek <polacek@redhat.com>
27006
27007 [BZ #14151]
27008 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27009 libc_cv_asm_global_directive with .globl.
27010 * configure: Regenerated.
27011 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27012 with .globl.
27013 * sysdeps/i386/configure: Regenerated.
27014 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27015 with .globl.
27016 * sysdeps/x86_64/configure: Regenerated.
27017 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27018 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27019 * elf/tst-unique2mod2.c: Likewise.
27020 * elf/tst-unique2mod1.c: Likewise.
27021 * elf/tst-unique1mod2.c: Likewise.
27022 * elf/tst-unique1mod1.c: Likewise.
27023 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27024 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27025 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27026 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27027 * sysdeps/mach/sysdep.h: Likewise.
27028 * sysdeps/i386/sysdep.h: Likewise.
27029 * sysdeps/i386/i386-mcount.S: Likewise.
27030 * sysdeps/x86_64/_mcount.S: Likewise.
27031 * sysdeps/x86_64/sysdep.h: Likewise.
27032 * sysdeps/sh/_mcount.S: Likewise.
27033 * sysdeps/sh/sysdep.h: Likewise.
27034 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27035 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27036 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27037 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27038 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27039 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27040 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27041 * locale/localeinfo.h: Likewise.
27042 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27043 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27044
6c55cda3
RM
270452012-07-09 Roland McGrath <roland@hack.frob.com>
27046
27047 [BZ #14336]
27048 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27049 system".
27050 * manual/message.texi (The Uniforum approach): Likewise.
27051 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27052 (glibc iconv Implementation): Likewise.
27053
638a572e
JM
270542012-07-09 Joseph Myers <joseph@codesourcery.com>
27055
27056 [BZ #14337]
27057 * math/s_clog.c (__clog): Avoid scaling a value down where that
27058 could result in underflow.
27059 * math/s_clog10.c (__clog10): Likewise.
27060 * math/s_clog10f.c (__clog10f): Likewise.
27061 * math/s_clog10l.c (__clog10l): Likewise.
27062 * math/s_clogf.c (__clogf): Likewise.
27063 * math/s_clogl.c (__clogl): Likewise.
27064 * math/libm-test.inc (clog_test): Add more tests.
27065 (clog10_test): Likewise.
27066 * sysdeps/i386/fpu/libm-test-ulps: Update.
27067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27068
261f4859
AS
270692012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27070
0abaf3e4
AS
27071 [BZ #14283]
27072 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27073 by 7 not 8 to examine high bit of fractional part.
27074
261f4859
AS
27075 [BZ #14042]
27076 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27077 for call to __mcount_internal.
27078 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27079 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27080 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27081
f17ac40d
JM
270822012-07-06 Joseph Myers <joseph@codesourcery.com>
27083
9ad63c23
JM
27084 [BZ #14154]
27085 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27086 approximation for values within 0x1p-13f of an odd multiple of
27087 pi/4.
27088 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27089 exception. Add more tests.
27090 * sysdeps/i386/fpu/libm-test-ulps: Update.
27091
f17ac40d
JM
27092 [BZ #6778]
27093 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27094 inputs and return -1 for them. Do not check for +Inf in case not
27095 reachable for +Inf.
27096 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27097 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27098 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27099 and return -1 for them. Do not check for +Inf in case not
27100 reachable for +Inf.
27101 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27102 define.
27103 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27104 and return -1 for them. Do not check for +Inf in case not
27105 reachable for +Inf.
27106 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27107 spurious underflow.
27108 * sysdeps/i386/fpu/libm-test-ulps: Update.
27109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27110
fb21f89b
MF
271112012-07-06 Mike Frysinger <vapier@gentoo.org>
27112
27113 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27114
cdfe2c5e
JM
271152012-07-05 Joseph Myers <joseph@codesourcery.com>
27116
27117 [BZ #14157]
27118 [BZ #14331]
27119 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27120 could result in spurious underflow. Scale down values above
27121 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27122 * math/s_csqrtf.c (__csqrtf): Likewise.
27123 * math/s_csqrtl.c (__csqrtl): Likewise.
27124 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27125 spurious underflow.
27126 * sysdeps/i386/fpu/libm-test-ulps: Update.
27127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27128
70d35b67
AS
271292012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27130
704bc459
AS
27131 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27132 xopen-msg.sed.
27133 * catgets/xopen-msg.awk: New file.
27134 * catgets/xopen-msg.sed: Removed.
27135
70d35b67
AS
27136 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27137 po2text.sed.
27138 * intl/po2test.awk: New file.
27139 * intl/po2test.sed: Removed.
27140
ca61cf32
JM
271412012-07-04 Joseph Myers <joseph@codesourcery.com>
27142
27143 [BZ #14328]
27144 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27145 or multiply small sinh result by itself.
27146 * math/s_ctanf.c (__ctanf): Likewise.
27147 * math/s_ctanh.c (__ctanh): Likewise.
27148 * math/s_ctanhf.c (__ctanhf): Likewise.
27149 * math/s_ctanhl.c (__ctanhl): Likewise.
27150 * math/s_ctanl.c (__ctanl): Likewise.
27151 * math/libm-test.inc (ctan_test_tonearest): New function.
27152 (ctan_test_towardzero): Likewise.
27153 (ctan_test_downward): Likewise.
27154 (ctan_test_upward): Likewise.
27155 (ctanh_test_tonearest): Likewise.
27156 (ctanh_test_towardzero): Likewise.
27157 (ctanh_test_downward): Likewise.
27158 (ctanh_test_upward): Likewise.
27159 (main): Call these new functions.
27160 * sysdeps/i386/fpu/libm-test-ulps: Update.
27161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27162
ca48a46a
MF
271632012-07-03 Mike Frysinger <vapier@gentoo.org>
27164
27165 * .gitignore: Delete /ports entry.
27166
9d63d37d
AJ
271672012-07-03 Andreas Jaeger <aj@suse.de>
27168
27169 * po/bg.po: Update from translation team.
27170 * po/cs.po: Likewise.
27171 * po/de.po: Likewise.
27172 * po/hr.po: Likewise.
27173 * po/nl.pl: Likewise.
27174 * po/pl.po: Likewise.
27175 * po/vi.po: Likewise.
27176
370ca3d2
JM
271772012-07-03 Joseph Myers <joseph@codesourcery.com>
27178
95f5a9a8
JM
27179 * Makeconfig [!+link] (+link-before-libc): New variable.
27180 [!+link] (+link-after-libc): Likewise.
27181 [!+link] (+link-tests): Likewise.
27182 [!+link] (+link): Define in terms of $(+link-before-libc) and
27183 $(+link-after-libc).
27184 [!+link-static] (+link-static-before-libc): New variable.
27185 [!+link-static] (+link-static-after-libc): Likewise.
27186 [!+link-static] (+link-static-tests): Likewise.
27187 [!+link-static] (+link-static): Define in terms of
27188 $(+link-static-before-libc) and $(+link-static-after-libc).
27189 [build-shared] (link-libc-before-gnulib): New variable.
27190 [build-shared] (link-libc-tests): Likewise.
27191 [build-shared] (link-libc): Define in terms of
27192 $(link-libc-before-gnulib).
27193 [!build-shared] (link-libc-tests): New variable.
27194 (link-libc-static-tests): New variable.
27195 [!gnulib] (gnulib-arch): New variable.
27196 [!gnulib] (gnulib-tests): Likewise.
27197 [!gnulib] (static-gnulib-arch): Likewise.
27198 [!gnulib] (static-gnulib-tests): Likewise.
27199 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27200 Define with "=" instead of ":=".
27201 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27202 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27203 * Rules (binaries-all-notests): New variable.
27204 (binaries-all-tests): Likewise.
27205 (binaries-static-notests): Likewise.
27206 (binaries-static-tests): Likewise.
27207 (binaries-all): Define using $(binaries-all-notests) and
27208 $(binaries-all-tests).
27209 (binaries-static): Define using $(binaries-static-notests) and
27210 $(binaries-static-tests).
27211 (binaries-shared-tests): New variable.
27212 (binaries-shared-notests): Likewise.
27213 (binaries-shared): Remove variable.
27214 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27215 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27216 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27217 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27218 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27219 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27220 * elf/Makefile (sln-modules): New variable.
27221 (extra-objs): Add $(sln-modules:=.o).
27222 (ldconfig-modules): Add static-stubs.
27223 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27224 * elf/static-stubs.c: New file.
27225
7a845b2c
JM
27226 [BZ #14283]
27227 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27228 by 7 not 8 to examine high bit of fractional part. Use volatile
27229 variables when splitting into final array of floats if
27230 __FLT_EVAL_METHOD__ != 0.
27231 * math/libm-test.inc (cos_test): Add another test.
27232 (sin_test): Likewise.
27233 * sysdeps/i386/fpu/libm-test-ulps: Update.
27234
e2283f38
JM
27235 [BZ #14273]
27236 * math/libm-test.inc (cosh_test): Add more tests.
27237
370ca3d2
JM
27238 * version.h (RELEASE): Set to "development".
27239 (VERSION): Set to "2.16.90".
27240
ee9247c3
CD
272412012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27242
27243 * NEWS: Update copyright. Remove last-updated date.
27244 Mention math library bug fixes and timezone data changes.
27245 * README: Mention GNU/Hurd, x32, and HPPA support status.
27246
4648c381
TS
272472012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27248
27249 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27250
aac78a43
AJ
272512012-06-27 Andreas Jaeger <aj@suse.de>
27252
27253 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27254
ed3dbfad
AJ
272552012-06-25 Andreas Jaeger <aj@suse.de>
27256
27257 * sysdeps/s390/fpu/libm-test-ulps: Update.
27258
4d0ee855
AS
272592012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27260 Thomas Schwinge <thomas@codesourcery.com>
27261
27262 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27263 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27264 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27265 fanotify_mark.
27266
af1bce34
TS
272672012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27268
a9fa33ba
TS
27269 * sysdeps/mach/start.c: Remove file.
27270 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27271 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27272 * sysdeps/sh/init-first.c: Likewise.
27273
58f902b8
TS
27274 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27275 registers for frame unwinding purposes, add CFI directives.
27276 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27277 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27278 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27279 Likewise.
27280
1518f58b
TS
27281 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27282 __fortify_fail returning.
27283 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27284
db9b5059
TS
27285 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27286 sysdeps/sh/____longjmp_chk.S.
27287 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27288 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27289 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27290 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27291
967705fe
TS
27292 * sysdeps/sh/abort-instr.h: New file.
27293 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27294 process in case exit returns.
27295
a9def8c4
TS
27296 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27297 initialize the GOT register before use.
27298
2a649725
TS
27299 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27300 calculation of ARGC > 4.
27301
af1bce34
TS
27302 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27303 meaningful names to some local labels.
27304
d230f50a
KK
273052012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27306 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27307
27308 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27309 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27310 (__arch_compare_and_exchange_val_16_acq): Likewise.
27311 (__arch_compare_and_exchange_val_32_acq): Likewise.
27312 (atomic_exchange_and_add): Fix gUSA sequence.
27313 (atomic_add): Likewise.
27314 (atomic_add_negative): Likewise.
27315 (atomic_add_zero): Likewise.
27316 (atomic_bit_test_set): Likewise.
27317
0479b305
AS
273182012-06-22 Andreas Schwab <schwab@redhat.com>
27319
27320 [BZ #13579]
27321 * include/link.h (struct link_map): Add l_free_initfini.
27322 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27323 l_initfini.
27324 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27325 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27326 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27327 set.
27328
0e3933b9
CD
273292012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27330
27331 * configure.in: Use AC_LANG_SOURCE.
27332 * configure: Regenerate.
27333
4248b1b1
RM
273342012-06-22 Roland McGrath <roland@hack.frob.com>
27335
27336 * configure.in (libc_cv_localstatedir): New substituted variable.
27337 * configure: Regenerated.
27338 * config.make.in (localstatedir): New variable, substituted from
27339 libc_cv_localstatedir.
27340 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27341 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27342 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27343 * sysdeps/gnu/configure: Regenerated.
27344
006dd861
JL
273452012-06-21 Jeff Law <law@redhat.com>
27346
27347 [BZ #14277]
27348 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27349 free. Simplify list management for _LIBC case.
27350
79662d42
JM
273512012-06-21 Joseph Myers <joseph@codesourcery.com>
27352
b7abb4bf
JM
27353 [BZ #14273]
27354 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27355 Clear sign bit of 64-bit integer value before comparing against
27356 overflow value.
27357
79662d42
JM
27358 * sysdeps/mach/configure: Regenerated.
27359
1f150908
L
273602012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27361
27362 [BZ #14278]
27363 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27364
28363bbf
JL
273652012-06-21 Jeff Law <law@redhat.com>
27366
27367 [BZ #13882]
27368 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27369 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 27370 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
27371 * elf/dl-open.c (dl_open_worker): Likewise.
27372
09615db4
CD
273732012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27374
27375 * scripts/list-sources.sh: Scan PORTS for translations.
27376 * po/libc.pot: Regenerated.
27377
2174c6dd
AJ
273782012-06-21 Andreas Jaeger <aj@suse.de>
27379
27380 [BZ #12194]
27381 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27382 warning.
27383 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27384 * bits/byteswap-16.h (__bswap_16): Likewise.
27385 * bits/byteswap.h (__bswap_constant_16): Likewise.
27386
3ee947b1
L
273872012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27388
27389 [BZ #14117]
a2f34833
L
27390 * sysdeps/i386/fpu_control.h: Removed.
27391 * sysdeps/x86_64/fpu_control.h: Moved to ...
27392 * sysdeps/x86/fpu_control.h: Here.
27393
3ee947b1
L
27394 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27395 (_FPU_SETCW): Likewise.
27396
ed1825f8
L
273972012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27398
25f1282a
L
27399 [BZ #14117]
27400 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27401 * sysdeps/x86/fpu/bits/mathinline.h: This.
27402 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27403
ed1825f8
L
27404 [BZ #14050]
27405 [BZ #14117]
27406 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27407 functions if __x86_64__ is defined.
27408
36d54b74
CLT
274092012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27410
27411 * string/endian.h: Add !__ASSEMBLER__ condition for including
27412 conversion interfaces.
27413
10285c21
JM
274142012-06-15 Joseph Myers <joseph@codesourcery.com>
27415
27416 [BZ #14241]
27417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27418 of ABS(x) in calculating zero to negative powers other than odd
27419 integers.
27420 * math/libm-test.inc (pow_test): Add more tests.
27421
06c5abbd
AJ
274222012-06-15 Andreas Jaeger <aj@suse.de>
27423
27424 * manual/contrib.texi (Contributors): Update entry of Liubov
27425 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27426 Machado Filho.
27427
a3aeac40
CH
274282012-06-15 Cyril Hrubis <metan@ucw.cz>
27429
27430 * string/string.h: Add __wur to GNU version of strerror_r.
27431
49bdf4c1
L
274322012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27433
27434 [BZ #14229]
27435 * string/Makefile (tests): Add tst-strtok_r.
27436 * string/tst-strtok_r.c: New file.
27437 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27438 RAX_LP/RDX_LP on SAVE_PTR.
27439
834f9b8d
RM
274402012-06-14 Roland McGrath <roland@hack.frob.com>
27441
27442 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27443
75fa1921
JM
274442012-06-14 Joseph Myers <joseph@codesourcery.com>
27445
27446 * libm_test.inc (csqrt_test): Allow more spurious underflow
27447 exceptions.
27448 (j0_test): Likewise.
27449 (j1_test): Likewise.
27450 (y0_test): Likewise.
27451 (y1_test): Likewise.
27452
771766df
CD
274532012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27454
27455 * po/Makefile (libc.pot): Use UTF-8 charset.
27456
ceb9e56b
PP
274572012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27458
27459 [BZ #14210]
27460 Suppress sign-conversion warning from FD_SET.
27461 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27462 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27463 not unsigned long int.
27464 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27465
ddb28975
L
274662012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27467
27468 [BZ #14050]
27469 [BZ #14117]
27470 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27471 __extern_always_inline instead of __extern_inline.
27472 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27473 (__signbit): Likewise.
27474 (__signbitl): Support C++ namespace.
27475 (lrintf): New inline function.
27476 (lrint): Likewise.
27477 (llrintf): Likewise.
27478 (llrint): Likewise.
27479 (fmaxf): Likewise.
27480 (fmax): Likewise.
27481 (fminf): Likewise.
27482 (fmin): Likewise.
27483 (rint): Likewise.
27484 (rintf): Likewise.
27485 (ceil): Likewise.
27486 (ceilf): Likewise.
27487 (floor): Likewise.
27488 (floorf): Likewise.
27489 (nearbyint): Likewise.
27490 (nearbyintf): Likewise.
27491
d7b4fb26
TS
274922012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27493
27494 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27495 non-default versions.
27496
eb55f5c2
RM
274972012-06-11 Roland McGrath <roland@hack.frob.com>
27498
27499 [BZ #14218]
27500 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27501
366af02c
TS
275022012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27503
99ff6e5c
TS
27504 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27505 (FE_UPWARD, FE_DOWNWARD): Don't define.
27506 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27507 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27508
366af02c
TS
27509 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27510 reading it.
27511 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27513
793ea851
KK
275142012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27515
27516 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27518 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27519 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27520
a728a38f
L
275212012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27522
27523 [BZ #14117]
c08010c7
L
27524 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27525 * sysdeps/i386/fpu/Implies: New file.
27526 * sysdeps/x86_64/fpu/Implies: Likewise.
27527 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27528 * sysdeps/x86/fpu/bits/fenv.h: This.
27529
a728a38f
L
27530 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27531 __SSE_MATH__.
27532
6e230d11
SP
275332012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27534
27535 [BZ #14134]
27536 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27537 character 0xffff that matches the last element of the
27538 conversion table.
27539
1b671feb
AZ
275402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27541
27542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27543 fmodl commit.
27544
6043738b
AZ
275452012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27546
27547 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27548 values higher than 25.6283.
27549
34ae0b32
AZ
275502012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27551
27552 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27553 subnormal exponent extraction and add some __builtin_expect.
27554 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27555 Fix for subnormal mantissa calculation.
27556
1214ec8f
MF
275572012-06-04 Mike Frysinger <vapier@gentoo.org>
27558
27559 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27560 cpu2 is -1 and errno is not ENOSYS.
27561
f3d1f93c
L
275622012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27563
27564 [BZ #14117]
0e4a3cd7
L
27565 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27566 * sysdeps/x86/bits/string.h: This.
27567 * sysdeps/x86_64/bits/string.h: Removed.
27568
6704c645
L
27569 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27570 if not compiling for x86-64, but compiling for >= i486.
27571
48495318
L
27572 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27573 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27574
14adcbfc
L
27575 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27576 New macro from Linux kernel 3.4.0.
27577 (FP_XSTATE_MAGIC2): Likewise.
27578 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27579 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27580 (struct _fpx_sw_bytes): New struct.
27581 (struct _xsave_hdr): Likewise.
27582 (struct _ymmh_state): Likewise.
27583 (struct _xstate): Likewise.
27584
68e408ab
L
27585 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27586 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27587 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27588 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27589 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27590 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27591
f3d1f93c
L
27592 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27593 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27594 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27595 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27596 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27597 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27598
d9dc34cd
TMQMF
275992012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27600
27601 [BZ #13743]
27602 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27603 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27604 (sysdep_headers): Include sys/platform/ppc.h.
27605 * sysdeps/powerpc/test-gettimebase.c: Test for
27606 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27607 * manual/Makefile (appendices): Include platform.texi.
27608 * manual/contrib.texi (Contributors): Update @node pointers.
27609 * manual/maint.texi (Maintenance): Likewise.
27610 (Platform): New node.
27611 * manual/platform.texi: New file. Document the new features.
27612
4af3879c
SP
276132012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27614 Jakub Jelinek <jakub@redhat.com>
27615
27616 [BZ #14188]
27617 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27618 where __builtin_expect is unavailable.
27619
2fd6ff13
DM
276202012-06-03 David S. Miller <davem@davemloft.net>
27621
27622 * stdlib/longlong.h: Updated from GCC.
27623
173f7220
AS
276242012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27625
27626 [BZ #14042]
27627 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27628 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27629 __mcount_internal.
27630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27631 (GLIBC_2.16): Likewise.
27632
f34a1c6f
L
276332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27634
27635 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27636
88a4576f
JM
276372012-06-01 Joseph Myers <joseph@codesourcery.com>
27638
ea32bcdd
JM
27639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27640 (default-abi): New variable.
27641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27642 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27643 variable.
27644 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27645 Likewise.
27646 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27647 Likewise.
27648 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27649 Likewise.
27650
88a4576f
JM
27651 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27652 definition. Document in comment.
27653
402fe938
DM
276542012-06-01 David S. Miller <davem@davemloft.net>
27655
27656 * stdlib/longlong.h: Updated from GCC.
27657
3553723f
L
276582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27659
27660 [BZ #14117]
3bd872c4
L
27661 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27662 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27663 sys/debugreg.h sys/io.h here.
27664 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27665 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27666 sys/io.h.
27667 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27668 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27669 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27670 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27671 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27672 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27673
3553723f
L
27674 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27675 Define only if __x86_64__ is defined.
27676
4842e4fe
JM
276772012-06-01 Joseph Myers <joseph@codesourcery.com>
27678
c5bfe3d5
JM
27679 [BZ #14048]
27680 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27681 Use int64_t for variable i.
27682 * math/libm-test.inc (fmod_test): Add more tests.
27683
4842e4fe
JM
27684 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27685 z computation is not scheduled after fetestexcept.
27686 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27687 Use math_force_eval instead of asm to ensure calculation scheduled
27688 before exception test.
27689 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27690 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27691
efb73488
AJ
276922012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27693
27694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27695 computation is not scheduled after fetestexcept.
27696
29bcce7c
L
276972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27698
27699 [BZ #14117]
27700 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27701 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27702
73a68f94
AZ
277032012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27704
27705 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27706 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27707
67b6df78
L
277082012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27709
edf2933a 27710 [BZ #14117]
ebc64a18
L
27711 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27712 <bits/wordsize.h>.
27713 (__WCHAR_MIN): Support __WORDSIZE == 64.
27714 (__WCHAR_MAX): Likewise.
27715
edf2933a
L
27716 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27717 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27718
57c6cf40
L
27719 [BZ #14183]
27720 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27721 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27722
67b6df78 27723 [BZ #14117]
8eb6281e
L
27724 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27725 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27726
aac639f4
L
27727 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27728 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27729
67b6df78
L
27730 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27731 Defined to 1 if __x86_64__ isn't defined.
27732 (_STAT_VER_LINUX_OLD): New.
27733 (st_atime): Remove duplicate.
27734 (st_mtime): Likewise.
27735 (st_ctime): Likewise.
27736
1c2cfe81
DM
277372012-05-31 David S. Miller <davem@davemloft.net>
27738
27739 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27740 entries.
27741
5be8418c
AS
277422012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27743
e7725326
AS
27744 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27745 gen-libm-test.pl.
27746
5be8418c
AS
27747 [BZ #14132]
27748 * elf/dl-reloc.c: Include <_itoa.h>.
27749 (_dl_reloc_bad_type): Remove use of INTUSE.
27750 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27751 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27752 * stdio-common/psiginfo.c (psiginfo): Likewise.
27753 * stdio-common/psignal.c (psignal): Likewise.
27754 * string/strsignal.c (strsignal): Likewise.
27755 * include/signal.h (_sys_siglist): Declare hidden proto.
27756 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27757 INTVARDEF with libc_hidden_data_def.
27758 * stdio-common/itoa-udigits.c: Likewise.
27759 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27760 (_itoa_lower_digits_internal): Remove declaration.
27761 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27762 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27763 (_sys_sigabbrev_internal): Remove aliases.
27764 (_sys_siglist): Define hidden alias.
27765
507352f1
MT
277662012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27767
27768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27769 bits/sysctl.h.
27770
42bbb1c3
L
277712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27772
27773 [BZ #14117]
6bd784b6
L
27774 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27775 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27776
8bca20f0
L
27777 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27778 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27779 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27780 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27781 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27782 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27783
f9e890a9
L
27784 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27785 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27786 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27787
471101a1
L
27788 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27789 with __addr.
27790 (insw): Likewise.
27791 (insl): Likewise.
27792 (outsb): Likewise.
27793 (outsw): Likewise.
27794 (outsl): Likewise.
27795
6451c862
L
27796 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27797 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27798 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27799
a254b8c9
L
27800 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27801 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27802 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27803 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27804 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27805 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27806
b8dfdd92
L
27807 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27808 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27809
578cd270
L
27810 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27811 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27812
de662f5f
L
27813 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27814 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27815 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27816
25653439
L
27817 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27818 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27819 to ...
27820 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27821
6bad24a0
L
27822 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27823 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27824 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27825
42bbb1c3
L
27826 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27827 for x86-64.
27828 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27829
2d10d547
JM
278302012-05-31 Joseph Myers <joseph@codesourcery.com>
27831
27832 * math/math.h (M_El): Use two more decimal places.
27833 (M_LOG2El): Likewise.
27834 (M_LOG10El): Likewise.
27835 (M_LN2l): Likewise.
27836 (M_LN10l): Likewise.
27837 (M_PIl): Likewise.
27838 (M_PI_2l): Likewise.
27839 (M_PI_4l): Likewise.
27840 (M_1_PIl): Likewise.
27841 (M_2_PIl): Likewise.
27842 (M_2_SQRTPIl): Likewise.
27843 (M_SQRT2l): Likewise.
27844 (M_SQRT1_2l): Likewise.
27845
f230c29b
DM
278462012-05-31 David S. Miller <davem@davemloft.net>
27847
27848 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27849 values between float registers.
27850 * sysdeps/sparc/sparc64/memset.S: Likewise.
27851 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27852
fed806c3
MF
278532012-05-31 Mike Frysinger <vapier@gentoo.org>
27854
27855 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27856 -D_FORTIFY_SOURCE=1.
27857 (CPPFLAGS-tst-longjmp_chk.c): Define.
27858 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27859 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27860 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27861 CFLAGS-tst-wchar-h.c.
27862
30917259
MP
278632012-05-31 Marek Polacek <polacek@redhat.com>
27864
27865 [BZ #14132]
27866 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27867 __endmntent_internal): Remove declaration.
27868 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27869 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27870 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27871
1c58d5dc
DM
278722012-05-30 David S. Miller <davem@davemloft.net>
27873
27874 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27875 (___Q_simulate_exceptions): Use real FP ops rather than writing
27876 into the %fsr.
27877 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27878 Likewise.
27879
7dc00e0d
L
278802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27881
27882 [BZ #14117]
0bd53985
L
27883 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27884 * sysdeps/x86/bits/xtitypes.h: This.
27885
3a257e66
L
27886 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27887 * sysdeps/x86/bits/wordsize.h: This.
27888
62f62904
L
27889 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27890 * sysdeps/x86/bits/huge_vall.h: This.
27891
404fe9d9
L
27892 * sysdeps/i386/bits/select.h: Removed.
27893 * sysdeps/x86_64/bits/select.h: Renamed to ...
27894 * sysdeps/x86/bits/select.h: This.
27895
d48d0446
L
27896 * sysdeps/i386/bits/setjmp.h: Removed.
27897 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27898 * sysdeps/x86/bits/setjmp.h: This.
27899
7dc00e0d
L
27900 * sysdeps/i386/bits/mathdef.h: Removed.
27901 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27902 * sysdeps/x86/bits/mathdef.h: This.
27903
03277f8f
AS
279042012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27905
27906 [BZ #14132]
27907 * include/sys/socket.h (__connect_internal)
27908 (__libc_sa_len_internal): Remove declaration.
27909 (__connect, __libc_sa_len): Declare hidden_proto.
27910 (SA_LEN): Remove use of INTUSE.
27911 * socket/connect.c: Add libc_hidden_def.
27912 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27913 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27914 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27915 alias.
27916 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27917 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27918 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27919 of adding _internal alias.
27920
13764867
L
279212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27922
27923 [BZ #14117]
6bd97696
L
27924 * sysdeps/i386/bits/link.h: Removed.
27925 * sysdeps/i386/bits/linkmap.h: Likewise.
27926 * sysdeps/x86_64/bits/link.h: Renamed to ...
27927 * sysdeps/x86/bits/link.h: This.
27928 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27929 * sysdeps/x86/bits/linkmap.h: This.
27930
f726f0bb
L
27931 * sysdeps/i386/bits/endian.h: Removed.
27932 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27933 * sysdeps/x86/bits/endian.h: This.
27934
13764867
L
27935 * sysdeps/i386/bits/byteswap.h: Removed.
27936 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27937 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27938 * sysdeps/x86/bits/byteswap.h: This.
27939 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27940 * sysdeps/x86/bits/byteswap-16.h: This.
27941 * sysdeps/i386/Implies: Add x86.
27942 * sysdeps/x86_64/Implies: Likewise.
27943
ae251b0b
DM
279442012-05-30 David S. Miller <davem@davemloft.net>
27945
27946 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27947 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27948 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27949 (FP_TRAPPING_EXCEPTIONS): Define.
27950 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27951 (FP_TRAPPING_EXCEPTIONS): Define.
27952 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27953 subnormals only when inexact has been signalled or underflow
27954 exceptions are enabled.
27955 (_FP_PACK_CANONICAL): Likewise.
27956
d5c90867
L
279572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27958
27959 [BZ #14183]
27960 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27961 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27962
63f1549e
RH
279632012-05-30 Richard Henderson <rth@twiddle.net>
27964
8d8f2279
RH
27965 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27966 with #ifndef NOT_IN_libc.
27967
63f1549e
RH
27968 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27969 marked to avoid plt entry.
27970
0ab0291b
L
279712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27972
27973 [BZ #14112]
27974 * Makeconfig (default-abi): New macro.
27975 (abi-includes): Likewise.
27976 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27977 $(abi-$(default-abi)-lib-soname) for soname if defined.
27978 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27979 abi-variants.
27980 * Makefile (installed-stubs): Likewise.
27981 * include/stubs-biarch.h: Removed.
27982 * scripts/lib-names.awk: Only handle one library at a time.
27983 * scripts/soversions.awk: Remove WORDSIZE support.
27984 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27985 entries.
27986 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27987 Removed.
27988 (syscall-list-default-condition): Likewise.
27989 (syscall-list-default-condition): Likewise.
27990 (syscall-list-includes): Likewise.
27991 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27992 syscall-list-* with abi-*. Handle undefined abi-variants.
27993 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27994 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27995 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27996 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27997 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27998 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27999 Removed.
28000 (syscall-list-32-options): Likewise.
28001 (syscall-list-32-condition): Likewise.
28002 (syscall-list-64-options): Likewise.
28003 (syscall-list-64-condition): Likewise.
28004 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28005 macro.
28006 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28007 Renamed to ...
28008 (abi-*): This.
28009 (abi-64-ld-soname): New macro.
28010 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28011 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28012 Renamed to ...
28013 (abi-*): This.
28014 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28015 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28016
4da0431d
JM
280172012-05-30 Joseph Myers <joseph@codesourcery.com>
28018
3a85279c
JM
28019 * sysdeps/unix/sysv/linux/kernel-features.h
28020 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28021 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28022 include <kernel-features.h>.
28023 [!__NR_ftruncate64]: Remove conditional code.
28024 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28025 [__NR_ftruncate64]: Make code unconditional.
28026 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28027 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28028 include <kernel-features.h>.
28029 [!__NR_ftruncate64]: Remove conditional code.
28030 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28031 [__NR_ftruncate64]: Make code unconditional.
28032 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28034 include <kernel-features.h>.
28035 [!__NR_ftruncate64]: Remove conditional code.
28036 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28037 [__NR_ftruncate64]: Make code unconditional.
28038 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28040 include <kernel-features.h>.
28041 [!__NR_ftruncate64]: Remove conditional code.
28042 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28043 [__NR_ftruncate64]: Make code unconditional.
28044 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28045
4da0431d
JM
28046 * configure.in (libc_cv_fpie): Weaken to a compile test using
28047 LIBC_TRY_CC_OPTION.
28048 * configure: Regenerated.
28049
11ef492c
AK
280502012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28051
28052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28056 Refreshed.
28057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28063 Refreshed.
28064
d66ef399
DM
280652012-05-27 David S. Miller <davem@davemloft.net>
28066
28067 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28068 (___Q_zero): New.
28069 (__Q_simulate_exceptions): Return void. Change to simulate
28070 exceptions by writing into the %fsr.
28071 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28072 (__Qp_handle_exceptions): Likewise.
28073 (numbers): Delete.
28074 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28075 __Qp_handle_exceptions.
28076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28077 __Qp_handle_exceptions.
28078 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28079 as unused and give dummy FP_RND_NEAREST initializer.
28080 (FP_INHIBIT_RESULTS): Define.
28081 (___Q_simulate_exceptions): Update declaration.
28082 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28083 formatting.
28084 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28085 as unused and give dummy FP_RND_NEAREST initializer.
28086 (__Qp_handle_exceptions): Update declaration.
28087 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28088 formatting.
28089
04fb54b5
TS
280902012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28091
28092 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28093 the temporary FPU control word.
28094 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28095 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28096 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28097 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28098 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28099 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28100 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28101 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28102 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28103 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28104 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28105
3f99608f
KK
281062012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28107
28108 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28109 fields.
28110
65a4de4e
CLT
281112012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28112
28113 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28114 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28115 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28116 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28117 Likewise.
28118 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28119 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28120 Likewise.
28121
15749d40
UD
281222012-05-27 Ulrich Drepper <drepper@gmail.com>
28123
28124 * po/h.po: Update from translation team.
28125
25dbcb27
AS
281262012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28127
3d3f8e55
AS
28128 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28129
25dbcb27
AS
28130 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28131 handling of denormals.
28132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28133 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28134 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28135 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28136 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28138 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28139 Likewise.
28140
7ad47a80 281412012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
28142
28143 [BZ #14152]
28144 * math/libm-test.inc (fma_test): Don't always expect underflow
28145 exception.
28146
9c6ea9fa
SP
281472012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28148
28149 [BZ #12416]
28150 * elf/tst-execstack.c: Include stackinfo.h.
28151 (do_test): Adjust test case to ensure that pthread_getattr_np
28152 behaviour remains the same after marking stack executable.
28153
a8239222
JM
281542012-05-25 Joseph Myers <joseph@codesourcery.com>
28155
28156 * sysdeps/unix/sysv/linux/kernel-features.h
28157 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28158 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28159 kernel-features.h.
28160 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28161 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28162 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28163 kernel-features.h.
28164 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28165 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28166
918b5606
L
281672012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28168
28169 * configure.in: Define the default includes to being none.
28170 * configure: Regenerated.
28171
3a097cc7
RM
281722012-05-25 Roland McGrath <roland@hack.frob.com>
28173
8422c9a5
RM
28174 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28175 * sysdeps/x86_64/setjmp.S: Likewise.
28176 * sysdeps/i386/bsd-setjmp.S: Likewise.
28177 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28178 * sysdeps/i386/setjmp.S: Likewise.
28179 * sysdeps/i386/__longjmp.S: Likewise.
28180 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28181 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28182
3a097cc7
RM
28183 * include/stap-probe.h: New file.
28184 * configure.in: Handle --enable-systemtap.
28185 * configure: Regenerated.
28186 * config.h.in (USE_STAP_PROBE): New #undef.
28187 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28188 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28189 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28190
21708942
JM
281912012-05-25 Joseph Myers <joseph@codesourcery.com>
28192
28193 [BZ #13717]
28194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28195 to 2.4.0 where earlier.
28196 * sysdeps/unix/sysv/linux/configure: Regenerated.
28197 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28198 <kernel-features.h>.
28199 [__ASSUME_32BITUIDS]: Make code unconditional.
28200 [!__ASSUME_32BITUIDS]: Remove conditional code.
28201 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28202 <kernel-features.h>.
28203 [__ASSUME_32BITUIDS]: Make code unconditional.
28204 [!__ASSUME_32BITUIDS]: Remove conditional code.
28205 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28206 [__ASSUME_32BITUIDS]: Make code unconditional.
28207 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28208 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28209 <kernel-features.h>.
28210 [__ASSUME_32BITUIDS]: Make code unconditional.
28211 [!__ASSUME_32BITUIDS]: Remove conditional code.
28212 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28213 <kernel-features.h>.
28214 [__ASSUME_32BITUIDS]: Make code unconditional.
28215 [!__ASSUME_32BITUIDS]: Remove conditional code.
28216 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28217 <kernel-features.h>.
28218 [__ASSUME_32BITUIDS]: Make code unconditional.
28219 [!__ASSUME_32BITUIDS]: Remove conditional code.
28220 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28221 <kernel-features.h>.
28222 [__ASSUME_32BITUIDS]: Make code unconditional.
28223 [!__ASSUME_32BITUIDS]: Remove conditional code.
28224 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28225 <kernel-features.h>.
28226 [__ASSUME_32BITUIDS]: Make code unconditional.
28227 [!__ASSUME_32BITUIDS]: Remove conditional code.
28228 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28229 <kernel-features.h>.
28230 [__ASSUME_32BITUIDS]: Make code unconditional.
28231 [!__ASSUME_32BITUIDS]: Remove conditional code.
28232 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28233 <kernel-features.h>.
28234 [__ASSUME_32BITUIDS]: Make code unconditional.
28235 [!__ASSUME_32BITUIDS]: Remove conditional code.
28236 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28237 <kernel-features.h>.
28238 [__ASSUME_32BITUIDS]: Make code unconditional.
28239 [!__ASSUME_32BITUIDS]: Remove conditional code.
28240 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28241 <kernel-features.h>.
28242 [__ASSUME_32BITUIDS]: Make code unconditional.
28243 [!__ASSUME_32BITUIDS]: Remove conditional code.
28244 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28245 <kernel-features.h>.
28246 [__ASSUME_32BITUIDS]: Make code unconditional.
28247 [!__ASSUME_32BITUIDS]: Remove conditional code.
28248 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28249 <kernel-features.h>.
28250 [__NR_setresgid] (__setresgid): Do not declare.
28251 [__ASSUME_32BITUIDS]: Make code unconditional.
28252 [!__ASSUME_32BITUIDS]: Remove conditional code.
28253 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28254 <kernel-features.h>.
28255 [__NR_setresuid] (__setresuid): Do not declare.
28256 [__ASSUME_32BITUIDS]: Make code unconditional.
28257 [!__ASSUME_32BITUIDS]: Remove conditional code.
28258 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28259 <kernel-features.h>.
28260 [__ASSUME_32BITUIDS]: Make code unconditional.
28261 [!__ASSUME_32BITUIDS]: Remove conditional code.
28262 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28263 <kernel-features.h>.
28264 [__ASSUME_32BITUIDS]: Make code unconditional.
28265 [!__ASSUME_32BITUIDS]: Remove conditional code.
28266 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28267 <kernel-features.h>.
28268 [__ASSUME_32BITUIDS]: Make code unconditional.
28269 [!__ASSUME_32BITUIDS]: Remove conditional code.
28270 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28271 <kernel-features.h>.
28272 [__ASSUME_32BITUIDS]: Make code unconditional.
28273 [!__ASSUME_32BITUIDS]: Remove conditional code.
28274 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28275 <kernel-features.h>.
28276 [__ASSUME_32BITUIDS]: Make code unconditional.
28277 [!__ASSUME_32BITUIDS]: Remove conditional code.
28278 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28279 <kernel-features.h>.
28280 [__ASSUME_32BITUIDS]: Make code unconditional.
28281 [!__ASSUME_32BITUIDS]: Remove conditional code.
28282 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28283 <kernel-features.h>.
28284 [__ASSUME_32BITUIDS]: Make code unconditional.
28285 [!__ASSUME_32BITUIDS]: Remove conditional code.
28286 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28287 <kernel-features.h>.
28288 [__ASSUME_32BITUIDS]: Make code unconditional.
28289 [!__ASSUME_32BITUIDS]: Remove conditional code.
28290 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28291 <kernel-features.h>.
28292 [__ASSUME_32BITUIDS]: Make code unconditional.
28293 [!__ASSUME_32BITUIDS]: Remove conditional code.
28294 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28295 <kernel-features.h>.
28296 [__ASSUME_32BITUIDS]: Make code unconditional.
28297 [!__ASSUME_32BITUIDS]: Remove conditional code.
28298 * sysdeps/unix/sysv/linux/kernel-features.h
28299 (__ASSUME_SETRESUID_SYSCALL): Remove.
28300 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28301 (__ASSUME_32BITUIDS): Likewise.
28302 (__ASSUME_LDT_WORKS): Likewise.
28303 (__ASSUME_O_DIRECTORY): Likewise.
28304 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28305 architecture but not kernel version.
28306 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28307 (__ASSUME_MMAP2_SYSCALL): Likewise.
28308 (__ASSUME_STAT64_SYSCALL): Likewise.
28309 (__ASSUME_IPC64): Likewise.
28310 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28311 <kernel-features.h>.
28312 [__ASSUME_32BITUIDS]: Make code unconditional.
28313 [!__ASSUME_32BITUIDS]: Remove conditional code.
28314 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28315 <kernel-features.h>.
28316 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28317 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28318 132096]: Remove conditional code.
28319 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28320 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28321 <kernel-features.h>.
28322 [__ASSUME_32BITUIDS]: Make code unconditional.
28323 [!__ASSUME_32BITUIDS]: Remove conditional code.
28324 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28325 <kernel-features.h>.
28326 [__ASSUME_32BITUIDS]: Make code unconditional.
28327 [!__ASSUME_32BITUIDS]: Remove conditional code.
28328 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28329 <kernel-features.h>.
28330 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28331 unconditional.
28332 (__setresgid): Do not declare.
28333 [__ASSUME_32BITUIDS]: Make code unconditional.
28334 [!__ASSUME_32BITUIDS]: Remove conditional code.
28335 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28336 <kernel-features.h>.
28337 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28338 unconditional.
28339 (__setresuid): Do not declare.
28340 [__ASSUME_32BITUIDS]: Make code unconditional.
28341 [!__ASSUME_32BITUIDS]: Remove conditional code.
28342 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28343 <kernel-features.h>.
28344 [__ASSUME_32BITUIDS]: Make code unconditional.
28345 [!__ASSUME_32BITUIDS]: Remove conditional code.
28346 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28347 <kernel-features.h>.
28348 [__ASSUME_32BITUIDS]: Make code unconditional.
28349 [!__ASSUME_32BITUIDS]: Remove conditional code.
28350
a386f1cc
RH
283512012-05-25 Richard Henderson <rth@twiddle.net>
28352
28353 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28354 dl_hwcap to ifunc resolver.
28355 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28356 elf_ifunc_invoke.
28357 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28358 dl_hwcap to ifunc resolver.
28359 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28360
b6550497
JM
283612012-05-24 Joseph Myers <joseph@codesourcery.com>
28362
28363 [BZ #14153]
28364 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28365 for |x| <= 2**-26, not 2**-57.
28366 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28367 exception.
28368
b0bc23a1
JL
283692012-05-24 Jeff Law <law@redhat.com>
28370
28371 * stdio-common/Makefile (tests): Add bug25.
28372 * stdio-common/bug25.c: New test.
28373
347c92e9
L
283742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28375
28376 [BZ #13576]
28377 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28378 multiple of MALLOC_ALIGNMENT in size.
28379 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28380
6bcc8b3f
JM
283812012-05-24 Joseph Myers <joseph@codesourcery.com>
28382
28383 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28384 Require >= 256.
28385 (FILENAME_MAX): Use macro-int-constant.
28386 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28387 (_IOFBF): Use macro-int-constant.
28388 (_IOLBF): Likewise.
28389 (_IONBF): Likewise.
28390 (SEEK_CUR): Likewise.
28391 (SEEK_END): Likewise.
28392 (SEEK_SET): Likewise.
28393 (TMP_MAX): Likewise.
28394 (EOF): Use macro-int-constant. Require < 0.
28395 (NULL): Use macro-constant. Require == 0.
28396 (stdin): Require type to be FILE *.
28397 (stdout): Likewise.
28398 (stderr): Likewise.
28399 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28400 macro-int-constant.
28401 (EXIT_SUCCESS): Likewise.
28402 (NULL): Use macro-constant. Require == 0.
28403 (RAND_MAX): Use macro-int-constant.
28404 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28405 [C99-based standards] (strtof): Require function.
28406 [C99-based standards] (strtold): Likewise.
28407 [C99-based standards] (strtoll): Likewise.
28408 [C99-based standards] (strtoull): Likewise.
28409 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28410 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28411 [ISO || ISO99 || ISO11] (math.h): Likewise.
28412 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28413 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28414 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28415
d18ea0c5
AS
284162012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28417
28418 [BZ #14132]
56d25bb8
AS
28419 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28420 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28421 * intl/dgettext.c (DCGETTEXT): Likewise.
28422 * intl/gettext.c (DCGETTEXT): Likewise.
28423 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28424 * posix/regex_internal.h (gettext): Likewise.
28425 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28426 Remove declaration.
28427 * include/argz.h (__argz_count_internal)
28428 (__argz_stringify_internal): Remove declaration.
28429 (__argz_count, __argz_stringify): Declare hidden proto.
28430 * intl/dcgettext.c: Remove use of INTDEF.
28431 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28432 * string/argz-stringify.c: Likewise.
28433 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28434 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28435 Declare hidden proto.
d18ea0c5
AS
28436 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28437 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28438 Declare hidden proto.
28439 * include/stdio.h (__asprintf_internal): Don't declare.
28440 (__asprintf): Don't define as macro. Declare hidden proto.
28441 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28442 (__fsetlocking): Declare hidden proto.
28443 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28444 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28445 hidden proto.
28446 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28447 (_IO_setlinebuf): Remove use of INTUSE.
28448 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28449 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28450 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28451 Remove declaration.
28452 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28453 (_IO_do_flush): Remove use of INTUSE.
28454 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28455 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28456 (_IO_adjust_column, _IO_least_wmarker)
28457 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28458 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28459 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28460 (_IO_default_doallocate, _IO_wdefault_doallocate)
28461 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28462 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28463 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28464 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28465 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28466 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28467 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28468 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28469 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28470 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28471 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28472 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28473 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28474 proto.
28475 (_IO_flush_all_internal, _IO_adjust_column_internal)
28476 (_IO_default_uflow_internal, _IO_default_finish_internal)
28477 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28478 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28479 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28480 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28481 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28482 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28483 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28484 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28485 (_IO_file_close_internal, _IO_file_close_it_internal)
28486 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28487 (_IO_file_init_internal, _IO_file_attach_internal)
28488 (_IO_file_fopen_internal, _IO_file_read_internal)
28489 (_IO_file_sync_internal, _IO_file_seek_internal)
28490 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28491 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28492 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28493 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28494 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28495 (_IO_list_all_internal, _IO_link_in_internal)
28496 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28497 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28498 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28499 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28500 (_IO_do_write_internal, _IO_padn_internal)
28501 (_IO_getline_info_internal, _IO_getline_internal)
28502 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28503 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28504 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28505 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28506 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28507 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28508 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28509 with libc_hidden_ver, remove use of INTUSE.
28510 * libio/genops.c: Likewise.
28511 * libio/freopen.c: Likewise.
28512 * libio/freopen64.c: Likewise.
28513 * libio/iofclose.c: Likewise.
28514 * libio/iofdopen.c: Likewise.
28515 * libio/iofflush.c: Likewise.
28516 * libio/iofflush_u.c: Likewise.
28517 * libio/iofgets.c: Likewise.
28518 * libio/iofgets_u.c: Likewise.
28519 * libio/iofopen.c: Likewise.
28520 * libio/iofopncook.c: Likewise.
28521 * libio/iofread.c: Likewise.
28522 * libio/iofread_u.c: Likewise.
28523 * libio/ioftell.c: Likewise.
28524 * libio/iofwrite.c: Likewise.
28525 * libio/iogetline.c: Likewise.
28526 * libio/iogets.c: Likewise.
28527 * libio/iogetwline.c: Likewise.
28528 * libio/iopadn.c: Likewise.
28529 * libio/iopopen.c: Likewise.
28530 * libio/ioseekoff.c: Likewise.
28531 * libio/ioseekpos.c: Likewise.
28532 * libio/iosetbuffer.c: Likewise.
28533 * libio/iosetvbuf.c: Likewise.
28534 * libio/ioungetc.c: Likewise.
28535 * libio/ioungetwc.c: Likewise.
28536 * libio/iovdprintf.c: Likewise.
28537 * libio/iovsprintf.c: Likewise.
28538 * libio/iovsscanf.c: Likewise.
28539 * libio/memstream.c: Likewise.
28540 * libio/obprintf.c: Likewise.
28541 * libio/oldfileops.c: Likewise.
28542 * libio/oldiofclose.c: Likewise.
28543 * libio/oldiofdopen.c: Likewise.
28544 * libio/oldiofopen.c: Likewise.
28545 * libio/oldiopopen.c: Likewise.
28546 * libio/oldstdfiles.c: Likewise.
28547 * libio/putc.c: Likewise.
28548 * libio/setbuf.c: Likewise.
28549 * libio/setlinebuf.c: Likewise.
28550 * libio/stdfiles.c: Likewise.
28551 * libio/strops.c: Likewise.
28552 * libio/vasprintf.c: Likewise.
28553 * libio/vscanf.c: Likewise.
28554 * libio/vsnprintf.c: Likewise.
28555 * libio/vswprintf.c: Likewise.
28556 * libio/wfiledoalloc.c: Likewise.
28557 * libio/wfileops.c: Likewise.
28558 * libio/wgenops.c: Likewise.
28559 * libio/wmemstream.c: Likewise.
28560 * libio/wstrops.c: Likewise.
28561 * libio/__fpurge.c: Likewise.
28562 * libio/__fsetlocking.c: Likewise.
28563 * assert/assert.c: Likewise.
28564 * debug/fgets_chk.c: Likewise.
28565 * debug/fgets_u_chk.c: Likewise.
28566 * debug/fread_chk.c: Likewise.
28567 * debug/fread_u_chk.c: Likewise.
28568 * debug/gets_chk.c: Likewise.
28569 * debug/obprintf_chk.c: Likewise.
28570 * debug/vasprintf_chk.c: Likewise.
28571 * debug/vdprintf_chk.c: Likewise.
28572 * debug/vsnprintf_chk.c: Likewise.
28573 * debug/vsprintf_chk.c: Likewise.
28574 * malloc/mtrace.c: Likewise.
28575 * misc/error.c: Likewise.
28576 * misc/syslog.c: Likewise.
28577 * stdio-common/asprintf.c: Likewise.
28578 * stdio-common/fxprintf.c: Likewise.
28579 * stdio-common/getw.c: Likewise.
28580 * stdio-common/isoc99_fscanf.c: Likewise.
28581 * stdio-common/isoc99_scanf.c: Likewise.
28582 * stdio-common/isoc99_vfscanf.c: Likewise.
28583 * stdio-common/isoc99_vscanf.c: Likewise.
28584 * stdio-common/isoc99_vsscanf.c: Likewise.
28585 * stdio-common/printf-prs.c: Likewise.
28586 * stdio-common/printf_fp.c: Likewise.
28587 * stdio-common/printf_fphex.c: Likewise.
28588 * stdio-common/printf_size.c: Likewise.
28589 * stdio-common/putw.c: Likewise.
28590 * stdio-common/scanf.c: Likewise.
28591 * stdio-common/sprintf.c: Likewise.
28592 * stdio-common/tmpfile.c: Likewise.
28593 * stdio-common/vfprintf.c: Likewise.
28594 * stdio-common/vfscanf.c: Likewise.
28595 * stdlib/strfmon_l.c: Likewise.
28596 * sunrpc/openchild.c: Likewise.
28597 * sunrpc/xdr_stdio.c: Likewise.
28598 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28599 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28600
d6c33fda
RM
286012012-05-24 Roland McGrath <roland@hack.frob.com>
28602
c1487492
RM
28603 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28604
28605 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28606 in the third column, to generate for the shared library an IFUNC
28607 that uses _dl_vdso_vsym.
28608 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28609 * Makeconfig (object-suffixes-noshared): New variable.
28610
28611 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28612 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28613 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28614 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28615
d6c33fda
RM
28616 [BZ #14132]
28617 * include/sys/time.h (__gettimeofday): Remove macro.
28618 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28619 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28620 Remove INTDEF.
28621 (__gettimeofday): Add libc_hidden_def.
28622 (gettimeofday): Add libc_hidden_weak.
28623 * sysdeps/mach/gettimeofday.c: Likewise.
28624 * sysdeps/posix/gettimeofday.c: Likewise.
28625 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28626 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28627 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28628 (__gettimeofday_internal): Remove strong_alias.
28629 (__gettimeofday): Add libc_hidden_def.
28630 (gettimeofday): Add libc_hidden_weak.
28631 * sysdeps/unix/syscalls.list (gettimeofday):
28632 Remove __gettimeofday_internal alias.
28633
b5a2bbe6
L
286342012-05-24 Daniel Jacobowitz <drow@false.org>
28635 H.J. Lu <hongjiu.lu@intel.com>
28636
28637 [BZ #12495]
28638 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28639 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28640 (largebin_index_32_big): New.
28641 (largebin_index): Use it for 16-byte alignment.
28642 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28643 correction with front_misalign.
28644
cfba4fda
L
286452012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28646
7f907421
L
28647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28649 Likewise.
28650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28651 Likewise.
28652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28653 Likewise.
28654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28655 Likewise.
28656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28657 Likewise.
28658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28659 Likewise.
28660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28661 Likewise.
28662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28663 Likewise.
28664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28665 Likewise.
28666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28667 Likewise.
28668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28669 Likewise.
28670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28671 Likewise.
28672
cfba4fda
L
28673 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28674 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28675
80bad0cc
JM
286762012-05-24 Joseph Myers <joseph@codesourcery.com>
28677
7a25eb06
JM
28678 [BZ #10846]
28679 [BZ #14036]
28680 * math/libm-test.inc (exp_test): Add test from bug 14036.
28681 (pow_test): Add test from bug 10846.
28682
795405f9
JM
28683 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28684 and other flags.
28685 (special_function): Do not include flags in test name.
28686 (parse_args): Likewise.
28687 * sysdeps/i386/fpu/libm-test-ulps: Update.
28688 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28689 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28690 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28692
80bad0cc
JM
28693 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28694 exceptions.
28695 * math/libm-test.inc ("Philosophy"): Update comment about
28696 exception testing.
28697 (UNDERFLOW_EXCEPTION): New macro.
28698 (UNDERFLOW_EXCEPTION_OK): Likewise.
28699 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28700 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28701 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28702 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28703 (INVALID_EXCEPTION_OK): Update value.
28704 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28705 (OVERFLOW_EXCEPTION_OK): Likewise.
28706 (IGNORE_ZERO_INF_SIGN): Likewise.
28707 (test_exceptions): Handle underflow exceptions.
28708 (acos_test): Update for underflow exception expectations.
28709 (cexp_test): Likewise.
28710 (clog_test): Likewise.
28711 (clog10_test): Likewise.
28712 (csqrt_test): Likewise.
28713 (ctan_test): Likewise.
28714 (ctanh_test): Likewise.
28715 (exp_test): Likewise.
28716 (exp10_test): Likewise.
28717 (exp2_test): Likewise.
28718 (expm1_test): Likewise.
28719 (fma_test): Likewise.
28720 (j0_test): Likewise.
28721 (jn_test): Likewise.
28722 (nexttoward_test): Likewise.
28723 (pow_test): Likewise.
28724 (scalbn_test): Likewise.
28725 (scalbln_test): Likewise.
28726 (tan_test): Likewise.
28727 (y1_test): Likewise.
28728 * sysdeps/i386/fpu/libm-test-ulps: Update.
28729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28730
9e0e3d0b
DM
287312012-05-23 David S. Miller <davem@davemloft.net>
28732
28733 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28734 (__libc_sigaction): Remove unused local variables.
28735
ccd0a08f
L
287362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28737
28738 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28739
62bdf9a6
PE
287402012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28741
f8591f80
PE
28742 mktime: avoid signed integer overflow
28743 * time/mktime.c (__mktime_internal): Do not mishandle the case
28744 where diff == INT_MIN.
28745
94c7d826
PE
28746 mktime: simplify computation of average
28747 * time/mktime.c (ranged_convert): Use new time_t_avg function
28748 instead of rolling our own (probably-slower) code.
28749
ce73d683
PE
28750 mktime: do not assume signed right shift propagates sign bit
28751 * time/mktime.c (isdst_differ): New static function.
28752 (__mktime_internal): No need to normalize tm_isdst now.
28753 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28754 tm_isdst values.
28755
72a22e59
PE
28756 mktime: merge another wrapv change from gnulib
28757 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28758 from some compilers.
28759
68605433
PE
28760 mktime: remove incorrect attempt at unusual arithmetics
28761 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28762 The code didn't really work on such machines anyway.
28763 (TYPE_MINIMUM): Assume two's complement.
28764 (twos_complement_arithmetic): Verify that long_int and time_t
28765 are two's complement (or unsigned, in the latter case).
28766
03cf7fe3
PE
28767 mktime: check signed shifts on long_int and time_t, too
28768 * time/mktime.c (SHR): Check that shifts work as desired
28769 on the types long_int and time_t too, as SHR is used on
28770 such types.
28771
f04dfbc2
PE
28772 mktime: do not assume 'long' is wide enough
28773 * time/mktime.c (verify): Move decl up.
28774 (long_int): New type.
28775 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28776 to remove assumption in the code that 'long' is wide enough to
28777 store year values. This assumption is not true on x32 and on
28778 some non-glibc platforms.
28779
62bdf9a6
PE
28780 mktime: merge wrapv change from gnulib
28781 * time/mktime.c (WRAPV): New macro.
28782 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28783 (guess_time_tm, __mktime_internal): Do not assume that signed
28784 integer overflow wraps around; modern compilers generate code
28785 where this assumption is no longer valid.
28786
5e292e4f
L
287872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28788
28789 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28790 Replace "jmp L(pseudo_end)" with "ret".
28791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28792 Likewise.
28793
8caf8c87
AJ
287942012-05-23 Andreas Jaeger <aj@suse.de>
28795
28796 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28797 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28798
1a09dc56
AJ
287992012-05-23 Andreas Jaeger <aj@suse.de>
28800 Maximilian Attems <max@stro.at>
28801
28802 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28803 New macros.
28804
1c87aba0
L
288052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28806
28807 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28808 code so that pseudo_end is just ret and the stack pointer is
28809 correct also for static library in error case.
28810
40e45bd5
JM
288112012-05-23 Joseph Myers <joseph@codesourcery.com>
28812
c2670533
JM
28813 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28814 move to syscalls.list.
28815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28819
40e45bd5
JM
28820 * manual/install.texi (Running make install): Do not mention Linux
28821 kernel version for which pt_chown is not needed.
28822 (Linux): Do not mention problems with nscd with 2.0 kernels.
28823 * INSTALL: Regenerated.
28824
be08eda5
AJ
288252012-05-23 Andreas Jaeger <aj@suse.de>
28826
28827 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28828 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28829 macro.
28830 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28831 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28832 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28833 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28834 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28835 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28836 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28837 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28838 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28839 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28840 * sysdeps/unix/sysv/linux/bits/in.h
28841 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28842
a6a056bb
RM
288432012-05-22 Roland McGrath <roland@hack.frob.com>
28844
28845 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28846 (PREPARE_VERSION): Just use assert instead, it will be elided
28847 under [NDEBUG] anyway.
28848
c9009328
L
288492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28850
28851 * sysdeps/unix/sysv/linux/Makefile: Include
28852 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28853 (sysdep_routines): Remove sysctl.
c9009328
L
28854 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28855 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28856 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28857 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28858 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28859
73338355
AJ
288602012-05-22 Andreas Jaeger <aj@suse.de>
28861
28862 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28863 that pseudo_end is just ret and the stack pointer is correct also
28864 for static library in error case.
28865
d44638b0
PP
288662012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28867
28868 [BZ #14122]
28869 * nss/nsswitch.c (defconfig_entries): New variable.
28870 (__nss_database_lookup): Don't leak defconfig entries.
28871 (nss_parse_service_list): Don't leak on error paths.
28872 (free_database_entries): New function.
28873 (free_defconfig): New function.
28874 (free_mem): Move common code to free_database_entries.
28875
31a39bd8
L
288762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28877
da0331a8
L
28878 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28879 Add arch_prctl.
28880 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28881
31a39bd8
L
28882 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28883 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28885 New macro.
28886 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28887 (INTERNAL_SYSCALL_TYPES): Likewise.
28888 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28889 (LOAD_REGS_TYPES_[1-6]): Likewise.
28890 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28891 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28892
45470df3
AZ
288932012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28894
28895 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28896 copysignl for GLIBC_2_0.
28897 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28898 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28900 logbl for GLIBC_2_0.
28901 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28902 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28903
98a61bcb
L
289042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28905
a4f6e481
L
28906 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28907 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28908
f63d5db6
L
28909 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28910 Use "neg %eax".
28911
98a61bcb
L
28912 * time/mktime.c: Update copyright years.
28913
95770f14
PE
289142012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28915
6226efbd
PE
28916 mktime: merge comment-quoting-style change from gnulib
28917 * time/mktime.c: Quote 'like this' in comments.
28918 The GNU coding standards suggest that we no longer quote `like this',
28919 as "`" and "'" are typically rendered asymmetrically nowadays.
28920 The typical gnulib style is to quote 'like this' when quoting
28921 code, and "like this" when quoting English.
28922
b99e4f78
PE
28923 * time/mktime.c (compile-command): Add "-I.".
28924
643e01e6
PE
28925 mktime: merge mktime-internal.h change from gnulib
28926 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28927
2554247d
PE
28928 mktime: merge time_r change from gnulib
28929 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28930
826dd0ab
PE
28931 mktime: merge DEBUG change from gnulib
28932 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28933 case system <time.h> has a #define.
28934
bd83aabe
PE
28935 mktime: merge <sys/types.h> change from gnulib
28936 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28937 since <time.t> is now guaranteed to define time_t.
28938
95770f14
PE
28939 mktime: merge HAVE_CONFIG_H change from gnulib
28940 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28941
5e1a27a9
L
289422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28943
0e44a77e
L
28944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28945 Use "neg %eax".
28946
5e1a27a9
L
28947 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28948 __rlim_t cast.
28949 (struct rusage): Use anonymous union to pad each field to
28950 __syscall_slong_t.
28951
46259bec
DM
289522012-05-21 David S. Miller <davem@davemloft.net>
28953
28954 * Makefules (o-iterator): Remove .s cases.
28955 (compile-command.s): Delete.
28956 (COMPILE.s): Delete.
28957 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28958
59f0c22e
JM
289592012-05-21 Joseph Myers <joseph@codesourcery.com>
28960
28961 * configure.in (libc_cv_predef_stack_protector): Only consider
28962 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28963 * configure: Regenerated.
28964
20c07380
L
289652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28966
bbb3154b
L
28967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28968 New macro. Use R*LP on int and pointer.
28969 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28970 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28971 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28972 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28973
20c07380
L
28974 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28975 [__WORDSIZE_TIME64_COMPAT32] instead of
28976 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28977 (struct utmp): Likewise.
28978 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28979 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28980 Renamed to ...
28981 (__WORDSIZE_TIME64_COMPAT32): This.
28982 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28983 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28984 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28985 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28986 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28987 (__WORDSIZE_TIME64_COMPAT32): New macro.
28988
d8d1017e
AJ
289892012-05-21 Andreas Jaeger <aj@suse.de>
28990
28991 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28992 only if [SHARED]. Add prototype for __wcschr_ia32.
28993
6c7fb145
RM
289942012-05-21 Roland McGrath <roland@hack.frob.com>
28995
28996 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28997 of %rbp unmolested in the jmp_buf while mangling the low bits.
28998 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28999 unmolested high bits of %rbp while demangling the low bits.
29000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29001
66274218
AJ
290022012-05-21 Andreas Jaeger <aj@suse.de>
29003
07c58f8f
AJ
29004 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29005 * sunrpc/svc_simple.c: Use it for registerrpc.
29006 * sunrpc/xcrypt.c: Use it for passwd2des.
29007
66274218
AJ
29008 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29009
61f65140
L
290102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29011
29012 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29013 Don't define if [__SYSCALL_WORDSIZE != 32].
29014 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29015 New macro.
29016
5fefb436
AJ
290172012-05-21 Bruno Haible <bruno@clisp.org>
29018 Andreas Jaeger <aj@suse.de>
29019
29020 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29021 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29022 inptr and inend for must_buffer_ch.
29023 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29024 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29025 * stdio-common/Makefile (tests): Remove bug15.
29026 (bug15-ENV): Remove macro.
29027 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29028 anymore.
29029
d8e272ab
AJ
290302012-05-19 Andreas Jaeger <aj@suse.de>
29031 Roland McGrath <roland@hack.frob.com>
29032
29033 * manual/contrib.texi: Completely rewritten. It contains now an
29034 alphabetical list of contributors and their contributions.
29035
4a56a162
RH
290362012-05-21 Richard Henderson <rth@twiddle.net>
29037
29038 * misc/getauxval.c (__getauxval): Use unsigned long int.
29039 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29040 (getauxval): Use unsigned long int.
29041
d024d23c
L
290422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29043
29044 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29045
cbc00a03
RM
290462012-05-21 Roland McGrath <roland@hack.frob.com>
29047
29048 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29049 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29050 __alignof__ (long double).
29051
478143fa
AZ
290522012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29053
29054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29055
c7683a6d
RH
290562012-05-20 Richard Henderson <rth@twiddle.net>
29057
29058 * misc/getauxval.c: New file.
29059 * misc/sys/auxv.h: New file.
29060 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29061 (routines): Add getauxval.
29062 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29063 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29064 * elf/dl-sysdep.c (_dl_auxv): Remove.
29065 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29066 * elf/dl-support.c (_dl_auxv): New variable.
29067 (_dl_aux_init): Initialize it.
29068 * manual/startup.texi (Auxiliary Vector): New node.
29069 * sysdeps/generic/bits/hwcap.h: New file.
29070 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29071 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29072 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29073 * sysdeps/sparc/sysdep.h: ... here. Include it.
29074 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29075 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29077 Update.
c7683a6d
RH
29078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29086
a6f1845d
AZ
290872012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29088
29089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29090
cbcbe830
DM
290912012-05-19 David S. Miller <davem@davemloft.net>
29092
29093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29094
e0b16cc2
JM
290952012-05-19 Joseph Myers <joseph@codesourcery.com>
29096
29097 [BZ #14123]
29098 * math/s_ccosh.c: Include <float.h>
29099 (__ccosh): Avoid internal overflow calculating sinh and cosh
29100 values before multiplying by sin and cos values.
29101 * math/s_ccoshf.c: Likewise.
29102 * math/s_ccoshl.c: Likewise.
29103 * math/s_csin.c: Likewise.
29104 * math/s_csinf.c: Likewise.
29105 * math/s_csinl.c: Likewise.
29106 * math/s_csinh.c: Likewise.
29107 * math/s_csinhf.c: Likewise.
29108 * math/s_csinhl.c: Likewise.
29109 * math/libm-test.inc (ccos_test): Add more tests.
29110 (ccosh_test): Likewise.
29111 (csin_test): Likewise.
29112 (csinh_test): Likewise.
29113 * sysdeps/i386/fpu/libm-test-ulps: Update.
29114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29115
6ad13e08
L
291162012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29117
f66f0ce8
L
29118 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29119 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29120
6ad13e08
L
29121 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29122
b1d072a7
JM
291232012-05-19 Joseph Myers <joseph@codesourcery.com>
29124
29125 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29126 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29127 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29128 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29129 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29130 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29131 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29132 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29133 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29134 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29135 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29136 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29137 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29138 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29139 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29140 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29141 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29142 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29143 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29144 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29145 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29146 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29147 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29148 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29149 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29150 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29151 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29152 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29153 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29154 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29155 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29156
9eae47cb
AJ
291572012-05-18 Andreas Jaeger <aj@suse.de>
29158
29159 * csu/.gitignore: Delete.
29160
bb07f69f
L
291612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29162
29163 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29164 (timex): Use __syscall_slong_t.
29165
e6bdb741
AJ
291662012-05-18 Andreas Jaeger <aj@suse.de>
29167 Carlos O'Donell <carlos_odonell@mentor.com>
29168
29169 * manual/install.texi (Configuring and compiling): Update
29170 description about files modified in the source directory.
d6c33fda 29171 * INSTALL: Regenerated.
e6bdb741 29172
1b74487e
L
291732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29174
29175 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29176 value. Use "or" to set return value to -1.
29177 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29178 negate return value.
29179
a88b64b9
TMQMF
291802012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29181
57f41c40
AS
29182 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29183 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
29184 failure if the compiler has Graphite support disabled.
29185 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29186 Likewise.
57f41c40
AS
29187 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29188 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
29189 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29190 Likewise.
29191
3707636e
L
291922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29193
610b8622
L
29194 * sysdeps/x86_64/x32/_itoa.h: New file.
29195
7cd195df
L
29196 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29197 getdents system call only if kernel and user dirents have the
29198 same d_ino and d_off.
29199
94b07d20
L
29200 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29201 LLONG_MAX != LONG_MAX.
29202 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29203 (_fitoa_word): Likewise.
29204
18298070
L
29205 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29206 years.
29207 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29208 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29209 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29210
553c7ea4
L
29211 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29212 include <bits/wordsize.h>. Check __x86_64__ instead of
29213 __WORDSIZE.
29214 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29215 if __x86_64__ is defined. Use anonymous union on fpstate.
29216
3707636e
L
29217 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29218 anonymous union.
29219
b53ef01a
AS
292202012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29221
37fb1dc0
AS
29222 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29223 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29224 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29225 Refer to _rtld_local_ro instead of _rtld_global_ro.
29226 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29227 Likewise.
29228 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29229 Likewise.
29230 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29231 Likewise.
29232 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29233 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29234 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29235
b53ef01a
AS
29236 * sysdeps/powerpc/powerpc32/dl-machine.c
29237 (__elf_machine_runtime_setup) [PROF]: Don't reference
29238 _dl_prof_resolve.
29239
7a185db2
AJ
292402012-05-18 Andreas Jaeger <aj@suse.de>
29241
29242 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29243 function only available for GCCs before 3.4 since GCC 3.4
29244 introduced a builtin.
29245 (lrint): Likewise.
29246 (llrintf): Likewise.
29247 (llrint): Likewise.
29248 (fmaxf): Likewise.
29249 (fmax): Likewise.
29250 (fminf): Likewise.
29251 (fmin): Likewise.
29252 (rint): Likewise.
29253 (rintf): Likewise.
29254 (nearbyint): Likewise.
29255 (nearbyintf): Likewise.
29256 (ceil): Likewise.
29257 (ceilf): Likewise.
29258 (floor): Likewise.
29259 (floorf): Likewise.
29260
3e5aef87
L
292612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29262
428bd707
L
29263 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29264 on both fields and cast pointer to __syscall_ulong_t.
29265
3e5aef87
L
29266 * bits/types.h (__fsword_t): New type.
29267 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29268 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29270 (__FSWORD_T_TYPE): Likewise.
29271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29272 (__FSWORD_T_TYPE): Likewise.
29273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29274 (__FSWORD_T_TYPE): Likewise.
29275 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29276 (__FSWORD_T_TYPE): Likewise.
29277 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29278 __SWORD_TYPE with __fsword_t.
29279 (statfs64): Likewise.
29280
1ba7c3dc
DM
292812012-05-17 David S. Miller <davem@davemloft.net>
29282
29283 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29284
59910343
AJ
292852012-05-17 Andreas Jaeger <aj@suse.de>
29286
29287 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29288 warning.
29289
2e4c1e9e
L
292902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29291
29292 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29293
de7f5ce7
AJ
292942012-05-17 Andreas Jaeger <aj@suse.de>
29295
29296 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29297 when it is used.
29298
286abc3d
CM
292992012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29300
29301 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29302
477cc68e
L
293032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29304
29305 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29306 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29307
1a0994f5
CD
293082012-05-17 Andreas Jaeger <aj@suse.de>
29309 Carlos O'Donell <carlos_odonell@mentor.com>
29310
29311 [BZ #14059]
29312 * sysdeps/x86_64/multiarch/init-arch.h
29313 (bit_YMM_Usable): Rename to...
29314 (bit_AVX_Usable): ... this.
29315 (bit_FMA4_Usable): New macro.
29316 (bit_XMM_state): New macro.
29317 (bit_YMM_state): New macro.
29318 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29319 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29320 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29321 (CPUID_OSXSAVE): New macro.
29322 (CPUID_AVX): New macro.
29323 (CPUID_FMA4): New macro.
29324 (index_YMM_Usable): Rename to...
29325 (index_AVX_Usable): ... this.
29326 (HAS_AVX): Use HAS_ARCH_FEATURE.
29327 (HAS_FMA4): Likewise.
29328 (HAS_YMM_USABLE): Remove.
29329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29330 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29331 are present.
29332 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29333 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29334 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29335 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29336 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29337
0af797de
CM
293382012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29339
29340 * math/libm-test.c: Support platforms without multiple rounding modes.
29341 * math/bug-nextafter.c: Support platforms without FP exceptions.
29342 * math/bug-nexttoward.c: Likewise.
29343 * math/test-fenv.c: Likewise.
29344 * math/test-misc.c: Likewise.
29345 * stdlib/bug-getcontext.c: Likewise.
29346
e39745ff
AJ
293472012-05-17 Andreas Jaeger <aj@suse.de>
29348
29349 * manual/examples/search.c (critter_cmp): Change signature to
29350 avoid warnings.
29351 * manual/string.texi (Collation Functions): Likewise.
29352
48970aba
L
293532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29354
29355 * bits/types.h: Fold copyright years.
29356 * bits/typesizes.h: Likewise.
29357 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29358 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29359 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29360 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29361 * time/time.h: Likewise.
29362
bedee953
PP
293632012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29364
29365 [BZ #208]
29366 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29367 in instead of returning them. Return void.
29368 (__libc_mallinfo): Accumulate over all arenas.
29369 (__malloc_stats): Adjust for change in int_mallinfo interface.
29370
61653dfb
RM
293712012-05-16 Roland McGrath <roland@hack.frob.com>
29372
30b99d79
RM
29373 [BZ #10375]
29374 * configure.in (NM): Add AC_CHECK_TOOL for it.
29375 (libc_extra_cflags): New substituted variable.
29376 Check for -fstack-protector being used implicitly.
29377 * configure: Regenerated.
29378 * config.make.in (config-extra-cflags): New variable,
29379 gets @libc_extra_cflags@.
29380 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29381
61653dfb
RM
29382 [BZ #10375]
29383 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29384 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29385 * configure: Regenerated.
29386 * config.make.in (CPPUNDEFS): New substituted variable.
29387 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29388 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29389 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29390
661768bb
L
293912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29392
29393 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29394 (mq_attr): Use __syscall_slong_t.
29395
d4261567
L
293962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29397
29398 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29399 Check __x86_64__ instead of __WORDSIZE.
29400 (_STAT_VER_LINUX): Likewise.
29401 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29402 __syscall_ulong_t and __syscall_slong_t.
29403 (stat64): Likewise.
29404
cf3ff365
L
294052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29406
29407 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29408
76cf3e4d
L
294092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29410
29411 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29412
a637753a
L
294132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29414
29415 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29416 __syscall_ulong_t.
29417
d5e05119
L
29418 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29419 include <bits/wordsize.h>. Check __x86_64__ instead of
29420 __WORDSIZE.
29421 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29422 defined.
29423 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29424
f62ee380
L
29425 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29426 include <bits/wordsize.h>. Check __x86_64__ instead of
29427 __WORDSIZE.
29428 (user_regs_struct): Use "__extension__ unsigned long long"
29429 instead of "unsigned long" if __x86_64__ is defined.
29430 (user): Likewise. Pad after pointer field if __ILP32__ is
29431 defined.
29432
4e124ced
JM
294332012-05-16 Joseph Myers <joseph@codesourcery.com>
29434
6a3951a0
JM
29435 * configure.in (makeinfo): Require version 4.5 or later. Allow
29436 versions 5 to 9.
29437 * configure: Regenerated.
29438 * manual/install.texi (texinfo): Increase version requirement to
29439 4.5 or later.
29440 * INSTALL: Regenerated.
29441
4e124ced
JM
29442 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29443
953ca31a
L
294442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29445
29446 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29447
617aca05
L
29448 * sysdeps/x86_64/x32/ffs.c: New file.
29449
5762f7ae
L
29450 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29451 __syscall_ulong_t.
29452 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29453 defined. Use __syscall_ulong_t.
29454 (shminfo): Use __syscall_ulong_t.
29455 (shm_info): Likewise.
29456
a26b6856
L
29457 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29458 __syscall_ulong_t.
29459
cb2b9ef7
L
29460 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29461 <bits/wordsize.h>.
29462 (msgqnum_t): Use __syscall_ulong_t.
29463 (msglen_t): Likewise.
29464 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29465 __syscall_ulong_t.
29466
34683bb0
L
29467 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29468 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29469
84a68786
L
29470 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29471
48baa5f1
L
29472 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29473 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29474
180be88b
L
29475 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29476 __syscall_slong_t.
29477
5e90c8ad
L
29478 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29479 include <bits/wordsize.h>. Check __x86_64__ instead of
29480 __WORDSIZE.
29481
23dfb58b
L
29482 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29483 "unsigned long long int" if __x86_64__ is defined.
29484 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29485
ce5d54b0
L
29486 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29487 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29488 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29489
13dc9eac
L
29490 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29491 <stdint.h>.
29492 (GET_PC): Cast to uintptr_t first.
29493 (GET_FRAME): Likewise.
29494 (GET_STACK): Likewise.
29495
a7895d15
L
29496 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29497 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29498 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29499 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29500 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29501 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29502 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29503 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29504 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29505 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29506 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29507 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29508 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29509 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29510 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29511 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29512 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29513 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29514 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29515 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29516 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29517 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29518 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29519 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29520 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29521 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29522 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29523 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29524 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29525
656416c9
AS
295262012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29527
5bd66283
AS
29528 * Makerules (+depfiles): Also collect depfiles from .oS in
29529 $(extra-objs).
29530 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29531 .oS, $(libnldbl-routines)).
29532
656416c9
AS
29533 * Makerules (native-compile-mkdep-flags): Define.
29534 * sunrpc/Makefile (extra-objs): Add $(addprefix
29535 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29536 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29537 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29538 calling $(make-target-directory).
29539
a46f2169
L
295402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29541
29542 * bits/types.h (__snseconds_t): Removed.
29543 * time/time.h (struct timespec): Replace __snseconds_t with
29544 __syscall_slong_t.
29545 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29546 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29547 Likewise.
29548 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29549 (__SNSECONDS_T_TYPE): Likewise.
29550 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29551 (__SNSECONDS_T_TYPE): Likewise.
29552 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29553 (__SNSECONDS_T_TYPE): Likewise.
29554
6af6528b
L
295552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29556
29557 * sysdeps/mach/hurd/bits/typesizes.h
29558 (__SYSCALL_SLONG_TYPE): New macro.
29559 (__SYSCALL_ULONG_TYPE): Likewise.
29560
de986b56
L
295612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29562
29563 * bits/types.h (__syscall_slong_t): New type.
29564 (__syscall_ulong_t): Likewise.
29565
29566 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29567 (__SYSCALL_ULONG_TYPE): Likewise.
29568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29569 (__SYSCALL_SLONG_TYPE): Likewise.
29570 (__SYSCALL_ULONG_TYPE): Likewise.
29571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29572 (__SYSCALL_SLONG_TYPE): Likewise.
29573 (__SYSCALL_ULONG_TYPE): Likewise.
29574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29575 (__SYSCALL_SLONG_TYPE): Likewise.
29576 (__SYSCALL_ULONG_TYPE): Likewise.
29577
85736dc7
L
295782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29579
29580 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29581 Add sigaltstack-offsets.sym.
29582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29583 <sigaltstack-offsets.h>.
29584 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29585 longjmp_msg pointer.
29586 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29587 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29588 signal stack.
29589 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29590
cc03b296
JM
295912012-05-15 Joseph Myers <joseph@codesourcery.com>
29592
a9538892
JM
29593 * elf/stackguard-macros.h: Remove file.
29594 * sysdeps/generic/stackguard-macros.h: New file.
29595 * sysdeps/i386/stackguard-macros.h: Likewise.
29596 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29597 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29598 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29599 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29600 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29601 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29602 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29603 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29604 <elf/stackguard-macros.h>.
29605
cc03b296
JM
29606 [BZ #14109]
29607 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29608 __aligned__ in attribute.
29609 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29610 (gregset_t): Likewise.
29611
93171016
L
296122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29613
29614 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29615 * sysdeps/x86_64/64/Implies-after: Here. New file.
29616 * sysdeps/x86_64/x32/Implies-after: New file.
29617
d86813a0
L
296182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29619
29620 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29621 and access return value for _dl_profile_fixup. Use R10_LP to
29622 load frame size.
29623
2953ec75
L
296242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29625
29626 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29627
3b550e9e
L
296282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29629
29630 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29631 * sysdeps/x86_64/x32/sysdep.h: New file.
29632
eda41706
L
296332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29634
29635 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29636 * sysdeps/x86_64/setjmp.S: Likewise.
29637
9ea01d93
AZ
296382012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29639
29640 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29641 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29642 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29643 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29644 remove unused global constant.
29645
02a91938
CM
296462012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29647
29648 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29649 include of <not-cancel.h>.
29650
6540185f
RM
296512012-05-15 Roland McGrath <roland@hack.frob.com>
29652
29653 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29654
509072a0
AJ
296552012-05-15 Jeff Law <law@redhat.com>
29656 Andreas Jaeger <aj@suse.de>
29657
29658 [BZ #13594]
29659 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29660 out from...
29661 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29662 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29663 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29664 code changing __hst_map_handle.map.
29665
ba75122d
RM
296662012-05-15 Roland McGrath <roland@hack.frob.com>
29667
29668 * configure.in (sysnames): Look for Implies-before and Implies-after
29669 files.
29670 * configure: Regenerated.
29671
890d8bd8
L
296722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29673
29674 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29675 8-byte data alignment with LP_SIZE alignment.
29676
f6ee6623
L
296772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29678
29679 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29680 into R10_LP.
29681
ea2626f6
L
296822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29683
29684 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29685
085f715e
L
296862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29687
29688 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29689 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29690 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29691 Likewise.
29692 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29693
be8498fc
L
296942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29695
29696 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29697 (stackinfo_sub_sp): Likewise.
29698
70bc83b9
L
296992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29700
29701 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29702 RAX_LP.
29703
9bc0b730
L
297042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29705
29706 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29707 into R*_LP.
29708
6d2850e7
L
297092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29710
29711 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29712 sizes into R*_LP.
29713
3cb84561
L
297142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29715
29716 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29717
54e2ed81
L
297182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29719
29720 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29721 into R11_LP and load __x86_64_shared_cache_size_half into
29722 R8_LP.
29723
8a17f349
L
297242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29725
29726 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29727 R8_LP.
29728
777b1eea
AZ
297292012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29730
29731 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29732 logb for POWER7.
29733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29734 logbf for POWER7.
29735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29736 logbl for POWER7.
29737 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29738 powerpc32/power7/fpu/s_logb.c via #include.
29739 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29740 powerpc32/power7/fpu/s_logbf.c via #include.
29741 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29742 powerpc32/power7/fpu/s_logbl.c via #include.
29743
d20d4ac2
JM
297442012-05-15 Joseph Myers <joseph@codesourcery.com>
29745
29746 * README.libm: Remove file.
29747
6cdef1ab
L
297482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29749
29750 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29751 count for x32. Use R*_LP and omit operand-size suffix.
29752
0b254d8f
L
297532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29754
29755 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29756 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29757 * sysdeps/x86_64/x32/shlib-versions: New file.
29758
ceb809dc
RM
297592012-05-14 Roland McGrath <roland@hack.frob.com>
29760
29761 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29762 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29763 Use _dl_fatal_printf instead.
29764
37f1abd4
JM
297652012-05-14 Joseph Myers <joseph@codesourcery.com>
29766
29767 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29768 set if not set by the user. Do not allow for being unset.
29769 * sysdeps/unix/sysv/linux/configure: Regenerated.
29770
11de3a33
L
297712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29772
29773 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29774 the `q' suffix from lea and replace .quad with ASM_ADDR.
29775
e02f153a
L
297762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29777
29778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29779 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29780 instead of $17.
29781 (PTR_DEMANGLE): Likewise.
29782
520ae0fd
L
297832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29784
29785 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29786 (LP_OP): Likewise.
29787 (ASM_ADDR): Likewise.
29788 (RAX_LP): Likewise.
29789 (RBP_LP): Likewise.
29790 (RBX_LP): Likewise.
29791 (RCX_LP): Likewise.
29792 (RDI_LP): Likewise.
29793 (RSI_LP): Likewise.
29794 (RSP_LP): Likewise.
29795 (R8_LP): Likewise.
29796 (R9_LP): Likewise.
29797 (R10_LP): Likewise.
29798 (R10_LP): Likewise.
29799 (R11_LP): Likewise.
29800 (R12_LP): Likewise.
29801 (R13_LP): Likewise.
29802 (R14_LP): Likewise.
29803 (R15_LP): Likewise.
29804
b985be81
L
298052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29806
29807 * sysdeps/x86_64/x32/dl-machine.h: New file.
29808
6a4888ff
AJ
298092012-05-14 Andreas Jaeger <aj@suse.de>
29810
29811 * manual/Makefile (subdir): Remove export of subdir.
29812 (all): Remove target.
29813 (.PHONY): Remove all from list.
29814 (mkinstalldirs): Remove.
29815 (.PHONY): Remove installdirs from list.
29816 ($(inst_infodir)/libc.info): Use make-target-directory.
29817 (installdirs): Remove.
29818 (subdir_%): Remove.
29819 (glibc-targets): Remove.
29820 (lib): Remove.
29821 (stubs): Remove.
29822 ($(objpfx)stubs ../po/manual.pot): Remove.
29823 ($(objpfx)stamp%): Remove.
29824 (make-target-directory): Remove.
29825 (subdir_install): Remove.
29826 (routines): Remove.
29827 (aux): Remove.
29828 (sources): Remove.
29829 (objects): Remove.
29830 (headers): Remove.
29831
29832 [BZ #13750]
29833 * manual/.gitignore: Remove, it's not needed anymore.
29834 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29835 all files in it.
29836 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29837 directory.
29838 (texis): Renamed to $(objpfx)texis.
29839 (texis-path): New, contains path to generated files.
29840 (chapters.%): Use texis-path for complete path, add extra argument
29841 libc-texinfo.sh.
29842 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29843 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29844 (summary,texi, stamp-summary): Use complete path of
29845 files. Generate files in build dir.
29846 (dir-add.texi): Build in build dir.
29847 (libm-err.texi,stamp-libm-err): Likewise.
29848 (version.texi, stamp-version): Likewise.
29849 (.%c.texi): Likewise.
29850 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29851 (mostlyclean): Remove target.
29852 (realclean): Remove target.
29853 (generated): Add new variable with contents from mostlyclean and
29854 realclean, remove entries duplicated in common-mostlyclean, add
29855 stamp-libm-err and stamp-version.
29856 (generated-dirs): Add libc directory.
29857 ($(inst_infodir)/libc.info): Install files from build dir.
29858
29859 * manual/install.texi (Configuring and compiling): Adjust since
29860 the info files are not part of the tar ball anymore.
29861
7ac77294
AJ
298622012-05-14 Andreas Jaeger <aj@suse.de>
29863
29864 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29865 variable.
29866
ffb7875d
JM
298672012-05-14 Joseph Myers <joseph@codesourcery.com>
29868
29869 [BZ #13717]
29870 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29871 to 2.2.0 where earlier.
29872 * sysdeps/unix/sysv/linux/configure: Regenerated.
29873 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29874 Remove conditional code.
29875 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29876 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29877 Remove conditional code.
29878 [!__NR_lchown]: Likewise.
29879 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29880 [__NR_lchown]: Likewise.
29881 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29882 comment referencing __ASSUME_LCHOWN_SYSCALL.
29883 * sysdeps/unix/sysv/linux/i386/sigaction.c
29884 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29885 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29886 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29887 Remove conditional code.
29888 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29889 (__protocol_available): Remove #if 0 code.
29890 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29891 conditional code.
29892 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29893 * sysdeps/unix/sysv/linux/kernel-features.h
29894 (__ASSUME_GETCWD_SYSCALL): Don't define.
29895 (__ASSUME_REALTIME_SIGNALS): Likewise.
29896 (__ASSUME_PREAD_SYSCALL): Likewise.
29897 (__ASSUME_PWRITE_SYSCALL): Likewise.
29898 (__ASSUME_POLL_SYSCALL): Likewise.
29899 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29900 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29901 non-SPARC.
29902 (__ASSUME_SIOCGIFNAME): Don't define.
29903 (__ASSUME_MSG_NOSIGNAL): Likewise.
29904 (__ASSUME_SENDFILE): Define unconditionally.
29905 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29906 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29907 conditional code.
29908 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29909 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29910 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29911 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29912 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29913 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29914 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29916 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29919 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29922 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29923 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29925 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29926 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29928 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29929 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29931 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29932 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29934 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29935 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29937 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29939 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29940 Remove conditional code.
29941 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29942 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29943 Remove conditional code.
29944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29945 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29946 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29947 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29948 Remove conditional code.
29949 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29950 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29951 Remove conditional code.
29952 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29953 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29954 Remove conditional code.
29955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29956 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29957 Remove conditional code.
29958 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29959 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29960 Remove conditional code.
29961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29962 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29963 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29965 * sysdeps/unix/sysv/linux/sigaction.c
29966 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29967 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29968 * sysdeps/unix/sysv/linux/sigpending.c
29969 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29970 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29971 * sysdeps/unix/sysv/linux/sigprocmask.c
29972 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29973 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29974 * sysdeps/unix/sysv/linux/sigsuspend.c
29975 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29976 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29977 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29978 (__libc_missing_rt_sigs): Remove.
29979 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29980 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29981 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29982 Remove conditional code.
29983 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29984 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29985 return 1.
29986 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29987 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29988 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29989 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29990
1bfb7291
AJ
299912012-05-14 Andreas Jaeger <aj@suse.de>
29992
caae5a81
AJ
29993 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29994 it's not used in glibc.
29995 (__coshm1): Likewise.
29996 (__acosh1p): Likewise.
29997 (__sgn): Likewise.
29998
1bfb7291
AJ
29999 * manual/string.texi (Copying and Concatenation): Add missing
30000 variable in concat example.
30001 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30002
c044d724
L
300032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30004
144c5467 30005 [BZ #14103]
c044d724
L
30006 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30007 __builtin_clzl with __builtin_clzll.
30008
2523c62b
L
300092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30010
30011 [BZ #14104]
30012 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30013 libc_freeres_ptr.
30014
d7bb4c42
LD
300152012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30016
30017 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30018 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30019 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30020 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30021
9dc4e1fb
MF
300222012-05-14 Mike Frysinger <vapier@gentoo.org>
30023
30024 * NEWS: Update ia64 info.
30025
c7df0112
AS
300262012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30027
30028 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30029 used as bcopy.
30030
dc70356c
TS
300312012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30032
30033 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30034 * sysdeps/unix/syscalls.list (dup3): Likewise.
30035 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30036 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30037
9fb1a21f
L
300382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30039
30040 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30041 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30042
4822a2a5
L
300432012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30044
30045 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30046 thread pointer.
30047 (TLS_IE): Use mov/add instead of movq/addq to load thread
30048 pointer.
30049 (TLS_GD_PREFIX): New.
30050 (TLS_GD): Use it.
30051
842b81d6
DM
300522012-05-11 David S. Miller <davem@davemloft.net>
30053
30054 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30055 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30056 (_FPU_SETCW): Likewise.
30057
1cf463cd
L
300582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30059
30060 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30061 is 32-byte aligned.
30062
60cc4a18
AS
300632012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30064
30065 [BZ #11837]
30066 * iconvdata/gb18030.c: Update tables.
30067 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30068 characters specially.
30069 (BODY for TO_LOOP): Add encoding of missing ranges.
30070
febb44a4
TS
300712012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30072
30073 [BZ #13673]
30074 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30075 * sysdeps/mach/hurd/dup3.c: Likewise.
30076 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30077 * sysdeps/powerpc/memmove.c:: Likewise.
30078
0a10fb9e
L
300792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30080
30081 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30082 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30083
df8a552f
L
300842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30085
30086 * elf/elf.h (R_X86_64_RELATIVE64): New.
30087 (R_X86_64_NUM): Updated.
30088 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30089 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30090 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30091 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30092 tst-quad1pie tst-quad2pie
30093 (modules-names): Add tst-quadmod1 tst-quadmod2.
30094 ($(objpfx)tst-quad1): New dependency.
30095 ($(objpfx)tst-quad2): Likewise.
30096 ($(objpfx)tst-quad1pie): Likewise.
30097 ($(objpfx)tst-quad2pie): Likewise.
30098 * sysdeps/x86_64/tst-quad1.c: New file.
30099 * sysdeps/x86_64/tst-quad1pie.c: New file.
30100 * sysdeps/x86_64/tst-quad2.c: Likewise.
30101 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30102 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30103 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30104 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30105 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30106
f34d6f84
ST
301072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30108
f42d41d1
ST
30109 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30110 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30111 * streams/stropts.h (t_scalar_t): Define type.
30112
3c3571fc
ST
30113 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30114 (_PATH_PRESERVE): Set to "/var/lib".
30115 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30116
61f06bd3
ST
30117 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30118 instead of int.
30119
918d4d71
ST
30120 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30121 if __dir_mkfile succeeded.
30122
f34d6f84
ST
30123 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30124 checking for _hurd_dtablesize. Unlock it right after having
30125 finished _hurd_dtable allocation.
30126
10589b4a
TS
301272012-05-10 Thomas Schwinge <thomas@schwinge.name>
30128
674cdbc7
TS
30129 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30130 * sysdeps/mach/hurd/configure: Regenerated.
30131 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30132 special-casing to...
30133 * sysdeps/gnu/configure.in: ... this new file.
30134 * sysdeps/unix/sysv/linux/configure: Regenerated.
30135 * sysdeps/gnu/configure: New generated file.
30136
8e41b99f
TS
30137 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30138 for Linux: use nsec instead of usec, as well as:
30139 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30140 members of type struct timespec.
30141 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30142 New macros.
30143 (struct stat64): Likewise.
30144 (_STATBUF_ST_NSEC): New macro.
30145 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30146
10589b4a
TS
30147 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30148 __strtoul_internal rather than strtoul.
30149
63643c85
PT
301502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30151
30152 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30153 and reject them.
30154
3faebe6a
ST
301552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30156
30157 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30158 which preserves existing values.
30159 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30160
c6474b07
PT
301612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30162
30163 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30164 TIMEOUT values. Return EINVAL for NFDS values either negative or
30165 greater than FD_SETSIZE.
30166
1043890b
ST
301672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30168
30169 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30170 allocated, call __vm_protect to finish enabling the existing space, and
30171 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30172 allocate the remainder.
30173
37ed8b9b
PT
301742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30175
30176 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30177 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30178
db653660
ST
301792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30180
37ed8b9b
PT
30181 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30182 sysdeps/mach/hurd/readlink.c.
b29d4053 30183
db653660
ST
30184 * posix/tst-sysconf.c (posix_options): Only use
30185 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30186 _POSIX_SYNCHRONIZED_IO when they are defined
30187 * sysdeps/mach/hurd/bits/posix_opt.h:
30188 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30189 (_XOPEN_REALTIME): Undefine macro.
30190 (_XOPEN_REALTIME_THREADS): Undefine macro.
30191 (_XOPEN_SHM): Undefine macro.
30192 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30193 macro to -1.
30194 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30195 macro to -1.
30196 (_POSIX_ASYNC_IO): Undefine macro.
30197 (_POSIX_PRIORITIZED_IO): Undefine macro.
30198 (_POSIX_SPIN_LOCKS): Define macro to -1.
30199
ee16e894
ST
30200 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30201 SA_NODEFER, SA_RESETHAND.
30202 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30203 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30204 F_DUPFD_CLOEXEC.
30205
6103ae3b
TS
302062012-05-10 Thomas Schwinge <thomas@schwinge.name>
30207
30208 * elf/Makefile (pldd-modules): Define unconditionally.
30209
80b4e5f3
TS
302102012-05-10 Thomas Schwinge <thomas@schwinge.name>
30211
30212 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30213
edadcbd6
ST
302142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30215
30216 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30217 Return ENOENT when name is empty.
30218 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30219
80694780
TS
302202012-05-10 Thomas Schwinge <thomas@schwinge.name>
30221
1792c087
TS
30222 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30223
80694780
TS
30224 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30225
6b645f0d
ST
302262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30227
80694780
TS
30228 Fix mlock in all cases except non-readable pages.
30229 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30230 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 30231
6b645f0d
ST
30232 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30233 (__mkdir): When path is `/', just fail with EEXIST.
30234 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30235
e468f8a3
TS
302362012-05-10 Thomas Schwinge <thomas@schwinge.name>
30237
30238 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30239 <sys/uio.h> (for writev).
30240 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30241 and <sys/param.h> (for MIN).
30242
a4186cff
PT
302432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30244
30245 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30246 REQUESTED_TIME. Properly set the remaining time and return EINTR
30247 if interrupted.
30248
510bbf14
TS
302492012-05-10 Thomas Schwinge <thomas@schwinge.name>
30250
30251 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30252 Depend on against $(link-rpcuserlibs).
30253
5d5722e8
ST
302542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30255
a4186cff
PT
30256 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30257 (__libc_stack_end): Do not use attribute_relro.
30258 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30259 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 30260 to libthread-provided value.
a4186cff
PT
30261 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30262 attribute_relro.
5d5722e8 30263
37233df9
TS
302642012-05-10 Thomas Schwinge <thomas@schwinge.name>
30265
be971a2b
TS
30266 [BZ #3748]
30267 * bits/libc-lock.h (__libc_once_get): New macro.
30268 * sysdeps/mach/bits/libc-lock.h: Likewise.
30269 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30270 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30271 instead of using implementation details.
30272
37233df9
TS
30273 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30274 * libio/freopen.c: Likewise.
30275 * libio/freopen64.c: Likewise.
30276 * misc/syslog.c: Likewise.
30277 * nscd/connections.c: Likewise.
30278 * nscd/netgroupcache.c: Likewise.
30279 * sysdeps/posix/getcwd.c: Likewise.
30280
38de94a5
RM
302812012-05-10 Roland McGrath <roland@hack.frob.com>
30282
30283 * math/w_ilogbf.c: Add #include <limits.h>.
30284
67530489
ST
302852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30286
a4186cff 30287 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
30288 path instead of returning without unlocking.
30289
67530489
ST
30290 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30291 immediate-write ioctls.
30292 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30293
5aa3a74a
TS
302942012-05-10 Thomas Schwinge <thomas@schwinge.name>
30295
18bad2ae
TS
30296 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30297 __builtin_frame_address instead of making assumptions about the
30298 location of the return address relative to DATA. Force early load of
30299 the return address.
30300 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30301 __builtin_frame_address.
30302
5aa3a74a
TS
30303 dup3 for GNU Hurd.
30304 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30305 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30306 implement dup3 and do some further code clean-ups.
30307 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30308 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30309
ecd0de9a
ST
303102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30311
cd9fa985
ST
30312 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30313
a4186cff
PT
30314 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30315 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30316 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30317 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30318 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30319 d->port.lock.
802ca5a5 30320
a4186cff
PT
30321 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30322 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30323 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 30324
bcf55240
TS
303252012-05-10 Thomas Schwinge <thomas@schwinge.name>
30326
6960eb42
TS
30327 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30328 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30329 definitions.
30330
eb43375f
TS
30331 accept4 for GNU Hurd.
30332 * include/sys/socket.h (__libc_accept4): New prototype.
30333 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30334 to implement __libc_accept4.
30335 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30336 __libc_accept4.
30337 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30338
bcf55240
TS
30339 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30340 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30341 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30342 signal-defines.sym.
30343
6178c55b
ST
303442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30345
a4186cff 30346 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 30347
6f080c2f
TS
303482012-05-10 Thomas Schwinge <thomas@schwinge.name>
30349
30350 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30351 assertion on O_CLOEXEC flag.
30352 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30353 * hurd/intern-fd.c: Likewise.
30354 * hurd/port2fd.c: Likewise.
30355
bcfe3a54
ST
303562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30357
30358 [BZ #3906]
30359 * bits/in.h (IPV6_PKTINFO): Define new macro.
30360 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30361
89c9aa49
AZ
303622012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30363
30364 [BZ #13954]
30365 [BZ #13955]
30366 [BZ #13956]
30367 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30368 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30369 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30370 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30371 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30372 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30373 * math/libm-test.inc (logb_test) : Additional logb tests.
30374
021db4be
AJ
303752012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30376 Andreas Jaeger <aj@suse.de>
30377
30378 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30379 * configure: Regenerated.
30380 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30381 * config.make.in (link-obsolete-rpc): New substituted variable.
30382 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30383 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30384 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30385 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30386 so that libc.a contains the symbols.
30387 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30388 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30389 * sunrpc/auth_none.c: Likewise.
30390 * sunrpc/auth_unix.c: Likewise.
30391 * sunrpc/authdes_prot.c: Likewise.
30392 * sunrpc/authuxprot.c: Likewise.
30393 * sunrpc/clnt_gen.c: Likewise.
30394 * sunrpc/clnt_perr.c: Likewise.
30395 * sunrpc/clnt_raw.c: Likewise.
30396 * sunrpc/clnt_simp.c: Likewise.
30397 * sunrpc/clnt_tcp.c: Likewise.
30398 * sunrpc/clnt_udp.c: Likewise.
30399 * sunrpc/clnt_unix.c: Likewise.
30400 * sunrpc/des_crypt.c: Likewise.
30401 * sunrpc/des_soft.c: Likewise.
30402 * sunrpc/get_myaddr.c: Likewise.
30403 * sunrpc/key_call.c: Likewise.
30404 * sunrpc/key_prot.c: Likewise.
30405 * sunrpc/netname.c: Likewise.
30406 * sunrpc/pm_getmaps.c: Likewise.
30407 * sunrpc/pm_getport.c: Likewise.
30408 * sunrpc/pmap_clnt.c: Likewise.
30409 * sunrpc/pmap_prot.c: Likewise.
30410 * sunrpc/pmap_prot2.c: Likewise.
30411 * sunrpc/pmap_rmt.c: Likewise.
30412 * sunrpc/publickey.c: Likewise.
30413 * sunrpc/rpc_cmsg.c: Likewise.
30414 * sunrpc/rpc_common.c: Likewise.
30415 * sunrpc/rpc_dtable.c: Likewise.
30416 * sunrpc/rpc_prot.c: Likewise.
30417 * sunrpc/rpc_thread.c: Likewise.
30418 * sunrpc/rtime.c: Likewise.
30419 * sunrpc/svc.c: Likewise.
30420 * sunrpc/svc_auth.c: Likewise.
30421 * sunrpc/svc_raw.c: Likewise.
30422 * sunrpc/svc_run.c: Likewise.
30423 * sunrpc/svc_tcp.c: Likewise.
30424 * sunrpc/svc_udp.c: Likewise.
30425 * sunrpc/svc_unix.c: Likewise.
30426 * sunrpc/svcauth_des.c: Likewise.
30427 * sunrpc/xcrypt.c: Likewise.
30428 * sunrpc/xdr.c: Likewise.
30429 * sunrpc/xdr_array.c: Likewise.
30430 * sunrpc/xdr_float.c: Likewise.
30431 * sunrpc/xdr_intXX_t.c: Likewise.
30432 * sunrpc/xdr_mem.c: Likewise.
30433 * sunrpc/xdr_rec.c: Likewise.
30434 * sunrpc/xdr_ref.c: Likewise.
30435 * sunrpc/xdr_sizeof.c: Likewise.
30436 * sunrpc/xdr_stdio.c: Likewise.
30437
b5c086a2
RM
304382012-05-10 Roland McGrath <roland@hack.frob.com>
30439
30440 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30441 change. Update copyright years.
30442
6d74dd09
JM
304432012-05-10 Joseph Myers <joseph@codesourcery.com>
30444
30445 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30446
28e72501
MK
304472012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30448 Joseph Myers <joseph@codesourcery.com>
30449 Paul Pluzhnikov <ppluzhnikov@google.com>
30450
30451 [BZ #14012]
30452 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30453 requiring rpcgen.
30454 [cross-compiling] (extra-libs): Likewise.
30455 [cross-compiling] (extra-libs-others): Likewise.
30456 [cross-compiling] (librpcsvc-routines): Likewise.
30457 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30458 [cross-compiling] (omit-deps): Likewise.
30459 (sunrpc-CPPFLAGS): New variable.
30460 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30461 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30462 (cross-rpcgen-objs): New variable.
30463 (extra-objs): Append $(cross-rpcgen-objs).
30464 ($(cross-rpcgen-objs)): New rule.
30465 ($(objpfx)cross-rpcgen): Likewise.
30466 (rpcgen-cmd): Define to use $(built-program-file). Expand
30467 comment.
30468 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30469 ($(objpfx)x%.stmp): Likewise.
30470 * sunrpc/proto.h [IS_IN_build] (_): Define.
30471 [IS_IN_build] (_libc_intl_domainname): Likewise.
30472
c8c59454
L
304732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30474
30475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30476 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30477 and R_X86_64_TPOFF64.
30478
6f27cd16
JM
304792012-05-10 Joseph Myers <joseph@codesourcery.com>
30480
30481 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30482 sysdeps/unix/sysv/syscalls.list.
30483 (stime): Likewise.
30484 (utime): Likewise.
30485 * sysdeps/unix/sysv/syscalls.list: Remove file.
30486
02467e1c
PE
304872012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30488
30489 [BZ #3440]
30490 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30491 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30492 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30493 (__LC_IDENTIFICATION): Make these macros useful in #if
30494 expressions, as required by C99.
30495
da392631
AS
304962012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30497
30498 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30499 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30500 after this.
30501
8115f29b
L
305022012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30503
30504 * stdlib/longlong.h: Updated from GCC.
30505
bdd74070
AJ
305062012-05-09 Andreas Jaeger <aj@suse.de>
30507
edfe0dbe
AJ
30508 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30509 default is first entry.
30510 (run_mode): Set type.
30511 (main): Remove informal message about syslog.
30512 (options): Fix typo.
30513
bcfe3a54
ST
30514 [BZ #14053]
30515 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30516 to asm.
bcfe3a54
ST
30517 (lrint): Likewise.
30518 (llrintf): Likewise.
30519 (llrint): Likewise.
30520 (rint): Likewise.
30521 (rintf): Likewise.
30522 (nearbyint): Likewise.
30523 (nearbyintf): Likewise.
bdd74070 30524
91d8d69e
AJ
305252012-05-09 Andreas Jaeger <aj@suse.de>
30526 Pedro Alves <palves@redhat.com>
30527
30528 * nscd/nscd.c (run_mode): Use enum.
30529 (main): Cleanup coding style issue.
30530
bb90b80b
AJ
305312012-05-09 Alexandre Oliva <aoliva@redhat.com>
30532 Andreas Jaeger <aj@suse.de>
30533
bcfe3a54
ST
30534 * nscd/nscd.c (go_background): Replaced with...
30535 (run_mode): ... this.
bb90b80b 30536 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30537 (options): Add -F --foreground.
30538 (main): Implement it.
30539 (parse_opt): Parse it.
bb90b80b 30540
1a4b75a1
AJ
305412012-05-09 Andreas Jaeger <aj@suse.de>
30542
30543 [BZ #14083]
30544 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30545 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30546 -Wconversion warning.
30547 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30548 Likewise.
30549
b1cc2472
JM
305502012-05-09 Joseph Myers <joseph@codesourcery.com>
30551
30552 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30553 == 0.
30554 (LC_ALL): Use macro-int-constant.
30555 (LC_COLLATE): Likewise.
30556 (LC_CTYPE): Likewise.
30557 (LC_MESSAGES): Likewise.
30558 (LC_MONETARY): Likewise.
30559 (LC_NUMERIC): Likewise.
30560 (LC_TIME): Likewise.
30561 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30562 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30564 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30565 Specify type.
30566 [C99-based standards] (float_t): Expect type.
30567 [C99-based standards] (double_t): Expect type.
30568 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30569 type.
30570 [C99-based standards] (HUGE_VALL): Likewise.
30571 [C99-based standards] (INFINITY): Likewise.
30572 [C99-based standards] (NAN): Likewise.
30573 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30574 [C99-based standards] (FP_NAN): Likewise.
30575 [C99-based standards] (FP_NORMAL): Likewise.
30576 [C99-based standards] (FP_SUBNORMAL): Likewise.
30577 [C99-based standards] (FP_ZERO): Likewise.
30578 [C99-based standards] (FP_FAST_FMA): Use
30579 optional-macro-int-constant. Specify type. Require == 1.
30580 [C99-based standards] (FP_FAST_FMAF): Likewise.
30581 [C99-based standards] (FP_FAST_FMAL): Likewise.
30582 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30583 [C99-based standards] (FP_ILOGBNAN): Likewise.
30584 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30585 Specify type.
30586 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30587 [C99-based standards] (math_errhandling): Specify type.
30588 [ISO99 || ISO11] (signgam): Do not allow.
30589 [non-C99-based standards] (copysignf): Do not allow.
30590 [non-C99-based standards] (exp2f): Likewise.
30591 [non-C99-based standards] (log2f): Likewise.
30592 [non-C99-based standards] (modff): Allow.
30593 [non-C99-based standards] (erff): Do not allow.
30594 [non-C99-based standards] (erfcf): Likewise.
30595 [non-C99-based standards] (gammaf): Likewise.
30596 [non-C99-based standards] (hypotf): Likewise.
30597 [non-C99-based standards] (j0f): Likewise.
30598 [non-C99-based standards] (j1f): Likewise.
30599 [non-C99-based standards] (jnf): Likewise.
30600 [non-C99-based standards] (lgammaf): Likewise.
30601 [non-C99-based standards] (tgammaf): Likewise.
30602 [non-C99-based standards] (y0f): Likewise.
30603 [non-C99-based standards] (y1f): Likewise.
30604 [non-C99-based standards] (ynf): Likewise.
30605 [non-C99-based standards] (isnanf): Likewise.
30606 [non-C99-based standards] (acoshf): Likewise.
30607 [non-C99-based standards] (asinhf): Likewise.
30608 [non-C99-based standards] (atanhf): Likewise.
30609 [non-C99-based standards] (cbrtf): Likewise.
30610 [non-C99-based standards] (expm1f): Likewise.
30611 [non-C99-based standards] (ilogbf): Likewise.
30612 [non-C99-based standards] (log1pf): Likewise.
30613 [non-C99-based standards] (logbf): Likewise.
30614 [non-C99-based standards] (nextafterf): Likewise.
30615 [non-C99-based standards] (remainderf): Likewise.
30616 [non-C99-based standards] (rintf): Likewise.
30617 [non-C99-based standards] (scalbf): Likewise.
30618 [non-C99-based standards] (copysignl): Likewise.
30619 [non-C99-based standards] (exp2l): Likewise.
30620 [non-C99-based standards] (log2l): Likewise.
30621 [non-C99-based standards] (modfl): Allow.
30622 [non-C99-based standards] (erfl): Do not allow.
30623 [non-C99-based standards] (erfcl): Likewise.
30624 [non-C99-based standards] (gammal): Likewise.
30625 [non-C99-based standards] (hypotl): Likewise.
30626 [non-C99-based standards] (j0l): Likewise.
30627 [non-C99-based standards] (j1l): Likewise.
30628 [non-C99-based standards] (jnl): Likewise.
30629 [non-C99-based standards] (lgammal): Likewise.
30630 [non-C99-based standards] (tgammal): Likewise.
30631 [non-C99-based standards] (y0l): Likewise.
30632 [non-C99-based standards] (y1l): Likewise.
30633 [non-C99-based standards] (ynl): Likewise.
30634 [non-C99-based standards] (isnanl): Likewise.
30635 [non-C99-based standards] (acoshl): Likewise.
30636 [non-C99-based standards] (asinhl): Likewise.
30637 [non-C99-based standards] (atanhl): Likewise.
30638 [non-C99-based standards] (cbrtl): Likewise.
30639 [non-C99-based standards] (expm1l): Likewise.
30640 [non-C99-based standards] (ilogbl): Likewise.
30641 [non-C99-based standards] (log1pl): Likewise.
30642 [non-C99-based standards] (logbl): Likewise.
30643 [non-C99-based standards] (nextafterl): Likewise.
30644 [non-C99-based standards] (remainderl): Likewise.
30645 [non-C99-based standards] (rintl): Likewise.
30646 [non-C99-based standards] (scalbl): Likewise.
30647 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30648 [non-C99-based standards] (FP_*): Do not allow.
30649 [C99-based standards] (FP_*): Change to
30650 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30651 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30652 allow.
30653 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30654 (SIG_ERR): Likewise.
30655 [X/Open-based standards] (SIG_HOLD): Likewise.
30656 (SIG_IGN): Likewise.
30657 (SIGABRT): Use macro-int-constant. Specify type. Require
30658 positive value.
30659 (SIGFPE): Likewise.
30660 (SIGILL): Likewise.
30661 (SIGINT): Likewise.
30662 (SIGSEGV): Likewise.
30663 (SIGTER): Likewise.
30664 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30665 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30666 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30667 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30668 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30669 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30670 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30671 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30672 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30673 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30674 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30675 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30676 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30677 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30678 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30679 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30680 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30681 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30682 [X/Open-based standards] (SIGTRAP): Likewise.
30683 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30684 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30685 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30686 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30687 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30688 allow.
30689
b9f1922d
IW
306902012-05-08 Ian Wienand <ianw@vmware.com>
30691
30692 [BZ #14080]
30693 * time/tzset.c (__tzset_parse_tz): Update default rules for
30694 daylight time changes in the Energy Policy Act of 2005.
30695
1db86e88
AJ
306962012-05-09 Andreas Jaeger <aj@suse.de>
30697
30698 [BZ #13983]
30699 * elf/ldconfig.c (parse_conf): Change string to make clear that
30700 ldconfig only issued a warning if ld.so.conf does not exist.
30701
dee4a4e3
DM
307022012-05-08 David S. Miller <davem@davemloft.net>
30703
ee0db190
DM
30704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30705 movxtod instead of popping the value on the stack.
30706
dee4a4e3
DM
30707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30708
6a43ec98
CD
307092012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30710
30711 * config.h.in: Add HAVE_ARM_PCS_VFP.
30712
05c2c961
RMG
307132012-05-08 Roland Mc Grath <roland@hack.frob.com>
30714
bcfe3a54
ST
30715 [BZ #13979]
30716 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30717 checking but the checks are disabled for any reason.
05c2c961 30718
4b30f61a
L
307192012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30720
30721 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30722 and ELF64_R_TYPE with ELFW(R_TYPE).
30723
eee2bc67
JM
307242012-05-08 Joseph Myers <joseph@codesourcery.com>
30725
7ea5391a
JM
30726 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30727 (ulimit): Likewise.
30728
eee2bc67
JM
30729 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30730 (settimeofday): Likewise.
30731
abb66a67
MF
307322012-05-08 Mike Frysinger <vapier@gentoo.org>
30733
30734 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30735 a struct th_u2 inside the union, and move tu_block/tu_code into
30736 a new th_u3 union of tu_block/tu_code inside of that. Move
30737 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30738 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30739 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30740 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30741 (th_stuff): Change to th_u1.tu_stuff.
30742 (th_data): Define.
30743 (th_msg): Change to th_u1.th_u2.tu_data.
30744
7f18b530
DM
307452012-05-07 David S. Miller <davem@davemloft.net>
30746
05760585
DM
30747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30748
7f18b530
DM
30749 [BZ #14074]
30750 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30751 (SETUP_PIC_REG): Use it.
30752 (SETUP_PIC_REG_LEAF): Use it.
30753
495fd99f
JM
307542012-05-07 Joseph Myers <joseph@codesourcery.com>
30755
30756 [BZ #13885]
30757 [BZ #13923]
30758 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30759 USE_AS_EXPM1L.
30760 (EXPL_FINITE): Likewise.
30761 (FLDLOG): Likewise.
30762 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30763 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30764 e_expl.S.
30765 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30766 USE_AS_EXPM1L.
30767 (EXPL_FINITE): Likewise.
30768 (FLDLOG): Likewise.
30769 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30770 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30771 e_expl.S.
30772 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30773 test of -max_value argument for long double.
30774 * sysdeps/i386/fpu/libm-test-ulps: Update.
30775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30776
6693d694
DM
307772012-05-06 David S. Miller <davem@davemloft.net>
30778
30779 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30780 quad soft-float symbols whose references which are compiler
30781 generated.
30782 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30783
6c23e11c
JM
307842012-05-06 Joseph Myers <joseph@codesourcery.com>
30785
d8b82cad
JM
30786 [BZ #13884]
30787 [BZ #13914]
30788 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30789 USE_AS_EXP10L.
30790 (EXPL_FINITE): Likewise.
30791 (FLDLOG): Likewise.
30792 (c0): Likewise.
30793 (c1): Likewise.
30794 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30795 Adjust comments for base varying.
30796 (__expl_finite): Change alias to EXPL_FINITE.
30797 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30798 e_expl.S.
30799 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30800 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30802 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30803 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30804 USE_AS_EXP10L.
30805 (EXPL_FINITE): Likewise.
30806 (FLDLOG): Likewise.
30807 (c0): Likewise.
30808 (c1): Likewise.
30809 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30810 Adjust comments for base varying.
30811 (__expl_finite): Change alias to EXPL_FINITE.
30812 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30813 tests for bugs.
30814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30815
6c23e11c
JM
30816 [BZ #14064]
30817 * math/libm-test.inc (check_float_internal): Correct ulp
30818 calculation for subnormal expected results.
30819
29ba805c
AJ
308202012-05-06 Andreas Jaeger <aj@suse.de>
30821
30822 * Makeconfig (+math-flags): New, set to -frounding-math.
30823 (+cflags): Add +math-flags so that all of glibc gets compiled with
30824 it.
30825
30826 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30827
7b17aeda
JM
308282012-05-05 Joseph Myers <joseph@codesourcery.com>
30829
5779f134
JM
30830 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30831 Disable one test.
30832
41498f4d
JM
30833 [BZ #13787]
30834 [BZ #13922]
30835 [BZ #14036]
30836 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30837 (__ieee754_expl): Allow for and saturate large arguments.
30838 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30839 (u_threshold): Likewise.
30840 (__exp): Call __ieee754_exp before checking for overflow and
30841 underflow.
30842 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30843 (u_threshold): Likewise.
30844 (__expf): Call __ieee754_expf before checking for overflow and
30845 underflow.
30846 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30847 (u_threshold): Likewise.
30848 (__expl): Call __ieee754_expl before checking for overflow and
30849 underflow.
30850 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30851 (__ieee754_expl): Allow for and saturate large arguments.
30852 * math/libm-test.inc (exp_test): Add another test. Do not allow
30853 missing overflow exception on overflow.
30854 (expm1_test): Do not allow missing overflow exception on overflow.
30855
6698b8bf
JM
30856 * sysdeps/i386/fpu/e_expl.c: Move to ...
30857 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30858 rather than using inline asm.
30859 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30860 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30861 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30862
7b17aeda
JM
30863 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30864 (nice): Likewise.
30865 (poll): Likewise.
30866 (signal): Likewise.
30867 (time): Likewise.
30868 (times): Likewise.
30869
f7c85819
JM
308702012-05-04 Joseph Myers <joseph@codesourcery.com>
30871
30872 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30873 sysdeps/unix/common/syscalls.list.
30874 (fchmod): Likewise.
30875 (fchown): Likewise.
30876 (ftruncate): Likewise.
30877 (getrusage): Likewise.
30878 (gettimeofday): Likewise.
30879 (setpgid): Likewise.
30880 (setregid): Likewise.
30881 (setreuid): Likewise.
30882 (sigaction): Likewise.
30883 (truncate): Likewise.
30884 (vhangup): Likewise.
30885 * sysdeps/unix/common/syscalls.list: Remove file.
30886 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30887 * sysdeps/unix/sysv/linux/Implies: Likewise.
30888
336270d0
L
308892012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30890
30891 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30893 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30894 Moved to ...
30895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30896 Here.
30897 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30898 to ...
30899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30900 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30901 to ...
30902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30903 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30904 to ...
30905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30906 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30907 to ...
30908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30909 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30910 to ...
30911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30912 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30913 to ...
30914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30915 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30916 to ...
30917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30918 Here.
30919 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30920 to ...
30921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30922 Here.
30923 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30924 to ...
30925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30926 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30927 Moved to ...
30928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30929 Here.
30930 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30931 to ...
30932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30933
d128e450
JM
309342012-05-04 Joseph Myers <joseph@codesourcery.com>
30935
fa8ee516
JM
30936 * sysdeps/unix/common/bits/dirent.h: Remove file.
30937 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30938
d128e450
JM
30939 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30940 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30941 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30942 * sysdeps/unix/bsd/isatty.c: Likewise.
30943 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30944 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30945 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30946
ff8faaf0 309472012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30948
62881be4 30949 [BZ #13563]
31dc8730
AZ
30950 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30951 long double comparison inaccuracies.
30952 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30954
6fef930c
AS
309552012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30956
30957 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30958 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30959
8f203e6c
JM
309602012-05-04 Joseph Myers <joseph@codesourcery.com>
30961
30962 [BZ #14049]
30963 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30964 nonzero digits before rounding a hex value.
30965 * stdlib/tst-strtod.c (tests): Add another test.
30966
5197d9c2
AK
309672012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30968
30969 * sysdeps/s390/fpu/libm-test-ulps: Update.
30970
f0c1dedf
AJ
309712012-05-03 Andreas Jaeger <aj@suse.de>
30972
30973 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30974 does not get optimized out.
30975 (malloc_opt_barrier): New.
30976
a65ef2ae 309772012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30978 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30979
2b942cb7 30980 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30981 intermediate file deletion.
2b942cb7 30982 (generated): Add .symlist files.
a65ef2ae 30983
54b71e02
JM
309842012-05-03 Joseph Myers <joseph@codesourcery.com>
30985
30986 [BZ #13775]
30987 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30988 Redirect under this condition.
30989 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30990 [__USE_GNU] (__dprintf_chk): Not under this condition.
30991 [__USE_GNU] (__vdprintf_chk): Likewise.
30992 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30993 under this condition.
30994 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30995 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30996 [__USE_XOPEN2K8] (vdprintf): Likewise.
30997 [__USE_GNU] (__dprintf_chk): Not under this condition.
30998 [__USE_GNU] (__vdprintf_chk): Likewise.
30999 [__USE_GNU] (dprintf): Likewise.
31000 [__USE_GNU] (vdprintf): Likewise.
31001
d3dfcc41
RM
310022012-05-03 Roland McGrath <roland@hack.frob.com>
31003
31004 * elf/Makefile (common-generated): Set this instead of generated for
31005 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31006 $(all-built-dso)-derived lists.
31007
7ac30cc5
AJ
310082012-05-03 Andreas Jaeger <aj@suse.de>
31009
0c51e550
AJ
31010 * sysdeps/i386/fpu/libm-test-ulps: Update.
31011
7ac30cc5
AJ
31012 * FAQ: Removed.
31013 * FAQ.in: Likewise.
31014 * scripts/gen-FAQ.pl: Likewise.
31015 * manual/install.texi (Installation): Point to online location of
31016 FAQ.
31017 * Makefile (files-for-dist): Remove FAQ.
31018 (FAQ): Remove.
31019
d4c2917f
AM
310202012-05-02 Allan McRae <allan@archlinux.org>
31021
31022 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31023 (LDFLAGS-reldepmod5.so): Likewise.
31024 (LDFLAGS-reldep6mod1.so): Likewise.
31025 (LDFLAGS-reldep6mod4.so): Likewise.
31026 (LDFLAGS-reldep8mod3.so): Likewise.
31027 (LDFLAGS-unload4mod1.so): Likewise.
31028 (LDFLAGS-unload4mod2.so): Likewise.
31029 (LDFLAGS-tst-initorder): Likewise.
31030 (LDFLAGS-tst-initordera2.so): Likewise.
31031 (LDFLAGS-tst-initordera3.so): Likewise.
31032 (LDFLAGS-tst-initordera4.so): Likewise.
31033 (LDFLAGS-tst-initorderb2.so): Likewise.
31034 (LDFLAGS-noload): Likewise.
31035 (LDFLAGS-next): Likewise.
31036 (LDFLAGS-order2mod1.so): Likewise.
31037 (LDFLAGS-order2mod2.so): Likewise.
31038 (LDFLAGS-tst-initorder2): Likewise.
31039 (LDFLAGS-tst-initorder2a.so): Likewise.
31040 (LDFLAGS-tst-initorder2b.so): Likewise.
31041 (LDFLAGS-tst-initorder2c.so): Likewise.
31042 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31043
d77f993f
DM
310442012-05-02 David S. Miller <davem@davemloft.net>
31045
31046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31047
171a70b4
PP
310482012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31049
31050 [BZ #14055]
31051 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31052
0be196ad
AJ
310532012-05-02 Andreas Jaeger <aj@suse.de>
31054
31055 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31056 since we manipulate rounding mode.
31057 (CPPFLAGS-test-idouble.c): Likewise.
31058 (CPPFLAGS-test-ifloat.c): Likewise.
31059 (CFLAGS-test-ldouble.c): Likewise.
31060 (CFLAGS-test-double.c): Likewise.
31061 (CFLAGS-test-float.c): Likewise.
31062 (CFLAGS-test-misc.c): Likewise.
31063 (CFLAGS-test-test-fenv.c): Likewise.
31064
4f9d04aa
AZ
310652012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31066
2b942cb7
RM
31067 [BZ #2550]
31068 [BZ #2570]
31069 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31070 comparisons to determine direction to adjust input.
4f9d04aa 31071
82a79e7d
RM
310722012-05-01 Roland McGrath <roland@hack.frob.com>
31073
f5a01ca9
RM
31074 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31075 output to the target.
31076
90fe4186
RM
31077 * scripts/localplt.awk: New file.
31078 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31079 (check-localplt-CFLAGS): Variable removed.
31080 ($(all-built-dso:=.jmprel)): New static pattern rule.
31081 (generated): Add those targets.
31082 (localplt-built-dso): New variable.
31083 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31084
31085 * elf/check-localplt.c: File removed.
31086
82397ed6
RM
31087 * scripts/check-execstack.awk: New file.
31088 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31089 (check-execstack-CFLAGS): Variable removed.
31090 ($(objpfx)check-execstack.h): Target removed.
31091 ($(objpfx)execstack-default): New target.
31092 (generated): Add that instead of check-execstack.h.
31093 ($(all-built-dso:=.phdr)): New static pattern rule.
31094 (generated): Add those targets.
31095 * elf/check-execstack.c: File removed.
31096
82a79e7d
RM
31097 * scripts/check-textrel.awk: New file.
31098 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31099 (check-textrel-CFLAGS): Variable removed.
31100 (all-built-dso): Use := to define.o
31101 ($(all-built-dso:=.dyn)): New static pattern rule.
31102 (generated): Add those targets.
31103 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31104 * config.make.in (READELF): New substituted variable.
31105 * elf/check-textrel.c: File removed.
31106
62fde54f 311072012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 31108
615605c9
JM
31109 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31110 allow.
31111 * conform/data/ctype.h-data [C99-based standards] (isblank):
31112 Expect function.
31113 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31114 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31115 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31116 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31117 Specify type. Require positive value.
31118 (EILSEQ): Likewise.
31119 (ERANGE): Likewise.
31120 [ISO || POSIX] (EILSEQ): Do not expect.
31121 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31122 Specify type. Require positive value.
31123 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31124 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31125 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31126 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31127 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31128 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31129 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31130 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31131 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31132 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31133 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31134 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31135 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31136 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31137 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31138 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31139 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31140 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31141 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31142 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31143 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31144 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31145 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31146 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31147 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31148 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31149 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31150 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31151 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31152 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31153 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31154 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31155 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31156 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31157 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31158 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31159 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31160 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31161 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31162 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31163 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31164 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31165 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31166 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31167 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31168 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31169 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31170 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31171 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31172 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31173 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31174 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31175 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31176 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31177 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31178 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31179 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31180 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31181 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31182 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31183 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31184 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31185 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31186 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31187 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31188 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31189 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31190 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31191 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31192 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31193 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31194 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31195 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31196 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31197 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31198 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31199 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31200 Require >= 2.
31201 (FLT_ROUNDS): Expect as macro, not constant.
31202 (FLT_MANT_DIG): Use macro-int-constant.
31203 (DBL_MANT_DIG): Likewise.
31204 (LDBL_MANT_DIG): Likewise.
31205 (FLT_DIG): Likewise.
31206 (DBL_DIG): Likewise.
31207 (LDBL_DIG): Likewise.
31208 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31209 (DBL_MIN_EXP): Likewise.
31210 (LDBL_MIN_EXP): Likewise.
31211 (FLT_MAX_EXP): Use macro-int-constant.
31212 (DBL_MAX_EXP): Likewise.
31213 (LDBL_MAX_EXP): Likewise.
31214 (FLT_MAX_10_EXP): Likewise.
31215 (DBL_MAX_10_EXP): Likewise.
31216 (LDBL_MAX_10_EXP): Likewise.
31217 (FLT_MAX): Use macro-constant.
31218 (DBL_MAX): Likewise.
31219 (LDBL_MAX): Likewise.
31220 (FLT_EPSILON): Use macro-constant. Give upper bound.
31221 (DBL_EPSILON): Likewise.
31222 (LDBL_EPSILON): Likewise.
31223 (FLT_MIN): Likewise.
31224 (DBL_MIN): Likewise.
31225 (LDBL_MIN): Likewise.
31226 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31227 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31228 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31229 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31230 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31231 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31232 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31233 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31234 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31235 [ISO11] (FLT_TRUE_MIN): Likewise.
31236 [ISO11] (LDBL_TRUE_MIN): Likewise.
31237 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31238 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31239 (SCHAR_MIN): Use macro-int-constant. Specify type.
31240 (SCHAR_MAX): Likewise.
31241 (UCHAR_MAX): Likewise.
31242 (CHAR_MIN): Likewise.
31243 (CHAR_MAX): Likewise.
31244 (MB_LEN_MAX): Use macro-int-constant.
31245 (SHRT_MIN): Use macro-int-constant. Specify type.
31246 (SHRT_MAX): Likewise.
31247 (USHRT_MAX): Likewise.
31248 (INT_MAX): Likewise.
31249 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31250 bound negative.
31251 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31252 bound with "U".
31253 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31254 bound with "L".
31255 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31256 bound negative. Suffix upper bound with "L".
31257 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31258 bound with "UL".
31259 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31260 Specify type.
31261 [C99-based standards] (LLONG_MAX): Likewise.
31262 [C99-based standards] (ULLONG_MAX): Likewise.
31263 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31264 == 0.
31265 [ISO11] (max_align_t): Require type.
31266 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31267
c9140a62
JM
31268 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31269 from $CFLAGS, without defining away __attribute__ calls.
31270 (checknamespace): Use $CFLAGS_namespace.
31271
9af0bf29
JM
31272 * conform/conformtest.pl (@keywords): Only include C99 keywords
31273 for standards based on C99 or C11.
31274
343222a2
JM
31275 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31276 Disable tests.
31277 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31278 UNIX98]: Likewise.
31279
661f8cf0
JM
31280 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31281 usability of symbols in #if.
31282
ee74b9cb
JM
31283 * conform/conformtest.pl: If macro or constant types start
31284 "promoted:", expect the symbol to be of the following type
31285 promoted by the integer promotions.
62fde54f 31286
aafc49b3
JM
31287 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31288 in one place. Also handle "macro-constant".
31289
fefdf574
JM
31290 * conform/conformtest.pl: Only accept expected macro values with
31291 "==". Parse all "macro" lines in one place.
31292 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31293
f2d922fe
JM
31294 * conform/conformtest.pl: Handle braced types on "constant" lines
31295 instead of handling "typed-constant".
31296 * conform/data/signal.h-data: Use "constant" instead of
31297 "typed-constant".
31298
d22956c9
JM
31299 * conform/conformtest.pl: Handle "optional-" at start of lines in
31300 one place rather than duplicating several cases. Handle each
31301 format of "macro" line with initial "optional-".
31302
028e2e38
JM
31303 * conform/conformtest.pl: Only accept expected constant or
31304 optional-constant values with "==". Parse all "constant" lines in
31305 one place. Parse all "optional-constant" lines in one place.
31306 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31307 * conform/data/fmtmsg.h-data: Likewise.
31308 * conform/data/netinet/in.h-data: Likewise.
31309 * conform/data/tar.h-data: Likewise.
31310 * conform/data/limits.h-data: Use "==" form on "constant" and
31311 "optional-constant" lines.
31312
1b8f2850
JM
31313 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31314 Use -std=c99 for XOPEN2K.
31315 (@knownproblems): Remove.
31316 (newtoken): Don't check %isknown.
31317
a05a144b
JM
31318 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31319 Do not expect macro.
31320 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31321 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31322 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31323 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31324 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31325 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31326 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31327 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31328 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31329 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31330 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31331 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31332 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31333 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31334 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31335 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31336 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31337 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31338 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31339 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31340 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31341 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31342 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31343 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31344 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31345 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31346 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31347 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31348 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31349 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31350 [XPG3] (acosh): Likewise.
31351 [XPG3] (asinh): Likewise.
31352 [XPG3] (atanh): Likewise.
31353 [XPG3] (cbrt): Likewise.
31354 [XPG3] (expm1): Likewise.
31355 [XPG3] (ilogb): Likewise.
31356 [XPG3] (log1p): Likewise.
31357 [XPG3] (logb): Likewise.
31358 [XPG3] (nextafter): Likewise.
31359 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31360 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31361 [XPG3] (remainder): Likewise.
31362 [XPG3] (rint): Likewise.
31363 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31364 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31365 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31366 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31367 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31368 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31369 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31370 [UNIX98 || XOPEN2K] (scalb): Expect.
31371 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31372 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31373 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31374 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31375 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31376 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31377 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31378 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31379 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31380 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31381 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31382 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31383 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31384 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31385 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31386 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31387 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31388 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31389 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31390 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31391 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31392 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31393 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31394 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31395 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31396 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31397 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31398 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31399 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31400 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31401 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31402 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31403 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31404 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31405 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31406 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31407 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31408 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31409 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31410 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31411 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31412 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31413 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31414 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31415 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31416 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31417 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31418 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31419 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31420 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31421 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31422 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31423 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31424 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31425 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31426 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31427 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31428 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31429 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31430 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31431 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31432 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31433 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31434 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31435 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31436 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31437 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31438 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31439 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31440 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31441 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31442 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31443 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31444 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31445 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31446 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31447 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31448 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31449 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31450 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31451 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31452 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31453 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31454 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31455 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31456 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31457 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31458 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31459 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31460 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31461 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31462 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31463 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31464 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31465 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31466 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31467 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31468 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31469 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31470 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31471 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31472 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31473 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31474 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31475 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31476 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31477 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31478 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31479 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31480 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31481 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31482 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31483 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31484 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31485 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31486 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31487 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31488 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31489 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31490 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31491 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31492 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31493 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31494 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31495 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31496 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31497 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31498 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31499 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31500 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31501 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31502 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31503 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31504 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31505 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31506 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31507 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31508
73c5ebe3
JM
31509 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31510 _XOPEN_SOURCE_EXTENDED for XPG4.
31511
39c33b6c
JM
31512 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31513
62fde54f
JM
31514 * Makeconfig (localtime): Remove variable.
31515 (inst_localtime-file): Likewise.
31516
0741d64c
AS
315172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31518
31519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31520 Update.
31521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31522 Update.
31523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31524 Update.
31525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31526 Update.
31527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31528 Update.
31529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31530 Update.
31531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31532 Update.
31533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31534 Update.
31535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31536 Update.
31537
7cb029ee
JM
315382012-05-01 Joseph Myers <joseph@codesourcery.com>
31539
31540 [BZ #2550]
31541 [BZ #2570]
31542 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31543 comparisons to determine direction to adjust input.
31544 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31545 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31546 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31547 Likewise.
31548 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31549 Likewise.
31550 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31551 Likewise.
31552 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31553 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31554 Likewise.
31555 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31556 Likewise.
31557 * math/libm-test.inc (nexttoward_test): Add more tests.
31558
412bd966
AS
315592012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31560
31561 [BZ #14040]
31562 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31563 in version GLIBC_2.1, not GLIBC_2.0.
31564 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31565 Likewise.
31566
9568c0c2
JM
315672012-04-30 Joseph Myers <joseph@codesourcery.com>
31568
adfbc8ac
JM
31569 [BZ #13942]
31570 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31571 (1 - x) * (1 + x).
31572 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31573 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31574 * math/libm-test.inc (acos_test): Add more tests.
31575 (asin_test): Likewise.
31576 * sysdeps/i386/fpu/libm-test-ulps: Update.
31577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31578
5ba3cc69
JM
31579 [BZ #14034]
31580 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31581 of square root.
31582 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31583 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31584 * math/libm-test.inc (acos_test_tonearest): New function.
31585 (acos_test_towardzero): Likewise.
31586 (acos_test_downward): Likewise.
31587 (acos_test_upward): Likewise.
31588 (asin_test_tonearest): Likewise.
31589 (asin_test_towardzero): Likewise.
31590 (asin_test_downward): Likewise.
31591 (asin_test_upward): Likewise.
31592 (main): Call the new functions.
31593 * sysdeps/i386/fpu/libm-test-ulps: Update.
31594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31595
9568c0c2
JM
31596 [BZ #13884]
31597 [BZ #13924]
31598 * math/e_exp10.c: Include <float.h>.
31599 (__ieee754_exp10): Handle underflow here rather than multiplying
31600 large negative argument by M_LN10.
31601 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31602 of __ieee754_expf.
31603 * math/e_exp10l.c: Include <float.h>.
31604 (__ieee754_exp10l): Handle underflow here rather than multiplying
31605 large negative argument by M_LN10l.
31606 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31607 spurious overflow exception on underflow.
31608
5ac3ea17
MP
316092012-04-29 Marek Polacek <polacek@redhat.com>
31610
31611 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31612 (__fortify_function): New macro.
31613 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31614 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31615 __extern_always_inline.
31616 * libio/bits/stdio2.h: Likewise.
31617 * libio/bits/stdio.h: Likewise.
31618 * string/string.h: Likewise.
31619 * string/bits/string3.h: Likewise.
31620 * include/stdio.h: Likewise.
31621 * stdlib/bits/stdlib.h: Likewise.
31622 * stdlib/stdlib.h: Likewise.
31623 * rt/bits/mqueue2.h: Likewise.
31624 * rt/mqueue.h: Likewise.
31625 * posix/bits/unistd.h: Likewise.
31626 * posix/unistd.h: Likewise.
31627 * io/bits/poll2.h: Likewise.
31628 * io/bits/fcntl2.h: Likewise.
31629 * io/fcntl.h: Likewise.
31630 * io/sys/poll.h: Likewise.
31631 * misc/bits/syslog.h: Likewise.
31632 * misc/bits/syslog-ldbl.h: Likewise.
31633 * misc/sys/syslog.h: Likewise.
31634 * socket/bits/socket2.h: Likewise.
31635 * socket/sys/socket.h: Likewise.
31636 * debug/tst-chk1.c: Likewise.
31637 * wcsmbs/bits/wchar2.h: Likewise.
31638 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31639 * wcsmbs/wchar.h: Likewise.
31640
ecf0ebfb
AJ
316412012-04-29 Andreas Jaeger <aj@suse.de>
31642
31643 * Makerules (tests): Remove enable-check-abi protection.
31644 (check-abi-warn): Remove.
31645 (check-abi-%): Remove check-abi-warn usage.
31646
31647 * configure.in: Remove check-abi configure option.
31648 * configure: Regenerated.
31649 * config.make.in (enable-check-abi): Remove.
31650
6d5c57fa
AS
316512012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31652
24c5d07e 31653 [BZ #14033]
ded5180a
AS
31654 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31655 double functions to double *_finite functions.
31656
7e0d315d
AS
31657 [BZ #13941]
31658 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31659 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31660 LDBL_MIN_EXP.
31661 * stdio-common/Makefile (tests): Add tst-sprintf3.
31662 * stdio-common/tst-sprintf3.c: New file.
31663
6d5c57fa
AS
31664 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31665 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31666
0749ff8b
JM
316672012-04-28 Joseph Myers <joseph@codesourcery.com>
31668
31669 * conform/conformtest.pl: Remove duplicate typed-constant
31670 handling.
31671
8dbd5d7b
DM
316722012-04-28 David S. Miller <davem@davemloft.net>
31673
31674 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31675 (check-abi-%): Remove AWK script prerequisite and explicit
31676 abilist directory.
31677 (check-abi): Rewrite to just diff the symlist with the abilist.
31678 (config-tls, config-abi-config): Delete, no longer used.
31679 (update-abi-%): Remove AWK script and explicit abilist directory.
31680 (update-abi): Rewrite to simply compare and conditionally copy the
31681 symlist and the sysdep abilist file. Remove update-abi-config
31682 checks.
31683 * abilist/ld.abilist: Remove.
31684 * abilist/libBrokenLocale.abilist: Remove.
31685 * abilist/libanl.abilist: Remove.
31686 * abilist/libcrypt.abilist: Remove.
31687 * abilist/libdl.abilist: Remove.
31688 * abilist/librt.abilist: Remove.
31689 * abilist/libthread_db.abilist: Remove.
31690 * abilist/libutil.abilist: Remove.
31691 * scripts/extract-abilist.awk: Remove.
31692 * scripts/merge-abilist.awk: Remove.
31693 * sysdeps/generic/libcidn.abilist: New file.
31694 * sysdeps/generic/libnss_compat.abilist: New file.
31695 * sysdeps/generic/libnss_db.abilist: New file.
31696 * sysdeps/generic/libnss_dns.abilist: New file.
31697 * sysdeps/generic/libnss_files.abilist: New file.
31698 * sysdeps/generic/libnss_hesiod.abilist: New file.
31699 * sysdeps/generic/libnss_nis.abilist: New file.
31700 * sysdeps/generic/libnss_nisplus.abilist: New file.
31701 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31702 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31703 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31704 file.
31705 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31706 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31707 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31708 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31709 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31710 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31711 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31712 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31713 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31714 file.
31715 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31716 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31717 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31718 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31719 file.
31720 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31721 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31722 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31723 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31724 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31725 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31726 file.
31727 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31728 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31729 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31730 file.
31731 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31733 New file.
31734 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31735 New file.
31736 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31737 New file.
31738 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31739 New file.
31740 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31741 New file.
31742 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31743 New file.
31744 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31745 New file.
31746 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31747 New file.
31748 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31749 New file.
31750 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31751 New file.
31752 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31753 New file.
31754 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31755 New file.
31756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31757 New file.
31758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31759 file.
31760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31761 New file.
31762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31763 New file.
31764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31765 file.
31766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31767 New file.
31768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31769 New file.
31770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31771 file.
31772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31773 New file.
31774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31775 New file.
31776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31777 New file.
31778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31779 New file.
31780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31781 New file.
31782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31783 New file.
31784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31786 file.
31787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31788 New file.
31789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31790 file.
31791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31792 file.
31793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31794 file.
31795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31796 file.
31797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31798 file.
31799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31800 New file.
31801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31802 file.
31803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31804 file.
31805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31806 New file.
31807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31808 file.
31809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31811 file.
31812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31813 New file.
31814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31815 file.
31816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31817 file.
31818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31819 file.
31820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31821 file.
31822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31823 file.
31824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31825 New file.
31826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31827 file.
31828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31829 file.
31830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31831 New file.
31832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31833 file.
31834 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31835 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31836 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31837 file.
31838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31839 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31840 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31841 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31842 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31843 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31844 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31845 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31846 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31847 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31850 file.
31851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31852 New file.
31853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31854 file.
31855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31856 file.
31857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31858 file.
31859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31860 file.
31861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31862 file.
31863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31864 New file.
31865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31866 New file.
31867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31868 file.
31869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31870 New file.
31871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31872 file.
31873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31875 file.
31876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31877 New file.
31878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31879 file.
31880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31881 file.
31882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31883 file.
31884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31885 file.
31886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31887 file.
31888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31889 New file.
31890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31891 New file.
31892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31893 file.
31894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31895 New file.
31896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31897 file.
31898
41d73a1b
JM
318992012-04-28 Joseph Myers <joseph@codesourcery.com>
31900
31901 * conform/conformtest.pl: Fix typo in handling typed-constant from
31902 allow-header.
31903
28aeeda4
JM
319042012-04-27 Joseph Myers <joseph@codesourcery.com>
31905
adae8f5e
JM
31906 * README: Cut down references to pre-2.6 Linux kernels and
31907 Linuxthreads. Update lists of configurations in libc and ports
31908 and sort alphabetically. Say "or newer" with Linux kernel version
31909 requirements.
31910
28aeeda4
JM
31911 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31912
a462cb63
RA
319132012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31914
31915 [BZ #887]
31916 * math/libm-test.inc (logb_test_downward): New test to expose
31917 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31918 rounding mode.
31919
6ad3493e
JM
319202012-04-27 Joseph Myers <joseph@codesourcery.com>
31921
31922 [BZ #14027]
31923 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31924 to be done.
31925 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31926 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31927
2ce4f015
JM
319282012-04-26 Joseph Myers <joseph@codesourcery.com>
31929
5aeb141a
JM
31930 * sysdeps/unix/i386/brk.S: Remove file.
31931 * sysdeps/unix/i386/dl-brk.S: Likewise.
31932 * sysdeps/unix/i386/pipe.S: Likewise.
31933 * sysdeps/unix/i386/sigreturn.S: Likewise.
31934 * sysdeps/unix/i386/syscall.S: Likewise.
31935 * sysdeps/unix/i386/vfork.S: Likewise.
31936 * sysdeps/unix/i386/wait.S: Likewise.
31937
7143acae
JM
31938 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31939 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31940
2ce4f015
JM
31941 * configure.in (arm*-none*): Do not allow without
31942 --enable-hacker-mode.
31943 (netbsd*): Remove case setting base_os.
31944 (386bsd*): Likewise.
31945 (freebsd*): Likewise.
31946 (bsdi*): Likewise.
31947 (osf*): Likewise.
31948 (sunos*): Likewise.
31949 (ultrix*): Likewise.
31950 (newsos*): Likewise.
31951 (dynix*): Likewise.
31952 (*bsd*): Likewise.
31953 (sysv*): Likewise.
31954 (isc*): Likewise.
31955 (esix*): Likewise.
31956 (sco*): Likewise.
31957 (minix*): Likewise.
31958 (irix4*): Likewise.
31959 (irix6*): Likewise.
31960 (solaris[2-9]*): Likewise.
31961 (none): Likewise.
31962 * configure: Regenerated.
31963
0ac229c8
AZ
319642012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31965
31966 [BZ #11521]
31967 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31968 overflow or cancellation in calculating denominator.
31969 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31970 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31971 down expression to avoid unexpected rounding in newer GCCs.
31972 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31973
33f244f4
DM
319742012-04-26 David S. Miller <davem@davemloft.net>
31975
31976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31977 long-double compat symbols.
31978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31991
cfa1f3e8
DM
319922012-04-25 David S. Miller <davem@davemloft.net>
31993
31994 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31995 HWCAP_* values only after the memory barriers have been defined.
31996 (atomic_full_barrier): Define.
31997 (atomic_read_barrier): Define.
31998 (atomic_write_barrier): Define.
31999
6e236b92
SP
320002012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32001
32002 * shlib-versions: Add libgcc_s version information.
32003 * sysdeps/generic/libgcc_s.h: Remove.
32004 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32005 libgcc_s.h.
32006 * sysdeps/gnu/unwind-resume.c: Likewise.
32007 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32008
aab39a09
DM
320092012-04-25 David S. Miller <davem@davemloft.net>
32010
32011 * sysdeps/unix/sparc/brk.S: Delete.
32012 * sysdeps/unix/sparc/dl-brk.S: Delete.
32013 * sysdeps/unix/sparc/pipe.S: Delete.
32014 * sysdeps/unix/sparc/sysdep.S: Delete.
32015 * sysdeps/unix/sparc/sysdep.h: Delete.
32016 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32017 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32018 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32019 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32020 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32021 (JUMPTARGET): Remove.
32022 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32023 sysdeps/unix/sparc/sysdep.h
32024 (ENTRY, END): Remove.
32025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32026
a3cc4f48
JM
320272012-04-25 Joseph Myers <joseph@codesourcery.com>
32028
2ed8cda2
JM
32029 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32030 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32031 -DIS_IN_build.
32032
35d76d59
JM
32033 * timezone/README: Update upstream location and email address for
32034 tzcode and tzdata.
32035 * timezone/zdump.c: Update from tzcode 2012b.
32036 * timezone/zic.c: Likewise.
32037
a3cc4f48
JM
32038 * configure.in (libc_cv_as_needed): Remove test.
32039 * configure: Regenerated.
32040 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32041 conditional definition.
32042 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32043 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32044 * config.make.in (have-as-needed): Remove variable.
32045
ceab42c3
SP
320462012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32047 Paul Pluzhnikov <ppluzhnikov@google.com>
32048
32049 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32050 strings correctly.
32051
3ce2865f
CLT
320522012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32053
32054 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32055 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32056 * sysdeps/sh/strlen.S: Likewise.
32057
f37e0d68
JM
320582012-04-24 Joseph Myers <joseph@codesourcery.com>
32059
ae186e9a
JM
32060 * sysdeps/unix/fork.S: Remove file.
32061 * sysdeps/unix/i386/fork.S: Likewise.
32062 * sysdeps/unix/sparc/fork.S: Likewise.
32063
b96914af
JM
32064 * sysdeps/unix/system.c: Remove file.
32065 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32066
f37e0d68
JM
32067 * sysdeps/unix/getegid.S: Remove file.
32068 * sysdeps/unix/geteuid.S: Likewise.
32069
87ef29ca
RM
320702012-04-24 Roland McGrath <roland@hack.frob.com>
32071
83bcd236
RM
32072 * scripts/check-localplt.awk: New file.
32073 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32074 of diff.
32075 * scripts/data/localplt-generic.data: Add a comment.
32076
87ef29ca
RM
32077 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32078 NODE when __dir_mkfile failed.
32079 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32080 Reported by Ludovic Courtès <ludo@gnu.org>.
32081
e5a6e567
AJ
320822012-04-24 Andreas Jaeger <aj@suse.de>
32083
32084 * Makerules (common-clean): Also remove gen-as-const-headers
32085 files.
32086
c1820385
JM
320872012-04-24 Joseph Myers <joseph@codesourcery.com>
32088
32089 * Makerules (native-compile): Do not change working directory for
32090 build. Use $(OUTPUT_OPTION) in command.
32091 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32092
94e02fc4
AZ
320932012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32094
32095 [BZ #13886]
32096 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32097 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32098 * math/libm-test.inc (floor_test): Add more tests.
32099 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32100
3a533ca3
JM
321012012-04-24 Joseph Myers <joseph@codesourcery.com>
32102
940ab4b3
JM
32103 * sysdeps/unix/getdents.c: Remove file.
32104 * sysdeps/unix/sysv/getdents.c: Likewise.
32105 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32106
90e037bd
JM
32107 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32108 sysdeps/unix/mman/syscalls.list.
32109 (mmap): Likewise.
32110 (mprotect): Likewise.
32111 (msync): Likewise.
32112 (munmap): Likewise.
32113 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32114 * sysdeps/unix/mman/syscalls.list: Remove.
32115 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32116
3a533ca3
JM
32117 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32118 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32119 * configure: Regenerated.
32120 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32121 $(libgcc_s_suffix).
32122 * config.make.in (libgcc_s_suffix): Remove variable.
32123
1ad743de
JM
321242012-04-23 Joseph Myers <joseph@codesourcery.com>
32125
4ad451e2
JM
32126 * sysdeps/unix/sysv/gethostname.c: Move to ...
32127 * sysdeps/posix/gethostname.c: ... here.
32128
5e37ce39
JM
32129 * sysdeps/unix/execve.S: Remove file.
32130
1ad743de
JM
32131 * sysdeps/unix/_exit.S: Remove file.
32132
4e681b5b
AJ
321332012-04-23 Andreas Jaeger <aj@suse.de>
32134
32135 [BZ #13739]
32136 * manual/Makefile: Remove make dist support, there's no
32137 need for a stand-alone documentation tar ball.
32138 (TEXI2DVI): Define always, it's not in Makeconfig.
32139 (dist): Removed.
32140 (tar-it): Removed.
32141 (edition): Removed.
32142 (glibc-doc-$(edition).tar): Removed
32143 (%.Z): Removed.
32144 (%.gz): Removed.
32145 (%.uu): Removed.
32146 (ETAGS): Remove, it's in Makeconfig.
32147 (move-if-change): Remove, it's in Makeconfig.
32148
38686a03 321492012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
32150
32151 [BZ #13970]
32152 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32153 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32154 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32155 (strtod_l, strtof_l, strtold_l): Remove __wur.
32156 It is not necessarily an error to ignore strtol's return value.
32157 One can reliably look at the stored endptr to decide whether
32158 the number had valid syntax.
32159
7c0616fa
AJ
321602012-04-21 Andreas Jaeger <aj@suse.de>
32161
803cb6b7 32162 [BZ #13739]
7c0616fa
AJ
32163 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32164
b0fe253f
JM
321652012-04-21 Joseph Myers <joseph@codesourcery.com>
32166
32167 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32168 * sysdeps/unix/sysv/Versions: Remove file.
32169
8280f22d
MT
321702012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32171
32172 [BZ #13927]
32173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32174
75ce411f 321752012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
32176
32177 [BZ #7064]
32178 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32179 version from __vm86.
32180
097d59fa
JM
321812012-04-20 Joseph Myers <joseph@codesourcery.com>
32182
a90f3bcb
JM
32183 * sysdeps/unix/common/lxstat.c: Remove file.
32184 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32185
edc7ea78
JM
32186 * sysdeps/unix/sysv/Makefile: Remove file.
32187
cb78c221
JM
32188 * sysdeps/unix/sysv/direct.h: Remove file.
32189
efa6a45f
JM
32190 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32191 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32192 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32193 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32194 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32195 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32196 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32197
9c9f2d0c
JM
32198 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32199
4541c83b
JM
32200 * sysdeps/unix/xmknod.c: Remove file.
32201 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32202
f5d153a0
JM
32203 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32204
aa746595
JM
32205 * sysdeps/unix/sysv/i386/time.S: Remove file.
32206
cce5905e
JM
32207 * sysdeps/unix/fxstat.c: Remove file.
32208 * sysdeps/unix/xstat.c: Likewise.
32209 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32210
37fa3841
JM
32211 * sysdeps/unix/sysv/sigaction.c: Remove file.
32212
ff1962a3
JM
32213 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32214 (sysdep_headers): Remove variable.
32215 [termio.h not in sysdep_headers] (generated): Likewise.
32216 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32217 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32218 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32219 * sysdeps/unix/sysv/tcflow.c: Likewise.
32220 * sysdeps/unix/sysv/tcflush.c: Likewise.
32221 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32222 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32223 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32224 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32225 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32226
e7740d31
JM
32227 * sysdeps/unix/siglist.c: Remove file.
32228
ee06f18b
JM
32229 * sysdeps/unix/getppid.S: Remove file.
32230
097d59fa
JM
32231 * sysdeps/unix/mkdir.c: Remove file.
32232 * sysdeps/unix/rmdir.c: Likewise.
32233
ff3d51ec
AS
322342012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32235
32236 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32237 ERR_MAX value.
32238 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32239 errlist-compat value.
32240
50f81fd7
DM
322412012-04-18 David S. Miller <davem@davemloft.net>
32242
32243 * sysdeps/generic/memcopy.h (reg_char): Delete.
32244 * debug/strcat_chk.c: Use char, not reg_char.
32245 * debug/strcpy_chk.c: Likewise.
32246 * debug/strncat_chk.c: Likewise.
32247 * debug/strncpy_chk.c: Likewise.
32248 * string/memchr.c: Likewise.
32249 * string/memrchr.c: Likewise.
32250 * string/rawmemchr.c: Likewise.
32251 * string/strcat.c: Likewise.
32252 * string/strchr.c: Likewise.
32253 * string/strchrnul.c: Likewise.
32254 * string/strcmp.c: Likewise.
32255 * string/strcpy.c: Likewise.
32256 * string/strncat.c: Likewise.
32257 * string/strncmp.c: Likewise.
32258 * string/strncpy.c: Likewise.
32259
8ff41c46
WS
322602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32261
32262 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32263 __builtin_memcopy is called when src and dest ranges are known to not
32264 overlap.
32265
6b652f46
WS
322662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32267
32268 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32269 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32270 fwd_align_merge macro call.
32271 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32272 bwd_align_merge macro call.
32273 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32274
b282631e
WS
322752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32276
32277 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32278 bwd_align_merge macros.
32279 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32280 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32281 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32282
95aa737c
DM
322832012-04-18 David S. Miller <davem@davemloft.net>
32284
32285 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32286
7a99a614
AJ
322872012-04-18 Andreas Jaeger <aj@suse.de>
32288
32289 [BZ# 6794]
32290 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32291 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32292 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32293
32294 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32295 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32296 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32297
32298 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32299 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32300 Adjust for changed ldbl-128 files.
32301
32302 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32303 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32304 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32305
e5270c23
DM
323062012-04-17 David S. Miller <davem@davemloft.net>
32307
32308 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32309
fb5e92c9
AS
323102012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32311
32312 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32313 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32314 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32315 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32316 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32317 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32318
76da7265
AZ
323192012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32320
32321 [BZ #6794]
32322 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32323 * math/libm-test.inc: Add ilogb errno and exception tests.
32324 * math/w_ilogb.c: New file: ilogb wrapper.
32325 * math/w_ilogbf.c: New file: ilogbf wrapper.
32326 * math/w_ilogbl.c: New file: ilogbl wrapper.
32327 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32328 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32329 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32330 exception being thrown with 0.0 as argument.
32331 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32332 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32333 exception being thrown with 0.0 as argument.
32334 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32335 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32336 exception being thrown with 0.0 as argument.
32337 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32338 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32339 exception being thrown with 0.0 as argument.
32340 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32341 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 32342 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
32343 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32344 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32345 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32346 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32347 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32348 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32349
0396e69d
PB
323502012-04-17 Petr Baudis <pasky@ucw.cz>
32351
32352 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32353 with altivec.
32354
750b5926
MP
323552012-04-16 Marek Polacek <polacek@redhat.com>
32356
32357 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32358
751728a1
MP
323592012-04-16 Marek Polacek <polacek@redhat.com>
32360
32361 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32362 operands of fdivp instruction.
32363
34a27407
L
323642012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32365
32366 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32367 * elf/tst-auditmod3b.c: Likewise.
32368 * elf/tst-auditmod4b.c: Likewise.
32369 * elf/tst-auditmod5b.c: Likewise.
32370 * elf/tst-auditmod6b.c: Likewise.
32371 * elf/tst-auditmod6c.c: Likewise.
32372 * elf/tst-auditmod7b.c: Likewise.
32373 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32374 * sysdeps/x86_64/preconfigure.in: Likewise.
32375 * sysdeps/x86_64/preconfigure: Regenerated.
32376
7e73e17d
L
323772012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32378
32379 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32380 __ILP32__.
32381
c7a6ab72
AB
323822012-04-13 Antoine Balestrat <merkil33@gmail.com>
32383
32384 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32385 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32386
a9e8e0e0
CL
323872012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32388
32389 [BZ #13973]
32390 * locale/iso-639.def: Fix gl language name. Spotted by
32391 Yaron Shahrabani.
32392
ec98af7d
RM
323932012-04-12 Roland McGrath <roland@hack.frob.com>
32394
32395 [BZ #2074]
32396 * libio/libio.h (__io_write_fn): Update comment.
32397
247c3ede
PB
323982012-04-12 Petr Baudis <pasky@ucw.cz>
32399
32400 [BZ #2074]
32401 * stdio.texi (Hook Functions): The user provided writer function
32402 is not allowed to return -1.
32403
55939d6d
DM
324042012-04-11 David S. Miller <davem@davemloft.net>
32405
32406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32407
90020f5a
MF
324082012-04-11 Mike Frysinger <vapier@gentoo.org>
32409
32410 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32411 Add a leading slash to rtkaio.
32412
288f9098
JM
324132012-04-11 Jim Meyering <meyering@redhat.com>
32414
90020f5a
MF
32415 [BZ #11959]
32416 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32417 It is not necessarily an error to ignore fwrite's return
32418 value. One can reliably use ferror to test for errors after
32419 the fact.
288f9098 32420
4be2b570
L
324212012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32422
32423 * bits/types.h (__snseconds_t): New type.
32424 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32425
32426 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32428 (__SNSECONDS_T_TYPE): Likewise.
32429 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32430 (__SNSECONDS_T_TYPE): Likewise.
32431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32432 (__SNSECONDS_T_TYPE): Likewise.
32433
288f9098 324342012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
32435
32436 [BZ #2636]
32437 * manual/time.texi (Processor Time): Return type of times is
32438 elapsed real time since an arbitrary point in the past.
32439 (CPU Time): Move CLK_TCK from here...
32440 (Processor Time): ...to here. Correct description.
32441 * manual/conf.texi (Constants for Sysconf): Correct description of
32442 _SC_CLK_TCK.
32443
d7dd4413
DM
324442012-04-10 David S. Miller <davem@davemloft.net>
32445
32446 [BZ #13967]
32447 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32448 where the is a gap between DT_REL(A) and DT_JMPREL.
32449
b46068fc
L
324502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32451
32452 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32453 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32454 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32455
73d65cc3
SP
324562012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32457
32458 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32459 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32460 (dl_main): Handle --inhibit-cache.
32461 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32462 _dl_inhibit_cache.
32463 * elf/dl-load.c (_dl_map_object): Use it.
32464 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32465
bcc8d661
JM
324662012-04-09 Joseph Myers <joseph@codesourcery.com>
32467
8f9a2fae
JM
32468 [BZ #13872]
32469 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32470 (__ieee754_powl): Saturate large exponents rather than testing for
32471 overflow of y*log2(x).
32472 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32473 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32474 exceptions.
32475
bcc8d661
JM
32476 [BZ #11521]
32477 * math/s_ctan.c: Include <float.h>.
32478 (__ctan): Avoid internal overflow or cancellation in calculating
32479 denominator.
32480 * math/s_ctanf.c: Likewise.
32481 * math/s_ctanl.c: Likewise.
32482 * math/s_ctanh.c: Likewise.
32483 * math/s_ctanhf.c: Likewise.
32484 * math/s_ctanhl.c: Likewise.
32485 * math/libm-test.inc (ctan_test): Add more tests.
32486 (ctanh_test): Likewise.
32487 * sysdeps/i386/fpu/libm-test-ulps: Update.
32488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32489
823fbbb4
AJ
324902012-04-09 Andreas Jaeger <aj@suse.de>
32491
03879793
AJ
32492 [BZ #6894]
32493 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32494 is an optional BSD extension.
32495
823fbbb4
AJ
32496 [BZ #10254]
32497 * manual/stdio.texi (Opening Streams): Document additional fopen
32498 parameters.
32499
8de131cb
RM
325002012-04-09 Roland McGrath <roland@hack.frob.com>
32501
32502 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32503 %eax without telling the compiler.
32504
c0ed9d7d
CD
325052012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32506
32507 [BZ # 13963]
32508 * manual/install.texi: Use sourceware.org.
32509
c483f6b4
JM
325102012-04-09 Joseph Myers <joseph@codesourcery.com>
32511
d7dd9453
JM
32512 [BZ #13873]
32513 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32514 (__ieee754_pow): Generate overflow and underflow using huge*huge
32515 and tiny*tiny rather than just returning constant infinity or zero
32516 for large exponents.
32517 * math/libm-test.inc (pow_test): Require overflow exceptions for
32518 applicable cases of large exponents.
32519
c483f6b4
JM
32520 [BZ #706]
32521 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32522 (__ieee754_pow): Use iterative multiplication algorithm only for
32523 integer exponents with absolute value below 1024. Check for odd
32524 integer exponents when using algorithm for real exponents.
32525 * math/libm-test.inc (pow_test): Add more tests.
32526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32527
d2de7579
JM
325282012-04-08 Joseph Myers <joseph@codesourcery.com>
32529
32530 [BZ #13705]
32531 * math/libm-test.inc (exp_test): Do not allow overflow exception
32532 on underflow test.
32533
f77f1232
AJ
325342012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32535
32536 [BZ #13705]
32537 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32538 instead of __kernel_standard_f.
32539
3884932b
MF
325402012-04-08 Mike Frysinger <vapier@gentoo.org>
32541
32542 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32543 * sysdeps/x86_64/memset_chk.S: Likewise.
32544
54472e9c
AJ
325452012-04-08 Andreas Jaeger <aj@suse.de>
32546
6ab0fbfc
AJ
32547 [BZ #10153]
32548 * manual/startup.texi (Environment Access): Describe return value
32549 for putenv and setenv.
32550
61efba8c
AJ
32551 [BZ #6895]
32552 * manual/filesys.texi (Directory Entries): Add description for
32553 DT_LNK.
32554
95c3f29a
AJ
32555 [BZ #6890]
32556 * manual/filesys.texi (Directory Entries): Clarify that it's file
32557 system not operating system in the description of DT_UNKNOWN.
32558
54472e9c
AJ
32559 [BZ #6578]
32560 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32561
624254b1
SC
325622012-04-08 Stephen Compall <s11@member.fsf.org>
32563
32564 [BZ #6649]
32565 * manual/llio.texi (Opening and Closing Files): Add cross
32566 reference to explain mode argument.
32567
1e4920e0
MF
325682012-04-07 Mike Frysinger <vapier@gentoo.org>
32569
32570 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32571 * sysdeps/x86_64/memset_chk.S: Likewise.
32572
5ed848f3
DM
325732012-04-07 David S. Miller <davem@davemloft.net>
32574
32575 * elf/elf.h (R_SPARC_WDISP10): Define.
32576 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32577 R_SPARC_SIZE32.
32578 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32579 R_SPARC_SIZE64 and R_SPARC_H34.
32580
96154cd8
CD
325812012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32582
32583 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32584 conditions and remove no longer applicable assertion.
32585
9904dc47
L
325862012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32587
32588 * bits/byteswap.h: Include <features.h>.
32589 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32590 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32591
f8887d0a
L
325922012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32593
32594 * bits/byteswap.h (__bswap_16): Removed.
32595 Include <bits/byteswap-16.h> to get __bswap_16.
32596 * sysdeps/i386/bits/byteswap.h: Likewise.
32597 * sysdeps/s390/bits/byteswap.h: Likewise.
32598 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32599 * bits/byteswap-16.h: New file.
32600 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32601 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32602 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32603 * string/Makefile (headers): Add bits/byteswap-16.h.
32604
62470f60
PP
326052012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32606
32607 [BZ #13895]
32608 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32609 extra indirection.
32610 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32611 * nss/tst-nss-static.c: New.
32612
4dad7bab
RM
326132012-04-06 Robert Millan <rmh@gnu.org>
32614
32615 [BZ #6486]
32616 * manual/llio.texi (File Position Primitive): lseek
32617 refers to WHENCE when it really means OFFSET.
32618
e9142a17
AJ
326192012-04-06 Andreas Jaeger <aj@suse.de>
32620
2c040eff
AJ
32621 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32622 strncmp declarations.
32623
e9142a17
AJ
32624 * abilist/libc.abilist: Add __poll and __ppoll.
32625
ff9f1c5f
DM
326262012-04-05 David S. Miller <davem@davemloft.net>
32627
dcd2ae90
DM
32628 * scripts/check-local-headers.sh: Accept a host triplet in the
32629 path matched by the exclude regexp.
32630
993eb054
DM
32631 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32632 definition.
32633 * sysdeps/powerpc/powerpc32/dl-machine.h
32634 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32635 * sysdeps/s390/s390-32/dl-machine.h
32636 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32637 * sysdeps/sparc/sparc32/dl-machine.h
32638 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32639 * sysdeps/sparc/sparc64/dl-machine.h
32640 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32641
ff9f1c5f
DM
32642 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32643 lazy binding.
48e2e132 32644 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32645 undefined symbol errors.
32646
48e2e132 32647 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32648 DT_NEEDED entries.
32649
e80d6f94
MM
326502012-04-05 Michael Matz <matz@suse.de>
32651
32652 [BZ #13592]
32653 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32654
349fa79f
AJ
326552012-04-05 Andreas Jaeger <aj@suse.de>
32656
32657 [BZ #13908]
32658 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32659 comment.
32660
f402708f
KK
326612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32662
32663 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32664 which ROUND is no valid rounding mode.
32665
2ecccfc9
KK
326662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32667
32668 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32669 read again.
32670 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32671
8a53f50f
KK
326722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32673
32674 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32675 an exception using FPU order intentionally.
32676
326772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32678
32679 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32680 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32681 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32682 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32683
d653abb7
SJ
326842012-04-05 Simon Josefsson <simon@josefsson.org>
32685
32686 [BZ #12340]
32687 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32688 EINVAL when BUFLEN is too smal.
32689
c3b1bf7d
TS
326902012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32691
32692 [BZ #13553]
32693 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32694 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32695
b1aa60f3
AJ
326962012-04-03 Andreas Jaeger <aj@suse.de>
32697
c3b1bf7d 32698 [BZ #13938]
67f60a26
AJ
32699 * manual/setjmp.texi (System V contexts): Fix sentence.
32700
b1aa60f3
AJ
32701 [BZ #13926]
32702 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32703 New macro for this case.
32704 [!__GNUC__] (__bswap_64): New inline function for this case.
32705 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32706 * bits/byteswap.h: Likewise.
32707 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32708 ull, guard with __GLIBC_HAVE_LONG_LONG.
32709
32710 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32711 __GLIBC_HAVE_LONG_LONG.
32712
32713 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32714 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32715
39c59c35
TMQMF
327162012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32717
32718 [BZ #13691]
32719 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32720 inptr and inend, rather than using last_ch.
32721
135ffda8
DM
327222012-04-02 David S. Miller <davem@davemloft.net>
32723
32724 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32725 * stdio-common/printf-parse.h (read_int): Change return type to
32726 'int', return -1 on INT_MAX overflow.
32727 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32728 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32729 overflows INT_MAX. Check for overflow of in-format-string precision
32730 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32731 SIZE_MAX not INT_MAX for integer overflow test.
32732 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32733 skip the construct in the format string but do not record anything.
32734 * stdio-common/bug22.c: Adjust to test both width/prevision
32735 INT_MAX overflow as well as total length INT_MAX overflow. Check
32736 explicitly for proper errno values.
32737
228c019e
TS
327382012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32739
302cadd3
TS
32740 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32741 CHAR_MAX.
32742 * string/test-strcmp.c [! WIDE]: Likewise.
32743 * time/tst-mktime2.c: Likewise for INT_MAX.
32744 * string/test-string.h: #include <sys/param.h> for MIN.
32745
228c019e
TS
32746 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32747 * sysdeps/i386/init-first.c (init): Likewise.
32748 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32749 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32750 * sysdeps/sh/init-first.c (init): Likewise.
32751
cfa633f5
UD
327522012-04-01 Ulrich Drepper <drepper@gmail.com>
32753
32754 * po/ru.po: Update from translation team.
d1635ef8 32755 * po/vi.po: Likewise.
cfa633f5 32756
6cd0a5ea
SP
327572012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32758
32759 * resolv/nss_dns/dns-host.c: Merge copyright years.
32760
4b43400f
LD
327612012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32762
32763 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32764 Optimize memcpy with prefetch if
32765 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32766 src, dst pointers have unequal 16 byte alignments.
32767
48c41d04
SP
327682012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32769
32770 [BZ #13928]
32771 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32772 from a CNAME entry and return the minimum ttl for the query.
32773 (gaih_getanswer_slice): Likewise.
32774
b8dc394d
JL
327752012-03-30 Jeff Law <law@redhat.com>
32776
32777 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32778 due to long keys.
32779 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32780 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32781
2f5a5ed0
JL
32782 * resolv/nss_dns/dns-host.c: Update copyright year.
32783
1d39e359
UD
327842012-03-30 Ulrich Drepper <drepper@gmail.com>
32785
c030f70c 32786 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32787 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32788
1d39e359
UD
32789 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32790 comments for sendmmsg.
32791
327922012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32793
32794 [BZ #13691]
32795 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32796 with only 1 character between 0x0041 and 0x01b0.
32797 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32798 * wcsmbs/tst-mbsnrtowcs.c: New file.
32799
20fde227
DM
328002012-03-29 David S. Miller <davem@davemloft.net>
32801
32802 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32803 small copies by hand.
32804
984a4237
JL
328052012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32806
32807 [BZ #13761]
57f41c40
AS
32808 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32809 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32810 group memberships.
984a4237 32811
18c9d62b
DM
328122012-03-28 David S. Miller <davem@davemloft.net>
32813
88d85d4f
DM
32814 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32815 that branches into memcpy.
32816 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32817 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32818 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32819 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32821 bits.
32822 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32823 implementation too.
32824 * sysdeps/sparc/mempcpy.S: New file.
32825
e5aa83e1
DM
32826 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32827 the IFUNC routine in the libc case.
32828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32829
88570753
DM
32830 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32831 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32832 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32833 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32834 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32835 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32836 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32837 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32838
249d7567
DM
32839 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32840 loop to 256 bytes instead of 64 bytes and fix test signedness.
32841
18c9d62b
DM
32842 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32843 * sysdeps/sparc/sparc32/Makefile: rather than here...
32844 * sysdeps/sparc/sparc64/Makefile: and here.
32845
05f3d1f6
UD
328462012-03-28 Ulrich Drepper <drepper@gmail.com>
32847
32848 * malloc/mallocbug.c: Avoid warnings about unused variables.
32849
86ae07a8
JL
328502012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32851
32852 [BZ #13760]
32853 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32854 in the right place. Discard and retry query if response is
32855 larger than input buffer size.
32856
41bf21a1
JM
328572012-03-28 Joseph Myers <joseph@codesourcery.com>
32858
d6270972
JM
32859 [BZ #369]
32860 [BZ #2678]
32861 [BZ #3866]
32862 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32863 x for large integer exponent.
32864 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32865 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32866 sign of result as needed afterwards.
32867 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32868 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32869 result for underflowing pow the same as for overflow.
32870 (__kernel_standard_l): Handle powl overflow and underflow here
32871 rather than calling __kernel_standard.
32872 * math/libm-test.inc (pow_test): Add more tests.
32873
414fca03 32874 [BZ #3868]
41bf21a1
JM
32875 [BZ #13879]
32876 [BZ #13910]
32877 [BZ #13911]
32878 [BZ #13912]
32879 [BZ #13913]
32880 [BZ #13915]
32881 [BZ #13916]
32882 [BZ #13917]
32883 [BZ #13918]
32884 [BZ #13919]
32885 [BZ #13920]
32886 [BZ #13921]
32887 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32888 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32889 (__kernel_standard_l): New function.
32890 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32891 __kernel_standard.
32892 * math/w_acosl.c (__acosl): Likewise.
32893 * math/w_asinl.c (__asinl): Likewise.
32894 * math/w_atan2l.c (__atan2l): Likewise.
32895 * math/w_atanhl.c (__atanhl): Likewise.
32896 * math/w_coshl.c (__coshl): Likewise.
32897 * math/w_exp10l.c (__exp10l): Likewise.
32898 * math/w_exp2l.c (__exp2l): Likewise.
32899 * math/w_fmodl.c (__fmodl): Likewise.
32900 * math/w_hypotl.c (__hypotl): Likewise.
32901 * math/w_j0l.c (__j0l, __y0l): Likewise.
32902 * math/w_j1l.c (__j1l, __y1l): Likewise.
32903 * math/w_jnl.c (__jnl, __ynl): Likewise.
32904 * math/w_lgammal.c (__lgammal): Likewise.
32905 * math/w_log10l.c (__log10l): Likewise.
32906 * math/w_log2l.c (__log2l): Likewise.
32907 * math/w_logl.c (__logl): Likewise.
32908 * math/w_powl.c (__powl): Likewise.
32909 * math/w_remainderl.c (__remainderl): Likewise.
32910 * math/w_scalbl.c (sysv_scalbl): Likewise.
32911 * math/w_sinhl.c (__sinhl): Likewise.
32912 * math/w_sqrtl.c (__sqrtl): Likewise.
32913 * math/w_tgammal.c (__tgammal): Likewise.
32914 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32915 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32916 * math/libm-test.inc (acos_test): Add more tests.
32917 (acosh_test): Likewise.
32918 (asin_test): Likewise.
32919 (atanh_test): Likewise.
32920 (exp_test): Likewise.
32921 (exp10_test): Likewise.
32922 (exp2_test): Likewise.
32923 (expm1_test): Likewise.
32924 (lgamma_test): Likewise.
32925 (log_test): Likewise.
32926 (log10_test): Likewise.
32927 (log1p_test): Likewise.
32928 (log2_test): Likewise.
32929 (pow_test): Do not allow some spurious overflow exceptions.
32930 (sqrt_test): Add more tests.
32931 (tgamma_test): Likewise.
32932 (y0_test): Likewise.
32933 (y1_test): Likewise.
32934 (yn_test): Likewise.
32935
dd62fda6
AB
329362012-03-27 Anton Blanchard <anton@samba.org>
32937
32938 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32939 MAP_HUGETLB.
32940 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32941 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32942 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32943
1e3cdfda
AJ
329442012-03-27 David S. Miller <davem@davemloft.net>
32945
b855ab85
DM
32946 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32947
1e3cdfda
AJ
32948 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32949 have-as-vis3 check.
32950
329512012-03-27 Andreas Jaeger <aj@suse.de>
32952
32953 * sysdeps/x86_64/elf/configure.in: Moved to ...
32954 * sysdeps/x86_64/configure.in: ... here.
32955 * sysdeps/x86_64/elf/start.S: Moved to ...
32956 * sysdeps/x86_64/start.S: ... here.
32957 * sysdeps/x86_64/elf/configure: Delete.
32958
32959 * sysdeps/x86_64/configure.in: Merge contents from
32960 sysdeps/i386/configure.in (without i686 check).
32961
32962 * sysdeps/i386/elf/Versions: Merge into ...
32963 * sysdeps/i386/Versions: ... this.
32964 * sysdeps/i386/elf/Versions: Delete file.
32965 * sysdeps/i386/elf/start.S: Moved to ...
32966 * sysdeps/i386/start.S: ...here.
32967 * sysdeps/i386/elf/configure.in: Merge into...
32968 * sysdeps/i386/configure.in: ...here.
32969 * sysdeps/i386/elf/configure.in: Delete file.
32970 * sysdeps/i386/elf/configure: Delete file.
32971
32972 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32973 * debug/backtracesyms.c: ... here.
32974 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32975 * debug/backtracesymsfd.c: ... here.
32976 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32977 * sysdeps/generic/ifunc-sel.h: ... here.
32978
32979 * sysdeps/unix/i386/start.c: Delete file.
32980 * sysdeps/unix/sparc/start.c: Delete file.
32981 * sysdeps/unix/start.c: Delete file.
32982
32983 * sysdeps/sh/elf/configure.in: Moved to ...
32984 * sysdeps/sh/configure.in: ... here.
32985 * sysdeps/sh/elf/start.S: Moved to ...
32986 * sysdeps/sh/start.S: ... here.
32987 * sysdeps/sh/elf/configure: Delete file.
32988
32989 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32990 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32991 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32992 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32993 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32994 * sysdeps/powerpc/powerpc64/start.S: here.
32995 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32996 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32997 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32998 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32999 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33000
33001 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33002 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33003 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33004 * sysdeps/powerpc/powerpc32/start.S: ... here.
33005 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33006 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33007 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33008
33009 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33010 * sysdeps/powerpc/ifunc-sel.h: ... here.
33011 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33012 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33013
33014 * sysdeps/sparc/elf/configure.in: Moved to ...
33015 * sysdeps/sparc/configure.in: ... here.
33016 * sysdeps/sparc/elf/configure: Delete file.
33017 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33018 * sysdeps/sparc/sparc32/start.S: ... here.
33019 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33020 * sysdeps/sparc/sparc64/start.S: ... here.
33021 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33022 * sysdeps/sparc/sparc32/Makefile: ... this.
33023 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33024 * sysdeps/sparc/sparc64/Makefile: ... this.
33025
33026 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33027 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33028 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33029 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33030 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33031 * sysdeps/s390/s390-32/setjmp.S: ... here.
33032 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33033 * sysdeps/s390/s390-32/configure.in: ... here.
33034 * sysdeps/s390/s390-32/elf/configure: Delete file.
33035 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33036 * sysdeps/s390/s390-32/start.S: ... here.
33037
33038 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33039 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33040 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33041 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33042 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33043 * sysdeps/s390/s390-64/setjmp.S: ... here.
33044 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33045 * sysdeps/s390/s390-64/configure.in: ... here
33046 * sysdeps/s390/s390-64/elf/configure: Delete file.
33047 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33048 * sysdeps/s390/s390-64/start.S: ... here.
33049 * sysdeps/s390/s390-64/elf/configure: Delete.
33050
33051 * configure.in: Remove support for elf directories in sysdeps.
33052
33053 * configure: Regenerated.
33054 * sysdeps/i386/configure: Regenerated.
33055 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33056 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33057 * sysdeps/s390/s390-32/configure: Regenerated.
33058 * sysdeps/s390/s390-64/configure: Regenerated.
33059 * sysdeps/sh/configure: Regenerated.
33060 * sysdeps/sparc/configure: Regenerated.
33061 * sysdeps/x86_64/configure: Regenerated.
33062
a3f61311
AS
330632012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33064
c876e002
AS
33065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33066
a3f61311
AS
33067 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33068 denormal result into account.
33069
ac4c54f0
RM
330702012-03-25 Roland McGrath <roland@hack.frob.com>
33071
33072 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33073 Reported by Allan McRae <allan@archlinux.org>.
33074
6a9b9c02
JL
330752012-03-23 Jeff Law <law@redhat.com>
33076
33077 * nss/getnssent.c (__nss_getent): Fix typo.
33078
4c42a0c1
DM
330792012-03-23 David S. Miller <davem@davemloft.net>
33080
33081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33082
1532c7ac
L
330832012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33084
33085 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33086 to pad to uint64_t for each field.
33087 (dl_tls_index): Replace unsigned long with uint64_t.
33088
3ff42526
PP
330892012-03-23 Daniel Jacobowitz <dmj@google.com>
33090 Paul Pluzhnikov <ppluzhnikov@google.com>
33091
33092 [BZ #6528]
33093 * grp/Makefile (otherlibs): Don't set it.
33094 * inet/Makefile (otherlibs): Likewise.
33095 * login/Makefile (otherlibs): Likewise.
33096 * nscd/Makefile (otherlibs): Likewise.
33097 * posix/Makefile (otherlibs): Likewise.
33098 * pwd/Makefile (otherlibs): Likewise.
33099 * rt/Makefile (otherlibs): Likewise.
33100 * sunrpc/Makefile (otherlibs): Likewise.
33101 * nss/Makefile (otherlibs): Likewise.
33102 Add libnss_files to routines and static-only-routines.
33103 ($(objpfx)getent): Remove rule.
33104 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33105 static-only-routines.
33106
7c69cd14
JM
331072012-03-22 Joseph Myers <joseph@codesourcery.com>
33108
33109 [BZ #13892]
33110 * math/s_cexp.c: Include <float.h>.
33111 (__cexp): Handle exp result overflowing not necessarily
33112 overflowing both real and imaginary parts of result.
33113 * math/s_cexpf.c: Likewise.
33114 * math/s_cexpl.c: Likewise.
33115 * math/libm-test.inc (cexp_test): Add more tests.
33116 * sysdeps/i386/fpu/libm-test-ulps: Update.
33117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33118
81b035fe
L
331192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33120
33121 * include/link.h (ELFW): New macro.
33122 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33123 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33124
1da7940c
L
331252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33126
33127 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33128 with uint64_t.
33129
b749dbb9
L
331302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33131
33132 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33133 declaration.
33134 (struct La_x32_retval): Likewise.
33135
2ff87f3f
L
331362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33137
33138 * sysdeps/x86_64/preconfigure.in: New file.
33139 * sysdeps/x86_64/preconfigure: New generated file.
33140
c0df8e69
JM
331412012-03-22 Joseph Myers <joseph@codesourcery.com>
33142
48e44791
JM
33143 [BZ #13824]
33144 * math/e_exp2l.c: Include <float.h>.
33145 (__ieee754_exp2l): Handle overflow and underflow cases
33146 separately. Only pass fractional part of argument to
33147 __ieee754_expl.
33148 * math/libm-test.inc (exp2_test): Add more tests.
33149
c0df8e69
JM
33150 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33151 negating x to take absolute value.
33152 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33153 Likewise.
33154 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33155 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33156 Likewise.
33157 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33158 computing low part if x was negated.
33159 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33160
c8e43ba7
L
331612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33162
33163 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33164 la_x32_gnu_pltexit.
33165 (pltexit): Cast int_retval to ptrdiff_t.
33166 * elf/tst-auditmod3b.c: Likewise.
33167 * elf/tst-auditmod4b.c: Likewise.
33168 * elf/tst-auditmod5b.c: Likewise.
33169 * elf/tst-auditmod6b.c: Likewise.
33170 * elf/tst-auditmod6c.c: Likewise.
33171 * elf/tst-auditmod7b.c: Likewise.
33172
33173 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33174 and x32_gnu_pltexit.
33175
33176 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33177 __ELF_NATIVE_CLASS.
33178 (La_x32_regs): New macro.
33179 (La_x32_retval): Likewise.
33180 (la_x32_gnu_pltenter): New function prototype.
33181 (la_x32_gnu_pltexit): Likewise.
33182
7998fa78
AS
331832012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33184
dcb33988
AS
33185 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33186 exponent.
33187
233fc563
AS
33188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33189
7998fa78
AS
33190 * configure.in (libc_cv_cc_nofma): Check for option to disable
33191 generation of FMA instructions.
33192 * configure: Regenerate.
33193 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33194 * sysdeps/ieee754/dbl-64/Makefile: New file.
33195 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33196 Remove brandred-fma4.
33197 (CFLAGS-brandred-fma4.c): Remove.
33198 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33199 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33200 define.
33201 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33202 define.
33203
8e95c99a
L
332042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33205
33206 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33207 LLONG_MAX != LONG_MAX.
33208 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33209 (_fitoa_word): Likewise.
33210 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33211 LLONG_MAX != LONG_MAX.
33212 * stdio-common/_itowa.h: Include <_itoa.h>.
33213 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33214 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33215 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33216 only if not defined.
33217 (_ITOA_WORD_TYPE): Likewise.
33218 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33219 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33220
6f4db457
DM
332212012-03-21 David S. Miller <davem@davemloft.net>
33222
33223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33224
7785fe5a
L
332252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33226
33227 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33228 of x86_64 when setting libc_cv_slibdir, libdir and
33229 libc_cv_localedir.
33230 * sysdeps/unix/sysv/linux/configure: Regenerated.
33231
4535cd55
JM
332322012-03-21 Joseph Myers <joseph@codesourcery.com>
33233
33234 * manual/lang.texi (Old Varargs): Remove section.
33235 (How Variadic): Update menu.
33236 (va_start): Do not mention varargs.h.
33237
17228132
TS
332382012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33239 Joseph Myers <joseph@codesourcery.com>
33240
33241 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33242 link test.
33243 * configure: Regenerated.
33244
8149f976
TS
332452012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33246
05f3d1f6
UD
33247 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33248 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33249 conformtest.pl
8149f976 33250
1a4ac776
JM
332512012-03-21 Joseph Myers <joseph@codesourcery.com>
33252
be22ce65
JM
33253 * NOTES: Remove.
33254 * Makefile (files-for-dist): Remove NOTES.
33255 (NOTES): Remove rule.
33256 * README: Don't refer to NOTES.
33257 * manual/creature.texi: Don't include macros.texi.
33258 * manual/intro.texi (creature.texi): Remove comment referring to
33259 NOTES.
33260
40b601fb
JM
33261 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33262 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33263 * configure: Regenerated.
33264 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33265 LIBC_TRY_CC_OPTION.
33266 (libc_cv_as_i686): Likewise.
33267 (libc_cv_cc_avx): Likewise.
33268 (libc_cv_cc_sse2avx): Likewise.
33269 (libc_cv_cc_fma4): Likewise.
33270 (libc_cv_cc_novzeroupper): Likewise.
33271 * sysdeps/i386/configure: Regenerated.
33272
1a4ac776
JM
33273 [BZ #13883]
33274 * sysdeps/i386/fpu/s_cexp.S: Remove.
33275 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33276 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33277 * math/libm-test.inc (cexp_test): Add more tests.
33278 * sysdeps/i386/fpu/libm-test-ulps: Update.
33279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33280
a458e7fe
AM
332812012-03-21 Allan McRae <allan@archlinux.org>
33282
33283 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33284
0cb7efc5
JM
332852012-03-21 Joseph Myers <joseph@codesourcery.com>
33286
33287 [BZ #13871]
33288 * math/w_exp2.c: Do not include <float.h>.
33289 (o_threshold, u_threshold): Remove.
33290 (__exp2): Calculate result before checking finiteness and calling
33291 __kernel_standard.
33292 * math/w_exp2f.c: Likewise.
33293 * math/w_exp2l.c: Likewise.
33294 * math/libm-test.inc (exp2_test): Require overflow exception for
33295 1e6 input.
2460d3aa
JM
33296
33297 [BZ #3866]
33298 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33299 range of signed 64-bit integers before using fistpll. Remove
33300 checks for whether integers fit in mantissa bits.
33301 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33302 the range of signed 32-bit integers before using fistpl. Remove
33303 checks for whether integers fit in mantissa bits.
33304 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33305 (__ieee754_powl): Test for y outside the range of signed 64-bit
33306 integers before using fistpll. Reduce 64-bit values to 63-bit
33307 ones as needed.
33308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33309 divide-by-zero is raised for zero to large negative powers.
33310 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33311 (__ieee754_powl): Test for y outside the range of signed 64-bit
33312 integers before using fistpll. Reduce 64-bit values to 63-bit
33313 ones as needed.
33314 * math/libm-test.inc (pow_test): Add more tests.
33315
eb96ffb0
L
333162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33317
33318 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33319 <stdio-common/_itoa.h>.
33320 * debug/segfault.c: Likewise.
33321 * elf/dl-cache.c: Likewise.
33322 * elf/dl-minimal.c: Likewise.
33323 * elf/dl-misc.c: Likewise.
33324 * elf/dl-sysdep.c: Likewise.
33325 * elf/dl-version.c: Likewise.
33326 * elf/rtld.c: Likewise.
33327 * hurd/hurdsock.c: Likewise.
33328 * hurd/lookup-retry.c: Likewise.
33329 * malloc/malloc.c: Likewise.
33330 * malloc/mtrace.c: Likewise.
33331 * nscd/nscd_getgr_r.c: Likewise.
33332 * nscd/nscd_getpw_r.c: Likewise.
33333 * nscd/nscd_getserv_r.c: Likewise.
33334 * posix/getopt_init.c: Likewise.
33335 * posix/wordexp.c: Likewise.
33336 * stdio-common/_itoa.c: Likewise.
33337 * stdio-common/printf_fphex.c: Likewise.
33338 * stdio-common/vfprintf.c: Likewise.
33339 * string/_strerror.c: Likewise.
33340 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33341 * sysdeps/i386/i686/hp-timing.h: Likewise.
33342 * sysdeps/mach/_strerror.c: Likewise.
33343 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33344 * sysdeps/mach/hurd/sethostid.c: Likewise.
33345 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33346 * sysdeps/mach/xpg-strerror.c: Likewise.
33347 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33348 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33349 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33350 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33351 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33352 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33353 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33354 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33355 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33356 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33357 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33358 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33359 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33360 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33361 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33362 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33363 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33364 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33365 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33366 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33367 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33368
33369 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33370
33371 * stdio-common/_itoa.h: Moved to ...
33372 * sysdeps/generic/_itoa.h: Here.
33373
33374 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33375
33376 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33377 instead of "_itoa.h" and "_itowa.h".
33378 * stdio-common/vfprintf.: Likewise.
33379
d1af992d
L
333802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33381
33382 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33383 <bits/wordsize.h>.
33384 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33385 (__signbit): Likwise.
33386 (llrintf): Likwise.
33387 (llrint): Likwise.
33388
114883e0
L
333892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33390
33391 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33392 __WORDSIZE != 64.
33393
c135cc1b
JM
333942012-03-20 Joseph Myers <joseph@codesourcery.com>
33395
33396 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33397 OVERFLOW_EXCEPTION_OK.
33398 * math/libm-test.inc ("Philosophy"): Update comment about
33399 exception testing.
33400 (OVERFLOW_EXCEPTION): Define.
33401 (OVERFLOW_EXCEPTION_OK): Likewise.
33402 (INVALID_EXCEPTION_OK): Renumber.
33403 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33404 (IGNORE_ZERO_INF_SIGN): Likewise.
33405 (test_exceptions): Handle FE_OVERFLOW.
33406 (exp10_test): Expect overflow exceptions.
33407 (exp2_test): Likewise.
33408 (expm1_test): Likewise.
33409 (nextafter_test): Likewise.
33410 (pow_test): Likewise.
33411 (scalbn_test): Likewise.
33412 (scalbln_test): Likewise.
33413
95443d88
L
334142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33415
33416 * sysdeps/x86_64/bits/atomic.h
33417 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33418 64bit integer.
33419 (atomic_exchange_acq): Likewise.
33420 (__arch_exchange_and_add_body): Likewise.
33421 (__arch_add_body): Likewise.
33422 (atomic_add_negative): Likewise.
33423 (atomic_add_zero): Likewise.
33424
490df6c4
L
334252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33426
c2722551 33427 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
33428 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33429
5e52b189
L
334302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33431
33432 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33433 Check __x86_64__ instead of __WORDSIZE.
33434
a9879d4c
L
334352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33436
33437 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33438
5df98260
DM
334392012-03-19 David S. Miller <davem@davemloft.net>
33440
e1497744
DM
33441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33442
5df98260
DM
33443 * sysdeps/sparc/fpu/fenv_private.h: New file.
33444 * sysdeps/sparc/fpu/math_private.h: Use it.
33445 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33446 Remove.
57f41c40 33447 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
33448 (libc_feholdexcept_setroundl): Remove.
33449 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33450 Remove.
33451 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33452 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33453
b4c35121
L
334542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33455
33456 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33457 int64_t instead of long int.
33458 (INSERT_WORDS64): Likwise.
33459
56965fd7
L
334602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33461
33462 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33463 _Unwind_GetCFA return to _Unwind_Ptr first.
33464
83d1aec8
JM
334652012-03-19 Joseph Myers <joseph@codesourcery.com>
33466
1897ad44
JM
33467 [BZ #13629]
33468 * math/s_clog.c: Include <float.h>.
33469 (__clog): Scale large or subnormal inputs.
33470 * math/s_clogf.c: Likewise.
33471 * math/s_clogl.c: Likewise.
33472 * math/s_clog10.c: Include <float.h>.
33473 (M_LOG10_2): Define.
33474 (__clog10): Scale large or subnormal inputs.
33475 * math/s_clog10f.c: Likewise.
33476 * math/s_clog10l.c: Likewise.
33477 * math/libm-test.inc (clog_test): Add more tests.
33478 (clog10_test): Likewise.
33479 * sysdeps/i386/fpu/libm-test-ulps: Update.
33480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33481
7726d6a9
JM
33482 [BZ #11451]
33483 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33484 x and y.
33485 * math/libm-test.inc (atan2_test): Add another test.
33486
83d1aec8
JM
33487 * Makerules (common-objdir-compile): Remove.
33488 * sysdeps/unix/Makefile (config-generated): Do not add
33489 $(unix-generated) to variable.
33490 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33491 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33492 Remove rule.
33493 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33494 Likewise.
33495 [generic bits/local_lim.h] (before-compile): Do not append to
33496 variable.
33497 [generic bits/local_lim.h] (common-generated): Likewise.
33498 [generic sys/param.h] (before-compile): Do not append to variable.
33499 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33500 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33501 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33502 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33503 include.
33504 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33505 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33506 [generic sys/param.h] ($(addprefix
33507 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33508 [generic sys/param.h] (common-generated): Do not append to
33509 variable.
33510 [generic sys/param.h] (sysdep_headers): Likewise.
33511 [generic bits/errno.h] (before-compile): Do not append to
33512 variable.
33513 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33514 rule.
33515 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33516 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33517 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33518 [generic bits/errno.h] (common-generated): Do not append to
33519 variable.
33520 [generic bits/ioctls.h] (before-compile): Do not append to
33521 variable.
33522 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33523 rule.
33524 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33525 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33526 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33527 rule.
33528 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33529 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33530 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33531 [generic bits/ioctls.h] (common-generated): Do not append to
33532 variable.
33533 [generic sys/syscall.h] (syscall.h): Remove variable.
33534 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33535 rule.
33536 [generic sys/syscall.h] (before-compile): Do not append to
33537 variable.
33538 [generic sys/syscall.h] (common-generated): Likewise.
33539 * sysdeps/unix/errnos-tmpl.c: Remove file.
33540 * sysdeps/unix/errnos.awk: Likewise.
33541 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33542 * sysdeps/unix/ioctls.awk: Likewise.
33543 * sysdeps/unix/mk-local_lim.c: Likewise.
33544 * sysdeps/unix/snarf-ioctls: Likewise.
33545
4851a949
RH
335462012-03-19 Richard Henderson <rth@twiddle.net>
33547
bd37f2ee
RH
33548 * sysdeps/i386/fpu/fenv_private.h: New file.
33549 * sysdeps/i386/fpu/math_private.h: Use it.
33550 (math_opt_barrier, math_force_eval): Remove.
33551 (libc_feholdexcept_setround_53bit): Remove.
33552 (libc_feupdateenv_53bit): Remove.
33553 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33554 (math_opt_barrier, math_force_eval): Remove.
33555 (libc_feholdexcept): Remove.
33556 (libc_feholdexcept_setround): Remove.
33557 (libc_fetestexcept, libc_fesetenv): Remove.
33558 (libc_feupdateenv_test): Remove.
33559 (libc_feupdateenv, libc_feholdsetround): Remove.
33560 (libc_feresetround): Remove.
33561
d0adc922
RH
33562 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33563 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33564
0fe0f1f8
RH
33565 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33566 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33567 (libc_feupdateenv_testl): New.
33568 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33569 (libc_feupdateenv_testf): New.
33570 (libc_feupdateenv): Use libc_feupdateenv_test.
33571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33572 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33573
eb92c487
RH
33574 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33575 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33576 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33577 (libc_feresetround_noex): New.
33578 (libc_feresetround_noexf): New.
33579 (libc_feresetround_noexl): New.
33580 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33581 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33582 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33583 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33584 SET_RESTORE_ROUND.
33585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33586 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33587 (__cos): Likewise.
33588 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33589 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33590 SET_RESTORE_ROUND_NOEX.
33591 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33592 SET_RESTORE_ROUND_NOEXF.
33593 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33594 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33595 (libc_feholdsetroundf): New.
33596 (libc_feresetround, libc_feresetroundf): New.
33597
7d2e8012
RH
33598 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33599 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33600 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33601
b4dabbb4
RH
33602 * sysdeps/generic/math_private.h: Include <fenv.h>.
33603 (default_libc_feholdexcept): New.
33604 (default_libc_feholdexcept_setround): New.
33605 (default_libc_fesetenv, default_libc_feupdateenv): New.
33606 (libc_feholdexcept): Only define if undefined.
33607 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33608 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33609 (libc_feholdexcept_setroundl): Likewise.
33610 (libc_feholdexcept_setround_53bit): Likewise.
33611 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33612 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33613 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33614 (libc_feupdateenv_53bit): Likewise.
33615 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33616 (libc_feholdexcept): Convert from macro to inline function.
33617 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33618 (libc_fesetenv, libc_feupdateenv): Likewise.
33619
4851a949
RH
33620 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33621 not previously defined.
33622 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33623 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33624 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33625 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33626 * sysdeps/ieee754/flt-32/math_private.h: New file.
33627 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33628 math_private.h below SET_FLOAT_WORD.
33629 (__isnan, __isinf_ns, __finite): Remove.
33630 (__isnanf, __isinf_nsf, __finitef): Remove.
33631
e79d442e
AS
336322012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33633
33634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33635
90b80344
DM
336362012-03-17 David S. Miller <davem@davemloft.net>
33637
33638 [BZ #6471]
33639 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33640 for 2.16.
33641
edc21804
DM
336422012-03-16 David S. Miller <davem@davemloft.net>
33643
77e927af
DM
33644 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33645 warnings.
33646
374976dd
DM
33647 [BZ #6471]
33648 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33649 properly.
33650 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33651 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33652 sysdep_routines when subdir is sysvipc.
33653 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33654 __getshmlba helper.
33655
edc21804
DM
33656 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33657
473c3ef3
L
336582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33659
33660 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33661 [__LP64__].
33662
eb0f39b6
L
336632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33664
33665 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33666 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33667 (__lround): Renamed to ...
33668 (__llround): This. Replace long int with long long int.
33669 Define lround functions as aliases of llround functions.
33670 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33671
6b6cd74b
L
336722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33673
33674 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33675 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33676 adresses to uintptr_t. Replace "long int" and "unsigned long
33677 int" with "greg_t" on va_arg.
33678
f1a77b01
L
336792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33680
33681 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33682 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33683
33684 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33685 Move e_machine check before EI_CLASS check. Handle x32
33686 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33687 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33688 SKIP_EM_IA_64 and include
33689 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33690
33691 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33692 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33693 (add_system_dir): New macro.
33694
33695 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33696 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33697
11b90b9f
JM
336982012-03-16 Joseph Myers <joseph@codesourcery.com>
33699
c36e1d23
JM
33700 [BZ #2551]
33701 [BZ #2552]
33702 [BZ #2553]
33703 [BZ #2554]
33704 [BZ #2562]
33705 [BZ #2563]
33706 [BZ #2565]
33707 [BZ #2566]
33708 [BZ #2576]
33709 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33710 (y0): Likewise.
33711 * math/w_j0f.c (j0f): Likewise.
33712 (y0f): Likewise.
33713 * math/w_j0l.c (__j0l): Likewise.
33714 (__y0l): Likewise.
33715 * math/w_j1.c (j1): Likewise.
33716 (y1): Likewise.
33717 * math/w_j1f.c (j1f): Likewise.
33718 (y1f): Likewise.
33719 * math/w_j1l.c (__j1l): Likewise.
33720 (__y1l): Likewise.
33721 * math/w_jn.c (jn): Likewise.
33722 (yn): Likewise.
33723 * math/w_jnf.c (jnf): Likewise.
33724 (ynf): Likewise.
33725 * math/w_jnl.c (__jnl): Likewise.
33726 (__ynl): Likewise.
33727 * math/libm-test.inc (j0_test): Add more tests.
33728 (j1_test): Likewise.
33729 (jn_test): Likewise. Add trailing semicolon to existing test.
33730 (y0_test): Likewise.
33731 (y1_test): Likewise.
33732 * sysdeps/i386/fpu/libm-test-ulps: Update.
33733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33734
11b90b9f
JM
33735 [BZ #13851]
33736 [BZ #13854]
33737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33738 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33739 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33740 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33741 (__tanl): Set errno for infinite argument.
33742 * sysdeps/i386/fpu/mptan.c: Remove.
33743 * sysdeps/i386/fpu/s_tan.S: Likewise.
33744 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33745 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33746 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33747 * math/libm-test.inc (tan_test): Add more tests and enable more
33748 tests for double and long double.
33749 * sysdeps/i386/fpu/libm-test-ulps: Update.
33750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33751
6a1bd2a1
JK
337522012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33753
33754 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33755 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33756
10a803e0
RM
337572012-03-16 Roland McGrath <roland@hack.frob.com>
33758
33759 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33760 * configure.in: Use it for both main tree and add-ons.
33761 * configure: Regenerated.
33762
f196c7f7
L
337632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33764
33765 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33766
8848d99d
JM
337672012-03-16 Joseph Myers <joseph@codesourcery.com>
33768
96cbe7f4
JM
33769 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33770 in comment.
33771
8848d99d
JM
33772 [BZ #13851]
33773 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33774 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33778 infinite argument.
33779 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33780 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33781 != 0 for prec == 2.
33782 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33783 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33784 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33785 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33786 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33787 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33788 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33789 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33790 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33791 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33792 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33793 * math/libm-test.inc (cos_test): Add more tests and enable more
33794 tests for long double.
33795 (sin_test): Likewise.
33796 (sincos_test): Likewise.
33797 * sysdeps/i386/fpu/libm-test-ulps: Update.
33798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33799
dd7f4703
DM
338002012-03-16 David S. Miller <davem@davemloft.net>
33801
33802 * sysdeps/sparc/fpu/math_private.h: New file.
33803
006f1daa
DM
338042012-03-15 David S. Miller <davem@davemloft.net>
33805
c0c83bc8
DM
33806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33807 file.
e6a62e18 33808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33810 file.
e6a62e18
DM
33811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33817 sysdep routines.
33818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33819
88cb87d9
DM
33820 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33821 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33822
006f1daa 33823 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33825 sparc-ifunc.h
006f1daa 33826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33828 Likewise.
33829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33830 Likewise.
006f1daa
DM
33831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33835 Likewise.
006f1daa
DM
33836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33841 Likewise.
33842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33843 Likewise.
006f1daa
DM
33844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33851 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33866 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33867 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33868
11e0098e
AS
338692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33870
33871 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33872 scaling.
33873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33874
e85b09d0
AJ
338752012-03-15 Andreas Jaeger <aj@suse.de>
33876
33877 [BZ #13852]
33878 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33879 ieee754/flt-32 implementation for sin, cos and sincos.
33880 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33881 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33882 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33883 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33884 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33885 ieee754/flt-32 implementation for tan.
33886
33887 * math/libm-test.inc (cos_test): Enable some large input tests for
33888 float as well
33889 (sin_test): Likewise.
33890 (sincos_test): Likewise.
33891 (tan_test): Add tests for large input.
33892
33893 * sysdeps/i386/fpu/libm-test-ulps: Update.
33894
81c64153
AJ
338952012-03-15 Andreas Jaeger <aj@suse.de>
33896
33897 [BZ #13658]
33898 * math/libm-test.inc (cos_test): Add more test cases.
33899 (sin_test): Likewise.
33900 (sincos_test): Likewise.
33901
7bbfa5c6
AJ
339022012-03-15 Andreas Jaeger <aj@suse.de>
33903
33904 [BZ #13837]
33905 * math/libm-test.inc (cos_test): Add a test case for large input
33906 value.
33907 (sin_test): Likewise.
33908 (sincos_test): Likewise.
33909
57f41c40
AS
339102012-03-15 Andreas Jaeger <aj@suse.de>
33911 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33912
33913 [BZ #13658]
0671f479 33914 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33915 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33916 * sysdeps/i386/fpu/branred.c: Likewise.
33917 * sysdeps/i386/fpu/dosincos.c: Likewise.
33918 * sysdeps/i386/fpu/mpa.c: Likewise.
33919 * sysdeps/i386/fpu/s_cos.S: Likewise.
33920 * sysdeps/i386/fpu/s_sin.S: Likewise.
33921 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33922 * sysdeps/i386/fpu/sincos32.c: Likewise.
33923
33924 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33925 Define.
33926 (libc_feupdateenv_53bit): Define.
33927 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33928 Define.
33929 (libc_feupdateenv_53bit): Define.
33930
33931 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33932 53 bit (without extend i386 double precision).
33933
33934 * math/libm-test.inc (sincos_test): Add tests for large input.
33935 (sin): Likewise.
33936 (cos): Likewise.
33937
33938 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33939
9cad04ea
AS
339402012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33941
33942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33943
f7062b9a
DM
339442012-03-15 David S. Miller <davem@davemloft.net>
33945
33946 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33947 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33948 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33949 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33962 file.
f7062b9a 33963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33965 file.
f7062b9a 33966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33968 file.
f7062b9a 33969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33971 file.
f7062b9a
DM
33972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33973 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33974 fmin/fmax sysdep routines.
33975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33976
7bd951ff
DM
339772012-03-14 David S. Miller <davem@davemloft.net>
33978
559398ab
DM
33979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33983 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33984 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33985 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33986 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33999 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34000 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34001 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34003 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34004 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34005 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34008 routines.
34009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34010 file.
559398ab 34011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34013 file.
559398ab 34014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34016 file.
559398ab 34017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34019 file.
559398ab 34020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34022 file.
559398ab 34023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34025 file.
34026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34027 file.
34028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34029 file.
34030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34031 file.
34032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34033 New file.
34034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34035 file.
34036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34037 file.
559398ab 34038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34040 file.
559398ab 34041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34043 file.
559398ab 34044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34046 file.
559398ab 34047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34049 VIS3 routines.
559398ab
DM
34050
34051 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34052 New file.
34053
5a1c1e32
DM
34054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34055
eae47a36
DM
34056 * sysdeps/sparc/configure.in: New file.
34057 * sysdeps/sparc/configure: Generate.
34058 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34059 * configure: Regenerate.
34060 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34061 * config.make.in (have-as-vis3): New.
34062 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34063 available use -Av9d instead of -Av9a.
34064 * sysdeps/sparc/sparc64/Makefile: Likewise.
34065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34067 New file.
34068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34069 file.
34070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34071 New file.
34072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34073 file.
eae47a36
DM
34074 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34075 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34076 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34077 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34079
c0c83bc8
DM
34080 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34081 fzeros/fnegs to load 0x80000000 into a float register instead of
34082 using the stack.
7bd951ff
DM
34083 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34084
bd951ccb
JM
340852012-03-14 Joseph Myers <joseph@codesourcery.com>
34086
34087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34088 bits/syscall.h.
34089 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34090 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34091 ($(inst_includedir)/bits/syscall.h): Remove rule.
34092 ($(objpfx)bits/syscall.d): Include instead of
34093 $(objpfx)syscall-list.d.
34094 (generated): Change syscall-list.h and syscall-list.d to
34095 bits/syscall.h and bits/syscall.d.
34096
bb4e6db2
RM
340972012-03-14 Roland McGrath <roland@hack.frob.com>
34098
34099 [BZ #13846]
34100 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34101
aa4a2ae1
JM
341022012-03-14 Joseph Myers <joseph@codesourcery.com>
34103
e456826d
JM
34104 [BZ #13841]
34105 * math/s_csqrt.c: Include <float.h>.
34106 (__csqrt): Scale large or subnormal inputs.
34107 * math/s_csqrtf.c: Likewise.
34108 * math/s_csqrtl.c: Likewise.
34109 * math/libm-test.inc (csqrt_test): Add more tests.
34110 * sysdeps/i386/fpu/libm-test-ulps: Update.
34111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34112
aa4a2ae1
JM
34113 [BZ #13840]
34114 * math/libm-test.inc (hypot_test): Add more tests.
34115
7c10fd35
DM
341162012-03-13 David S. Miller <davem@davemloft.net>
34117
34118 [BZ #13840]
34119 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34120 double-precision for the calculation instead of scaling.
34121
f453b98b
JM
341222012-03-13 Joseph Myers <joseph@codesourcery.com>
34123
34124 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34125 manipulate bits before adding and subtracting TWO52[sx].
34126 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34127 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34128 Likewise.
34129 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34130
09a3453f
DM
341312012-03-13 David S. Miller <davem@davemloft.net>
34132
8e59da90
DM
34133 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34134 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34135 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34136 rtld-global-offsets.h
34137 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34138
2a8ab7f2
DM
34139 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34140 large parameters.
34141
10f62770
DM
34142 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34143
5f0bdb18
DM
34144 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34145 'err' in the ifdef scope in which it is actually used.
34146
09a3453f
DM
34147 * nss/nss_db/db-init.c: Include string.h
34148
b4b2eb5e
DM
341492012-03-12 David S. Miller <davem@davemloft.net>
34150
98bb2f1c
DM
34151 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34152 masking out of the most significant byte of random value used.
34153 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34154 Fix coding style in previous change.
34155
b4b2eb5e
DM
34156 * sysdeps/unix/sysv/linux/kernel-features.h
34157 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34158 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34159 expression.
34160 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34161 later.
34162
6e226b09
DM
341632012-03-11 David S. Miller <davem@davemloft.net>
34164
a1bcbd40
DM
34165 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34166 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34167 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34168 for 'resultvar' otherwise things get truncated on 64-bit.
34169
cb9d6174
DM
34170 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34171 Fix masking out of the most significant byte of random value used.
34172
6e226b09
DM
34173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34174
058c132d
AS
341752012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34176
34177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34178
2d2cd515
DM
341792012-03-09 David S. Miller <davem@davemloft.net>
34180
34181 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34182 variables with appropriate CPP guards.
57f41c40
AS
34183 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34184 from the frame pointer, not the stack pointer. Correct layout
34185 comments. Fix test on resulting framesize and the management of
34186 the outregs buffer for pltexit. Preserve floating point return
34187 values across _dl_call_pltexit call.
2d2cd515
DM
34188 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34189 framesize and the management of the outregs buffer for pltexit.
34190 Preserve floating point return values across _dl_call_pltexit
34191 call.
57f41c40
AS
34192 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34193 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34194 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
34195 (print_exit): Fix format string for return register value.
34196
9a07f9d0
JM
341972012-03-10 Joseph Myers <joseph@codesourcery.com>
34198
34199 * sunrpc/Makefile (others): Add rpcgen.
34200 ($(objpfx)rpcgen): Remove special build rule and dependency on
34201 libc.
34202 * sunrpc/rpcgen.c: New file.
34203
547b5e30
PE
342042012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34205
c524201a
PE
34206 [BZ #13673]
34207 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34208 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34209 * sysdeps/i386/crti.S: Likewise.
34210 * sysdeps/i386/crtn.S: Likewise.
34211 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34212 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34213 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34214 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34215 * sysdeps/sh/crti.S: Likewise.
34216 * sysdeps/sh/crtn.S: Likewise.
34217 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34218
7b6235f2
PE
34219 [BZ #13673]
34220 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34221 with URL.
34222 * locale/programs/locfile-kw.gperf: Likewise.
34223 * locale/programs/charmap-kw.h: Regenerated.
34224 * locale/programs/locfile-kw.h: Likewise.
34225
547b5e30
PE
34226 [BZ #13673]
34227 * intl/plural.y: Replace FSF snail mail address with URL.
34228 * intl/plural.c: Regenerated.
34229
5f0a5dae
RH
342302012-03-09 Richard Henderson <rth@twiddle.net>
34231
34232 * include/math_private.h: Remove file.
34233 * math/math_private.h: Move file ...
34234 * sysdeps/generic/math_private.h: ... here.
34235
b8c03620
RH
34236 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34237 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34238 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34239
4e234f5d 34240 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
34241 and <math_private.h>.
34242 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34243 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34244 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34245 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34246 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34247 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34248 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34249 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34250 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34251 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34253 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34254 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34256 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34257 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34258 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34259 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34260 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34261 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34263 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34264 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34266 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34267 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34268 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34269 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34271 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34272 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34273 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34274 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34275 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34276 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34277 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34278 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34279 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34280 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34281 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34282 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34283 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34284 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34285 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34286 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34287 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34288 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34289 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34290 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34291 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34292 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34293 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34294 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34295 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34296 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34297 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34298 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34299 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34300 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34301 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34302 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34303 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34304 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34305 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34306 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34307 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34308 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34309 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34310 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34311 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34312 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34313 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34314 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34316 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34317 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34320 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34321 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34322 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34323 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34324 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34325 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34326 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34329 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34330 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34331 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34332 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34333 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34334 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34335 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34336 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34337 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34338 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34339 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34340 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34341 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34342 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34343 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34344 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34345 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34346 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34347 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34348 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34349 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34350 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34351 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34352 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34353 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34354 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34355 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34356 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34357 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34358 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34359 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34360 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34361 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34362 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34363 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34364 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34365 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34366 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34367 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34368 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34369 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34370 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34371 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34372 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34373 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34374 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34375 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34376 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34377 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34378 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34379 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34380 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34381 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34382 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34383 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34384 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34385 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34386 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34387 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34388 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34389 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34390 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34391 * sysdeps/ieee754/k_standard.c: Likewise.
34392 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34393 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34394 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34395 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34396 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34397 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34398 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34399 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34400 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34401 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34402 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34403 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34404 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34405 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34406 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34407 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34408 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34409 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34410 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34411 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34412 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34413 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34414 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34415 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34416 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34417 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34418 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34419 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34420 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34421 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34422 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34423 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34424 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34425 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34426 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34427 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34428 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34430 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34431 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34432 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34433 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34434 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34435 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34436 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34437 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34438 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34439 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34440 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34441 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34442 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34443 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34444 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34445 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34448 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34449 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34450 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34451 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34452 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34453 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34454 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34455 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34456 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34457 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34461 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34462 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34463 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34464 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34465 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34466 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34469 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34470 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34473 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34476 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34477 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34478 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34479 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34480 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34482 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34483 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34485 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34488 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34489 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34491 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34492 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34493 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34494 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34495 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34496 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34499 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34500 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34501 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34502 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34503 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34504 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34505 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34506 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34507 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34508 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34509 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34510 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34511 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34512 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34513 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34514 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34515 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34516 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34517 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34518 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34519 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34520 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34521 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34522 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34523 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34524 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34525 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34526 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34527 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34528 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34529 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34530 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34531 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34532 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34533 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34534 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34535 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34536 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34537 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34538 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34539 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34540 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34541 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34542 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34543 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34544 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34545 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34546 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34547 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34548 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34549 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34550 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34551 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34552 * sysdeps/ieee754/s_lib_version.c: Likewise.
34553 * sysdeps/ieee754/s_matherr.c: Likewise.
34554 * sysdeps/ieee754/s_signgam.c: Likewise.
34555 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34556 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34557 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34558 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34559 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34560 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34561 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34562 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34563 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34564 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34565 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34566 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34567 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34568 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34569 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34570 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34571 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34572 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34573 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34574 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34576
1991fa03
JM
345772012-03-09 Joseph Myers <joseph@codesourcery.com>
34578
34579 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34580 * sunrpc/rpc_main.c: Likewise.
34581 * sunrpc/rpc_svcout.c: Likewise.
34582
60d6f5a6
DM
345832012-03-09 David S. Miller <davem@davemloft.net>
34584
34585 * include/math_private.h: New file.
34586
4962050e
JM
345872012-03-09 Joseph Myers <joseph@codesourcery.com>
34588
02a6f887
JM
34589 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34590 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34591 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34592 from <bits/socket_type.h>.
34593 (enum __socket_type): Don't define here.
34594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34596 bits/socket_type.h.
34597
c6e013c1
JM
34598 [BZ #13566]
34599 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34600 checking __USE_GNU.
34601
4962050e
JM
34602 * Makerules ($(inst_includedir)/%.h): New rule.
34603 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34604 (install-others): Remove variable setting.
34605 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34606
38842f45
RH
346072012-03-08 Richard Henderson <rth@twiddle.net>
34608
67bb6da6
RH
34609 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34610 from macro to inline function; merge with the
34611 !__LIBC_INTERNAL_MATH_INLINES version.
34612 (__ieee754_sqrtf): Likewise.
34613
15194b4b
RH
34614 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34615 to inline function.
34616 (__rintf, __floor, __floorf): Likewise.
34617
64e21ede
RH
34618 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34619 macro to inline function.
34620 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34621
38842f45
RH
34622 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34623 not <math/math_private.h>.
34624
c64bf5fe
DM
346252012-03-08 David S. Miller <davem@davemloft.net>
34626
34627 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34628 copyright year.
34629 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34630
82d86f28
TS
346312012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34632
34633 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34634 normalization.
34635 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34636 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34637
aea5d727
UD
346382012-03-08 Ulrich Drepper <drepper@gmail.com>
34639
34640 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34641 be defined individually, they must be defined as a block. Define
34642 S for printing a string instead of hidint the different by using a
34643 macro for adding the 'l'.
34644 * stdio-common/tst-fphex-wide.c: Adjust.
34645
70bca0a3
MP
346462012-03-07 Marek Polacek <polacek@redhat.com>
34647
34648 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34649
65b81130
MP
346502012-03-08 Marek Polacek <polacek@redhat.com>
34651
34652 [BZ #13806]
34653 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34654 * stdio-common/tst-fphex.c: Define a few macros to make the
34655 test reusable. Use them.
34656 * stdio-common/tst-fphex-wide.c: New file.
34657
07037eeb
JM
346582012-03-08 Joseph Myers <joseph@codesourcery.com>
34659
a7a93d50
JM
34660 [BZ #6911]
34661 * manual/macros.texi (gnusystems): New macro.
34662 (nongnusystems): Likewise.
34663 (gnulinuxhurdsystems): Likewise.
34664 (gnuhurdsystems): Likewise..
34665 (gnulinuxsystems): Likewise.
34666 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34667 variants of the GNU system, not "GNU system".
34668 * manual/conf.texi: Likewise.
34669 * manual/errno.texi: Likewise. Update example of errno macro
34670 expansion.
34671 * manual/filesys.texi: Likewise.
34672 (getumask): Document as specific to GNU/Hurd.
34673 * manual/install.texi: Likewise. Reword some references to
34674 GNU/Linux.
34675 * manual/intro.texi: Likewise.
34676 * manual/io.texi: Likewise.
34677 (File Name Portability): Detail which constraints are inapplicable
34678 to all GNU systems and which are only inapplicable to GNU/Hurd.
34679 * manual/job.texi: Likewise.
34680 * manual/llio.texi: Likewise.
34681 (O_NOCTTY): Document as present on GNU/Linux.
34682 * manual/maint.texi: Likewise.
34683 * manual/memory.texi: Likewise.
34684 * manual/pattern.texi: Likewise.
34685 * manual/pipe.texi: Likewise.
34686 * manual/process.texi: Likewise.
34687 * manual/resource.texi: Likewise.
34688 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34689 child on GNU/Hurd.
34690 * manual/setjmp.texi: Likewise.
34691 * manual/signal.texi: Likewise.
34692 * manual/startup.texi: Likewise.
34693 * manual/stdio.texi: Likewise.
34694 * manual/terminal.texi: Likewise.
34695 (ONLCR): Document as POSIX.
34696 (OXTABS): Document availability on GNU/Linux as XTABS.
34697 (ONOEOT): Document availability separately from other bits.
34698 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34699 * manual/time.texi: Likewise.
34700 * manual/users.texi: Likewise.
34701 * INSTALL: Regenerated.
34702 * sysdeps/gnu/errlist.c: Regenerated.
34703
07037eeb
JM
34704 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34705 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34706 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34707 puts.
34708 * configure: Regenerated.
34709
d1d3431a
JM
347102012-03-07 Joseph Myers <joseph@codesourcery.com>
34711
af6a1e37
JM
34712 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34713 default includes instead of AC_HEADER_CHECK.
34714 * sysdeps/i386/configure: Regenerated.
34715
d1d3431a
JM
34716 [BZ #10716]
34717 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34718 * math/s_cacoshf.c (__cacoshf): Likewise.
34719 * math/s_cacoshl.c (__cacoshl): Likewise.
34720 * math/s_casinh.c (__casinh): Set signs of result from argument.
34721 * math/s_casinhf.c (__casinhf): Likewise.
34722 * math/s_casinhl.c (__casinhl): Likewise.
34723 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34724 (casinh_test): Add more tests.
34725 * sysdeps/i386/fpu/libm-test-ulps: Update.
34726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34727
482ff4da
UD
347282012-03-07 Ulrich Drepper <drepper@gmail.com>
34729
872fda05
UD
34730 * po/zh_TW.po: Update from translation team.
34731
a4300c7a
UD
34732 * login/Makefile (distribute): Remove variable.
34733 * catgets/Makefile: Likewise.
34734 * mach/Makefile: Likewise.
34735 * malloc/Makefile: Likewise.
34736 * misc/Makefile: Likewise.
34737 * iconv/Makefile: Likewise.
34738 * nscd/Makefile: Likewise.
34739 * hurd/Makefile: Likewise.
34740 * manual/Makefile: Likewise.
34741 * locale/Makefile: Likewise.
34742 * intl/Makefile: Likewise.
34743 * conform/Makefile: Likewise.
34744 * nss/Makefile: Likewise.
34745 * time/Makefile: Likewise.
34746 * soft-fp/Makefile: Likewise.
34747 * dirent/Makefile: Likewise.
34748 * gmon/Makefile: Likewise.
34749 * po/Makefile: Likewise.
34750 * rt/Makefile: Likewise.
34751 * socket/Makefile: Likewise.
34752 * math/Makefile: Likewise.
34753 * signal/Makefile: Likewise.
34754 * debug/Makefile: Likewise.
34755 * elf/Makefile: Likewise.
34756 * timezone/Makefile: Likewise.
34757 * stdlib/Makefile: Likewise.
34758 * iconvdata/Makefile: Likewise.
34759 * sunrpc/Makefile: Likewise.
34760 * io/Makefile: Likewise.
34761 * argp/Makefile: Likewise.
34762 * inet/Makefile: Likewise.
34763 * hesiod/Makefile: Likewise.
34764 * grp/Makefile: Likewise.
34765 * csu/Makefile: Likewise.
34766 * wctype/Makefile: Likewise.
34767 * crypt/Makefile: Likewise.
34768 * libio/Makefile: Likewise.
34769 * string/Makefile: Likewise.
34770 * nis/Makefile: Likewise.
34771 * resolv/Makefile: Likewise.
34772 * stdio-common/Makefile: Likewise.
34773 * wcsmbs/Makefile: Likewise.
34774 * dlfcn/Makefile: Likewise.
34775 * posix/Makefile: Likewise.
34776
3b7c4e74 34777 [BZ #6959]
482ff4da
UD
34778 * timezone/Makefile: Don't install timezone files, just the programs
34779 and scripts.
34780
f72ed77d
UD
347812012-03-06 Ulrich Drepper <drepper@gmail.com>
34782
a000466f
UD
34783 * nss/databases.def: Add missing gshadow entry.
34784
f72ed77d
UD
34785 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34786
a53b7a4e
MP
347872012-03-06 Marek Polacek <polacek@redhat.com>
34788
34789 [BZ #13726]
34790 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34791 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34792 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34793 * stdio-common/tst-long-dbl-fphex.c: New file.
34794
e9258400
DM
347952012-03-06 David S. Miller <davem@davemloft.net>
34796
34797 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34798 (set_obp_int): New function.
34799 (get_obp_int): New function.
34800 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34801 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34802 Avoid unused variable warnings on 'val' and use builtin_expect.
34803 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34804 __builtin_expect.
e9258400
DM
34805 (INLINE_CLONE_SYSCALL): Likewise.
34806
3bd2c723
DM
348072012-03-05 David S. Miller <davem@davemloft.net>
34808
34809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34810
bbb78d03
AS
348112012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34812
884c5db4
AS
34813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34814
bbb78d03
AS
34815 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34816 only for |x| >= 40.
34817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34818
1c9f702a 348192012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34820
34821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34822 Replace gettimeofday with __vdso_gettimeofday.
34823
7be16f82
RM
34824 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34825 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34826 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34827
34828 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34829 time with __vdso_time.
34830
ed58a00f
JM
348312012-03-05 Joseph Myers <joseph@codesourcery.com>
34832
34833 * manual/lang.texi (size_t): Note types to which size_t may be
34834 equivalent with the GNU C Library, but do not describe when
34835 differences between them are significant.
34836
30ee4ced
AJ
348372012-03-05 Andreas Jaeger <aj@suse.de>
34838
34839 * sysdeps/i386/fpu/libm-test-ulps: Update.
34840
b7cd39e8
JM
348412012-03-05 Joseph Myers <joseph@codesourcery.com>
34842
34843 [BZ #3976]
34844 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34845 (__ieee754_pow): Save and restore rounding mode and use
34846 round-to-nearest for main computations.
34847 * math/libm-test.inc (pow_test_tonearest): New function.
34848 (pow_test_towardzero): Likewise.
34849 (pow_test_downward): Likewise.
34850 (pow_test_upward): Likewise.
34851 (main): Call the new functions.
34852 * sysdeps/i386/fpu/libm-test-ulps: Update.
34853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34854
34855 [BZ #3976]
34856 * math/libm-test.inc (cosh_test_tonearest): New function.
34857 (cosh_test_towardzero): Likewise.
34858 (cosh_test_downward): Likewise.
34859 (cosh_test_upward): Likewise.
34860 (sinh_test_tonearest): Likewise.
34861 (sinh_test_towardzero): Likewise.
34862 (sinh_test_downward): Likewise.
34863 (sinh_test_upward): Likewise.
34864 (main): Call the new functions.
34865 * sysdeps/i386/fpu/libm-test-ulps: Update.
34866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34867
6c6a98c9
TV
348682012-03-05 Tom de Vries <tom@codesourcery.com>
34869
34870 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34871 default stack guard is set in last bytes.
34872 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34873
21bb2d2e 348742012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34875
21bb2d2e 34876 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34877
21bb2d2e
AJ
34878 [BZ #13656]
34879 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34880 possibly allocate from heap instead of stack.
34881 * stdio-common/bug-vfprintf-nargs.c: New file.
34882 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34883
c6922934
AS
348842012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34885
34886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34887
bc957d53
MP
348882012-03-03 Marek Polacek <polacek@redhat.com>
34889
34890 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34891 * math/math_private.h: Likewise.
34892 * stdlib/tst-strtod.c: Likewise.
34893 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34894 * sysdeps/x86_64/bits/atomic.h: Likewise.
34895
6358490d
DM
348962012-03-02 David S. Miller <davem@davemloft.net>
34897
34898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34902 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34903 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34904 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34905 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34906
01ae168d
RM
349072012-03-02 Roland McGrath <roland@hack.frob.com>
34908
d9a17c07
RM
34909 [BZ #13792]
34910 * manual/examples/README: New file, says the example source files
34911 can be used under GPL>=2.
34912 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34913 line containing just "*/".
34914 * manual/examples/add.c: Add copyright header (GPL>=2).
34915 * manual/examples/argp-ex1.c: Likewise.
34916 * manual/examples/argp-ex2.c: Likewise.
34917 * manual/examples/argp-ex3.c: Likewise.
34918 * manual/examples/argp-ex4.c: Likewise.
34919 * manual/examples/atexit.c: Likewise.
34920 * manual/examples/db.c: Likewise.
34921 * manual/examples/dir.c: Likewise.
34922 * manual/examples/dir2.c: Likewise.
34923 * manual/examples/execinfo.c: Likewise.
34924 * manual/examples/filecli.c: Likewise.
34925 * manual/examples/filesrv.c: Likewise.
34926 * manual/examples/fmtmsgexpl.c: Likewise.
34927 * manual/examples/genpass.c: Likewise.
34928 * manual/examples/inetcli.c: Likewise.
34929 * manual/examples/inetsrv.c: Likewise.
34930 * manual/examples/isockad.c: Likewise.
34931 * manual/examples/longopt.c: Likewise.
34932 * manual/examples/memopen.c: Likewise.
34933 * manual/examples/memstrm.c: Likewise.
34934 * manual/examples/mkfsock.c: Likewise.
34935 * manual/examples/mkisock.c: Likewise.
34936 * manual/examples/mygetpass.c: Likewise.
34937 * manual/examples/pipe.c: Likewise.
34938 * manual/examples/popen.c: Likewise.
34939 * manual/examples/rprintf.c: Likewise.
34940 * manual/examples/search.c: Likewise.
34941 * manual/examples/select.c: Likewise.
34942 * manual/examples/setjmp.c: Likewise.
34943 * manual/examples/sigh1.c: Likewise.
34944 * manual/examples/sigusr.c: Likewise.
34945 * manual/examples/stpcpy.c: Likewise.
34946 * manual/examples/strdupa.c: Likewise.
34947 * manual/examples/strftim.c: Likewise.
34948 * manual/examples/strncat.c: Likewise.
34949 * manual/examples/subopt.c: Likewise.
34950 * manual/examples/swapcontext.c: Likewise.
34951 * manual/examples/termios.c: Likewise.
34952 * manual/examples/testopt.c: Likewise.
34953 * manual/examples/testpass.c: Likewise.
34954 * manual/examples/timeval_subtract.c: Likewise.
34955
01ae168d
RM
34956 [BZ #13792]
34957 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34958 function to ...
34959 * manual/timeval_subtract.c.texi: ... here, new file.
34960
49efa33d
DM
349612012-03-02 David S. Miller <davem@davemloft.net>
34962
34963 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34964
28afd92d
JM
349652012-03-02 Joseph Myers <joseph@codesourcery.com>
34966
804360ed
JM
34967 [BZ #3976]
34968 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34969 (__sin): Save and restore rounding mode and use round-to-nearest
34970 for all computations.
34971 (__cos): Save and restore rounding mode and use round-to-nearest
34972 for all computations.
34973 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34974 <fenv.h>.
34975 (tan): Save and restore rounding mode and use round-to-nearest for
34976 all computations.
34977 * math/libm-test.inc (cos_test_tonearest): New function.
34978 (cos_test_towardzero): Likewise.
34979 (cos_test_downward): Likewise.
34980 (cos_test_upward): Likewise.
34981 (sin_test_tonearest): Likewise.
34982 (sin_test_towardzero): Likewise.
34983 (sin_test_downward): Likewise.
34984 (sin_test_upward): Likewise.
34985 (tan_test_tonearest): Likewise.
34986 (tan_test_towardzero): Likewise.
34987 (tan_test_downward): Likewise.
34988 (tan_test_upward): Likewise.
34989 (main): Call the new functions.
34990 * sysdeps/i386/fpu/libm-test-ulps: Update.
34991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34992
a6d06d7b
JM
34993 [BZ #10135]
34994 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34995 small n, then large n, before computing and testing k+n.
34996 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34997 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34998 Likewise.
34999 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35000 Likewise.
35001 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35002 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35005 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35006 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35007 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35008 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35009 * math/libm-test.inc (scalbn_test): Add more tests.
35010 (scalbln_test): Likewise.
35011
07e12bb3
JM
35012 * manual/filesys.texi (mode_t): Describe constraints on size and
35013 signedness, not exact equivalence to a particular type.
35014 (ino_t): Likewise.
35015 (ino64_t): Likewise.
35016 (dev_t): Likewise.
35017 (nlink_t): Likewise.
35018 (blkcnt_t): Likewise.
35019 (blkcnt64_t): Likewise.
35020 * manual/llio.texi (off_t): Likewise.
35021
28afd92d
JM
35022 [BZ #3976]
35023 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35024 (__ieee754_exp): Save and restore rounding mode and use
35025 round-to-nearest for all computations.
35026 * math/libm-test.inc (exp_test_tonearest): New function.
35027 (exp_test_towardzero): Likewise.
35028 (exp_test_downward): Likewise.
35029 (exp_test_upward): Likewise.
35030 (main): Call the new functions.
35031 * sysdeps/i386/fpu/libm-test-ulps: Update.
35032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35033
b1eeb65d
CD
350342012-03-01 Chris Demetriou <cgd@google.com>
35035
35036 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35037 have predictable order.
35038
53362a4b
DM
350392012-03-01 David S. Miller <davem@davemloft.net>
35040
3c969083
DM
35041 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35042
759707de
DM
35043 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35044 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35045 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35046 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35047
dfdb8ff2
DM
35048 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35049 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35050 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35052 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35053 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35054 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35055 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35056 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35057
ead89f96
DM
35058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35059
7f66bd07
DM
35060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35061 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35062 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35063
53362a4b
DM
35064 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35065 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35066 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35067 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35068 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35069 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35070 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35071 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35072 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35073 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35074 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35075 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35077 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35078 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35080 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35081 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35082 * sysdeps/sparc/elf/configure: Regenerated.
35083
7b1902cb
JM
350842012-03-01 Joseph Myers <joseph@codesourcery.com>
35085
bec039bc
JM
35086 * configure.in (AS, LD): Require binutils 2.20 or later.
35087 * configure: Regenerated.
35088 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35089 as required minimum version.
35090 * INSTALL: Regenerated.
35091
7b1902cb
JM
35092 [BZ #2541]
35093 [BZ #4108]
35094 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35095 before squaring exponent.
35096 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35097 bottom long double and 27 bits of top long double before squaring
35098 exponent.
35099 * math/libm-test.inc (erfc_test): Add more tests.
35100 * sysdeps/i386/fpu/libm-test-ulps: Update.
35101 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35103
f775c276
KT
351042012-03-01 Kai Tietz <ktietz@redhat.com>
35105
35106 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35107 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35108 containing bit-fields.
35109 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35110 * soft-fp/single.h (_FP_UNION_S): Likewise.
35111 * soft-fp/double.h (_FP_UNION_D): Likewise.
35112
5b8a4d4a
JM
351132012-02-29 Joseph Myers <joseph@codesourcery.com>
35114
0bab47b6
JM
35115 [BZ #13786]
35116 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35117 not include ../strcmp.S.
35118 [USE_AS_STRNCASECMP_L]: Likewise.
35119 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35120 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35121 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35122 (__strncasecmp_l_ia32): Define as alias to
35123 __strncasecmp_l_nonascii.
35124
0fcad3e2
JM
35125 [BZ #5794]
35126 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35127 * sysdeps/i386/fpu/libm-test-ulps: Update.
35128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35129
5b8a4d4a
JM
35130 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35132
8fdceb2e
JL
351332012-02-29 Jeff Law <law@redhat.com>
35134
35135 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35136 out of bounds read.
35137
1f393a11
MP
351382012-02-29 Marek Polacek <polacek@redhat.com>
35139
35140 [BZ #13706]
35141 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35142 * elf/Makefile: Add rules to run tst-unused-dep.out.
35143
8847f037
DM
351442012-02-28 David S. Miller <davem@davemloft.net>
35145
35146 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35147 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35148 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35150 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35151 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35152
169d7f11
JM
351532012-02-29 Joseph Myers <joseph@codesourcery.com>
35154
35155 * math/libm-test.inc (llround_test): Move one test from
35156 lround_test. Use TEST_f_L in moved test.
35157 (lround_test): Move misplaced test to llround_test. Add testcase
35158 from bug 2561.
35159
39adf059
UD
351602012-02-28 Ulrich Drepper <drepper@gmail.com>
35161
35162 * sysdeps/x86_64/fpu/e_expf.S: New file.
35163 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35164
71b5d1c5
SB
351652012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35166
35167 [BZ #13637]
35168 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35169 of remain_len that may cause incomplete multi-byte character and
35170 false match.
35171 * posix/bug-regex33.c: New file.
35172 * posix/Makefile (tests): Add bug-regex33.
35173
1f77f049
JM
351742012-02-28 Joseph Myers <joseph@codesourcery.com>
35175
35176 * manual/macros.texi: New file.
35177 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35178 * manual/libc.texinfo: Include macros.texi.
35179 * manual/creatute.texi: Likewise.
35180 * manual/install.texi: Likewise.
35181 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35182 @glibcadj{} in references to the GNU C Library.
35183 * manual/charset.texi: Likewise.
35184 * manual/conf.texi: Likewise.
35185 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35186 when not using those macros.
35187 * manual/creature.texi: Likewise.
35188 * manual/crypt.texi: Likewise.
35189 * manual/errno.texi: Likewise.
35190 * manual/filesys.texi: Likewise.
35191 * manual/header.texi: Likewise.
35192 * manual/install.texi: Likewise.
35193 * manual/intro.texi: Likewise.
35194 * manual/io.texi: Likewise.
35195 * manual/job.texi: Likewise.
35196 * manual/lang.texi: Likewise.
35197 * manual/libc.texiinfo: Likewise.
35198 * manual/llio.texi: Likewise.
35199 * manual/locale.texi: Likewise.
35200 * manual/maint.texi: Likewise.
35201 * manual/math.texi: Likewise.
35202 * manual/memory.texi: Likewise.
35203 * manual/message.texi: Likewise.
35204 * manual/nss.texi: Likewise.
35205 * manual/pattern.texi: Likewise.
35206 * manual/process.texi: Likewise.
35207 * manual/resource.texi: Likewise.
35208 * manual/search.texi: Likewise.
35209 * manual/setjmp.texi: Likewise.
35210 * manual/signal.texi: Likewise.
35211 * manual/socket.texi: Likewise.
35212 * manual/startup.texi: Likewise.
35213 * manual/stdio.texi: Likewise.
35214 * manual/string.texi: Likewise.
35215 * manual/sysinfo.texi: Likewise.
35216 * manual/syslog.texi: Likewise.
35217 * manual/terminal.texi: Likewise.
35218 * manual/time.texi: Likewise.
35219 * manual/users.texi: Likewise.
35220 * INSTALL: Regenerated.
35221 * NOTES: Regenerated.
d40c5d54 35222 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 35223
450bf206
AS
352242012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35225
35226 * include/dirent.h: Include <dirstream.h> before
35227 <dirent/dirent.h>.
35228
741a235b
DM
352292012-02-28 David S. Miller <davem@davemloft.net>
35230
35231 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35232 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35233 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35234 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35235
d6b5aa58
DM
352362012-02-27 David S. Miller <davem@davemloft.net>
35237
1aff59a3
DM
35238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35240 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35241 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35242
d6b5aa58
DM
35243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35244 frame pointer instead of stack pointer relative arg slot.
35245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35246 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35247 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35248
433f48bf
CD
352492012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35250
35251 [BZ #3992]
35252 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35253
d674b76d
DM
352542012-02-27 David S. Miller <davem@davemloft.net>
35255
35256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35260 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35261 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35262 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35263 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35264
0e7727f7
JM
352652012-02-27 Joseph Myers <joseph@codesourcery.com>
35266
35267 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35268 later. Allow versions 5-9.
43be4ca2 35269 * configure: Regenerated.
0e7727f7
JM
35270 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35271 required minimum version and 4.6 as recommended version. Do not
35272 mention bugs in GCC 2.7 and 2.8.
43be4ca2 35273 * INSTALL: Regenerated.
0e7727f7 35274
a78bc654
DM
352752012-02-27 David S. Miller <davem@davemloft.net>
35276
428d5830
DM
35277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35281 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35282 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35283 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35284 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35285
a78bc654
DM
35286 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35287 manipulate bits before adding and subtracting TWO112[sx].
35288 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35289
4579f81c
RM
352902012-02-27 Roland McGrath <roland@hack.frob.com>
35291
36c8acb4
RM
35292 [BZ #13775]
35293 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35294 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35295 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35296 being in POSIX, because they are in 1003.1-2008.
35297
84ad622b
RM
35298 * rt/tst-aio.c: Include <fcntl.h>.
35299 * rt/tst-aio7.c: Likewise.
35300 * rt/tst-aio64.c: Likewise.
35301
4579f81c
RM
35302 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35303
abd923db
JM
353042012-02-27 Joseph Myers <joseph@codesourcery.com>
35305
35306 * manual/install.texi (--with-headers): Describe headers as
35307 interface headers, not private headers.
35308 (Specific advice for GNU/Linux systems): Describe use of headers
35309 from "make headers_install", not private headers from older
35310 kernels.
43be4ca2 35311 * INSTALL: Regenerated.
abd923db
JM
35312 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35313 Change to 2.6.19.
35314 * sysdeps/unix/sysv/linux/configure: Regenerated.
35315
6664049b
JM
35316 * manual/llio.texi (fclean): Remove documentation.
35317
bb8b6697
JM
35318 * manual/Makefile (libc-texi-generated): New variable. Include
35319 version.texi.
35320 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35321 $(libc-texi-generated), not duplicated list of files.
35322 (version.texi, stamp-version): New rules.
35323 (realclean): Remove $(libc-texi-generated), not individual files
35324 from that list. Do not remove dir-add.texinfo.
35325 * manual/libc.texinfo: Comment out uses of edition numbers and
35326 references to printed manual. Remove last-updated dates.
35327 (EDITION): Comment out.
35328 (ISBN): Likewise.
35329 (VERSION, UPDATED): Remove.
35330 (version.texi): Include.
35331
12e5c3b9
AS
353322012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35333
35334 * sysdeps/posix/spawni.c: Include <signal.h>.
35335 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35336 * sysdeps/pthread/aio_fsync.c: Likewise.
35337
4efeffc1 353382012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 35339
ba63ba08
UD
35340 * conform/Makefile (tests): Run only when not cross-compiling and
35341 when fast-check is not defined.
35342
d94a4670
UD
35343 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35344 * conform/data/limits.h-data: Fixes for POSIX2008.
35345 * conform/run-conformtest.sh: Run all tests.
35346 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35347 headers.
35348 * include/bits/dlfcn.h: Likewise.
35349 * include/langinfo.h: Likewise.
35350 * include/monetary.h: Likewise.
35351 * include/sys/poll.h: Likewise.
35352
35353 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35354 for __USE_GNU.
35355 * posix/spawn.h: Define __need_sigset_t.
35356 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35357 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35358 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35359 to get sigevent_t only.
35360 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35361 only for __USE_GNU.
35362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35363 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35364 process_vm_writev only for __USE_GNU.
35365 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
35366
35367 * conform/Makefile: For now ignore errors from run-conformtest.
35368 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35369 POSIX to avoid namespace pollution. Don't prepend headers.
35370 * conform/data/aio.h-data: Fixes for POSIX testing.
35371 * conform/data/fcntl.h-data: Likewise.
35372 * conform/data/glob.h-data: Likewise.
35373 * conform/data/grp.h-data: Likewise.
35374 * conform/data/pthread.h-data: Likewise.
35375 * conform/data/pwd.h-data: Likewise.
35376 * conform/data/signal.h-data: Likewise.
35377 * conform/data/spawn.h-data: Likewise.
35378 * conform/data/stdio.h-data: Likewise.
35379 * conform/data/stdlib.h-data: Likewise.
35380 * conform/data/stropts.h-data: Likewise.
35381 * conform/data/sys/mman.h-data: Likewise.
35382 * conform/data/sys/stat.h-data: Likewise.
35383 * conform/data/sys/types.h-data: Likewise.
35384 * conform/data/sys/wait.h-data: Likewise.
35385 * conform/data/time.h-data: Likewise.
35386 * conform/data/unistd.h-data: Likewise.
35387 * conform/data/utime.h-data: Likewise.
35388
35389 * io/sys/stat.h: fchmod was always in POSIX.
35390 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35391 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35392 * rt/aio.h: Define __need_timespec before including <time.h>.
35393 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35394 struct. Add forward declaration of pthread_attr_t and use it in
35395 sigevent.
35396 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35398 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35399 always remove CLK_TCK definition.
35400
c20105c3
AS
354012012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35402
35403 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35404
7a270350
UD
354052012-02-25 Ulrich Drepper <drepper@gmail.com>
35406
31341567
UD
35407 * conform/run-conformtest.sh: New file.
35408 * conform/Makefile: Run run-conformtest for tests.
35409 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35410 support.
35411
35412 * conform/data/uchar.h-data: New file.
35413 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35414 * conform/data/arpa/inet.h-data: Likewise.
35415 * conform/data/assert.h-data: Likewise.
35416 * conform/data/complex.h-data: Likewise.
35417 * conform/data/cpio.h-data: Likewise.
35418 * conform/data/ctype.h-data: Likewise.
35419 * conform/data/dirent.h-data: Likewise.
35420 * conform/data/dlfcn.h-data: Likewise.
35421 * conform/data/errno.h-data: Likewise.
35422 * conform/data/fcntl.h-data: Likewise.
35423 * conform/data/float.h-data: Likewise.
35424 * conform/data/fmtmsg.h-data: Likewise.
35425 * conform/data/fnmatch.h-data: Likewise.
35426 * conform/data/ftw.h-data: Likewise.
35427 * conform/data/glob.h-data: Likewise.
35428 * conform/data/grp.h-data: Likewise.
35429 * conform/data/iconv.h-data: Likewise.
35430 * conform/data/inttypes.h-data: Likewise.
35431 * conform/data/langinfo.h-data: Likewise.
35432 * conform/data/libgen.h-data: Likewise.
35433 * conform/data/limits.h-data: Likewise.
35434 * conform/data/locale.h-data: Likewise.
35435 * conform/data/math.h-data: Likewise.
35436 * conform/data/monetary.h-data: Likewise.
35437 * conform/data/mqueue.h-data: Likewise.
35438 * conform/data/ndbm.h-data: Likewise.
35439 * conform/data/net/if.h-data: Likewise.
35440 * conform/data/netdb.h-data: Likewise.
35441 * conform/data/netinet/in.h-data: Likewise.
35442 * conform/data/nl_types.h-data: Likewise.
35443 * conform/data/poll.h-data: Likewise.
35444 * conform/data/pthread.h-data: Likewise.
35445 * conform/data/pwd.h-data: Likewise.
35446 * conform/data/regex.h-data: Likewise.
35447 * conform/data/sched.h-data: Likewise.
35448 * conform/data/search.h-data: Likewise.
35449 * conform/data/semaphore.h-data: Likewise.
35450 * conform/data/setjmp.h-data: Likewise.
35451 * conform/data/signal.h-data: Likewise.
35452 * conform/data/spawn.h-data: Likewise.
35453 * conform/data/stdarg.h-data: Likewise.
35454 * conform/data/stdio.h-data: Likewise.
35455 * conform/data/stdlib.h-data: Likewise.
35456 * conform/data/string.h-data: Likewise.
35457 * conform/data/strings.h-data: Likewise.
35458 * conform/data/stropts.h-data: Likewise.
35459 * conform/data/sys/ipc.h-data: Likewise.
35460 * conform/data/sys/mman.h-data: Likewise.
35461 * conform/data/sys/msg.h-data: Likewise.
35462 * conform/data/sys/resource.h-data: Likewise.
35463 * conform/data/sys/select.h-data: Likewise.
35464 * conform/data/sys/sem.h-data: Likewise.
35465 * conform/data/sys/shm.h-data: Likewise.
35466 * conform/data/sys/socket.h-data: Likewise.
35467 * conform/data/sys/stat.h-data: Likewise.
35468 * conform/data/sys/statvfs.h-data: Likewise.
35469 * conform/data/sys/time.h-data: Likewise.
35470 * conform/data/sys/timeb.h-data: Likewise.
35471 * conform/data/sys/times.h-data: Likewise.
35472 * conform/data/sys/types.h-data: Likewise.
35473 * conform/data/sys/uio.h-data: Likewise.
35474 * conform/data/sys/un.h-data: Likewise.
35475 * conform/data/sys/utsname.h-data: Likewise.
35476 * conform/data/sys/wait.h-data: Likewise.
35477 * conform/data/syslog.h-data: Likewise.
35478 * conform/data/tar.h-data: Likewise.
35479 * conform/data/termios.h-data: Likewise.
35480 * conform/data/utime.h-data: Likewise.
35481 * conform/data/utmpx.h-data: Likewise.
35482 * conform/data/varargs.h-data: Likewise.
35483 * conform/data/wchar.h-data: Likewise.
35484 * conform/data/wctype.h-data: Likewise.
35485 * conform/data/wordexp.h-data: Likewise.
35486
35487 * include/stropts.h: New file.
35488 * include/uchar.h: New file.
35489 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35490 * include/assert.h: Likewise.
35491 * include/ctype.h: Likewise.
35492 * include/dirent.h: Likewise.
35493 * include/dlfcn.h: Likewise.
35494 * include/fcntl.h: Likewise.
35495 * include/fnmatch.h: Likewise.
35496 * include/glob.h: Likewise.
35497 * include/grp.h: Likewise.
35498 * include/libio.h: Likewise.
35499 * include/locale.h: Likewise.
35500 * include/math.h: Likewise.
35501 * include/net/if.h: Likewise.
35502 * include/netdb.h: Likewise.
35503 * include/netinet/in.h: Likewise.
35504 * include/pthread.h: Likewise.
35505 * include/pwd.h: Likewise.
35506 * include/regex.h: Likewise.
35507 * include/sched.h: Likewise.
35508 * include/search.h: Likewise.
35509 * include/setjmp.h: Likewise.
35510 * include/signal.h: Likewise.
35511 * include/stdio.h: Likewise.
35512 * include/stdlib.h: Likewise.
35513 * include/string.h: Likewise.
35514 * include/sys/cdefs.h: Likewise.
35515 * include/sys/mman.h: Likewise.
35516 * include/sys/msg.h: Likewise.
35517 * include/sys/resource.h: Likewise.
35518 * include/sys/select.h: Likewise.
35519 * include/sys/socket.h: Likewise.
35520 * include/sys/stat.h: Likewise.
35521 * include/sys/statvfs.h: Likewise.
35522 * include/sys/time.h: Likewise.
35523 * include/sys/times.h: Likewise.
35524 * include/sys/uio.h: Likewise.
35525 * include/sys/utsname.h: Likewise.
35526 * include/sys/wait.h: Likewise.
35527 * include/termios.h: Likewise.
35528 * include/time.h: Likewise.
35529 * include/ulimit.h: Likewise.
35530 * include/unistd.h: Likewise.
35531 * include/utime.h: Likewise.
35532 * include/wchar.h: Likewise.
35533 * include/wctype.h: Likewise.
35534 * include/wordexp.h: Likewise.
35535
35536 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35537
7a270350
UD
35538 * time/time.h: TIME_UTC must be a macro.
35539 Make timespec_get available for ISO C11 only as well.
35540
7724defc
UD
355412012-02-24 Ulrich Drepper <drepper@gmail.com>
35542
35543 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35544 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35545
6b1d1d46
JM
355462012-02-24 Joseph Myers <joseph@codesourcery.com>
35547
35548 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35549
0f8bbd69
JM
355502012-02-24 Joseph Myers <joseph@codesourcery.com>
35551
35552 * manual/texinfo.tex: Update to version 2012-01-19.16.
35553
66ab80bc
JM
355542012-02-24 Joseph Myers <joseph@codesourcery.com>
35555
35556 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35557
74981cc5
RM
355582012-02-24 Roland McGrath <roland@hack.frob.com>
35559
ee968201
RM
35560 [BZ #13738]
35561 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35562 * manual/fdl-1.3.texi: New file.
35563 * manual/fdl-1.1.texi: File removed.
35564
74981cc5
RM
35565 [BZ #13738]
35566 * manual/libc.texinfo (FDL_VERSION): New @set.
35567 Use it for mention of FDL in cover text.
35568 (Documentation License): Use it in @include file name.
35569
7bb764bc
JM
355702012-02-22 Joseph Myers <joseph@codesourcery.com>
35571 Roland McGrath <roland@hack.frob.com>
35572
35573 [BZ #5461]
57f41c40
AS
35574 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35575 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35576 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35577 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35578 name.
35579 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35580
6cbeae47
JM
355812012-02-22 Joseph Myers <joseph@codesourcery.com>
35582
35583 [BZ #2547]
35584 [BZ #11365]
35585 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35586 manipulate bits before adding and subtracting TWO23[sx].
35587 * math/libm-test.inc (nearbyint_test): Add more tests.
35588
fe45ce09
JM
355892012-02-22 Joseph Myers <joseph@codesourcery.com>
35590
35591 [BZ #2548]
35592 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35593 bits before adding and subtracting TWO23[sx].
35594 * math/libm-test.inc (rint_test): Add more tests.
35595 (rint_test_tonearest): Likewise.
35596 (rint_test_towardzero): Likewise.
35597 (rint_test_downward): Likewise.
35598 (rint_test_upward: Likewise.
35599
ff3b3d82
JM
356002012-02-22 Joseph Myers <joseph@codesourcery.com>
35601
35602 [BZ #10110]
35603 * include/stdc-predef.h: New file. Extracted from features.h.
35604 * include/features.h: Include stdc-predef.h.
35605 * Makefile (headers): Add stdc-predef.h.
35606 * CONFORMANCE (Compiler limitations): Update.
35607
ef0aab35
JM
356082012-02-22 Joseph Myers <joseph@codesourcery.com>
35609
35610 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35611
58639409
DM
356122012-02-21 David S. Miller <davem@davemloft.net>
35613
35614 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35615 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35616
c0e70b25
DM
356172012-02-20 David S. Miller <davem@davemloft.net>
35618
35619 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35620 using a normal save/restore sequence, rather than allocating a
35621 dummy stack frame just to store a frame pointer and restore.
35622 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35623
fb06851d
JM
356242012-02-21 Joseph Myers <joseph@codesourcery.com>
35625
35626 * manual/install.texi: Fix stray word in line-wrapped comment.
35627
7a8b71c3
DM
356282012-02-20 David S. Miller <davem@davemloft.net>
35629
d510c123
DM
35630 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35631 both binutils and gcc support GOTDATA.
35632
0722d7c2
DM
35633 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35634 "rd %pc" in the PIC register setup sequences.
35635
3d2b3019
DM
35636 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35637 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35638 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35639 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35640 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35641 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35642 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35643 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35645 (SYSCALL_ERROR_HANDLER): Likewise.
35646 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35647 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35649 (SYSCALL_ERROR_HANDLER): Likewise.
35650
c80098a9
DM
35651 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35652 (HAVE_GCC_GOTDATA): New.
35653 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35654 relocation support in both binutils and gcc.
35655 * sysdeps/sparc/elf/configure: Regenerate.
35656
3a2545a0
DM
35657 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35658 * sysdeps/sparc/sparc32/elf/configure: Delete.
35659 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35660 * sysdeps/sparc/sparc64/elf/configure: Delete.
35661 * sysdeps/sparc/elf/configure.in: New file.
35662 * sysdeps/sparc/elf/configure: Generate.
35663
7a8b71c3
DM
35664 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35665 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35666 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35667 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35668 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35669
f1e86fca
JM
356702012-02-21 Joseph Myers <joseph@codesourcery.com>
35671
35672 * manual/install.texi: Do not mention specific glibc version
35673 numbers.
35674 * manual/libc.texinfo (VERSION, UPDATED): Update.
35675 (@copying): Use @copyright{} and range of years.
35676
0e7dfaef
JM
356772012-02-21 Joseph Myers <joseph@codesourcery.com>
35678
35679 [BZ #13695]
35680 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35681 [crti.S not in sysdirs] (generated): Do not append.
35682 [crti.S not in sysdirs] (omit-deps): Likewise.
35683 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35684 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35685 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35686 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35687 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35688 Likewise.
35689 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35690 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35691 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35692 * csu/defs.awk: Remove file.
35693 * sysdeps/generic/initfini.c: Likewise.
35694 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35695 variable.
35696 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35697 Likewise.
35698
599af3ca
JM
356992012-02-20 Joseph Myers <joseph@codesourcery.com>
35700
35701 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35702 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35703 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35704 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35705 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35706 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35707 <bits/epoll.h>.
35708 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35709 (__EPOLL_PACKED): Define to empty if not defined by
35710 <bits/epoll.h>.
35711 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35713 bits/epoll.h.
35714
0e499750
JM
357152012-02-20 Joseph Myers <joseph@codesourcery.com>
35716
35717 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35718 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35719 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35720 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35721 <bits/timerfd.h>.
35722 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35724 bits/timerfd.h.
35725
5ad91f6e
JM
357262012-02-20 Joseph Myers <joseph@codesourcery.com>
35727
35728 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35729 in C locale.
35730 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35731 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35732 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35734
06b99b02
AJ
357352012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35736
35737 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35738 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35739
7638c0fd
AS
357402012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35741
35742 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35743 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35744 defined.
35745 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35746 Likewise.
35747 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35748 entry for 2.16.
35749
92221550
AJ
357502012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35751
35752 * math/w_acos.c: Use non-signaling floating-point comparisons.
35753 * math/w_acosf.c: Likewise.
35754 * math/w_acosh.c: Likewise.
35755 * math/w_acoshf.c: Likewise.
35756 * math/w_acoshl.c: Likewise.
35757 * math/w_acosl.c: Likewise.
35758 * math/w_asin.c: Likewise.
35759 * math/w_asinf.c: Likewise.
35760 * math/w_asinl.c: Likewise.
35761 * math/w_atanh.c: Likewise.
35762 * math/w_atanhf.c: Likewise.
35763 * math/w_atanhl.c: Likewise.
35764 * math/w_exp2.c: Likewise.
35765 * math/w_exp2f.c: Likewise.
35766 * math/w_exp2l.c: Likewise.
35767 * math/w_j0.c: Likewise.
35768 * math/w_j0f.c: Likewise.
35769 * math/w_j0l.c: Likewise.
35770 * math/w_j1.c: Likewise.
35771 * math/w_j1f.c: Likewise.
35772 * math/w_j1l.c: Likewise.
35773 * math/w_jn.c: Likewise.
35774 * math/w_jnf.c: Likewise.
35775 * math/w_log.c: Likewise.
35776 * math/w_log10.c: Likewise.
35777 * math/w_log10f.c: Likewise.
35778 * math/w_log10l.c: Likewise.
35779 * math/w_log2.c: Likewise.
35780 * math/w_log2f.c: Likewise.
35781 * math/w_log2l.c: Likewise.
35782 * math/w_logf.c: Likewise.
35783 * math/w_logl.c: Likewise.
35784 * math/w_sqrt.c: Likewise.
35785 * math/w_sqrtf.c: Likewise.
35786 * math/w_sqrtl.c: Likewise.
35787 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35788 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35789 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35790 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35791 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35792
ebaf36eb
JM
357932012-02-19 Joseph Myers <joseph@codesourcery.com>
35794
35795 [BZ #9739]
35796 * manual/string.texi (strnlen): Use correct parameter name in
35797 equivalent expression.
35798
71c254a6
JM
357992012-02-19 Joseph Myers <joseph@codesourcery.com>
35800
35801 [BZ #11174]
35802 * manual/users.texi (seteuid): Consistently use neweuid for
35803 argument name.
35804
16d2c631
JM
358052012-02-19 Joseph Myers <joseph@codesourcery.com>
35806
35807 [BZ #13704]
35808 * manual/nss.texi (Services in the NSS configuration): Correct
35809 list of services in example configuration file.
35810
cd837b09
NB
358112012-02-19 Nick Bowler <nbowler@draconx.ca>
35812
35813 [BZ #11322]
35814 * manual/arith.texi: Remove statements about negative zero
35815 behaving identically to zero.
35816
02c4bbad
JM
358172012-02-18 Joseph Myers <joseph@codesourcery.com>
35818
35819 [BZ #5993]
35820 * manual/install.texi: Do not document upgrading from libc5.
35821
366842e7
JM
358222012-02-18 Joseph Myers <joseph@codesourcery.com>
35823
35824 [BZ #4596]
35825 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35826
dd54084d
DM
358272012-02-18 David S. Miller <davem@davemloft.net>
35828
35829 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35830 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35831 %o7 across the call.
35832 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35833 instead.
35834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35835 SETUP_PIC_REG_LEAF.
35836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35837 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35838 * sysdeps/sparc/crtn.S: Likewise.
35839
2bcc53a3
UD
358402012-02-17 Ulrich Drepper <drepper@gmail.com>
35841
35842 * aout/Makefile: Remove.
35843
09c093b5
RK
358442012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35845
35846 [BZ #13058]
35847 * manual/examples/argp-ex1.c (main): Format definition in GNU
35848 style.
35849 * manual/examples/argp-ex2.c (main): Likewise.
35850 * manual/examples/argp-ex3.c (main): Likewise.
35851 * manual/examples/argp-ex4.c (main): Likewise.
35852 * manual/examples/longopt.c (main): Use new-style prototype
35853 definition.
35854 * manual/examples/strncat.c (main): Specify return type and use
35855 (void) for arguments.
35856 * manual/examples/subopt.c (main): Use char **argv argument.
35857
2ee633a2
JM
358582012-02-17 Joseph Myers <joseph@codesourcery.com>
35859
35860 [BZ #5077]
35861 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35862 rounding modes.
35863
0520adde
FB
358642012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35865
35866 [BZ #6907]
35867 * manual/string.texi (strchr): Change when strchrnul is
35868 recommended.
35869
3f4081cd
DGM
358702012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35871
35872 [BZ #174]
35873 * manual/locale.texi (setlocale): Document LOCPATH.
35874
d1b10e78
JM
358752012-02-17 Joseph Myers <joseph@codesourcery.com>
35876
35877 [BZ #10210]
35878 * manual/process.texi (execle): Move @dots{} before last argument.
35879
79c6869c
PB
358802012-02-17 Paul Bolle <pebolle@tiscali.nl>
35881
35882 [BZ #12047]
35883 * manual/charset.texi (Generic Charset Conversion): Fix typo
35884 (LC_TYPE -> LC_CTYPE).
35885
cc6e48bc
NB
358862012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35887
35888 [BZ #5805]
35889 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35890 (scalbnf): Likewise.
35891 (scalbnl): Likewise.
35892 (scalbln): Likewise.
35893 (scalblnf): Likewise.
35894 (scalblnl): Likewise.
35895 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35896 (vwarnx): Likewise.
35897 (verr): Likewise.
35898 (verrx): Likewise.
35899 * manual/filesys.texi (telldir): Use braces around return type.
35900 * manual/llio.texi (mmap): Add space after comma.
35901 (mmap64): Likewise.
35902 * manual/math.texi (jn): Use @var{} on parameter names.
35903 (jnf): Likewise.
35904 (jnl): Likewise.
35905 (yn): Likewise.
35906 (ynf): Likewise.
35907 (ynl): Likewise.
35908 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35909 line.
35910 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35911 "...".
35912 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35913 (sched_get_priority_max): Likewise.
35914 * manual/signal.texi (sigvec): Add space after comma.
35915 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35916 names.
35917 (if_indextoname): Likewise.
35918 (if_freenameindex): Likewise.
35919 (sendto): Use ',' instead of '.' in prototype.
35920 * manual/startup.texi (syscall): Use @dots{} instead of literal
35921 "...".
35922 * manual/stdio.texi (__fpending): Separate initial words of
35923 paragraph from @deftypefun line.
35924 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35925 "...".
35926 (vsyslog): Use @var{} on parameter names.
35927 * manual/terminal.texi (stty): Use @var{} on parameter names.
35928 * manual/users.texi (getutmp): Use @var{} on parameter names.
35929 (getutmpx): Likewise.
35930
5b23062f
JM
359312012-02-17 Joseph Myers <joseph@codesourcery.com>
35932
35933 [BZ #6884]
35934 * manual/stdio.texi (fopen): Fix typos in description of
35935 ",ccs=STRING".
35936
8dee4833
AJ
359372012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35938
35939 [BZ #4026]
35940 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35941 get clock_id definition.
35942
9078ce93
TS
359432012-02-17 Thomas Schwinge <thomas@schwinge.name>
35944
35945 [BZ #4822]
35946 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35947 (madvise): Cast every argument to void on its own.
35948
3835c55f
JM
359492012-02-17 Joseph Myers <joseph@codesourcery.com>
35950
35951 [BZ #9902]
35952 * manual/startup.texi (Exit Status): Fix typo.
35953
35c47e37
JM
359542012-02-17 Joseph Myers <joseph@codesourcery.com>
35955
35956 [BZ #10140]
35957 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35958 * manual/examples/argp-ex2.c: Likewise.
35959 * manual/examples/argp-ex3.c: Likewise.
35960
e3b69ca7
RH
359612012-02-16 Richard Henderson <rth@redhat.com>
35962
35963 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35964 * sysdeps/s390/s390-32/initfini.c: Remove.
35965 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35966 * sysdeps/s390/s390-64/initfini.c: Remove.
35967
df83af67
KK
359682012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35969
35970 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35971 compiler output for sysdeps/generic/initfini.c.
35972 * sysdeps/sh/elf/initfini.c: Remove file.
35973
f63f3380
DM
359742012-02-16 David S. Miller <davem@davemloft.net>
35975
fb59b3a4
DM
35976 [BZ #11494]
35977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35978
f63f3380
DM
35979 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35980 * sysdeps/sparc/crti.S: New file.
35981 * sysdeps/sparc/crtn.S: New file.
35982 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35983 * sysdeps/sparc/sparc64/Makefile: Likewise.
35984
df6a4a4a
MF
359852012-02-15 Mike Frysinger <vapier@gentoo.org>
35986
6dd8f3dc 35987 [BZ #3335]
df6a4a4a
MF
35988 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35989
1cac7236
RM
359902012-02-15 Roland McGrath <roland@hack.frob.com>
35991
d2c736f8
RM
35992 [BZ #4822]
35993 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35994
1cac7236
RM
35995 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35996 (write, read, close): Likewise.
35997 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35998
8e475601
JM
359992012-02-15 Joseph Myers <joseph@codesourcery.com>
36000
36001 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36002 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36003 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36004 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36005 <bits/signalfd.h>.
36006 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36008 bits/signalfd.h.
36009
ed656b40
MP
360102012-02-14 Marek Polacek <polacek@redhat.com>
36011
36012 * sysdeps/x86_64/crti.S: New file.
36013 * sysdeps/x86_64/crtn.S: New file.
36014 * sysdeps/x86_64/elf/initfini.c: Remove file.
36015
2a979d3a
JM
360162012-02-13 Joseph Myers <joseph@codesourcery.com>
36017
36018 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36019 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36020 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36021 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36022 <bits/inotify.h>.
36023 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36025 bits/inotify.h.
36026
2a418ac3
JM
360272012-02-13 Joseph Myers <joseph@codesourcery.com>
36028
36029 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36030 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36031 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36032 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36033 <bits/eventfd.h>.
36034 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36036 bits/eventfd.h.
36037
fb779be7
TS
360382012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36039
e19e83c5
RM
36040 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36041 __feraiseexcept instead of feraiseexcept.
7c35ffed 36042
fb779be7
TS
36043 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36044 nanosleep invocations.
36045 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36046 strings, and add error checking for a nanosleep invocations.
36047
59ba27a6
PE
360482012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36049
36050 Replace FSF snail mail address with URLs, as per GNU coding standards.
36051 Most of the snail mail addresses were wrong anyway, and omitting
36052 them makes the source code easier to maintain. Almost all of the
36053 changes are to license notices and to locale LC_IDENTIFICATION
36054 addresses, except for this one:
36055 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36056 not its snail mail address.
36057
57b957eb
RH
360582012-02-09 Richard Henderson <rth@twiddle.net>
36059
af850b1c
RH
36060 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36061 of kernel-features.h.
36062
57b957eb
RH
36063 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36064
6b73181a
MP
360652012-02-08 Marek Polacek <polacek@redhat.com>
36066
36067 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36068 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36069 * sysdeps/gnu/_G_config.h: Likewise.
36070 * sysdeps/generic/_G_config.h: Likewise.
36071
26ecc33a
AS
360722012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36073
6c6dbc63
AS
36074 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36075 tests.
36076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36077
e216c012
AS
36078 * sysdeps/powerpc/powerpc32/crti.S: New file.
36079 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36080 * sysdeps/powerpc/powerpc64/crti.S: New file.
36081 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36082
26ecc33a
AS
36083 * Makeconfig (have-initfini): Don't set.
36084 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36085 * configure.in (nopic_initfini): Don't substitute.
36086 * config.h.in (HAVE_INITFINI): Don't #undef.
36087 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36088 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36089
3add8e13
JM
360902012-02-08 Joseph Myers <joseph@codesourcery.com>
36091
36092 Support crti.S and crtn.S provided directly by architectures.
36093 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36094 [crti.S in sysdirs] (omit-deps): Likewise.
36095 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36096 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36097 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36098 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36099 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36100 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36101 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36102 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36103 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36104 compiler output for sysdeps/generic/initfini.c.
36105 * sysdeps/i386/elf/Makefile: Remove file.
36106 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36107
a22f12b4
MP
361082012-02-07 Marek Polacek <polacek@redhat.com>
36109
36110 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36111 * sysdeps/gnu/_G_config.h: Likewise.
36112 * sysdeps/mach/hurd/_G_config.h: Likewise.
36113
148cf100
MP
361142012-02-07 Marek Polacek <polacek@redhat.com>
36115
36116 * math/Makefile (tests): Add tst-CMPLX2.
36117 * math/tst-CMPLX2.c: New file.
36118
cfdc0dd7
AS
361192012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36120
84ba42c4
AS
36121 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36122
cfdc0dd7
AS
36123 * math/libm-test.inc (jn_test): Add missing L suffix.
36124
622c86f4
MP
361252012-02-06 Marek Polacek <polacek@redhat.com>
36126
36127 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36128 * sysdeps/i386/fpu/e_powf.S: Likewise.
36129 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36130 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36131 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36132 * sysdeps/i386/fpu/e_pow.S: Likewise.
36133 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36134 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36135 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36136 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36137 * sysdeps/i386/fpu/e_log2.S: Likewise.
36138 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36139 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36140 * sysdeps/i386/fpu/e_powl.S: Likewise.
36141 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36142 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36143 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36144 * sysdeps/i386/fpu/e_logl.S: Likewise.
36145 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36146 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36147 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36148 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36149 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36150 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36151 * sysdeps/i386/fpu/e_log.S: Likewise.
36152 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36153 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36154 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36155 * sysdeps/i386/fpu/e_logf.S: Likewise.
36156 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36157 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36158 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36159 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36160 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36161 * sysdeps/i386/fpu/e_log10.S: Likewise.
36162 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36163 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36164 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36165 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36166 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36167 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36168 * sysdeps/i386/asm-syntax.h: Likewise.
36169 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36170 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36171 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36172 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36173 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36174 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36175 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36176 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36177 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36178 * sysdeps/powerpc/sysdep.h: Likewise.
36179 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36180 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36181
d4a54ac6
JM
361822012-02-06 Joseph Myers <joseph@codesourcery.com>
36183
36184 [BZ #411]
36185 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36186
314054ea
JM
361872012-02-06 Joseph Myers <joseph@codesourcery.com>
36188
36189 * sysdeps/i386/sysdep.h: Include <features.h>.
36190 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36191 version.
36192
d8e0ca50
JM
361932012-02-05 Joseph Myers <joseph@codesourcery.com>
36194
36195 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36196 Define.
36197 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36198 LOAD_PIC_REG_STR.
36199
b1da7dd9
JM
362002012-02-03 Joseph Myers <joseph@codesourcery.com>
36201
36202 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36203 (SETUP_PIC_REG): Use GET_PC_THUNK.
36204 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36205 macro.
36206
9a1d9254
JM
362072012-02-03 Joseph Myers <joseph@codesourcery.com>
36208
36209 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36210 for non-PIC compilation.
36211 (SETUP_PIC_REG): Add .p2align directive.
36212 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36213 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36214 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36215 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36216 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36217 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36218 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36219 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36220 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36221 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36222 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36223 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36224 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36225 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36226 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36227 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36228 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36229 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36230 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36231 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36232 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36233 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36234 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36235 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36236 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36238 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36239 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36240 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36241 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36242 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36243 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36244 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36245 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36246 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36247 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36248 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36249 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36250 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36251 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36252 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36253
65dc3b75
JM
362542012-02-03 Joseph Myers <joseph@codesourcery.com>
36255
36256 * math/tst-CMPLX.c: Include <stdio.h>.
36257
d55bf177
JM
362582012-01-31 Joseph Myers <joseph@codesourcery.com>
36259
36260 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36261 float.
36262 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36263 * sysdeps/sparc/bits/mathdef.h: Likewise.
36264
69db4f8f
MP
362652012-01-31 Marek Polacek <polacek@redhat.com>
36266
36267 * libio/libio.h: Don't define _PARAMS.
36268 * locale/programs/config.h: Don't define PARAMS.
36269 * stdlib/strtol_l.c: Likewise.
36270 (__strtol_l): Remove PARAMS from the prototype.
36271
41b81892
UD
362722012-01-31 Ulrich Drepper <drepper@gmail.com>
36273
3b49edc0
UD
36274 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36275 names. Just use the correct names. Remove unnecessary wrapper
36276 functions.
36277 * malloc/arena.c: Likewise.
36278 * malloc/hooks.c: Likewise.
36279
41b81892
UD
36280 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36281 ARENA_TEST says not to. Simplify test for creation of a new arena.
36282 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36283
27a25b6e
UD
362842012-01-30 Ulrich Drepper <drepper@gmail.com>
36285
36286 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36287 into tail calls.
36288 (update_get_addr): New function.
36289 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36290 GET_ADDR_MODULE parameter.
36291
c8a89e7d
JM
362922012-01-30 Joseph Myers <joseph@codesourcery.com>
36293
36294 * crypt/cert.c: Remove __STDC__ conditionals.
36295 * crypt/crypt-entry.c: Likewise.
36296 * crypt/crypt_util.c: Likewise.
36297 * libio/filedoalloc.c: Likewise.
36298 * libio/fileops.c: Likewise.
36299 * libio/genops.c: Likewise.
36300 * libio/iofclose.c: Likewise.
36301 * libio/iofdopen.c: Likewise.
36302 * libio/iofopen.c: Likewise.
36303 * libio/iofopen64.c: Likewise.
36304 * libio/iogetdelim.c: Likewise.
36305 * libio/iopopen.c: Likewise.
36306 * libio/obprintf.c: Likewise.
36307 * libio/oldfileops.c: Likewise.
36308 * libio/oldiofclose.c: Likewise.
36309 * libio/oldiofdopen.c: Likewise.
36310 * libio/oldiofopen.c: Likewise.
36311 * libio/oldiopopen.c: Likewise.
36312 * libio/wfiledoalloc.c: Likewise.
36313 * libio/wgenops.c: Likewise.
36314 * locale/programs/xmalloc.c: Likewise.
36315 * misc/syslog.c: Likewise.
36316 * stdio-common/xbug.c: Likewise.
36317 * string/memchr.c: Likewise.
36318 * string/memcmp.c: Likewise.
36319 * string/memrchr.c: Likewise.
36320 * string/rawmemchr.c: Likewise.
36321 * sysdeps/posix/getcwd.c: Likewise.
36322 * time/strftime_l.c: Likewise.
36323
3b100462
JM
363242012-01-30 Joseph Myers <joseph@codesourcery.com>
36325
36326 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
36327 * config.make.in (config-cflags-sse2avx): Define.
36328 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36329 Fix typo.
36330
607998af
CM
363312012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36332
36333 * scripts/config.guess: Update from upstream config git repository.
36334 * scripts/config.sub: Likewise.
36335
3601428f
CM
363362012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36337
3ac8b282
CM
36338 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36339 (EM_NUM): Update.
36340 (R_TILEPRO_*, R_TILEGX_*): New macros.
36341
e034841e
CM
36342 * scripts/firstversions.awk: Fix bug in version range handling.
36343
540d7568
CM
36344 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36345
3601428f
CM
36346 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36347
463de862
CM
36348 * include/sys/epoll.h: New file.
36349 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36350 libc_hidden_def.
36351
73139a76
UD
363522012-01-28 Ulrich Drepper <drepper@gmail.com>
36353
96bc5b45
UD
36354 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36355 Avoid unnecessary __WORDSIZE == 64 test.
36356 (fmaxf): Use VEX format if possible.
36357 (fmax): Likewise.
36358 (fminf): Likewise.
36359 (fmin): Likewise.
36360
56f6f6a2
UD
36361 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36362 * math/math_private.h: Remove libc_fegetround* and
36363 libc_fesetround*.
36364 * sysdeps/i386/configure.in: Check for -msse2avx.
36365 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36366 also if SSE2AVX is defined.
36367 Remove libc_fegetround* and libc_fesetround*.
36368 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36369 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36371 of HAS_YMM_USABLE.
36372 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36373 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36374 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36375 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36376 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36377
73139a76
UD
36378 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36379
d73f93a4
AZ
363802012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36381
36382 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36383 size is not set.
36384 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36385
6ee65ed6
UD
363862012-01-27 Ulrich Drepper <drepper@gmail.com>
36387
36388 [BZ #13618]
36389 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36390 relocation.
36391 * Makeconfig (libm): Define.
36392 * elf/Makefile: Add rules to build and run tst-relsort1.
36393 * elf/tst-relsort1.c: New file.
36394 * elf/tst-relsort1mod1.c: New file.
36395 * elf/tst-relsort1mod2.c: New file.
36396
8db21882
JM
363972012-01-27 Joseph Myers <joseph@codesourcery.com>
36398
36399 * math/s_ldexp.c: Remove __STDC__ conditionals.
36400 * math/s_ldexpf.c: Likewise.
36401 * math/s_ldexpl.c: Likewise.
36402 * math/s_nextafter.c: Likewise.
36403 * math/s_nexttowardf.c: Likewise.
36404 * math/s_significand.c: Likewise.
36405 * math/s_significandf.c: Likewise.
36406 * math/s_significandl.c: Likewise.
36407 * math/w_jnl.c: Likewise.
36408 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36409 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36410 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36411 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36412 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36413 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36414 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36415 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36416 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36417 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36418 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36420 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36421 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36422 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36423 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36424 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36425 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36427 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36428 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36429 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36430 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36431 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36432 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36433 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36434 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36435 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36436 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36437 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36438 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36439 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36440 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36441 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36442 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36443 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36444 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36445 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36446 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36447 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36448 * sysdeps/ieee754/k_standard.c: Likewise.
36449 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36450 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36451 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36452 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36453 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36454 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36455 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36456 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36457 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36458 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36459 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36460 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36461 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36462 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36463 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36464 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36465 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36466 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36467 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36468 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36469 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36470 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36471 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36472 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36473 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36474 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36475 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36476 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36478 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36479 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36480 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36481 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36482 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36483 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36484 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36485 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36486 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36487 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36488 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36489 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36491 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36492 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36493 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36494 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36495 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36496 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36497 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36498 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36499 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36500 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36501 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36502 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36503 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36504 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36505 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36506 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36507 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36508 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36509 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36510 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36511 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36512 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36513 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36514 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36515 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36516 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36517 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36518 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36519 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36520 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36521 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36522 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36523 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36524 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36525 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36526 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36527 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36528 * sysdeps/ieee754/s_matherr.c: Likewise.
36529 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36530 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36531 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36533
965a54a4
JM
365342012-01-26 Joseph Myers <joseph@codesourcery.com>
36535
36536 * crypt/md5.h: Remove __STDC__ conditionals.
36537 * libio/libioP.h: Likewise.
36538 * locale/programs/config.h: Likewise.
36539 * sysdeps/generic/sysdep.h: Likewise.
36540 * sysdeps/i386/asm-syntax.h: Likewise.
36541 * sysdeps/s390/asm-syntax.h: Likewise.
36542 * sysdeps/unix/sysdep.h: Likewise.
36543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36545
7071ad79
JM
365462012-01-26 Joseph Myers <joseph@codesourcery.com>
36547
36548 * libio/libio.h: Remove __STDC__ conditionals.
36549 * malloc/obstack.h: Likewise.
36550 * math/complex.h: Likewise.
36551 * math/math.h: Likewise.
36552 * sysdeps/generic/_G_config.h: Likewise.
36553 * sysdeps/gnu/_G_config.h: Likewise.
36554 * sysdeps/mach/hurd/_G_config.h: Likewise.
36555 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36556 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36557 * sysdeps/sparc/bits/mathdef.h: Likewise.
36558
afc5ed09
UD
365592012-01-26 Ulrich Drepper <drepper@gmail.com>
36560
36561 [BZ #13583]
36562 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36563 Clean up HAS_* macros.
afc5ed09 36564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36565 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36566 possible.
36567 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36568 HAS_AVX.
36569 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36570 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36571 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36572 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36573 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36574
bdb6de1d
JM
365752012-01-25 Joseph Myers <joseph@codesourcery.com>
36576
36577 * elf/tst-unique3.cc (gets): Remove declaration.
36578 * elf/tst-unique3lib.cc (gets): Likewise.
36579 * elf/tst-unique3lib2.cc (gets): Likewise.
36580 * elf/tst-unique4.cc (gets): Likewise.
36581
b15549e6
UD
365822012-01-24 Ulrich Drepper <drepper@gmail.com>
36583
36584 * include/stdio.h: Add C++ protection. Add gets declarations and
36585 definitions.
36586 * debug/tst-chk1.c: Don't declare gets here.
36587 * stdio-common/tst-gets.c: Likewise.
36588
a037381f
JM
365892012-01-24 Joseph Myers <joseph@codesourcery.com>
36590
36591 * posix/glob: Remove directory.
36592
f1d4aa75
JM
365932012-01-24 Joseph Myers <joseph@codesourcery.com>
36594
36595 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36596
81c0c964
PT
365972012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36598
36599 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36600 of the non-standard EPFNOSUPPORT.
36601
0ea698ae
ST
366022011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36603
36604 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36605 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36606 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36607
d220b117
UD
366082012-01-21 Ulrich Drepper <drepper@gmail.com>
36609
36610 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36611
3e1aa84e
UD
366122012-01-20 Ulrich Drepper <drepper@gmail.com>
36613
36614 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36615 transient errors.
36616 * nscd/grpcache.c (cache_addgr): Likewise.
36617 * nscd/hstcache.c (cache_addhst): Likewise.
36618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36619 * nscd/pwdcache.c (cache_addpw): Likewise.
36620 * nscd/servicescache.c (cache_addserv): Likewise.
36621
400aa020
UD
366222012-01-16 Ulrich Drepper <drepper@gmail.com>
36623
d77e7869
UD
36624 * malloc/malloc.c: Various cleanups.
36625 * malloc/hooks.c: Likewise.
36626
400aa020
UD
36627 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36628 * stdlib/bug-fmtmsg1.c: New file.
36629
36630 * stdlib/fmtmsg.c (init): Add missing unlock.
36631 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36632
e0a309cf
MP
366332012-01-12 Marek Polacek <polacek@redhat.com>
36634
36635 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36636 and _GNU_SOURCE.
36637
929d11c7
WS
366382012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36639
36640 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36641 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36642 macro to ensure uniqueness of label name.
36643 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36644 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36645
41d0e869
UD
366462012-01-11 Ulrich Drepper <drepper@gmail.com>
36647
0cc5ed3b
UD
36648 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36649
41d0e869
UD
36650 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36651 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36652 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36653 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36654
a47a831a
UD
366552012-01-10 Ulrich Drepper <drepper@gmail.com>
36656
daa891c0
UD
36657 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36658
36659 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36660 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36661 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36662
e58ef0f2
UD
36663 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36664
a47a831a 36665 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36666 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36667 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36669
36670 * math/bits/math-finite.h: Add ldexp support.
36671
a0bfc9c7
MP
366722012-01-10 Marek Polacek <polacek@redhat.com>
36673
36674 * locale/programs/localedef.h (show_archive_content): Add noreturn
36675 attribute.
36676
d6e97a1d
UD
366772012-01-09 Ulrich Drepper <drepper@gmail.com>
36678
36679 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36680
d5835c26
UD
366812012-01-08 Ulrich Drepper <drepper@gmail.com>
36682
e5f484c6
UD
36683 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36684
d5835c26
UD
36685 * io/Makefile (headers): Add bits/poll2.h.
36686
d1f741e9
WS
366872011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36688
36689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36690 typo #include statement.
36691
ec09c1c4
UD
366922012-01-08 Ulrich Drepper <drepper@gmail.com>
36693
36694 * include/sys/cdefs.h: Define __attribute_alloc_size.
36695 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36696 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36697 * elf/pldd.c: Likewise.
36698 * iconv/iconv_charmap.c: Likewise.
36699 * iconv/iconvconfig.c: Likewise.
36700 * iconv/strtab.c: Likewise.
36701 * locale/programs/locale.c: Likewise.
36702 * locale/programs/localedef.h: Likewise.
36703 * locale/programs/simple-hash.c: Likewise.
36704 * nscd/nscd.h: Likewise.
36705 * nss/makedb.c: Likewise.
36706 * sysdeps/generic/ldconfig.h: Likewise.
36707 * locale/programs/localedef.c: Remove xmalloc prototype.
36708 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36709
20b38e03
PP
367102012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36711
36712 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36713 appropriate.
36714
a0da5fe1
UD
367152012-01-08 Ulrich Drepper <drepper@gmail.com>
36716
1d5a644a 36717 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36718 * math/tst-CMPLX.c: New file.
1d5a644a 36719
8784a6db
UD
36720 * math/complex.h (CMPLXL): Fix typo.
36721
d9a216c0
UD
36722 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36723 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36724 GLIBC_2.16.
36725 * debug/tst-chk1.c: Add poll and ppoll tests.
36726 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36727 * include/sys/poll.h: Add hidden proto for ppoll.
36728 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36729 * sysdeps/mach/hurd/ppoll.c: Likewise.
36730 * io/ppoll.c: Likewise.
36731 * debug/poll_chk.c: New file.
36732 * debug/ppoll_chk.c: New file.
36733 * include/bits/poll2.h: New file.
36734 * io/bits/poll2.h: New file.
36735
ac097f5c
UD
36736 [BZ #1350]
36737 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36738
2119dcfa
UD
36739 * configure.in: static is always set to yes. Remove.
36740 * config.make.in: Don't set build-static.
36741 * Makeconfig: Remove use of build-static.
36742 * dlfcn/Makefile: Likewise.
36743 * elf/Makefile: Likewise.
36744 * math/Makefile: Likewise.
36745 * misc/Makefile: Likewise.
36746 * nptl/Makefile: Likewise.
36747 * sysdeps/mach/hurd/Makefile: Likewise.
36748
121766a9
UD
36749 * configure.in: PWD_P is not used anymore.
36750 * config.make.in: Remove PWD_P entry.
36751
51a1d39c 36752 * configure.in: Remove last remnants of RANLIB.
8720d066 36753 No need to check for signed size_t anymore.
215f4bdc
UD
36754 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36755 and IA-64.
3857022a 36756 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36757 * aclocal.m4: Likewise.
36758
d3ed7225
UD
36759 * wcsmbs/mbrtoc16.c: Implement using towc function.
36760 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36761 * wcsmbs/wcsmbsload.c: Likewise.
36762 * iconv/gconv_simple.c: Likewise.
36763 * iconv/gconv_int.h: Likewise.
36764 * iconv/gconv_builtin.h: Likewise.
36765 * iconv/iconv_prog.c: Remove CHAR16 handling.
36766
36767 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36768
36769 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36770
a0da5fe1
UD
36771 * configure.in: Remove --with-elf and --enable-bounded options.
36772 Dont set base_machine for ia64. More non-ELF conditions removed.
36773 Remove testing and setting of leading underscore information.
36774 * config.make.in (build-bounded): Set to no.
36775 * config.h.in: Remove NO_UNDERSCORES entry.
36776 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36777 them.
36778 * csu/start.c: Remove !NO_UNDERSCORE code.
36779 * locale/localeinfo.h: Likewise.
36780 * sysdeps/generic/machine-gmon.h: Likewise.
36781 * sysdeps/generic/sysdep.h: Likewise.
36782 * sysdeps/i386/sysdep.h: Likewise.
36783 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36784 * sysdeps/mach/sysdep.h: Likewise.
36785 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36786 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36787 * sysdeps/sh/sysdep.h: Likewise.
36788 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36789 * sysdeps/unix/i386/sysdep.S: Likewise.
36790 * sysdeps/unix/sparc/start.c: Likewise.
36791 * sysdeps/unix/sparc/sysdep.S: Likewise.
36792 * sysdeps/unix/sparc/sysdep.h: Likewise.
36793 * sysdeps/unix/start.c: Likewise.
36794 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36795 * sysdeps/x86_64/sysdep.h: Likewise.
36796
df78418a
UD
367972012-01-07 Ulrich Drepper <drepper@gmail.com>
36798
a784e502
UD
36799 [BZ #13553]
36800 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36801 for non-gcc.
36802 * argp/argp-fmtstream.h: Use const instead __const.
36803 * argp/argp.h: Likewise.
36804 * assert/assert.h: Likewise.
36805 * bits/fenv.h: Likewise.
36806 * bits/sched.h: Likewise.
36807 * bits/sigset.h: Likewise.
36808 * bits/sigthread.h: Likewise.
36809 * catgets/nl_types.h: Likewise.
36810 * conform/data/pthread.h-data: Likewise.
36811 * crypt/crypt-private.h: Likewise.
36812 * crypt/crypt.h: Likewise.
36813 * crypt/crypt_util.c: Likewise.
36814 * ctype/ctype.h: Likewise.
36815 * debug/execinfo.h: Likewise.
36816 * debug/mbsnrtowcs_chk.c: Likewise.
36817 * debug/mbsrtowcs_chk.c: Likewise.
36818 * debug/wcsnrtombs_chk.c: Likewise.
36819 * debug/wcsrtombs_chk.c: Likewise.
36820 * debug/wcstombs_chk.c: Likewise.
36821 * dirent/dirent.h: Likewise.
36822 * dlfcn/dlfcn.h: Likewise.
36823 * elf/neededtest4.c: Likewise.
36824 * grp/grp.h: Likewise.
36825 * gshadow/gshadow.h: Likewise.
36826 * iconv/gconv.h: Likewise.
36827 * iconv/gconv_int.h: Likewise.
36828 * iconv/gconv_simple.c: Likewise.
36829 * iconv/iconv.h: Likewise.
36830 * iconv/loop.c: Likewise.
36831 * iconv/skeleton.c: Likewise.
36832 * include/aio.h: Likewise.
36833 * include/aliases.h: Likewise.
36834 * include/argz.h: Likewise.
36835 * include/arpa/inet.h: Likewise.
36836 * include/assert.h: Likewise.
36837 * include/dirent.h: Likewise.
36838 * include/dlfcn.h: Likewise.
36839 * include/execinfo.h: Likewise.
36840 * include/fcntl.h: Likewise.
36841 * include/fenv.h: Likewise.
36842 * include/glob.h: Likewise.
36843 * include/grp.h: Likewise.
36844 * include/libintl.h: Likewise.
36845 * include/mntent.h: Likewise.
36846 * include/netdb.h: Likewise.
36847 * include/pwd.h: Likewise.
36848 * include/rpc/netdb.h: Likewise.
36849 * include/sched.h: Likewise.
36850 * include/search.h: Likewise.
36851 * include/shadow.h: Likewise.
36852 * include/signal.h: Likewise.
36853 * include/stdio.h: Likewise.
36854 * include/stdlib.h: Likewise.
36855 * include/string.h: Likewise.
36856 * include/sys/socket.h: Likewise.
36857 * include/sys/stat.h: Likewise.
36858 * include/sys/statfs.h: Likewise.
36859 * include/sys/statvfs.h: Likewise.
36860 * include/sys/syslog.h: Likewise.
36861 * include/sys/time.h: Likewise.
36862 * include/sys/uio.h: Likewise.
36863 * include/time.h: Likewise.
36864 * include/unistd.h: Likewise.
36865 * include/utmp.h: Likewise.
36866 * include/wchar.h: Likewise.
36867 * include/wctype.h: Likewise.
36868 * inet/aliases.h: Likewise.
36869 * inet/arpa/inet.h: Likewise.
36870 * inet/netinet/ether.h: Likewise.
36871 * inet/netinet/in.h: Likewise.
36872 * intl/libintl.h: Likewise.
36873 * io/bits/fcntl2.h: Likewise.
36874 * io/fcntl.h: Likewise.
36875 * io/ftw.h: Likewise.
36876 * io/sys/poll.h: Likewise.
36877 * io/sys/stat.h: Likewise.
36878 * io/sys/statfs.h: Likewise.
36879 * io/sys/statvfs.h: Likewise.
36880 * io/utime.h: Likewise.
36881 * libio/bits/stdio.h: Likewise.
36882 * libio/bits/stdio2.h: Likewise.
36883 * libio/libio.h: Likewise.
36884 * libio/libioP.h: Likewise.
36885 * libio/stdio.h: Likewise.
36886 * locale/lc-ctype.c: Likewise.
36887 * locale/locale.h: Likewise.
36888 * login/utmp.h: Likewise.
36889 * malloc/arena.c: Likewise.
36890 * malloc/malloc.c: Likewise.
36891 * malloc/malloc.h: Likewise.
36892 * malloc/mcheck.c: Likewise.
36893 * malloc/mtrace.c: Likewise.
36894 * math/bits/mathcalls.h: Likewise.
36895 * math/fenv.h: Likewise.
36896 * math/math_private.h: Likewise.
36897 * misc/bits/error.h: Likewise.
36898 * misc/bits/syslog.h: Likewise.
36899 * misc/err.h: Likewise.
36900 * misc/error.h: Likewise.
36901 * misc/fstab.h: Likewise.
36902 * misc/mntent.h: Likewise.
36903 * misc/regexp.h: Likewise.
36904 * misc/search.h: Likewise.
36905 * misc/sgtty.h: Likewise.
36906 * misc/sys/mman.h: Likewise.
36907 * misc/sys/syslog.h: Likewise.
36908 * misc/sys/uio.h: Likewise.
36909 * misc/sys/xattr.h: Likewise.
36910 * misc/ttyent.h: Likewise.
36911 * nis/rpcsvc/ypclnt.h: Likewise.
36912 * nss/nss.h: Likewise.
36913 * posix/bits/unistd.h: Likewise.
36914 * posix/fnmatch.h: Likewise.
36915 * posix/glob.h: Likewise.
36916 * posix/sched.h: Likewise.
36917 * posix/spawn.h: Likewise.
36918 * posix/sys/wait.h: Likewise.
36919 * posix/unistd.h: Likewise.
36920 * posix/wordexp.h: Likewise.
36921 * pwd/pwd.h: Likewise.
36922 * resolv/netdb.h: Likewise.
36923 * resource/sys/resource.h: Likewise.
36924 * rt/aio.h: Likewise.
36925 * rt/bits/mqueue2.h: Likewise.
36926 * rt/mqueue.h: Likewise.
36927 * shadow/shadow.h: Likewise.
36928 * signal/signal.h: Likewise.
36929 * socket/send.c: Likewise.
36930 * socket/sendto.c: Likewise.
36931 * socket/sys/socket.h: Likewise.
36932 * stdio-common/printf.h: Likewise.
36933 * stdlib/bits/stdlib.h: Likewise.
36934 * stdlib/fmtmsg.h: Likewise.
36935 * stdlib/monetary.h: Likewise.
36936 * stdlib/stdlib.h: Likewise.
36937 * stdlib/ucontext.h: Likewise.
36938 * streams/stropts.h: Likewise.
36939 * string/argz.h: Likewise.
36940 * string/bits/string2.h: Likewise.
36941 * string/string.h: Likewise.
36942 * string/strings.h: Likewise.
36943 * sunrpc/rpc/auth.h: Likewise.
36944 * sunrpc/rpc/auth_des.h: Likewise.
36945 * sunrpc/rpc/clnt.h: Likewise.
36946 * sunrpc/rpc/netdb.h: Likewise.
36947 * sunrpc/rpc/pmap_clnt.h: Likewise.
36948 * sunrpc/rpc/xdr.h: Likewise.
36949 * sysdeps/generic/inttypes.h: Likewise.
36950 * sysdeps/generic/net/if.h: Likewise.
36951 * sysdeps/generic/sys/swap.h: Likewise.
36952 * sysdeps/gnu/net/if.h: Likewise.
36953 * sysdeps/gnu/utmpx.h: Likewise.
36954 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36955 * sysdeps/i386/i486/bits/string.h: Likewise.
36956 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36957 * sysdeps/s390/bits/string.h: Likewise.
36958 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36959 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36960 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36961 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36962 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36963 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36964 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36965 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36966 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36967 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36968 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36969 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36970 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36971 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36972 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36973 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36974 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36975 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36976 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36977 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36978 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36979 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36980 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36981 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36982 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36983 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36984 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36985 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36986 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36987 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36988 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36989 * sysvipc/sys/ipc.h: Likewise.
36990 * sysvipc/sys/msg.h: Likewise.
36991 * sysvipc/sys/sem.h: Likewise.
36992 * sysvipc/sys/shm.h: Likewise.
36993 * termios/termios.h: Likewise.
36994 * time/sys/time.h: Likewise.
36995 * time/time.h: Likewise.
36996 * wcsmbs/bits/wchar2.h: Likewise.
36997 * wcsmbs/uchar.h: Likewise.
36998 * wcsmbs/wchar.h: Likewise.
36999 * wctype/wctype.h: Likewise.
37000
0269750c
UD
37001 [BZ #13551]
37002 * Makeconfig: Remove all but ELF support including AIX support.
37003 * Makerules: Likewise.
37004 * config.h.in: Likewise.
37005 * config.make.in: Likewise.
37006 * configure: Likewise.
37007 * configure.in: Likewise.
37008 * csu/Makefile: Likewise.
37009 * csu/version.c: Likewise.
37010 * debug/Makefile: Likewise.
37011 * dlfcn/Makefile: Likewise.
37012 * elf/Makefile: Likewise.
37013 * extra-lib.mk: Likewise.
37014 * iconv/Makefile: Likewise.
37015 * include/libc-symbols.h: Likewise.
37016 * include/shlib-compat.h: Likewise.
37017 * resolv/Makefile: Likewise.
37018 * resolv/res_libc.c: Likewise.
37019 * rt/Makefile: Likewise.
37020 * sysdeps/i386/asm-syntax.h: Likewise.
37021 * sysdeps/i386/sysdep.h: Likewise.
37022 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37023 * sysdeps/mach/sysdep.h: Likewise.
37024 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37025 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37026 * sysdeps/s390/asm-syntax.h: Likewise.
37027 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37028 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37029 * sysdeps/sh/sysdep.h: Likewise.
37030 * sysdeps/unix/sparc/sysdep.h: Likewise.
37031 * sysdeps/wordsize-32/divdi3.c: Likewise.
37032 * sysdeps/x86_64/sysdep.h: Likewise.
37033
00bbd29b
UD
37034 * argp/Versions: Remove _argp_unlock_xxx.
37035
37036 [BZ #13559]
37037 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37038 * abilist/libBrokenLocale.abilist: Likewise.
37039 * abilist/libanl.abilist: Likewise.
37040 * abilist/libc.abilist: Likewise.
37041 * abilist/libcrypt.abilist: Likewise.
37042 * abilist/libdl.abilist: Likewise.
37043 * abilist/libm.abilist: Likewise.
37044 * abilist/libnsl.abilist: Likewise.
37045 * abilist/libpthread.abilist: Likewise.
37046 * abilist/libresolv.abilist: Likewise.
37047 * abilist/librt.abilist: Likewise.
37048 * abilist/libthread_db.abilist: Likewise.
37049 * abilist/libutil.abilist: Likewise.
37050 * abilist/libnss_db.abilist: New file.
37051
37052 * scripts/abilist.awk: Add support for indirect functions.
37053
a2693a0e
UD
37054 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37055
3f05895f
UD
37056 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37057
ecb6fb48
UD
37058 * shlib-versions: Remove entries for ports architectures.
37059
664f8cb9
UD
37060 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37061 files in ports.
37062 * elf/stackguard-macros.h: Remove support for IA-64.
37063 * elf/tst-auditmod1.c: Likewise.
37064 * sysdeps/generic/ldsodefs.h: Likewise.
37065
7ae81d88
UD
37066 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37067 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37068 configure files.
37069
bdeba135
UD
37070 [BZ #13552]
37071 * configure.in: Remove --enable-omitfp support.
37072 * FAQ.in: Adjust.
37073 * config.make.in: Likewise.
37074 * Makeconfig: Likewise.
37075 * manual/install.texi: Likewise.
37076
d75a0a62
UD
37077 In case anyone cares, the IA-64 architecture could move to ports.
37078 * sysdeps/ia64/*: Removed.
37079 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37080 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37081
dcc9756b
UD
37082 [BZ #13555]
37083 * configure.in: Remove entries for unsupported architectures.
37084
d3761ebc 37085 [BZ #13533]
9954432e
UD
37086 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37087 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37088 routines.
37089 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37090 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37091 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37092 fall back to using wcrtomb.
37093 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37094 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37095 renaming.
37096 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37097 * wcsmbs/tst-c16c32-1.c: New file.
37098
37099 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37100 local variable.
37101
c3a87236
UD
37102 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37103
28926a1b
UD
37104 * elf/tst-unique3.cc: Add explicit declaration of gets.
37105 * elf/tst-unique3lib.cc: Likewise.
37106 * elf/tst-unique3lib2.cc: Likewise.
37107 * elf/tst-unique4.cc: Likewise.
37108
df78418a
UD
37109 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37110
8ecd6b2a
JM
371112012-01-06 Joseph Myers <joseph@codesourcery.com>
37112
37113 [BZ #13566]
37114 * assert/assert.h (static_assert): Don't define for C++.
37115 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37116 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37117
9f115170
UD
371182012-01-03 Ulrich Drepper <drepper@gmail.com>
37119
5e0d0300
UD
37120 * iconv/loop.c (single loop): Fix assertion in storing of
37121 remaining bytes.
37122
9f115170
UD
37123 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37124
81fb02b0
UD
371252012-01-01 Ulrich Drepper <drepper@gmail.com>
37126
37127 * posix/getconf.c: Update copyright year.
37128 * nss/getent.c: Likewise.
a316c1f6 37129 * nss/makedb.c: Likewise.
81fb02b0
UD
37130 * iconv/iconvconfig.c: Likewise.
37131 * iconv/iconv_prog.c: Likewise.
37132 * elf/ldconfig.c: Likewise.
a316c1f6
UD
37133 * elf/pldd.c: Likewise.
37134 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
37135 * catgets/gencat.c: Likewise.
37136 * csu/version.c: Likewise.
37137 * elf/ldd.bash.in: Likewise.
37138 * elf/sprof.c (print_version): Likewise.
37139 * locale/programs/locale.c: Likewise.
37140 * locale/programs/localedef.c: Likewise.
a316c1f6 37141 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
37142 * nscd/nscd.c (print_version): Likewise.
37143 * debug/xtrace.sh: Likewise.
37144 * malloc/memusage.sh: Likewise.
37145 * malloc/mtrace.pl: Likewise.
37146 * debug/catchsegv.sh: Likewise.
37147
2ba92745
JJ
371482011-12-30 Jakub Jelinek <jakub@redhat.com>
37149
37150 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37151 pure attribute.
37152
dadebdae
UD
371532011-12-24 Ulrich Drepper <drepper@gmail.com>
37154
d3761ebc 37155 [BZ #13533]
db6af3eb
UD
37156 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37157 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37158 transformations.
37159 * iconv/gconv_int.h: Likewise.
37160 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37161 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37162 from libc for GLIBC_2.16.
37163 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37164 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37165 * wcsmbs/uchar.h: Really define mbstate_t.
37166 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37167 * wcsmbs/c16rtomb.c: New file.
37168 * wcsmbs/mbrtoc16.c: New file.
37169 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37170 for C/POSIX locale.
37171 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37172 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37173
dadebdae
UD
37174 * wcsmbs/wchar.h: Add missing __restrict.
37175
67371b56
UD
371762011-12-23 Ulrich Drepper <drepper@gmail.com>
37177
74033a25
UD
37178 [BZ #13532]
37179 * time/Makefile (routines): Add timespec_get.
37180 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37181 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37182 timespec for ISO C11.
37183 * time/timespec_get.c: New file.
37184 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37185 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37186
380d7e87
UD
37187 [BZ #13531]
37188 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37189 * stdlib/stdlib.h: Declare aligned_alloc.
37190 * Versions.def: Add GLIBC_2.16 for libc.
37191 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37192
4e9e7a35
UD
37193 [BZ 13527]
37194 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37195 ISO C11.
37196
380d7e87 37197 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
37198 code.
37199
03a71829
UD
37200 [BZ #13528]
37201 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37202
839e283e
UD
37203 [BZ #13529]
37204 * assert/assert.h (static_assert): Define.
37205
ce5294e2 37206 * version.h: Update for 2.16 development version.
90fa7312 37207
8d44e150 37208 [BZ #13526]
d7809905
UD
37209 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37210 _ISOC11_SOURCE.
37211
c0da14cd
UD
37212 * version.h (RELEASE): Bump for 2.15 release.
37213 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37214
530a3249
MP
37215 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37216 Patch by Marek Polacek <mpolacek@redhat.com>.
37217
67371b56
UD
37218 * bits/byteswap.h: Protect long long constants with __extension__.
37219 * sysdeps/i386/bits/byteswap.h: Likewise.
37220 * sysdeps/ia64/bits/byteswap.h: Likewise.
37221 * sysdeps/s390/bits/byteswap.h: Likewise.
37222 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37223
15db4de1
LD
372242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37225
37226 [BZ #13540]
bbe315ea
LD
37227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37228 destination buffer.
15db4de1
LD
37229 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37230
2b2596b1
MP
372312011-12-23 Marek Polacek <polacek@redhat.com>
37232
37233 * elf/dl-addr.c (determine_info): Add inline keyword.
37234 * elf/tst-auditmod4b.c (check_avx): Likewise.
37235 * elf/tst-auditmod6b.c (check_avx): Likewise.
37236 * elf/tst-auditmod6c.c (check_avx): Likewise.
37237 * elf/tst-auditmod7b.c (check_avx): Likewise.
37238
70c6c246
UD
372392011-12-23 Ulrich Drepper <drepper@gmail.com>
37240
37241 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37242 !__SSE_MATH__.
37243
c044cf14
LD
372442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37245
15db4de1 37246 [BZ #13540]
c044cf14
LD
37247 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37248 processing for last bytes.
37249
6b13d9d9
BH
372502011-08-06 Bruno Haible <bruno@clisp.org>
37251
d455f537
BH
37252 [BZ #13061]
37253 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37254 U+0385, not to U+1FEE.
37255
6b13d9d9
BH
37256 [BZ #13062]
37257 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37258 entry for U+00A5 U+0301.
37259
db910efd
UD
372602011-12-22 Ulrich Drepper <drepper@gmail.com>
37261
27deeafc
UD
37262 [BZ #13166]
37263 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37264 buffer for the output is too small.
37265
aed9d171
UD
37266 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37267 optimization.
37268
db910efd
UD
37269 [BZ #13185]
37270 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37271 SSE flags if possible.
37272
2bd779ae
LD
372732011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37274
e7f9dac3 37275 [BZ #13540]
2bd779ae
LD
37276 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37277 processing for last bytes.
37278
154bfc16
JM
372792011-12-22 Joseph Myers <joseph@codesourcery.com>
37280
37281 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37282 (syscall-list-default-options, syscall-list-default-condition)
37283 (syscall-list-includes): Define.
37284 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37285 list of ABIs and options and #if conditions for each ABI. Do not
37286 handle common syscalls between ABIs specially.
37287 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37288 Remove.
37289 (syscall-list-variants, syscall-list-32bit-options)
37290 (syscall-list-32bit-condition, syscall-list-64bit-options)
37291 (syscall-list-64bit-condition): Define.
37292 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37293 (syscall-list-variants, syscall-list-32bit-options)
37294 (syscall-list-32bit-condition, syscall-list-64bit-options)
37295 (syscall-list-64bit-condition): Define.
37296 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37297 Remove.
37298 (syscall-list-variants, syscall-list-32bit-options)
37299 (syscall-list-32bit-condition, syscall-list-64bit-options)
37300 (syscall-list-64bit-condition): Define.
37301 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37302 Remove.
37303 (syscall-list-variants, syscall-list-32bit-options)
37304 (syscall-list-32bit-condition, syscall-list-64bit-options)
37305 (syscall-list-64bit-condition): Define.
37306
21eaf3a5
UD
373072011-12-22 Ulrich Drepper <drepper@gmail.com>
37308
16c6f992
UD
37309 * locale/iso-639.def: Add brx entry.
37310
41043168
UD
37311 [BZ #13328]
37312 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37313 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37314
21eaf3a5
UD
37315 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37316 __feraiseexcept_renamed.
37317
e3a851a2
UD
373182011-12-21 Ulrich Drepper <drepper@gmail.com>
37319
4920765e
UD
37320 [BZ #13538]
37321 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37322 EPOLLET with unsigned values.
37323 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37324 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37325
e3a851a2
UD
37326 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37327 to large cancellation.
37328 * math/s_cacoshf.c: Likewise.
37329 * math/s_cacoshl.c: Likewise.
37330
b27e24b8
RK
373312011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37332
37333 [BZ #13305]
aebefeee 37334 [BZ #12786]
b27e24b8
RK
37335 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37336 * math/s_cacoshf.c: Likewise.
37337 * math/s_cacoshl.c: Likewise.
37338
ee190f67
UD
373392011-12-21 Ulrich Drepper <drepper@gmail.com>
37340
37341 [BZ #13439]
37342 * iconv/gconv.h: Define __GCONV_SWAP.
37343 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37344 * iconvdata/utf-16.c: Likewise.
37345 * iconvdata/utf-32.c: Likewise.
37346
707f25df
AS
373472011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37348
37349 [BZ #13524]
37350 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37351 numerator after shifting it by one limb.
37352
d2daaa1e
RÁE
373532011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37354
37355 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37356 under [__USE_EXTERN_INLINES].
37357
a4647e72
UD
373582011-12-17 Ulrich Drepper <drepper@gmail.com>
37359
37360 [BZ #13446]
37361 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37362
f0b264f1
AZ
373632011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37364
37365 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37366 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37367 optimized code.
37368 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37369 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37370 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37371 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37372 for strncasecmp/strncasecmp_l compilation.
37373 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37374 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37375
8ef4f244
MP
373762011-12-08 Marek Polacek <mpolacek@redhat.com>
37377
37378 [BZ #13484]
37379 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37380 of __asm__.
37381
97ac2654
UD
373822011-12-17 Ulrich Drepper <drepper@gmail.com>
37383
37384 [BZ #13506]
37385 * time/tzfile.c (__tzfile_read): Check values from file header.
37386
91d2a845
WS
373872011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37388
37389 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37390 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37391 * powerpc/powerpc32/dl-start.S: Likewise.
37392 * powerpc/powerpc32/elf/start.S: Likewise.
37393 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37394 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37395 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37396 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37397 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37398 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37399 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37400 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37401 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37402 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37403 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37404 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37405 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37406 * powerpc/powerpc32/memset.S: Likewise.
37407 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37408 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37409 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37410 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37411 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37412 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37413 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37414 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37415 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37416 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37417 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37418 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37419 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37420
a1267ba1
AZ
374212011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37422
37423 * math/libm-test.inc: Added more nearbyint tests.
37424 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37426 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37428
ad8ac1bd
RL
374292011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37430
37431 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37432 FD_CLOEXEC.
37433
1d3e4b61
UD
374342011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37435
37436 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37437 Add wcscpy-ssse3 wcscpy-c.
37438 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37439 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37440 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37441 * sysdeps/x86_64/wcschr.S: New file.
37442 * sysdeps/x86_64/wcsrchr.S: New file.
37443 * string/test-strcmp.c: Remove checking of wcscmp function for
37444 wrong alignments.
37445 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37446 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37447 wcsrchr-sse2 wcsrchr-c.
37448 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37449 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37450 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37451 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37452 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37453 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37454 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37455 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37456 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37457 * wcsmbc/wcschr.c (WCSCHR): New macro.
37458
5b330a2d
UD
374592011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37460
37461 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37462 * wcsmbs/test-wcsrchr.c: New file.
37463 * string/test-strrchr.c: Add wcsrchr support.
37464 (WIDE): New macro.
37465 * wcsmbs/test-wcscpy.c: New file.
37466 * string/test-strcpy.c: Add wcscpy support.
37467 (WIDE): New macro.
26428b7c 37468
f039c043
UD
374692011-12-10 Ulrich Drepper <drepper@gmail.com>
37470
37471 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37472 the inner loop.
37473
850fb039
AS
374742011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37475
37476 [BZ #13472]
37477 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37478
4efbd5cb
UD
374792011-12-04 Ulrich Drepper <drepper@gmail.com>
37480
52ff5dd0 37481 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37482 Minor optimizations.
52ff5dd0 37483
4efbd5cb
UD
37484 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37485 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37486 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37487
8a426e12
UD
374882011-12-03 Ulrich Drepper <drepper@gmail.com>
37489
aff2453d
UD
37490 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37491 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37492 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37493 for gcc to avoid warnings.
37494 * inet/Makefile (tests): Add tst-checks.
37495 * inet/tst-checks.c: New file.
37496
37497 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37498 warning.
37499
37500 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37501 __wmemcmp_sse2.
37502
37503 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37504 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37505
8a426e12
UD
37506 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37507
9bea3473
UD
375082011-12-02 Ulrich Drepper <drepper@gmail.com>
37509
3a965496
UD
37510 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37511 problem.
37512
9bea3473
UD
37513 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37514
f101631b
UD
375152011-11-29 Joseph Myers <joseph@codesourcery.com>
37516
37517 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37518 conditional on GCC version.
37519 (__arch_compare_and_exchange_val_8_acq)
37520 (__arch_compare_and_exchange_val_16_acq)
37521 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37522 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37523 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37524
a98275aa
UD
375252011-12-02 Joseph Myers <joseph@codesourcery.com>
37526
37527 * sysdeps/sh/backtrace.c: New file.
37528
d4cc29a2
AS
375292011-12-02 Andreas Schwab <schwab@redhat.com>
37530
37531 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37532 parenthesis.
37533
6257af2d
AS
375342011-12-01 Andreas Schwab <schwab@redhat.com>
37535
37536 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37537 falling back to utime.
37538
b5f44c1a
AS
375392011-11-30 Andreas Schwab <schwab@redhat.com>
37540
37541 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37542 expectations for float.
37543
f3a6cc0a
AS
375442011-11-29 Andreas Schwab <schwab@redhat.com>
37545
37546 * locale/weight.h (findidx): Add parameter len.
37547 * locale/weightwc.h (findidx): Likewise.
37548 * posix/fnmatch_loop.c (FCT): Adjust caller.
37549 * posix/regcomp.c (build_equiv_class): Likewise.
37550 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37551 * posix/regexec.c (check_node_accept_bytes): Likewise.
37552 * string/strcoll_l.c (STRCOLL): Likewise.
37553 * string/strxfrm_l.c (STRXFRM): Likewise.
37554
9d65ea3a
UD
375552011-11-17 Ulrich Drepper <drepper@gmail.com>
37556
37557 * Makefile.in: Remove CVSOPT handling.
37558 * configure.in: Remove use of AC_REVISION.
37559 * iconvdata/Makefile (distribute): No need to filter out CVS.
37560 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37561 handling.
37562
5583a086
AS
375632011-11-16 Andreas Schwab <schwab@redhat.com>
37564
37565 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37566 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37567 [USE_AS_STRNCASECMP_L]: Likewise.
37568 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37569 NO_TLS_DIRECT_SEG_REFS.
37570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37571 Fix argument offsets for non-PIC.
37572 [USE_AS_STRNCASECMP_L]: Likewise.
37573 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37574 NO_TLS_DIRECT_SEG_REFS.
37575
d62a8200
UD
375762011-11-15 Ulrich Drepper <drepper@gmail.com>
37577
9d65ea3a 37578 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37579 O_CLOEXEC.
37580 * locale/loadlocale.c (_nl_load_locale): Likewise.
37581
09f93bd3
AS
375822011-11-15 Andreas Schwab <schwab@redhat.com>
37583
446514f9
AS
37584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37585 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37587 (SYSCALL_GETTIME): Set errno on error.
37588
09f93bd3
AS
37589 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37590 count references to noai6ai_cached.
37591
312be3f9
UD
375922011-11-15 Ulrich Drepper <drepper@gmail.com>
37593
37594 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37595
37596 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37597 FD_CLOEXEC for /proc/self/maps.
37598
37599 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37600 FD_CLOEXEC for /proc/meminfo.
37601
37602 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37603 gai.conf.
37604
37605 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37606 FD_CLOEXEC for given file.
37607
37608 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37609
37610 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37611 FD_CLOEXEC for /etc/hosts.
37612 (_gethtent): Likewise.
37613
37614 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37615
37616 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37617 cancellation and set FD_CLOEXEC for /etc/netgroup.
37618
37619 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37620 reading /etc/publickey.
37621
37622 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37623 allow cancellation when reading /etc/group.
37624
37625 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37626 cancellation.
37627 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37628
37629 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37630 when using data file.
37631
37632 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37633
37634 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37635 (write_nis_obj): Use "c" and "e" in fopen.
37636
37637 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37638
37639 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37640
37641 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37642
37643 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37644
37645 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37646 locale.alias.
37647
37648 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37649
37650 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37651
37652 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37653
37654 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37655 file parsing and set FD_CLOEXEC.
37656
82af0fa8
UD
376572011-11-14 Ulrich Drepper <drepper@gmail.com>
37658
37659 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37660
a5fb313c
AS
376612011-11-14 Andreas Schwab <schwab@redhat.com>
37662
37663 * malloc/arena.c (arena_get2): Don't call reused_arena when
37664 _int_new_arena failed.
37665
6abf3465
UD
376662011-11-14 Ulrich Drepper <drepper@gmail.com>
37667
37668 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37669 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37670 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37671 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37672 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37673 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37674 to compile strcasecmp and strncasecmp.
37675 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37676 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37677
37678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37679
76e3966e
UD
376802011-11-13 Ulrich Drepper <drepper@gmail.com>
37681
37682 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37683 locale-defines.sym to gen-as-const-headers.
37684 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37685 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37687 to compile strcasecmp and strncasecmp.
37688 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37689 strcasecmp_l and strncasecmp_l.
37690 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37691 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37692 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37693 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37694 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37695 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37696 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37697 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37698 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37699 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37700 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37701
ab26144e
UD
377022011-11-12 Ulrich Drepper <drepper@gmail.com>
37703
7edb22ef
UD
37704 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37705 result of SYSDEP_GETTIME_CPU to retval.
37706 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37707 parameter list to macro. Remove trailing semicolon. Adjust users.
37708
9694fc44
UD
37709 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37710 variable.
37711
8ad89ef8
UD
37712 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37713 mantissa words.
37714 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37715
0c822ef9
UD
37716 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37717 from unused variable.
37718
874e0564
UD
37719 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37720 DWARF definitions.
37721 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37722 for assembling.
37723
3a2edc79
UD
37724 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37725 over namespaces.
37726
f3c2577f
UD
37727 * sunrpc/rpc_prot.c (rejected): Fix case value.
37728
294ce126
UD
37729 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37730 unsigned long long int to avoid warnings in shift.
37731
5e2b63c6
UD
37732 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37733 of use of trans.
37734 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37735 variable tmp.
37736
e7f4b08e
UD
37737 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37738 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37739 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37740
ab26144e
UD
37741 * nis/nis_table.c (nis_list): Use variable of correct type for
37742 result of __follow_path call.
37743
8a6d5255
AZ
377442011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37745
37746 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37747 of math functions ceil, trunc, floor, round, and sqrt, when
37748 avaliable on the platform.
37749 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37750 name clash.
37751 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37752 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37753 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37754
aaddc98c
MP
377552011-10-30 Marek Polacek <mpolacek@redhat.com>
37756
37757 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37758 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37759
95b7042b
RM
377602011-11-11 Roland McGrath <roland@hack.frob.com>
37761
37762 * include/unistd.h: Fix __readlink return type.
37763 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37764
57769839
UD
377652011-11-11 Ulrich Drepper <drepper@gmail.com>
37766
37767 * stdlib/ucontext.h: Undo last change for makecontext.
37768
edc5984d
AS
377692011-11-11 Andreas Schwab <schwab@redhat.com>
37770
98591e58
AS
37771 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37772
edc5984d
AS
37773 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37774 * setjmp/setjmp.h: Mark functions as non-leaf.
37775 * setjmp/bits/setjmp2.h: Likewise.
37776 * stdlib/ucontext.h: Likewise.
37777
77cdc054
AS
377782011-11-10 Andreas Schwab <schwab@redhat.com>
37779
37780 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37781 (reused_arena): Don't check arena limit.
37782 (arena_get2): Atomically check arena limit.
37783
fe72eebd
UD
377842011-11-08 Ulrich Drepper <drepper@gmail.com>
37785
5f078c32
UD
37786 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37787 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37788
fe72eebd
UD
37789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37790 instructions.
37791
ae1bc2fa
AS
377922011-11-07 Andreas Schwab <schwab@redhat.com>
37793
7583a88d
AS
37794 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37795 handler when locking.
37796
ae1bc2fa
AS
37797 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37798 Fix size of allocated buffer.
37799
10fb0bfa
AS
378002011-11-04 Andreas Schwab <schwab@redhat.com>
37801
998832a4
AS
37802 [BZ #10103]
37803 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37804 declarations for long double functions.
37805 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37806
10fb0bfa
AS
37807 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37808
3d7ba52b
AS
378092011-11-03 Andreas Schwab <schwab@redhat.com>
37810
a9ae54a1
AS
37811 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37812 installed.
37813
3d7ba52b
AS
37814 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37815 is disabled.
37816
bc8db248
ST
378172011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37818
37819 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37820
45b96dd6
AS
378212011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37822
647776f6
AS
37823 * include/alloca.h (stackinfo_alloca_round): Define.
37824 (extend_alloca): Use it.
37825 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37826 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37827 here.
37828
d91a8b93
AS
37829 * scripts/check-local-headers.sh: Ignore libaudit.h.
37830
45b96dd6
AS
37831 * nscd/Makefile (extra-objs): Make recursively expanded.
37832
432d41ce
UD
378332011-11-01 Ulrich Drepper <drepper@gmail.com>
37834
34372fc6
UD
37835 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37836 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37837
fadb59f8
UD
37838 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37839 * posix/tst-rfc3484-2.c: Likewise.
37840 * posix/tst-rfc3484-3.c: Likewise.
37841
78239589
UD
37842 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37843 process_vm_writev.
37844 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37845 process_vm_writev.
37846 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37847 process_vm_writev from libc using GLIBC_2.15 version.
37848
432d41ce
UD
37849 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37850
02f9c6cf
PP
378512011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37852
37853 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37854 stack usage.
37855
3a2c0242
UD
378562011-10-31 Ulrich Drepper <drepper@gmail.com>
37857
f4ec4833
UD
37858 [BZ #13367]
37859 * nss/getent.c (initgroups_keys): Show error message in case no group
37860 names are given.
37861
3a2c0242
UD
37862 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37863 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37864 __bump_nl_timestamp.
37865 * nscd/connections (nscd_init): When host database is served open
37866 netlink socket and request notification about configuration changes.
37867 (main_loop_poll): Track netlink file descriptor and bump timestamp
37868 in case data becomes available.
37869 (main_loop_epoll): Likewise.
37870 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37871 (database_pers_head): Add extra_data fileds.
37872 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37873 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37874 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37875 Adjust caller.
37876 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37877 in6ai data, call __free_in6ai.
37878 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37879 Add -DHAVE_NETLINK.
37880 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37881 interface information. Reuse previous data if netlink timestamp
37882 is not changed.
37883 (__bump_nl_timestamp): New function.
37884 (__free_in6ai): New function.
37885
636064eb
UD
378862011-10-30 Ulrich Drepper <drepper@gmail.com>
37887
37888 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37889 close_not_cancel_no_status here.
37890 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37891
9beb2334
UD
378922011-10-29 Ulrich Drepper <drepper@gmail.com>
37893
6ef76f3b
UD
37894 [BZ #13276]
37895 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37896 return value.
37897
0ffc4f3e 37898 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37899 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37900 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37901
cb95113e
UD
379022011-07-03 Andreas Jaeger <aj@suse.de>
37903
37904 [BZ #10709]
37905 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37906 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37907 * math/libm-test.inc (sin_test): Add test case.
37908
a1b560ff
UD
379092011-10-29 Ulrich Drepper <drepper@gmail.com>
37910
c9aaface
UD
37911 [BZ #13337]
37912 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37913 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37914
d272e7f1
UD
37915 * elf/chroot_canon.c (chroot_canon): Cleanups.
37916
1bc33071
UD
37917 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37918
1760874d
TJ
37919 [BZ #13335]
37920 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37921 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37922
51d91b18
UD
37923 * string/test-strchr.c: Make usable for strchrnul testing.
37924 * string/test-strchrnul.c: New file.
37925 * string/Makefile (strop-tests): Add strchrnul.
37926
a1b560ff 37927 * po/it.po: Update from translation team.
b611fb81 37928 * po/es.po: Likewise.
a1b560ff 37929
a5b81e1f
UD
379302011-10-28 Ulrich Drepper <drepper@gmail.com>
37931
fd52bc6d
UD
37932 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37933 the three constants needed as parameters. Drop the others.
37934 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37935 __m128i_strloadu_tolower.
52e4b9eb
UD
37936 Create and initialize variable zero and use it in all the places
37937 where _mm_setzero_si128 was used.
fd52bc6d 37938
a5b81e1f
UD
37939 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37940 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37941 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37942 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37943 anymore.
37944 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37945 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37946 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37947 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37948 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37949 __mpranred, __mptan.
37950 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37951 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37952 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37953 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37954 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37955 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37956 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37957 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37958 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37959
b4343346
AS
379602011-10-28 Andreas Schwab <schwab@redhat.com>
37961
0c92d8a8
AS
37962 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37963 redefine if SHARED.
37964 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37965
b4343346
AS
37966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37967 wide char related routines to wcsmbs subdir.
37968
3871f58f
AS
379692011-10-27 Andreas Schwab <schwab@redhat.com>
37970
37971 [BZ #13344]
37972 * misc/sys/cdefs.h (__THROWNL): Define.
37973 * posix/unistd.h: Use __THREADNL instead of __THREAD
37974 for memory synchronization functions.
37975
94d44d9f
RM
379762011-10-26 Roland McGrath <roland@hack.frob.com>
37977
21b64b15 37978 [BZ #13349]
94d44d9f
RM
37979 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37980 doesn't exist.
37981 * manual/stdio.texi (Obstack Streams): Node removed.
37982
f6ce9294
AS
379832011-10-26 Andreas Schwab <schwab@redhat.com>
37984
80479147
AS
37985 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37986 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37987 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37988
f6ce9294
AS
37989 * math/math_private.h (math_force_eval): Allow non-addressable
37990 arguments.
37991 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37992
618280a1
UD
379932011-10-25 Ulrich Drepper <drepper@gmail.com>
37994
e0016b11
UD
37995 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37996 file is not needed.
37997
37998 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37999 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38000 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38001 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38002 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38003 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38004 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38005 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38006 Add AVX variants.
38007 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38008 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38009 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38010 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38011 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38012 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38013 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38014 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38015 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38016 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38017 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38018 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38019 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38020 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38021 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38022 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38023 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38024 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38025 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38026
38027 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38028 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38029
618280a1
UD
38030 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38031 place. Use VEX encoding when compiling for AVX.
38032
37822576
AS
380332011-10-25 Andreas Schwab <schwab@redhat.com>
38034
1f1e1947
AS
38035 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38036 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38037
37822576
AS
38038 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38039
31ea014d
UD
380402011-10-25 Ulrich Drepper <drepper@gmail.com>
38041
d7826aa1 38042 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38043 useless if() expression.
d7826aa1
UD
38044 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38045 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38046 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38048 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38049 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38050 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38051 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38052 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38053 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38054 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38055 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38056 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38057 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38058 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38059 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38060 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38061 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38062 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38063
31ea014d
UD
38064 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38065
16437fec
AS
380662011-10-25 Andreas Schwab <schwab@redhat.com>
38067
38068 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38069 condition.
38070 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38071
31d3cc00
UD
380722011-10-25 Ulrich Drepper <drepper@gmail.com>
38073
38074 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38075 .text section. Avoid duplicate constants.
38076 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38080 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38083 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38084 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38086 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38087 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38088 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38089 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38090 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38091 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38092 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38093 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38094 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38096 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38097 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38098 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38099 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38100 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38101 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38102 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38103 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38104 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38105 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38106 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38107 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38108 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38109 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38110 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38111 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38112 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38114 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38115 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38116 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38117 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38118 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38119 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38120 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38121
58985aa9
UD
381222011-10-24 Ulrich Drepper <drepper@gmail.com>
38123
202c9deb
UD
38124 * sysdeps/x86_64/dla.h: Move to ...
38125 * sysdeps/x86_64/fpu/dla.h: ...here.
38126 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38127 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 38128
af968f62
UD
38129 * config.make.in: Add have-mfma4 entry.
38130 * configure.in: Substitute libc_cv_cc_fma4.
38131 * math/Makefile (dbl-only-routines): Add sincostab.
38132 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38133 Use __sincostab not sincos.
38134 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38135 name is a macro.
38136 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38140 using __copysign.
38141 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38142 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38143 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38144 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38145 and __inv.
38146 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38147 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38148 __copysign.
38149 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38150 define aliases when function name is a macro.
38151 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38152 sysdeps/ieee754/dbl-64/sincos.tbl.
38153 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38154 fma4-enabled routines.
38155 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38156 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38157 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38158 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38159 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38160 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38161 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38162 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38163 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38164 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38165 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38166 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38167 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38168 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38169 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38170 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38171 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38172 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38173 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38174 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38175 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38176 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38177 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38178 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38179 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38180 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38181 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38182 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38183 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38184 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38185
58985aa9
UD
38186 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38187 rename.
38188 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38194 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38195 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38196
a201fbcf
AS
381972011-10-24 Andreas Schwab <schwab@redhat.com>
38198
38199 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38200
fc2ee42a
LD
382012011-10-23 Ulrich Drepper <drepper@gmail.com>
38202
bb3129bd
UD
38203 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38204
0275fff8
UD
38205 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38206 prediction.
38207 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38208
2fa2ae85
UD
38209 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38210 Remove unused variable magic_bits.
38211 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38212
fc2ee42a
LD
38213 * string/strnlen.c: Define and use STRNLEN macro.
38214 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38215 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38216 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38217 * wcsmbs/wcslen.c: Define and use WCSLEN.
38218 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38219 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38220 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38221 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38222 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38223 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38224 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38225
ce7dd29f
LD
382262011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38227
38228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38229 strnlen-sse2-no-bsf.
38230 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38231 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38232 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38233 Add strnlen support.
38234 (USE_AS_STRNLEN): New macro.
38235 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38236 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38237 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38238 * sysdeps/x86_64/wcslen.S: New file.
38239
979c70a3
MZ
382402011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38241
38242 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38243 XMM-moves are used for copying on small sizes.
38244
2d09f82f
LD
382452011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38246
38247 * wcsmbs/Makefile (strop-tests): Add wcschr.
38248 * wcsmbs/test-wcschr.c: New file.
38249 * string/test-strchr.c: Update.
38250 Add wcschr support.
38251 (WIDE): New macro.
38252
619fccca
LD
382532011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38254
2d09f82f 38255 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
38256 * wcsmbs/test-wcslen.c: New file.
38257 * string/test-strlen.c: Update.
38258 Add wcslen support.
38259 (WIDE): New macro.
38260
09f699ea
UD
382612011-10-23 Ulrich Drepper <drepper@gmail.com>
38262
38263 * po/it.po: Update from translation team.
38264
95584d3b
LD
382652011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38266
38267 * sysdeps/x86_64/wcscmp.S: Update.
38268 Fix wrong comparison semantics.
38269 wcscmp shall use signed comparison not unsigned.
38270 Don't use substraction to avoid overflow bug.
38271 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38272 * wcsmbc/wcscmp.c: Likewise.
38273 * string/test-strcmp.c: Likewise.
38274 Add new tests to check cases with negative values.
38275
c8b3296b
UD
382762011-10-23 Ulrich Drepper <drepper@gmail.com>
38277
38278 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38279 * sysdeps/x86_64/dla.h: ...here. New file.
38280 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38281 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38283 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38285 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38286 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38287 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38288 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38289
246ad57a
AS
382902011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38291
38292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38293 __ynl_finite aliases.
38294
a1a87169
UD
382952011-10-22 Ulrich Drepper <drepper@gmail.com>
38296
0d355eb7
UD
38297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38298
a1a87169
UD
38299 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38300 define DLA_FMA.
38301 [DLA_FMA] (EMULV): Use DLA_FMA.
38302 [DLA_FMA] (MUL12): Use EMULV.
38303 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38304 that are not needed.
38305 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38309 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38310 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38311 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38312
ee2aafe0
AS
383132011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38314
38315 * math/s_nan.c: Undef __nan.
38316 * math/s_nanf.c: Undef __nanf.
38317 * math/s_nanl.c: Undef __nanl.
38318 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38319 "math_private.h".
38320
bc62c2fb
UD
383212011-10-22 Ulrich Drepper <drepper@gmail.com>
38322
77425c63
UD
38323 * math/s_catan.c: Add branch predictions.
38324 * math/s_catanf.c: Likewise.
38325 * math/s_catanh.c: Likewise.
38326 * math/s_catanhf.c: Likewise.
38327 * math/s_catanhl.c: Likewise.
38328 * math/s_catanl.c: Likewise.
38329 * math/s_cexp.c: Likewise.
38330 * math/s_cexpf.c: Likewise.
38331 * math/s_cexpl.c: Likewise.
38332 * math/s_clog.c: Likewise.
38333 * math/s_clog10.c: Likewise.
38334 * math/s_clog10f.c: Likewise.
38335 * math/s_clog10l.c: Likewise.
38336 * math/s_clogf.c: Likewise.
38337 * math/s_clogl.c: Likewise.
38338 * math/s_csqrt.c: Likewise.
38339 * math/s_csqrtf.c: Likewise.
38340 * math/s_csqrtl.c: Likewise.
38341 * math/s_ctanf.c: Likewise.
38342 * math/s_ctanh.c: Likewise.
38343 * math/s_ctanhf.c: Likewise.
38344 * math/s_ctanhl.c: Likewise.
38345 * math/s_ctanl.c: Likewise.
38346
bc62c2fb
UD
38347 * math/math_private.h: Define __nan, __nanf, __nanl.
38348 * math/s_cacosh.c: Include <math_private.h>.
38349 * math/s_cacoshl.c: Likewise.
38350 * math/s_casinh.c: Likewise.
38351 * math/s_casinhf.c: Likewise.
38352 * math/s_casinhl.c: Likewise.
38353 * math/s_ccos.c: Rely entire on ccosh.
38354 * math/s_ccosf.c: Rely entire on ccoshf.
38355 * math/s_ccosl.c: Rely entirely on ccoshl.
38356 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38357 Remove tests for FE_INVALID.
38358 * math/s_ccoshf.c: Likewise.
38359 * math/s_ccoshl.c: Likewise.
38360 * math/s_csin.c: Likewise.
38361 * math/s_csinf.c: Likewise.
38362 * math/s_csinh.c Likewise.
38363 * math/s_csinhf.c: Likewise.
38364 * math/s_csinhl.c: Likewise.
38365 * math/s_csinl.c: Likewise.
38366 * math/s_ctan.c: Likewise.
38367 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38368 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38369 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38370
8ec250a4
UD
383712011-10-21 Ulrich Drepper <drepper@gmail.com>
38372
c196fed8
UD
38373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38374 compilation problems.
38375
8ec250a4
UD
38376 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38377 __builtin_expect.
38378
8d4f46c6
UD
383792011-10-20 Ulrich Drepper <drepper@gmail.com>
38380
ed72b654
UD
38381 * sysdeps/i386/configure.in: Test for -mfma4 option.
38382 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38383 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38384 COMMON_CPUID_INDEX_80000001.
38385 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38386 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38387 use it if FMA3 is not supported.
38388 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38389
8d4f46c6
UD
38390 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38391 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38392
d45c60c2
AS
383932011-10-20 Andreas Schwab <schwab@redhat.com>
38394
38395 [BZ #12892]
38396 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38397 it would create a cycle with a link time dependency.
38398
d9a4d2ab
UD
383992011-10-19 Ulrich Drepper <drepper@gmail.com>
38400
855d1560
UD
38401 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38402 instruction.
38403 * string/Makefile (strop-tests): Add rawmemchr.
38404 * string/test-rawmemchr.c: New file.
38405
d9a4d2ab
UD
38406 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38407 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38408 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38409 when compiling str{,n}casecmp and when AVX is available. Hook up
38410 new optimized code in initializers.
38411
8f3b1ffe
AS
384122011-10-19 Andreas Schwab <schwab@redhat.com>
38413
38414 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38415 __feraiseexcept instead of feraiseexcept.
38416
d38f1dba
UD
384172011-10-18 Ulrich Drepper <drepper@gmail.com>
38418
d9a8d0ab
UD
38419 * math/math_private.h: Define defaults for libc_fetestexcept and
38420 libc_feupdateenv.
38421 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38422 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38423 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38424 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38425 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38426 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38427 libc_fetestexcept and libc_feupdateenv.
38428
4855e3dd
UD
38429 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38430 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38431 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38432 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38433 libc_feholdexcept_setround.
38434
581d30e3
UD
38435 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38436 Add s_nearbyint-c and s_nearbyintf-c.
38437 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38438 nearbyintf inlines.
38439 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38440 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38441 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38443
d38f1dba
UD
38444 * math/math_private.h: Define defaults for libc_fegetround,
38445 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38446 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38447 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38448 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38449 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38450 standard functions.
38451 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38452 Remove comments and hacks for old compiler versions.
38453 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38454 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38455 libc_feholdexceptl.
38456
caa6c9d8
AS
384572011-10-18 Andreas Schwab <schwab@redhat.com>
38458
38459 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38460 (__feraiseexcept_renamed): Add __NTH.
38461 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38462 namespace violations.
38463
97c066e6
UD
384642011-10-17 Ulrich Drepper <drepper@gmail.com>
38465
99ce7b04
UD
38466 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38467
1004d182
UD
38468 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38469
228a984d
UD
38470 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38471 recently added interfaces.
38472 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38473
c8553a6a
UD
38474 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38475 about macro parameter expansion.
38476
ed22dcf6
UD
38477 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38478 __NO_MATH_INLINES is defined. Cleanups.
38479
38480 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38481 and __floorf is target has SSE4.1.
38482 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38483 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38484 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38485 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38486
b171c137
UD
38487 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38488 name.
38489 (floorf): Likewise.
38490
97c066e6
UD
38491 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38492
629f62ef
AS
384932011-10-17 Andreas Schwab <schwab@redhat.com>
38494
49a43d80
AS
38495 * misc/sys/cdefs.h: Fix last change.
38496
629f62ef
AS
38497 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38498 database lookup.
38499
e453f6cd
UD
385002011-10-16 Ulrich Drepper <drepper@gmail.com>
38501
aa78043a
UD
38502 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38503
ad0f5cad
UD
38504 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38505 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38506 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38507 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38508 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38509 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38510 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38511 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38512 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38513 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38514 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38515 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38516 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38517 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38518 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38519 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38520 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38521 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38522 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38523 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38524 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38525 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38526
38527 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38528 ceil, ceilf, floor, floorf.
38529
38530 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38531 Perform IRELATIVE relocations last.
38532
e453f6cd
UD
38533 * elf/do-rel.h: Add another parameter nrelative, replacing the
38534 local variable with the same name. Change name of the function
38535 to end in Rel or Rela (uppercase).
38536 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38537 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38538 elf_dynamic_do_##reloc function.
38539
fd5bdc09
UD
385402011-10-15 Ulrich Drepper <drepper@gmail.com>
38541
79b195b5
UD
38542 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38543 is sufficient, at least on modern CPUs.
38544
d4a28569
UD
38545 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38546
b61099b5
UD
38547 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38548 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38549
bcf01e6d
UD
38550 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38551 __expl_finite.
38552 * math/bits/math-finite.h: Add entries for exp.
38553 * math/e_expl.c: Add __*_finite alias.
38554 * sysdeps/i386/fpu/e_exp.S: Likewise.
38555 * sysdeps/i386/fpu/e_expf.S: Likewise.
38556 * sysdeps/i386/fpu/e_expl.c: Likewise.
38557 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38558 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38559 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38561 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38562 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38563 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38564
ba1a0d59
UD
38565 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38566 is sufficient, at least on modern CPUs.
38567
fd5bdc09
UD
38568 * ctype/ctype-info.c (__ctype_init): Define.
38569 * include/ctype.h (__ctype_init): Declare.
38570 (__ctype_b_loc): The variable is always initialized.
38571 (__ctype_toupper_loc): Likewise.
38572 (__ctype_tolower_loc): Likewise.
38573 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38574 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38575
7872cfb0
AS
385762011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38577
b468825a
AS
38578 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38579
7872cfb0
AS
38580 * configure.in: Also look in $cxxmachine/include for C++ system
38581 headers.
38582
be13f7bf
LD
385832011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38584
38585 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38586 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38587 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38588 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38590 (USE_AS_WMEMCMP): New macro.
38591 Fixing indents.
38592 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38593 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38594 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38595 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38597 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38598 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38599 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38600 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38601 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38602 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38603 (USE_AS_WMEMCMP): New macro.
38604 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38605 * sysdeps/string/test-memcmp.c: Update.
38606 Fix simple_wmemcmp.
38607 Add new tests.
38608 * wcsmbs/wmemcmp.c: Update.
38609 (WMEMCMP): New macro.
38610 Fix overflow bug.
38611
556a2007
AJ
386122011-10-12 Andreas Jaeger <aj@suse.de>
38613
38614 [BZ #13268]
38615 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38616
538faaa7
UD
386172011-10-15 Ulrich Drepper <drepper@gmail.com>
38618
ab6737ff
UD
38619 * libio/iofwide.c (do_length): Avoid warning.
38620
538faaa7
UD
38621 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38622
396a21b1
UD
386232011-10-14 Ulrich Drepper <drepper@gmail.com>
38624
cdf2901f
UD
38625 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38626
38ad40ce
UD
38627 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38628 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38629 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38630 * sysdeps/i386/i686/fpu/e_log.S: New file.
38631 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38632 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38633
396a21b1
UD
38634 * ctype/ctype.h: Add support for inlined isXXX functions when
38635 compiling C++ code.
38636
6b1f68c9
AS
386372011-10-14 Andreas Schwab <schwab@redhat.com>
38638
349290c0
AS
38639 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38640
6b1f68c9
AS
38641 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38642
f2282d42
RM
386432011-10-13 Roland McGrath <roland@hack.frob.com>
38644
38645 [BZ #13291]
38646 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38647
5298ffa8
AS
386482011-10-13 Andreas Schwab <schwab@redhat.com>
38649
714fad23
AS
38650 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38651 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38652 feraiseexcept.
38653
81dcc7fb
AS
38654 * sysdeps/x86_64/memrchr.S: Check for zero size.
38655
5298ffa8
AS
38656 * string/stratcliff.c: Add memrchr tests.
38657
951fbcec
LD
386582011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38659
38660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38661 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38662 rawmemchr-sse2 rawmemchr-sse2-bsf.
38663 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38664 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38665 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38666 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38667 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38668 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38669 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38670 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38671 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38672 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38673 * string/memrchr.c (MEMRCHR): New macro.
38674
0ac5ae23
UD
386752011-10-12 Ulrich Drepper <drepper@gmail.com>
38676
38677 Add integration with gcc's -ffinite-math-only and optimize wrapper
38678 functions in libm.
38679 * Versions.def: Define GLIBC_2.15 version for libm.
38680 * math/Makefile (headers): Add bits/math-finite.h.
38681 * math/bits/math-finite.h: New file.
38682 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38683 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38684 * math/e_acoshl.c: Add __*_finite alias.
38685 * math/e_acosl.c: Likewise.
38686 * math/e_asinl.c: Likewise.
38687 * math/e_atan2l.c: Likewise.
38688 * math/e_atanhl.c: Likewise.
38689 * math/e_coshl.c: Likewise.
38690 * math/e_exp10.c: Likewise.
38691 * math/e_exp10f.c: Likewise.
38692 * math/e_exp10l.c: Likewise.
38693 * math/e_exp2l.c: Likewise.
38694 * math/e_fmodl.c: Likewise.
38695 * math/e_gammal_r.c: Likewise.
38696 * math/e_hypotl.c: Likewise.
38697 * math/e_j0l.c: Likewise.
38698 * math/e_j1l.c: Likewise.
38699 * math/e_jnl.c: Likewise.
38700 * math/e_lgammal_r.c: Likewise.
38701 * math/e_log10l.c: Likewise.
38702 * math/e_log2l.c: Likewise.
38703 * math/e_logl.c: Likewise.
38704 * math/e_powl.c: Likewise.
38705 * math/e_sinhl.c: Likewise.
38706 * math/e_sqrtl.c: Likewise.
38707 * math/e_scalb.c: Completely rewritten and optimized.
38708 * math/e_scalbf.c: Likewise.
38709 * math/e_scalbl.c: Likewise.
38710 * math/w_acos.c: Likewise.
38711 * math/w_acosf.c: Likewise.
38712 * math/w_acosl.c: Likewise.
38713 * math/w_acosh.c: Likewise.
38714 * math/w_acoshf.c: Likewise.
38715 * math/w_acoshl.c: Likewise.
38716 * math/w_asin.c: Likewise.
38717 * math/w_asinf.c: Likewise.
38718 * math/w_asinl.c: Likewise.
38719 * math/w_atan2.c: Likewise.
38720 * math/w_atan2f.c: Likewise.
38721 * math/w_atan2l.c: Likewise.
38722 * math/w_atanh.c: Likewise.
38723 * math/w_atanhf.c: Likewise.
38724 * math/w_atanhl.c: Likewise.
38725 * math/w_exp10.c: Likewise.
38726 * math/w_exp10f.c: Likewise.
38727 * math/w_exp10l.c: Likewise.
38728 * math/w_fmod.c: Likewise.
38729 * math/w_fmodf.c: Likewise.
38730 * math/w_fmodl.c: Likewise.
38731 * math/w_j0.c: Likewise.
38732 * math/w_j0f.c: Likewise.
38733 * math/w_j0l.c: Likewise.
38734 * math/w_j1.c: Likewise.
38735 * math/w_j1f.c: Likewise.
38736 * math/w_j1l.c: Likewise.
38737 * math/w_jn.c: Likewise.
38738 * math/w_jnf.c: Likewise.
38739 * math/w_log.c: Likewise.
38740 * math/w_logf.c: Likewise.
38741 * math/w_logl.c: Likewise.
38742 * math/w_log10.c: Likewise.
38743 * math/w_log10f.c: Likewise.
38744 * math/w_log10l.c: Likewise.
38745 * math/w_log2.c: Likewise.
38746 * math/w_log2f.c: Likewise.
38747 * math/w_log2l.c: Likewise.
38748 * math/w_pow.c: Likewise.
38749 * math/w_powf.c: Likewise.
38750 * math/w_powl.c: Likewise.
38751 * math/w_remainder.c: Likewise.
38752 * math/w_remainderf.c: Likewise.
38753 * math/w_remainderl.c: Likewise.
38754 * math/w_scalb.c: Likewise.
38755 * math/w_scalbf.c: Likewise.
38756 * math/w_scalbl.c: Likewise.
38757 * math/w_sqrt.c: Likewise.
38758 * math/w_sqrtf.c: Likewise.
38759 * math/w_sqrtl.c: Likewise.
38760 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38761 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38762 used.
38763 * math/math_private.h: Declare __kernel_standard_f.
38764 * math/w_cosh.c: Remove cruft and optimize a bit.
38765 * math/w_coshf.c: Likewise.
38766 * math/w_coshl.c: Likewise.
38767 * math/w_exp2.c: Likewise.
38768 * math/w_exp2f.c: Likewise.
38769 * math/w_exp2l.c: Likewise.
38770 * math/w_hypot.c: Likewise.
38771 * math/w_hypotf.c: Likewise.
38772 * math/w_hypotl.c: Likewise.
38773 * math/w_lgamma.c: Likewise.
38774 * math/w_lgamma_r.c: Likewise.
38775 * math/w_lgammaf.c: Likewise.
38776 * math/w_lgammaf_r.c: Likewise.
38777 * math/w_lgammal.c: Likewise.
38778 * math/w_lgammal_r.c: Likewise.
38779 * math/w_sinh.c: Likewise.
38780 * math/w_sinhf.c: Likewise.
38781 * math/w_sinhl.c: Likewise.
38782 * math/w_tgamma.c: Likewise.
38783 * math/w_tgammaf.c: Likewise.
38784 * math/w_tgammal.c: Likewise.
38785 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38787 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38788 Minor optimizations. Pretty printing. Remove cruft.
38789 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38790 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38791 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38792 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38793 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38794 * sysdeps/i386/fpu/e_asin.S: Likewise.
38795 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38796 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38797 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38798 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38799 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38800 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38801 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38802 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38803 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38804 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38805 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38806 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38807 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38808 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38809 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38810 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38811 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38812 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38813 * sysdeps/i386/fpu/e_log.S: Likewise.
38814 * sysdeps/i386/fpu/e_log10.S: Likewise.
38815 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38816 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38817 * sysdeps/i386/fpu/e_log2.S: Likewise.
38818 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38819 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38820 * sysdeps/i386/fpu/e_logf.S: Likewise.
38821 * sysdeps/i386/fpu/e_logl.S: Likewise.
38822 * sysdeps/i386/fpu/e_pow.S: Likewise.
38823 * sysdeps/i386/fpu/e_powf.S: Likewise.
38824 * sysdeps/i386/fpu/e_powl.S: Likewise.
38825 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38826 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38827 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38828 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38829 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38830 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38831 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38832 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38833 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38834 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38835 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38837 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38838 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38839 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38840 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38848 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38850 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38851 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38854 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38855 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38856 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38857 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38858 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38859 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38860 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38861 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38862 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38863 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38864 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38865 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38866 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38867 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38868 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38869 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38870 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38871 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38872 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38873 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38874 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38875 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38876 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38877 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38879 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38880 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38881 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38882 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38883 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38884 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38885 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38886 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38889 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38890 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38891 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38896 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38898 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38899 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38905 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38906 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38910 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38914 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38917 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38919 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38922 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38923 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38925 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38926 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38927 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38928 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38929 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38930 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38931 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38932 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38933 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38934 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38935 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38936 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38937 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38938 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38939 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38940 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38941 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38942 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38943 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38944 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38945 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38946 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38947 (__isnanf): Likewise.
38948 (__isinf_ns): Likewise.
38949 (__isinf_nsf): Likewise.
38950 (__finite): Likewise.
38951 (__finitef): Likewise.
38952 (__ieee754_sqrt): Define as macro.
38953 (__ieee754_sqrtf): Define as macro.
38954 (__ieee754_sqrtl): Define as macro.
38955 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38956 inlined copy.
38957 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38958 __FINITE_MATH_ONLY__ consistent.
38959 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38960
12cc2fcd
AS
389612011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38962
a843a204
AS
38963 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38964 of rawmemchr.
38965
12cc2fcd
AS
38966 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38967
c853acd5
UD
389682011-10-09 Ulrich Drepper <drepper@gmail.com>
38969
38970 * po/ja.po: Update from translation team.
38971
c658d255
RM
389722011-10-08 Roland McGrath <roland@hack.frob.com>
38973
110946e4
RM
38974 * locale/programs/locarchive.c (prepare_address_space): New function.
38975 (create_archive, enlarge_archive, open_archive): Use it.
38976
50604220
RM
38977 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38978 inside [SHARED], where it is used.
38979
c658d255
RM
38980 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38981
38982 * nss/getent.c (netgroup_keys): Remove unused variable.
38983 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38984
6a621eb7
UD
389852011-10-08 Ulrich Drepper <drepper@gmail.com>
38986
7edb55ce
UD
38987 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38988 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38989 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38990 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38991 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38992 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38993 * math/Makefile (libm-calls): Add s_isinf_ns.
38994 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38995 * math/multc3.c: Likewise.
38996 * math/s_casin.c: Likewise.
38997 * math/s_casinf.c: Likewise.
38998 * math/s_casinl.c: Likewise.
38999 * math/s_ccos.c: Likewise.
39000 * math/s_ccosf.c: Likewise.
39001 * math/s_ccosl.c: Likewise.
39002 * math/s_ctan.c: Likewise.
39003 * math/s_ctanf.c: Likewise.
39004 * math/s_ctanh.c: Likewise.
39005 * math/s_ctanhf.c: Likewise.
39006 * math/s_ctanhl.c: Likewise.
39007 * math/s_ctanl.c: Likewise.
39008 * math/w_fmod.c: Likewise.
39009 * math/w_fmodf.c: Likewise.
39010 * math/w_fmodl.c: Likewise.
39011 * math/w_remainder.c: Likewise.
39012 * math/w_remainderf.c: Likewise.
39013 * math/w_remainderl.c: Likewise.
39014 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39015 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39018 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39019 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39020 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39021 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39022
187da0ae
UD
39023 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39024 of the number.
39025 * stdio-common/printf_fphex.c: Likewise.
39026 * stdio-common/printf_size.c: Likewise.
39027
9277c064
UD
39028 * math/e_exp10.c: Include math_private.h using <...> not "...".
39029 * math/e_exp10f.c: Likewise.
39030 * math/e_exp10l.c: Likewise.
39031 * math/e_exp2l.c: Likewise.
39032 * math/e_j0l.c: Likewise.
39033 * math/e_j1l.c: Likewise.
39034 * math/e_jnl.c: Likewise.
39035 * math/e_lgammal_r.c: Likewise.
39036 * math/e_rem_pio2l.c: Likewise.
39037 * math/e_scalb.c: Likewise.
39038 * math/e_scalbf.c: Likewise.
39039 * math/e_scalbl.c: Likewise.
39040 * math/k_cosl.c: Likewise.
39041 * math/k_sinl.c: Likewise.
39042 * math/k_tanl.c: Likewise.
39043 * math/s_cacoshf.c: Likewise.
39044 * math/s_catan.c: Likewise.
39045 * math/s_catanf.c: Likewise.
39046 * math/s_catanh.c: Likewise.
39047 * math/s_catanhf.c: Likewise.
39048 * math/s_catanhl.c: Likewise.
39049 * math/s_catanl.c: Likewise.
39050 * math/s_ccosh.c: Likewise.
39051 * math/s_ccoshf.c: Likewise.
39052 * math/s_ccoshl.c: Likewise.
39053 * math/s_cexp.c: Likewise.
39054 * math/s_cexpf.c: Likewise.
39055 * math/s_cexpl.c: Likewise.
39056 * math/s_clog.c: Likewise.
39057 * math/s_clog10.c: Likewise.
39058 * math/s_clog10f.c: Likewise.
39059 * math/s_clog10l.c: Likewise.
39060 * math/s_clogf.c: Likewise.
39061 * math/s_clogl.c: Likewise.
39062 * math/s_csin.c: Likewise.
39063 * math/s_csinf.c: Likewise.
39064 * math/s_csinh.c: Likewise.
39065 * math/s_csinhf.c: Likewise.
39066 * math/s_csinhl.c: Likewise.
39067 * math/s_csinl.c: Likewise.
39068 * math/s_csqrt.c: Likewise.
39069 * math/s_csqrtf.c: Likewise.
39070 * math/s_csqrtl.c: Likewise.
39071 * math/s_ctan.c: Likewise.
39072 * math/s_ctanf.c: Likewise.
39073 * math/s_ctanh.c: Likewise.
39074 * math/s_ctanhf.c: Likewise.
39075 * math/s_ctanhl.c: Likewise.
39076 * math/s_ctanl.c: Likewise.
39077 * math/s_ldexp.c: Likewise.
39078 * math/s_ldexpf.c: Likewise.
39079 * math/s_ldexpl.c: Likewise.
39080 * math/s_significand.c: Likewise.
39081 * math/s_significandf.c: Likewise.
39082 * math/s_significandl.c: Likewise.
39083 * math/w_acos.c: Likewise.
39084 * math/w_acosf.c: Likewise.
39085 * math/w_acosh.c: Likewise.
39086 * math/w_acoshf.c: Likewise.
39087 * math/w_acoshl.c: Likewise.
39088 * math/w_acosl.c: Likewise.
39089 * math/w_asin.c: Likewise.
39090 * math/w_asinf.c: Likewise.
39091 * math/w_asinl.c: Likewise.
39092 * math/w_atan2.c: Likewise.
39093 * math/w_atan2f.c: Likewise.
39094 * math/w_atan2l.c: Likewise.
39095 * math/w_atanh.c: Likewise.
39096 * math/w_atanhf.c: Likewise.
39097 * math/w_atanhl.c: Likewise.
39098 * math/w_cosh.c: Likewise.
39099 * math/w_coshf.c: Likewise.
39100 * math/w_coshl.c: Likewise.
39101 * math/w_dremf.c: Likewise.
39102 * math/w_exp10.c: Likewise.
39103 * math/w_exp10f.c: Likewise.
39104 * math/w_exp10l.c: Likewise.
39105 * math/w_exp2.c: Likewise.
39106 * math/w_exp2f.c: Likewise.
39107 * math/w_fmod.c: Likewise.
39108 * math/w_fmodf.c: Likewise.
39109 * math/w_fmodl.c: Likewise.
39110 * math/w_hypot.c: Likewise.
39111 * math/w_hypotf.c: Likewise.
39112 * math/w_hypotl.c: Likewise.
39113 * math/w_j0.c: Likewise.
39114 * math/w_j0f.c: Likewise.
39115 * math/w_j0l.c: Likewise.
39116 * math/w_j1.c: Likewise.
39117 * math/w_j1f.c: Likewise.
39118 * math/w_j1l.c: Likewise.
39119 * math/w_jn.c: Likewise.
39120 * math/w_jnf.c: Likewise.
39121 * math/w_jnl.c: Likewise.
39122 * math/w_lgamma.c: Likewise.
39123 * math/w_lgamma_r.c: Likewise.
39124 * math/w_lgammaf.c: Likewise.
39125 * math/w_lgammaf_r.c: Likewise.
39126 * math/w_lgammal.c: Likewise.
39127 * math/w_lgammal_r.c: Likewise.
39128 * math/w_log.c: Likewise.
39129 * math/w_log10.c: Likewise.
39130 * math/w_log10f.c: Likewise.
39131 * math/w_log10l.c: Likewise.
39132 * math/w_log2.c: Likewise.
39133 * math/w_log2f.c: Likewise.
39134 * math/w_log2l.c: Likewise.
39135 * math/w_logf.c: Likewise.
39136 * math/w_logl.c: Likewise.
39137 * math/w_pow.c: Likewise.
39138 * math/w_powf.c: Likewise.
39139 * math/w_powl.c: Likewise.
39140 * math/w_remainder.c: Likewise.
39141 * math/w_remainderf.c: Likewise.
39142 * math/w_remainderl.c: Likewise.
39143 * math/w_scalb.c: Likewise.
39144 * math/w_scalbf.c: Likewise.
39145 * math/w_scalbl.c: Likewise.
39146 * math/w_sinh.c: Likewise.
39147 * math/w_sinhf.c: Likewise.
39148 * math/w_sinhl.c: Likewise.
39149 * math/w_sqrt.c: Likewise.
39150 * math/w_sqrtf.c: Likewise.
39151 * math/w_sqrtl.c: Likewise.
39152 * math/w_tgamma.c: Likewise.
39153 * math/w_tgammaf.c: Likewise.
39154 * math/w_tgammal.c: Likewise.
39155
6a621eb7
UD
39156 * po/ja.po: Update from translation team.
39157
bf582445
AJ
391582011-09-29 Andreas Jaeger <aj@suse.de>
39159
f9efbf3a
AJ
39160 [BZ #13179]
39161 * sunrpc/netname.c (netname2host): Fix logic.
39162
bf582445
AJ
39163 [BZ #6779]
39164 [BZ #6783]
39165 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39166 correctly.
39167 * math/w_remainder.c (__remainder): Likewise.
39168 * math/w_remainderf.c (__remainderf): Likewise.
39169 * math/libm-test.inc (remainder_test): Add test cases.
39170
48693bea
AK
391712011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39172
39173 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39174 sdiv_qrnnd.
39175
42622229
LD
391762011-10-07 Ulrich Drepper <drepper@gmail.com>
39177
39178 * string/test-memcmp.c: Avoid unncessary #defines.
39179 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39180
093ecf92
LD
391812011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39182
39183 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39184 Use new sse2 version for core i3 - i7 as it's faster
39185 than sse42 version.
39186 (bit_Prefer_PMINUB_for_stringop): New.
39187 * sysdeps/x86_64/rawmemchr.S: Update.
39188 Replace with faster SSE2 version.
39189 * sysdeps/x86_64/memrchr.S: New file.
39190 * sysdeps/x86_64/memchr.S: Update.
39191 Replace with faster SSE2 version.
39192
fde56e5c
MP
391932011-09-12 Marek Polacek <mpolacek@redhat.com>
39194
39195 * elf/dl-load.c (lose): Add cast to avoid warning.
39196
21fd49a9
UD
391972011-10-07 Ulrich Drepper <drepper@gmail.com>
39198
5a06e643
UD
39199 * po/ca.po: Update from translation team.
39200
684ae515
UD
39201 * inet/getnetgrent_r.c: Hook up nscd.
39202 * nscd/Makefile (routines): Add nscd_netgroup.
39203 (nscd-modules): Add netgroupcache.
39204 (CFLAGS-netgroupcache.c): Define.
39205 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39206 (cache_search): Add const to second parameter.
39207 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39208 INNETGR.
39209 (dbs): Add netgrdb entry.
39210 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39211 (verify_persistent_db): Handle netgrdb.
39212 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39213 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39214 GETFDNETGR.
39215 (netgroup_response_header): Define.
39216 (innetgroup_response_header): Define.
39217 (datahead): Add netgroup_response_header and innetgroup_response_header
39218 elements.
39219 * nscd/nscd.conf: Add entries for netgroup cache.
39220 * nscd/nscd.h (dbtype): Add netgrdb.
39221 (_PATH_NSCD_NETGROUP_DB): Define.
39222 (netgroup_iov_disabled): Declare.
39223 (xmalloc, xcalloc, xrealloc): Move declarations here.
39224 (cache_search): Adjust prototype.
39225 Add netgroup-related prototypes.
39226 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39227 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39228 (__nscd_innetgr): Declare.
39229 * nscd/selinux.c (perms): Use access_vector_t as element type and
39230 add netgroup-related initializers.
39231 * nscd/netgroupcache.c: New file.
39232 * nscd/nscd_netgroup.c: New file.
39233 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39234 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39235 For four parameters use innetgr.
39236 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39237 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39238 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39239 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39240
21fd49a9
UD
39241 * nscd/connections.c (register_traced_file): Don't register file
39242 for disabled databases.
39243
054c0457
UD
392442011-10-06 Ulrich Drepper <drepper@gmail.com>
39245
32b63198
UD
39246 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39247
054c0457
UD
39248 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39249 from tree and freeing node.
39250
64031225
JO
392512011-09-25 Jiri Olsa <jolsa@redhat.com>
39252
39253 * nss/nsswitch.c (__nss_database_lookup): Handle
39254 nss_parse_service_list out of memory case.
39255
0490345c
JO
392562011-09-15 Jiri Olsa <jolsa@redhat.com>
39257
39258 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39259 out of memory case.
39260
3a62d00d
AS
392612011-10-04 Andreas Schwab <schwab@redhat.com>
39262
39263 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39264 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39265 pass it down.
39266 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39267 elf_machine_rela, elf_machine_lazy_rel.
39268 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39269 (ELF_DYNAMIC_DO_REL): Likewise.
39270 (ELF_DYNAMIC_DO_RELA): Likewise.
39271 (ELF_DYNAMIC_RELOCATE): Likewise.
39272 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39273 to ELF_DYNAMIC_DO_REL.
39274 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39275 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39276 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39277 elf_machine_rela.
39278 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39279 skip_ifunc, don't call ifunc function if non-zero.
39280 (elf_machine_rela): Likewise.
39281 (elf_machine_lazy_rel): Likewise.
39282 (elf_machine_lazy_rela): Likewise.
39283 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39284 (elf_machine_lazy_rel): Likewise.
39285 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39286 Likewise.
39287 (elf_machine_lazy_rel): Likewise.
39288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39289 Likewise.
39290 (elf_machine_lazy_rel): Likewise.
39291 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39292 (elf_machine_lazy_rel): Likewise.
39293 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39294 (elf_machine_lazy_rel): Likewise.
39295 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39296 (elf_machine_lazy_rel): Likewise.
39297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39298 (elf_machine_lazy_rel): Likewise.
39299 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39300 (elf_machine_lazy_rel): Likewise.
39301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39302 (elf_machine_lazy_rel): Likewise.
39303
68577918
UD
393042011-09-28 Ulrich Drepper <drepper@gmail.com>
39305
39306 * nss/nss_files/files-init.c (_nss_files_init): Use static
39307 initialization for all the *_traced_file variables.
39308
68822d74
AS
393092011-09-28 Andreas Schwab <schwab@redhat.com>
39310
39311 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39312
2056100b
RM
393132011-09-27 Roland McGrath <roland@hack.frob.com>
39314
39315 [BZ #13226]
39316 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39317
32c76b63
AS
393182011-09-27 Andreas Schwab <schwab@redhat.com>
39319
39320 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39321 Reread the line before reparsing it.
39322
bf972c9d
AS
393232011-09-26 Andreas Schwab <schwab@redhat.com>
39324
39325 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39326
e057a1b5
JM
393272011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39328 Maxim Kuvyrkov <maxim@codesourcery.com>
39329 Joseph Myers <joseph@codesourcery.com>
39330
39331 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39332 if needed for __stack_chk_guard.
39333
bc7e1c36
RM
393342011-09-19 Roland McGrath <roland@hack.frob.com>
39335
ecb1482f
RM
39336 * sysdeps/posix/spawni.c (script_execute): Always define it.
39337 It will be optimized away if unused.
39338 (maybe_script_execute): New function.
39339 (__spawni): Call it.
39340
bc7e1c36
RM
39341 * Makerules: Don't include tls.make.
39342 (config-tls): Always set to thread.
39343 * tls.make.c: File removed.
39344
1c3b002b
MF
393452011-09-19 Mike Frysinger <vapier@gentoo.org>
39346
39347 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39348 * config.make.in (CPPFLAGS-config): New substituted variable.
39349
2840865d
UD
393502011-09-15 Ulrich Drepper <drepper@gmail.com>
39351
88738eb6
UD
39352 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39353
cbf645a6 39354 [BZ #13192]
2840865d
UD
39355 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39356 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39357
b402e91a
RM
393582011-09-15 Roland McGrath <roland@hack.frob.com>
39359
39360 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39361 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39362 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39363 (CALL_FAIL): Likewise.
39364 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39365 (CALL_FAIL): Macro removed.
39366 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39367
4c1a1f71
UD
393682011-09-15 Ulrich Drepper <drepper@gmail.com>
39369
39370 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39371 for __FINITE_MATH_ONLY__ == 1.
39372
edc121be
AS
393732011-09-15 Andreas Schwab <schwab@redhat.com>
39374
39375 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39376 __ieee754_sqrt instead of sqrt.
39377 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39378 __ieee754_sqrtf instead of sqrtf.
39379 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39380 __floorf instead of floorf.
39381 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39382 __floorf, __truncf instead of floorf, truncf.
39383
cd205654
UD
393842011-09-14 Ulrich Drepper <drepper@gmail.com>
39385
ee4d0315
UD
39386 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39387
cd205654
UD
39388 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39389 __extern_always_inline.
39390 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39391 32-bit.
39392
48b67d71
AS
393932011-09-14 Andreas Schwab <schwab@redhat.com>
39394
39395 * elf/rtld.c (dl_main): Also relocate in dependency order when
39396 doing symbol dependency testing.
39397
1ae12c75
AS
393982011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39399
39400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39401 Always define `refsym'.
39402
995a80df
AS
394032011-09-13 Andreas Schwab <schwab@redhat.com>
39404
e529793b
AS
39405 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39406 (__FD_ELT): Renamed from __FDELT.
39407 * misc/bits/select2.h (__FD_ELT): Likewise.
39408 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39409 __FD_MASK instead of __FDELT, __FDMASK.
39410 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39411 Likewise.
39412 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39413 Likewise.
39414
52d4fef8
AS
39415 * elf/Makefile (gen-ldd): Fix pattern.
39416
995a80df
AS
39417 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39418 (init_tls): Likewise.
39419
8682f8b0
UD
394202011-09-12 Ulrich Drepper <drepper@gmail.com>
39421
39422 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39423
de82006d
AS
394242011-09-12 Andreas Schwab <schwab@redhat.com>
39425
a7c8e6a1
AS
39426 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39427 `struct cmsghdr *' instead of `void *'.
39428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39429 Likewise.
39430
0f31fe77
AS
394312011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39432
39433 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39434 if non-absolute.
39435 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39436 ldd_rewrite_script.
0f31fe77 39437
32b4c839
UD
394382011-09-11 Ulrich Drepper <drepper@gmail.com>
39439
83cd1420
UD
39440 * configure.in: Remove --with-tls option.
39441 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39442 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39443 out in case it is missing.
39444 * sysdeps/ia64/elf/configure.in: Likewise.
39445 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39446 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39447 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39448 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39449 * sysdeps/sh/elf/configure.in: Likewise.
39450 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39451 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39452 * sysdeps/x86_64/elf/configure.in: Likewise.
39453 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39454 * sysdeps/mach/hurd/tls.h: Likewise.
39455
633f745d
UD
39456 [BZ #13067]
39457 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39458
f318beb8
UD
39459 [BZ #13090]
39460 * configure.in: Fix use of AC_INIT.
39461
32b4c839
UD
39462 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39463
3ce1f295
UD
394642011-09-10 Ulrich Drepper <drepper@gmail.com>
39465
bb016596
UD
39466 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39467 __set_errno.
8e58439c
UD
39468 * malloc/hooks.c: Likewise.
39469
aebae053 39470 [BZ #11929]
02d46fc4
UD
39471 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39472 variables statically.
39473 (narenas): Initialize.
39474 (list_lock): Initialize.
bb016596
UD
39475 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39476 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39477 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39478 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39479 Add initializers to main_arena and mp_.
39480 (malloc_state): Remove pagesize member. Change all users to use
39481 GLRO(dl_pagesize).
39482
39483 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39484 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39485 is always initialized.
39486
22a89187
UD
39487 * malloc/malloc.c: Removed unused configurations and dead code.
39488 * malloc/arena.c: Likewise.
39489 * malloc/hooks.c: Likewise.
02d46fc4 39490 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39491
d063d164
UD
39492 * include/tls.h: Removed. USE___THREAD must always be defined.
39493 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39494 * elf/dl-libc.c: Likewise.
39495 * elf/dl-tsd.c: Likewise.
39496 * include/errno.h: Likewise.
39497 * include/netdb.h: Likewise.
39498 * include/resolv.h: Likewise.
39499 * inet/herrno-loc.c: Likewise.
39500 * inet/herrno.c: Likewise.
39501 * malloc/arena.c: Likewise.
39502 * malloc/hooks.c: Likewise.
39503 * malloc/malloc.c: Likewise.
39504 * resolv/res-state.c: Likewise.
39505 * resolv/res_libc.c: Likewise.
39506 * sysdeps/i386/dl-machine.h: Likewise.
39507 * sysdeps/ia64/dl-machine.h: Likewise.
39508 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39509 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39510 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39511 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39512 * sysdeps/sh/dl-machine.h: Likewise.
39513 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39514 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39515 * sysdeps/unix/i386/sysdep.S: Likewise.
39516 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39517 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39518 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39519 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39520 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39522 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39524 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39526 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39527 * sysdeps/x86_64/dl-machine.h: Likewise.
39528 * tls.make.c: Likewise.
39529
3ce1f295
UD
39530 * configure.in: Remove --with-__thread option. Make tests for
39531 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39532 tls_model attribute fail if no support is available. Remove
39533 USE_IN_LIBIO.
39534 * Makeconfig: Adjust for dropped configure option. All features are
39535 now mandatory.
39536 * Makerules: Likewise.
39537 * Versions.def: Likewise.
39538 * argp/argp-fmtstream.c: Likewise.
39539 * argp/argp-fmtstream.h: Likewise.
39540 * argp/argp-help.c: Likewise.
39541 * assert/assert.c: Likewise.
39542 * config.h.in: Likewise.
39543 * config.make.in: Likewise.
39544 * configure: Likewise.
39545 * configure.in: Likewise.
39546 * csu/Versions: Likewise.
39547 * csu/init.c: Likewise.
39548 * elf/tst-audit2.c: Likewise.
39549 * elf/tst-tls10.c: Likewise.
39550 * elf/tst-tls10.h: Likewise.
39551 * elf/tst-tls11.c: Likewise.
39552 * elf/tst-tls12.c: Likewise.
39553 * elf/tst-tls14.c: Likewise.
39554 * elf/tst-tlsmod11.c: Likewise.
39555 * elf/tst-tlsmod12.c: Likewise.
39556 * elf/tst-tlsmod13.c: Likewise.
39557 * elf/tst-tlsmod13a.c: Likewise.
39558 * elf/tst-tlsmod14a.c: Likewise.
39559 * elf/tst-tlsmod15b.c: Likewise.
39560 * elf/tst-tlsmod16a.c: Likewise.
39561 * elf/tst-tlsmod16b.c: Likewise.
39562 * elf/tst-tlsmod7.c: Likewise.
39563 * elf/tst-tlsmod8.c: Likewise.
39564 * elf/tst-tlsmod9.c: Likewise.
39565 * gmon/gmon.c: Likewise.
39566 * grp/fgetgrent_r.c: Likewise.
39567 * grp/putgrent.c: Likewise.
39568 * hurd/fopenport.c: Likewise.
39569 * include/libc-symbols.h: Likewise.
39570 * include/tls.h: Likewise.
39571 * intl/gettextP.h: Likewise.
39572 * intl/loadinfo.h: Likewise.
39573 * locale/global-locale.c: Likewise.
39574 * locale/localeinfo.h: Likewise.
39575 * mach/devstream.c: Likewise.
39576 * malloc/arena.c: Likewise.
39577 * malloc/set-freeres.c: Likewise.
39578 * misc/err.c: Likewise.
39579 * misc/getttyent.c: Likewise.
39580 * misc/mntent_r.c: Likewise.
39581 * posix/getopt.c: Likewise.
39582 * posix/wordexp.c: Likewise.
39583 * pwd/fgetpwent_r.c: Likewise.
39584 * resolv/Versions: Likewise.
39585 * resolv/res_hconf.c: Likewise.
39586 * shadow/fgetspent_r.c: Likewise.
39587 * shadow/putspent.c: Likewise.
39588 * stdio-common/printf_fphex.c: Likewise.
39589 * stdio-common/tmpfile.c: Likewise.
39590 * stdlib/abort.c: Likewise.
39591 * stdlib/fmtmsg.c: Likewise.
39592 * sunrpc/auth_unix.c: Likewise.
39593 * sunrpc/clnt_perr.c: Likewise.
39594 * sunrpc/clnt_tcp.c: Likewise.
39595 * sunrpc/clnt_udp.c: Likewise.
39596 * sunrpc/clnt_unix.c: Likewise.
39597 * sunrpc/openchild.c: Likewise.
39598 * sunrpc/svc_simple.c: Likewise.
39599 * sunrpc/svc_tcp.c: Likewise.
39600 * sunrpc/svc_udp.c: Likewise.
39601 * sunrpc/svc_unix.c: Likewise.
39602 * sunrpc/xdr.c: Likewise.
39603 * sunrpc/xdr_array.c: Likewise.
39604 * sunrpc/xdr_rec.c: Likewise.
39605 * sunrpc/xdr_ref.c: Likewise.
39606 * sunrpc/xdr_stdio.c: Likewise.
39607
1248c1c4
PB
396082011-09-09 Ulrich Drepper <drepper@gmail.com>
39609
39610 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39611
396122011-07-03 Andreas Jaeger <aj@suse.de>
39613
39614 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39615 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39616 regenerate with gen-libm-tests.pl.
39617
396182010-05-12 Petr Baudis <pasky@suse.cz>
39619
39620 [BZ #11589]
39621 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39622 around j0() zero points by switching to j1().
39623 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39624 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39626 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39627
f22e1074
UD
396282011-09-09 Ulrich Drepper <drepper@gmail.com>
39629
f19009c1
UD
39630 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39631 instead of 0.
39632 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39633 instead of 0.
f19009c1
UD
39634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39635 Patch in part by Pavel Roskin <proski@gnu.org>.
39636
3f8cc204
UD
39637 [BZ #13138]
39638 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39639 realloc.
39640 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39641 Free memory block if necessary.
39642
f22e1074
UD
39643 [BZ #12847]
39644 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39645 be NULL. Don't lock in this case.
39646
0a2349f9
RM
396472011-09-09 Roland McGrath <roland@hack.frob.com>
39648
39649 * elf/elf.h (ELFOSABI_GNU): New macro.
39650 (ELFOSABI_LINUX): Define to that.
39651
f3cdd467
DZ
396522011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39653
39654 * string/strncat.c (strncat): Undef the symbol in case it has been
39655 defined in bits/string.h.
39656
74718d13
UD
396572011-09-09 Ulrich Drepper <drepper@gmail.com>
39658
633e9e0f
UD
39659 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39660
0a2349f9 39661 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39662 link map.
39663
f9924780
AJ
396642011-08-17 Andreas Jaeger <aj@suse.de>
39665
39666 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39667
7f5517aa
PP
396682011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39669 Ian Lance Taylor <iant@google.com>
39670
39671 * math/libm-test.inc (lround_test): New testcase.
39672 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39673
762011fe
UD
396742011-09-08 Ulrich Drepper <drepper@gmail.com>
39675
92963737
UD
39676 * Makefile: Remove support for automatic cvs check-ins.
39677 * Makerules: Likewise.
39678 * config.make.in: Likewise.
39679 * configure.in: Likewise.
39680 * intl/Makefile: Likewise.
39681 * locale/Makefile: Likewise.
39682 * po/Makefile: Likewise.
39683 * posix/Makefile: Likewise.
39684 * sysdeps/gnu/Makefile: Likewise.
39685 * sysdeps/mach/hurd/Makefile: Likewise.
39686 * sysdeps/sparc/sparc32/Makefile: Likewise.
39687
b0727fd8
JS
39688 [BZ #13118]
39689 * posix/Makefile (bug-regex32-ENV): Define.
39690 Patch by John Stanley <jpsinthemix@verizon.net>.
39691
a0f33f99
UD
39692 * misc/Makefile (headers): Add bits/select2.h.
39693 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39694 * misc/bits/select2.h: New file.
39695 * include/bits/select2.h: New file.
39696 * debug/Makefile (routines): Add fdelt_chk.
39697 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39698 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39699 FD_ISSET.
39700 * debug/fdelt_chk.c: New file.
39701
762011fe
UD
39702 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39703 * wcsmbs/test-wmemcmp.c: Likewise.
39704 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39705 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39706
397072011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39708
39709 * string/Makefile (strop-tests): Add memcmp.
39710 * string/test-wmemcmp.c: New file.
39711 * string/test-memcmp.c: Add wmemcmp support.
39712
7f513ec8
RM
397132011-09-08 Roland McGrath <roland@hack.frob.com>
39714
0442afb4
RM
39715 [BZ #13153]
39716 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39717 2011-07-19 change.
39718
7f513ec8
RM
39719 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39720 garbage value in a __mach_port_mod_refs call in the cases of the
39721 task-self and thread-self ports.
39722
a12b2239
ST
397232011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39724
39725 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39726
610f9ab4
AS
397272011-09-08 Andreas Schwab <schwab@redhat.com>
39728
7f513ec8 39729 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39730
48882a1a
LD
397312011-09-07 Ulrich Drepper <drepper@gmail.com>
39732
b49865be
UD
39733 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39734
fdc86bc9
UD
39735 * elf/dl-libc.c (dlerror_run): Pass back error code from
39736 dl_catch_error.
39737
c966526a
UD
39738 [BZ #13123]
39739 * elf/dl-load.c (lose): Free l_origin if it is valid.
39740
48882a1a
LD
39741 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39742 names.
39743 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39744 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39745 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39746 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39747 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39748 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39749
77a2a8b4
AZ
397502011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39751
39752 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39753 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39754 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39755 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39756 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39757 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39758 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39759 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39760 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39761 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39762
24f579d8
AM
397632011-08-15 Alan Modra <amodra@gmail.com>
39764
39765 [BZ #13092]
39766 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39767 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39768 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39769 ppc_mcount to static-only-routines.
39770 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39771 __mcount_internal.
39772 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39773 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39774
3d4837df
UD
397752011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39776
39777 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39778 for finite and infinity parameters.
39779
22700377
WS
397802011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39781
39782 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39783 and add nop instructions for throughput optimization.
39784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39785
5025581e
WS
397862011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39787
39788 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39789 aligned copy for power7 with vector-scalar instructions.
39790 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39791
08a300c9
L
397922011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39793
39794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39795 AVX check.
39796
59178ef9
AS
397972011-09-07 Andreas Schwab <schwab@redhat.com>
39798
39799 [BZ #13144]
39800 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39801 last change.
39802
e38ba7ab
UD
398032011-09-07 Ulrich Drepper <drepper@gmail.com>
39804
39805 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39806 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39807 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39808 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39809 clock_gettime.
39810
d53a73ac
UD
398112011-09-06 Ulrich Drepper <drepper@gmail.com>
39812
fc8bffcc
UD
39813 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39814 Forgot to demangle the pointer.
39815
ceaa0c5d
UD
39816 * sysdeps/i386/sysdep.h: Define atom_text_section.
39817 * sysdeps/x86_64/sysdep.h: Likewise.
39818 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39819 section with atom_text_section.
39820 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39821 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39822 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39823 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39824 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39825
a77d3c17
UD
39826 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39827 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39828 already be defined. Change to take two parameters and don't assign
39829 result to variable. Adjust all users.
39830 Define INTERNAL_GETTIME if not already defined.
39831 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39832 call.
39833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39834 HAVE_CLOCK_GETTIME_VSYSCALL.
39835 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39836
d53a73ac
UD
39837 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39838 gettimeofday vsyscall, just use time.
39839
a8f84144
AS
398402011-09-06 Andreas Schwab <schwab@redhat.com>
39841
39842 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39843 <errno.h>.
39844
ef606249
UD
398452011-09-06 Ulrich Drepper <drepper@gmail.com>
39846
39847 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39848 syscall on x86-64.
39849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39850 syscall.
39851 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39852 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39853 syscall if possible.
39854
6585cb60
UD
398552011-09-05 Ulrich Drepper <drepper@gmail.com>
39856
39857 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39858 e_ident. Don't pass to find_mapsXX.
39859 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39860
a5f524e4
LD
398612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39862
39863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39864 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39865 * sysdeps/x86_64/multiarch/strchr.S: Update.
39866 Check bit_slow_BSF bit.
39867 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39868 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39869 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39870
554881ef
UD
398712011-09-05 Ulrich Drepper <drepper@gmail.com>
39872
d96de963
UD
39873 [BZ #13134]
39874 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39875 before glibc 2.15.
39876 (tryshell): Define.
39877 (__spawni): Change last parameter to be flag. Test
39878 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39879 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39880 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39881 * posix/spawni.c: Likewise.
39882 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39883 * posix/spawnp.c: Likewise. Change normal version to use
39884 SPAWN_XFLAGS_USE_PATH.
39885 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39886 SPAWN_XFLAGS_TRY_SHELL.
39887
d48e5868
UD
39888 [BZ #13150]
39889 * posix/glob.h: Remove gcc 1.x support.
39890
554881ef
UD
39891 [BZ #13068]
39892 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39893
693fb948
LD
398942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39895
39896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39897 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39898 strrchr-sse2-bsf
39899 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39900 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39901 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39902 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39903 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39904 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39905
1b48c537
UD
399062011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39907
49d42c37
UD
39908 * sysdeps/x86_64/wcscmp.S: New file.
39909
1b48c537
UD
39910 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39911 wcscmp-c wcscmp-sse2
39912 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39913 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39914 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39915 * wcsmbs/wcscmp.c: Allow renaming.
39916
15c95c5d
DM
399172011-09-05 David S. Miller <davem@davemloft.net>
39918
39919 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39920 stack slot, rather than the struct return pointer slot.
39921 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39922 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39924 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39925
2f0ad8f3
UD
399262011-09-05 Ulrich Drepper <drepper@gmail.com>
39927
d88ae418
UD
39928 * po/ja.po: Update from translation team.
39929
2f0ad8f3
UD
39930 [BZ #13144]
39931 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39932 kernel in 64-bit binaries.
39933
5f4318d1
DM
399342011-09-01 David S. Miller <davem@davemloft.net>
39935
39936 * elf/elf.h (HWCAP_SPARC_*): Move to..
39937 * sysdeps/sparc/sysdep.h: this new file and add new values.
39938 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39939 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39940 _DL_HWCAP_COUNT to 24.
39941 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39942 entries.
39943 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39944 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39945 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39947 instead of magic constants.
39948 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39949
3ba57516
DM
399502011-08-31 David S. Miller <davem@davemloft.net>
39951
39952 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39954 Reimplement to do errno handling inline.
39955 (SYSCALL_ERROR_HANDLER): New macro.
39956 (__SYSCALL_STRING): Do not do errno handling in asm.
39957 (__CLONE_SYSCALL_STRING): Delete.
39958 (__INTERNAL_SYSCALL_STRING): Delete.
39959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39960 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39961 (PSEUDO): Reimplement to do errno handling inline.
39962 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39963 (SYSCALL_ERROR_HANDLER): New macro.
39964 (__SYSCALL_STRING): Do not do errno handling in asm.
39965 (__CLONE_SYSCALL_STRING): Delete.
39966 (__INTERNAL_SYSCALL_STRING): Delete.
39967 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39968 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39969 i386.
39970 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39971 (inline_syscall*): Add 'err' argument.
39972 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39973 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39974 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39975 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39976
39977 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39978 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39979
2bc17433
AS
399802011-08-30 Andreas Schwab <schwab@redhat.com>
39981
39982 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39983
fbeb5f4d
JO
399842011-08-29 Jiri Olsa <jolsa@redhat.com>
39985
39986 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39987 directive.
39988
ad69cc26
DM
399892011-08-24 David S. Miller <davem@davemloft.net>
39990
39991 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39992
39dd69df
AS
399932011-08-24 Andreas Schwab <schwab@redhat.com>
39994
39995 * elf/Makefile: Add rules to build and run unload8 test.
39996 * elf/unload8.c: New file.
39997 * elf/unload8mod1.c: New file.
39998 * elf/unload8mod1x.c: New file.
39999 * elf/unload8mod2.c: New file.
40000 * elf/unload8mod3.c: New file.
40001
40002 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40003 it wasn't used.
40004
2c0b250a
DM
400052011-08-23 David S. Miller <davem@davemloft.net>
40006
40007 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40008 subtract stack bias.
40009 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40010 %sp not %fp in calculations.
40011 (_JMPBUF_UNWINDS_ADJ): Likewise.
40012
22044b48
DM
40013 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40014 (aio_suspend): Call it to force an exception region around the
40015 AIO_MISC_WAIT() invocation.
40016
2cae4995
AS
400172011-08-23 Andreas Schwab <schwab@redhat.com>
40018
40019 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40020 backslash.
40021
873a772e
AJ
400222011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40023
40024 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40025 protection macro.
40026 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40027 and <dl-machine.h>.
40028 (Elf64_FuncDesc): Remove.
40029
25ad0df1
DM
400302011-08-22 David S. Miller <davem@davemloft.net>
40031
40032 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40033 sigaltstack check, add missing cfi directives.
40034 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40035 missing cfi directives, and sigaltstack handling.
40036
e888bcbe
AS
400372011-08-16 Andreas Schwab <schwab@redhat.com>
40038
40039 [BZ #11724]
40040 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40041 object is seen twice.
40042 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40043
40044 * elf/Makefile (distribute): Add tst-initorder2.c.
40045 (tests): Add tst-initorder2.
40046 (modules-names): Add tst-initorder2a tst-initorder2b
40047 tst-initorder2c tst-initorder2d. Add rules to build them.
40048 ($(objpfx)tst-initorder2.out): New rule.
40049 * elf/tst-initorder2.c: New file.
40050 * elf/tst-initorder2.exp: New file.
40051
87162f46
AS
400522011-08-22 Andreas Schwab <schwab@redhat.com>
40053
70538b7f
AS
40054 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40055
f55ffe58
AS
40056 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40057 dependencies back to end of function.
40058
87162f46
AS
40059 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40060 $(elfobjdir)/ld.so.
40061
91b392a4
UD
400622011-08-21 Ulrich Drepper <drepper@gmail.com>
40063
40064 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40065 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40067 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40068 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40069 of __vdso_gettimeofday.
40070 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40071 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40072 attribute_hidden.
40073 (_libc_vdso_platform_setup): Remove initialization of
40074 __vdso_gettimeofday and __vdso_time.
40075
5c43483f
UD
400762011-08-20 Ulrich Drepper <drepper@gmail.com>
40077
775a77e7
UD
40078 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40079 and fgetc_unlocked.
40080 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40081 getc_unlocked.
89f447ed 40082
49c74ba9
UD
40083 * elf/dl-open.c (add_to_global): Report additions to the global scope
40084 for LD_DEBUG=scopes.
40085 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 40086 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 40087
5c43483f
UD
40088 [BZ #13114]
40089 * stdio-common/Makefile (tests): Add bug24.
40090 * stdio-common/bug24.c: New file.
40091
a101b025
AJ
400922011-08-19 Andreas Jaeger <aj@suse.de>
40093
40094 [BZ #13114]
40095 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40096 non-existant file when using close-on-exec mode.
40097
c88f1766
UD
400982011-08-20 Ulrich Drepper <drepper@gmail.com>
40099
0276a718
UD
40100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40101 the very first instruction.
40102
c88f1766
UD
40103 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40104 the CFI state in the end.
40105 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40106 inclusion of dl-trampoline.h.
40107 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40108
51ccffa0
AS
401092011-08-19 Andreas Schwab <schwab@redhat.com>
40110
94d7165f
AS
40111 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40112 expectations for long double.
40113
51ccffa0
AS
40114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40115 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40116
fd708658 401172011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
40118
40119 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40120 artificual limit depends upon the system page size.
40121
44f0a71e
UD
401222011-08-17 Ulrich Drepper <drepper@gmail.com>
40123
40124 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40125 * resolv/Makefile: Define CFLAGS-libresolv.
40126
8de79a24
AS
401272011-08-17 Andreas Schwab <schwab@redhat.com>
40128
40129 * nss/makedb.c (compute_tables): Make variables used in nested
40130 function static.
40131
27724598
UD
401322011-08-17 Ulrich Drepper <drepper@gmail.com>
40133
c5305d88
UD
40134 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40135 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40136 if buffer was too small.
40137
27724598
UD
40138 * elf/pldd.c (main): Attach to all threads in the process.
40139 Rewrite /proc handling to use *at functions.
40140
076fe015
UD
401412011-08-16 Ulrich Drepper <drepper@gmail.com>
40142
174baab3
UD
40143 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40144 specifies first scope to show.
40145 (dl_open_worker): Update callers. Move printing scope of new
40146 object to before the relocation.
44f0a71e 40147 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
40148 * sysdeps/generic/ldsodefs.h: Update declaration.
40149
076fe015
UD
40150 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40151 string for the scope number.
40152
a60df2c3
UD
401532011-08-14 Ulrich Drepper <drepper@gmail.com>
40154
40155 * nscd/servicescache.c (cache_addserv): Make sure written is always
40156 initialized.
40157
5e4287d1
RM
401582011-08-14 Roland McGrath <roland@hack.frob.com>
40159
85ae0589
RM
40160 * sysdeps/i386/i486/bits/atomic.h
40161 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40162 statement expression, so as to suppress "set but not used" warning.
40163 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40164
69f63097
RM
40165 * string/strncat.c (STRNCAT): Use prototype definition.
40166
675456ef
RM
40167 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40168 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40169 -Iprograms here.
40170 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40171 (localedef-modules): Add localedef.
40172 (locale-modules): Add locale.
40173
5e4287d1
RM
40174 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40175 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40176 to avoid a warning.
40177
9c96ff23
DM
401782011-08-14 David S. Miller <davem@davemloft.net>
40179
40180 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40181 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40182
f9ddf089
UD
401832011-08-13 Ulrich Drepper <drepper@gmail.com>
40184
44f0a71e 40185 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
40186 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40187 * elf/rtld.c (dl_main): Set l_name of vDSO.
40188 Call _dl_show_scope when DL_DEBUG_SCOPES.
40189 (process_dl_debug): Recognize scopes flag and also set it for all.
40190 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40191 Declare _dl_show_scope.
40192
1dc27704
UD
40193 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40194 (do_dlopen): Pass caller_dlopen to dl_open.
40195 (__libc_dlopen_mode): Initialize caller_dlopen.
40196
f9ddf089
UD
40197 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40198 of libc. Make tolower call locale-independent. Optimize a bit by
40199 using isdigit instead of isalnum.
40200 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40201
9ac533d3
UD
402022011-08-12 Ulrich Drepper <drepper@gmail.com>
40203
40204 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40205 was a dependency or dynamically loaded.
40206
89edf2e9
UD
402072011-08-11 Ulrich Drepper <drepper@gmail.com>
40208
8e999d29
UD
40209 * intl/l10nflist.c: Allow architecture-specific pop function.
40210 * sysdeps/x86_64/l10nflist.c: New file.
40211
89edf2e9
UD
40212 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40213 classification.
40214
14d96785
AS
402152011-08-10 Andreas Schwab <schwab@redhat.com>
40216
40217 * include/dirent.h: Add libc_hidden_proto for scandirat and
40218 scandirat64. Don't declare __scandirat64.
40219 * dirent/scandirat.c: Add libc_hidden_def.
40220 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40221 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40222
6761ac04
DM
402232011-08-10 David S. Miller <davem@davemloft.net>
40224
40225 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40226 enum.
40227 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40228 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40229 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40230
c55fbd1e
UD
402312011-08-09 Ulrich Drepper <drepper@gmail.com>
40232
40233 * Versions.def [libc]: Add GLIBC_2.15.
40234 * dirent/Makefile (routines): Add scandirat and scandirat64.
40235 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40236 GLIBC_2.15.
40237 * dirent/dirent.h: Declare scandirat and scandirat64.
40238 * dirent/scandirat.c: New file.
40239 * dirent/scandirat64.c: New file.
40240 * sysdeps/wordsize-64/scandirat.c: New file.
40241 * sysdeps/wordsize-64/scandirat64.c: New file.
40242 * dirent/opendir.c: Define opendirat.
40243 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40244 using scandirat.
40245 * dirent/scandir64.c: Adjust for scandir.c change.
40246 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40247 __scandirat64, and __scandir_cancel_handler.
40248 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40249 additional parameter and use openat instead of open (outside of ld.so).
40250 Add new __opendir as wrapper around __opendirat.
40251 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40252 here without requiring old scandirat implementation.
40253
879165f2
UD
402542011-08-08 Ulrich Drepper <drepper@gmail.com>
40255
40256 * dirent/scandir.c (cancel_handler): Renamed to
40257 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40258 defined. Adjust users.
40259 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40260 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40261
cb7e923b
UD
402622011-08-04 Ulrich Drepper <drepper@gmail.com>
40263
16292edd
UD
40264 * string/test-string.h (IMPL): Use __STRING to expand name and then
40265 stringify it.
40266
cb7e923b
UD
40267 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40268 of cleanups.
40269
cff82933
LD
402702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40271
40272 * string/Makefile: Update.
40273 (strop-tests): Append strncat.
40274 * string/test-wcscmp.c: New file.
40275 New comprehensive test for wcscmp.
40276 * string/test-strcmp.c: Update.
40277 (WIDE): New define.
40278
9be9bfcc
AS
402792011-07-22 Andreas Schwab <schwab@redhat.com>
40280
40281 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40282 line.
40283
2e96f1c7
AS
402842011-07-26 Andreas Schwab <schwab@redhat.com>
40285
40286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40287 encoding to ACE if AI_IDN.
40288
85188888
JJ
402892011-08-01 Jakub Jelinek <jakub@redhat.com>
40290
40291 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40292 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40293
5fa16e9b
LD
402942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40295
40296 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40297 Fix overflow bug in strncat.
40298 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40299
40300 * string/test-strncat.c: Update.
40301 Add new tests for checking overflow bugs.
40302
403032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40304
40305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40306 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40307 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40308 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40309 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40310 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40311 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40312 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40313 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40314
40315 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40316 (USE_AS_STRCAT): Define.
40317 Add strcat and strncat support.
40318 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40319
8c1a459f
AS
403202011-07-25 Andreas Schwab <schwab@redhat.com>
40321
40322 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40323 __n bigger than INT_MAX+1.
40324 (__strncmp_g): Likewise.
40325
bba33c28
UD
403262011-07-23 Ulrich Drepper <drepper@gmail.com>
40327
798be72d
UD
40328 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40329 * libio/stido.h: Likewise.
40330
8accd4dc
UD
40331 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40332 (AF_NFC): Define.
40333 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40334 (AF_NFC): Define.
40335
cbff0d96
UD
40336 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40337 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40338 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40339 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40340 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40341
9191c04a
UD
40342 [BZ #13021]
40343 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40344 installed.
40345
bba33c28
UD
40346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40347 typo.
40348 (_dl_x86_64_save_sse): Likewise.
40349
90f139dd
UD
403502011-07-22 Ulrich Drepper <drepper@gmail.com>
40351
1aae088a
UD
40352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40353 OSXSAVE.
40354 (_dl_x86_64_save_sse): Likewise.
40355
8e2045f5
UD
40356 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40357
90f139dd
UD
40358 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40359
1d002f25
AS
403602011-07-21 Andreas Schwab <schwab@redhat.com>
40361
40362 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40363 change.
40364 (_dl_x86_64_save_sse): Use correct AVX check.
40365
21137f89
UD
403662011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40367
40368 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40369 bug in strncpy/strncat.
40370 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40371
a65c0b7a
UD
403722011-07-21 Ulrich Drepper <drepper@gmail.com>
40373
40374 * string/tester.c (test_strcat): Add tests for different alignments
40375 of source and destination.
40376 (test_strncat): Likewise.
40377
6986b98a
UD
403782011-07-20 Ulrich Drepper <drepper@gmail.com>
40379
90bb2039
UD
40380 [BZ #12852]
40381 * posix/glob.c (glob): Check passed in values before using them in
40382 expressions to avoid some overflows.
40383 (glob_in_dir): Likewise.
40384
5644ef54
UD
40385 [BZ #13007]
40386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40387 check for AVX enablement so that we don't crash with old kernels and
40388 new hardware.
40389 * elf/tst-audit4.c: Add same checks here.
40390 * elf/tst-audit6.c: Likewise.
40391
40392 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 40393
bfc9dc9b
AS
403942011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40395
40396 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40397
702e64bb
UD
403982011-07-20 Ulrich Drepper <drepper@gmail.com>
40399
40400 * po/cs.po: Update from translation team.
40401 * po/bg.po: Likewise.
40402
295e904f
MP
404032011-07-12 Marek Polacek <mpolacek@redhat.com>
40404
40405 * misc/sys/cdefs.h: Add support for const attribute.
40406 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40407 to gnu_dev_{major,minor,makedev} functions.
40408
3ff94596
MP
404092011-07-20 Marek Polacek <mpolacek@redhat.com>
40410
40411 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40412
28b59fca
AS
404132011-07-20 Andreas Schwab <schwab@redhat.com>
40414
40415 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40416 strlen results.
40417
19df733e
AK
404182011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40419
40420 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40421 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40422 register in order to avoid conflicts with the soft frame pointer
40423 being held in r11 when necessary.
40424 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40425 (INTERNAL_VSYSCALL_NCS): Likewise.
40426
c8835729
MP
404272011-07-14 Marek Polacek <mpolacek@redhat.com>
40428
40429 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40430 * elf/dl-fini.c (_dl_fini): Adjust caller.
40431 * elf/dl-close.c (_dl_close_worker): Likewise.
40432 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40433
b902330c
MP
404342011-07-15 Marek Polacek <mpolacek@redhat.com>
40435
8991e135
MP
40436 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40437 "aux_cache->nlibs < 0".
40438
b902330c
MP
40439 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40440 in the reload-count case.
40441
99710781
LD
404422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40443
40444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40445 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40446 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40447 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40448 * sysdeps/x86_64/multiarch/strcat.S: New file.
40449 * sysdeps/x86_64/multiarch/strncat.S: New file.
40450 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40451 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40452 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40453 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40454 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40455 (USE_AS_STRCAT): Define.
40456 Add strcat and strncat support.
40457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40458 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40459 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40460 * string/strncat.c: Update.
40461 (USE_AS_STRNCAT): Define.
40462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40463 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40464 and i7.
40465 * sysdeps/x86_64/multiarch/init-arch.h
40466 (bit_Prefer_PMINUB_for_stringop): New.
40467 (index_Prefer_PMINUB_for_stringop): Likewise.
40468 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40469 bit_Prefer_PMINUB_for_stringop.
40470
7dc6bd90
UD
404712011-07-19 Ulrich Drepper <drepper@gmail.com>
40472
40473 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40474 buffer64.
40475 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40476 of casting of buffer.
40477 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40478 buffer32 and buffer64.
40479 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40480 writes instead of casting of buffer.
40481 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40482 buffer32.
40483 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40484 casting of buffer.
40485
e0e72284
AS
404862011-07-19 Andreas Schwab <schwab@redhat.com>
40487
40488 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40489
feb1eb0b
UD
404902011-07-19 Ulrich Drepper <drepper@gmail.com>
40491
40492 * nscd/nscd.c (termination_handler): Don't do anything for a database
40493 if it has not yet been initialized.
40494
298711ff
UD
404952011-07-18 Ulrich Drepper <drepper@gmail.com>
40496
40497 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40498
404992011-07-15 Marek Polacek <mpolacek@redhat.com>
40500
40501 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40502
f9d68389
UD
405032011-07-18 Ulrich Drepper <drepper@gmail.com>
40504
40505 * po/nl.po: Update from translation team.
40506 * po/sv.po: Likewise.
40507
db290cf5
RM
405082011-07-16 Roland McGrath <roland@hack.frob.com>
40509
40510 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40511 now disallowed by GCC.
5c550700 40512
fd5e21c7
RM
40513 * configure.in (use-default-link): Default to yes if a test -shared
40514 link meets our qualifications.
40515 * configure: Regenerated.
40516
5c550700
RM
40517 * config.make.in (output-format): New variable.
40518 * configure.in: Check for ld --print-output-format support.
40519 * configure: Regenerated.
40520 * Makerules ($(common-objpfx)format.lds)
40521 [$(output-format) != unknown]: Just use $(output-format),
40522 instead of the linker-script munging.
40523
9fa2c032
RM
405242011-07-14 Roland McGrath <roland@hack.frob.com>
40525
a6928d51
RM
40526 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40527 of $(common-objpfx)shlib.lds.
40528 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40529
661607b3
RM
40530 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40531 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40532
9fa2c032
RM
40533 * configure.in (-z relro check): Adjust test code to add a large
40534 writable data section after it.
40535 * configure: Regenerated.
40536
defe9061
RM
405372011-07-11 Roland McGrath <roland@hack.frob.com>
40538
40539 * configure.in (-z relro check): Fix test code to make the variable
40540 truly const.
40541 * configure: Regenerated.
40542
319b9ad4
UD
405432011-07-11 Ulrich Drepper <drepper@gmail.com>
40544
40545 * nscd/nscd.h (struct traced_file): Define.
40546 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40547 elements. Add traced_files.
40548 (inotify_fd): Declare.
40549 (register_traced_file): Declare.
40550 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40551 (inotify_fd): Export.
40552 (resolv_conf_descr): Remove.
40553 (nscd_init): Move inotify descriptor creation to main.
40554 Don't register files for notification here.
40555 (register_traced_file): New function.
40556 (invalidate_cache): Don't use reset_res to determine whether to call
40557 res_init, go through the list of registered files.
40558 (main_loop_poll): The inotify descriptors are now stored in the
40559 structures for the traced files.
40560 (main_loop_epoll): Likewise
40561 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40562 to __nss_disable_nscd.
40563 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40564 for a database anymore. Check the records for all the registered
40565 files instead.
40566 * nss/Makefile (libnss_files-routines): Add files-init.
40567 (libnss_db-routines): Add db-init.
40568 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40569 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40570 * nss/nss_db/db-init.c: New file.
40571 * nss/nss_files/files-init.c: New file.
40572 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40573 __nss_lookup_function.
40574 (__nss_lookup_function): Call nss_load_library.
40575 (nss_load_all_libraries): New function.
40576 (__nss_disable_nscd): Take parameter with callback function for files
40577 to register. Set is_nscd. Load all the DSOs for the NSS modules
40578 used for the cached services.
40579 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40580 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40581 options for features to all the files in nscd.
40582
40583 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40584
23bee3e8
RM
405852011-07-10 Roland McGrath <roland@hack.frob.com>
40586
40587 * csu/elf-init.c (__libc_csu_init): Comment typo.
40588
46a5b7f0
UD
405892011-07-09 Ulrich Drepper <drepper@gmail.com>
40590
40591 * po/pl.po: Update from translation team.
40592 * po/ja.po: Likewise.
40593 * po/ru.po: Likewise.
40594 * po/ko.po: Likewise.
40595 * po/fr.po: Likewise.
40596
d30cf5bb
RM
405972011-07-09 Roland McGrath <roland@hack.frob.com>
40598
113ddea4
RM
40599 * configure.in (.ctors/.dtors header and trailer check):
40600 Use an empirical test on a built program.
40601 * configure: Regenerated.
40602
574920b4
RM
40603 * configure.in (-z relro check): Use an empirical test on a built DSO.
40604 Detect, but do not require, on ia64.
40605 * configure: Regenerated.
40606
d30cf5bb
RM
40607 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40608 Update tests that use readelf to use $READELF instead.
40609 * configure: Regenerated.
40610
8538fdb3
UD
406112011-07-08 Ulrich Drepper <drepper@gmail.com>
40612
40613 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40614 if the result is not used.
40615
04d08991
AJ
406162011-07-05 Andreas Jaeger <aj@suse.de>
40617
40618 [BZ#9696]
40619 * stdlib/tst-strtod.c: Add testcase.
40620
de283087
AD
406212011-07-07 Ulrich Drepper <drepper@gmail.com>
40622
4e5f31c8 40623 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40624 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40625 The latter has a higher limit. Take additional parameter to pass to
40626 the new function.
40627 (__pathconf): Pass file to __statfs_link_max.
40628 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40629 __statfs_link_max.
40630 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40631 __statfs_link_max.
40632
de283087
AD
40633 [BZ #12868]
40634 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40635 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40636 Handle Lustre.
40637 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40638 (__statfs_filesize_max): Likewise.
40639 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40640
c75fa153
AJ
406412011-07-05 Andreas Jaeger <aj@suse.de>
40642
40643 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40644
1a544854
UD
406452011-07-06 Marek Polacek <mpolacek@redhat.com>
40646
40647 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40648 `status' variable.
40649 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40650 Likewise.
40651
6f0eec67
UD
406522011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40653
40654 * Makefile (strop-tests): Add strncat.
40655 * string/test-strncat.c: New file.
40656
aae30307
UD
406572011-06-30 Marek Polacek <mpolacek@redhat.com>
40658
40659 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40660
c0cfb5eb
UD
406612011-06-21 Andreas Jaeger <aj@suse.de>
40662
40663 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40664 Copy rule from iconvdata/Makefile.
40665
01636b21
UD
406662011-07-06 Ulrich Drepper <drepper@gmail.com>
40667
40668 [BZ #12922]
40669 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40670 but no long options are defined, just return 'W'.
40671
9895c8bc
UD
406722011-06-22 Marek Polacek <mpolacek@redhat.com>
40673
40674 [BZ #9696]
40675 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40676
5d4cf042
UD
406772011-07-06 Ulrich Drepper <drepper@gmail.com>
40678
40679 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40680 netgroups to read.
960e5535 40681 (innetgr): Likewise.
5d4cf042 40682
751eb97e
RM
406832011-07-05 Roland McGrath <roland@hack.frob.com>
40684
40685 * config.make.in (install_root): Default to $(DESTDIR).
40686
f15f1e45
UD
406872011-07-05 Ulrich Drepper <drepper@gmail.com>
40688
40689 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40690
4e34ac6a
RM
406912011-07-02 Roland McGrath <roland@hack.frob.com>
40692
5e9b6af4
RM
40693 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40694
84f9ea0f
RM
40695 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40696 containing directory rather than embedding absolute directory names.
40697
ea5ee9f7
RM
40698 * scripts/check-local-headers.sh: Rewritten using awk.
40699 Match by word, not by line. Print error messages for matches.
40700 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40701
1b74661a
RM
40702 * Makerules [shlib-lds-flags empty]:
40703 ($(common-objpfx)libc_pic.opts): New target.
40704 ($(common-objpfx)libc_pic.os.clean): New target.
40705 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40706
40707 * config.make.in (OBJCOPY): New variable.
40708 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40709 * configure: Regenerated.
40710
f781ef40
RM
40711 * config.make.in (use-default-link): New variable.
40712 * configure.in (use_default_link): Grok --with-default-link to set it.
40713 * configure: Regenerated.
40714 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40715 (shlib-lds, shlib-lds-flags): Define to empty.
40716
2d4fa81e
RM
40717 * Makerules (shlib-lds): New variable.
40718 (shlib-lds-flags): New variable.
40719 (build-shlib, build-moduile, build-module-asneeded): Use it.
40720 ($(common-objpfx)libc.so): Use $(shlib-lds).
40721 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40722 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40723
31fffa6b
RM
40724 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40725 DT_FLAGS/DT_FLAGS_1 with zero flags.
40726
4e34ac6a
RM
40727 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40728 linker script munging.
40729
fcfc776b
UD
407302011-07-02 Ulrich Drepper <drepper@gmail.com>
40731
40732 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40733 as 128-bit value.
40734 * crypt/sha512.c (sha512_process_block): Perform total addition using
40735 128-bit if possible.
40736 (__sha512_finish_ctx): Likewise.
40737 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40738 as 64-bit value.
40739 * crypt/sha256.c (SWAP64): Define.
40740 (sha256_process_block): Perform total addition using 64-bit if
40741 possible.
40742 (__sha256_finish_ctx): Likewise.
40743
99231d9a
UD
407442011-07-01 Ulrich Drepper <drepper@gmail.com>
40745
40746 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40747 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40748 * nscd/hstcache.c (cache_addhst): Likewise.
40749 * nscd/grpcache.c (cache_addgr): Likewise.
40750 * nscd/aicache.c (addhstaiX): Likewise
40751 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40752
445b4a53
TK
407532011-07-01 Thorsten Kukuk <kukuk@suse.de>
40754
40755 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40756 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40757 * nscd/hstcache.c (cache_addhst): Likewise.
40758 * nscd/grpcache.c (cache_addgr): Likewise.
40759 * nscd/aicache.c (addhstaiX): Likewise
40760
6d4d8e8e
AS
407612011-07-01 Andreas Schwab <schwab@redhat.com>
40762
40763 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40764 domain only when needed.
40765
89f654c5
AS
407662011-06-30 Andreas Schwab <schwab@redhat.com>
40767
40768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40769 is always restored.
40770
cf3b23ff
UD
407712011-06-29 Ulrich Drepper <drepper@gmail.com>
40772
40773 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40774 are re-adding the entry.
40775 * nscd/servicescache.c (cache_addserv): Likewise.
40776
751626f9
AJ
407772011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40778
40779 * sysdeps/generic/dl-irel.h: fix protection against multiple
40780 inclusions.
40781 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40782
9113ea1f
UD
407832011-06-28 Ulrich Drepper <drepper@gmail.com>
40784
5c0b8d90
UD
40785 [BZ #12935]
40786 * malloc/memusage.sh: Fix quoting in message.
40787 * debug/xtrace.sh: Likewise.
40788
9113ea1f
UD
40789 * configure.in: Remove support for --experimental-malloc option, make
40790 it the default.
40791 * config.make.in: Likewise.
40792 * malloc/Makefile: Likewise.
40793
a4172181
AS
407942011-06-27 Andreas Schwab <schwab@redhat.com>
40795
40796 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40797 two-byte characters.
40798
78a7eee7
RM
407992011-06-27 Roland McGrath <roland@hack.frob.com>
40800
62bede13
RM
40801 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40802 AC_CACHE_CHECK invocation.
40803 * configure: Regenerated.
40804
78a7eee7
RM
40805 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40806
5ce33a62
UD
408072011-06-27 Ulrich Drepper <drepper@gmail.com>
40808
034807a9
UD
40809 [BZ #12350]
40810 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40811 bit from old_res_options.
40812
4902da17
UD
40813 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40814
5ce33a62
UD
40815 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40816 value type for setfct.
40817
c2344f56
L
408182011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40819
40820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40821 __gettimeofday instead of gettimeofday.
40822
68468076
UD
408232011-06-26 Ulrich Drepper <drepper@gmail.com>
40824
40825 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40826
acb0d739
L
408272011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40828
40829 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40830
40831 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40832 info.
40833
8912479f
L
408342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40835
40836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40837 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40838 strcpy-sse2-unaligned strncpy-sse2-unaligned
40839 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40840 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40841 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40842 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40843 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40844 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40845 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40846 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40847 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40848 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40849 (STRCPY): Support SSE2 and SSSE3 versions.
40850
d5495a11
UD
408512011-06-24 Ulrich Drepper <drepper@gmail.com>
40852
40853 [BZ #12874]
40854 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40855 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40856 kernels which artificially limit size of requests.
40857
0b1cbaae
L
408582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40859
40860 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40861 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40862 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40863 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40864 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40865 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40866 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40867 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40868 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40869 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40870 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40871 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40872 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40873 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40874 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40876 Enable unaligned load optimization for Intel Core i3, i5 and i7
40877 processors.
40878 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40879 Define.
40880 (index_Fast_Unaligned_Load): Define.
40881 (HAS_FAST_UNALIGNED_LOAD): Define.
40882
07f494a0
MP
408832011-06-23 Marek Polacek <mpolacek@redhat.com>
40884
40885 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40886
fa3fc0fe
UD
408872011-06-22 Ulrich Drepper <drepper@gmail.com>
40888
40889 [BZ #12907]
40890 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40891 until it is clear that the information is realy needed.
40892 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40893
e12df166
AS
408942011-06-22 Andreas Schwab <schwab@redhat.com>
40895
40896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40897
852eb34d
UD
408982011-06-22 Ulrich Drepper <drepper@gmail.com>
40899
84e2a551
UD
40900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40901 /sys/devices/system/cpu/online if it is usable.
40902
852eb34d
UD
40903 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40904 reading the information from the /proc filesystem to once a second.
40905
6e502e19
UD
409062011-06-21 Andreas Jaeger <aj@suse.de>
40907
40908 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40909 NULL after inclusion of kernel headers.
40910
75d39ff2
UD
409112011-06-21 Ulrich Drepper <drepper@gmail.com>
40912
51f9aa6a
UD
40913 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40914 calls to internal_setent.
40915
c0244a9d
UD
40916 [BZ #12885]
40917 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40918 addresses using gethostbyname4_r ignore IPv4 addresses.
40919
c5e3c2ae
UD
40920 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40921 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40922
75d39ff2
UD
40923 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40924
42675c6f
DM
409252011-06-20 David S. Miller <davem@davemloft.net>
40926
40927 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40928 inclusions.
40929 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40930
40931 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40932 (elf_irel): Use it.
40933 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40934 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40935 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40936 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40937 * sysdeps/x86_64/dl-irel.h: Likewise.
40938
40939 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40940 * elf/dl-sym.c: Likewise.
40941
57912a71
UD
409422011-06-15 Ulrich Drepper <drepper@gmail.com>
40943
40944 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40945 need to dereference resplen2.
40946
ee22793d
AS
409472011-06-14 Andreas Schwab <schwab@redhat.com>
40948
40949 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40950
a9e836b0
UD
409512011-06-15 Ulrich Drepper <drepper@gmail.com>
40952
77fb9117
UD
40953 * Makeconfig: Define vardbdir and inst_vardbdir.
40954 * nss/Makefile: Add rules to install db-Makefile.
40955
40c1b22c
UD
40956 * nss/nss_db/db-XXX.c: Cleanup.
40957
9f2da732
UD
40958 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40959 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40960 GLIBC_PRIVATE.
40961 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40962 * nss/makedb.c: Implement -g option to specify that value strings
40963 are generated and should not be added to table iterated over for
40964 get*ent calls.
40965 * nss/nss_db/db-initgroups.c: New file.
40966
82e9a1f7
UD
40967 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40968 interface.
40969
c41af17e
UD
40970 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40971 (internal_getgrouplist): Adjust to name change.
40972 Update use_initgroups_entry if this is not the first call.
40973 * nss/databases.def: Add initgroups entry.
40974
a9e836b0
UD
40975 * nss/makedb.c (compute_tables): Check result of multiple hash table
40976 sizes to minimize maximum chain length.
40977
2666d441
UD
409782011-06-14 Ulrich Drepper <drepper@gmail.com>
40979
40980 * Versions.def: Add entry for libnss_db.
40981 * shlib-versions: Likewise.
40982 * nss/Makefile: Add rules to build libnss_db.
40983 * nss/Versions: Add libnss_db information. Organize libnss_files
40984 entries better.
40985 * nss/db-Makefile: Add gshadow support. Change rules for the new
40986 makedb progra. Some minor improvements to generate smaller files.
40987 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40988 here from...
40989 * nss/makedb.c: ...here.
40990 Improve database format to be smaller and require less memory at
40991 runtime.
40992 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40993 db anymore.
40994 * nss/nss_db/db-netgrp.c: Likewise.
40995 * nss/nss_db/db-open.c: Likewise.
40996 * nss/nss_files/flies-XXX.x: Adjust comments.
40997 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40998 * nss/nss_files/files-grp.c: Likewise.
40999 * nss/nss_files/files-hosts.c: Likewise.
41000 * nss/nss_files/files-network.c: Likewise.
41001 * nss/nss_files/files-proto.c: Likewise.
41002 * nss/nss_files/files-pwd.c: Likewise.
41003 * nss/nss_files/files-rpc.c: Likewise.
41004 * nss/nss_files/files-service.c: Likewise.
41005 * nss/nss_files/files-sgrp.c: Likewise.
41006 * nss/nss_files/files-spwd.c: Likewise.
41007 * nss/nss_db/db-alias.c: Removed.
41008 * nss/nss_db/dummy-db.h: Removed.
41009
9ee76b5a
UD
410102011-06-02 Ulrich Drepper <drepper@gmail.com>
41011
41012 * nss/makedb.c: Rewritten to not use database library.
41013 * nss/Makefile: Update to build new makedb program.
41014
c71ca1f8
AJ
410152011-06-14 Andreas Jaeger <aj@suse.de>
41016
41017 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41018 memset declaration.
41019
3154bfb8
UD
410202011-06-10 Andreas Schwab <schwab@redhat.com>
41021
41022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41023 tmpbuf.
41024
b350afab
RM
410252011-06-10 Roland McGrath <roland@hack.frob.com>
41026
decd4e50
RM
41027 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41028 * elf/Makefile ($(objpfx)ld.so): Likewise.
41029
5615eaf2
RM
41030 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41031 Don't list ld.so twice in dependencies.
41032
41033 * posix/bug-regex31.c: Include <stdlib.h>.
41034
41035 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41036
41037 * nis/nss_compat/compat-spwd.c
41038 (getspent_next_nss_netgr): Remove unused variable.
41039 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41040
41041 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41042 nonmembers" output to use the right array.
41043
41044 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41045
41046 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41047
41048 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41049 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41050 * catgets/gencat.c (read_input_file): Likewise.
41051 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41052
41053 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41054 variable definition inside #if's controlling its use.
41055
41056 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41057
41058 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41059
41060 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41061
41062 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41063 unreachable code.
41064
41065 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41066
b68e08db
RM
41067 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41068 * configure: Regenerated.
41069
b350afab
RM
41070 * Makerules: Revert last change.
41071 * elf/Makefile: Likewise.
41072
28368601
RM
410732011-06-09 Roland McGrath <roland@hack.frob.com>
41074
41075 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41076 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41077 (reloc-link): Likewise.
41078
11988f8f
UD
410792011-06-09 Ulrich Drepper <drepper@gmail.com>
41080
41081 * elf/Makefile: Add rules to build pldd.
41082 * elf/pldd.c: New file.
41083 * elf/pldd-xx.c: New file.
41084
e80fab37
UD
410852011-06-07 Ulrich Drepper <drepper@gmail.com>
41086
41087 * version.h: Update for 2.15 development version.
41088
9b849836
DM
410892011-06-07 David S. Miller <davem@davemloft.net>
41090
41091 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41092 ifuncs.
41093 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41094 elf_machine_lazy_rel): Likewise.
41095 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41096 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41097 elf_machine_lazy_rel): Likewise.
41098 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41099 dl_hwcap via passed in argument.
41100 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41101 Likewise.
41102
5a31b283
AK
411032011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41104
41105 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41106
069e52f8
RM
411072011-06-06 Roland McGrath <roland@hack.frob.com>
41108
41109 [BZ #12849]
41110 * manual/fdl-1.1.texi: New file, verbatim from:
41111 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41112 * manual/lgpl-2.1.texi: New file, verbatim from:
41113 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41114 * manual/Makefile (licenses): New variable, list those new file names.
41115 (texis): Use it.
41116 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41117
41118 * manual/fdl.texi: File removed.
41119 * manual/lesser.texi: File removed.
41120 * manual/libc.texinfo (Copying, Documentation License):
41121 Use new @include file names, put @appendix directive before @include.
41122
f16846a5
JJ
411232011-06-04 Jakub Jelinek <jakub@redhat.com>
41124
41125 [BZ #12841]
41126 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41127 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41128 (mq_open): Add __NTH.
41129
3d29045b
L
411302011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41131
41132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41133 Assume Intel Core i3/i5/i7 processor if AVX is available.
41134
8c297311
UD
411352011-05-31 Ulrich Drepper <drepper@gmail.com>
41136
41137 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41138 typo.
41139
c8fc0c91
UD
411402011-05-31 Andreas Schwab <schwab@redhat.com>
41141
41142 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41143 memory. Use alloca_account. Fix memory leak when retrying.
41144
5b27a807
UD
411452011-05-31 Ulrich Drepper <drepper@gmail.com>
41146
356f8bc6
UD
41147 * version.h (RELEASE): Bump for 2.14 release.
41148 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41149
5b27a807
UD
41150 * config.make.in (RANLIB): Remove entry.
41151
01f16ab0
UD
411522011-05-30 Ulrich Drepper <drepper@gmail.com>
41153
41fce8bd
UD
41154 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41155 (libc.pot): Work around missing support for .ksh extension in xgettext.
41156
4769ae77
UD
41157 [BZ #12684]
41158 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41159 if both request failed.
41160 (send_dg): In case of server errors clear resplen or *resplen2.
41161
6b1e7d19
UD
41162 [BZ #12454]
41163 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41164 when there are multiple maps.
41165 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41166 (_dl_fini): Remove test here.
41167
01f16ab0
UD
41168 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41169
b1ebd700
UD
411702011-05-29 Ulrich Drepper <drepper@gmail.com>
41171
7ae22829
UD
41172 [BZ #12350]
41173 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41174 bit from old_res_options.
41175 (gaih_inet): Likewise.
41176
553149f6 41177 [BZ #11099]
18a84741 41178 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
41179 as signed.
41180
652ffab1
UD
41181 * resolv/res_init.c (res_setoptions): Make the code more compact.
41182
16985fd0
UD
41183 [BZ #11558]
41184 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41185 set RES_USEVC.
41186
0464f746
UD
41187 [BZ #11634]
41188 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41189
7d17596c
UD
41190 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41191
cf6bbbd7
UD
41192 [BZ #11781]
41193 * malloc/malloc.h: Declare malloc hook variables as volatile.
41194
13f1ab36
UD
41195 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41196 in last patch.
41197
b1ebd700
UD
41198 [BZ #11799]
41199 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 41200 raise in the comment.
80e2212d
UD
41201 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41203 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 41204
ce67228d
UD
412052011-05-28 Ulrich Drepper <drepper@gmail.com>
41206
8887a920
UD
41207 [BZ #12811]
41208 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41209 grow the buffers more if it already has to be sufficient.
41210 (build_wcs_upper_buffer): Likewise.
41211 * posix/regexec.c (check_matching): Likewise.
41212 (clean_state_log_if_needed): Likewise.
41213 (extend_buffers): Don't enlarge buffers beyond size of the input
41214 buffer.
41215 Patches mostly by Emil Wojak <emil@wojak.eu>.
41216 * posix/bug-regex32.c: New file.
41217 * posix/Makefile (tests): Add bug-regex32.
41218
4f031072
UD
41219 * locale/findlocale.c (_nl_find_locale): Return right away if
41220 _nl_explode_name failed.
41221 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41222
d0478f0c
UD
41223 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41224
de81b246
UD
41225 * debug/xtrace.sh: Unify messages.
41226 * malloc/memusage.sh: Likewise.
41227
c738465a
UD
41228 [BZ #12813]
41229 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41230 time symbol from vDSO. Substitute with vsyscall if not available.
41231 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41232 __vdso_time.
41233
f1f929d7
UD
41234 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41235 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41236 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41237 Add sendmmsg and internal_sendmmsg.
41238 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41239 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41240 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41241
ce67228d
UD
41242 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41243 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41244 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41245
e57420c6
UD
412462011-05-27 Ulrich Drepper <drepper@gmail.com>
41247
a8509ca5
UD
41248 [BZ #12813]
41249 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41250 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41251 available.
41252 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41253 __vdso_getcpu.
41254
e57420c6
UD
41255 [BZ #12814]
41256 * iconvdata/Makefile (tests): Add bug-iconv9.
41257 * iconvdata/bug-iconv9.c: New file.
41258
4d07db15
AS
412592011-05-27 Andreas Schwab <schwab@redhat.com>
41260
41261 [BZ #12814]
41262 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41263
ea486f69
JJ
412642011-05-25 Jakub Jelinek <jakub@redhat.com>
41265
41266 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41267 (struct user_regs_struct): Change intcs field back to cs.
41268
6f038433
UD
412692011-05-25 Ulrich Drepper <drepper@gmail.com>
41270
41271 * po/ja.po: Update from translation team.
41272
67f86a25
UD
412732011-05-23 Ulrich Drepper <drepper@gmail.com>
41274
41275 [BZ #12795]
41276 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41277 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41278
def7fbd6
AS
412792011-05-20 Andreas Schwab <schwab@redhat.com>
41280
41281 * stdlib/longlong.h: Update from GCC.
41282
f50ef8f1
AS
412832011-05-23 Andreas Schwab <schwab@redhat.com>
41284
41285 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41286 parameter name.
41287 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41288 Add parameter name.
41289 (__sysconf): Pass it down.
41290
de7ce8f1
UD
412912011-05-22 Ulrich Drepper <drepper@gmail.com>
41292
f2962a71
UD
41293 [BZ #12671]
41294 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41295 some situations.
41296 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41297 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41298 add in in __libc_use_alloca calls. Adjust callers.
41299 (glob): Use malloc in some situations.
41300
de7ce8f1
UD
41301 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41302 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41303 pltexit.
41304
aec84f53
UD
413052011-05-21 Ulrich Drepper <drepper@gmail.com>
41306
05bb4a68
UD
41307 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41308 and CLOCK_BOOTTIME_ALARM.
41309
7ea72f99
UD
41310 [BZ #12782]
41311 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41312 is returned.
41313
7e4afad5
UD
41314 * string/_strerror.c (__strerror_r): Print negative errors as signed
41315 numbers.
41316
8e211fec
UD
41317 [BZ #12777]
41318 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41319 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41320 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41321
f7d82dc9
UD
41322 * configure.in: Fix typo in redirection and correct removal of test
41323 files in two cases.
41324
cc9e536d
UD
41325 [BZ #12788]
41326 * locale/setlocale.c (new_composite_name): Fix test to check for
41327 identical name of all categories.
41328
aec84f53
UD
41329 [BZ #12792]
41330 * libio/filedoalloc.c (local_isatty): New function.
41331 (_IO_file_doallocate): Use local_isatty.
41332 * stdio-common/perror.c (perror): In case a new stream is used
41333 forward the stream error.
41334 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41335 error flag.
41336
78e64fdc
RT
413372011-05-20 Ulrich Drepper <drepper@gmail.com>
41338
34a9094f
UD
41339 [BZ #11869]
41340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41341 alloca.
41342 * include/alloca.h (extend_alloca_account): Define.
41343
78e64fdc
RT
41344 [BZ #11857]
41345 * posix/regex.h: Fix comments with documentation of user-accessible
41346 fields after compilation and describe correct free'ing of pattern
41347 after re_compile_pattern.
41348 Patch by Reuben Thomas <rrt@sc3d.org>.
41349
457bddfc
RA
413502011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41351
41352 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41353 and -mno-altivec to prevent the compiler from using Altivec and/or
41354 VSX instructions when the corresponding registers are not available.
41355
a4527b51
AS
413562011-05-19 Andreas Schwab <schwab@redhat.com>
41357
41358 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41359
ed690b2f
UD
413602011-05-19 Ulrich Drepper <drepper@gmail.com>
41361
41362 * libio/freopen.c (freopen): Use __dup2, not dup2.
41363 * libio/freopen64.c (freopen64): Likewise.
41364
8db73634
L
413652011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41366
41367 [BZ #12775]
41368 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41369 * math/Makefile (tests): Add test-powl.
41370 (CFLAGS-test-powl.c): Define.
41371 * math/test-powl.c: New file.
41372
0a197a9d
L
413732011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41374
41375 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41376
ee30c380
UD
413772011-05-17 Ulrich Drepper <drepper@gmail.com>
41378
41379 [BZ #11837]
41380 * iconvdata/gb18030.c: Update to GB18020-2005.
41381
6ce75379
UD
413822011-05-16 Ulrich Drepper <drepper@gmail.com>
41383
a4b89fd8
AR
41384 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41385 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41386 Patch by Aharon Robbins <arnold@skeeve.com>.
41387
ea389b12
UD
41388 [BZ #11892]
41389 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41390 on the stack.
41391
68a3f91f
UD
41392 [BZ #11895]
41393 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41394 through underflows.
41395
15cc7dd1
UD
41396 [BZ #12766]
41397 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41398 point to strings before performing equality test for error_one_per_line
41399 mode.
41400
f3799213
UD
41401 [BZ #11697]
41402 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41403
d79a9c94
UD
41404 [BZ #11820]
41405 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41406 (struct user_fpregs_struct): Avoid __uint*_t types.
41407
56e5eb46
UD
41408 [BZ #6420]
41409 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41410 symbol info. Use it instead of calling _dl_addr locally.
41411 (lock_and_info): New function.
41412 (tr_freehook): Call lock_and_info and pass symbol info as additional
41413 parameter to tr_where.
41414 (tr_mallochook): Likewise.
41415 (tr_reallochook): Likewise.
41416 (tr_memalignhook): Likewise.
41417
6ce75379
UD
41418 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41419 used and couldn't be at all thread-safe.
41420
f8a3b5bf
UD
414212011-05-15 Ulrich Drepper <drepper@gmail.com>
41422
94b7cc37
UD
41423 * libio/freopen.c (freopen): Don't close old file descriptor
41424 before the new one is opened. Instead dup the new file descriptor
41425 to the old one after the new stream is created.
41426 * libio/freopen64.c (freopen64): Likewise.
41427 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41428 * libio/fileops.c (_IO_new_file_close_it): Handle new
41429 _IO_FLAGS2_NOCLOSE flag.
41430 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41431 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41432 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41433 _IO_FLAGS2_NOCLOSE flag.
41434 * include/unistd.h: Add hidden_proto for dup3.
41435 Define __have_dup3.
41436 * io/dup3.c: Define hidden symbol.
41437 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41438
bd25564e
UD
41439 [BZ #7101]
41440 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41441 when an incomplete long option is used.
41442 * posix/tst-getopt_long1.c: New file.
41443 * posix/Makefile (tests): Add tst-getopt_long1.
41444
c84cfef4
UD
41445 [BZ #10138]
41446 * scripts/config.guess: Update from autoconf-2.68.
41447 * scripts/config.sub: Likewise.
41448
3b85df27
UD
41449 [BZ #10157]
41450 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41451 tests into ...
41452 (has_cpuclock): ...this. New function.
41453 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41454 macro here based on has_cpuclock code.
41455
15a856b1
UD
41456 [BZ #10149]
41457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41458 First byte (not low byte) is now always NUL.
41459 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41460
05f399e6
UD
41461 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41462 Use non-cancelable interfaces.
41463
10a52685 41464 [BZ #9809]
94ecc67d
UD
41465 * locale/iso-639.def: Add entry for Sorani.
41466
f8a3b5bf
UD
41467 [BZ #11901]
41468 * include/stdlib.h: Move include protection to the right place.
41469 Define abort_msg_s. Declare __abort_msg with it.
41470 * stdlib/abort.c (__abort_msg): Adjust type.
41471 * assert/assert.c (__assert_fail_base): New function. Majority
41472 of code from __assert_fail. Allocate memory for __abort_msg with
41473 mmap.
41474 (__assert_fail): Now call __assert_fail_base.
41475 * assert/assert-perr.c: Remove bulk of implementation. Use
41476 __assert_fail_base.
41477 * include/assert.hL Declare __assert_fail_base.
41478 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41479 mmap.
41480 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41481
1af4e298
UD
414822011-05-14 Ulrich Drepper <drepper@gmail.com>
41483
f8a3b5bf 41484 [BZ #11952]
d26dfc60
MG
41485 [BZ #12453]
41486 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41487 until all modules are registered in the DTV.
41488 * elf/Makefile: Add rules to build and run tst-tls19.
41489 * elf/tst-tls19.c: New file.
41490 * elf/tst-tls19mod1.c: New file.
41491 * elf/tst-tls19mod2.c: New file.
41492 * elf/tst-tls19mod3.c: New file.
41493 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41494
2fc54d6f
UD
41495 [BZ #12083]
41496 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41497 correctly.
41498
98d76b46
UD
41499 [BZ #12601]
41500 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41501 two-byte sequence errors.
41502 * iconvdata/Makefile (tests): Add bug-iconv8.
41503 * iconvdata/bug-iconv8.c: New file.
41504
da3c19ef
UD
41505 [BZ #12626]
41506 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41507 buf2 definition.
41508
ca408c15
UD
41509 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41510
d6f67f7d
UD
41511 [BZ #12432]
41512 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41513 (dummy_getcfa): New function.
41514 (init): Get _Unwind_GetCFA address, use dummy if not found.
41515 (backtrace_helper): In recursion check, also check whether CFA changes.
41516 (__backtrace): Completely initialize arg.
41517
1af4e298 41518 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41519 storing incomplete byte sequence in state object. Avoid testing for
41520 guaranteed too small input if we know there is enough data available.
1af4e298 41521
da62f81b
AS
415222011-05-11 Andreas Schwab <schwab@redhat.com>
41523
41524 * Makeconfig (+link-pie): Indent.
41525 * Rules (binaries-pie): Define if $(have-fpie) and
41526 $(build-shared).
41527 (binaries-shared): Also filter out $(binaries-pie).
41528 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41529 * nscd/Makefile (others-pie): Add nscd.
41530 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41531 ($(objpfx)nscd): Remove command override.
41532 * login/Makefile (others-pie): Add pt_chown.
41533 ($(objpfx)pt_chown): Remove command override.
41534 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41535 remove command overrides.
41536
fcabc0f8
UD
415372011-05-13 Ulrich Drepper <drepper@gmail.com>
41538
20030ae6
UD
41539 * libio/tst_putwc.c: Fix error messages.
41540
fcabc0f8
UD
41541 [BZ #12724]
41542 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41543 currently writing and seek to current position when not.
41544 * libio/Makefile (tests): Add bug-fclose1.
41545 * libio/bug-fclose1.c: New file.
41546
320a5dc0
PB
415472011-05-12 Ulrich Drepper <drepper@gmail.com>
41548
41549 [BZ #12511]
41550 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41551 don't set DF_1_NODELETE here.
41552 (do_lookup_x): When entering new entry test for copy relocation
41553 and if necessary set DF_1_NODELETE flag.
41554 * elf/tst-unique4.cc: New file.
41555 * elf/tst-unique4.h: New file.
41556 * elf/tst-unique4lib.cc: New file.
41557 * elf/Makefile: Add rules to build and run tst-unique4.
41558 Patch by Piotr Bury <pbury@goahead.com>.
41559
22836f52
UD
415602011-05-11 Ulrich Drepper <drepper@gmail.com>
41561
f574184a
UD
41562 [BZ #12052]
41563 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41564
e1fb097f
UD
41565 [BZ #12625]
41566 * misc/mntent_r.c (addmntent): Flush the stream after the output
41567
22836f52
UD
41568 [BZ #12393]
41569 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41570 (is_trusted_path_normalize): Skip initial colon. Append slash
41571 to empty buffer. Duplicate is_trusted_path code but allow
41572 constructed patch to be prefix.
41573 (is_dst): Allow $ORIGIN followed by /.
41574 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41575 Correct testing of result of is_trusted_path_normalize
41576 (decompose_rpath): Fix warning.
41577
7b3b0b2a
UD
415782011-05-10 Ulrich Drepper <drepper@gmail.com>
41579
41580 [BZ #11257]
41581 * grp/initgroups.c (internal_getgrouplist): When we found the service
41582 list through the initgroups entry in nsswitch.conf do not always
41583 continue on a successful lookup. Don't always use the
eac80ce2 41584 __nss_group_database value if it is set.
7b3b0b2a
UD
41585 * nss/nsswitch.conf (initgroups): Change action for successful db
41586 lookup to continue for compatibility.
41587
2a81eaa5
UD
415882011-05-09 Ulrich Drepper <drepper@gmail.com>
41589
be97a69e
UD
41590 [BZ #11532]
41591 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41592 and CP774 modules.
41593 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41594 and CP774 modules.
41595 * iconvdata/tst-tables.sh: Likewise.
41596 * iconvdata/cp770.c: New file.
41597 * iconvdata/cp771.c: New file.
41598 * iconvdata/cp772.c: New file.
41599 * iconvdata/cp773.c: New file.
41600 * iconvdata/cp774.c: New file.
41601 * iconvdata/testdata/CP770: New file.
41602 * iconvdata/testdata/CP770..UTF8: New file.
41603 * iconvdata/testdata/CP771: New file.
41604 * iconvdata/testdata/CP771..UTF8: New file.
41605 * iconvdata/testdata/CP772: New file.
41606 * iconvdata/testdata/CP772..UTF8: New file.
41607 * iconvdata/testdata/CP773: New file.
41608 * iconvdata/testdata/CP773..UTF8: New file.
41609 * iconvdata/testdata/CP774: New file.
41610 * iconvdata/testdata/CP774..UTF8: New file.
41611
41612 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41613 END CHARMAP line.
41614 * iconvdata/gen-8bit-gap.sh: Likewise.
41615 * iconvdata/gen-8bit.sh: Likewise.
41616
c1e9e399
UD
41617 * locale/iso-639.def: Add ary entry.
41618
24c55fb3 41619 [BZ #11258]
96b4b1b0
UD
41620 * locale/C-translit.h.in: Add U20A1 transliteration.
41621
bdc2f971
KB
41622 [BZ #12178]
41623 * locale/iso-639.def: Add wae entry.
41624 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41625
2952b117
UD
41626 [BZ #12545]
41627 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41628 for n.
41629
2a81eaa5
UD
41630 [BZ #12711]
41631 * locale/C-translit.h.in: Add entry for U20B9.
41632 Patch by pravin.d.s@gmail.com.
41633
28377d1b
UD
416342011-05-08 Ulrich Drepper <drepper@gmail.com>
41635
7fb90fb8
UD
41636 [BZ #12713]
41637 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41638 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41639 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41640 in rtld. Use *stat64.
7fb90fb8 41641 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41642 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41643 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41644 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41645 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41646 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41647 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41648 __fstatat64 macros.
7fb90fb8
UD
41649 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41650 * dirent/rewinddir.c: Add libc_hidden_def.
41651 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41652 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41653
28377d1b
UD
41654 * include/dirent.h (__alloc_dir): Add flags parameter.
41655 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41656 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41657 __alloc_dir.
41658 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41659 from fdopendir if O_CLOEXEC is already set.
41660
66bdbaa4
AM
416612011-03-15 Alan Modra <amodra@gmail.com>
41662
41663 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41664 l_tls_firstbyte_offset non-zero. Save padding offset in
41665 l_tls_firstbyte_offset for later use.
41666 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41667 freeing static tls block.
41668
95721191
JN
416692011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41670
41671 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41672 where #ifdef was intended. The intent is to prevent ARG_MAX from
41673 being defined by the kernel headers.
41674
f87dfb1f
UD
416752011-05-07 Ulrich Drepper <drepper@gmail.com>
41676
41677 [BZ #12734]
41678 * resolv/resolv.h: Define RES_NOTLDQUERY.
41679 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41680 no-tld-query and set RES_NOTLDQUERY.
41681 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41682 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41683 modern BIND to search name as TLD unless forbidden.
41684
47c3cd7a
UD
416852011-05-07 Petr Baudis <pasky@suse.cz>
41686 Ulrich Drepper <drepper@gmail.com>
41687
41688 [BZ #12393]
41689 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41690 (is_trusted_path): ...to here.
c1e9ea35 41691 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41692 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41693 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41694
8a35c912
PP
416952011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41696
41697 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41698 __BEGIN/__END_DECLS.
41699
acd41f47
UD
417002011-05-06 Ulrich Drepper <drepper@gmail.com>
41701
41702 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41703 NSS_STATUS_NOTFOUND if no record was found.
41704
597df647
AS
417052011-05-05 Andreas Schwab <schwab@redhat.com>
41706
41707 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41708 (headers-not-in-tirpc): Remove rpc/netdb.h
41709 * resolv/netdb.h: Revert last change.
41710
b9af1301
PP
417112011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41712
41713 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41714 circular dependency between libgcc.a and libc.a.
41715
4e34d5f5
AS
417162011-05-05 Andreas Schwab <schwab@redhat.com>
41717
41718 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41719 * nis/Makefile: Don't install rpcsvc/*.
41720 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41721 instead of <rpc/types.h>.
41722 (MAXHOSTNAMELEN): Define.
41723
00ee369c
AS
417242011-05-03 Andreas Schwab <schwab@redhat.com>
41725
41726 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41727
0b592a30
MB
417282011-04-28 Maciej Babinski <mbabinski@google.com>
41729
41730 [BZ #12714]
41731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41732 gethostbyname4_r when IPv6 results are possible.
41733
6e04cbbe
UD
417342011-05-02 Ulrich Drepper <drepper@gmail.com>
41735
41736 [BZ #12723]
41737 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41738 _PC_PIPE_BUF handling.
41739
e4ecafe0
BH
417402011-04-30 Bruno Haible <bruno@clisp.org>
41741
41742 [BZ #12717]
41743 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41744 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41745 to 'int'.
41746 * inet/getnameinfo.c (getnameinfo): Likewise.
41747
125ee683
UD
417482011-04-29 Ulrich Drepper <drepper@gmail.com>
41749
41750 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41751 to groups setting in database lookup.
41752 * nss/nsswitch.conf: Add initgroups entry.
41753
b722481a
EB
417542011-04-22 Ulrich Drepper <drepper@gmail.com>
41755
41756 [BZ #12685]
41757 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41758 mode string.
41759 Patch by Eric Blake <eblake@redhat.com>.
41760
4df46dbd
L
417612011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41762
41763 * sunrpc/Makefile (need-export-routines): Add svc_run.
41764 (routines): Remove svc_run.
41765 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41766 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41767 * sunrpc/svc_run.c (svc_run): Likewise.
41768 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41769
e84142d2
UD
417702011-04-21 Ulrich Drepper <drepper@gmail.com>
41771
41772 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41773 problem in reallocation in last patch.
41774
877175d8
UD
417752011-04-20 Ulrich Drepper <drepper@gmail.com>
41776
41777 * sunrpc/Makefile: Move inclusion of Rules.
41778
ab8eed78
UD
417792011-04-19 Ulrich Drepper <drepper@gmail.com>
41780
41781 * nss/nss_files/files-initgroups.c: New file.
41782 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41783 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41784 _nss_files_initgroups_dyn.
41785
e3d8f584
RS
417862011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41787
41788 * elf/elf.h (R_ARM_IRELATIVE): Define.
41789
af190f45
UD
417902011-04-19 Ulrich Drepper <drepper@gmail.com>
41791
41792 * po/ru.po: Update from translation team.
41793
53cf59ef
UD
417942011-04-17 Ulrich Drepper <drepper@gmail.com>
41795
41796 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41797 dependencies.
41798
4c559bcd
MF
417992011-02-06 Mike Frysinger <vapier@gentoo.org>
41800
41801 [BZ #12653]
41802 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41803 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41804 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41805 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41806 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41807
4420675c
AS
418082011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41809
41810 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41811 differing bytes.
41812 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41813 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41814 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41815
75ea32ab
UD
418162011-04-17 Ulrich Drepper <drepper@gmail.com>
41817
41818 [BZ #12420]
41819 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41820 storing it.
41821 * stdlib/bug-getcontext.c: New file.
41822 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41823
27390476
AK
418242011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41825
41826 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41827 instructions into .machine "z9-109".
41828 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41829 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41830
10442705
AK
418312011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41832
41833 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41834 between environment variables and auxiliary vector.
41835
7b57bfe5
UD
418362011-04-16 Ulrich Drepper <drepper@gmail.com>
41837
41838 * Makefile: Add rules to build linkobj/libc.so.
41839 * include/libc-symbols.h: Define libc_hidden_nolink.
41840 * include/rpc/auth.h: Mark functions which are to be hidden.
41841 * include/rpc/auth_des.h: Likewise.
41842 * include/rpc/auth_unix.h: Likewise.
41843 * include/rpc/clnt.h: Likewise.
41844 * include/rpc/des_crypt.h: Likewise.
41845 * include/rpc/key_prot.h: Likewise.
41846 * include/rpc/pmap_clnt.h: Likewise.
41847 * include/rpc/pmap_prot.h: Likewise.
41848 * include/rpc/pmap_rmt.h: Likewise.
41849 * include/rpc/rpc_msg.h: Likewise.
41850 * include/rpc/svc.h: Likewise.
41851 * include/rpc/svc_auth.h: Likewise.
41852 * include/rpc/xdr.h: Likewise.
41853 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41854 * nss/Makefile: Likewise.
41855 * sunrpc/Makefile: Don't install headers. Build library with normal
41856 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41857 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41858 for the compat linking library. Remove use of INTDEF/INTUSE.
41859 * sunrpc/auth_none.c: Likewise.
41860 * sunrpc/auth_unix.c: Likewise.
41861 * sunrpc/authdes_prot.c: Likewise.
41862 * sunrpc/authuxprot.c: Likewise.
41863 * sunrpc/clnt_gen.c: Likewise.
41864 * sunrpc/clnt_perr.c: Likewise.
41865 * sunrpc/clnt_raw.c: Likewise.
41866 * sunrpc/clnt_simp.c: Likewise.
41867 * sunrpc/clnt_tcp.c: Likewise.
41868 * sunrpc/clnt_udp.c: Likewise.
41869 * sunrpc/clnt_unix.c: Likewise.
41870 * sunrpc/des_crypt.c: Likewise.
41871 * sunrpc/des_soft.c: Likewise.
41872 * sunrpc/get_myaddr.c: Likewise.
41873 * sunrpc/key_call.c: Likewise.
41874 * sunrpc/key_prot.c: Likewise.
41875 * sunrpc/netname.c: Likewise.
41876 * sunrpc/pm_getmaps.c: Likewise.
41877 * sunrpc/pm_getport.c: Likewise.
41878 * sunrpc/pmap_clnt.c: Likewise.
41879 * sunrpc/pmap_prot.c: Likewise.
41880 * sunrpc/pmap_prot2.c: Likewise.
41881 * sunrpc/pmap_rmt.c: Likewise.
41882 * sunrpc/publickey.c: Likewise.
41883 * sunrpc/rpc_cmsg.c: Likewise.
41884 * sunrpc/rpc_common.c: Likewise.
41885 * sunrpc/rpc_dtable.c: Likewise.
41886 * sunrpc/rpc_prot.c: Likewise.
41887 * sunrpc/rpc_thread.c: Likewise.
41888 * sunrpc/rtime.c: Likewise.
41889 * sunrpc/svc.c: Likewise.
41890 * sunrpc/svc_auth.c: Likewise.
41891 * sunrpc/svc_authux.c: Likewise.
41892 * sunrpc/svc_raw.c: Likewise.
41893 * sunrpc/svc_run.c: Likewise.
41894 * sunrpc/svc_simple.c: Likewise.
41895 * sunrpc/svc_tcp.c: Likewise.
41896 * sunrpc/svc_udp.c: Likewise.
41897 * sunrpc/svc_unix.c: Likewise.
41898 * sunrpc/svcauth_des.c: Likewise.
41899 * sunrpc/xcrypt.c: Likewise.
41900 * sunrpc/xdr.c: Likewise.
41901 * sunrpc/xdr_array.c: Likewise.
41902 * sunrpc/xdr_float.c: Likewise.
41903 * sunrpc/xdr_intXX_t.c: Likewise.
41904 * sunrpc/xdr_mem.c: Likewise.
41905 * sunrpc/xdr_rec.c: Likewise.
41906 * sunrpc/xdr_ref.c: Likewise.
41907 * sunrpc/xdr_sizeof.c: Likewise.
41908 * sunrpc/xdr_stdio.c: Likewise.
41909
e6c61494
UD
419102011-04-10 Ulrich Drepper <drepper@gmail.com>
41911
41912 [BZ #12650]
41913 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41914 * sysdeps/ia64/dl-tls.h: Likewise.
41915 * sysdeps/powerpc/dl-tls.h: Likewise.
41916 * sysdeps/s390/dl-tls.h: Likewise.
41917 * sysdeps/sh/dl-tls.h: Likewise.
41918 * sysdeps/sparc/dl-tls.h: Likewise.
41919 * sysdeps/x86_64/dl-tls.h: Likewise.
41920 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41921
34fe483e
AS
419222011-03-14 Andreas Schwab <schwab@redhat.com>
41923
41924 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41925 rpath element also skip the following colon.
41926 (expand_dynamic_string_token): Add is_path parameter and pass
41927 down to DL_DST_REQUIRED and _dl_dst_substitute.
41928 (decompose_rpath): Call expand_dynamic_string_token with
41929 non-zero is_path. Ignore empty rpaths.
41930 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41931 with zero is_path.
41932
f12a32e6
AS
419332011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41934
41935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41936 Make cancelable.
41937
38a7d692
UD
419382011-04-09 Ulrich Drepper <drepper@gmail.com>
41939
41940 [BZ #12655]
41941 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41942 Patch by Filipe David Manana <fdmanana@apache.org>.
41943
e451d22b
AS
419442011-04-07 Andreas Schwab <schwab@redhat.com>
41945
41946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41947 Maintain aligned stack.
41948 (CHECK_RSP): Remove unused macro.
41949
dedc7c7b
UD
419502011-04-03 Ulrich Drepper <drepper@gmail.com>
41951
41952 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41953 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41954
94521213
UD
419552011-04-02 Ulrich Drepper <drepper@gmail.com>
41956
41957 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41958
8cb700c0 41959 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41960
0354e355
L
419612011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41962
41963 [BZ #12518]
41964 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41965 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41966 * sysdeps/x86_64/memmove.c: New file.
41967 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41968 (memcpy): Renamed to ...
41969 (__new_memcpy): This.
41970 (memcpy): Provide GLIBC_2_14 memcpy.
41971 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41972 (memcpy): Provide GLIBC_2_2_5 memcpy.
41973
8593482f
UD
419742011-04-01 Ulrich Drepper <drepper@gmail.com>
41975
41976 [BZ #12631]
41977 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41978
81a5726b
AS
419792011-03-30 Andreas Schwab <schwab@redhat.com>
41980
41981 * misc/syncfs.c: New file.
41982 * misc/Makefile (routines): Add syncfs.
41983 * posix/unistd.h: Declare syncfs.
41984 * sysdeps/unix/syscalls.list: Add syncfs.
41985
00e5419f
AS
419862011-04-01 Andreas Schwab <schwab@redhat.com>
41987
41988 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41989 open_by_handle_at.
41990 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41991 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41993 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41995 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41996 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41997
748876bf
UD
419982011-04-01 Ulrich Drepper <drepper@gmail.com>
41999
658e451d
UD
42000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42001 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42002 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42004 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42005 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42006 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42007
748876bf
UD
42008 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42009 sync_file_range.c with -fexceptions.
42010 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42011 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42012 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42013 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42014 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42015 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42016 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42017 sync_file_range as cancellation point
42018 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42019 now a wrapper around __call_sync_file_range with cancellation handling.
42020 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42021 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42022 function name to __call_sync_file_range.
42023 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42024 Add call_sync_file_range.
748876bf 42025
6e63d5e1
AS
420262011-04-01 Andreas Schwab <schwab@redhat.com>
42027
42028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42029 bits/timex.h.
6e63d5e1 42030
46998f74
UD
420312011-04-01 Ulrich Drepper <drepper@gmail.com>
42032
4c1423ed
UD
42033 * iconv/iconv.h: Fix typo in comment.
42034 * io/fcntl.h: Likewise.
42035 * libio/stdio.h: Likewise.
42036 * posix/spawn.h: Likewise.
42037 * posix/unistd.h: Likewise.
42038 * stdlib/stdlib.h: Likewise.
42039 * time/time.h: Likewise.
42040 * wcsmbs/wchar.h: Likewise.
42041
158648c0
UD
42042 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42043 open_by_handle): Add.
42044 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42045 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42046 Augment a few comments.
42047 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42048 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42049 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42051 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42052 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42053 open_by_handle.
42054
46998f74
UD
42055 * io/fcntl.h (AT_EMPTY_PATH): Define.
42056
83fe108b
UD
420572011-03-30 Ulrich Drepper <drepper@gmail.com>
42058
42059 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42060 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42061 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42062 to...
42063 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42064 * Versions.def: Add GLIBC_2.14.
42065 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42066 Export.
83fe108b 42067
bb242059
UD
420682011-03-22 Ulrich Drepper <drepper@gmail.com>
42069
42070 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42071 round counter.
42072 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42073
c97a1282
L
420742011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42075
42076 [BZ #12597]
42077 * string/test-strncmp.c (do_page_test): New function.
42078 (check2): Likewise.
42079 (test_main): Call check2.
42080 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42081
2a115601
UD
420822011-03-20 Ulrich Drepper <drepper@gmail.com>
42083
42084 [BZ #12587]
42085 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42086 Handle cache information in CPU leaf 4.
42087 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42088
8126d904
UD
420892011-03-18 Ulrich Drepper <drepper@gmail.com>
42090
042c49c6 42091 [BZ #12583]
8126d904
UD
42092 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42093 character representation.
42094 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42095
ccfe366e
RA
420962011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42097
42098 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42099 END(__isnan) to END(__isnanf) to match function entry point/label
42100 EALIGN(__isnanf,...).
42101
c6e13027
JJ
421022011-03-10 Jakub Jelinek <jakub@redhat.com>
42103
42104 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42105
33f85a3f
UD
421062011-03-10 Ulrich Drepper <drepper@gmail.com>
42107
028478fa
UD
42108 [BZ #12510]
42109 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42110 copy from the symbol referenced in the relocation to initialize the
42111 used variable.
42112 Patch by Piotr Bury <pbury@goahead.com>.
42113 * elf/Makefile: Add rules to build and tst-unique3.
42114 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42115 * elf/tst-unique3.cc: New file.
42116 * elf/tst-unique3.h: New file.
42117 * elf/tst-unique3lib.cc: New file.
42118 * elf/tst-unique3lib2.cc: New file.
42119
33f85a3f
UD
42120 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42121
03592fc7
MF
421222011-03-10 Mike Frysinger <vapier@gentoo.org>
42123
42124 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42125 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42126 to _start.
03592fc7 42127
6a5ee102
UD
421282011-03-06 Ulrich Drepper <drepper@gmail.com>
42129
42130 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42131 to-be-loaded object along a path to loader is ld.so.
42132
7e4ba49c
HJ
421332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42134 Ulrich Drepper <drepper@gmail.com>
42135
42136 * sysdeps/x86_64/memset.S: After aligning destination, code
42137 branches to different locations depending on the value of
42138 misalignment, when multiarch is enabled. Fix this.
42139
421402011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42141
42142 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42143 Set _x86_64_preferred_memory_instruction for AMD processsors.
42144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42145 Set bit_Prefer_SSE_for_memop for AMD processors.
42146
13a804de
UD
421472011-03-04 Ulrich Drepper <drepper@gmail.com>
42148
42149 * libio/fmemopen.c (fmemopen): Optimize a bit.
42150
9d25c392
AS
421512011-03-03 Andreas Schwab <schwab@redhat.com>
42152
42153 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42154
a5543c6a
RM
421552011-03-03 Roland McGrath <roland@redhat.com>
42156
42157 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42158
012d35f7
DM
421592011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42160
7e4ba49c 42161 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
42162 __bzero_ultra1 instead of __memset_ultra1.
42163
4bff6e01
AS
421642011-02-23 Andreas Schwab <schwab@redhat.com>
42165 Ulrich Drepper <drepper@gmail.com>
42166
42167 [BZ #12509]
42168 * include/link.h (struct link_map): Add l_orig_initfini.
42169 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42170 returning unsuccessfully.
42171 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42172 close of a file loaded at startup, restore the original l_initfini
42173 list.
42174 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42175 list, store the pointer.
42176 * elf/Makefile ($(objpfx)noload-mem): New rule.
42177 (noload-ENV): Define.
42178 (tests): Add $(objpfx)noload-mem.
42179 * elf/noload.c: Include <memcheck.h>.
42180 (main): Call mtrace. Close all opened handles.
42181
f2092faf
AS
421822011-02-17 Andreas Schwab <schwab@redhat.com>
42183
42184 [BZ #12454]
42185 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42186 dependencies are missing.
42187
6c8a2e88
ST
421882011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42189
f2092faf 42190 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
42191 Hurd needs munmap.
42192 * sysdeps/mach/hurd/ifreq.h: New file.
42193
84a42118
PB
421942011-01-27 Petr Baudis <pasky@suse.cz>
42195 Ulrich Drepper <drepper@gmail.com>
42196
071f805e 42197 [BZ 12445]#
84a42118
PB
42198 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42199 to extend_alloca().
42200 * stdio-common/bug23.c: New file.
42201 * stdio-common/Makefile (tests): Add bug23.
42202
e23fe25b
AS
422032010-09-28 Andreas Schwab <schwab@redhat.com>
42204 Ulrich Drepper <drepper@gmail.com>
42205
42206 [BZ #12489]
42207 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42208 before performing relro protection. At old place add assertion
42209 to make sure nothing changed.
42210
d3f02e10
NS
422112011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42212 Glauber de Oliveira Costa <glommer@gmail.com>
42213
42214 * elf/elf.h: Add new ARM TLS relocs.
42215
d55fd7a5
RA
422162011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42217
42218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42219 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42220 cast from r3.
42221 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42222 'tests' variable.
42223 * sysdeps/wordsize-64/tst-writev.c: New file.
42224
2206397e
RA
422252011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42226
42227 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42228 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42229 insns in _dl_start to prevent a TOC reference before relocs are
42230 resolved.
42231
e9433893
UD
422322011-02-15 Ulrich Drepper <drepper@gmail.com>
42233
42234 [BZ #12469]
42235 * Makeconfig: Remove RANLIB definition.
42236 * Makerules: Don't use RANLIB.
42237 * aclocal.m4: Remove ranlib test.
42238 * configure.in: No need to check for ranlib.
42239 * elf/rtld-Rules: Don't use RANLIB.
42240
f75286c6
ST
422412011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42242
8e31c82d
ST
42243 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42244 protection macro.
42245 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42246 inclusion protection macro.
42247
f75286c6
ST
42248 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42249 SIGRTMIN and SIGRTMAX and print information in that case only when
42250 SIGRTMIN is defined.
42251
c1d0e639
JJ
422522011-02-11 Jakub Jelinek <jakub@redhat.com>
42253
42254 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42255 arginfo fn returning -1.
42256
42257 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42258 and thousands string is zero terminated.
42259
edf9294e
AS
422602011-02-03 Andreas Schwab <schwab@redhat.com>
42261
42262 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42263 sysdeps/unix/sysv/linux/bits/socket.h.
42264
2b7e92df
ST
422652011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42266
edf9294e
AS
42267 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42268 (__CPU_COUNT): Remove old macros.
42269 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42270 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42271 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
42272 (__sched_cpualloc, __sched_cpufree): Add declarations.
42273
a4c7ea7b
UD
422742011-02-05 Ulrich Drepper <drepper@gmail.com>
42275
42276 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42277 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42278 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42279 (readdhstai): Return value of addhstaiX call.
42280 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42281 (addgrbyX): Return value returned by cache_addgr.
42282 (readdgrbyname): Return value returned by addgrbyX.
42283 (readdgrbygid): Likewise.
42284 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42285 (addpwbyX): Return value returned by cache_addpw.
42286 (readdpwbyname): Return value returned by addhstbyX.
42287 (readdpwbyuid): Likewise.
42288 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42289 (addservbyX): Return value returned by cache_addserv.
42290 (readdservbyname): Return value returned by addservbyX:
42291 (readdservbyport): Likewise.
42292 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42293 (addhstbyX): Return value returned by cache_addhst.
42294 (readdhstbyname): Return value returned by addhstbyX.
42295 (readdhstbyaddr): Likewise.
42296 (readdhstbynamev6): Likewise.
42297 (readdhstbyaddrv6): Likewise.
42298 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42299 (readdinitgroups): Return value returned by addinitgroupsX.
42300 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42301 (prune_cache): Keep track of timeout value of re-added entries.
42302 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42303 * nscd/nscd.h: Adjust prototypes of readd* functions.
42304
a0bf67cc
RM
423052011-02-04 Roland McGrath <roland@redhat.com>
42306
42307 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42308 (nis_stats): Likewise.
42309 * nis/nis_modify.c (nis_modify): Likewise.
42310 * nis/nis_remove.c (nis_remove): Likewise.
42311 * nis/nis_add.c (nis_add): Likewise.
42312
42313 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42314
42315 * posix/fnmatch_loop.c: Add some consts.
42316
42317 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42318
435b95eb
L
423192011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42320
42321 [BZ #12460]
42322 * config.make.in (config-cflags-novzeroupper): Define.
42323 * configure.in: Substitute libc_cv_cc_novzeroupper.
42324 * elf/Makefile (AVX-CFLAGS): Define.
42325 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42326 (CFLAGS-tst-auditmod4a.c): Likewise.
42327 (CFLAGS-tst-auditmod4b.c): Likewise.
42328 (CFLAGS-tst-auditmod6b.c): Likewise.
42329 (CFLAGS-tst-auditmod6c.c): Likewise.
42330 (CFLAGS-tst-auditmod7b.c): Likewise.
42331 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42332
8517b15e
UD
423332011-02-02 Ulrich Drepper <drepper@gmail.com>
42334
42335 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42336 function to the callback.
42337 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42338
10a656fe
AS
423392011-02-02 Andreas Schwab <schwab@redhat.com>
42340
42341 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42342 of errno.
42343
968dad0a
UD
423442011-01-19 Ulrich Drepper <drepper@gmail.com>
42345
9f94d2ea 42346 [BZ #11724]
968dad0a
UD
42347 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42348 of constructors.
42349 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42350 of destructors.
42351 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42352
42353 [BZ #11724]
42354 * elf/Makefile: Add rules to build and run new test.
42355 * elf/tst-initorder.c: New file.
42356 * elf/tst-initorder.exp: New file.
42357 * elf/tst-initordera1.c: New file.
42358 * elf/tst-initordera2.c: New file.
42359 * elf/tst-initordera3.c: New file.
42360 * elf/tst-initordera4.c: New file.
42361 * elf/tst-initorderb1.c: New file.
42362 * elf/tst-initorderb2.c: New file.
42363 * elf/tst-order-a1.c: New file.
42364 * elf/tst-order-a2.c: New file.
42365 * elf/tst-order-a3.c: New file.
42366 * elf/tst-order-a4.c: New file.
42367 * elf/tst-order-b1.c: New file.
42368 * elf/tst-order-b2.c: New file.
42369 * elf/tst-order-main.c: New file.
42370 New test case by George Gensure <werkt0@gmail.com>.
42371
86e92359
UD
423722010-10-01 Andreas Schwab <schwab@redhat.com>
42373
42374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42375 decoding ACE if AI_CANONIDN.
42376
5d5732b0
UD
423772011-01-18 Ulrich Drepper <drepper@gmail.com>
42378
42379 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42380
a77e8cbc
UD
423812011-01-17 Ulrich Drepper <drepper@gmail.com>
42382
6392473f
UD
42383 * version.h (RELEASE): Bump for 2.13 release.
42384 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42385
620a0529
UD
42386 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42387
18ba70a5
UD
42388 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42389 MADV_NOHUGEPAGE.
32465c3e
UD
42390 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42391 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42392 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42393 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42394 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42395 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42396
c0dafcf1
UD
42397 * posix/getconf.c: Update copyright year.
42398 * catgets/gencat.c: Likewise.
42399 * csu/version.c: Likewise.
42400 * debug/catchsegv.sh: Likewise.
42401 * debug/xtrace.sh: Likewise.
42402 * elf/ldconfig.c: Likewise.
42403 * elf/ldd.bash.in: Likewise.
42404 * elf/sprof.c (print_version): Likewise.
42405 * iconv/iconv_prog.c: Likewise.
42406 * iconv/iconvconfig.c: Likewise.
42407 * locale/programs/locale.c: Likewise.
42408 * locale/programs/localedef.c: Likewise.
42409 * malloc/memusage.sh: Likewise.
42410 * malloc/mtrace.pl: Likewise.
42411 * nscd/nscd.c (print_version): Likewise.
42412 * nss/getent.c: Likewise.
42413
a77e8cbc
UD
42414 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42415 PF_CAIF, and PF_ALG.
42416 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42417
77e8bddf
AS
424182011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42419
1f20b93a
AS
42420 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42421 (modules-names): Use them.
42422 (ifunc-test-modules, ifunc-pie-tests): Define.
42423 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42424 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42425 (test-extras): Likewise.
42426 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42427 $(compile-command.c).
42428 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42429 (all-built-dso): Define.
42430 (check-textrel.out, check-execstack.out): Depend on it.
42431
77e8bddf
AS
42432 * configure.in: Don't override --enable-multi-arch.
42433
bc425b33
UD
424342011-01-15 Ulrich Drepper <drepper@gmail.com>
42435
42436 [BZ #6812]
42437 * nscd/hstcache.c (tryagain): Define.
42438 (cache_addhst): Return tryagain not notfound for temporary errors.
42439 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42440 failed.
42441
794c3ad3
UD
424422011-01-14 Ulrich Drepper <drepper@gmail.com>
42443
70181fdd
UD
42444 [BZ #10563]
42445 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42446 to make the syscall.
42447 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42448
794c3ad3
UD
42449 [BZ #12378]
42450 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42451 and fall back to matching as normal character if the string ends before
42452 the matching ']' is found. This is what POSIX requires.
42453 * posix/testfnm.c: Adjust test result.
42454 * posix/globtest.sh: Adjust test result. Add new test.
42455 * posix/tst-fnmatch.input: Likewise.
42456 * posix/tst-fnmatch2.c: Add new test.
42457
68dc9497
AS
424582010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42459
42460 * elf/Makefile (check-execstack): Revert last change. Depend on
42461 check-execstack.h.
42462 (check-execstack.h): New target.
42463 (generated): Add check-execstack.h.
42464 * elf/check-execstack.c: Include "check-execstack.h".
42465 (main): Revert last change.
42466 (handle_file): Return zero if GNU_STACK is absent and
42467 DEFAULT_STACK_PERMS doesn't include PF_X.
42468
451f001b
UD
424692011-01-13 Ulrich Drepper <drepper@gmail.com>
42470
cfa28e56
UD
42471 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42472 in child fails because the descriptor is already closed.
8cf8ce17
UD
42473 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42474 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42475 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42476
1086d70d
UD
42477 [BZ #12397]
42478 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42479 syscall.
42480
451f001b
UD
42481 [BZ #10484]
42482 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42483 temporary buffer used to handle multi lookups locally.
a85b5cb4 42484 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42485
08769175
UD
424862011-01-12 Ulrich Drepper <drepper@gmail.com>
42487
42488 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42489 loader is ld.so.
42490
5e49c52e
UD
424912011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42492
42493 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42494 alignment for SSE2.
42495
60522a5f
UD
424962011-01-12 Ulrich Drepper <drepper@gmail.com>
42497
42498 [BZ #12394]
42499 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42500 characters. When rounding increased number of integer digits recompute
42501 number of groups.
42502 * stdio-common/tst-grouping.c: New file.
42503 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42504
f257bbd7
UD
425052011-01-09 Ulrich Drepper <drepper@gmail.com>
42506
42507 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42508 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42509
42510 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42511 void.
42512 * bits/select.h: Likewise.
42513
fa9c15cb
UD
425142011-01-08 Ulrich Drepper <drepper@gmail.com>
42515
42516 * po/ja.po: Update from translation team.
42517
16c2895f
DM
425182011-01-04 David S. Miller <davem@sunset.davemloft.net>
42519
42520 [BZ #11155]
42521 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42522 implementation just like for lxstat, fxstatat, et al.
42523
2543fef2
JM
425242010-12-27 Jim Meyering <meyering@redhat.com>
42525
42526 [BZ #12348]
42527 * posix/regexec.c (build_trtable): Return failure indication upon
42528 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42529
98727dbe
UD
425302010-12-25 Ulrich Drepper <drepper@gmail.com>
42531
5bd6dc5c
UD
42532 [BZ #12201]
42533 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42534 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42535 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42536 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42537
97983464
UD
42538 [BZ #12207]
42539 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42540
98727dbe
UD
42541 [BZ #12204]
42542 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42543 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42544
4a531bb0
L
425452010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42546
42547 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42548 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42549 script has SORT_BY_INIT_PRIORITY.
42550 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42551 NO_CTORS_DTORS_SECTIONS is defined.
42552 * elf/soinit.c: Likewise.
42553 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42554 NO_CTORS_DTORS_SECTIONS is defined.
42555 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42556 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42557 * sysdeps/sh/init-first.c: Likewise.
42558 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42559
07eb4b71
UD
425602010-12-24 Ulrich Drepper <drepper@gmail.com>
42561
42562 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42563 always use the slow path.
42564
30950a5f
RA
425652010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42566
42567 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42568 similar rule which adds the sysdep directories to the header search in
42569 order to pick up the correct platform stackinfo.h.
42570 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42571 perform test if it is, otherwise return successfully without testing.
42572 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42573 DEFAULT_STACK_PERMS define in stackinfo.h.
42574 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42575 defined in stackinfo.h.
42576 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42577 DEFAULT_STACK_PERMS defined in stackinfo.h.
42578 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42579 * sysdeps/ia64/stackinfo.h: Likewise.
42580 * sysdeps/s390/stackinfo.h: Likewise.
42581 * sysdeps/sh/stackinfo.h: Likewise.
42582 * sysdeps/sparc/stackinfo.h: Likewise.
42583 * sysdeps/x86_64/stackinfo.h: Likewise.
42584 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42585 PF_X for powerpc64. Retain PF_X for powerpc32.
42586
db753e2c
UD
425872010-12-19 Ulrich Drepper <drepper@gmail.com>
42588
14b697f7
UD
42589 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42590 accurately.
db753e2c
UD
42591 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42592 GETDENTS_64BIT_ALIGNED.
42593
28300719
UD
425942010-12-14 Ulrich Drepper <dreper@gmail.com>
42595
14b697f7 42596 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42597
4f197237
AS
425982010-12-10 Andreas Schwab <schwab@redhat.com>
42599
dbb0472f
AS
42600 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42601 _GNU_SOURCE.
42602
4f197237
AS
42603 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42604 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42605 Remove __restrict.
42606 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42607 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42608
fb88ac72
UD
426092010-12-09 Ulrich Drepper <drepper@gmail.com>
42610
42611 [BZ #11655]
42612 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42613 are initialized.
42614
42acbb92
JJ
426152010-12-09 Jakub Jelinek <jakub@redhat.com>
42616
42617 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42618
c038d98d
UD
426192010-12-03 Ulrich Drepper <drepper@gmail.com>
42620
42621 * po/it.po: Update from translation team.
42622
3a4a2499
L
426232010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42624
42625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42626 unused codes.
42627
1e24cf6e
UD
426282010-11-30 Ulrich Drepper <drepper@gmail.com>
42629
42630 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42631
a7690819
AS
426322010-11-24 Andreas Schwab <schwab@redhat.com>
42633
42634 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42635 specially.
42636 (gaih_getanswer_slice): Likewise.
42637
3bf8d1b1
JJ
426382010-10-20 Jakub Jelinek <jakub@redhat.com>
42639
42640 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42641
6db52fbb
PB
426422010-05-31 Petr Baudis <pasky@suse.cz>
42643
42644 [BZ #11149]
42645 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42646 silently even in the chroot mode.
42647
eaca7569
UD
426482010-11-22 Ulrich Drepper <drepper@gmail.com>
42649
42650 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42651 last patch a bit. Pretty printing
42652
3056dcdb
UD
426532010-05-31 Petr Baudis <pasky@suse.cz>
42654
42655 [BZ #10085]
42656 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42657 initialization of skip_initgroups_dyn.
42658
cf7c9078
UD
426592010-11-19 Ulrich Drepper <drepper@gmail.com>
42660
42661 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42662 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42663
a1fb5e3e
UD
426642010-11-16 Ulrich Drepper <drepper@gmail.com>
42665
42666 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42667
3540d66b
AS
426682010-11-11 Andreas Schwab <schwab@redhat.com>
42669
42670 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42671 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42672 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42673 ($(objpfx)tst-fnmatch-mem): New rule.
42674 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42675 * posix/tst-fnmatch.c (main): Call mtrace.
42676
13b69574
L
426772010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42678
42679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42680 Support Intel processor model 6 and model 0x2c.
42681
da93d214
LM
426822010-11-10 Luis Machado <luisgpm@br.ibm.com>
42683
42684 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42685 signed comparison.
42686
8ca52c6e
L
426872010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42688
42689 [BZ #12205]
42690 * string/test-strncasecmp.c (check_result): New function.
42691 (do_one_test): Use it.
42692 (check1): New function.
42693 (test_main): Use it.
42694 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42695 Support strcasecmp and strncasecmp.
42696
69da074d
UD
426972010-11-08 Ulrich Drepper <drepper@gmail.com>
42698
42699 [BZ #12194]
42700 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42701 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42702
ff02d528
L
427032010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42704
42705 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42706 IFUNC support.
42707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42708 memset-x86-64.
42709 * sysdeps/x86_64/multiarch/bzero.S: New file.
42710 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42711 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42712 * sysdeps/x86_64/multiarch/memset.S: New file.
42713 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42715 Set bit_Prefer_SSE_for_memop for Intel processors.
42716 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42717 Define.
42718 (index_Prefer_SSE_for_memop): Define.
42719 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42720
344d0b54
LM
427212010-11-04 Luis Machado <luisgpm@br.ibm.com>
42722
42723 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42724 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42725
c0dde15b
UD
427262010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42727
42728 [BZ #12191]
42729 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42730 (__x86_64_raw_data_cache_size_half): Likewise.
42731 (__x86_64_raw_shared_cache_size): Likewise.
42732 (__x86_64_raw_shared_cache_size_half): Likewise.
42733
42734 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42735 (__x86_64_raw_data_cache_size_half): Likewise.
42736 (__x86_64_raw_shared_cache_size): Likewise.
42737 (__x86_64_raw_shared_cache_size_half): Likewise.
42738 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42739 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42740 and __x86_64_raw_shared_cache_size_half. Round
42741 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42742 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42743 to multiple of 256 bytes.
42744
0e516e0e
MS
427452010-11-03 Ulrich Drepper <drepper@gmail.com>
42746
42747 [BZ #12167]
42748 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42749 of inacessible symlinks. Verify result of symlink before returning it.
42750 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42751 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42752
0e012e87
ER
427532010-10-28 Erich Ritz <erichritz@gmail.com>
42754
42755 * math/math.h (isinf): Fix typo in comment.
42756
de0ff7bc
UD
427572010-11-01 Ulrich Drepper <drepper@gmail.com>
42758
42759 * po/da.po: Update from translation team.
42760
fa41c84d
UD
427612010-10-26 Ulrich Drepper <drepper@gmail.com>
42762
42763 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42764 is added to the list.
42765
f0967738
AK
427662010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42767 Ulrich Drepper <drepper@gmail.com>
42768
42769 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42770 the global list here. Move code to...
42771 (_dl_add_to_namespace_list): ...here. New function.
42772 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42773 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42774 * elf/dl-load.c (lose): Don't remove the element from the list.
42775 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42776 (_dl_map_object): Likewise.
42777
427782010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42779
42780 [BZ #12159]
42781 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42782 into all bytes of SSE register.
42783 Patch by Richard Li <richardpku@gmail.com>.
42784
f0967738 427852010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42786
42787 [BZ #12140]
42788 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42789 perturbing.
42790
d0b9e94f
MB
427912010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42792
42793 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42794 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42795 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42796 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42798 submachine.
42799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42800
8e9f92e9
AS
428012010-10-22 Andreas Schwab <schwab@redhat.com>
42802
42803 * include/dlfcn.h (__RTLD_SECURE): Define.
42804 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42805 mode & __RTLD_SECURE instead.
42806 (open_path): Rename preloaded parameter to secure.
42807 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42808 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42809 * elf/dl-deps.c (openaux): Likewise.
42810 * elf/rtld.c (struct map_args): Remove is_preloaded.
42811 (map_doit): Don't use it.
42812 (dl_main): Likewise.
42813 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42814 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42815
bc96fbda
AS
428162010-09-09 Andreas Schwab <schwab@redhat.com>
42817
42818 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42819 (sysd-rules-targets): Remove duplicates.
42820 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42821 rtld-%.$o dependency.
42822
22cd1c9b
AS
428232010-10-18 Andreas Schwab <schwab@redhat.com>
42824
42825 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42826 _dl_map_object do it.
42827
18edac48
UD
428282010-10-19 Ulrich Drepper <drepper@gmail.com>
42829
42830 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42831 fast fma builtins, define the macros in the C99 standard.
42832 (FP_FAST_FMAF): Likewise.
42833 (FP_FAST_FMAL): Likewise.
42834 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42835
42836 * bits/mathdef.h: Update copyright year.
42837 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42838
d2050124
MM
428392010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42840
42841 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42842 builtins, define the macros in the C99 standard.
42843 (FP_FAST_FMAF): Likewise.
42844 (FP_FAST_FMAL): Likewise.
42845 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42846 multiply/add.
42847 (FP_FAST_FMAF): Likewise.
42848
475facd1
JJ
428492010-10-15 Jakub Jelinek <jakub@redhat.com>
42850
42851 [BZ #3268]
42852 * math/libm-test.inc (fma_test): Some new testcases.
42853 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42854 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42855 y and infinite z. Do multiplication by C already in long double.
42856 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42858 y and infinite z. Do bitwise or of inexact bit into u.d.
42859 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42860 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42861 * sysdeps/i386/fpu/s_fma.S: Removed.
42862 * sysdeps/i386/fpu/s_fmal.S: Removed.
42863
7c08a05c
JJ
428642010-10-16 Jakub Jelinek <jakub@redhat.com>
42865
42866 [BZ #3268]
42867 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42869 computation is not scheduled after fetestexcept. Fix value
42870 of minimum denormal long double.
42871
f3f7372d
JJ
428722010-10-14 Jakub Jelinek <jakub@redhat.com>
42873
42874 [BZ #3268]
42875 * math/libm-test.inc (fma_test): Add some more tests.
42876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42877 correctly.
42878
14d43591
AS
428792010-10-15 Andreas Schwab <schwab@redhat.com>
42880
42881 * scripts/data/localplt-s390-linux-gnu.data: New file.
42882 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42883
5e908464
JJ
428842010-10-13 Jakub Jelinek <jakub@redhat.com>
42885
42886 [BZ #3268]
42887 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42888 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42889 instead of dbl-64.
42890 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42891 inlines.
42892 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42894 if one of x and y is very large and the other is subnormal.
42895 * sysdeps/s390/fpu/s_fmaf.c: New file.
42896 * sysdeps/s390/fpu/s_fma.c: New file.
42897 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42898 * sysdeps/powerpc/fpu/s_fma.S: New file.
42899 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42900 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42901 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42902
429032010-10-12 Jakub Jelinek <jakub@redhat.com>
42904
42905 [BZ #3268]
42906 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42907 fma tests.
42908 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42909 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42910 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42911 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42912 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42913 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42914 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42915
b833d51f
UD
429162010-10-12 Ulrich Drepper <drepper@redhat.com>
42917
42918 [BZ #12078]
42919 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42920 * posix/bug-regex31.input: Add test case.
42921
1751705d
UD
429222010-10-11 Ulrich Drepper <drepper@gmail.com>
42923
e9b9cbf5
UD
42924 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42925 * posix/bug-regex31.input: New file.
42926
42927 [BZ #12078]
42928 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42929 (parse_sub_exp): Fix last change, use postorder.
42930
ef06edbe
UD
42931 * posix/bug-regex31.c: New file.
42932 * posix/Makefile: Add rules to build and run bug-regex31.
42933
a129c80d
UD
42934 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42935
42936 [BZ #12078]
42937 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42938
b76b818e
UD
42939 [BZ #12108]
42940 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42941 to have entries in sys_siglist.
42942
1751705d
UD
42943 [BZ #12093]
42944 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42945 be NULL.
42946
9ff8d36f
JJ
429472010-10-07 Jakub Jelinek <jakub@redhat.com>
42948
42949 [BZ #3268]
42950 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42951 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42952 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42953 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42954 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42955 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42956 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42957 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42958 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42959 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42960 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42961 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42962 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42963 * math/ftestexcept.c (fetestexcept): Likewise.
42964 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42965 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42966 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42967 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42968 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42969 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42970 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42971
af325969
UD
429722010-10-11 Ulrich Drepper <drepper@gmail.com>
42973
c579b202 42974 [BZ #12107]
af325969
UD
42975 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42976 newline.
42977
67a67b95
UD
429782010-10-06 Ulrich Drepper <drepper@gmail.com>
42979
42980 * string/bug-strstr1.c: New file.
42981 * string/Makefile: Add rules to build and run bug-strstr1.
42982
5fb308bc
EB
429832010-10-05 Eric Blake <eblake@redhat.com>
42984
42985 [BZ #12092]
42986 * string/str-two-way.h (two_way_long_needle): Always clear memory
42987 when skipping input due to the shift table.
42988
45db99c7
UD
429892010-10-03 Ulrich Drepper <drepper@gmail.com>
42990
3b111893
UD
42991 [BZ #12005]
42992 * malloc/mcheck.c: Handle large requests.
42993
45db99c7
UD
42994 [BZ #12077]
42995 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42996 for strncmp and strncasecmp.
42997 * string/stratcliff.c: Add tests for strcmp and strncmp.
42998 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42999
cf7a1eb8
NI
430002010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43001
43002 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43003 __set_fpscr.
43004
6484ba5e
AJ
430052010-09-30 Andreas Jaeger <aj@suse.de>
43006
43007 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43008 (CGROUP_SUPER_MAGIC): Define.
43009 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43010 Handle btrfs and cgroup file systems.
43011 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43012 Likewise.
43013
91c42559
LM
430142010-09-27 Luis Machado <luisgpm@br.ibm.com>
43015
43016 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43017 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43018
87a97932
AK
430192010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43020
43021 [BZ #12067]
43022 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43023 trying to locate the ELF header.
43024
c21cc9bc
AS
430252010-09-27 Andreas Schwab <schwab@redhat.com>
43026
43027 [BZ #11611]
43028 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43029 Mask out sign-bit copies when constructing f_fsid.
43030
315970f6
PB
430312010-09-24 Petr Baudis <pasky@suse.cz>
43032
43033 * debug/stack_chk_fail_local.c: Add missing licence exception.
43034 * debug/warning-nop.c: Likewise.
43035
1ac7a2c7
JM
430362010-09-15 Joseph Myers <joseph@codesourcery.com>
43037
43038 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43039 implementing getdents64 using getdents syscall, set d_type if
43040 __ASSUME_GETDENTS32_D_TYPE.
43041
56801c50
AS
430422010-09-16 Andreas Schwab <schwab@redhat.com>
43043
43044 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43045 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43046
dda51327
UD
430472010-09-21 Ulrich Drepper <drepper@redhat.com>
43048
43049 [BZ #12037]
43050 * posix/unistd.h: Undo change of feature selection for ftruncate from
43051 2010-01-11.
43052
8ffcee4a
UD
430532010-09-20 Ulrich Drepper <drepper@redhat.com>
43054
a545ecd9 43055 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43056 detection.
43057
e24f0a8b
AS
430582010-09-20 Andreas Schwab <schwab@redhat.com>
43059
43060 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43061 fanotify_mark.
43062 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43063
7291c56f
AS
430642010-09-14 Andreas Schwab <schwab@redhat.com>
43065
43066 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43067 variables after CHECK_SP call.
43068 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43069
bc5fb037
AS
430702010-09-13 Andreas Schwab <schwab@redhat.com>
43071 Ulrich Drepper <drepper@redhat.com>
43072
43073 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43074 re-relocationg ld.so.
43075 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43076 _dl_init_paths call.
43077 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43078 here anymore.
43079
e66e7419
UD
430802010-09-14 Ulrich Drepper <drepper@redhat.com>
43081
43082 * resolv/res_init.c (__res_vinit): Count the default server we added.
43083
c044aa75
CLT
430842010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43085 Ulrich Drepper <drepper@redhat.com>
43086
43087 [BZ #11968]
43088 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43089 (____longjmp_chk): Use %ebx for saving value across system call.
43090 Add unwind info.
43091
32cf4069
AS
430922010-09-06 Andreas Schwab <schwab@redhat.com>
43093
43094 * manual/Makefile: Don't mix pattern rules with normal rules.
43095
817328ee
AS
430962010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43097
43098 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43099 operation.
43100 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43101 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43102 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43103 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43104 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43105 Likewise.
43106
29fddf61
UD
431072010-09-04 Ulrich Drepper <drepper@redhat.com>
43108
43109 [BZ #11979]
43110 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43111 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43112
0959ffc9
UD
431132010-09-02 Ulrich Drepper <drepper@redhat.com>
43114
43115 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43116 * sysdeps/x86_64/addmul_1.S: Likewise.
43117 * sysdeps/x86_64/lshift.S: Likewise.
43118 * sysdeps/x86_64/mul_1.S: Likewise.
43119 * sysdeps/x86_64/rshift.S: Likewise.
43120 * sysdeps/x86_64/sub_n.S: Likewise.
43121 * sysdeps/x86_64/submul_1.S: Likewise.
43122
ece29840
ST
431232010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43124
0959ffc9
UD
43125 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43126 Define __sched_param instead of SCHED_* and sched_param when
ece29840 43127 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 43128 * bits/sched.h [__need_schedparam]
ece29840 43129 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
43130 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43131 (__defined_schedparam): Define to 1.
ece29840
ST
43132 (__sched_param): New structure, identical to sched_param.
43133 (__need_schedparam): Undefine.
43134
e53a31fe
MF
431352010-08-31 Mike Frysinger <vapier@gentoo.org>
43136
fdc0c10d
MF
43137 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43138 (epoll_create1): Declare.
43139
e53a31fe
MF
43140 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43141
a726d796
AS
431422010-08-31 Andreas Schwab <schwab@redhat.com>
43143
43144 [BZ #7066]
43145 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43146 shifting retval into place.
43147
2f3e3dc7
UD
431482010-09-01 Ulrich Drepper <drepper@redhat.com>
43149
f2933da9
UD
43150 * nis/rpcsvc/nis.h: Update copyright notice.
43151 * nis/rpcsvc/nis.x: Likewise.
43152 * nis/rpcsvc/nis_callback.h: Likewise.
43153 * nis/rpcsvc/nis_callback.x: Likewise.
43154 * nis/rpcsvc/nis_object.x: Likewise.
43155 * nis/rpcsvc/nis_tags.h: Likewise.
43156 * nis/rpcsvc/yp.h: Likewise.
43157 * nis/rpcsvc/yp.x: Likewise.
43158 * nis/rpcsvc/ypupd.h: Likewise.
43159 * nis/yp_xdr.c: Likewise.
43160 * nis/ypupdate_xdr.c: Likewise.
43161
2f3e3dc7
UD
43162 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43163 mainly the body of pmap_getport. Add parameters to specify timeouts.
43164 (pmap_getport): Use __libc_rpc_getport.
43165 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43166 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43167 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43168
f3dcc2f9
AS
431692010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43170
43171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43172 fanotify_mark.
43173
6d34eb5b
RM
431742010-08-27 Roland McGrath <roland@redhat.com>
43175
43176 * sysdeps/i386/i686/multiarch/Makefile
43177 (CFLAGS-varshift.c): New variable.
43178
9ea3de11
UD
431792010-08-27 Ulrich Drepper <drepper@redhat.com>
43180
c96d23fc
UD
43181 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43182 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43183
9ea3de11
UD
43184 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43185
43186 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43187
623aac7f
L
431882010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43189
43190 * sysdeps/x86_64/strlen.S: Unroll the loop.
43191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43192 strlen-sse2 strlen-sse2-bsf.
43193 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43194 __strlen_no_bsf if bit_Slow_BSF is set.
43195 (__strlen_sse42): Removed.
43196 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43197 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43198
8b2b7715
RM
431992010-08-25 Roland McGrath <roland@redhat.com>
43200
43201 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43202 * sysdeps/x86_64/multiarch/varshift.c: New file.
43203 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43204 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43205 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43206 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43207
e73015f2
L
432082010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43209
43210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43211 strlen-sse2 strlen-sse2-bsf.
43212 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43213 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43214 (__strlen_sse2): Removed.
43215 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43216 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43218 bit_Slow_BSF for Atom.
43219 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43220 (index_Slow_BSF): Define.
43221 (HAS_SLOW_BSF): Define.
43222
df24a73e
UD
432232010-08-25 Ulrich Drepper <drepper@redhat.com>
43224
43225 [BZ #10851]
43226 * resolv/res_init.c (__res_vinit): When no server address at all
43227 is given default to loopback.
43228
f2ac4868
RM
432292010-08-24 Roland McGrath <roland@redhat.com>
43230
09055553
RM
43231 * configure.in: Remove config-name.h generation.
43232 * configure: Regenerated.
43233 * config-name.in: File removed.
43234 * scripts/config-uname.sh: New file.
43235 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43236 ($(objdir)config-name.h): New target.
43237
f2ac4868
RM
43238 * sunrpc/rpc_parse.h: Avoid nested comment.
43239
73f27d5e
RH
432402010-08-24 Richard Henderson <rth@redhat.com>
43241 Ulrich Drepper <drepper@redhat.com>
43242 H.J. Lu <hongjiu.lu@intel.com>
43243
43244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43246 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43247 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43248 _mm_alignr_epi8 with _mm_loadu_si128.
43249 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43250 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43251 (__m128i_shift_right): Removed.
43252 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43253 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43254 * sysdeps/x86_64/multiarch/varshift.h: New file.
43255 * sysdeps/x86_64/multiarch/varshift.S: New file.
43256
84b9230c
MF
432572010-08-21 Mike Frysinger <vapier@gentoo.org>
43258
43259 * configure.in: Move assembler checks to before sysdep dir checking.
43260
9bbd0ddc
PB
432612010-08-20 Petr Baudis <pasky@suse.cz>
43262
43263 * LICENSES: Sync the sunrpc license.
43264
9da4bb31
UD
432652010-08-19 Ulrich Drepper <drepper@redhat.com>
43266
a7ab6ec8
UD
43267 * sunrpc/auth_des.c: Update copyright notice once again.
43268 * sunrpc/auth_none.c: Likewise.
43269 * sunrpc/auth_unix.c: Likewise.
43270 * sunrpc/authdes_prot.c: Likewise.
43271 * sunrpc/authuxprot.c: Likewise.
43272 * sunrpc/bindrsvprt.c: Likewise.
43273 * sunrpc/clnt_gen.c: Likewise.
43274 * sunrpc/clnt_perr.c: Likewise.
43275 * sunrpc/clnt_raw.c: Likewise.
43276 * sunrpc/clnt_simp.c: Likewise.
43277 * sunrpc/clnt_tcp.c: Likewise.
43278 * sunrpc/clnt_udp.c: Likewise.
43279 * sunrpc/clnt_unix.c: Likewise.
43280 * sunrpc/des_crypt.c: Likewise.
43281 * sunrpc/des_soft.c: Likewise.
43282 * sunrpc/get_myaddr.c: Likewise.
43283 * sunrpc/getrpcport.c: Likewise.
43284 * sunrpc/key_call.c: Likewise.
43285 * sunrpc/key_prot.c: Likewise.
43286 * sunrpc/openchild.c: Likewise.
43287 * sunrpc/pm_getmaps.c: Likewise.
43288 * sunrpc/pm_getport.c: Likewise.
43289 * sunrpc/pmap_clnt.c: Likewise.
43290 * sunrpc/pmap_prot.c: Likewise.
43291 * sunrpc/pmap_prot2.c: Likewise.
43292 * sunrpc/pmap_rmt.c: Likewise.
43293 * sunrpc/rpc/auth.h: Likewise.
43294 * sunrpc/rpc/auth_unix.h: Likewise.
43295 * sunrpc/rpc/clnt.h: Likewise.
43296 * sunrpc/rpc/des_crypt.h: Likewise.
43297 * sunrpc/rpc/key_prot.h: Likewise.
43298 * sunrpc/rpc/netdb.h: Likewise.
43299 * sunrpc/rpc/pmap_clnt.h: Likewise.
43300 * sunrpc/rpc/pmap_prot.h: Likewise.
43301 * sunrpc/rpc/pmap_rmt.h: Likewise.
43302 * sunrpc/rpc/rpc.h: Likewise.
43303 * sunrpc/rpc/rpc_des.h: Likewise.
43304 * sunrpc/rpc/rpc_msg.h: Likewise.
43305 * sunrpc/rpc/svc.h: Likewise.
43306 * sunrpc/rpc/svc_auth.h: Likewise.
43307 * sunrpc/rpc/types.h: Likewise.
43308 * sunrpc/rpc/xdr.h: Likewise.
43309 * sunrpc/rpc_clntout.c: Likewise.
43310 * sunrpc/rpc_cmsg.c: Likewise.
43311 * sunrpc/rpc_common.c: Likewise.
43312 * sunrpc/rpc_cout.c: Likewise.
43313 * sunrpc/rpc_dtable.c: Likewise.
43314 * sunrpc/rpc_hout.c: Likewise.
43315 * sunrpc/rpc_main.c: Likewise.
43316 * sunrpc/rpc_parse.c: Likewise.
43317 * sunrpc/rpc_parse.h: Likewise.
43318 * sunrpc/rpc_prot.c: Likewise.
43319 * sunrpc/rpc_sample.c: Likewise.
43320 * sunrpc/rpc_scan.c: Likewise.
43321 * sunrpc/rpc_scan.h: Likewise.
43322 * sunrpc/rpc_svcout.c: Likewise.
43323 * sunrpc/rpc_tblout.c: Likewise.
43324 * sunrpc/rpc_util.c: Likewise.
43325 * sunrpc/rpc_util.h: Likewise.
43326 * sunrpc/rpcinfo.c: Likewise.
43327 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43328 * sunrpc/rpcsvc/key_prot.x: Likewise.
43329 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43330 * sunrpc/rpcsvc/mount.x: Likewise.
43331 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43332 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43333 * sunrpc/rpcsvc/rex.x: Likewise.
43334 * sunrpc/rpcsvc/rstat.x: Likewise.
43335 * sunrpc/rpcsvc/rusers.x: Likewise.
43336 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43337 * sunrpc/rpcsvc/spray.x: Likewise.
43338 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43339 * sunrpc/rtime.c: Likewise.
43340 * sunrpc/svc.c: Likewise.
43341 * sunrpc/svc_auth.c: Likewise.
43342 * sunrpc/svc_authux.c: Likewise.
43343 * sunrpc/svc_raw.c: Likewise.
43344 * sunrpc/svc_run.c: Likewise.
43345 * sunrpc/svc_simple.c: Likewise.
43346 * sunrpc/svc_tcp.c: Likewise.
43347 * sunrpc/svc_udp.c: Likewise.
43348 * sunrpc/svc_unix.c: Likewise.
43349 * sunrpc/svcauth_des.c: Likewise.
43350 * sunrpc/xcrypt.c: Likewise.
43351 * sunrpc/xdr.c: Likewise.
43352 * sunrpc/xdr_array.c: Likewise.
43353 * sunrpc/xdr_float.c: Likewise.
43354 * sunrpc/xdr_mem.c: Likewise.
43355 * sunrpc/xdr_rec.c: Likewise.
43356 * sunrpc/xdr_ref.c: Likewise.
43357 * sunrpc/xdr_sizeof.c: Likewise.
43358 * sunrpc/xdr_stdio.c: Likewise.
43359
9da4bb31
UD
43360 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43361 handling.
43362
bdaa77bc
AS
433632010-08-19 Andreas Schwab <schwab@redhat.com>
43364
43365 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43366
fe2f79db
LM
433672010-08-19 Luis Machado <luisgpm@br.ibm.com>
43368
43369 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43370 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43371 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43372 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43373 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43374 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43375 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43376 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43377 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43378 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43379 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43380 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43381 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43382 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43383
b9b42ee0
AB
433842010-07-26 Anton Blanchard <anton@samba.org>
43385
43386 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43387 * malloc/arena.c (heap_trim): Likewise.
43388
1c06ba31
UD
433892010-08-16 Ulrich Drepper <drepper@redhat.com>
43390
43391 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43392 here. Not...
43393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43394 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43395
f8392f40
L
433962010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43397
43398 * sysdeps/i386/elf/Makefile: New file.
43399
3162f12e
AS
434002010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43401
43402 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43403 from fanotify_init.
43404 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43405 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43406
28c90b2c
UD
434072010-08-15 Ulrich Drepper <drepper@redhat.com>
43408
43409 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43410 of strncasecmp_l.
1feccb6c 43411 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 43412
ca6bb004
UD
434132010-08-14 Ulrich Drepper <drepper@redhat.com>
43414
e9f82e0d
UD
43415 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43416 strncase_l-nonascii.
43417 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43418 Add strncase_l-ssse3.
43419 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43420 * sysdeps/x86_64/strcmp.S: Likewise.
43421 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43422 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43423 * sysdeps/x86_64/strncase.S: New file.
43424 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43425 * sysdeps/x86_64/strncase_l.S: New file.
43426 * string/Makefile (strop-tests): Add strncasecmp.
43427 * string/test-strncasecmp.c: New file.
43428
43429 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43430 warning.
43431
ca6bb004
UD
43432 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43433 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43434
052fa7b3
AS
434352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43436
43437 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43438
962dba78
UD
434392010-08-12 Ulrich Drepper <drepper@redhat.com>
43440
43441 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43442 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43443 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43444
bebff237
AM
434452010-05-01 Alan Modra <amodra@gmail.com>
43446
43447 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43448 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43449 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43450 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43451 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43452 tidying. Don't tail-call __sigjmp_save for static lib.
43453 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43454 save location.
43455 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43456 (CALL_MCOUNT): Add eh info, and nop after bl.
43457 (TAIL_CALL_SYSCALL_ERROR): New macro.
43458 (PSEUDO_RET): Use it.
43459 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43460 Correct save location of integer regs and cr.
43461 (_dl_profile_resolve): Correct cr save location. Delete nops
43462 after bl when SHARED. Reduce cfi size a little by better
43463 placement of cfi directives.
43464 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43465 make a stack frame. Instead use parm save area as a temp.
43466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43467 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43469 Don't make a stack frame for parent, use parm save area.
43470 Increase child stack frame to 112 bytes. Don't save unused reg,
43471 and adjust reg usage. Set up cfi on error recovery and
43472 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43474 (__makecontext): Add dummy nop after jump to exit.
43475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43476 Use correct parm save area and cr save, reduce stack frame.
43477 Correct cfi for possible PSEUDO_RET frame setup.
43478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43479 Branch to local label emitted by PSEUDO_RET rather than
43480 __syscall_error.
43481
02637374
AS
434822010-08-12 Andreas Schwab <schwab@redhat.com>
43483
43484 [BZ #11904]
43485 * locale/programs/locale.c (print_assignment): New function.
43486 (show_locale_vars): Use it.
43487
c3e2f19b
UD
434882010-08-11 Ulrich Drepper <drepper@redhat.com>
43489
3cdaa6ad
UD
43490 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43491 field.
43492 (struct statfs64): Likewise.
43493 (_STATFS_F_FLAGS): Define.
43494 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43495 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43496 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43497 (ST_VALID): Define locally.
43498 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43499 __statvfs_getflags, use the provided value.
43500 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43501 __ASSUME_STATFS_F_FLAGS.
43502
754f7da3
UD
43503 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43504
10b3bedc
UD
43505 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43506 Add sys/fanotify.h.
43507 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43508 fanotify_mask for GLIBC_2.13.
43509 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43510 fanotify_init and fanotify_mark.
43511 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43512 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43513
c08fb0d7
UD
43514 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43515 Add prlimit.
43516 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43517 prlimit64 for GLIBC_2.13.
43518 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43519 prlimit64.
43520 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43521 syscall.
43522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43523 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43524 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43525 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43526 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43527 add prlimit alias.
43528 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43529
15bac72b
UD
43530 [BZ #11903]
43531 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43532 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43533
c3e2f19b
UD
43534 * nss/Makefile: Add rules to build and run tst-nss-test1.
43535 * shlib-versions: Add entry for libnss_test1.
43536 * nss/nss_test1.c: New file.
43537 * nss/tst-nss-test1.c: New file.
43538
43539 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43540 (__nss_configure_lookup): Set appropriate entry in
43541 __nss_configure_lookup to true.
43542 * nss/nsswitch.h: Define enum with indeces of databases in
43543 databases and __nss_database_custom arrays. Declare
43544 __nss_database_custom.
43545 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43546 to avoid using nscd when custom rules are installed.
43547 * nss/getXXbyYY_r.c: Likewise.
43548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43549
43550 * nss/nss_files/files-parse.c: Whitespace fixes.
43551
f15ce4d8
UD
435522010-08-09 Ulrich Drepper <drepper@redhat.com>
43553
43554 [BZ #11883]
43555 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43556 * posix/fnmatch_loop.c: Likewise.
43557
d22e4cc9
AK
435582010-07-17 Andi Kleen <ak@linux.intel.com>
43559
43560 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43561 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43562 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43563 * Versions.def [GLIBC_2.13]: Add.
43564
805bc17d
UD
435652010-08-06 Ulrich Drepper <drepper@redhat.com>
43566
43567 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43568 Also fail if tpwd after pwuid call is NULL.
43569
5a42321d
ST
435702010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43571
43572 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43573 when converting to ms.
43574
fd3ebeda
ST
435752010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43576
43577 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43578 EOPNOTSUPP errors with ENOTTY.
43579 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43580 EOPNOTSUPP errors with ENOTTY.
43581
73507d3a
UD
435822010-07-31 Ulrich Drepper <drepper@redhat.com>
43583
43584 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43585 Add strcasecmp_l-ssse3.
43586 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43587 strcasecmp.
43588 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43589 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43590 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43591
fe36dd02
UD
435922010-07-30 Ulrich Drepper <drepper@redhat.com>
43593
66f6765a
UD
43594 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43595
42e08a54
UD
43596 * string/Makefile (strop-tests): Add strcasecmp.
43597 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43598 strcasecmp_l-nonascii.
43599 (gen-as-const-headers): Add locale-defines.sym.
43600 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43601 * sysdeps/x86_64/strcasecmp.S: New file.
43602 * sysdeps/x86_64/strcasecmp_l.S: New file.
43603 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43604 * sysdeps/x86_64/locale-defines.sym: New file.
43605 * string/test-strcasecmp.c: New file.
43606
fe36dd02
UD
43607 * string/test-strcasestr.c: Test both ends of the range of characters.
43608 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43609
48cbc0d6
RM
436102010-07-29 Roland McGrath <roland@redhat.com>
43611
76e6d6bc 43612 [BZ #11856]
48cbc0d6
RM
43613 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43614
880113d9
UD
436152010-07-27 Ulrich Drepper <drepper@redhat.com>
43616
43617 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43618 for ld.so.
43619
deb9cabb
AS
436202010-07-27 Andreas Schwab <schwab@redhat.com>
43621
43622 * manual/memory.texi (Malloc Tunable Parameters): Document
43623 M_PERTURB.
43624
1c7570ff
RM
436252010-07-26 Roland McGrath <roland@redhat.com>
43626
43627 [BZ #11840]
43628 * configure.in (-fgnu89-inline check): Set and substitute
43629 gnu89_inline, not libc_cv_gnu89_inline.
43630 * configure: Regenerated.
43631 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43632
24fb0f88
UD
436332010-07-26 Ulrich Drepper <drepper@redhat.com>
43634
43635 * string/test-strnlen.c: New file.
43636 * string/Makefile (strop-tests): Add strnlen.
43637 * string/tester.c (test_strnlen): Add a few more test cases.
43638 * string/tst-strlen.c: Better error reporting.
43639
43640 * sysdeps/x86_64/strnlen.S: New file.
43641
8e96b93a
UD
436422010-07-24 Ulrich Drepper <drepper@redhat.com>
43643
43644 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43645 lower-latency instructions.
43646
dbc676d4
UD
436472010-07-23 Ulrich Drepper <drepper@redhat.com>
43648
43649 * string/test-strcasestr.c: New file.
43650 * string/test-strstr.c: New file.
43651 * string/Makefile (strop-tests): Add strstr and strcasestr.
43652 * string/str-two-way.h: Don't undefine MAX.
43653 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43654
f6a31e0e
AS
436552010-07-21 Andreas Schwab <schwab@redhat.com>
43656
43657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43658 strcasestr-nonascii.
43659 (CFLAGS-strcasestr-nonascii.c): Define.
43660 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43661 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43662 Remove unused attribute.
43663
5dbc3b6c
RM
436642010-07-20 Roland McGrath <roland@redhat.com>
43665
43666 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43667 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43668 ld.so.cache was broken. With it, there is no way to disable dsocaps
43669 like LD_HWCAP_MASK can disable hwcaps.
43670
23d101d8
EPM
436712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43672
43673 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43674
cc9f2e47
UD
436752010-07-16 Ulrich Drepper <drepper@redhat.com>
43676
43677 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43678 call in strcasestr.
43679 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43680 __strcasestr_sse42_nonascii.
43681 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43682 strcasestr-nonascii.c.
43683 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43684
77c1b069
LM
436852010-06-15 Luis Machado <luisgpm@br.ibm.com>
43686
43687 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43689 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43690 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43691
440566c3
UD
436922010-07-09 Ulrich Drepper <drepper@redhat.com>
43693
43694 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43695 fcntl.
43696
5be9d05d
AS
436972010-07-06 Andreas Schwab <schwab@redhat.com>
43698
c30b7ee2 43699 [BZ #11577]
5be9d05d
AS
43700 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43701 dl_signal_cerror.
43702
8a492a67
UD
437032010-07-06 Ulrich Drepper <drepper@redhat.com>
43704
43705 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43706 _PC_PIPE_BUF using F_GETPIPE_SZ.
43707
713df3d5
RM
437082010-07-05 Roland McGrath <roland@redhat.com>
43709
43710 * manual/arith.texi (Rounding Functions): Fix rint description
43711 implicit in round description.
43712
702e8f14
UD
437132010-07-02 Ulrich Drepper <drepper@redhat.com>
43714
43715 * elf/Makefile: Fix linking for a few tests to make recent linker
43716 happy.
43717
52ed8be9
AS
437182010-06-30 Andreas Schwab <schwab@redhat.com>
43719
43720 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43721 $(common-objpfx)libc_nonshared.a.
43722
f47c9a11
LM
437232010-06-21 Luis Machado <luisgpm@br.ibm.com>
43724
43725 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43726 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43727 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43728 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43729 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43730 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43731 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43732 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43747 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43748 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43749 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43750 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43751 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43752 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43753 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43754 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43755 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43756 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43757 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43758 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43773
6fb8cbcb
L
437742010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43775
43776 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43777 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43778 * string/memmove.c (memmove): Renamed to ...
43779 (MEMMOVE): ...this. Default to memmove.
43780 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43781 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43782 (END_CHK): Define.
43783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43784 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43785 mempcpy-ssse3-back memmove-ssse3-back.
43786 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43787 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43788 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43789 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43790 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43791 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43792 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43793 * sysdeps/x86_64/multiarch/memmove.c: New file.
43794 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43795 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43796 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43797 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43798 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43799 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43800 Define.
43801 (index_Fast_Copy_Backward): Define.
43802 (HAS_ARCH_FEATURE): Define.
43803 (HAS_FAST_REP_STRING): Define.
43804 (HAS_FAST_COPY_BACKWARD): Define.
43805
4e733bac 438062010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43807
43808 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43809 Restore proper fallback handling.
43810
63c4ed22
UD
438112010-06-19 Ulrich Drepper <drepper@redhat.com>
43812
ac2b484c
UD
43813 [BZ #11701]
43814 * posix/group_member.c (__group_member): Correct checking loop.
43815
63c4ed22
UD
43816 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43817 OOM in getpwuid_r correctly. Return error number when the caller
43818 should return, otherwise -1.
43819 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43820 call returning > 0 value.
43821 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43822
765ade4b
AS
438232010-06-07 Andreas Schwab <schwab@redhat.com>
43824
43825 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43826 libc_nonshared.a from targets in modules-names.
43827
80da2e09
KS
438282010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43829
43830 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43831 requires it.
43832
158db122
LM
438332010-06-10 Luis Machado <luisgpm@br.ibm.com>
43834
43835 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43836 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43837 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43838 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43839
caa78cf8
AS
438402010-06-02 Andreas Schwab <schwab@redhat.com>
43841
43842 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43843
b2ef2c01
UD
438442010-06-14 Ulrich Drepper <drepper@redhat.com>
43845
43846 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43847 and F_GETPIPE_SZ.
43848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43849 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43852 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43854
fbd643b6
RM
438552010-06-14 Roland McGrath <roland@redhat.com>
43856
43857 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43858
f32f2869
JJ
438592010-06-07 Jakub Jelinek <jakub@redhat.com>
43860
43861 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43862 __REDIRECT followed by __THROW.
43863 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43864 * posix/getopt.h (getopt): Likewise.
43865
2a50c078
EPM
438662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43867
43868 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43869 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43870 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43871 in AT_FLAGS.
43872 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43873 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43874
eb5ad2eb
LM
438752010-05-28 Luis Machado <luisgpm@br.ibm.com>
43876
43877 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43878
3c88fe1e
L
438792010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43880
43881 [BZ #11640]
43882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43883 Properly check family and model.
43884
d2f73151
TY
438852010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43886
43887 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43888
ebd2e13d
LM
438892010-05-24 Luis Machado <luisgpm@br.ibm.com>
43890
43891 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43892
b32b8b45
UD
438932010-05-21 Ulrich Drepper <drepper@redhat.com>
43894
43895 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43896 symbol reference.
43897
9acbe24d
AS
438982010-05-19 Andreas Schwab <schwab@redhat.com>
43899
43900 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43901 symbol reference.
43902
f0ccf6ea
AS
439032010-05-21 Andreas Schwab <schwab@redhat.com>
43904
3d04ff3a
AS
43905 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43906 and internal_recvmmsg.
43907 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43908 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43909 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43910 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43911
f0ccf6ea
AS
43912 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43913 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43914 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43915
5b08ac57
AS
439162010-05-20 Andreas Schwab <schwab@redhat.com>
43917
43918 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43919
4828935d
LM
439202010-05-17 Luis Machado <luisgpm@br.ibm.com>
43921
43922 POWER7 optimizations.
43923 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43924 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43925
373d545e
UD
439262010-05-19 Ulrich Drepper <drepper@redhat.com>
43927
43928 * version.h: Update for 2.13 development version.
43929
21a2b1ae
AS
439302010-05-12 Andrew Stubbs <ams@codesourcery.com>
43931
43932 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43933 exceptions. Return 0.
43934
3f7dcb2b
RM
439352010-05-07 Roland McGrath <roland@redhat.com>
43936
43937 * elf/ldconfig.c (main): Add a const.
43938
5f24d53a 439392010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43940
a160f8d8
UD
43941 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43942 (args_options): Add no-idn option.
43943 (ahosts_keys_int): Add idn_flags to ai_flags.
43944 (parse_option): Handle 'i' option to clear idn_flags.
43945
5f24d53a
UD
43946 * malloc/malloc.c (_int_free): Possible race in the most recently
43947 added check. Only act on the data if no current modification
43948 happened.
265bb1ce
UD
43949
43950See ChangeLog.17 for earlier changes.