]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix macro warning on HAVE_PT_CHOWN
[glibc.git] / ChangeLog
CommitLineData
73ba67cb
AS
12014-05-14 Andreas Schwab <schwab@suse.de>
2
3 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5 not definedness.
6
5c521ecd
JM
72014-05-14 Joseph Myers <joseph@codesourcery.com>
8
5e7698c6
JM
9 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10 Define unconditionally.
11 (__ASSUME_O_CLOEXEC): Likewise.
12 (__ASSUME_SOCK_CLOEXEC): Likewise.
13 (__ASSUME_IN_NONBLOCK): Likewise.
14 (__ASSUME_PIPE2): Likewise.
15 (__ASSUME_EVENTFD2): Likewise.
16 (__ASSUME_SIGNALFD4): Likewise.
17 (__ASSUME_DUP3): Likewise.
18 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19 (__ASSUME_DUP3): Do not define.
20 (__ASSUME_EVENTFD2): Likewise.
21 (__ASSUME_IN_NONBLOCK): Likewise.
22 (__ASSUME_O_CLOEXEC): Likewise.
23 (__ASSUME_PIPE2): Likewise.
24 (__ASSUME_SIGNALFD4): Likewise.
25 (__ASSUME_SOCK_CLOEXEC): Likewise.
26 (__ASSUME_UTIMES): Undefine.
27 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28 (__ASSUME_UTIMES): Do not define.
29 (__ASSUME_O_CLOEXEC): Likewise.
30 (__ASSUME_SOCK_CLOEXEC): Likewise.
31 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
32 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33 0x020621].
34 (__ASSUME_PIPE2): Likewise.
35 (__ASSUME_EVENTFD2): Likewise.
36 (__ASSUME_SIGNALFD4): Likewise.
37 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
38 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39 Do not define.
40 (__ASSUME_EVENTFD2): Likewise.
41 (__ASSUME_SIGNALFD4): Likewise.
42 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
43 (__ASSUME_32BITUIDS): Likewise.
44 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45 (__ASSUME_IPC64): Likewise.
46 (__ASSUME_ST_INO_64_BIT): Likewise.
47 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
48 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
49 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50 (__ASSUME_UTIMES): Do not define.
51 (__ASSUME_PSELECT): Likewise.
52 (__ASSUME_PPOLL): Likewise.
53 (__ASSUME_O_CLOEXEC): Likewise.
54 (__ASSUME_SOCK_CLOEXEC): Likewise.
55 (__ASSUME_IN_NONBLOCK): Likewise.
56 (__ASSUME_PIPE2): Likewise.
57 (__ASSUME_EVENTFD2): Likewise.
58 (__ASSUME_SIGNALFD4): Likewise.
59 (__ASSUME_DUP3): Likewise.
60 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
61 (__ASSUME_UTIMES): Likewise.
62 (__ASSUME_O_CLOEXEC): Likewise.
63 (__ASSUME_SOCK_CLOEXEC): Likewise.
64 (__ASSUME_IN_NONBLOCK): Likewise.
65 (__ASSUME_PIPE2): Likewise.
66 (__ASSUME_EVENTFD2): Likewise.
67 (__ASSUME_SIGNALFD4): Likewise.
68 (__ASSUME_DUP3): Likewise.
69 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
70 (__ASSUME_UTIMES): Likewise.
71 (__ASSUME_O_CLOEXEC): Likewise.
72 (__ASSUME_SOCK_CLOEXEC): Likewise.
73 (__ASSUME_IN_NONBLOCK): Likewise.
74 (__ASSUME_PIPE2): Likewise.
75 (__ASSUME_EVENTFD2): Likewise.
76 (__ASSUME_SIGNALFD4): Likewise.
77 (__ASSUME_DUP3): Likewise.
78 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
79 Likewise.
80 (__ASSUME_UTIMES): Likewise.
81 (__ASSUME_EVENTFD2): Likewise.
82 (__ASSUME_SIGNALFD4): Likewise.
83 * sysdeps/unix/sysv/linux/tile/kernel-features.h
84 (__ASSUME_O_CLOEXEC): Likewise.
85 (__ASSUME_SOCK_CLOEXEC): Likewise.
86 (__ASSUME_IN_NONBLOCK): Likewise.
87 (__ASSUME_PIPE2): Likewise.
88 (__ASSUME_EVENTFD2): Likewise.
89 (__ASSUME_SIGNALFD4): Likewise.
90 (__ASSUME_DUP3): Likewise.
91 (__ASSUME_UTIMES): Undefine.
92
5c521ecd
JM
93 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
94 feclearexcept. Remove symbol versioning code.
95 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
96 symbol versioning code.
97 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
98 symbol versioning code.
99 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
100 feupdateenv. Remove symbol versioning code.
101 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
102 fegetexceptflag. Remove symbol versioning code.
103 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
104 fesetexceptflag. Remove symbol versioning code.
105 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
106 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
107 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
108 (__posix_fadvise64_l32): Remove prototype.
109 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
110 code.
111
5da9dfad
RM
1122014-05-13 Roland McGrath <roland@hack.frob.com>
113
114 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
115 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
116 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
117 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
118
893b4f37
SK
1192014-05-13 Sami Kerola <kerolasa@iki.fi>
120
121 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
122 current working directory
123
e0db6517
RM
1242014-05-13 Roland McGrath <roland@hack.frob.com>
125
58aa195d
RM
126 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
127 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
128 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
129 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
130 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
131 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
132 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
133 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
134 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
135 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
136 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
137 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
138 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
139 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
140 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
141 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
142 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
144 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
145 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
146 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
148 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
149 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
150 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
151 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
152 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
153 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
154 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
155 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
156 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
157 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
158 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
159 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
160 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
161 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
162 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
163 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
164 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
165 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
166 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
167 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
168
8c6d01f0
RM
169 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
170 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
171
172 * sysdeps/unix/sysv/linux/arm/Makefile
173 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
174 Add rt-aeabi_unwind_cpp_pr1.
175 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
176 Add nptl-aeabi_unwind_cpp_pr1.
177 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
178 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
179 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
180 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
181 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
182 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
183
184 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
185 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
186 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
187 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
188
bba6da4e
RM
189 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
190 Deconditionalize the code that was previously under [RESET_PID].
191 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
192
e0db6517
RM
193 * sysdeps/generic/exit-thread.h: New file.
194 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
195 * include/unistd.h (__exit_thread): Remove declaration.
196 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
197 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
198 * csu/libc-start.c: Include <exit-thread.h>.
199 (LIBC_START_MAIN): Pass no argument to __exit_thread.
200 * nptl/pthread_create.c: Include <exit-thread.h>.
201 (start_thread): Call __exit_thread in place of __exit_thread_inline.
202 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
203 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
204 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
205 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
206 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
207 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
208 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
209 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
210 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
211 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
212 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
213 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
214 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
215 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
216 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
217 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
218
01eb16fd
AS
2192014-05-13 Andreas Schwab <schwab@suse.de>
220
221 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
222
637461d9
JM
2232014-05-12 Joseph Myers <joseph@codesourcery.com>
224
225 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
226 (__ASSUME_UTIMES): Do not condition on kernel version.
227 (__ASSUME_PSELECT): Define unconditionally.
228 (__ASSUME_PPOLL): Likewise.
229 (__ASSUME_ATFCTS): Likewise.
230 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
231 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
232 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
233 (__ASSUME_UTIMENSAT): Define unconditionally.
234 (__ASSUME_PRIVATE_FUTEX): Likewise.
235 (__ASSUME_FALLOCATE): Likewise.
236 (__ASSUME_O_CLOEXEC): Likewise.
237 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
238 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
239 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
240 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
241 (__ASSUME_IN_NONBLOCK): Likewise.
242 (__ASSUME_PIPE2): Likewise.
243 (__ASSUME_EVENTFD2): Likewise.
244 (__ASSUME_SIGNALFD4): Likewise.
245 (__ASSUME_DUP3): Likewise.
246 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
247 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
248 (__ASSUME_AT_RANDOM): Likewise.
249 (__ASSUME_PREADV): Likewise.
250 (__ASSUME_PWRITEV): Likewise.
251 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
252 (__ASSUME_F_GETOWN_EX): Define unconditionally.
253 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
254 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
255 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
256 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
257 (__ASSUME_O_CLOEXEC): Define unconditionally.
258 (__ASSUME_PSELECT): Do not undefine conditionally.
259 (__ASSUME_PPOLL): Likewise.
260 (__ASSUME_ATFCTS): Likewise.
261 (__ASSUME_SET_ROBUST_LIST): Likewise.
262 (__ASSUME_UTIMENSAT): Likewise.
263 (__ASSUME_FDATASYNC): Define unconditionally.
264 * sysdeps/unix/sysv/linux/arm/kernel-features.h
265 (__ASSUME_SIGFRAME_V2): Likewise.
266 )__ASSUME_EVENTFD2): Likewise.
267 (__ASSUME_SIGNALFD4): Likewise.
268 (__ASSUME_PSELECT): Do not undefine conditionally.
269 (__ASSUME_PPOLL): Likewise.
270 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
271 (__ASSUME_PSELECT): Define unconditionally.
272 (__ASSUME_PPOLL): Likewise.
273 (__ASSUME_O_CLOEXEC): Likewise.
274 (__ASSUME_SOCK_CLOEXEC): Likewise.
275 (__ASSUME_IN_NONBLOCK): Likewise.
276 (__ASSUME_PIPE2): Likewise.
277 (__ASSUME_EVENTFD2): Likewise.
278 (__ASSUME_SIGNALFD4): Likewise.
279 (__ASSUME_DUP3): Likewise.
280 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
281 (__ASSUME_O_CLOEXEC): Likewise.
282 (__ASSUME_SOCK_CLOEXEC): Likewise.
283 (__ASSUME_IN_NONBLOCK): Likewise.
284 (__ASSUME_PIPE2): Likewise.
285 (__ASSUME_EVENTFD2): Likewise.
286 (__ASSUME_SIGNALFD4): Likewise.
287 (__ASSUME_DUP3): Likewise.
288 * sysdeps/unix/sysv/linux/mips/kernel-features.h
289 (__ASSUME_EVENTFD2): Likewise.
290 (__ASSUME_SIGNALFD4): Likewise.
291 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
292
315eb1d8
AS
2932014-05-12 Andreas Schwab <schwab@suse.de>
294
295 [BZ #16932]
296 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
297 (_nss_nis_gethostbyname4_r): Return error if item length is larger
298 than maximum RPC packet size.
299 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
300 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
301 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
302 (_nss_nis_getservbyport_r): Likewise.
303
91df99f7
WN
3042014-05-12 Will Newton <will.newton@linaro.org>
305
306 * malloc/Makefile (tests): Add tst-mallopt.
307 * malloc/tst-mallopt.c: New file.
308
0a982a29
RM
3092014-05-09 Roland McGrath <roland@hack.frob.com>
310
311 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
312 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
313
0ded08a5
AZ
3142014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
315
316 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
317 (tst-tlsmod6.so): Likewise.
318
55d4d550
RM
3192014-05-09 Roland McGrath <roland@hack.frob.com>
320
321 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
322
77d08aca
JM
3232014-05-09 Joseph Myers <joseph@codesourcery.com>
324
325 [BZ #16064]
326 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
327 and <dl-procinfo.h>.
328 (__fegetenv): Save SSE state in envp->__eip if supported.
329 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
330 envp->__eip if supported.
331 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
332 and <dl-procinfo.h>.
333 (__fesetenv): Always set __eip, __cs_selector, __opcode,
334 __data_offset and __data_selector in environment to 0. Set SSE
335 state if supported.
336 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
337 test-fenv-sse.
338 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
339 -mfpmath=sse.
340 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
341
28162f4d
WN
3422014-05-09 Will Newton <will.newton@linaro.org>
343
344 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
345 and libc_relro_required for ARM.
346 * sysdeps/arm/preconfigure: Regenerate.
347
5a414ff7
DV
3482014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
349 Stefan Liebler <stli@linux.vnet.ibm.com>
350
351 * config.make.in (enable-lock-elision): New Makefile variable.
352 * configure.ac: Likewise.
353 * configure: Regenerate.
354 * sysdeps/s390/configure.ac:
355 Add check for gcc transactions support.
356 * sysdeps/s390/configure: Regenerate.
357 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
358 Build elision files if enabled.
359 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
360 Add lock elision support for s390.
361 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
362 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
363 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
364 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
365 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
366 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
367 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
368 Likewise.
369 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
370 Likewise.
371 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
372 Likewise.
373 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
374 Likewise.
375 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
376 (__lll_timedlock_elision, __lll_lock_elision)
377 (__lll_unlock_elision, __lll_trylock_elision)
378 (lll_timedlock_elision, lll_lock_elision)
379 (lll_unlock_elision, lll_trylock_elision): Add.
380 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
381 (pthread_mutex_t): Add lock elision support for s390.
382
f63c86fe
WN
3832014-05-09 Will Newton <will.newton@linaro.org>
384
385 * sysdeps/arm/armv7/strcmp.S: New file.
386 * NEWS: Mention addition of ARMv7 optimized strcmp.
387
7a1a51b5
RM
3882014-05-08 Roland McGrath <roland@hack.frob.com>
389
95afbbe5
RM
390 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
391 look for %.ac rather than %.in.
392
393 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
394 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
395 * sysdeps/mach/hurd/configure: Regenerated.
396 * sysdeps/unix/sysv/linux/configure: Regenerated.
397
7a1a51b5
RM
398 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
399
5057ad3b
SE
4002014-05-07 Steve Ellcey <sellcey@mips.com>
401
402 [BZ# 16922]
403 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
404 (LONG_SUB): Ditto.
405 (PTR_SUB): Ditto.
406
8dc97517
AS
4072014-05-07 Andreas Schwab <schwab@suse.de>
408
409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
410 when skipping over non-matching result from nscd.
411
ce0c5b8f
OB
4122014-05-07 Ondřej Bílka <neleai@seznam.cz>
413
414 [BZ #16876]
415 * nptl/sockperf.c (client): Check socket return value.
8dc97517 416
a1189263
OB
417 [BZ #16877]
418 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
419 nscd security class.
ce0c5b8f 420
0f58d252
RM
4212014-05-06 Roland McGrath <roland@hack.frob.com>
422
423 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
424 * sysdeps/arm/unwind.h: ... here.
425
83df9ad0
AJ
4262014-05-06 Aurelien Jarno <aurelien@aurel32.net>
427
ce0c5b8f
OB
428 [BZ# 16916]
429 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
430 Define.
83df9ad0 431
f360f94a
VR
4322014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
433
434 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
435 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
436 multiarch strncpy for PPC64.
437 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
438 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
440 multiarch optimizations.
441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
442 (__libc_ifunc_impl_list): Likewise.
443 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
444 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
445 multiarch stpncpy for PPC64.
446 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
447 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
448
978a41c3
AS
4492014-05-06 Andreas Schwab <schwab@suse.de>
450
451 [BZ #16912]
452 * gmon/mcount.c (_MCOUNT_DECL): Use
453 atomic_compare_and_exchange_bool_acq instead of
454 catomic_compare_and_exchange_bool_acq.
455
eb1ed03d
RM
4562014-05-05 Roland McGrath <roland@hack.frob.com>
457
fe658845
RM
458 * elf/Makefile (others, install-bin): Remove pldd.
459 (pldd-modules): Variable removed.
460 ($(objpfx)pldd): Target removed.
461 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
462 (others, install-bin): Append pldd here.
463 ($(objpfx)pldd): New target.
464
eb1ed03d
RM
465 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
466 to 0, so the first #if test emitted later doesn't see it undefined.
467 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
468 * sysdeps/gnu/errlist.c: Regenerated.
469
19c4bec0
AZ
4702014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
471
472 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
473 [libc_hidden_builtin_def]: Define to empty value.
474 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
475 [libc_hidden_builtin_def]: Likewise.
476 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
477 [libc_hidden_builtin_def]: Likewise.
478 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
479 [libc_hidden_builtin_def]: Likewise.
480 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
481 __redirect_memcpy and define ifunc as default hidden symbol.
482 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
483 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
484
7776e669
AC
4852014-05-04 Adam Conrad <adconrad@0c3.net>
486
487 * locale/iso-4217.def: Reintroduce XDR currency.
488
d69aeb12
AM
4892014-05-04 Allan McRae <allan@archlinux.org>
490
491 * po/eo.po: Update Esperanto translation from translation project.
492
8f1df5cf
CD
4932014-05-02 Carlos O'Donell <carlos@redhat.com>
494
495 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
496 and FEATURE_INDEX_MAX to 1.
497 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
498
13e402e7
SE
4992014-05-01 Steve Ellcey <sellcey@mips.com>
500
501 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
502 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
503 * iconvdata/big5.c (ONE_DIRECTION): Define.
504 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
505 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
506 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
507 * iconvdata/cp932.c (ONE_DIRECTION): Define.
508 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
509 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
510 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
511 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
512 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
513 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
514 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
515 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
516 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
517 * iconvdata/gbk.c (ONE_DIRECTION): Define.
518 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
519 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
520 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
521 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
522 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
523 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
524 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
525 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
526 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
527 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
528 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
529 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
530 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
531 * iconvdata/iso646.c (ONE_DIRECTION): Define.
532 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
533 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
534 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
535 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
536 * iconvdata/johab.c (ONE_DIRECTION): Define.
537 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
538 * iconvdata/sjis.c (ONE_DIRECTION): Define.
539 * iconvdata/t.61.c (ONE_DIRECTION): Define.
540 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
541 * iconvdata/tscii.c (ONE_DIRECTION): Define.
542 * iconvdata/uhc.c (ONE_DIRECTION): Define.
543 * iconvdata/unicode.c (ONE_DIRECTION): Define.
544 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
545 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
546 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
547
c727f032
RM
5482014-05-01 Roland McGrath <roland@hack.frob.com>
549
8f2f08d0
RM
550 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
551 (_IO_JUMPS_OFFSET): Define to 0.
552
c727f032
RM
553 * nptl/sysdeps/pthread/bits/libc-lock.h
554 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
555 (__libc_lock_define_initialized_recursive): Always define using
556 initializer. Modern compilers treat uninitialized (implicit zero) and
557 explicit zero initializers the same (i.e. put the datum in bss).
558
a849e800
AS
5592014-05-01 Andreas Schwab <schwab@linux-m68k.org>
560
561 * nscd/nscd-client.h: Include <string.h>.
562
5331255b
DM
5632014-05-01 David S. Miller <davem@davemloft.net>
564
565 [BZ #16885]
566 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
567 multiple zero bytes exist at the end of a string.
568 Reported by Aurelien Jarno <aurelien@aurel32.net>
569
570 * string/test-strcmp.c (check): Add explicit test for situations where
571 there are multiple zero bytes after the first.
572
4fdfe821
AS
5732014-05-01 Andreas Schwab <schwab@linux-m68k.org>
574
575 [BZ #16890]
576 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
577 when compiling wprintf.
578 * stdio-common/tstdiomisc.c (t3): New function.
579 (main): Call it.
580
0cdddc25
SE
5812014-05-01 Steve Ellcey <sellcey@mips.com>
582
583 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
584 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
585 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
586 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
587
6426d77e
SE
5882014-05-01 Steve Ellcey <sellcey@mips.com>
589
590 * stdlib/longlong.h: Updated from GCC.
591
6d96f5e4
WN
5922014-05-01 Will Newton <will.newton@linaro.org>
593 Bernard Ogden <bernie.ogden@linaro.org>
594
7470db0c
WN
595 * NEWS: Update fixed bug list.
596
6d96f5e4
WN
597 [BZ #15119]
598 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
599
211d653c
DM
6002014-04-30 David S. Miller <davem@davemloft.net>
601
4fa262fa
DM
602 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
603 (libc_feholdexcept_setround_sparc_ctx): New function.
604 (libc_fesetenv_sparc_ctx): Likewise.
605 (libc_feupdateenv_sparc_ctx): Likewise.
606 (libc_feholdsetround_sparc_ctx): Likewise.
607 (libc_feholdexcept_setround_ctx): Define.
608 (libc_feholdexcept_setroundf_ctx): Likewise.
609 (libc_feholdexcept_setroundl_ctx): Likewise.
610 (libc_fesetenv_ctx): Likewise.
611 (libc_fesetenvf_ctx): Likewise.
612 (libc_fesetenvl_ctx): Likewise.
613 (libc_feupdateenv_ctx): Likewise.
614 (libc_feupdateenvf_ctx): Likewise.
615 (libc_feupdateenvl_ctx): Likewise.
616 (libc_feresetround_ctx): Likewise.
617 (libc_feresetroundf_ctx): Likewise.
618 (libc_feresetroundl_ctx): Likewise.
619 (libc_feholdsetround_ctx): Likewise.
620 (libc_feholdsetroundf_ctx): Likewise.
621 (libc_feholdsetroundl_ctx): Likewise.
622
1d3d93ef
DM
623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
624 with __USE_GNU instead of XOPEN cpp guards.
625
8aa583c3
DM
626 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
627 0.
628
211d653c
DM
629 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
630 with XOPEN cpp guards.
631
60c8f1f6
JB
6322014-04-30 Julian Brown <julian@codesourcery.com>
633
634 [BZ #16888]
635 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
636 handling.
637
9a461d46
JM
6382014-04-30 Joseph Myers <joseph@codesourcery.com>
639
d0f5b3f8
JM
640 [BZ #9894]
641 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
642 Change to 2.6.32.
643 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
644 * sysdeps/unix/sysv/linux/configure: Regenerated.
645 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
646 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
647 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
648 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
649 * README: Update reference to required Linux kernel version.
650 * manual/install.texi (Linux): Update reference to required Linux
651 kernel headers version.
652 * INSTALL: Regenerated.
653
9a461d46
JM
654 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
655 header inclusion.
656 [POSIX] (limits.h): Likewise.
657 [POSIX] (math.h): Likewise.
658 [POSIX] (sys/wait.h): Likewise.
659 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
660 function.
661 [POSIX] (stddef.h): Do not allow header inclusion.
662
1775babf
AZ
6632014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
664
57f41c40 665 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 666
8f630cca
YY
6672014-04-30 Yang Yingliang <yangyingliang@huawei.com>
668
669 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
670 Return immediately after lll_futex_wake.
671
1cdeb237
SP
6722014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
673
bc8f194c
SP
674 [BZ #16791]
675 * nscd/nscd-client.h (datahead_init_common): Initialize entire
676 structure.
677 (datahead_init_pos): Call datahead_init_common early.
678 (datahead_init_neg): Likewise.
679
1cdeb237
SP
680 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
681 datahead_init_neg): New functions.
682 * nscd/aicache.c (addhstaiX): Use them.
683 * nscd/grpcache.c (cache_addgr): Likewise.
684 * nscd/hstcache.c (cache_addhst): Likewise.
685 * nscd/initgrcache.c (addinitgroupsX): Likewise.
686 * nscd/netgroupcache.c (do_notfound): Likewise.
687 (addgetnetgrentX): Likewise.
688 (addinnetgrX): Likewise.
689 * nscd/pwdcache.c (cache_addpw): Likewise.
690 * nscd/servicescache.c (cache_addserv): Likewise.
691
16b293a7
SP
6922014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
693 Atsushi Onoe <atsushi@onoe.org>
694
695 [BZ #14308]
696 [BZ #12994]
697 [BZ #13651]
698 * resolv/res_query.c (__libc_res_nsearch): Return if at least
699 one response is valid.
700 * resolv/res_send.c (send_dg): Check for validity of other
701 response if the current response is a referral.
702
a28a9b94
SE
7032014-04-29 Steve Ellcey <sellcey@mips.com>
704
705 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
706
2ca180e9
SL
7072014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
708
709 [BZ #16823]
710 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
711 Always divide by positive zero when computing -Inf result.
712 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
713 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
714
18f2945a
AZ
7152014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
716
717 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
718 FPSCR if value do not change.
719 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
720 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
721 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
722 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
723 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
724 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
725 function.
726
5abebba4
CD
7272014-05-29 Carlos O'Donell <carlos@systemhalted.org>
728
729 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
730 * sysdeps/unix/sysv/linux/hppa: Move directory from
731 ports/systeps/unix/sysv/linux/hppa.
732 * README: Update listing for hppa-*-linux-gnu.
733
f7ed60c2
OB
7342014-04-28 Ondřej Bílka <neleai@seznam.cz>
735
fff763a5
OB
736 [BZ #16754]
737 * manual/stdio.texi (Hook functions): Fix types of stream hook
738 functions.
f7ed60c2
OB
739 [BZ #16854]
740 * socket/sys/socket.h: Fix typo in comment.
741
df639d73
WD
7422014-04-28 Wilco <wdijkstr@arm.com>
743
f7ed60c2 744 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
745 * sysdeps/arm/math_private.h: New file.
746 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
747
48332d82
L
7482014-04-25 H.J. Lu <hongjiu.lu@intel.com>
749
750 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
751 with __int128_t.
752 (La_x86_64_retval): Likewise.
753
e5e0d9a4
IB
7542014-04-24 Ian Bolton <ian.bolton@arm.com>
755
756 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
757 fpsr if value didn't change.
758 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
759 to fpcr if value didn't change.
760 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
761 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
762 fpsr or fpcr if value didn't change.
763 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
764 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
765 fpcr if value didn't change.
766 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
767 to fpsr if value didn't change.
768
bacc75f7
SP
7692014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
770
771 * nptl/tst-sem3.c: Use test-skeleton.c
772 (main): Rename to do_test. Use return instead of
773 exit.
774 * nptl/tst-sem4.c: Use test-skeleton.c
775 (main): Rename to do_test.
776
a059d359
DM
7772014-04-22 David S. Miller <davem@davemloft.net>
778
779 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
780 (struct sigaction): New struct member __glibc_reserved0, change
781 type of sa_flags to int.
782
ea6c92f3
YZ
7832014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
784
785 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
786 (COUNT_LEADING_ZEROS_0): Define for AArch64.
787
766c4a36
SP
7882014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
789
790 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
791 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
792
140cc7ab
VK
7932014-04-22 Will Newton <will.newton@linaro.org>
794 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
795
796 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
797 (__longjmp): Add longjmp and longjmp_target SystemTap
798 probes.
799 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
800 (__sigsetjmp): Add setjmp SystemTap probe.
801
c54e5cf7
CD
8022014-04-17 Carlos O'Donell <carlos@redhat.com>
803
804 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
805 match manual order.
806
75ffb047
AZ
8072014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
808
809 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
810
2cd925f7
AZ
811 * sysdeps/powerpc/fpu/fenv_private.h
812 (libc_feholdexcept_setroundl_ctx): Define to
813 libc_feholdexcept_setround_ppc_ctx.
814 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
815 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
816 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
817 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
818
39e6cd8d
IB
8192014-04-17 Ian Bolton <ian.bolton@arm.com>
820
821 * sysdeps/aarch64/math-tests.h: New file.
822
f9281df9
SY
8232014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
824
825 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
826 New.
827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
828 Check and set bit_AVX2_Usable.
829 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
830 macro.
831 (bit_AVX2): Likewise.
832 (index_AVX2_Usable): Likewise.
833 (CPUID_AVX2): Likewise.
834 (HAS_AVX2): Likewise.
835
37d35007
WN
8362014-04-17 Will Newton <will.newton@linaro.org>
837
7c677662
WN
838 * manual/setjmp.texi (System V contexts): Add note that
839 calling setcontext on a context created by a call to a
840 signal handler is undefined. Update text to note that
841 setcontext from a signal handler is possible but not
842 recommended.
843
37d35007 844 [BZ #16629]
e04a4e9d
WN
845 * stdlib/tst-setcontext.c: Include signal.h.
846 (main): Check that the signal stack before and
847 after swapcontext is the same.
848
37d35007
WN
849 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
850 Re-implement to restore registers in user code and avoid
851 rt_sigreturn system call.
852
423a7160
W
8532014-04-17 Wilco <wdijkstr@arm.com>
854
855 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
856 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
857 * math/test-fenv.c: Skip exception trap tests on targets which only
858 support non-stop mode.
859
bc93ab29
IB
8602014-04-17 Ian Bolton <ian.bolton@arm.com>
861 Wilco Dijkstra <wilco.dijkstra@arm.com>
862
863 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
864 (libc_feholdsetround_aarch64_ctx)
865 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
866 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
867 (libc_feresetround_ctx, libc_feresetroundf_ctx)
868 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
869 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
870 (libc_feresetround_noexl_ctx): Define.
871
95fc5fa3
RH
8722014-04-16 Richard Henderson <rth@redhat.com>
873
ddb04724
RH
874 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
875
d77c0899
RH
876 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
877 unwind tables.
878
a3df56fc
RH
879 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
880 const from the non-libc, non-ldso copy.
881
95fc5fa3
RH
882 * sysdeps/alpha/libm-test-ulps: Regenerate.
883
7e0b6763
IB
8842014-04-16 Ian Bolton <ian.bolton@arm.com>
885 Wilco Dijkstra <wilco.dijkstra@arm.com>
886
887 * sysdeps/aarch64/fpu/math_private.h: New file.
888
a9ea2e0c
MS
8892014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
890
891 * sysdeps/aarch64/libm-test-ulps: Regenerate.
892
ea8ba7cd
IZ
8932014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
894
895 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
896 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
897 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
898 Intel MPX bound registers before _dl_profile_fixup.
899 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
900 registers after _dl_profile_fixup. Save and restore bound
901 registers bnd0/bnd1 when calling _dl_call_pltexit.
902 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
903 (LR_BND_OFFSET): Likewise.
904 (LRV_BND0_OFFSET): Likewise.
905 (LRV_BND1_OFFSET): Likewise.
906
9f2a4fbc
ST
9072014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
908
909 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
910 to...
911 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
912 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
913 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
914 fields.
9f2a4fbc 915
fd15a59b
ST
9162014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
917
918 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
919
f19dfa0a
SL
9202014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
921
922 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
923
4fa8bc3b
SL
9242014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
925
926 [BZ #14770]
927 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
928 * sysdeps/s390/configure: Regenerate.
929
8ea587db
SL
930 [BZ #16824]
931 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
932 Set round-to-nearest internally to reduce error accumulation.
933
aa5f0ff1
AM
9342014-04-16 Alan Modra <amodra@gmail.com>
935
936 [BZ #16740]
937 [BZ #16619]
938 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
939 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 940 * NEWS: Update fixed bug list.
aa5f0ff1 941
bb9c256f
SP
9422014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
943
944 * benchtests/Makefile: Depend on libraries in build directory.
945 (bench-math): Separate out math tests.
946 (bench-pthread): Separate out pthread tests.
947 (bench): Include math and pthread tests.
948
f737dfd0
CD
9492014-04-14 Carlos O'Donell <carlos@redhat.com>
950
951 [BZ #16831]
952 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
953 _dl_debug_initialize.
954
0699f766
CD
955 * configure.ac: Remove SELinux header check.
956 * configure: Regenerate.
957 * nscd/selinux.c (perms): Array of const char* to permission names.
958 (nscd_request_avc_has_perm): Call security_deny_unknown to find
959 default policy. Call string_to_security_class and string_to_av_perm to
960 translate strings. Enforce default policy and call avs_has_perm with
961 results of translated strings.
962
809bd45f
DM
9632014-04-13 David S. Miller <davem@davemloft.net>
964
965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
966
89e691f2
AM
9672014-04-12 Allan McRae <allan@archlinux.org>
968
969 [BZ #16838]
970 * manual/string.texi (Collation Functions): Fix qsort argument
971 order in example.
972 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
973
9c9daaeb
CM
9742014-04-11 Chris Metcalf <cmetcalf@tilera.com>
975
976 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
977 Make the test a no-op if there are no exceptions defined.
978
95561fb9
PP
9792014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
980
fe8d072c 981 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
982 enable-hardcoded-path-in-tests
983
970c602a
WN
9842014-04-11 Will Newton <will.newton@linaro.org>
985
986 * benchtests/Makefile (extra-objs): Add json-lib.o.
987 (bench-func): Tidy up JSON output.
988 * benchtests/bench-skeleton.c: Include json-lib.h.
989 (main): Use JSON library functions to do output of
990 benchmark results.
991 * benchtests/bench-timing-type.c (main): Output the
992 timing type simply, leaving formatting to the user.
993 * benchtests/json-lib.c: New file.
994 * benchtests/json-lib.h: Likewise.
995
36875b06
TR
9962014-04-11 Torvald Riegel <triegel@redhat.com>
997
998 [BZ #15215]
999 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1000 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1001 memory barriers. Add comments.
1002 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1003 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1004 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1005 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1006 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1007 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1008
579db35a
SL
10092014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1010
1011 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1012 * sysdeps/s390/s390-64/configure.ac: ... this ...
1013 * sysdeps/s390/configure.ac: ... to here.
1014 * sysdeps/s390/s390-32/configure: Delete file.
1015 * sysdeps/s390/s390-64/configure: Delete file.
1016 * sysdeps/s390/configure: Regenerate.
1017
c12e9f37
JAPH
10182014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1019
1020 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1021
439bda32
WN
10222014-04-11 Will Newton <will.newton@linaro.org>
1023
1024 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1025 to zero if it is not defined elsewhere. (mtrim): Test
1026 the value of MALLOC_DEBUG with #if rather than #ifdef.
1027
6a5d6ea1
TR
10282014-04-10 Torvald Riegel <triegel@redhat.com>
1029
1030 * benchtests/pthread_once-inputs: New file.
1031 * benchtests/pthread_once-source.c: New file.
1032 * benchtests/README: Update documentation.
1033
a4c75cfd
IZ
10342014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1035 H.J. Lu <hongjiu.lu@intel.com>
1036
1037 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1038 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1039 * sysdeps/x86_64/configure: Regenerated.
1040 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1041 macro.
1042 (REGISTER_SAVE_RAX): Likewise.
1043 (REGISTER_SAVE_RCX): Likewise.
1044 (REGISTER_SAVE_RDX): Likewise.
1045 (REGISTER_SAVE_RSI): Likewise.
1046 (REGISTER_SAVE_RDI): Likewise.
1047 (REGISTER_SAVE_R8): Likewise.
1048 (REGISTER_SAVE_R9): Likewise.
1049 (REGISTER_SAVE_BND0): Likewise.
1050 (REGISTER_SAVE_BND1): Likewise.
1051 (REGISTER_SAVE_BND2): Likewise.
1052 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1053 bound registers when calling _dl_fixup.
1054
27822ce6
AZ
10552014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1056
1057 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1058 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1059 of its definition.
27822ce6
AZ
1060 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1061 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1062 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1063 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1064 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1065 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1066 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1067
a88ddc90
PTB
10682014-04-09 Peter Brett <peter@peter-b.co.uk>
1069
1070 [BZ #15514]
1071 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1072 pathconf(_PC_NAME_MAX).
1073
01f8eac2
AZ
10742014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1075
1076 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1077 Remove macro usage.
1078 (__PTHREAD_SPINS): Move definition to ...
1079 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1080 (__PTHREAD_SPINS): ... here.
1081 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1082 (__PTHREAD_SPIN): Likewise.
1083 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1084 (__PTHREAD_SPIN): Likewise.
1085 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1086 (__PTHREAD_SPIN): Likewise.
1087 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1088 (__PTHREAD_SPIN): Likewise.
1089 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1090 (__PTHREAD_SPIN): Likewise.
1091 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1092 (__PTHREAD_SPIN): Likewise.
1093 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1094 (__PTHREAD_SPIN): Likewise.
1095 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1096 (__PTHREAD_SPIN): Likewise.
1097 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1098 (__PTHREAD_SPIN): Likewise.
1099 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1100 (__PTHREAD_SPIN): Likewise.
1101 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1102 (__PTHREAD_SPIN): Likewise.
1103 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1104 (__PTHREAD_SPIN): Likewise.
1105
de21c33c
AZ
1106 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1107 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1108 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1109 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1110 imply folder.
1111 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1112 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1113 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1114 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1115 correct imply path.
1116 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1117 strlen symbol for non multi-arch builds.
1118 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1119 missing hidden_def and weak_alias.
1120
862c472e
CD
11212014-04-08 Carlos O'Donell <carlos@redhat.com>
1122
1123 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1124
8667f90e
WN
11252014-04-07 Will Newton <will.newton@linaro.org>
1126
1127 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1128 and contents. [!_LIBC] Remove #ifndef and contents.
1129 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1130 * string/memccpy.c (__memccpy): Use ANSI prototype.
1131 * string/memfrob.c (memfrob): Likewise.
1132 * string/strcoll.c (STRCOLL): Likewise.
1133 * string/strlen.c (strlen): Likewise.
1134 * string/strtok.c (STRTOK): Likewise.
1135 * string/strcat.c: Remove unused #include of memcopy.h.
1136 (strcat): Use ANSI prototype.
1137 * string/strchr.c: Remove unused #include of memcopy.h.
1138 (strchr): Use ANSI prototype.
1139 * string/strcmp.c: Remove unused #include of memcopy.h.
1140 (strcmp): Use ANSI prototype.
1141 * string/strcpy.c: Remove unused #include of memcopy.h.
1142 (strcpy): Use ANSI prototype.
1143
7ffa9423
AZ
11442014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1145
1146 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1147 * config.make.in (config-extra-cppflags): Set it from
1148 libc_extra_cppflags.
1149 * configure.ac (libc_extra_cflags): Make it accumulate over
1150 configure fragments.
1151 (libc_extra_cppflags): New flag.
1152 * configure. Regenerate.
1153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
1154 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1155 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1157
8bd70862
AZ
1158 [BZ #16815]
1159 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1160 result for FE_DOWNWARD rounding mode.
1161 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1162 Likewise.
1163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1164
d42f3448
CM
11652014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1166
1167 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1168 in function argument name.
1169
1c21d115
DS
11702014-04-03 David Svoboda <svoboda@cert.org>
1171
1172 [BZ #5666]
1173 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1174 explicitly.
1175
fcccd512
RM
11762014-04-03 Roland McGrath <roland@hack.frob.com>
1177
1178 * elf/dl-unmap-segments.h: New file.
1179 * sysdeps/generic/ldsodefs.h
1180 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1181 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1182 * elf/dl-fptr.c: Likewise.
1183 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1184 * sysdeps/aarch64/tlsdesc.c: Likewise.
1185 * sysdeps/arm/tlsdesc.c: Likewise.
1186 * sysdeps/i386/tlsdesc.c: Likewise.
1187 * sysdeps/tile/dl-runtime.c: Likewise.
1188 * sysdeps/x86_64/tlsdesc.c: Likewise.
1189 * elf/dl-load.h: New file.
1190 * elf/dl-load.c: Include it.
1191 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1192 Macros moved to dl-load.h.
1193 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1194 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1195 Use _dl_unmap_segments in place of __munmap.
1196 Break out segment-mapping loop into ...
1197 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1198
f6488e2b
WN
11992014-04-03 Will Newton <will.newton@linaro.org>
1200
1201 * elf/dl-lookup.c (do_lookup_x): Remove comment
1202 referring to nested function and move variable
1203 declarations down to before first use.
1204
6f05bafe
JM
12052014-04-02 Joseph Myers <joseph@codesourcery.com>
1206
a84e78c8
JM
1207 [BZ #16799]
1208 [BZ #16800]
1209 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1210 with 0 numerator.
1211 * math/s_catanf.c (__catanf): Likewise.
1212 * math/s_catanh.c (__catanh): Likewise.
1213 * math/s_catanhf.c (__catanhf): Likewise.
1214 * math/s_catanhl.c (__catanhl): Likewise.
1215 * math/s_catanl.c (__catanl): Likewise.
1216 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1217 by positive zero when computing -Inf result.
1218 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1219 (catanh_test): Likewise.
1220 * sysdeps/i386/fpu/libm-test-ulps: Update.
1221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1222
6f05bafe
JM
1223 [BZ #16789]
1224 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1225 instead of using underflowing value in computing result.
1226 * math/s_clog10.c (__clog10): Likewise.
1227 * math/s_clog10f.c (__clog10f): Likewise.
1228 * math/s_clog10l.c (__clog10l): Likewise.
1229 * math/s_clogf.c (__clogf): Likewise.
1230 * math/s_clogl.c (__clogl): Likewise.
1231 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1232 (clog10_test): Likewise.
1233 * sysdeps/i386/fpu/libm-test-ulps: Update.
1234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1235
b0abbc21
AM
12362014-04-02 Alan Modra <amodra@gmail.com>
1237
1238 [BZ #16739]
1239 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1240 output when value is near a power of two. Use int64_t for lx and
1241 remove casts. Use decimal rather than hex exponent constants.
1242 Don't use long double multiplication when double will suffice.
1243 * math/libm-test.inc (nextafter_test_data): Add tests.
1244 * NEWS: Add 16739 and 16786 to bug list.
1245
af6b1797
AM
1246 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1247
483818d7
AM
1248 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1249
f6c55796
WN
12502014-04-01 Will Newton <will.newton@linaro.org>
1251
1252 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1253 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1254
13f7fe35
FW
12552014-04-01 Florian Weimer <fweimer@redhat.com>
1256
1257 [BZ #13347]
1258 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1259 * nptl/tst-setuid2.c: New file.
1260 * nptl/Makefile (xtests): Add tst-setuid2.
1261
c859b32e
AM
12622014-04-01 Alan Modra <amodra@gmail.com>
1263
1264 [BZ #16786]
1265 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1266
54fa2475
JM
12672014-03-31 Joseph Myers <joseph@codesourcery.com>
1268
8795b4a4
JM
1269 [BZ #6803]
1270 [BZ #6804]
1271 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1272 set errno as appropriate.
1273 * math/w_scalbf.c (__scalbf): Likewise.
1274 * math/w_scalbl.c (__scalbl): Likewise.
1275 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1276 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1277 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1278 Add more NaN tests.
1279
54fa2475
JM
1280 [BZ #16349]
1281 * math/w_atan2.c: Include <errno.h>.
1282 (__atan2): Set errno for result underflowing to zero.
1283 * math/w_atan2f.c: Include <errno.h>.
1284 (__atan2f): Set errno for result underflowing to zero.
1285 * math/w_atan2l.c: Include <errno.h>.
1286 (__atan2l): Set errno for result underflowing to zero.
1287 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1288 tests.
1289 * math/auto-libm-test-out: Regenerated.
1290
757d9dd5
AZ
12912014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1292
1293 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1294 Encode instruction correctly in little endian.
1295 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1296 Likewise.
1297 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1298 Likewise.
1299 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1300 Likewise.
1301 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1302 Likewise.
1303
d7a68734
JM
13042014-03-31 Joseph Myers <joseph@codesourcery.com>
1305
47c5adeb
JM
1306 [BZ #9894]
1307 * sysdeps/unix/sysv/linux/kernel-features.h
1308 [__sparc__ && !__arch64__ && !__sparc_v9__]
1309 (__ASSUME_SET_ROBUST_LIST): Do not define.
1310 [__sparc__ && !__arch64__ && !__sparc_v9__]
1311 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1312 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1313 Likewise.
1314 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1315 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1316 (__ASSUME_REQUEUE_PI): Likewise.
1317 (__ASSUME_SET_ROBUST_LIST): Likewise.
1318 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1319 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1320 Undefine.
1321 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1322 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1323 Likewise.
1324 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1325 Likewise.
1326 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1327 Likewise.
1328 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1329 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1330 Undefine.
1331 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1332 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1333 Likewise.
1334
d7a68734
JM
1335 [BZ #16648]
1336 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1337 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1338 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1339
c760f5c2
WN
13402014-03-31 Will Newton <will.newton@linaro.org>
1341
1342 * benchtests/Makefile (bench): Add ffs and ffsll to list
1343 of tests.
1344 * benchtests/ffs-inputs: New file.
1345 * benchtests/ffsll-inputs: Likewise.
1346
ea6029b1
JM
13472014-03-29 Joseph Myers <joseph@codesourcery.com>
1348
1349 [BZ #16770]
1350 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1351 too large before casting to int.
1352 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1353 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1354 * math/libm-test.inc (scalb_test_data): Add more tests.
1355
cf806aff
SP
13562014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1357
56737508
SP
1358 * benchtests/Makefile (DETAILED_OPT): New make option.
1359 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1360 set.
1361 * benchtests/bench-skeleton.c: Include stdbool.h.
1362 (main): Store and print timings per input.
1363 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1364 member to each argument value.
1365 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1366 (_print_arg_data): Initialize per-input timing to 0.
1367
cb5e4aad
SP
1368 * benchtests/Makefile (timing-type): New binary.
1369 (bench-clean): Also remove bench-timing-type.
1370 (bench): New target for timing-type.
1371 (bench-func): Print output in JSON format.
1372 * benchtests/bench-skeleton.c (main): Print output in JSON
1373 format.
1374 * benchtests/bench-timing-type.c: New file.
1375 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1376 (TIMING_PRINT_STATS): Remove.
1377 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1378 name separately.
1379
cf806aff
SP
1380 * benchtests/bench-modf.c: Remove.
1381 * benchtests/modf-inputs: New inputs file.
1382
289e0779
JM
13832014-03-28 Joseph Myers <joseph@codesourcery.com>
1384
1385 [BZ #16362]
1386 * math/s_clog10.c (M_PI_LOG10E): New macro.
1387 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1388 imaginary parts are 0.
1389 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1390 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1391 imaginary parts are 0.
1392 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1393 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1394 imaginary parts are 0.
1395 * math/libm-test.inc (clog10_test_data): Update expected results
1396 for when real and imaginary parts are 0.
1397
277ae3f1
PP
13982014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1399
1400 * elf/dl-load.c: Finish conversion of __builtin_expect into
1401 __glibc_{un}likely.
1402
03a7091f
JM
14032014-03-27 Joseph Myers <joseph@codesourcery.com>
1404
1405 [BZ #16348]
1406 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1407 1+x for argument with exponent below -67.
1408 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1409 Likewise.
1410 * math/auto-libm-test-in: Add more tests of exp.
1411 * math/auto-libm-test-out: Regenerated.
1412
ea7d8b95
SP
14132014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1414
dd3022d7
SP
1415 [BZ #16759]
1416 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1417 (nscd_getnetgrent): Use it.
1418
ea7d8b95
SP
1419 [BZ #16760]
1420 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1421 of stpcpy.
1422
df5b85da
AK
14232014-03-27 Andi Kleen <ak@linux.intel.com>
1424
57f41c40
AS
1425 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1426 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1427 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1428 (lll_robust_unlock): Remove out of line section. Use cfi
1429 intrinsics.
df5b85da 1430 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
1431 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1432 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1433 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1434 (lll_robust_unlock): Remove out of line section. Use cfi
1435 intrinsics.
df5b85da
AK
1436 (LLL_STUB_UNWIND_INFO*): Remove.
1437
fbd6b5a4
SP
14382014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1439
1440 [BZ #16758]
1441 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1442 blank values.
1443
1b26b855
PP
14442014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1445
1446 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1447
9be36fb8
JM
14482014-03-26 Joseph Myers <joseph@codesourcery.com>
1449
1450 [BZ #16198]
1451 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1452 fnstenv.
1453 * math/test-fenv-preserve.c: New file.
1454 * math/Makefile (tests): Add test-fenv-preserve.
1455
60a2f3c1
WN
14562014-03-26 Will Newton <will.newton@linaro.org>
1457
1458 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1459
a5e5f1e2
RM
14602014-03-25 Roland McGrath <roland@hack.frob.com>
1461
1462 * scripts/versionlist.awk: Partition the version sets and emit all
1463 GLIBC_* (sorted) before all others (sorted).
1464
00f4012a
JM
14652014-03-25 Joseph Myers <joseph@codesourcery.com>
1466
1467 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1468 GLIBC_2.2.5 version.
1469
7bc5a741
AZ
14702014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1471
1472 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1473 calls.
1474
7578473b
AZ
1475 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1476 previous change.
1477
f3f1dab3
AZ
1478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1479
6da36183
AS
14802014-03-25 Andreas Schwab <schwab@suse.de>
1481
1482 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1483 label to be used after in6ailist is initialized.
1484
f3f1dab3 14852014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 1486
7578473b 1487 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
1488 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1489
046651c1
JM
14902014-03-25 Joseph Myers <joseph@codesourcery.com>
1491
1492 [BZ #16357]
1493 [BZ #16599]
1494 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1495 min_plus_half.
1496 (fp_formats): Update initializers.
1497 (init_fp_formats): Initialize new field.
1498 (output_for_one_input_case): Allow underflow for results up to
1499 min_plus_half.
1500 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1501 * math/auto-libm-test-in: Don't mark some underflows from asin and
1502 atanh as spurious.
1503 * math/auto-libm-test-out: Regenerated.
1504 * sysdeps/i386/fpu/libm-test-ulps: Update.
1505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1506
003e49ed
AS
15072014-03-25 Andreas Schwab <schwab@suse.de>
1508
1509 * libio/Makefile (tst-ftell-partial-wide-ENV)
1510 (tst-ftell-active-handler-ENV): Define.
1511
de031874
SL
15122014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1513
1514 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1515
55a81e3b
PP
15162014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1517
1518 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1519
f3426898
JM
15202014-03-24 Joseph Myers <joseph@codesourcery.com>
1521
1522 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1523 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1524 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1525
a42faf59
PP
15262014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1527
1528 [BZ #16634]
a42faf59 1529 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
1530 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1531 (open_path): Change from boolean 'secure' to complete flag 'mode'
1532 (_dl_map_object): Adjust.
a42faf59
PP
1533 * elf/Makefile (tests): Add tst-dlopen-aout.
1534 * elf/tst-dlopen-aout.c: New test.
1535
50936127
SL
15362014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1537
1538 [BZ #16714]
1539 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1540 (struct stat): Rename member pad0 to __glibc_reserved0.
1541
26011b5c
SL
1542 [BZ #16712]
1543 * sysdeps/s390/s390-32/bits/wordsize.h
1544 (__WORDSIZE32_SIZE_ULONG): New define.
1545 * sysdeps/s390/s390-64/bits/wordsize.h
1546 (__WORDSIZE32_SIZE_ULONG): Likewise.
1547 * sysdeps/generic/stdint.h (SIZE_MAX):
1548 Define as UL if __WORDSIZE32_SIZE_ULONG.
1549
a2d86bf1
SL
1550 [BZ #16713]
1551 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1552 (__glibc_reserved0): New variable.
1553 (sa_flags): Change type to int.
1554
78b6eebc
SL
1555 * posix/Makefile (before-compile): Use += before-compile instead
1556 of a :=.
1557
f1399b5a
SL
1558 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1559 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1560
a071766e
AS
15612014-03-20 Andreas Schwab <schwab@suse.de>
1562
1563 [BZ #16743]
1564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1565 non-matching result from nscd.
1566
27c673b8
SP
15672014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1568
1569 * scripts/bench.py: Moved to ...
1570 * benchtests/scripts/bench.py: ... here.
1571 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1572
44152e4b
AS
15732014-03-24 Andreas Schwab <schwab@suse.de>
1574
1575 [BZ #16002]
1576 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1577 alloca_account and account alloca use for struct in6ailist.
1578
b376a11a
JM
15792014-03-24 Joseph Myers <joseph@codesourcery.com>
1580
1581 [BZ #16284]
1582 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1583 rounding mode to recompute results that overflow to infinity or
1584 underflow to zero.
1585 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1586 bug 16284.
1587 * math/auto-libm-test-out: Regenerated.
1588 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1589 (ccosh_test): Likewise.
1590 (csin_test_data): Use plus_oflow.
1591 (csin_test): Use ALL_RM_TEST.
1592 (csinh_test_data): Use plus_oflow.
1593 (csinh_test): Use ALL_RM_TEST.
1594 * sysdeps/i386/fpu/libm-test-ulps: Update.
1595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1596
f7be7376
JM
15972014-03-21 Joseph Myers <joseph@codesourcery.com>
1598
1ca2d03e
JM
1599 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1600 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1601 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1602
f7be7376
JM
1603 [BZ #16731]
1604 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1605 when x - 1 is zero.
1606 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1607 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1608 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1609 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1610 argument is 1.
1611 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1612 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1613 zero.
1614 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1615 * sysdeps/i386/fpu/libm-test-ulps: Update.
1616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1617
fdf4534d
SP
16182014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1619
df26ea53
SP
1620 * scripts/bench.pl: Remove file.
1621 * scripts/bench.py: New benchmark script.
1622 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1623 * benchtests/README: Mention python dependency.
1624 * scripts/pylintrc: New file.
1625 * scripts/pylint: New file.
1626
fdf4534d
SP
1627 * bits/mathdef.h: Use #ifdef instead of #if.
1628 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1629 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1630 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1631 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1632 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1633 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1634
6f23d093
AZ
16352014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1636 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1637
1638 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1640 and strpbrk-ppc64 objects.
1641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1642 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1643 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1644 multiarch strpbrk for POWER7.
1645 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1646 multiarch strpbrk for PPC64.
1647 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1648 ifunc selector.
1649 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1650 strpbrk for POWER7.
1651
8c92dfff
JM
16522014-03-20 Joseph Myers <joseph@codesourcery.com>
1653
1654 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1655 (atan_test): Likewise.
1656 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1657 (atanh_test): Use ALL_RM_TEST.
1658 (atan2_test_data): Likewise.
1659 (cabs_test): Likewise.
1660 (cacosh_test): Likewise.
1661 (carg_test): Likewise.
1662 (casin_test): Likewise.
1663 (casinh_test): Likewise.
1664 (cbrt_test): Likewise.
1665 (csqrt_test): Likewise.
1666 (erf_test): Likewise.
1667 (erfc_test): Likewise.
1668 (pow10_test): Likewise.
1669 (exp2_test): Likewise.
1670 (hypot_test): Likewise.
1671 (j0_test): Likewise.
1672 (j1_test): Likewise.
1673 (lgamma_test): Likewise.
1674 (gamma_test): Likewise.
1675 (sincos_test): Likewise.
1676 (tanh_test): Likewise.
1677 (y0_test): Likewise.
1678 (y1_test): Likewise.
1679 * sysdeps/i386/fpu/libm-test-ulps: Update.
1680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1681
6eaf95cb
AZ
16822014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1683
a387428c
SP
1684 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1686 and strcspn-ppc64 objects.
1687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1688 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1689 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1690 multiarch strcspn for POWER7.
1691 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1692 multiarch strcspn for PPC64.
1693 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1694 ifunc selector.
1695 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1696 strcspn for POWER7.
1697
ae3a5dff
JM
16982014-03-20 Joseph Myers <joseph@codesourcery.com>
1699
1700 * math/gen-libm-test.pl (generate_testfile): Expect only function
1701 name as argument to AUTO_TESTS_* and pass results for all rounding
1702 modes to parse_args.
1703 (parse_auto_input): Separate inputs of automatic tests from
1704 outputs before storing in %auto_tests.
1705 * math/libm-test.inc (acos_test_data): Update call to
1706 AUTO_TESTS_f_f.
1707 (acos_test): Use ALL_RM_TEST.
1708 (acos_tonearest_test_data): Remove.
1709 (acos_test_tonearest): Likewise.
1710 (acos_towardzero_test_data): Likewise.
1711 (acos_test_towardzero): Likewise.
1712 (acos_downward_test_data): Likewise.
1713 (acos_test_downward): Likewise.
1714 (acos_upward_test_data): Likewise.
1715 (acos_test_upward): Likewise.
1716 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1717 (asin_test_data): Likewise.
1718 (asin_test): Use ALL_RM_TEST.
1719 (asin_tonearest_test_data): Remove.
1720 (asin_test_tonearest): Likewise.
1721 (asin_towardzero_test_data): Likewise.
1722 (asin_test_towardzero): Likewise.
1723 (asin_downward_test_data): Likewise.
1724 (asin_test_downward): Likewise.
1725 (asin_upward_test_data): Likewise.
1726 (asin_test_upward): Likewise.
1727 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1728 (atan_test_data): Likewise.
1729 (atanh_test_data): Likewise.
1730 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1731 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1732 (carg_test_data): Likewise.
1733 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1734 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1735 (ccosh_test_data): Likewise.
1736 (cexp_test_data): Likewise.
1737 (clog_test_data): Likewise.
1738 (clog10_test_data): Likewise.
1739 (cos_test_data): Update call to AUTO_TESTS_f_f.
1740 (cos_test): Use ALL_RM_TEST.
1741 (cos_tonearest_test_data): Remove.
1742 (cos_test_tonearest): Likewise.
1743 (cos_towardzero_test_data): Likewise.
1744 (cos_test_towardzero): Likewise.
1745 (cos_downward_test_data): Likewise.
1746 (cos_test_downward): Likewise.
1747 (cos_upward_test_data): Likewise.
1748 (cos_test_upward): Likewise.
1749 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1750 (cosh_test): Use ALL_RM_TEST.
1751 (cosh_tonearest_test_data): Remove.
1752 (cosh_test_tonearest): Likewise.
1753 (cosh_towardzero_test_data): Likewise.
1754 (cosh_test_towardzero): Likewise.
1755 (cosh_downward_test_data): Likewise.
1756 (cosh_test_downward): Likewise.
1757 (cosh_upward_test_data): Likewise.
1758 (cosh_test_upward): Likewise.
1759 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1760 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1761 (ctan_test_data): Likewise.
1762 (ctan_test): Use ALL_RM_TEST.
1763 (ctan_tonearest_test_data): Remove.
1764 (ctan_test_tonearest): Likewise.
1765 (ctan_towardzero_test_data): Likewise.
1766 (ctan_test_towardzero): Likewise.
1767 (ctan_downward_test_data): Likewise.
1768 (ctan_test_downward): Likewise.
1769 (ctan_upward_test_data): Likewise.
1770 (ctan_test_upward): Likewise.
1771 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1772 (ctanh_test): Use ALL_RM_TEST.
1773 (ctanh_tonearest_test_data): Remove.
1774 (ctanh_test_tonearest): Likewise.
1775 (ctanh_towardzero_test_data): Likewise.
1776 (ctanh_test_towardzero): Likewise.
1777 (ctanh_downward_test_data): Likewise.
1778 (ctanh_test_downward): Likewise.
1779 (ctanh_upward_test_data): Likewise.
1780 (ctanh_test_upward): Likewise.
1781 (erf_test_data): Update call to AUTO_TESTS_f_f.
1782 (erfc_test_data): Likewise.
1783 (exp_test_data): Likewise.
1784 (exp_test): Use ALL_RM_TEST.
1785 (exp_tonearest_test_data): Remove.
1786 (exp_test_tonearest): Likewise.
1787 (exp_towardzero_test_data): Likewise.
1788 (exp_test_towardzero): Likewise.
1789 (exp_downward_test_data): Likewise.
1790 (exp_test_downward): Likewise.
1791 (exp_upward_test_data): Likewise.
1792 (exp_test_upward): Likewise.
1793 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1794 (exp10_test): Use ALL_RM_TEST.
1795 (exp10_tonearest_test_data): Remove.
1796 (exp10_test_tonearest): Likewise.
1797 (exp10_towardzero_test_data): Likewise.
1798 (exp10_test_towardzero): Likewise.
1799 (exp10_downward_test_data): Likewise.
1800 (exp10_test_downward): Likewise.
1801 (exp10_upward_test_data): Likewise.
1802 (exp10_test_upward): Likewise.
1803 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1804 (expm1_test_data): Likewise.
1805 (expm1_test): Use ALL_RM_TEST.
1806 (expm1_tonearest_test_data): Remove.
1807 (expm1_test_tonearest): Likewise.
1808 (expm1_towardzero_test_data): Likewise.
1809 (expm1_test_towardzero): Likewise.
1810 (expm1_downward_test_data): Likewise.
1811 (expm1_test_downward): Likewise.
1812 (expm1_upward_test_data): Likewise.
1813 (expm1_test_upward): Likewise.
1814 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1815 (fma_test): Use ALL_RM_TEST.
1816 (fma_towardzero_test_data): Remove.
1817 (fma_test_towardzero): Likewise.
1818 (fma_downward_test_data): Likewise.
1819 (fma_test_downward): Likewise.
1820 (fma_upward_test_data): Likewise.
1821 (fma_test_upward): Likewise.
1822 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1823 (j0_test_data): Update call to AUTO_TESTS_f_f.
1824 (j1_test_data): Likewise.
1825 (jn_test_data): Update call to AUTO_TESTS_if_f.
1826 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1827 (log_test_data): Update call to AUTO_TESTS_f_f.
1828 (log10_test_data): Likewise.
1829 (log1p_test_data): Likewise.
1830 (log2_test_data): Likewise.
1831 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1832 (pow_tonearest_test_data): Likewise.
1833 (sin_test_data): Update call to AUTO_TESTS_f_f.
1834 (sin_test): Use ALL_RM_TEST.
1835 (sin_tonearest_test_data): Remove.
1836 (sin_test_tonearest): Likewise.
1837 (sin_towardzero_test_data): Likewise.
1838 (sin_test_towardzero): Likewise.
1839 (sin_downward_test_data): Likewise.
1840 (sin_test_downward): Likewise.
1841 (sin_upward_test_data): Likewise.
1842 (sin_test_upward): Likewise.
1843 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1844 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1845 (sinh_test): Use ALL_RM_TEST.
1846 (sinh_tonearest_test_data): Remove.
1847 (sinh_test_tonearest): Likewise.
1848 (sinh_towardzero_test_data): Likewise.
1849 (sinh_test_towardzero): Likewise.
1850 (sinh_downward_test_data): Likewise.
1851 (sinh_test_downward): Likewise.
1852 (sinh_upward_test_data): Likewise.
1853 (sinh_test_upward): Likewise.
1854 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1855 (sqrt_test): Use ALL_RM_TEST.
1856 (sqrt_tonearest_test_data): Remove.
1857 (sqrt_test_tonearest): Likewise.
1858 (sqrt_towardzero_test_data): Likewise.
1859 (sqrt_test_towardzero): Likewise.
1860 (sqrt_downward_test_data): Likewise.
1861 (sqrt_test_downward): Likewise.
1862 (sqrt_upward_test_data): Likewise.
1863 (sqrt_test_upward): Likewise.
1864 (tan_test_data): Update call to AUTO_TESTS_f_f.
1865 (tan_test): Use ALL_RM_TEST.
1866 (tan_tonearest_test_data): Remove.
1867 (tan_test_tonearest): Likewise.
1868 (tan_towardzero_test_data): Likewise.
1869 (tan_test_towardzero): Likewise.
1870 (tan_downward_test_data): Likewise.
1871 (tan_test_downward): Likewise.
1872 (tan_upward_test_data): Likewise.
1873 (tan_test_upward): Likewise.
1874 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1875 (tgamma_test_data): Likewise.
1876 (y0_test_data): Likewise.
1877 (y1_test_data): Likewise.
1878 (yn_test_data): Update call to AUTO_TESTS_if_f.
1879 (main): Do not call removed functions.
1880
d71aeee8
JM
18812014-03-19 Joseph Myers <joseph@codesourcery.com>
1882
1883 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1884 (ldexp_test_data): Remove.
1885 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1886 scalbn_test_data.
1887 (scalb_test): Use ALL_RM_TEST.
1888
baaf1ded
AS
18892014-03-19 Andreas Schwab <schwab@suse.de>
1890
1891 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1892
b1115e91
JM
18932014-03-19 Joseph Myers <joseph@codesourcery.com>
1894
1895 [BZ #16649]
1896 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1897 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1898 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1900 (__ASSUME_PREADV): Undefine.
1901 (__ASSUME_PWRITEV): Likewise.
1902
0283ecca
RM
19032014-03-18 Roland McGrath <roland@hack.frob.com>
1904
7d375303
RM
1905 * bits/mman-linux.h: Add comment about non-Linux use.
1906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1907 bits/mman-linux.h resting place.
1908
0283ecca
RM
1909 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1910 * bits/mman-linux.h: ... here.
1911
aebe1003
AZ
19122014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1913
1914 * conform/conformtest.pl: Add standard definition when calling C
1915 preprocessor on data files.
1916 (checknamespace): Remove unused variable.
1917
b29b6bb8
JM
19182014-03-18 Joseph Myers <joseph@codesourcery.com>
1919
1920 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1921 minus_oflow, plus_uflow and minus_uflow in expected results.
1922 * math/libm-test.inc (scalbn_test_data): Add more tests of
1923 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1924 minus_uflow.
1925 (scalbn_test): Use ALL_RM_TEST.
1926 (scalbln_test_data): Add more tests of negative arguments. Use
1927 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1928 (scalbln_test): Use ALL_RM_TEST.
1929
c8f8fa15
RM
19302014-03-18 Roland McGrath <roland@hack.frob.com>
1931
1932 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1933
fede7a5f
WN
19342014-03-18 Will Newton <will.newton@linaro.org>
1935
1936 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1937 inaccurate comment.
1938
80cf0a58
JM
19392014-03-18 Joseph Myers <joseph@codesourcery.com>
1940
1941 * Makerules [!subdir] (check-abi): Exit with error status if a
1942 test failed.
1943
b3620862
JM
19442014-03-17 Joseph Myers <joseph@codesourcery.com>
1945
1946 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1947 for rint. Include results for all rounding modes.
1948 (nearbyint_test): Use ALL_RM_TEST.
1949 (rint_test_data): Include all tests used for nearbyint.
1950
788bba36
WN
19512014-03-17 Will Newton <will.newton@linaro.org>
1952
04ec140a
WN
1953 * nptl/sysdeps/pthread/pthread.h: Revert previous
1954 change.
1955
7579d8d5
WN
1956 * sysdeps/generic/ldsodefs.h: Revert previous
1957 change.
1958
c15cf13a
WN
1959 * libio/genops.c: Revert previous change.
1960 * libio/libioP.h: Likewise.
1961 * stdio-common/vfprintf.c: Likewise.
1962
d0ac1324
WN
1963 * sysdeps/generic/math_private.h: Revert previous
1964 change.
1965
9290130a
WN
1966 * sysdeps/generic/math_private.h: Check whether
1967 HAVE_RM_CTX is defined with #ifdef rather
1968 than #if.
1969
afb466fc
WN
1970 * argp/argp-fmtstream.h: Check whether
1971 __STRICT_ANSI__ is defined with #ifdef rather
1972 than #if.
1973 * argp/argp.h: Likewise.
1974
f7efd7c3
WN
1975 * libio/genops.c: Check whether
1976 _IO_JUMPS_OFFSET is defined with #ifdef rather
1977 than #if.
1978 * libio/libioP.h: Likewise.
1979 * stdio-common/vfprintf.c: Likewise.
1980
53f1bed3
WN
1981 * sysdeps/generic/ldsodefs.h: Check whether
1982 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1983 than #if.
1984
788bba36
WN
1985 * nptl/sysdeps/pthread/pthread.h: Check
1986 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1987 its value.
1988
fcd89ebe
SP
19892014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1990
ae42bbc5
SP
1991 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1992 setting O_APPEND.
1993 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1994 test case.
1995
ea33158c
SP
1996 [BZ #16680]
1997 * libio/fileops.c (_IO_file_open): Seek to end of file but
1998 don't cache the offset.
1999 (get_file_offset): Remove function.
2000 (do_ftell): Use cached offset when available.
2001 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2002 don't cache the offset.
2003 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2004 case.
2005 (do_one_test): Call it.
2006 (do_ftell_test): Fix up expected old offset for a+ mode.
2007 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2008 available.
2009
b1dbb426
SP
2010 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2011 up test status with function return status.
2012 (do_write_test): Likewise.
2013 (do_append_test): Likewise.
2014
fcd89ebe
SP
2015 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2016 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2017 Remove.
2018
9962a2d3
JM
20192014-03-17 Joseph Myers <joseph@codesourcery.com>
2020
2021 * math/gen-libm-test.pl (parse_args): Handle results specified for
2022 each rounding mode separately.
2023 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2024 tests and results from lrint_tonearest_test_data,
2025 lrint_towardzero_test_data, lrint_downward_test_data and
2026 lrint_upward_test_data.
2027 (lrint_test): Use ALL_RM_TEST.
2028 (lrint_tonearest_test_data): Remove.
2029 (lrint_test_tonearest): Likewise.
2030 (lrint_towardzero_test_data): Likewise.
2031 (lrint_test_towardzero): Likewise.
2032 (lrint_downward_test_data): Likewise.
2033 (lrint_test_downward): Likewise.
2034 (lrint_upward_test_data): Likewise.
2035 (lrint_test_upward): Likewise.
2036 (llrint_test_data): Merge in per-rounding-mode tests and results
2037 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2038 llrint_downward_test_data and llrint_upward_test_data.
2039 (llrint_test): Use ALL_RM_TEST.
2040 (llrint_tonearest_test_data): Remove.
2041 (llrint_test_tonearest): Likewise.
2042 (llrint_towardzero_test_data): Likewise.
2043 (llrint_test_towardzero): Likewise.
2044 (llrint_downward_test_data): Likewise.
2045 (llrint_test_downward): Likewise.
2046 (llrint_upward_test_data): Likewise.
2047 (llrint_test_upward): Likewise.
2048 (rint_test_data): Merge in per-rounding-mode tests and results
2049 from rint_tonearest_test_data, rint_towardzero_test_data,
2050 rint_downward_test_data and rint_upward_test_data. Add
2051 per-rounding-mode results for tests not in those arrays.
2052 (rint_test): Use ALL_RM_TEST.
2053 (rint_tonearest_test_data): Remove.
2054 (rint_test_tonearest): Likewise.
2055 (rint_towardzero_test_data): Likewise.
2056 (rint_test_towardzero): Likewise.
2057 (rint_downward_test_data): Likewise.
2058 (rint_test_downward): Likewise.
2059 (rint_upward_test_data): Likewise.
2060 (rint_test_upward): Likewise.
2061 (main): Don't call removed functions.
2062
5006148e
RM
20632014-03-14 Roland McGrath <roland@hack.frob.com>
2064
2065 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2066 "Compiled on ..." crapola. It is anti-useful.
2067
d6fe5e58
JM
20682014-03-14 Joseph Myers <joseph@codesourcery.com>
2069
2070 * scripts/evaluate-test.sh: Handle fourth argument to determine
2071 whether test run should stop on failure.
2072 * Makeconfig (stop-on-test-failure): New variable.
2073 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2074 $(stop-on-test-failure).
2075 * Makefile (tests): Give a summary of results from testing and
2076 exit with failure status if they include an ERROR or FAIL.
2077 (xtests): Likewise.
2078 * manual/install.texi (Configuring and compiling): Mention
2079 stop-on-test-failure=y.
2080 * INSTALL: Regenerated.
2081
498a2233
RM
20822014-03-14 Roland McGrath <roland@hack.frob.com>
2083
22dbc19d
RM
2084 * scripts/versionlist.awk: New file.
2085 * Makerules [$(build-shared) = yes]
2086 (postclean-generated): Add Versions.def, not Versions.def.v and
2087 Versions.def.v.i.
2088 ($(common-objpfx)Versions.def.v.i): Target removed.
2089 ($(common-objpfx)Versions.def): New target.
2090 ($(common-objpfx)Versions.all): Depend on that rather that
2091 $(common-objpfx)Versions.def.v.
2092 * Versions.def: File removed.
2093
498a2233
RM
2094 * Makeconfig (+gccwarn): Add -Wundef.
2095 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2096 a dl-sysdep.h breaking its contract.
2097 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2098 * include/stackinfo.h: New file.
2099 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2100 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2101 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2102 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2103 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2104 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2105 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2106 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2107 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2108 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2109 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2110 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2111 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2112 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2113 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2114
c7de5025
AZ
21152014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2116
2117 [BZ #16707]
2118 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2119 implementation.
2120 * math/libm-test.inc (round_test_data): Add more tests.
2121
98fb27a3
AZ
2122 [BZ #16706]
2123 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2124 implementation.
2125 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2126
374f7f61
AZ
2127 [BZ #16701]
2128 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2129 implementation.
2130 * math/libm-test.inc (ceil_test_data): Add more tests.
2131
4655c291
AZ
2132 * math/libm-test.inc (trunc_test_data): Add more tests related to
2133 BZ#16414.
2134
d7329d4b
RM
21352014-03-14 Roland McGrath <roland@hack.frob.com>
2136
2137 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2138 with #if rather than #ifdef.
2139 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2140
aa4de9ce
L
21412014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2142
2143 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2144 first. Disable AVX-512 GCC support if assembler doesn't support
2145 it.
2146 * sysdeps/x86_64/configure: Regenerated.
2147
2e03fae7
CD
21482014-03-13 Carlos O'Donell <carlos@redhat.com>
2149
2150 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2151 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2152 (__old_pthread_attr_setstack): Likewise.
2153 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2154 [!_STACK_GROWS_DOWN]: Likewise.
2155
43ca83ec
MF
21562014-03-13 Mike Frysinger <vapier@gentoo.org>
2157
2158 * config.make.in (have-bash2): Delete.
2159 * configure.ac (libc_cv_have_bash2): Delete.
2160 * configure: Regenerate.
2161 * elf/Makefile (common-ldd-rewrite): Rename to ...
2162 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2163 (sh-ldd-rewrite): Delete.
2164 (bash-ldd-rewrite): Delete.
2165 (have-bash2): Delete checks.
57f41c40
AS
2166 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2167 ldd-rewrite.
c66e48b4
MF
2168
2169 * config.make.in (have-ksh): Delete.
2170 (KSH): Delete.
2171 * configure.ac (libc_cv_have_ksh): Delete.
2172 * configure: Regenerate.
2173
b93834ef
MF
2174 * elf/Makefile: Delete $(have-ksh) check.
2175 ($(objpfx)sotruss): Change KSH to BASH.
2176 * elf/sotruss.ksh: Rename to ...
2177 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2178 function style to match POSIX. Drop ksh vim mode setting.
2179
f3a4632a
MF
2180 * manual/time.texi (Specifying the Time Zone with TZ): Change
2181 Tuesday to Thursday.
2182
5896c8bd
MF
2183 * debug/tst-longjmp_chk2.c: Update header comment.
2184 (stackoverflow_handler): Add comment. Call assert on pass value.
2185
2d63a517
IZ
21862014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2187
2188 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2189 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2190 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2191 (La_x86_64_vector): Add zmm.
2192 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2193 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2194 ($(objpfx)tst-audit10): New target.
2195 ($(objpfx)tst-audit10.out): Likewise.
2196 (tst-audit10-ENV): New.
2197 (AVX512-CFLAGS): Likewise.
2198 (CFLAGS-tst-audit10.c): Likewise.
2199 (CFLAGS-tst-auditmod10a.c): Likewise.
2200 (CFLAGS-tst-auditmod10b.c): Likewise.
2201 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2202 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2203 * sysdeps/x86_64/configure: Regenerated.
2204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2205 AVX-512 zmm register support.
2206 (_dl_x86_64_save_sse): Likewise.
2207 (_dl_x86_64_restore_sse): Likewise.
2208 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2209 size vector registers.
2210 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2211 (ZMM_SIZE): Likewise.
2212 * sysdeps/x86_64/tst-audit10.c: New file.
2213 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2214 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2215
44c4e5d5
RM
22162014-03-13 Roland McGrath <roland@hack.frob.com>
2217
2218 * configure.ac (HAVE_EHDR_START): New check.
2219 * configure: Regenerated.
2220 * config.h.in (HAVE_EHDR_START): New #undef.
2221 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2222 assuming the lowest-addressed segment maps the start of the file.
2223
acd6e389
JM
22242014-03-13 Joseph Myers <joseph@codesourcery.com>
2225
2226 * INSTALL: Regenerated.
2227
6f918f36
WN
22282014-03-13 Will Newton <will.newton@linaro.org>
2229
2230 * manual/setjmp.texi (System V contexts): Improve
2231 clarity and grammar of documentation.
2232
798212a0
PP
22332014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2234
2235 [BZ #16381]
798212a0 2236 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 2237 (tests-pie): Add tst-pie2.
798212a0
PP
2238 * elf/tst-pie2.c: New file.
2239 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2240 for ET_EXEC.
2241 * elf/rtld.c (map_doit): Load executable as lt_executable.
2242 (dl_main): Likewise.
2243
abe6d90c
JM
22442014-03-12 Joseph Myers <joseph@codesourcery.com>
2245
2246 [BZ #16642]
2247 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2248 (__ASSUME_PSELECT): Undefine.
2249
dd3946c6
AZ
22502014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2251
2252 [BZ #16689]
2253 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2254 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2255 static build.
2256 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2257 selector for static builds.
2258
c44496df
SP
22592014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2260
2261 [BZ #16695]
2262 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2263 key in the buffer.
2264
27c7220a
AZ
22652014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2266
57f41c40
AS
2267 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2268 IFUNC selector for static builds.
27c7220a 2269
600fa361
JM
22702014-03-11 Joseph Myers <joseph@codesourcery.com>
2271
76c96cf7
JM
2272 * sysdeps/mips/math_private.h [__mips_hard_float]
2273 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2274 libc_feresetround_mips_ctx.
2275 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2276 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2277 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2278
600fa361
JM
2279 [BZ #16677]
2280 * math/s_nextafter.c (__nextafter): Do not return value from
2281 overflowing computation.
2282 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2283 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2284 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2285 Likewise.
2286 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2287 Likewise.
2288 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2289 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2290
d7706c32
RM
22912014-03-11 Roland McGrath <roland@hack.frob.com>
2292
2293 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2294 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2295 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2296 the new mov targetting sp.
2297
4facea47
AZ
22982014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2299
2300 [BZ #16683]
2301 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2302 Define it for static builds as well.
2303 (NO_BZERO_IMPL): Likewise.
2304
e65caf1f
VR
23052014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2306
2307 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2308 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2309 multiarch strspn for PPC64.
2310 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2311 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2313 (__libc_ifunc_impl_list): Likewise.
2314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2315 multiarch optimizations
2316 * string/strspn.c (strspn): Using macro to redefine symbol name.
2317
ba9cc071
AZ
23182014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2319 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2320
2321 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2322 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2323 multiarch strncat for PPC64.
2324 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2325 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2327 (__libc_ifunc_impl_list): Likewise.
2328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2329 multiarch optimizations
2330
8b4ff974
SP
23312014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2332
2333 [BZ #16639]
2334 * nscd/nscd.service: Make service type forking.
2335
54b46a4b
AZ
23362014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2337
2338 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2339 sign in non default rounding modes.
2340 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2341
e9996ef7
JM
23422014-03-08 Joseph Myers <joseph@codesourcery.com>
2343
2344 * math/libm-test.inc (ALL_RM_TEST): New macro.
2345 (ceil_test): Use ALL_RM_TEST.
2346 (cimag_test): Likewise.
2347 (conj_test): Likewise.
2348 (copysign_test): Likewise.
2349 (cproj_test): Likewise.
2350 (creal_test): Likewise.
2351 (fabs_test): Likewise.
2352 (floor_test): Likewise.
2353 (fmax_test): Likewise.
2354 (fmin_test): Likewise.
2355 (fmod_test): Likewise.
2356 (fpclassify_test): Likewise.
2357 (frexp_test): Likewise.
2358 (ilogb_test): Likewise.
2359 (isfinite_test): Likewise.
2360 (finite_test): Likewise.
2361 (isgreater_test): Likewise.
2362 (isgreaterequal_test): Likewise.
2363 (isinf_test): Likewise.
2364 (isless_test): Likewise.
2365 (islessequal_test): Likewise.
2366 (islessgreater_test): Likewise.
2367 (isnan_test): Likewise.
2368 (isnormal_test): Likewise.
2369 (issignaling_test): Likewise.
2370 (isunordered_test): Likewise.
2371 (logb_test): Likewise.
2372 (logb_downward_test_data): Remove.
2373 (logb_test_downward): Likewise.
2374 (lround_test): Use ALL_RM_TEST.
2375 (llround_test): Likewise.
2376 (modf_test): Likewise.
2377 (nexttoward_test): Likewise.
2378 (remainder_test): Likewise.
2379 (drem_test): Likewise.
2380 (remainder_tonearest_test_data): Likewise.
2381 (remainder_test_tonearest): Likewise.
2382 (drem_test_tonearest): Likewise.
2383 (remainder_towardzero_test_data): Likewise.
2384 (remainder_test_towardzero): Likewise.
2385 (drem_test_towardzero): Likewise.
2386 (remainder_downward_test_data): Likewise.
2387 (remainder_test_downward): Likewise.
2388 (drem_test_downward): Likewise.
2389 (remainder_upward_test_data): Likewise.
2390 (remainder_test_upward): Likewise.
2391 (drem_test_upward): Likewise.
2392 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2393 (round_test): Use ALL_RM_TEST.
2394 (signbit_test): Likewise.
2395 (trunc_test): Likewise.
2396 (significand_test): Likewise.
2397 (main): Don't call removed functions.
2398
bc61d27c
JM
23992014-03-07 Joseph Myers <joseph@codesourcery.com>
2400
5c780849
JM
2401 [BZ #16674]
2402 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2403 || __USE_XOPEN2K8].
2404 (ILL_ILLOPN): Likewise.
2405 (ILL_ILLADR): Likewise.
2406 (ILL_ILLTRP): Likewise.
2407 (ILL_PRVOPC): Likewise.
2408 (ILL_PRVREG): Likewise.
2409 (ILL_COPROC): Likewise.
2410 (ILL_BADSTK): Likewise.
2411 (FPE_INTDIV): Likewise.
2412 (FPE_INTOVF): Likewise.
2413 (FPE_FLTDIV): Likewise.
2414 (FPE_FLTOVF): Likewise.
2415 (FPE_FLTUND): Likewise.
2416 (FPE_FLTRES): Likewise.
2417 (FPE_FLTINV): Likewise.
2418 (FPE_FLTSUB): Likewise.
2419 (SEGV_MAPERR): Likewise.
2420 (SEGV_ACCERR): Likewise.
2421 (BUS_ADRALN): Likewise.
2422 (BUS_ADRERR): Likewise.
2423 (BUS_OBJERR): Likewise.
2424 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2425 (TRAP_TRACE): Likewise.
2426 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2427 __USE_XOPEN2K8].
2428 (CLD_KILLED): Likewise.
2429 (CLD_DUMPED): Likewise.
2430 (CLD_TRAPPED): Likewise.
2431 (CLD_STOPPED): Likewise.
2432 (CLD_CONTINUED): Likewise.
2433 (POLL_IN): Likewise.
2434 (POLL_OUT): Likewise.
2435 (POLL_MSG): Likewise.
2436 (POLL_ERR): Likewise.
2437 (POLL_PRI): Likewise.
2438 (POLL_HUP): Likewise.
2439 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2440 Likewise.
2441 (ILL_ILLOPN): Likewise.
2442 (ILL_ILLADR): Likewise.
2443 (ILL_ILLTRP): Likewise.
2444 (ILL_PRVOPC): Likewise.
2445 (ILL_PRVREG): Likewise.
2446 (ILL_COPROC): Likewise.
2447 (ILL_BADSTK): Likewise.
2448 (FPE_INTDIV): Likewise.
2449 (FPE_INTOVF): Likewise.
2450 (FPE_FLTDIV): Likewise.
2451 (FPE_FLTOVF): Likewise.
2452 (FPE_FLTUND): Likewise.
2453 (FPE_FLTRES): Likewise.
2454 (FPE_FLTINV): Likewise.
2455 (FPE_FLTSUB): Likewise.
2456 (SEGV_MAPERR): Likewise.
2457 (SEGV_ACCERR): Likewise.
2458 (BUS_ADRALN): Likewise.
2459 (BUS_ADRERR): Likewise.
2460 (BUS_OBJERR): Likewise.
2461 (BUS_MCEERR_AR): Likewise.
2462 (BUS_MCEERR_AO): Likewise.
2463 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2464 (TRAP_TRACE): Likewise.
2465 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2466 __USE_XOPEN2K8].
2467 (CLD_KILLED): Likewise.
2468 (CLD_DUMPED): Likewise.
2469 (CLD_TRAPPED): Likewise.
2470 (CLD_STOPPED): Likewise.
2471 (CLD_CONTINUED): Likewise.
2472 (POLL_IN): Likewise.
2473 (POLL_OUT): Likewise.
2474 (POLL_MSG): Likewise.
2475 (POLL_ERR): Likewise.
2476 (POLL_PRI): Likewise.
2477 (POLL_HUP): Likewise.
2478 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2479 (ILL_ILLOPN): Likewise.
2480 (ILL_ILLADR): Likewise.
2481 (ILL_ILLTRP): Likewise.
2482 (ILL_PRVOPC): Likewise.
2483 (ILL_PRVREG): Likewise.
2484 (ILL_COPROC): Likewise.
2485 (ILL_BADSTK): Likewise.
2486 (FPE_INTDIV): Likewise.
2487 (FPE_INTOVF): Likewise.
2488 (FPE_FLTDIV): Likewise.
2489 (FPE_FLTOVF): Likewise.
2490 (FPE_FLTUND): Likewise.
2491 (FPE_FLTRES): Likewise.
2492 (FPE_FLTINV): Likewise.
2493 (FPE_FLTSUB): Likewise.
2494 (SEGV_MAPERR): Likewise.
2495 (SEGV_ACCERR): Likewise.
2496 (BUS_ADRALN): Likewise.
2497 (BUS_ADRERR): Likewise.
2498 (BUS_OBJERR): Likewise.
2499 (BUS_MCEERR_AR): Likewise.
2500 (BUS_MCEERR_AO): Likewise.
2501 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2502 (TRAP_TRACE): Likewise.
2503 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2504 __USE_XOPEN2K8].
2505 (CLD_KILLED): Likewise.
2506 (CLD_DUMPED): Likewise.
2507 (CLD_TRAPPED): Likewise.
2508 (CLD_STOPPED): Likewise.
2509 (CLD_CONTINUED): Likewise.
2510 (POLL_IN): Likewise.
2511 (POLL_OUT): Likewise.
2512 (POLL_MSG): Likewise.
2513 (POLL_ERR): Likewise.
2514 (POLL_PRI): Likewise.
2515 (POLL_HUP): Likewise.
2516 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2517 Likewise.
2518 (ILL_ILLOPN): Likewise.
2519 (ILL_ILLADR): Likewise.
2520 (ILL_ILLTRP): Likewise.
2521 (ILL_PRVOPC): Likewise.
2522 (ILL_PRVREG): Likewise.
2523 (ILL_COPROC): Likewise.
2524 (ILL_BADSTK): Likewise.
2525 (ILL_BADIADDR): Likewise.
2526 (ILL_BREAK): Likewise.
2527 (FPE_INTDIV): Likewise.
2528 (FPE_INTOVF): Likewise.
2529 (FPE_FLTDIV): Likewise.
2530 (FPE_FLTOVF): Likewise.
2531 (FPE_FLTUND): Likewise.
2532 (FPE_FLTRES): Likewise.
2533 (FPE_FLTINV): Likewise.
2534 (FPE_FLTSUB): Likewise.
2535 (FPE_DECOVF): Likewise.
2536 (FPE_DECDIV): Likewise.
2537 (FPE_DECERR): Likewise.
2538 (FPE_INVASC): Likewise.
2539 (FPE_INVDEC): Likewise.
2540 (SEGV_MAPERR): Likewise.
2541 (SEGV_ACCERR): Likewise.
2542 (SEGV_PSTKOVF): Likewise.
2543 (BUS_ADRALN): Likewise.
2544 (BUS_ADRERR): Likewise.
2545 (BUS_OBJERR): Likewise.
2546 (BUS_MCEERR_AR): Likewise.
2547 (BUS_MCEERR_AO): Likewise.
2548 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2549 (TRAP_TRACE): Likewise.
2550 (TRAP_BRANCH): Likewise.
2551 (TRAP_HWBKPT): Likewise.
2552 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2553 __USE_XOPEN2K8].
2554 (CLD_KILLED): Likewise.
2555 (CLD_DUMPED): Likewise.
2556 (CLD_TRAPPED): Likewise.
2557 (CLD_STOPPED): Likewise.
2558 (CLD_CONTINUED): Likewise.
2559 (POLL_IN): Likewise.
2560 (POLL_OUT): Likewise.
2561 (POLL_MSG): Likewise.
2562 (POLL_ERR): Likewise.
2563 (POLL_PRI): Likewise.
2564 (POLL_HUP): Likewise.
2565 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2566 (ILL_ILLOPN): Likewise.
2567 (ILL_ILLADR): Likewise.
2568 (ILL_ILLTRP): Likewise.
2569 (ILL_PRVOPC): Likewise.
2570 (ILL_PRVREG): Likewise.
2571 (ILL_COPROC): Likewise.
2572 (ILL_BADSTK): Likewise.
2573 (FPE_INTDIV): Likewise.
2574 (FPE_INTOVF): Likewise.
2575 (FPE_FLTDIV): Likewise.
2576 (FPE_FLTOVF): Likewise.
2577 (FPE_FLTUND): Likewise.
2578 (FPE_FLTRES): Likewise.
2579 (FPE_FLTINV): Likewise.
2580 (FPE_FLTSUB): Likewise.
2581 (SEGV_MAPERR): Likewise.
2582 (SEGV_ACCERR): Likewise.
2583 (BUS_ADRALN): Likewise.
2584 (BUS_ADRERR): Likewise.
2585 (BUS_OBJERR): Likewise.
2586 (BUS_MCEERR_AR): Likewise.
2587 (BUS_MCEERR_AO): Likewise.
2588 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2589 (TRAP_TRACE): Likewise.
2590 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2591 __USE_XOPEN2K8].
2592 (CLD_KILLED): Likewise.
2593 (CLD_DUMPED): Likewise.
2594 (CLD_TRAPPED): Likewise.
2595 (CLD_STOPPED): Likewise.
2596 (CLD_CONTINUED): Likewise.
2597 (POLL_IN): Likewise.
2598 (POLL_OUT): Likewise.
2599 (POLL_MSG): Likewise.
2600 (POLL_ERR): Likewise.
2601 (POLL_PRI): Likewise.
2602 (POLL_HUP): Likewise.
2603 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2604 (ILL_ILLOPN): Likewise.
2605 (ILL_ILLADR): Likewise.
2606 (ILL_ILLTRP): Likewise.
2607 (ILL_PRVOPC): Likewise.
2608 (ILL_PRVREG): Likewise.
2609 (ILL_COPROC): Likewise.
2610 (ILL_BADSTK): Likewise.
2611 (FPE_INTDIV): Likewise.
2612 (FPE_INTOVF): Likewise.
2613 (FPE_FLTDIV): Likewise.
2614 (FPE_FLTOVF): Likewise.
2615 (FPE_FLTUND): Likewise.
2616 (FPE_FLTRES): Likewise.
2617 (FPE_FLTINV): Likewise.
2618 (FPE_FLTSUB): Likewise.
2619 (SEGV_MAPERR): Likewise.
2620 (SEGV_ACCERR): Likewise.
2621 (BUS_ADRALN): Likewise.
2622 (BUS_ADRERR): Likewise.
2623 (BUS_OBJERR): Likewise.
2624 (BUS_MCEERR_AR): Likewise.
2625 (BUS_MCEERR_AO): Likewise.
2626 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2627 (TRAP_TRACE): Likewise.
2628 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2629 __USE_XOPEN2K8].
2630 (CLD_KILLED): Likewise.
2631 (CLD_DUMPED): Likewise.
2632 (CLD_TRAPPED): Likewise.
2633 (CLD_STOPPED): Likewise.
2634 (CLD_CONTINUED): Likewise.
2635 (POLL_IN): Likewise.
2636 (POLL_OUT): Likewise.
2637 (POLL_MSG): Likewise.
2638 (POLL_ERR): Likewise.
2639 (POLL_PRI): Likewise.
2640 (POLL_HUP): Likewise.
2641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2642 (ILL_ILLOPN): Likewise.
2643 (ILL_ILLADR): Likewise.
2644 (ILL_ILLTRP): Likewise.
2645 (ILL_PRVOPC): Likewise.
2646 (ILL_PRVREG): Likewise.
2647 (ILL_COPROC): Likewise.
2648 (ILL_BADSTK): Likewise.
2649 (FPE_INTDIV): Likewise.
2650 (FPE_INTOVF): Likewise.
2651 (FPE_FLTDIV): Likewise.
2652 (FPE_FLTOVF): Likewise.
2653 (FPE_FLTUND): Likewise.
2654 (FPE_FLTRES): Likewise.
2655 (FPE_FLTINV): Likewise.
2656 (FPE_FLTSUB): Likewise.
2657 (SEGV_MAPERR): Likewise.
2658 (SEGV_ACCERR): Likewise.
2659 (BUS_ADRALN): Likewise.
2660 (BUS_ADRERR): Likewise.
2661 (BUS_OBJERR): Likewise.
2662 (BUS_MCEERR_AR): Likewise.
2663 (BUS_MCEERR_AO): Likewise.
2664 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2665 (TRAP_TRACE): Likewise.
2666 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2667 __USE_XOPEN2K8].
2668 (CLD_KILLED): Likewise.
2669 (CLD_DUMPED): Likewise.
2670 (CLD_TRAPPED): Likewise.
2671 (CLD_STOPPED): Likewise.
2672 (CLD_CONTINUED): Likewise.
2673 (POLL_IN): Likewise.
2674 (POLL_OUT): Likewise.
2675 (POLL_MSG): Likewise.
2676 (POLL_ERR): Likewise.
2677 (POLL_PRI): Likewise.
2678 (POLL_HUP): Likewise.
2679 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2680 (ILL_ILLOPN): Likewise.
2681 (ILL_ILLADR): Likewise.
2682 (ILL_ILLTRP): Likewise.
2683 (ILL_PRVOPC): Likewise.
2684 (ILL_PRVREG): Likewise.
2685 (ILL_COPROC): Likewise.
2686 (ILL_BADSTK): Likewise.
2687 (ILL_DBLFLT): Likewise.
2688 (ILL_HARDWALL): Likewise.
2689 (FPE_INTDIV): Likewise.
2690 (FPE_INTOVF): Likewise.
2691 (FPE_FLTDIV): Likewise.
2692 (FPE_FLTOVF): Likewise.
2693 (FPE_FLTUND): Likewise.
2694 (FPE_FLTRES): Likewise.
2695 (FPE_FLTINV): Likewise.
2696 (FPE_FLTSUB): Likewise.
2697 (SEGV_MAPERR): Likewise.
2698 (SEGV_ACCERR): Likewise.
2699 (BUS_ADRALN): Likewise.
2700 (BUS_ADRERR): Likewise.
2701 (BUS_OBJERR): Likewise.
2702 (BUS_MCEERR_AR): Likewise.
2703 (BUS_MCEERR_AO): Likewise.
2704 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2705 (TRAP_TRACE): Likewise.
2706 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2707 __USE_XOPEN2K8].
2708 (CLD_KILLED): Likewise.
2709 (CLD_DUMPED): Likewise.
2710 (CLD_TRAPPED): Likewise.
2711 (CLD_STOPPED): Likewise.
2712 (CLD_CONTINUED): Likewise.
2713 (POLL_IN): Likewise.
2714 (POLL_OUT): Likewise.
2715 (POLL_MSG): Likewise.
2716 (POLL_ERR): Likewise.
2717 (POLL_PRI): Likewise.
2718 (POLL_HUP): Likewise.
2719 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2720 (ILL_ILLOPN): Likewise.
2721 (ILL_ILLADR): Likewise.
2722 (ILL_ILLTRP): Likewise.
2723 (ILL_PRVOPC): Likewise.
2724 (ILL_PRVREG): Likewise.
2725 (ILL_COPROC): Likewise.
2726 (ILL_BADSTK): Likewise.
2727 (FPE_INTDIV): Likewise.
2728 (FPE_INTOVF): Likewise.
2729 (FPE_FLTDIV): Likewise.
2730 (FPE_FLTOVF): Likewise.
2731 (FPE_FLTUND): Likewise.
2732 (FPE_FLTRES): Likewise.
2733 (FPE_FLTINV): Likewise.
2734 (FPE_FLTSUB): Likewise.
2735 (SEGV_MAPERR): Likewise.
2736 (SEGV_ACCERR): Likewise.
2737 (BUS_ADRALN): Likewise.
2738 (BUS_ADRERR): Likewise.
2739 (BUS_OBJERR): Likewise.
2740 (BUS_MCEERR_AR): Likewise.
2741 (BUS_MCEERR_AO): Likewise.
2742 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2743 (TRAP_TRACE): Likewise.
2744 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2745 __USE_XOPEN2K8].
2746 (CLD_KILLED): Likewise.
2747 (CLD_DUMPED): Likewise.
2748 (CLD_TRAPPED): Likewise.
2749 (CLD_STOPPED): Likewise.
2750 (CLD_CONTINUED): Likewise.
2751 (POLL_IN): Likewise.
2752 (POLL_OUT): Likewise.
2753 (POLL_MSG): Likewise.
2754 (POLL_ERR): Likewise.
2755 (POLL_PRI): Likewise.
2756 (POLL_HUP): Likewise.
2757 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2758 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2759
bc61d27c
JM
2760 [BZ #16670]
2761 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2762 before #include of <time.h>.
2763 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2764 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2765 (test-xfail-UNIX98/sched.h/conform): Likewise.
2766
302949e2
MS
27672014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2768
2769 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2770 error absence of trapping exception support.
2771 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2772
a00f522a
JM
27732014-03-07 Joseph Myers <joseph@codesourcery.com>
2774
6f99f280
JM
2775 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2776 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2777 * timezone/Makefile (testdata): Move definition above include of
2778 Rules.
2779 (test-zones): New variable.
2780 (tests-special): Add zone files.
2781 (build-testdata): Use $(evaluate-test).
2782
0b20a9e8
JM
2783 * elf/Makefile (tests-special): Rename tests to end with .out.
2784 ($(objpfx)noload-mem): Likewise.
2785 ($(objpfx)tst-leaks1-mem): Likewise.
2786 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2787 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2788 $(objpfx)test-iconvconfig.out.
2789 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2790 set -e inside subshell and redirect output to file.
2791 * iconvdata/Makefile (generated): Rename tests to end with .out.
2792 Correct type.
2793 (tests-special): Rename tests to end with .out.
2794 ($(objpfx)mtrace-tst-loading): Likewise.
2795 * intl/Makefile (generated): Likewise.
2796 (tests-special): Likewise.
2797 ($(objpfx)mtrace-tst-gettext): Likewise.
2798 * misc/Makefile (generated): Likewise.
2799 (tests-special): Likewise.
2800 ($(objpfx)tst-error1-mem): Likewise.
2801 * nptl/Makefile (tests-special): Likewise.
2802 ($(objpfx)tst-stack3-mem): Likewise.
2803 (generated): Likewise.
2804 * posix/Makefile (generated): Likewise.
2805 (tests-special): Likewise.
2806 (xtests-special): Likewise.
2807 ($(objpfx)tst-fnmatch-mem): Likewise.
2808 ($(objpfx)bug-regex2-mem): Likewise.
2809 ($(objpfx)bug-regex14-mem): Likewise.
2810 ($(objpfx)bug-regex21-mem): Likewise.
2811 ($(objpfx)bug-regex31-mem): Likewise.
2812 ($(objpfx)tst-vfork3-mem): Likewise.
2813 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2814 ($(objpfx)tst-pcre-mem): Likewise.
2815 ($(objpfx)tst-boost-mem): Likewise.
2816 ($(objpfx)bug-ga2-mem): Likewise.
2817 ($(objpfx)bug-glob2-mem): Likewise.
2818 * resolv/Makefile (generate): Likewise.
2819 (tests-special): Likewise.
2820 (xtests-special): Likewise.
2821 (generated): Likewise.
2822 ($(objpfx)mtrace-tst-leaks): Likewise.
2823 ($(objpfx)mtrace-tst-leaks2): Likewise.
2824
265d52ab
JM
2825 * scripts/merge-test-results.sh: New file.
2826 * Makefile (tests-special-notdir): New variable.
2827 (tests): Run merge-test-results.sh.
2828 (xtests): Likewise.
2829 * Rules (tests-special-notdir): New variable.
2830 (xtests-special-notdir): Likewise.
2831 (tests): Run merge-test-results.sh
2832 (xtests): Likewise.
2833
54ee292d
JM
2834 * Makeconfig (test-xfail-name): New variable.
2835 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2836 compute variable name for expected failures.
2837 * conform/Makefile (conformtest-headers-data): New variable.
2838 (conformtest-standards): Likewise.
2839 (conformtest-headers-ISO): Likewise.
2840 (conformtest-headers-ISO99): Likewise.
2841 (conformtest-headers-ISO11): Likewise.
2842 (conformtest-headers-POSIX): Likewise.
2843 (conformtest-headers-XPG3): Likewise.
2844 (conformtest-headers-XPG4): Likewise.
2845 (conformtest-headers-UNIX98): Likewise.
2846 (conformtest-headers-XOPEN2K): Likewise.
2847 (conformtest-headers-POSIX2008): Likewise.
2848 (conformtest-headers-XOPEN2K8): Likewise.
2849 (conformtest-header-list-base): Likewise.
2850 (conformtest-header-list-tests): Likewise.
2851 (conformtest-header-base): Likewise.
2852 (conformtest-header-tests): Likewise.
2853 (tests-special): Add $(conformtest-header-list-tests). If
2854 [$(fast-check) && !$(cross-compiling)], add
2855 $(conformtest-header-tests) instead of
2856 $(objpfx)run-conformtest.out.
2857 (generated): Add $(conformtest-header-list-base). If
2858 [$(fast-check) && !$(cross-compiling)], add
2859 $(conformtest-header-base). Remove previous setting.
2860 ($(conformtest-header-list-tests)): New target.
2861 (test-xfail-run-conformtest): Remove variable.
2862 ($(objpfx)run-conformtest.out): Remove target.
2863 (test-xfail-ISO11/complex.h/conform): New variable.
2864 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2865 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2866 (test-xfail-XPG3/varargs.h/conform): Likewise.
2867 (test-xfail-XPG4/varargs.h/conform): Likewise.
2868 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2869 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2870 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2871 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2872 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2873 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2874 (test-xfail-XPG3/ftw.h/conform): Likewise.
2875 (test-xfail-XPG3/grp.h/conform): Likewise.
2876 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2877 (test-xfail-XPG3/limits.h/conform): Likewise.
2878 (test-xfail-XPG3/pwd.h/conform): Likewise.
2879 (test-xfail-XPG3/search.h/conform): Likewise.
2880 (test-xfail-XPG3/signal.h/conform): Likewise.
2881 (test-xfail-XPG3/stdio.h/conform): Likewise.
2882 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2883 (test-xfail-XPG3/string.h/conform): Likewise.
2884 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2885 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2886 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2887 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2888 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2889 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2890 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2891 (test-xfail-XPG3/termios.h/conform): Likewise.
2892 (test-xfail-XPG3/time.h/conform): Likewise.
2893 (test-xfail-XPG3/unistd.h/conform): Likewise.
2894 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2895 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2896 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2897 (test-xfail-XPG4/netdb.h/conform): Likewise.
2898 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2899 (test-xfail-XPG4/signal.h/conform): Likewise.
2900 (test-xfail-XPG4/stdio.h/conform): Likewise.
2901 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2902 (test-xfail-XPG4/stropts.h/conform): Likewise.
2903 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2904 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2905 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2906 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2907 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2908 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2909 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2910 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2911 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2912 (test-xfail-XPG4/termios.h/conform): Likewise.
2913 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2914 (test-xfail-XPG4/unistd.h/conform): Likewise.
2915 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2916 (test-xfail-POSIX/sched.h/conform): Likewise.
2917 (test-xfail-POSIX/signal.h/conform): Likewise.
2918 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2919 (test-xfail-POSIX/tar.h/conform): Likewise.
2920 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2921 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2922 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2923 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2924 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2925 (test-xfail-UNIX98/sched.h/conform): Likewise.
2926 (test-xfail-UNIX98/signal.h/conform): Likewise.
2927 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2928 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2929 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2930 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2931 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2932 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2933 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2934 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2935 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2936 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2937 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2938 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2939 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2940 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2941 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2942 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2943 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2944 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2945 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2946 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2947 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2948 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2949 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2950 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2951 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2952 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2953 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2954 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2955 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2956 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2957 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2958 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2959 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2960 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2961 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2962 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2963 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2964 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2965 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2966 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2967 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2968 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2969 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2970 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2971 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2972 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2973 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2974 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2975 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2976 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2977 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2978 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2979 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2980 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2981 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2982 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2983 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2984 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2985 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2986 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2987 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2988 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2989 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2990 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2991 (conformtest-cc-flags): Likewise.
2992 ($(conformtest-header-tests): New target.
2993 * conform/check-header-lists.sh: New file.
2994 * conform/run-conformtest.sh: Remove.
2995
a00f522a
JM
2996 * conform/conformtest.pl: Allow ' and \ in values given for
2997 constants.
2998 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2999 inclusion.
3000 [POSIX] (sys/types.h): Likewise.
3001 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3002 inclusion.
3003 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3004 inclusion.
3005 * conform/data/signal.h-data (SIGIO): Remove expectation.
3006 [XPG3] (SIGBUS): Do not expect.
3007 [POSIX || XPG3] (SIGPOLL): Likewise.
3008 [POSIX || XPG3] (SIGPROF): Likewise.
3009 [POSIX || XPG3] (SIGSYS): Likewise.
3010 [XPG3] (SIGTRAP): Likewise.
3011 [POSIX || XPG3] (SIGURG): Likewise.
3012 [POSIX || XPG3] (SIGVTALRM): Likewise.
3013 [POSIX || XPG3] (SIGXCPU): Likewise.
3014 [POSIX || XPG3] (SIGXFSZ): Likewise.
3015 [POSIX] (SA_SIGINFO): Expect.
3016 [XPG3] (siginfo_t): Do not expect type or contents.
3017 [POSIX] (si_pid): Do not expect element.
3018 [POSIX] (si_uid): Likewise.
3019 [POSIX] (si_addr): Likewise.
3020 [POSIX] (si_status): Likewise.
3021 [POSIX] (si_band): Likewise.
3022 [XPG4] (si_value): Likewise.
3023 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3024 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3025 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3026 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3027 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3028 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3029 [POSIX || XPG3] (ILL_COPROC): Likewise.
3030 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3031 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3032 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3033 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3034 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3035 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3036 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3037 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3038 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3039 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3040 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3041 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3042 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3043 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3044 [POSIX || XPG3] (CLD_EXITED): Likewise.
3045 [POSIX || XPG3] (CLD_KILLED): Likewise.
3046 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3047 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3048 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3049 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3050 [POSIX || XPG3] (POLL_IN): Likewise.
3051 [POSIX || XPG3] (POLL_OUT): Likewise.
3052 [POSIX || XPG3] (POLL_MSG): Likewise.
3053 [POSIX || XPG3] (POLL_ERR): Likewise.
3054 [POSIX || XPG3] (POLL_PRI): Likewise.
3055 [POSIX || XPG3] (POLL_HUP): Likewise.
3056 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3057 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3058 (SIG*): Do not allow.
3059 [XPG3] (si_*): Likewise.
3060 [XPG3] (SI_*): Likewise.
3061 [XPG3 || XPG4] (sigev_*): Likewise.
3062 [XPG3 || XPG4] (SIGEV_*): Likewise.
3063 [XPG3 || XPG4] (sival_*): Likewise.
3064 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3065 [POSIX || XPG3] (BUS_*): Likewise.
3066 [POSIX || XPG3] (CLD_*): Likewise.
3067 [POSIX || XPG3] (FPE_*): Likewise.
3068 [POSIX || XPG3] (ILL_*): Likewise.
3069 [POSIX || XPG3] (POLL_*): Likewise.
3070 [POSIX || XPG3] (SEGV_*): Likewise.
3071 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3072 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3073 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3074 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3075 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3076 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3077 Specify type and value.
3078 (TVERSLEN): Likewise.
3079 (REGTYPE): Likewise.
3080 (AREGTYPE): Likewise.
3081 (LNKTYPE): Likewise.
3082 (SYMTYPE): Likewise.
3083 (CHRTYPE): Likewise.
3084 (BLKTYPE): Likewise.
3085 (DIRTYPE): Likewise.
3086 (FIFOTYPE): Likewise.
3087 (CONTTYPE): Likewise.
3088 (TSUID): Likewise.
3089 (TSGID): Likewise.
3090 (TSVTX): Likewise.
3091 (TUREAD): Likewise.
3092 (TUWRITE): Likewise.
3093 (TUEXEC): Likewise.
3094 (TGREAD): Likewise.
3095 (TGWRITE): Likewise.
3096 (TGEXEC): Likewise.
3097 (TOREAD): Likewise.
3098 (TOWRITE): Likewise.
3099 (TOEXEC): Likewise.
3100 [POSIX] (TSVTX): Expect constant.
3101
aa97dee1
JM
31022014-03-06 Joseph Myers <joseph@codesourcery.com>
3103
f214606a
JM
3104 * Makefile (tests): Change dependencies to ....
3105 (tests-special): ... additions to this variable.
3106 (tests): Depend on $(tests-special).
3107 * Makerules (check-abi-list): New variable.
3108 (check-abi): Depend on $(check-abi-list).
3109 [$(subdir) = elf] (tests-special): Add
3110 $(objpfx)check-abi-libc.out.
3111 [$(build-shared) = yes && subdir] (tests-special): Add
3112 $(check-abi-list).
3113 [$(build-shared) = yes && subdir] (tests): Do not depend on
3114 check-abi.
3115 * Rules (tests): Depend on $(tests-special).
3116 (xtests): Depend on $(xtests-special).
3117 * catgets/Makefile (tests): Change dependencies to ....
3118 (tests-special): ... additions to this variable.
3119 * conform/Makefile (tests): Change dependencies to ....
3120 (tests-special): ... additions to this variable.
3121 * elf/Makefile (tests): Change dependencies to ....
3122 (tests-special): ... additions to this variable.
3123 * grp/Makefile (tests): Change dependencies to ....
3124 (tests-special): ... additions to this variable.
3125 * iconv/Makefile (xtests): Change dependencies to ....
3126 (xtests-special): ... additions to this variable.
3127 * iconvdata/Makefile (tests): Change dependencies to ....
3128 (tests-special): ... additions to this variable.
3129 * intl/Makefile (tests): Change dependencies to ....
3130 (tests-special): ... additions to this variable. Also add
3131 $(objpfx)tst-gettext.out.
3132 * io/Makefile (tests): Change dependencies to ....
3133 (tests-special): ... additions to this variable.
3134 * libio/Makefile (tests): Change dependencies to ....
3135 (tests-special): ... additions to this variable.
3136 * malloc/Makefile (tests): Change dependencies to ....
3137 (tests-special): ... additions to this variable.
3138 * misc/Makefile (tests): Change dependencies to ....
3139 (tests-special): ... additions to this variable.
3140 * nptl/Makefile (tests): Change dependencies to ....
3141 (tests-special): ... additions to this variable.
3142 * nptl_db/Makefile (tests): Change dependencies to ....
3143 (tests-special): ... additions to this variable.
3144 * posix/Makefile (tests): Change dependencies to ....
3145 (tests-special): ... additions to this variable.
3146 (xtests): Change dependencies to ....
3147 (xtests-special): ... additions to this variable.
3148 * resolv/Makefile (tests): Change dependencies to ....
3149 (tests-special): ... additions to this variable.
3150 (xtests): Change dependencies to ....
3151 (xtests-special): ... additions to this variable.
3152 * stdio-common/Makefile (tests): Change dependencies to ....
3153 (tests-special): ... additions to this variable.
3154 (do-tst-unbputc): Remove target.
3155 (do-tst-printf): Likewise.
3156 * stdlib/Makefile (tests): Change dependencies to ....
3157 (tests-special): ... additions to this variable.
3158 * string/Makefile (tests): Change dependencies to ....
3159 (tests-special): ... additions to this variable.
3160 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3161 (tests-special): ... additions to this variable.
3162
81700b53
JM
3163 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3164 whole file.
3165 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3166 whole file.
3167 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3168 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3169
2ea18461
JM
3170 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3171 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3172 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3173 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3174 * conform/data/libgen.h-data [XPG3]: Likewise.
3175 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3176 * conform/data/ndbm.h-data [XPG3]: Likewise.
3177 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3178 * conform/data/netdb.h-data [XPG3]: Likewise.
3179 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3180 * conform/data/poll.h-data [XPG3]: Likewise.
3181 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3182 * conform/data/strings.h-data [XPG3]: Likewise.
3183 * conform/data/stropts.h-data [XPG3]: Likewise.
3184 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3185 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3186 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3187 Likewise.
3188 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3189 * conform/data/sys/time.h-data [XPG3]: Likewise.
3190 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3191 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3192 * conform/data/sys/un.h-data [XPG3]: Likewise.
3193 * conform/data/syslog.h-data [XPG3]: Likewise.
3194 * conform/data/ucontext.h-data [XPG3]: Likewise.
3195 * conform/data/utmpx.h-data [XPG3]: Likewise.
3196 * conform/data/varargs.h-data [UNIX98]: Enable file.
3197
355bc986
JM
3198 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3199
215db402
JM
3200 * math/libm-test.inc (struct test_f_f_data): Move expected results
3201 into structure for each rounding mode.
3202 (struct test_ff_f_data): Likewise.
3203 (struct test_ff_f_data_nexttoward): Likewise.
3204 (struct test_fi_f_data): Likewise.
3205 (struct test_fl_f_data): Likewise.
3206 (struct test_if_f_data): Likewise.
3207 (struct test_fff_f_data): Likewise.
3208 (struct test_c_f_data): Likewise.
3209 (struct test_f_f1_data): Likewise.
3210 (struct test_fF_f1_data): Likewise.
3211 (struct test_ffI_f1_data): Likewise.
3212 (struct test_c_c_data): Likewise.
3213 (struct test_cc_c_data): Likewise.
3214 (struct test_f_i_data): Likewise.
3215 (struct test_ff_i_data): Likewise.
3216 (struct test_f_l_data): Likewise.
3217 (struct test_f_L_data): Likewise.
3218 (struct test_fFF_11_data): Likewise.
3219 (RM_): New macro.
3220 (RM_FE_DOWNWARD): Likewise.
3221 (RM_FE_TONEAREST): Likewise.
3222 (RM_FE_TOWARDZERO): Likewise.
3223 (RM_FE_UPWARD): Likewise.
3224 (RUN_TEST_LOOP_f_f): Update references to expected results.
3225 (RUN_TEST_LOOP_2_f): Likewise.
3226 (RUN_TEST_LOOP_fff_f): Likewise.
3227 (RUN_TEST_LOOP_c_f): Likewise.
3228 (RUN_TEST_LOOP_f_f1): Likewise.
3229 (RUN_TEST_LOOP_fF_f1): Likewise.
3230 (RUN_TEST_LOOP_fI_f1): Likewise.
3231 (RUN_TEST_LOOP_ffI_f1): Likewise.
3232 (RUN_TEST_LOOP_c_c): Likewise.
3233 (RUN_TEST_LOOP_cc_c): Likewise.
3234 (RUN_TEST_LOOP_f_i): Likewise.
3235 (RUN_TEST_LOOP_f_i_tg): Likewise.
3236 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3237 (RUN_TEST_LOOP_f_b): Likewise.
3238 (RUN_TEST_LOOP_f_b_tg): Likewise.
3239 (RUN_TEST_LOOP_f_l): Likewise.
3240 (RUN_TEST_LOOP_f_L): Likewise.
3241 (RUN_TEST_LOOP_fFF_11): Likewise.
3242 * math/gen-libm-test.pl (parse_args): Output four copies of
3243 expected results for each test.
3244
67737b8f
JM
3245 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3246 (__ASSUME_UTIMES): Remove.
3247 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3248 (__ASSUME_UTIMES): Likewise.
3249
aa97dee1
JM
3250 * math/gen-auto-libm-tests.c: Update comment on output format.
3251 (output_for_one_input_case): Generate before-rounding and
3252 after-rounding information as conditions on output flags not
3253 floating-point format.
3254 * math/auto-libm-test-out: Regenerated.
3255 * math/gen-libm-test.pl (cond_value): New function.
3256 (or_cond_value): Use cond_value.
3257 (generate_testfile): Handle conditional exceptions.
3258
e6b6a857
JM
32592014-03-05 Joseph Myers <joseph@codesourcery.com>
3260
2f0a0f44
JM
3261 * math/libm-test.inc (max_valid_error): New variable.
3262 (init_max_error): Take new argument specifying whether function
3263 results are exactly determined. Set max_valid_error and bound
3264 other variables for errors based on this argument.
3265 (set_max_error): Do not record results above max_valid_error.
3266 (check_float_internal): Only accept errors of up to 0.5ulps if
3267 also at most max_valid_error.
3268 (START): Take new argument EXACT and pass it to init_max_error.
3269 (acos_test): Update call to START.
3270 (acos_test_tonearest): Likewise.
3271 (acos_test_towardzero): Likewise.
3272 (acos_test_downward): Likewise.
3273 (acos_test_upward): Likewise.
3274 (acosh_test): Likewise.
3275 (asin_test): Likewise.
3276 (asin_test_tonearest): Likewise.
3277 (asin_test_towardzero): Likewise.
3278 (asin_test_downward): Likewise.
3279 (asin_test_upward): Likewise.
3280 (asinh_test): Likewise.
3281 (atan_test): Likewise.
3282 (atanh_test): Likewise.
3283 (atan2_test): Likewise.
3284 (cabs_test): Likewise.
3285 (cacos_test): Likewise.
3286 (cacosh_test): Likewise.
3287 (carg_test): Likewise.
3288 (casin_test): Likewise.
3289 (casinh_test): Likewise.
3290 (catan_test): Likewise.
3291 (catanh_test): Likewise.
3292 (cbrt_test): Likewise.
3293 (ccos_test): Likewise.
3294 (ccosh_test): Likewise.
3295 (ceil_test): Likewise.
3296 (cexp_test): Likewise.
3297 (cimag_test): Likewise.
3298 (clog_test): Likewise.
3299 (clog10_test): Likewise.
3300 (conj_test): Likewise.
3301 (copysign_test): Likewise.
3302 (cos_test): Likewise.
3303 (cos_test_tonearest): Likewise.
3304 (cos_test_towardzero): Likewise.
3305 (cos_test_downward): Likewise.
3306 (cos_test_upward): Likewise.
3307 (cosh_test): Likewise.
3308 (cosh_test_tonearest): Likewise.
3309 (cosh_test_towardzero): Likewise.
3310 (cosh_test_downward): Likewise.
3311 (cosh_test_upward): Likewise.
3312 (cpow_test): Likewise.
3313 (cproj_test): Likewise.
3314 (creal_test): Likewise.
3315 (csin_test): Likewise.
3316 (csinh_test): Likewise.
3317 (csqrt_test): Likewise.
3318 (ctan_test): Likewise.
3319 (ctan_test_tonearest): Likewise.
3320 (ctan_test_towardzero): Likewise.
3321 (ctan_test_downward): Likewise.
3322 (ctan_test_upward): Likewise.
3323 (ctanh_test): Likewise.
3324 (ctanh_test_tonearest): Likewise.
3325 (ctanh_test_towardzero): Likewise.
3326 (ctanh_test_downward): Likewise.
3327 (ctanh_test_upward): Likewise.
3328 (erf_test): Likewise.
3329 (erfc_test): Likewise.
3330 (exp_test): Likewise.
3331 (exp_test_tonearest): Likewise.
3332 (exp_test_towardzero): Likewise.
3333 (exp_test_downward): Likewise.
3334 (exp_test_upward): Likewise.
3335 (exp10_test): Likewise.
3336 (exp10_test_tonearest): Likewise.
3337 (exp10_test_towardzero): Likewise.
3338 (exp10_test_downward): Likewise.
3339 (exp10_test_upward): Likewise.
3340 (pow10_test): Likewise.
3341 (exp2_test): Likewise.
3342 (expm1_test): Likewise.
3343 (expm1_test_tonearest): Likewise.
3344 (expm1_test_towardzero): Likewise.
3345 (expm1_test_downward): Likewise.
3346 (expm1_test_upward): Likewise.
3347 (fabs_test): Likewise.
3348 (fdim_test): Likewise.
3349 (floor_test): Likewise.
3350 (fma_test): Likewise.
3351 (fma_test_towardzero): Likewise.
3352 (fma_test_downward): Likewise.
3353 (fma_test_upward): Likewise.
3354 (fmax_test): Likewise.
3355 (fmin_test): Likewise.
3356 (fmod_test): Likewise.
3357 (fpclassify_test): Likewise.
3358 (frexp_test): Likewise.
3359 (hypot_test): Likewise.
3360 (ilogb_test): Likewise.
3361 (isfinite_test): Likewise.
3362 (finite_test): Likewise.
3363 (isgreater_test): Likewise.
3364 (isgreaterequal_test): Likewise.
3365 (isinf_test): Likewise.
3366 (isless_test): Likewise.
3367 (islessequal_test): Likewise.
3368 (islessgreater_test): Likewise.
3369 (isnan_test): Likewise.
3370 (isnormal_test): Likewise.
3371 (issignaling_test): Likewise.
3372 (isunordered_test): Likewise.
3373 (j0_test): Likewise.
3374 (j1_test): Likewise.
3375 (jn_test): Likewise.
3376 (ldexp_test): Likewise.
3377 (lgamma_test): Likewise.
3378 (gamma_test): Likewise.
3379 (lrint_test): Likewise.
3380 (lrint_test_tonearest): Likewise.
3381 (lrint_test_towardzero): Likewise.
3382 (lrint_test_downward): Likewise.
3383 (lrint_test_upward): Likewise.
3384 (llrint_test): Likewise.
3385 (llrint_test_tonearest): Likewise.
3386 (llrint_test_towardzero): Likewise.
3387 (llrint_test_downward): Likewise.
3388 (llrint_test_upward): Likewise.
3389 (log_test): Likewise.
3390 (log10_test): Likewise.
3391 (log1p_test): Likewise.
3392 (log2_test): Likewise.
3393 (logb_test): Likewise.
3394 (logb_test_downward): Likewise.
3395 (lround_test): Likewise.
3396 (llround_test): Likewise.
3397 (modf_test): Likewise.
3398 (nearbyint_test): Likewise.
3399 (nextafter_test): Likewise.
3400 (nexttoward_test): Likewise.
3401 (pow_test): Likewise.
3402 (pow_test_tonearest): Likewise.
3403 (pow_test_towardzero): Likewise.
3404 (pow_test_downward): Likewise.
3405 (pow_test_upward): Likewise.
3406 (remainder_test): Likewise.
3407 (drem_test): Likewise.
3408 (remainder_test_tonearest): Likewise.
3409 (drem_test_tonearest): Likewise.
3410 (remainder_test_towardzero): Likewise.
3411 (drem_test_towardzero): Likewise.
3412 (remainder_test_downward): Likewise.
3413 (drem_test_downward): Likewise.
3414 (remainder_test_upward): Likewise.
3415 (drem_test_upward): Likewise.
3416 (remquo_test): Likewise.
3417 (rint_test): Likewise.
3418 (rint_test_tonearest): Likewise.
3419 (rint_test_towardzero): Likewise.
3420 (rint_test_downward): Likewise.
3421 (rint_test_upward): Likewise.
3422 (round_test): Likewise.
3423 (scalb_test): Likewise.
3424 (scalbn_test): Likewise.
3425 (scalbln_test): Likewise.
3426 (signbit_test): Likewise.
3427 (sin_test): Likewise.
3428 (sin_test_tonearest): Likewise.
3429 (sin_test_towardzero): Likewise.
3430 (sin_test_downward): Likewise.
3431 (sin_test_upward): Likewise.
3432 (sincos_test): Likewise.
3433 (sinh_test): Likewise.
3434 (sinh_test_tonearest): Likewise.
3435 (sinh_test_towardzero): Likewise.
3436 (sinh_test_downward): Likewise.
3437 (sinh_test_upward): Likewise.
3438 (sqrt_test): Likewise.
3439 (sqrt_test_tonearest): Likewise.
3440 (sqrt_test_towardzero): Likewise.
3441 (sqrt_test_downward): Likewise.
3442 (sqrt_test_upward): Likewise.
3443 (tan_test): Likewise.
3444 (tan_test_tonearest): Likewise.
3445 (tan_test_towardzero): Likewise.
3446 (tan_test_downward): Likewise.
3447 (tan_test_upward): Likewise.
3448 (tanh_test): Likewise.
3449 (tgamma_test): Likewise.
3450 (trunc_test): Likewise.
3451 (y0_test): Likewise.
3452 (y1_test): Likewise.
3453 (yn_test): Likewise.
3454 (significand_test): Likewise.
3455
e6b6a857
JM
3456 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3457 individual tests in comment.
3458 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3459 (prev_max_error): New variable.
3460 (prev_real_max_error): Likewise.
3461 (prev_imag_max_error): Likewise.
3462 (compare_ulp_data): Don't refer to test names in comment.
3463 (find_test_ulps): Remove function.
3464 (find_function_ulps): Likewise.
3465 (find_complex_function_ulps): Likewise.
3466 (init_max_error): Take function name as argument. Look up ulps
3467 for that function.
3468 (print_ulps): Remove function.
3469 (print_max_error): Use prev_max_error instead of calling
3470 find_function_ulps.
3471 (print_complex_max_error): Use prev_real_max_error and
3472 prev_imag_max_error instead of calling find_complex_function_ulps.
3473 (check_float_internal): Take max_ulp parameter instead of calling
3474 find_test_ulps. Don't call print_ulps.
3475 (check_float): Update call to check_float_internal.
3476 (check_complex): Update calls to check_float_internal.
3477 (START): Pass argument to init_max_error.
3478 * math/gen-libm-test.pl (%results): Don't include "kind"
3479 information.
3480 (parse_ulps): Don't handle ulps of individual tests.
3481 (print_ulps_file): Likewise.
3482 (output_ulps): Likewise.
3483 * math/README.libm-test: Update.
3484 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3485 individual tests.
3486 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3487 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3488 * sysdeps/arm/libm-test-ulps: Likewise.
3489 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3490 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3491 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3492 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3493 * sysdeps/microblaze/libm-test-ulps: Likewise.
3494 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3495 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3496 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3497 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3498 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3499 * sysdeps/sh/libm-test-ulps: Likewise.
3500 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3501 * sysdeps/tile/libm-test-ulps: Likewise.
3502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3503
45adef3c
JM
35042014-03-04 Joseph Myers <joseph@codesourcery.com>
3505
3506 * math/libm-test.inc (print_complex_max_error): Check separately
3507 whether real and imaginary errors are within allowed range and
3508 pass 0 to print_complex_function_ulps instead of value within
3509 allowed range.
3510
000232b9
SP
35112014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3512
d4b17258
SP
3513 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3514 formatting.
3515 (get_handles_fopen): Likewise.
3516 (do_write_test): Likewise.
3517
091eff71
SP
3518 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3519
fa3cd248
SP
3520 * libio/fileops.c (do_ftell): Use cached offset when
3521 available.
3522 * libio/iofwide.c (do_ftell_wide): Likewise.
3523 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3524 _IO_file_attach.
3525 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3526
000232b9
SP
3527 [BZ #16532]
3528 * libio/libioP.h (get_file_offset): New function.
3529 * libio/fileops.c (get_file_offset): Likewise.
3530 (do_ftell): Likewise.
3531 (_IO_new_file_seekoff): Split out ftell logic.
3532 * libio/wfileops.c (do_ftell_wide): Likewise.
3533 (_IO_wfile_seekoff): Split out ftell logic.
3534 * libio/tst-ftell-active-handler.c: New test case.
3535 * libio/Makefile (tests): Add it.
3536
116f4d1a
RM
35372014-03-03 Roland McGrath <roland@hack.frob.com>
3538
3539 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3540 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3541
532a6035
SP
35422014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3543
3544 [BZ #16639]
3545 * nscd/connections.c (nscd_init): Call do_exit.
3546 (start_threads): Call do_exit and notify_parent.
3547 (begin_drop_privileges): Call do_exit.
3548 (finish_drop_privileges): Likewise.
3549 * nscd/selinux.c (preserve_capabilities): Likewise.
3550 (install_real_capabilities): Likewise.
3551 (nscd_selinux_enabled): Likewise.
3552 (avc_create_thread): Likewise.
3553 (avc_alloc_lock): Likewise.
3554 (nscd_avc_init): Likewise.
3555 * nscd/nscd.c (parent_fd): New static variable.
3556 (main): Create a pipe between parent and child processes.
3557 Skip closing parent_fd.
3558 (monitor_child): New function.
3559 (do_exit): Likewise.
3560 (notify_parent): Likewise.
3561 * nscd/nscd.h (notify_parent): Likewise.
3562 (do_exit): Likewise.
3563
d6285c9f
CD
35642014-03-03 Carlos O'Donell <carlos@redhat.com>
3565
3566 * malloc/malloc.c (__libc_calloc): Revert last change.
3567
2b85d2a0
AZ
35682014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3569
3570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3571
c7debbdf
RS
35722014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3573
3574 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3576 implementation.
3577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3578 (__libc_ifunc_impl_list): Likewise.
3579 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3580 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3581 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3582 * string/strrchr.c: Define STRRCHR.
3583
235eed86
OB
35842014-02-28 Ondřej Bílka <neleai@seznam.cz>
3585
3586 * benchtest/bench-strtok.c (simple_strtok): Delete.
3587 (strtok_string): Use as benchmark.
3588 * string/strtok (STRTOK): New macro.
3589
8e25d1e7
CD
35902014-02-28 Carlos O'Donell <carlos@redhat.com>
3591
ef563f92
CD
3592 * manual/threads.texi: Add header and standard comments to all
3593 functions.
3594
8e25d1e7
CD
3595 * elf/dl-lookup.c (check_match): New function.
3596 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3597 (do_lookup_x): Remove nested function check_match. Use non-nested
3598 function check_match.
3599
ff71cc37
RM
36002014-02-28 Roland McGrath <roland@hack.frob.com>
3601
f08e9a26
RM
3602 * csu/Makefile (generated, before-compile): Use += rather than =.
3603 * catgets/Makefile (generated, generated-dirs): Likewise.
3604 * debug/Makefile (generated): Likewise.
3605 * dlfcn/Makefile (generated): Likewise.
3606 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3607 * iconvdata/Makefile (before-compile, generated): Likewise.
3608 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3609 * libio/Makefile (generated): Likewise.
3610 * malloc/Makefile (generated): Likewise.
3611 * manual/Makefile (generated, generated-dirs): Likewise.
3612 * misc/Makefile (generated): Likewise.
3613 * posix/Makefile (generated): Likewise.
3614 * resolv/Makefile (generated): Likewise.
3615 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3616 * timezone/Makefile (generated, generated-dirs): Likewise.
3617
ff71cc37
RM
3618 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3619
fe13a20c
AZ
36202014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3621
57f41c40
AS
3622 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3623 power8 implementation.
3624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3625 file: POWER8 llround ifunc implementation.
3626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3627 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3628 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3629 POWER8 llround implementation.
3630
57f41c40
AS
3631 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3632 power8 implementation.
3633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3634 file: POWER8 llrint ifunc implementation.
3635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3636 Add POWER8 implementation.
1ad8950a
AZ
3637 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3638 POWER8 llrint implementation.
3639
57f41c40
AS
3640 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3641 power8 implementation.
3642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3643 file: POWER8 finite ifunc implementation.
3644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3645 Add POWER8 implementation.
cac626d6
AZ
3646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3647 Likewise.
3648 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3649 POWER8 finite implementation.
3650 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3651
57f41c40
AS
3652 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3653 power8 implementation.
3654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3655 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3657 POWER8 implementation.
3658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3659 Likewise.
57f41c40
AS
3660 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3661 isinf implementation.
4393fc11
AZ
3662 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3663
57f41c40
AS
3664 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3665 (INIT_ARCH): Add hwcap2 initialization.
3666 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3667 power8 implementation.
3668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3669 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3671 POWER8 implementation.
3672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3673 Likewise.
57f41c40
AS
3674 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3675 isnan implementation.
487972ae
AZ
3676 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3677
7d92b787
JY
36782014-02-27 Joey Ye <joey.ye@arm.com>
3679
3680 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3681 (_FP_NANFRAC_Q): Set to zero.
3682
1cadc858
SP
36832014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3684
3685 [BZ #16623]
3686 * math/auto-libm-test-in: New test inputs.
3687 * math/auto-libm-test-out: Regenerate.
3688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3689 and DA.
3690 (__cos): Likewise.
3691 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3692
f8c17e79
JM
36932014-02-27 Joseph Myers <joseph@codesourcery.com>
3694
3695 * scripts/evaluate-test.sh: Take new argument indicating whether
3696 failure is expected.
3697 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3698 indicating whether failure is expected.
3699 * conform/Makefile (test-xfail-run-conformtest): New variable.
3700 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3701 level.
3702 * posix/Makefile (test-xfail-annexc): New variable.
3703 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3704
a5f891ac
JM
37052014-02-26 Joseph Myers <joseph@codesourcery.com>
3706
3707 * argp/Makefile: Include Makeconfig immediately after defining
3708 subdir.
3709 * assert/Makefile: Likewise.
3710 * benchtests/Makefile: Likewise.
3711 * catgets/Makefile: Likewise.
3712 * conform/Makefile: Likewise.
3713 * crypt/Makefile: Likewise.
3714 * csu/Makefile: Likewise.
3715 (all): Remove target.
3716 * ctype/Makefile: Include Makeconfig immediately after defining
3717 subdir.
3718 * debug/Makefile: Likewise.
3719 * dirent/Makefile: Likewise.
3720 * dlfcn/Makefile: Likewise.
3721 * gmon/Makefile: Likewise.
3722 * gnulib/Makefile: Likewise.
3723 * grp/Makefile: Likewise.
3724 * gshadow/Makefile: Likewise.
3725 * hesiod/Makefile: Likewise.
3726 * hurd/Makefile: Likewise.
3727 (all): Remove target.
3728 * iconvdata/Makefile: Include Makeconfig immediately after
3729 defining subdir.
3730 * inet/Makefile: Likewise.
3731 * intl/Makefile: Likewise.
3732 * io/Makefile: Likewise.
3733 * libio/Makefile: Likewise.
3734 (all): Remove target.
3735 * locale/Makefile: Include Makeconfig immediately after defining
3736 subdir.
3737 * login/Makefile: Likewise.
3738 * mach/Makefile: Likewise.
3739 (all): Remove target.
3740 * malloc/Makefile: Include Makeconfig immediately after defining
3741 subdir.
3742 (all): Remove target.
3743 * manual/Makefile: Include Makeconfig immediately after defining
3744 subdir.
3745 * math/Makefile: Likewise.
3746 * misc/Makefile: Likewise.
3747 * nis/Makefile: Likewise.
3748 * nss/Makefile: Likewise.
3749 * po/Makefile: Likewise.
3750 (all): Remove target.
3751 * posix/Makefile: Include Makeconfig immediately after defining
3752 subdir.
3753 * pwd/Makefile: Likewise.
3754 * resolv/Makefile: Likewise.
3755 * resource/Makefile: Likewise.
3756 * rt/Makefile: Likewise.
3757 * setjmp/Makefile: Likewise.
3758 * shadow/Makefile: Likewise.
3759 * signal/Makefile: Likewise.
3760 * socket/Makefile: Likewise.
3761 * soft-fp/Makefile: Likewise.
3762 * stdio-common/Makefile: Likewise.
3763 * stdlib/Makefile: Likewise.
3764 * streams/Makefile: Likewise.
3765 * string/Makefile: Likewise.
3766 * sunrpc/Makefile: Likewise.
3767 (all): Remove target.
3768 * sysvipc/Makefile: Include Makeconfig immediately after defining
3769 subdir.
3770 * termios/Makefile: Likewise.
3771 * time/Makefile: Likewise.
3772 * timezone/Makefile: Likewise.
3773 (all): Remove target.
3774 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3775 subdir.
3776 * wctype/Makefile: Likewise.
3777
5b456e9d
SE
37782014-02-26 Steve Ellcey <sellcey@mips.com>
3779
3780 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3781 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3782 (libc_feholdexcept_setround_mips): Ditto.
3783 (libc_feholdsetround): New.
3784 (libc_feholdsetroundf): New.
3785 (libc_feholdsetroundl): New.
3786 (libc_feupdateenv_test_mips): New.
3787 (libc_feupdateenv_test): New.
3788 (libc_feupdateenv_testf): New.
3789 (libc_feupdateenv_testl): New.
3790 (libc_feresetround): New.
3791 (libc_feresetroundf): New.
3792 (libc_feresetroundl): New.
3793 (libc_fetestexcept_mips): New.
3794 (libc_fetestexcept): New.
3795 (libc_fetestexceptf): New.
3796 (libc_fetestexceptl): New.
3797 (HAVE_RM_CTX): New.
3798 (libc_feholdexcept_setround_mips_ctx): New.
3799 (libc_feholdexcept_setround_ctx): New.
3800 (libc_feholdexcept_setroundf_ctx): New.
3801 (libc_feholdexcept_setroundl_ctx): New.
3802 (libc_fesetenv_mips_ctx): New.
3803 (libc_fesetenv_ctx): New.
3804 (libc_fesetenv_ctxf): New.
3805 (libc_fesetenv_ctxl): New.
3806 (libc_feupdateenv_mips_ctx): New.
3807 (libc_feupdateenv_ctx): New.
3808 (libc_feupdateenvf_ctx): New.
3809 (libc_feupdateenvl_ctx): New.
3810 (libc_feholdsetround_mips_ctx): New.
3811 (libc_feholdsetround_ctx): New.
3812 (libc_feholdsetroundf_ctx): New.
3813 (libc_feholdsetroundl_ctx): New.
3814 (libc_feresetround_mips_ctx): New.
3815 (libc_feresetround_ctx): New.
3816 (libc_feresetroundf_ctx): New.
3817 (libc_feresetroundl_ctx): New.
3818
085d0e35
CD
38192014-02-26 Carlos O'Donell <carlos@redhat.com>
3820
f067bf1f
CD
3821 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3822
085d0e35
CD
3823 * manual/ipc.texi: New file.
3824 * manual/Makefile (chapters): Add ipc.
3825 * manual/job.texi: Add "Inter-Process Communication" to next.
3826 * manual/process.texi: Add "Inter-Process Communication" to prev.
3827
86e58c08
AZ
38282014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3829
3830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3831
4248f0da
OB
38322014-02-26 Ondřej Bílka <neleai@seznam.cz>
3833
3834 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3835
cf822e3c
OB
3836 * manual/arith.texi: Fix spaces after sentences.
3837 * manual/charset.texi: Likewise.
3838 * manual/errno.texi: Likewise.
3839 * manual/install.texi: Likewise.
3840 * manual/llio.texi: Likewise.
3841 * manual/locale.texi: Likewise.
3842 * manual/maint.texi: Likewise.
3843 * manual/math.texi: Likewise.
3844 * manual/memory.texi: Likewise.
3845 * manual/message.texi: Likewise.
3846 * manual/probes.texi: Likewise.
3847 * manual/resource.texi: Likewise.
3848 * manual/signal.texi: Likewise.
3849 * manual/socket.texi: Likewise.
3850 * manual/stdio.texi: Likewise.
3851 * manual/string.texi: Likewise.
3852 * manual/time.texi: Likewise.
3853 * manual/users.texi: Likewise.
3854
ade40b10
CD
38552014-02-25 Carlos O'Donell <carlos@redhat.com>
3856
3857 [BZ #16632]
3858 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3859 _DEFAULT_SOURCE is defined.
3860
d0503676
CD
38612014-02-25 Ulrich Drepper <drepper@gmail.com>
3862 Carlos O'Donell <carlos@redhat.com>
3863
3864 [BZ #16613]
3865 * elf/dl-tls.c (_dl_count_modids): New function.
3866 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3867 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3868 audit library and increment generation counter.
3869 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3870 * elf/tst-audit9.c: New file.
3871 * elf/tst-auditmod9a.c: New file.
3872 * elf/tst-auditmod9b.c: New file.
3873 * elf/Makefile: Add rules to build and run tst-audit9.
3874
4cbf380c
FW
38752014-02-25 Florian Weimer <fweimer@redhat.com>
3876
3877 [BZ #15347]
3878 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3879
80a56cc3
WN
38802014-02-25 Will Newton <will.newton@linaro.org>
3881
3882 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3883 (__longjmp): Restore sp and lr before restoring callee
3884 saved registers. Add longjmp and longjmp_target
3885 SystemTap probe point.
3886 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3887 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3888 Define to zero to match jmpbuf layout.
3889 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3890 (__sigsetjmp): Save sp and lr before saving callee
3891 saved registers. Add setjmp SystemTap probe point.
3892
3ea0f74e
SL
38932014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3894
3895 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3896
b04acb26
AS
38972014-02-24 Andreas Schwab <schwab@suse.de>
3898
3899 [BZ #15804]
3900 * elf/pldd.c (wait_for_ptrace_stop): New function.
3901 (main): Call it after attaching.
3902
098ad55c
RM
39032014-02-22 Roland McGrath <roland@hack.frob.com>
3904
d4ec6ae1
RM
3905 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3906 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3907 Versions files is now verboten.
3908 * hurd/Versions (libc: GLIBC_2.0):
3909 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3910 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3911 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3912 * mach/Versions: Likewise.
3913
098ad55c
RM
3914 * csu/Versions: Remove unused %include.
3915 * resolv/Versions: Likewise.
3916
acd7f096
JM
39172014-02-21 Joseph Myers <joseph@codesourcery.com>
3918
f0881698
JM
3919 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3920 ($(objpfx)check-local-headers.out): Likewise.
3921 ($(objpfx)begin-end-check.out): Likewise.
3922 * Makerules (check-abi-%.out): Likewise.
3923 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3924 ($(objpfx)test2.cat): Likewise.
3925 ($(objpfx)de/libc.cat): Likewise.
3926 ($(objpfx)test-gencat.out): Likewise.
3927 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3928 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3929 ($(objpfx)noload-mem): Likewise.
3930 ($(objpfx)tst-pathopt.out): Likewise.
3931 ($(objpfx)tst-rtld-load-self.out): Likewise.
3932 ($(objpfx)tst-array1-cmp.out): Likewise.
3933 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3934 ($(objpfx)tst-array2-cmp.out): Likewise.
3935 ($(objpfx)tst-array3-cmp.out): Likewise.
3936 ($(objpfx)tst-array4-cmp.out): Likewise.
3937 ($(objpfx)tst-array5-cmp.out): Likewise.
3938 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3939 ($(objpfx)check-textrel.out): Likewise.
3940 ($(objpfx)check-execstack.out): Likewise.
3941 ($(objpfx)check-localplt.out): Likewise.
3942 ($(objpfx)order2-cmp.out): Likewise.
3943 ($(objpfx)tst-leaks1-mem): Likewise.
3944 ($(objpfx)tst-leaks1-static-mem): Likewise.
3945 ($(objpfx)tst-initorder-cmp.out): Likewise.
3946 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3947 ($(objpfx)tst-unused-dep.out): Likewise.
3948 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3949 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3950 * iconv/Makefile (test-iconvconfig): Likewise.
3951 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3952 ($(objpfx)iconv-test.out): Likewise.
3953 ($(objpfx)tst-tables.out): Likewise.
3954 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3955 ($(objpfx)tst-gettext.out): Likewise.
3956 ($(objpfx)tst-translit.out): Likewise.
3957 ($(objpfx)tst-gettext2.out): Likewise.
3958 ($(objpfx)tst-gettext4.out): Likewise.
3959 ($(objpfx)tst-gettext6.out): Likewise.
3960 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3961 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3962 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3963 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3964 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3965 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3966 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3967 ($(objpfx)wordexp-tst.out): Likewise.
3968 ($(objpfx)annexc.out): Likewise.
3969 ($(objpfx)tst-fnmatch-mem): Likewise.
3970 ($(objpfx)bug-regex2-mem): Likewise.
3971 ($(objpfx)bug-regex14-mem): Likewise.
3972 ($(objpfx)bug-regex21-mem): Likewise.
3973 ($(objpfx)bug-regex31-mem): Likewise.
3974 ($(objpfx)tst-vfork3-mem): Likewise.
3975 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3976 ($(objpfx)tst-pcre-mem): Likewise.
3977 ($(objpfx)tst-boost-mem): Likewise.
3978 ($(objpfx)tst-getconf.out): Likewise.
3979 ($(objpfx)bug-ga2-mem): Likewise.
3980 ($(objpfx)bug-glob2-mem): Likewise.
3981 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3982 ($(objpfx)mtrace-tst-leaks2): Likewise.
3983 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3984 ($(objpfx)tst-printf.out): Likewise.
3985 ($(objpfx)tst-setvbuf1.out): Likewise.
3986 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3987 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3988 ($(objpfx)tst-fmtmsg.out): Likewise.
3989 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3990 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3991
acd7f096
JM
3992 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3993 * bits/sigaction.h [__USE_MISC]: Likewise.
3994 * bits/waitstatus.h: Update #endif comments.
3995 * ctype/ctype.h: Likewise.
3996 * dirent/dirent.h: Likewise.
3997 [__USE_MISC]: Remove redundant conditionals.
3998 * grp/grp.h: Update #endif comments.
3999 [__USE_GNU]: Remove redundant conditionals.
4000 [__USE_MISC]: Likewise.
4001 * inet/netinet/in.h [__USE_GNU]: Likewise.
4002 * io/sys/stat.h [__USE_MISC]: Likewise.
4003 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4004 * libio/bits/stdio.h: Update #endif comments.
4005 [__USE_MISC]: Remove redundant conditionals.
4006 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4007 * libio/stdio.h: Update #endif comments.
4008 [__USE_MISC]: Remove redundant conditionals.
4009 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4010 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4011 * math/math.h: Update #else and #endif comments.
4012 [__USE_MISC]: Remove redundant conditionals.
4013 * misc/sys/uio.h: Update #endif comments.
4014 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4015 * posix/glob.h [__USE_MISC]: Likewise.
4016 * posix/sys/types.h: Update #endif comments.
4017 [__USE_MISC]: Remove redundant conditionals.
4018 * posix/sys/wait.h: Update #endif comments.
4019 [__USE_MISC]: Remove redundant conditionals.
4020 * posix/unistd.h: Update #endif comments.
4021 [__USE_MISC]: Remove redundant conditionals.
4022 * pwd/pwd.h [__USE_GNU]: Likewise.
4023 [__USE_MISC]: Likewise.
4024 * resolv/netdb.h [__USE_GNU]: Likewise.
4025 * signal/signal.h: Update #endif comments.
4026 [__USE_MISC]: Remove redundant conditionals.
4027 * stdlib/stdlib.h: Update #else and #endif comments.
4028 [__USE_MISC]: Remove redundant conditionals.
4029 [__USE_GNU]: Likewise.
4030 * string/bits/string2.h [__USE_MISC]: Likewise.
4031 * string/string.h: Update #endif comments.
4032 [__USE_MISC]: Remove redundant conditionals.
4033 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4034 Likewise.
4035 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4036 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4037 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4038 Likewise.
4039 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4040 Likewise.
4041 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4042 comments.
4043 [__USE_MISC]: Remove redundant conditionals.
4044 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4045 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4046 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4047 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4048 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4049 Likewise.
4050 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4051 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4052 Likewise.
4053 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4054 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4055 Likewise.
4056 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4057 Likewise.
4058 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4059 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4060 Likewise.
4061 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4062 Likewise.
4063 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4064 * sysdeps/x86/bits/string.h: Update #endif comments.
4065 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4066 conditionals.
4067 * time/sys/time.h: Update #endif comments.
4068 * time/time.h: Likewise.
4069 [__USE_MISC]: Remove redundant conditionals.
4070
a5d82e4e
YG
40712014-02-21 Yury Gribov <y.gribov@samsung.com>
4072
4073 [BZ #16600]
4074 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4075
9a80491d
AS
40762014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4077
4078 * Versions.def (librt): Add GLIBC_2.17.
4079
105fa381
AC
40802014-02-21 Adam Conrad <adconrad@0c3.net>
4081
4082 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4083 synonym for _SYS_AUXV_H to allow direct inclusion.
4084 * sysdeps/sparc/bits/hwcap.h: Likewise.
4085 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4086 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4087 * sysdeps/sparc/sysdep.h: Likewise.
4088
b8cd1c4e
SP
40892014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4090
4091 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4092
bd939d23
RS
40932014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4094
4095 * benchtests/bench-strrchr.c: Print length instead of position.
4096
5d7b57ca
JM
40972014-02-20 Joseph Myers <joseph@codesourcery.com>
4098
bc688c10
JM
4099 [BZ #16611]
4100 * sysdeps/unix/sysv/linux/kernel-features.h
4101 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4102 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4103 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4104 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4105 Likewise.
4106 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4107 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4108 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4109 (__ASSUME_SENDMMSG): Define instead of using previous
4110 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4111 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4112 (__ASSUME_SENDMMSG_SYSCALL): Define.
4113 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4114 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4115 Likewise.
4116 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4117 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4118 Likewise.
4119 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4120 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4121 Likewise.
4122 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4123 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4124 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4125 [__ASSUME_SENDMMSG]: Change conditionals to
4126 [__ASSUME_SENDMMSG_SOCKETCALL].
4127 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4128 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4129 Define.
4130 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4131 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4132 Likewise.
4133 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4134 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4135 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4136 [!__ASSUME_SENDMMSG]: Change conditional to
4137 [!__ASSUME_SENDMMSG_SOCKETCALL].
4138 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4139 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4140 Define.
4141
0e31b18c
JM
4142 [BZ #16610]
4143 * sysdeps/unix/sysv/linux/kernel-features.h
4144 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4145 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4146 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4147 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4148 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4149 [__i386__ || __sparc__]
4150 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4151 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4152 (__ASSUME_RECVMMSG): Define instead of using previous
4153 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4154 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4155 (__ASSUME_RECVMMSG_SYSCALL): Define.
4156 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4157 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4158 Likewise.
4159 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4160 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4161 Likewise.
4162 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4163 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4164 Likewise.
4165 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4166 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4167 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4168 [__ASSUME_RECVMMSG]: Change condition to
4169 [__ASSUME_RECVMMSG_SOCKETCALL].
4170 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4171 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4172 Define.
4173 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4174 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4175 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4176 Likewise.
4177 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4178 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4179 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4180 [!__ASSUME_RECVMMSG]: Change condition to
4181 [!__ASSUME_RECVMMSG_SOCKETCALL].
4182 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4183 (__ASSUME_RECVMMSG_SYSCALL): Define.
4184
dd481ccf
JM
4185 [BZ #16609]
4186 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4187 __powerpc__ || __s390__ || __sh__ || __sparc__]
4188 (__ASSUME_SOCKETCALL): Define.
4189 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4190 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4191 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4192 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4193 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4194 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4195 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4196 (__ASSUME_ACCEPT4): Define instead of using previous
4197 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4198 __powerpc__ || __sparc__ || __s390__)] condition.
4199 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4200 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4201 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4202 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4203 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4204 [!__ASSUME_ACCEPT4]: Change condition to
4205 [!__ASSUME_ACCEPT4_SOCKETCALL].
4206 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4207 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4208 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4209 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4210 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4211 __ASSUME_ACCEPT4_SYSCALL.
4212 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4213 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4214 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4215 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4216 __ASSUME_ACCEPT4_SYSCALL.
4217 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4218 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4219 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4220 [__ASSUME_ACCEPT4]: Change condition to
4221 [__ASSUME_ACCEPT4_SOCKETCALL].
4222 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4223 (__ASSUME_SOCKETCALL): Define.
4224 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4225 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4226 (__ASSUME_SOCKETCALL): Define.
4227 (__ASSUME_ACCEPT4): Remove.
4228 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4229 Define.
4230 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4231 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4232 Likewise.
4233 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4234 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4235
5d7b57ca
JM
4236 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4237 macro.
4238 (HWCAP_ARM_LPAE): Likewise.
4239 (HWCAP_ARM_EVTSTRM): Likewise.
4240 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4241 Add vpfd32, lpae and evtstrm.
4242 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4243 Increase to 22.
4244
63689d61
JM
42452014-02-19 Joseph Myers <joseph@codesourcery.com>
4246
4247 * math/auto-libm-test-in: Add tests of clog10.
4248 * math/auto-libm-test-out: Regenerated.
4249 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4250 * sysdeps/i386/fpu/libm-test-ulps: Update.
4251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4252
ab09bf61
AS
42532014-02-18 Andreas Schwab <schwab@suse.de>
4254
4255 [BZ #16574]
4256 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4257 Store non-zero if the second buffer was newly allocated.
4258 (send_dg): Likewise.
4259 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4260 to send_vc and send_dg.
4261 (res_nsend): Pass NULL for ansp2_malloced.
4262 * resolv/res_query.c (__libc_res_nquery): Add parameter
4263 answerp2_malloced and pass it down to __libc_res_nsend.
4264 (res_nquery): Pass additional NULL to __libc_res_nquery.
4265 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4266 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4267 second answer buffer if answerp2_malloced was set.
4268 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4269 (__libc_res_nquerydomain): Add parameter
4270 answerp2_malloced and pass it down to __libc_res_nquery.
4271 (res_nquerydomain): Pass additional NULL to
4272 __libc_res_nquerydomain.
4273 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4274 additional NULL to __libc_res_nsend and __libc_res_nquery.
4275 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4276 additional NULL to __libc_res_nsearch.
4277 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4278 parameter of __libc_res_nsearch to check for separately allocated
4279 second buffer.
4280 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4281 __libc_res_nquery.
4282 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4283 additional NULL to __libc_res_nquery.
4284 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4285 __libc_res_nsearch.
4286 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4287 * include/resolv.h: Update prototypes of __libc_res_nquery,
4288 __libc_res_nsearch, __libc_res_nsend.
4289
a4fb7861
JM
42902014-02-18 Joseph Myers <joseph@codesourcery.com>
4291
c6af2d89
JM
4292 * math/auto-libm-test-in: Add tests of fma.
4293 * math/auto-libm-test-out: Regenerated.
4294 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4295 (fma_towardzero_test_data): Likewise.
4296 (fma_downward_test_data): Likewise.
4297 (fma_upward_test_data): Likewise.
4298 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4299 mpc_mode.
4300 (rounding_modes): Add values for new field.
4301 (func_calc_method): Add value mpfr_fff_f.
4302 (func_calc_desc): Add mpfr_fff_f union field.
4303 (test_function): Add field exact_args.
4304 (FUNC): Add macro argument EXACT_ARGS.
4305 (FUNC_mpfr_f_f): Update call to FUNC.
4306 (FUNC_mpfr_f_f): Likewise.
4307 (FUNC_mpfr_ff_f): Likewise.
4308 (FUNC_mpfr_if_f): Likewise.
4309 (FUNC_mpc_c_f): Likewise.
4310 (FUNC_mpc_c_c): Likewise.
4311 (test_functions): Add fma. Update calls to FUNC.
4312 (handle_input_arg): Add argument exact_args.
4313 (add_test): Update call to handle_input_arg.
4314 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4315 (output_for_one_input_case): Update call to calc_generic_results.
4316 Recalculate exact zero results in each rounding mode.
4317
a4fb7861
JM
4318 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4319 non-negative before setting low bit.
4320 * math/auto-libm-test-in: Mark one asin test possibly having
4321 spurious underflow.
4322 * math/auto-libm-test-out: Regenerated.
4323 * sysdeps/i386/fpu/libm-test-ulps: Update.
4324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4325
ef114eaf
DH
43262014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4327
2b7f4f2c
SP
4328 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4329 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4330 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
4331 * README: Add missing listing for microblaze*-*-linux-gnu.
4332
c70a4b1d
MF
43332014-02-16 Mike Frysinger <vapier@gentoo.org>
4334
4335 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4336 * sysdeps/unix/sysv/linux/ia64: Move directory from
4337 ports/sysdeps/unix/sysv/linux/ia64.
4338 * README: Update listing for ia64-*-linux-gnu.
4339
591aeaf7
TD
43402014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4341 Joseph Myers <joseph@codesourcery.com>
4342
4343 * Makeconfig (test-name): New variable.
4344 (evaluate-test): Likewise.
4345 * Makerules (do-test-clean): Remove .test-result files.
4346 (common-mostlyclean): Likewise.
4347 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4348 * scripts/evaluate-test.sh: New file.
4349
6e89caf1
JM
43502014-02-14 Joseph Myers <joseph@codesourcery.com>
4351
7f98f180
JM
4352 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4353 separate $(objpfx)tst-fopenloc-cmp.out and
4354 $(objpfx)tst-fopenloc-mem.out targets.
4355 (tests): Update dependencies.
4356 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4357 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4358 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4359 (tst-rxspencer-no-utf8-ARGS): New variable.
4360 (tst-rxspencer-no-utf8-ENV): Likewise.
4361 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4362 instead of $(objpfx)tst-rxspencer-mem.
4363 ($(objpfx)tst-rxspencer-mem): Change target to
4364 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4365 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4366 * posix/tst-rxspencer-no-utf8.c: New file.
4367
6e89caf1
JM
4368 * elf/Makefile ($(objpfx)order.out): Remove rule.
4369 [$(run-built-tests) = yes] (tests): Depend on
4370 $(objpfx)order-cmp.out.
4371 ($(objpfx)order-cmp.out): New rule.
4372 [$(run-built-tests) = yes] (tests): Depend on
4373 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4374 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4375 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4376 $(objpfx)tst-array5-static-cmp.out.
4377 ($(objpfx)tst-array1.out): Remove rule.
4378 ($(objpfx)tst-array1-cmp.out): New rule.
4379 ($(objpfx)tst-array1-static.out): Remove rule.
4380 ($(objpfx)tst-array1-static-cmp.out): New rule.
4381 ($(objpfx)tst-array2.out): Remove rule.
4382 ($(objpfx)tst-array2-cmp.out): New rule.
4383 ($(objpfx)tst-array3.out): Remove rule.
4384 ($(objpfx)tst-array3-cmp.out): New rule.
4385 ($(objpfx)tst-array4.out): Remove rule.
4386 ($(objpfx)tst-array4-cmp.out): New rule.
4387 ($(objpfx)tst-array5.out): Remove rule.
4388 ($(objpfx)tst-array5-cmp.out): New rule.
4389 ($(objpfx)tst-array5-static.out): Remove rule.
4390 ($(objpfx)tst-array5-static-cmp.out): New rule.
4391 [$(run-built-tests) = yes] (tests): Depend on
4392 $(objpfx)order2-cmp.out.
4393 ($(objpfx)order2.out): Remove rule.
4394 ($(objpfx)order2-cmp.out): New rule.
4395 ($(objpfx)tst-initorder.out): Remove rule.
4396 [$(run-built-tests) = yes] (tests): Depend on
4397 $(objpfx)tst-initorder-cmp.out.
4398 ($(objpfx)tst-initorder-cmp.out): New rule.
4399 ($(objpfx)tst-initorder2.out): Remove rule.
4400 [$(run-built-tests) = yes] (tests): Depend on
4401 $(objpfx)tst-initorder2-cmp.out.
4402 ($(objpfx)tst-initorder2-cmp.out): New rule.
4403 [$(run-built-tests) = yes] (tests): Depend on
4404 $(objpfx)tst-unused-dep-cmp.out.
4405 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4406 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4407 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4408 on $(objpfx)tst-setvbuf1-cmp.out.
4409 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4410 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4411 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4412 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4413 ($(objpfx)tst-svc.out): Remove rule.
4414 ($(objpfx)tst-svc-cmp.out): New rule.
4415
ed9a38e2
JM
44162014-02-13 Joseph Myers <joseph@codesourcery.com>
4417
4418 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4419 * ctype/ctype.h [__USE_MISC]: Likewise.
4420 * dirent/dirent.h [__USE_MISC]: Likewise.
4421 * grp/grp.h [__USE_MISC]: Likewise.
4422 * io/fcntl.h [__USE_MISC]: Likewise.
4423 * io/sys/stat.h [__USE_MISC]: Likewise.
4424 * libio/stdio.h [__USE_MISC]: Likewise.
4425 * posix/unistd.h [__USE_MISC]: Likewise.
4426 * pwd/pwd.h [__USE_MISC]: Likewise.
4427 * stdlib.h [__USE_MISC]: Likewise.
4428 * string/bits/string2.h [__USE_MISC]: Likewise.
4429 * string/string.h [__USE_MISC]: Likewise.
4430 * time/time.h [__USE_MISC]: Likewise.
4431
d6680619
AS
44322014-02-13 Andreas Schwab <schwab@suse.de>
4433
4434 [BZ #16574]
4435 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4436 second answer buffer if it was separately allocated.
4437
ace614b8
JM
44382014-02-12 Joseph Myers <joseph@codesourcery.com>
4439
743151ae
JM
4440 * sysdeps/mips/math-tests.h: Include <features.h>.
4441 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4442 (ROUNDING_TESTS_long_double): Do not define.
4443 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4444 (EXCEPTION_TESTS_long_double): Likewise.
4445 * sysdeps/mips/mips64/libm-test-ulps: Update.
4446
498afc54
JM
4447 * include/features.h (__USE_BSD): Remove macro definitions.
4448 (__USE_SVID): Likewise.
4449 (_BSD_SOURCE): Likewise.
4450 (_SVID_SOURCE): Likewise.
4451 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4452 from definition of _DEFAULT_SOURCE.
4453 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4454 [_DEFAULT_SOURCE].
4455 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4456 * bits/mman.h [__USE_BSD]: Likewise.
4457 * bits/termios.h [__USE_BSD]: Likewise.
4458 * bits/waitstatus.h [__USE_BSD]: Likewise.
4459 * ctype/ctype.h [__USE_SVID]: Likewise.
4460 * dirent/dirent.h [__USE_BSD]: Likewise.
4461 * grp/grp.h [__USE_SVID]: Likewise.
4462 [__USE_BSD]: Likewise.
4463 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4464 * io/fcntl.h [__USE_BSD]: Likewise.
4465 * io/ftw.h [__USE_BSD]: Likewise.
4466 * io/sys/stat.h [__USE_BSD]: Likewise.
4467 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4468 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4469 * libio/stdio.h [__USE_SVID]: Likewise.
4470 [__USE_BSD]: Likewise.
4471 * math/math.h [__USE_SVID]: Likewise.
4472 [__USE_BSD]: Likewise.
4473 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4474 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4475 * misc/search.h [__USE_SVID]: Likewise.
4476 * misc/sys/mman.h [__USE_BSD]: Likewise.
4477 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4478 * misc/sys/uio.h [__USE_BSD]: Likewise.
4479 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4480 * posix/glob.h [__USE_BSD]: Likewise.
4481 * posix/regex.h [__USE_BSD]: Likewise.
4482 * posix/sys/types.h [__USE_BSD]: Likewise.
4483 [__USE_SVID]: Likewise.
4484 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4485 * posix/sys/wait.h [__USE_BSD]: Likewise.
4486 [__USE_SVID]: Likewise.
4487 * posix/unistd.h [__USE_BSD]: Likewise.
4488 [__USE_SVID]: Likewise.
4489 * pwd/pwd.h [__USE_SVID]: Likewise.
4490 * resolv/netdb.h [__USE_BSD]: Likewise.
4491 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4492 * signal/signal.h [__USE_BSD]: Likewise.
4493 [__USE_SVID]: Likewise.
4494 * socket/sys/socket.h [__USE_BSD]: Likewise.
4495 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4496 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4497 [__USE_SVID]: Likewise.
4498 * string/bits/string2.h [__USE_BSD]: Likewise.
4499 [__USE_SVID]: Likewise.
4500 * string/bits/string3.h [__USE_BSD]: Likewise.
4501 * string/endian.h [__USE_BSD]: Likewise.
4502 * string/string.h [__USE_SVID]: Likewise.
4503 [__USE_BSD]: Likewise.
4504 * string/strings.h [__USE_BSD]: Likewise.
4505 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4506 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4507 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4508 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4509 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4510 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4511 Likewise.
4512 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4513 Likewise.
4514 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4515 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4516 Likewise.
4517 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4518 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4519 Likewise.
4520 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4521 Likewise.
4522 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4523 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4524 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4525 Likewise.
4526 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4527 Likewise.
4528 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4529 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4530 * termios/termios.h [__USE_BSD]: Likewise.
4531 * time/sys/time.h [__USE_BSD]: Likewise.
4532 * time/time.h [__USE_BSD]: Likewise.
4533 [__USE_SVID]: Likewise.
4534
dd7b064c
JM
4535 * Makefile (subdir_targets): Remove subdir_lint.out.
4536
a2c4c199
JM
4537 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4538 (do-tst-printf): Likewise.
4539 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4540 $(objpfx)tst-printf.out.
4541
8756f740
JM
4542 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4543
1b6dd3f1
JM
4544 * Makerules (check-abi-%): Change target to
4545 $(objpfx)check-abi-%.out.
4546 (check-abi target): Update dependencies.
4547 (check-abi-pattern variable): Redirect output of diff to $@.
4548 (check-abi variable): Likewise.
4549 * elf/Makefile (check-abi): Update dependencies.
4550
ace614b8
JM
4551 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4552 unused.
4553 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4554 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4555 subnormal range.
4556 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4557 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4558 value has largest subnormal exponent.
4559 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4560 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4561 * sysdeps/aarch64/soft-fp/sfp-machine.h
4562 (_FP_TININESS_AFTER_ROUNDING): New macro.
4563 * sysdeps/alpha/soft-fp/sfp-machine.h
4564 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4565 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4566 Likewise.
4567 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4568 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4569 * sysdeps/mips/soft-fp/sfp-machine.h
4570 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4571 * sysdeps/powerpc/soft-fp/sfp-machine.h
4572 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4573 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4574 Likewise.
4575 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4576 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4577 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4578 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4579 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4580 Likewise.
4581
fbfdf9cb
DAS
45822014-02-12 Dylan Alex Simon <dylan@dylex.net>
4583
4584 [BZ #16545]
4585 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4586 model 1.
4587
68b7efaa
RH
45882014-02-12 Richard Henderson <rth@redhat.com>
4589
c70a4b1d 4590 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4591 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4592 * sysdeps/unix/sysv/linux/alpha: Move directory from
4593 ports/sysdeps/unix/sysv/linux/alpha.
4594 * README: Update listing for alpha-*-linux-gnu.
4595
cb4a2928
JM
45962014-02-11 Joseph Myers <joseph@codesourcery.com>
4597
c941736c
JM
4598 * include/features.h: Update comment documenting feature test
4599 macros.
4600 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4601 _DEFAULT_SOURCE.
4602 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4603 (_SVID_SOURCE): Likewise.
4604 (_DEFAULT_SOURCE): Update description of default features.
4605 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4606 with _GNU_SOURCE.
4607 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4608 (S_ISVTX): Likewise.
4609 * manual/math.texi (Mathematical Constants): Likewise.
4610 * manual/signal.texi (Interrupted Primitives): Likewise.
4611 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4612 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4613 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4614 Don't refer to _SVID_SOURCE in warning text.
4615
e8d8d7ec
JM
4616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4617
cb4a2928
JM
4618 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4619 already defined.
4620 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4621 * sysdeps/mips/dl-lookup.c: Remove.
4622 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4623
7e6424e3
AK
46242014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4625
4626 [BZ #16447]
4627 * math/auto-libm-test-in: Add testcase for expl.
4628 * math/auto-libm-test-out: Regenerate.
4629 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4630 calculation of unsafe.
4631 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4632
75eff3fe
MS
46332014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4634
4635 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4636 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4637 ports/sysdeps/unix/sysv/linux/aarch64.
4638 * README: Update listing for aarch64*-*-linux-gnu.
4639
d35f1e80
WN
46402014-02-11 Will Newton <will.newton@linaro.org>
4641
4642 * manual/probes.texi (Mathematical Function Probes): Use
4643 "triggered" instead of "hit".
4644
7b3436d4
WN
4645 * manual/probes.texi (Internal Probes): Add documentation
4646 of setjmp, longjmp and longjmp_target probes.
4647
b4f12ca3
WN
4648 * include/stap-probe.h: Add comment about probe argument
4649 format.
4650
c13a72b7
WN
4651 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4652 definition. (tr_where, tr_freehook, tr_mallochook,
4653 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4654
195b8165
DM
46552014-02-11 David S. Miller <davem@davemloft.net>
4656
4657 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4658 processing int_tests.
4659
2ad7600b
JM
46602014-02-10 Joseph Myers <joseph@codesourcery.com>
4661
4662 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4663 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4664 * sysdeps/unix/sysv/linux/mips: Move directory from
4665 ports/sysdeps/unix/sysv/linux/mips.
4666 * README: Update listing for mips-*-linux-gnu and
4667 mips64-*-linux-gnu.
4668
73588a72
AS
46692014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4670
4671 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4672 * sysdeps/unix/sysv/linux/m68k: Move directory from
4673 ports/sysdeps/unix/sysv/linux/m68k.
4674 * README: Update listing for m68k-*-linux-gnu.
4675
4372980f
CM
46762014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4677
4678 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4679 * sysdeps/unix/sysv/linux/generic: Move directory from
4680 ports/sysdeps/unix/sysv/linux/generic.
4681 * sysdeps/unix/sysv/linux/tile: Move directory from
4682 ports/sysdeps/unix/sysv/linux/tile.
4683 * README: Update listing for tile*-*-linux-gnu.
4684
a1ffb40e
OB
46852014-02-10 Ondřej Bílka <neleai@seznam.cz>
4686
57f41c40
AS
4687 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4688 __builtin_expect.
a1ffb40e
OB
4689 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4690 * catgets/open_catalog.c (__open_catalog): Likewise.
4691 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4692 * debug/confstr_chk.c: Likewise.
4693 * debug/fread_chk.c (__fread_chk): Likewise.
4694 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4695 * debug/getgroups_chk.c: Likewise.
4696 * debug/mbsnrtowcs_chk.c: Likewise.
4697 * debug/mbsrtowcs_chk.c: Likewise.
4698 * debug/mbstowcs_chk.c: Likewise.
4699 * debug/memcpy_chk.c: Likewise.
4700 * debug/memmove_chk.c: Likewise.
4701 * debug/mempcpy_chk.c: Likewise.
4702 * debug/memset_chk.c: Likewise.
4703 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4704 * debug/strcat_chk.c (__strcat_chk): Likewise.
4705 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4706 * debug/strncat_chk.c (__strncat_chk): Likewise.
4707 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4708 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4709 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4710 * debug/wcpncpy_chk.c: Likewise.
4711 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4712 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4713 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4714 * debug/wcsncpy_chk.c: Likewise.
4715 * debug/wcsnrtombs_chk.c: Likewise.
4716 * debug/wcsrtombs_chk.c: Likewise.
4717 * debug/wcstombs_chk.c: Likewise.
4718 * debug/wmemcpy_chk.c: Likewise.
4719 * debug/wmemmove_chk.c: Likewise.
4720 * debug/wmempcpy_chk.c: Likewise.
4721 * debug/wmemset_chk.c: Likewise.
4722 * dirent/scandirat.c (SCANDIRAT): Likewise.
4723 * dlfcn/dladdr1.c (dladdr1): Likewise.
4724 * dlfcn/dladdr.c (dladdr): Likewise.
4725 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4726 * dlfcn/dlerror.c (__dlerror): Likewise.
4727 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4728 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4729 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4730 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4731 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4732 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4733 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4734 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4735 Likewise.
4736 * elf/dl-conflict.c: Likewise.
4737 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4738 * elf/dl-dst.h: Likewise.
4739 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4740 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4741 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4742 * elf/dl-init.c (call_init, _dl_init): Likewise.
4743 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4744 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4745 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4746 Likewise.
a1ffb40e
OB
4747 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4748 Likewise.
4749 * elf/dl-minimal.c (__libc_memalign): Likewise.
4750 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4751 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4752 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4753 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4754 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4755 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4756 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4757 * elf/dl-writev.h (_dl_writev): Likewise.
4758 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4759 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4760 (dl_main): Likewise.
a1ffb40e
OB
4761 * elf/setup-vdso.h (setup_vdso): Likewise.
4762 * grp/compat-initgroups.c (compat_call): Likewise.
4763 * grp/fgetgrent.c (fgetgrent): Likewise.
4764 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4765 * grp/putgrent.c (putgrent): Likewise.
4766 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4767 Likewise.
4768 * hurd/hurdinit.c: Likewise.
4769 * iconvdata/8bit-gap.c (struct): Likewise.
4770 * iconvdata/ansi_x3.110.c : Likewise.
4771 * iconvdata/big5.c : Likewise.
4772 * iconvdata/big5hkscs.c : Likewise.
4773 * iconvdata/cp1255.c: Likewise.
4774 * iconvdata/cp1258.c : Likewise.
4775 * iconvdata/cp932.c : Likewise.
4776 * iconvdata/euc-cn.c: Likewise.
4777 * iconvdata/euc-jisx0213.c : Likewise.
4778 * iconvdata/euc-jp.c: Likewise.
4779 * iconvdata/euc-jp-ms.c : Likewise.
4780 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4781 * iconvdata/gb18030.c : Likewise.
4782 * iconvdata/gbbig5.c (const): Likewise.
4783 * iconvdata/gbgbk.c: Likewise.
4784 * iconvdata/gbk.c : Likewise.
4785 * iconvdata/ibm1364.c : Likewise.
4786 * iconvdata/ibm930.c : Likewise.
4787 * iconvdata/ibm932.c: Likewise.
4788 * iconvdata/ibm933.c : Likewise.
4789 * iconvdata/ibm935.c : Likewise.
4790 * iconvdata/ibm937.c : Likewise.
4791 * iconvdata/ibm939.c : Likewise.
4792 * iconvdata/ibm943.c: Likewise.
4793 * iconvdata/iso_11548-1.c: Likewise.
4794 * iconvdata/iso-2022-cn.c : Likewise.
4795 * iconvdata/iso-2022-cn-ext.c : Likewise.
4796 * iconvdata/iso-2022-jp-3.c: Likewise.
4797 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4798 * iconvdata/iso-2022-kr.c : Likewise.
4799 * iconvdata/iso646.c (gconv_end): Likewise.
4800 * iconvdata/iso_6937-2.c : Likewise.
4801 * iconvdata/iso_6937.c : Likewise.
4802 * iconvdata/iso8859-1.c: Likewise.
4803 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4804 * iconvdata/shift_jisx0213.c : Likewise.
4805 * iconvdata/sjis.c : Likewise.
4806 * iconvdata/t.61.c : Likewise.
4807 * iconvdata/tcvn5712-1.c : Likewise.
4808 * iconvdata/tscii.c: Likewise.
4809 * iconvdata/uhc.c : Likewise.
4810 * iconvdata/unicode.c (gconv_end): Likewise.
4811 * iconvdata/utf-16.c (gconv_end): Likewise.
4812 * iconvdata/utf-32.c (gconv_end): Likewise.
4813 * iconvdata/utf-7.c (base64): Likewise.
4814 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4815 * iconv/gconv_close.c (__gconv_close): Likewise.
4816 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4817 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4818 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4819 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4820 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4821 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4822 * iconv/iconv.c (iconv): Likewise.
4823 * iconv/iconv_close.c: Likewise.
4824 * iconv/loop.c (SINGLE): Likewise.
4825 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4826 * include/atomic.h: Likewise.
4827 * inet/inet6_option.c (option_alloc): Likewise.
4828 * intl/bindtextdom.c (set_binding_values): Likewise.
4829 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4830 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4831 * intl/localealias.c (read_alias_file): Likewise.
4832 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4833 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4834 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4835 * libio/fmemopen.c (fmemopen): Likewise.
4836 * libio/iofgets.c (_IO_fgets): Likewise.
4837 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4838 * libio/iofgetws.c (fgetws): Likewise.
4839 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4840 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4841 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4842 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4843 * locale/findlocale.c (_nl_find_locale): Likewise.
4844 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4845 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4846 Likewise.
4847 * locale/setlocale.c (setlocale): Likewise.
4848 * login/programs/pt_chown.c (main): Likewise.
4849 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4850 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4851 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4852 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4853 * math/e_exp2l.c: Likewise.
4854 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4855 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4856 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4857 * math/s_catan.c (__catan): Likewise.
4858 * math/s_catanf.c (__catanf): Likewise.
4859 * math/s_catanh.c (__catanh): Likewise.
4860 * math/s_catanhf.c (__catanhf): Likewise.
4861 * math/s_catanhl.c (__catanhl): Likewise.
4862 * math/s_catanl.c (__catanl): Likewise.
4863 * math/s_ccosh.c (__ccosh): Likewise.
4864 * math/s_ccoshf.c (__ccoshf): Likewise.
4865 * math/s_ccoshl.c (__ccoshl): Likewise.
4866 * math/s_cexp.c (__cexp): Likewise.
4867 * math/s_cexpf.c (__cexpf): Likewise.
4868 * math/s_cexpl.c (__cexpl): Likewise.
4869 * math/s_clog10.c (__clog10): Likewise.
4870 * math/s_clog10f.c (__clog10f): Likewise.
4871 * math/s_clog10l.c (__clog10l): Likewise.
4872 * math/s_clog.c (__clog): Likewise.
4873 * math/s_clogf.c (__clogf): Likewise.
4874 * math/s_clogl.c (__clogl): Likewise.
4875 * math/s_csin.c (__csin): Likewise.
4876 * math/s_csinf.c (__csinf): Likewise.
4877 * math/s_csinh.c (__csinh): Likewise.
4878 * math/s_csinhf.c (__csinhf): Likewise.
4879 * math/s_csinhl.c (__csinhl): Likewise.
4880 * math/s_csinl.c (__csinl): Likewise.
4881 * math/s_csqrt.c (__csqrt): Likewise.
4882 * math/s_csqrtf.c (__csqrtf): Likewise.
4883 * math/s_csqrtl.c (__csqrtl): Likewise.
4884 * math/s_ctan.c (__ctan): Likewise.
4885 * math/s_ctanf.c (__ctanf): Likewise.
4886 * math/s_ctanh.c (__ctanh): Likewise.
4887 * math/s_ctanhf.c (__ctanhf): Likewise.
4888 * math/s_ctanhl.c (__ctanhl): Likewise.
4889 * math/s_ctanl.c (__ctanl): Likewise.
4890 * math/w_pow.c: Likewise.
4891 * math/w_powf.c: Likewise.
4892 * math/w_powl.c: Likewise.
4893 * math/w_scalb.c (sysv_scalb): Likewise.
4894 * math/w_scalbf.c (sysv_scalbf): Likewise.
4895 * math/w_scalbl.c (sysv_scalbl): Likewise.
4896 * misc/error.c (error_tail): Likewise.
4897 * misc/pselect.c (__pselect): Likewise.
4898 * nis/nis_callback.c (__nis_create_callback): Likewise.
4899 * nis/nis_call.c (__nisfind_server): Likewise.
4900 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4901 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4902 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4903 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4904 * nis/nis_lookup.c (nis_lookup): Likewise.
4905 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4906 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4907 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4908 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4909 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4910 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4911 * nis/nss_compat/compat-initgroups.c (add_group)
4912 (internal_getgrent_r): Likewise.
4913 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4914 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4915 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4916 (internal_getspnam_r): Likewise.
4917 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4918 (_nss_nis_getaliasbyname_r): Likewise.
4919 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4920 (_nss_nis_getntohost_r): Likewise.
4921 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4922 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4923 (_nss_nis_getgrgid_r): Likewise.
4924 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4925 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4926 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4927 (_nss_nis_gethostbyname4_r): Likewise.
4928 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4929 (initgroups_netid): Likewise.
a1ffb40e 4930 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4931 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4932 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4933 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4934 (_nss_nis_getprotobynumber_r): Likewise.
4935 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4936 (_nss_nis_getsecretkey): Likewise.
4937 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4938 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4939 (_nss_nis_getpwuid_r): Likewise.
4940 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4941 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4942 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4943 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4944 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4945 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4946 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4947 Likewise.
57f41c40
AS
4948 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4949 (_nss_nisplus_getntohost_r): Likewise.
4950 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4951 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4952 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4953 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4954 Likewise.
57f41c40
AS
4955 * nis/nss_nisplus/nisplus-initgroups.c
4956 (_nss_nisplus_initgroups_dyn): Likewise.
4957 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4958 (_nss_nisplus_getnetbyaddr_r): Likewise.
4959 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4960 (_nss_nisplus_getprotobynumber_r): Likewise.
4961 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4962 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4963 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4964 Likewise.
57f41c40
AS
4965 * nis/nss_nisplus/nisplus-service.c
4966 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4967 (_nss_nisplus_getservbyport_r): Likewise.
4968 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4969 (_nss_nisplus_getspnam_r): Likewise.
4970 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4971 Likewise.
a1ffb40e
OB
4972 * nscd/aicache.c (addhstaiX): Likewise.
4973 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4974 * nscd/connections.c (register_traced_file, send_ro_fd)
4975 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4976 (main_loop_epoll): Likewise.
a1ffb40e
OB
4977 * nscd/grpcache.c (addgrbyX): Likewise.
4978 * nscd/hstcache.c (addhstbyX): Likewise.
4979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4980 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4981 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4982 (addinnetgrX): Likewise.
4983 * nscd/nscd-client.h (__nscd_acquire_maplock)
4984 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4985 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4986 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4987 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4988 Likewise.
4989 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4990 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4991 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4992 (__nscd_get_map_ref): Likewise.
a1ffb40e 4993 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4994 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4995 Likewise.
a1ffb40e
OB
4996 * nscd/pwdcache.c (addpwbyX): Likewise.
4997 * nscd/selinux.c (preserve_capabilities): Likewise.
4998 * nscd/servicescache.c (addservbyX): Likewise.
4999 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5000 * posix/fnmatch.c (fnmatch): Likewise.
5001 * posix/getopt.c (_getopt_internal_r): Likewise.
5002 * posix/glob.c (glob, glob_in_dir): Likewise.
5003 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5004 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5005 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5006 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5007 * resolv/res_init.c: Likewise.
5008 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5009 * resolv/res_query.c (__libc_res_nquery): Likewise.
5010 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5011 Likewise.
5012 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5013 * stdio-common/perror.c (perror): Likewise.
5014 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5015 * stdio-common/tmpnam.c (tmpnam): Likewise.
5016 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5017 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5018 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5019 Likewise.
a1ffb40e
OB
5020 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5021 * stdlib/putenv.c (putenv): Likewise.
5022 * stdlib/setenv.c (__add_to_environ): Likewise.
5023 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5024 * stdlib/strtol_l.c (INTERNAL): Likewise.
5025 * string/memmem.c (memmem): Likewise.
5026 * string/strerror.c (strerror): Likewise.
5027 * string/strnlen.c (__strnlen): Likewise.
5028 * string/test-memmem.c (simple_memmem): Likewise.
5029 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5030 * sunrpc/pm_getport.c (__get_socket): Likewise.
5031 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5032 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5033 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5034 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5035 Likewise.
5036 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5037 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5038 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5039 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5040 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5041 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5042 Likewise.
5043 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5044 Likewise.
a1ffb40e
OB
5045 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5046 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5047 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5048 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5049 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5051 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5052 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5053 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5054 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5055 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5056 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5057 Likewise.
5058 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5059 Likewise.
5060 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5061 Likewise.
5062 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5063 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5064 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5065 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5066 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5067 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5068 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5069 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5070 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5071 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5072 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5073 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5074 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5075 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5077 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5078 Likewise.
a1ffb40e
OB
5079 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5080 Likewise.
5081 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5082 Likewise.
5083 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5084 Likewise.
5085 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5086 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5087 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5088 Likewise.
5089 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5090 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5091 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5092 * sysdeps/posix/sleep.c: Likewise.
5093 * sysdeps/posix/tempname.c: Likewise.
5094 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5095 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5096 Likewise.
57f41c40
AS
5097 * sysdeps/powerpc/powerpc32/dl-machine.h
5098 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
5099 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5100 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5101 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5102 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5103 Likewise.
5104 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5105 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5106 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5107 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5108 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5109 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5110 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5111 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5112 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5113 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5115 (elf_machine_lazy_rel): Likewise.
a1ffb40e 5116 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5117 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5118 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5119 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5120 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5121 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5122 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5123 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5124 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5125 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5126 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5127 Likewise.
5128 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5129 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5130 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5131 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5132 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5133 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5134 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5135 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5136 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5137 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5138 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5139 Likewise.
5140 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5141 (__posix_fallocate64_l64): Likewise.
5142 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5143 (posix_fallocate): Likewise.
57f41c40
AS
5144 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5145 Likewise.
a1ffb40e 5146 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
5147 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5148 (getifaddrs_internal): Likewise.
a1ffb40e
OB
5149 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5150 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5151 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5152 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5153 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5154 (__posix_fallocate64_l64): Likewise.
5155 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5156 Likewise.
5157 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
5158 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5159 (__get_clockfreq): Likewise.
a1ffb40e
OB
5160 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5161 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5162 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5163 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5165 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5166 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5167 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5168 Likewise.
5169 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5170 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5171 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5172 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5173 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5174 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5175 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5176 Likewise.
5177 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5178 (posix_fallocate): Likewise.
5179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5180 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5181 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5182 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5183 (elf_machine_rela, elf_machine_rela_relative)
5184 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5185 * time/asctime.c (asctime_internal): Likewise.
5186 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5187 * time/tzset.c (__tzset_parse_tz): Likewise.
5188 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5189 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5190 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5191 * wcsmbs/wcsmbsload.h: Likewise.
5192
f3d338c9
OB
5193 [BZ #15894]
5194 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5195
57f41c40
AS
5196 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5197 (arena_get2): Remove THREAD_STATS conditionals.
5198 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5199 (__malloc_stats, int): Likewise.
bdfe308a 5200
d674667c
MF
52012014-02-08 Mike Frysinger <vapier@gentoo.org>
5202
5203 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5204 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5205
6349768c
MF
5206 * manual/setjmp.texi: Fix typos/grammar errors.
5207
0b7c7473
MF
5208 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5209 Only return early when n is <= 0. Delete unused return statement.
5210
ac8cc9e3
MF
5211 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5212 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5213 * debug/tst-longjmp_chk3.c: New file.
5214
c5bb8e23
MF
5215 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5216 (test_main): Replace code with set_fortify_handler call.
5217 * debug/test-strcpy_chk.c: Likewise.
5218 * debug/tst-chk1.c: Likewise.
5219 * debug/tst-longjmp_chk.c: Likewise.
5220 * test-skeleton.c: Include fcntl.h & paths.h
5221 (set_fortify_handler): Define.
5222
10444e42
MF
5223 * debug/tst-longjmp_chk.c: Add header comment and include
5224 ../test-skeleton.c.
5225 (do_test): Mark static.
5226 (TEST_FUNCTION): Define.
5227
1e805e8d
MF
5228 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5229 (IP_PMTUDISC_INTERFACE): Likewise.
5230 (IP_MULTICAST_IF): Likewise.
5231 (IP_MULTICAST_TTL): Likewise.
5232 (IP_MULTICAST_LOOP): Likewise.
5233 (IP_ADD_MEMBERSHIP): Likewise.
5234 (IP_DROP_MEMBERSHIP): Likewise.
5235 (IP_UNBLOCK_SOURCE): Likewise.
5236 (IP_BLOCK_SOURCE): Likewise.
5237 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5238 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5239 (IP_MSFILTER): Likewise.
5240 (MCAST_JOIN_GROUP): Likewise.
5241 (MCAST_BLOCK_SOURCE): Likewise.
5242 (MCAST_UNBLOCK_SOURCE): Likewise.
5243 (MCAST_LEAVE_GROUP): Likewise.
5244 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5245 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5246 (MCAST_MSFILTER): Likewise.
5247 (IP_MULTICAST_ALL): Likewise.
5248 (IP_UNICAST_IF): Likewise.
5249
73f79bb7
MF
5250 * timezone/Makefile: Delete $(have-ksh) check.
5251 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5252 * timezone/tzselect.ksh: Add +x mode bits.
5253
8da79b60
MF
5254 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5255 (ANON_INODE_FS_MAGIC): Likewise.
5256 (BDEVFS_MAGIC): Likewise.
5257 (BINFMTFS_MAGIC): Likewise.
5258 (BTRFS_TEST_MAGIC): Likewise.
5259 (CRAMFS_MAGIC_WEND): Likewise.
5260 (DEBUGFS_MAGIC): Likewise.
5261 (ECRYPTFS_SUPER_MAGIC): Likewise.
5262 (EXT3_SUPER_MAGIC): Likewise.
5263 (EXT4_SUPER_MAGIC): Likewise.
5264 (FUTEXFS_SUPER_MAGIC): Likewise.
5265 (HOSTFS_SUPER_MAGIC): Likewise.
5266 (HUGETLBFS_MAGIC): Likewise.
5267 (MINIX3_SUPER_MAGIC): Likewise.
5268 (MTD_INODE_FS_MAGIC): Likewise.
5269 (NILFS_SUPER_MAGIC): Likewise.
5270 (OPENPROM_SUPER_MAGIC): Likewise.
5271 (PIPEFS_MAGIC): Likewise.
5272 (PSTOREFS_MAGIC): Likewise.
5273 (QNX6_SUPER_MAGIC): Likewise.
5274 (RAMFS_MAGIC): Likewise.
5275 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5276 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5277 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5278 (SECURITYFS_MAGIC): Likewise.
5279 (SELINUX_MAGIC): Likewise.
5280 (SMACK_MAGIC): Likewise.
5281 (SOCKFS_MAGIC): Likewise.
5282 (SQUASHFS_MAGIC): Likewise.
5283 (STACK_END_MAGIC): Likewise.
5284 (TMPFS_MAGIC): Likewise.
5285 (USBDEVICE_SUPER_MAGIC): Likewise.
5286 (V9FS_MAGIC): Likewise.
5287 (XENFS_SUPER_MAGIC): Likewise.
5288 (CRAMFS_MAGIC): Fix typo in comment.
5289 (EXT2_SUPER_MAGIC): Update comment.
5290 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5291
464263cc
JM
52922014-02-08 Joseph Myers <joseph@codesourcery.com>
5293
c6bfe5c4
JM
5294 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5295 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5296 * sysdeps/unix/sysv/linux/arm: Move directory from
5297 ports/sysdeps/unix/sysv/linux/arm.
5298 * README: Update listing for arm-*-linux-gnueabi.
5299
464263cc
JM
5300 * README: Remove mention of am33.
5301
32749f6c
RM
53022014-02-07 Roland McGrath <roland@hack.frob.com>
5303
5304 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5305 than the comma operator, to avoid "rhs of comma has no effect"
5306 compiler warnings.
5307 (__sigfillset, __sigandset, __sigorset): Likewise.
5308 * include/signal.h (__sigemptyset): Likewise.
5309 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5310
d5b396c1
AM
53112014-02-07 Allan McRae <allan@archlinux.org>
5312
5313 * version.h (RELEASE): Set to "development".
5314 (VERSION): Set to "2.19.90"
5315 * NEWS: Add 2.20 section.
5316
3bfff2ed
CD
53172014-02-06 Carlos O'Donell <carlos@redhat.com>
5318
5319 [BZ #16529]
5320 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5321
ee7cc385
SP
53222014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5323
5324 * manual/contrib.texi: Update entry for Carlos O'Donell,
5325 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5326
f877c4f2
CD
53272014-02-05 Carlos O'Donell <carlos@rehdat.com>
5328
27e839f6
CD
5329 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5330
f877c4f2
CD
5331 * sysdeps/unix/sysv/linux/kernel-features.h
5332 [__LINUX_KERNEL_VERSION >= 0x020621]
5333 (__ASSUME_PROC_PID_TASK_COMM): Define.
5334
68159946
SP
53352014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5336
ba17cdbd
SP
5337 [BZ #16398]
5338 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5339 conversion when destination buffer does not have enough space.
5340 * libio/tst-ftell-partial-wide.c: New test case.
5341 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5342
68159946
SP
5343 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5344 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5345 Leonard and Allan McRae.
5346
2b528732
DM
53472014-02-04 David S. Miller <davem@davemloft.net>
5348
5349 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5350 32-bit.
5351
0ff82463
AZ
53522014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5353
57f41c40
AS
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5355 New file
c01603f7
AZ
5356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5357 New file
57f41c40
AS
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5359 New file.
5360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5361 New file.
c01603f7
AZ
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5363 New file.
57f41c40
AS
5364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5365 New file.
5366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5367 New file.
c01603f7
AZ
5368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5369 New file.
5370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5371 New file.
5372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5373 New file.
5374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5375 New file.
5376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5377 New file.
5378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5379 New file.
5380
53812014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5382
0ff82463
AZ
5383 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5384 * shlib-versions: Likewise.
5385
1695c773
AZ
53862014-02-04 Roland McGrath <roland@hack.frob.com>
5387 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5388
5389 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5390 (abilist-pattern): New variable, set to %-le.abilist.
5391
5392 * Makerules (abilist-pattern): New variable.
5393 (vpath): Use $(abilist-pattern) in place of %.abilist.
5394 (check-abi-% pattern rule): Likewise.
5395 (check-abi, update-abi): Likewise.
5396
6c0ce4b4
EW
53972014-02-04 Eric Wong <normalperson@yhbt.net>
5398
5399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5400
481e3524
CD
54012014-02-03 Carlos O'Donell <carlos@redhat.com>
5402
5403 * manual/startup.texi: Add next, previous, and top entries for
5404 the `Program Arguments' and `Environment Variables' nodes.
5405
375592d3
AO
54062014-02-03 Alexandre Oliva <aoliva@redhat.com>
5407
5408 * manual/macros.texi: Add comments before MTASC-safety macros.
5409
f54838ba
AO
5410 * manual/users.texi: Document MTASC-safety properties.
5411
57f41c40
AS
5412 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5413 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
5414 @deftypefun, and add @safety note.
5415 * manual/signal.texi: Move comments that analyze the above
5416 functions to their home place.
5417
fd3daba4
AM
54182014-02-03 Allan McRae <allan@archlinux.org>
5419
5420 * po/sl.po: Update Slovenian translation from translation project.
5421
597636d7
AO
54222014-02-02 Alexandre Oliva <aoliva@redhat.com>
5423
5424 * manual/time.texi (timegm): Add missing blank after @c.
5425 Reported by Joseph Myers <joseph@codesourcery.com>.
5426
ee196e3c
AO
54272014-02-01 Alexandre Oliva <aoliva@redhat.com>
5428
5429 * manual/check-safety.sh: New.
5430 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5431
f8d529d5
AO
5432 * manual/terminal.texi: Document MTASC-safety properties.
5433
de55fdf4
AO
5434 * manual/filesys.texi: Document MTASC-safety properties.
5435
c3299c08
AO
5436 * manual/errno.texi: Document MTASC-safety properties.
5437
06e90b14
AO
5438 * manual/intro.texi: Document safety identifiers and
5439 conditionals.
5440
1acd4371
AO
5441 * manual/string.texi (wcstok): Fix prototype.
5442 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5443
23e5b8cb
AO
5444 * manual/time.texi: Document MTASC-safety properties.
5445
11087373
AO
5446 * manual/string.texi: Document MTASC-safety properties.
5447
5da2c93d
AO
5448 * manual/threads.texi: Document MTASC-safety properties.
5449
171e9210
AO
5450 * manual/stdio.texi: Document MTASC-safety properties.
5451
d9e02532
AO
5452 * manual/syslog.texi: Document MTASC-safety properties.
5453
6af8bab7
AO
5454 * manual/sysinfo.texi: Document MTASC-safety properties.
5455
663b02d7
AO
5456 * manual/startup.texi: Document MTASC-safety properties.
5457
973f180b
AO
5458 * manual/socket.texi: Document MTASC-safety properties.
5459
8f3c25c8
AO
5460 * manual/signal.texi: Document MTASC-safety properties.
5461
542210fb
AO
54622014-01-31 Alexandre Oliva <aoliva@redhat.com>
5463
5464 * manual/setjmp.texi: Document MTASC-safety properties.
5465
433c45a2
AO
5466 * manual/search.texi: Document MTASC-safety properties.
5467
c8ce789c
AO
5468 * manual/resource.texi: Document MTASC-safety properties.
5469
19f5d29c
AO
5470 * manual/process.texi: Document MTASC-safety properties.
5471
e2dfb7f4
AO
5472 * manual/platform.texi: Document MTASC-safety properties.
5473
8c1413f5
AO
5474 * manual/pipe.texi: Document MTASC-safety properties.
5475
03483ada
AO
5476 * manual/pattern.texi: Document MTASC-safety properties.
5477
29e7e2df
AO
5478 * manual/message.texi: Document MTASC-safety properties.
5479
9f529d7c
AO
5480 [BZ #12751]
5481 * manual/memory.texi: Document MTASC-safety properties.
5482
27aaa791
AO
5483 * manual/math.texi: Document MTASC-safety properties.
5484
f2d58726
AO
5485 * manual/locale.texi: Document MTASC-safety properties.
5486
2cc3615c
AO
5487 * manual/llio.texi: Document MTASC-safety properties.
5488
d9f0ec97
AO
5489 * manual/libdl.texi: New.
5490
e7c4409a
AO
5491 * manual/lang.texi: Document MTASC-safety properties.
5492
27bdc63c
AO
5493 * manual/job.texi: Document MTASC-safety properties.
5494
a7b90ea9
AO
5495 * manual/getopt.texi: Document MTASC-safety properties.
5496
c49130e3
AO
5497 * manual/ctype.texi: Document MTASC-safety properties.
5498
0d23a5c1
MR
54992014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5500
5501 [BZ #16046]
5502 * csu/libc-tls.c (static_map): Remove variable.
5503 (__libc_setup_tls): Use main executable's link map for TLS data.
5504 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5505 casing for LM_ID_BASE and GL(dl_nns).
5506 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5507 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5508 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5509 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5510 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5511 member.
5512 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5513 l_phnum members.
5514
0037bb60
AO
55152014-01-30 Alexandre Oliva <aoliva@redhat.com>
5516
5517 * manual/debug.texi: Document MTASC-safety properties.
5518
409e00bd
L
55192014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5520
5521 [BZ #16510]
5522 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5523 of __x86_64__ when disabling x87 inline functions.
5524
86e60666
AO
55252014-01-29 Alexandre Oliva <aoliva@redhat.com>
5526
5527 * manual/charset.texi: Document MTASC-safety properties.
5528
76167637
AO
5529 * manual/crypt.texi: Document MTASC-safety properties.
5530
e567f2a0
AO
5531 * manual/conf.texi: Document MTASC-safety properties.
5532
b719dafd
AO
5533 * manual/arith.texi: Document MTASC-safety properties.
5534
4a16c662
AO
5535 * manual/argp.texi: Document MTASC-safety properties.
5536
0a57b83e
AO
5537 * manual/macros.texi: Introduce macros to document multi
5538 thread, asynchronous signal and asynchronous cancellation
5539 safety properties.
5540 * manual/intro.texi: Introduce the properties themselves.
5541
feab2397
KK
55422014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5543
5544 * sysdeps/sh/sh4/Makefile: New file.
5545
1c0d11bc
AS
55462014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5547
5548 * math/gen-libm-test.pl ($srcdir): New variable.
5549 ($auto_input): Use it.
5550
af37a8a3
SP
55512014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5552
d7b00f98
SP
5553 [BZ #16506]
5554 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5555 access beyond array bounds when parsing netgroups file.
5556
af37a8a3
SP
5557 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5558 the old buffer before realloc.
5559
0c00f062
AM
55602014-01-27 Allan McRae <allan@archlinux.org>
5561
5562 * po/fr.po: Update French translation from translation project.
5563
7d69a1b0
KK
55642014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5565
5566 * sysdeps/sh/libm-test-ulps: Regenerate.
5567
6e697ff7
DM
55682014-01-24 David S. Miller <davem@davemloft.net>
5569
5570 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5571
9cadb35c
KK
55722014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5573
5574 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5575 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5576
5d41dadf
SP
55772013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5578
5579 [BZ #16474]
5580 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5581 string pointers after reallocation.
5582
0bad441c
KK
55832014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5584
5585 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5586 __SH4A__ instead of __SH_FPU_ANY__.
5587
7007c661
KK
55882014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5589
5590 * sysdeps/sh/fpu_control.h: New file.
5591 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5592 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5593 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5594 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5595 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5596 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5597 * sysdeps/sh/sys/ucontext.h: Remove.
5598 * sysdeps/sh/sys: Remove directory.
5599
0f0c35e4
AK
56002014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5601
5602 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5603 s390/sys/ucontext.h.
5604 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5605 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5606
4959e284
L
56072014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5608
5609 [BZ #15605]
5610 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5611
d98720e0
AZ
56122014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5613
5614 [BZ#16431]
5615 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5616 Adjust the vDSO correctly for internal calls.
5617 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5618
91cbd0bc
AM
56192014-01-20 Allan McRae <allan@archlinux.org>
5620
5621 * po/ca.po: Update Catalan translation from translation project.
5622
7a02cfad
MF
56232014-01-16 Mike Frysinger <vapier@gentoo.org>
5624
5625 * sysdeps/s390/sotruss-lib.c: New file.
5626
736c304a
AZ
56272014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5628
5629 [BZ#16430]
6e077ee5 5630 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5631 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5632 local calls issues by not having a PLT stub required for IFUNC calls.
5633 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5634
94d0cea0
JM
56352014-01-16 Joseph Myers <joseph@codesourcery.com>
5636
5637 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5638 * math/test-fpucw-static.c: Likewise.
5639
980cb518
SP
56402013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5641
5642 [BZ #16453]
5643 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5644
2393fc01
AZ
56452014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5646
5647 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5648 implementation for powerpc.
5649
d359bcc2
OB
56502014-01-15 Ondřej Bílka <neleai@seznam.cz>
5651
5652 [BZ #14782]
5653 * sysdeps/posix/system.c (__libc_system): Do not enable
5654 asynchronous cancellation.
5655
7beb48cb
AK
56562014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5657
5658 [BZ #16427]
5659 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5660 handling only for numbers special also in the IEEE case.
5661
c20d5bf5
AK
56622014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5663
5664 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5665
e83bd4ee
AM
56662014-01-11 Allan McRae <allan@archlinux.org>
5667
76d0ea69
AM
5668 * po/bg.po: Update Bulgarian translation from translation project.
5669
e83bd4ee
AM
5670 * po/de.po: Update German translation from translation project.
5671
bc2ba20a
RM
56722014-01-10 Roland McGrath <roland@hack.frob.com>
5673
5674 * sysdeps/generic/gcc-compat.h: New file.
5675
649ecea2
SP
56762014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5677
5678 * benchtests/asin-inputs: Correct slow inputs.
5679 * benchtests/acos-inputs: Likewise.
5680
1b19c006
AM
56812014-01-10 Allan McRae <allan@archlinux.org>
5682
a46dab08
AM
5683 * po:sv.po: Update Swedish translation from translation project.
5684
421df74a
AM
5685 * po/vi.po: Update Vietnamese translation from translation project.
5686
d61c51a7
AM
5687 * po/eo.po: Update Esperanto translation from translation project.
5688
0339a319
AM
5689 * po/cs.po: Update Czech translation from translation project.
5690
94ad3e99
AM
5691 * po/nl.po: Update Dutch translation from translation project.
5692
e349ca71
AM
5693 * po/pl.po: Update Polish translation from translation project.
5694
ddf930c1
AM
5695 * po/ru.po: Update Russian translation from translation project.
5696
1b19c006
AM
5697 * po/uk.po: Update Ukrainian translation from translation project.
5698
9f236c49
BM
56992014-01-08 Brooks Moses <bmoses@google.com>
5700
5701 * elf/dl-load.c: Fix comment typo.
5702
cd6701cf
CD
57032014-01-08 Carlos O'Donell <carlos@redhat.com>
5704
5705 * po/header.pot: Rename to...
5706 * po/pot.header: ... this.
5707 * po/Makefile: Use pot.header.
5708
66671c84
YK
57092014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5710 Maxim Kuvyrkov <maxim@kugelworks.com>
5711
5712 [BZ #16394]
cd6701cf
CD
5713 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5714 SRC and DEST against LEN.
66671c84 5715
38f34581
AZ
57162014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5717
5718 [BZ #16414]
5719 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5720 implementation.
5721 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5722
57232014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5724
5725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5726
4c327f2a
JM
57272014-01-08 Joseph Myers <joseph@codesourcery.com>
5728
5729 [BZ #16408]
5730 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5731 for large positive arguments.
5732
b821f414
JM
57332014-01-07 Joseph Myers <joseph@codesourcery.com>
5734
1f0f2067
JM
5735 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5736
a5a326f6
JM
5737 * math/auto-libm-test-in: Mark various tests with
5738 xfail-rounding:ldbl-128ibm.
5739 * math/auto-libm-test-out: Regenerated.
5740
b821f414
JM
5741 [BZ #16407]
5742 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5743 Increase overflow threshold.
5744
94c8a4bc
OB
57452014-01-07 Ondřej Bílka <neleai@seznam.cz>
5746
5747 [BZ #14286]
5748 * stdio-common/vfprintf.c: Check for integer overflow.
5749
87ded0c3
AK
57502014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5751
5752 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5753 the first argument and return value of __tls_get_addr_internal.
5754
c5eebdd0
AK
57552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5756
5757 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5758 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5759
05d138ef
AK
57602014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5761
5762 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5763 * sysdeps/s390/rtld-global-offsets.sym: New file.
5764 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5765 GLIBC_2.19 symbol.
5766 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5767 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5768 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5769 ... this.
5770 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5771 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5772 ... this.
5773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5774 Regenerate.
5775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5776 Regenerate.
5777 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5778 halfs of GPRs for high_gprs contexts.
5779 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5780 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5781 field.
5782 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5783 uc_flags field.
5784 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5785 64 bit versions:
5786 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5787 for high GPRs (uc_high_gprs) and for future extensions
5788 (__reserved).
5789 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5790 for future extensions (__reserved).
5791 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5792 64 bit versions:
5793 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5794 SC_HIGHGPRS offset definition.
5795 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5796 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5797
93a45ff1
AK
5798 * Versions.def: Add GLIBC_2.19 for libpthread.
5799 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5800 siglongjmp for libpthread with GLIBC_2.19 symver.
5801 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5802 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5803 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5804 * sysdeps/s390/__longjmp.c: New file.
5805 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5806 * sysdeps/s390/longjmp.c: New file.
5807 * sysdeps/s390/setjmp.S: New file.
5808 * sysdeps/s390/sigjmp.S: New file.
5809 * sysdeps/s390/v1-longjmp.c: New file.
5810 * sysdeps/s390/v1-setjmp.h: New file.
5811 * sysdeps/s390/v1-sigjmp.c: New file.
5812 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5813 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5814 GLIBC_2.19 version.
5815 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5816 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5817 versioned symbols for ____longjmp_chk.
5818 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5819 Likewise.
5820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5821 Regenerate.
5822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5823 Regenerate.
5824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5825 Regenerate.
5826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5827 Regenerate.
5828 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5829 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5830 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5831 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5832 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5833 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5834 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5835 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5836 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5837 * sysdeps/s390/rtld-__longjmp.c: New file.
5838 * sysdeps/s390/rtld-setjmp.S: New file.
5839
eb3fc44b
JM
58402014-01-06 Joseph Myers <joseph@codesourcery.com>
5841
5842 [BZ #16400]
5843 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5844 Return -__logl (x) for small positive arguments without evaluating
5845 a polynomial.
5846
9341dde4
MF
58472014-01-06 Mike Frysinger <vapier@gentoo.org>
5848
5849 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5850 Rename to ...
5851 (__ptrace_peeksiginfo_args): ... this.
5852 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5853 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5854 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5855
4cff0293
AM
58562014-01-06 Allan McRae <allan@archlinux.org>
5857
5858 * inet/netinet/in.h: Fix typo in comment.
5859
75595dcf
AJ
58602014-01-05 Andreas Jaeger <aj@suse.de>
5861
5862 * sysdeps/i386/fpu/libm-test-ulps: Update.
5863
79c1e109
AM
58642014-01-05 Allan McRae <allan@archlinux.org>
5865
dd804818
AM
5866 * po/libc.pot: Regenerated.
5867
79c1e109
AM
5868 * malloc/memusagestat.c: Fix gettext call formatting.
5869
0c813d1f
SK
58702014-01-04 Sami Kerola <kerolasa@iki.fi>
5871
5872 * nscd/nscd.c: Improve usage() output.
5873
20f4a8d9
MF
58742014-01-04 Mike Frysinger <vapier@gentoo.org>
5875
5876 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5877 * sysdeps/unix/sysv/linux/configure: Regenerated.
5878 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5879 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5880
22562bb2
JM
58812014-01-03 Joseph Myers <joseph@codesourcery.com>
5882
5883 [BZ #16390]
5884 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5885 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5886
d7ad2d9b
AZ
58872014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5888
5889 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5890 extra tokens at end of #undef directive.
5891 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5892 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5893 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5894
7dd009d8
JM
58952014-01-03 Joseph Myers <joseph@codesourcery.com>
5896
24db925a
JM
5897 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5898
7dd009d8
JM
5899 * math/auto-libm-test-in: Mark various tests with
5900 xfail-rounding:ldbl-128ibm.
5901 * math/auto-libm-test-out: Regenerated.
5902
396e3ecf
JM
59032014-01-02 Joseph Myers <joseph@codesourcery.com>
5904
819e5d50
JM
5905 [BZ #16386]
5906 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5907 numbers with subnormal high part when calculating exponent.
5908
90b6a1e5
JM
5909 [BZ #16385]
5910 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5911 fabs.
5912
396e3ecf
JM
5913 [BZ #16384]
5914 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5915 M_LN2l.
5916 (__ieee754_acoshl): Use __log1pl not __log1p.
5917
6c8dbf00
OB
59182013-01-02 Ondřej Bílka <neleai@seznam.cz>
5919
57f41c40
AS
5920 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5921 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5922 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5923 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5924 (reused_arena, arena_get2): Convert to GNU style.
5925 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5926 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5927 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5928 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5929 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5930 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5931 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5932 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5933 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5934 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5935 * malloc/malloc.h: Likewise.
57f41c40
AS
5936 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5937 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5938 * malloc/mcheck.h: Likewise.
57f41c40
AS
5939 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5940 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5941 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5942 * malloc/morecore.c (__default_morecore): Likewise.
5943 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5944 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5945 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5946 (print_and_abort): Likewise.
6c8dbf00
OB
5947 * malloc/obstack.h: Likewise.
5948 * malloc/set-freeres.c (__libc_freeres): Likewise.
5949 * malloc/tst-mallocstate.c (main): Likewise.
5950 * malloc/tst-mtrace.c (main): Likewise.
5951 * malloc/tst-realloc.c (do_test): Likewise.
5952
d4124212
SP
59532013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5954
9a3c6a6f
SP
5955 [BZ #16366]
5956 * nscd/netgroupcache.c (do_notfound): New function.
5957 (addgetnetgrentX): Use it.
5958
d4124212
SP
5959 [BZ # 16365]
5960 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5961 NSS_STATUS_NOTFOUND.
5962
97b9a009
JM
59632014-01-01 Joseph Myers <joseph@codesourcery.com>
5964
5965 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5967
d4697bc9
AM
59682014-01-01 Allan McRae <allan@archlinux.org>
5969
ddb3687f
AM
5970 * scripts/update-copyrights: Update configure input file suffix.
5971
88726d48
AM
5972 * NEWS: Update copyright year.
5973 * catgets/gencat.c: Likewise.
5974 * csu/version.c: Likewise.
5975 * debug/catchsegv.sh: Likewise.
5976 * debug/pcprofiledump.c: Likewise.
5977 * debug/xtrace.sh: Likewise.
5978 * elf/ldconfig.c: Likewise.
5979 * elf/ldd.bash.in: Likewise.
5980 * elf/pldd.c: Likewise.
5981 * elf/sotruss.ksh: Likewise.
5982 * elf/sprof.c: Likewise.
5983 * iconv/iconv_prog.c: Likewise.
5984 * iconv/iconvconfig.c: Likewise.
5985 * locale/programs/locale.c: Likewise.
5986 * locale/programs/localedef.c: Likewise.
5987 * login/programs/pt_chown.c: Likewise.
5988 * malloc/memusage.sh: Likewise.
5989 * malloc/memusagestat.c: Likewise.
5990 * malloc/mtrace.pl: Likewise.
5991 * manual/libc.texinfo: Likewise.
5992 * nscd/nscd.c: Likewise.
5993 * nss/getent.c: Likewise.
5994 * nss/makedb.c: Likewise.
5995 * posix/getconf.c: Likewise.
5996 * scripts/test-installation.pl: Likewise.
5997
d4697bc9
AM
5998 * All files with FSF copyright notices: Update copyright dates
5999 using scripts/update-copyrights.
6000 * intl/plural.c: Regenerated.
6001 * locale/programs/charmap-kw.h: Likewise.
6002 * locale/programs/locfile-kw.h: Likewise.
6003
c8590f9d
MF
60042013-12-31 Mike Frysinger <vapier@gentoo.org>
6005
6006 * sysdeps/unix/sysv/linux/configure: Regenerated.
6007 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6008 the linux/fanotify.h header.
6009 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6010 HAVE_LINUX_FANOTIFY_H is defined.
6011
b19221b9
SP
60122013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6013
dd1d85e5
SP
6014 * benchtests/cos-inputs: New inputs.
6015 * benchtests/sin-inputs: Likewise.
6016
1acbb90f
SP
6017 * benchtests/atan-inputs: New inputs. Fix name of multiple
6018 precision fallback inputs.
6019
4c012ed3
SP
6020 * benchtests/atanh-inputs: New inputs.
6021 * benchtests/tanh-inputs: Likewise.
6022
eff98324
SP
6023 * benchtests/acosh-inputs: New inputs.
6024 * benchtests/asinh-inputs: Likewise.
6025
ce641152
SP
6026 * benchtests/cosh-inputs: New inputs.
6027 * benchtests/sinh-inputs: Likewise.
6028
b19221b9
SP
6029 * benchtests/acos-inputs: Add more inputs.
6030 * benchtests/asin-inputs: Likewise.
6031
030a4976 60322013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6033
030a4976 6034 [BZ #16375]
9dcc8f11
VS
6035 * manual/arith.texi: Fix spelling.
6036 * manual/charset.texi: Likewise.
6037 * manual/errno.texi: Likewise.
6038 * manual/filesys.texi: Likewise.
6039 * manual/lang.texi: Likewise.
6040 * manual/llio.texi: Likewise.
6041 * manual/locale.texi: Likewise.
6042 * manual/message.texi: Likewise.
6043 * manual/resource.texi: Likewise.
6044 * manual/search.texi: Likewise.
6045 * manual/setjmp.texi: Likewise.
6046 * manual/stdio.texi: Likewise.
6047 * manual/string.texi: Likewise.
6048 * manual/sysinfo.texi: Likewise.
6049 * manual/time.texi: Likewise.
6050
11520a57
CD
60512013-12-27 Carlos O'Donell <carlos@redhat.com>
6052
6053 * po/sl.po: New file.
6054
471103ae
MF
60552013-12-27 Mike Frysinger <vapier@gentoo.org>
6056
6057 * .gitignore: Add core/.gdbinit/.gdb_history.
6058
6c9642ed
AM
60592013-12-27 Allan McRae <allan@archlinux.org>
6060
6061 [BZ #16369]
6062 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6063 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6064
3f637079
BM
60652013-12-24 Brooks Moses <bmoses@google.com>
6066
6067 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6068 all compilers that claim C++98 compliance, not just GCC.
6069 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6070 Likewise.
6071
abc26e99
MK
60722013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6073
6074 * NEWS: Restore accidentally deleted bug-fix entries.
6075
362b47fe
MK
60762013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6077 Ondřej Bílka <neleai@seznam.cz>
6078
6079 [BZ #15073]
6080 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 6081 have_lock.
362b47fe 6082
b9bcbbcb
OB
60832013-12-23 Ondřej Bílka <neleai@seznam.cz>
6084
6085 [BZ #12986]
6086 * manual/stdio.texi (String Input Conversions): Clarify that character
6087 classes are not supported.
6088
fb55fcd2
AZ
60892013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6090
6091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6092
ef7344f0
JM
60932013-12-22 Joseph Myers <joseph@codesourcery.com>
6094
4f40e4b3
JM
6095 [BZ #16337]
6096 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6097 Calculate results for small negative arguments directly rather
6098 than using reflection formula with special underflow handling.
6099
ef7344f0
JM
6100 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6101 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6102 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6103 (fchflags): Likewise.
6104 (revoke): Likewise.
6105 (setlogin): Likewise.
6106 (sigaltstack): Likewise.
6107 (wait4): Likewise.
6108 (sigblock): Remove.
6109 (sigsetmask): Likewise.
6110 (wait3): Likewise.
6111 (waitpid): Likewise.
6112 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6113 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6114 file.
6115 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6116 * sysdeps/unix/bsd/Makefile: ... here.
6117 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6118 * sysdeps/unix/bsd/Versions: ... here.
6119 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6120 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6121 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6122 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6123 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6124 * sysdeps/unix/bsd/sigblock.c: ... here.
6125 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6126 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6127 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6128 * sysdeps/unix/bsd/sigvec.c: ... here.
6129 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6130 * sysdeps/unix/bsd/tcdrain.c: ... here.
6131 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6132 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6133 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6134 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6135 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6136 * sysdeps/unix/bsd/wait.c: ... here.
6137 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6138 * sysdeps/unix/bsd/wait3.c: ... here.
6139 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6140 * sysdeps/unix/bsd/waitpid.c: ... here.
6141
5b0626b9
JM
61422013-12-21 Joseph Myers <joseph@codesourcery.com>
6143
6144 [BZ #16356]
6145 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6146 round-to-nearest for [!USE_AS_EXPM1L].
6147 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6148 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6149 more tests of exp and exp10. Expect some exp10 tests to miss
6150 exceptions or fail in directed rounding modes.
6151 * math/auto-libm-test-out: Regenerated.
6152 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6153 (exp10_test_tonearest): New function.
6154 (exp10_towardzero_test_data): New array.
6155 (exp10_test_towardzero): New function.
6156 (exp10_downward_test_data): New array.
6157 (exp10_test_downward): New function.
6158 (exp10_upward_test_data): New array.
6159 (exp10_test_upward): New function.
6160 (main): Call the new functions.
6161 * sysdeps/i386/fpu/libm-test-ulps: Update.
6162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6163
7fda5682
JM
61642013-12-20 Joseph Myers <joseph@codesourcery.com>
6165
31e3a405
JM
6166 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6167 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6168 * math/auto-libm-test-out: Regenerated.
6169 * math/libm-test.inc (acosh_test_data): Add more tests.
6170 (atanh_test_data): Likewise.
6171 (ceil_test_data): Likewise.
6172 (copysign_test_data): Likewise.
6173 * sysdeps/i386/fpu/libm-test-ulps: Update.
6174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6175
85bff96a
JM
6176 * timezone/checktab.awk: Update from tzcode 2013i.
6177 * timezone/private.h: Likewise.
6178 * timezone/scheck.c: Likewise.
6179 * timezone/tzfile.h: Likewise.
6180 * timezone/tzselect.ksh: Likewise.
6181 * timezone/zdump.c: Likewise.
6182 * timezone/zic.c: Likewise.
6183
b7867a3b
JM
6184 * math/auto-libm-test-in: Add tests of cpow.
6185 * math/auto-libm-test-out: Regenerated.
6186 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 6187 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
6188 mpc_cc_c.
6189 (func_calc_desc): Add mpc_cc_c union field.
6190 (test_functions): Add cpow.
6191 (special_fill_2pi): New function.
6192 (special_real_inputs): Add 2pi.
6193 (calc_generic_results): Handle mpc_cc_c.
6194 * sysdeps/i386/fpu/libm-test-ulps: Update.
6195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6196
7fda5682
JM
6197 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6198 csqrt, ctan and ctanh.
6199 * math/auto-libm-test-out: Regenerated.
6200 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6201 (TEST_COND_x86): Likewise.
6202 (ccos_test_data): Use AUTO_TESTS_c_c.
6203 (ccosh_test_data): Likewise.
6204 (cexp_test_data): Likewise.
6205 (clog_test_data): Likewise.
6206 (csqrt_test_data): Likewise.
6207 (ctan_test_data): Likewise.
6208 (ctan_tonearest_test_data): Likewise.
6209 (ctan_towardzero_test_data): Likewise.
6210 (ctan_downward_test_data): Likewise.
6211 (ctan_upward_test_data): Likewise.
6212 (ctanh_test_data): Likewise.
6213 (ctanh_tonearest_test_data): Likewise.
6214 (ctanh_towardzero_test_data): Likewise.
6215 (ctanh_downward_test_data): Likewise.
6216 (ctanh_upward_test_data): Likewise.
6217 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6218 mpc_c_c.
6219 (func_calc_desc): Add mpc_c_c union field.
6220 (FUNC_mpc_c_c): New macro.
6221 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6222 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6223 ctanh.
6224 (special_fill_min_subnorm_p120): New function.
6225 (special_real_inputs): Add min_subnorm_p120.
6226 (calc_generic_results): Handle mpc_c_c.
6227 * sysdeps/i386/fpu/libm-test-ulps: Update.
6228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6229
5ff8d60e
SP
62302013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6231
57f41c40
AS
6232 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6233 (do_sin_slow): New functions.
6234 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6235 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 6236
84ba214c
SP
6237 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6238 Use M to change sign of result instead of X. Assume X is
6239 positive.
6240 (csloww1): Likewise.
6241 (__sin): Adjust.
6242 (__cos): Adjust.
6243
975195e4
SP
6244 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6245 arguments A and DA.
6246 (__sin): Adjust.
6247 (__cos): Likewise.
6248
5ff8d60e
SP
6249 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6250 (__cos): Likewise.
6251 (sloww1): Don't adjust sign of DX.
6252 (csloww1): Likewise.
6253 (sloww2): Use X directly and don't adjust sign of DX.
6254 (csloww2): Likewise.
6255
eb983568
JM
62562013-12-19 Joseph Myers <joseph@codesourcery.com>
6257
64a17f1a
JM
6258 * math/auto-libm-test-in: Add tests of cabs and carg.
6259 * math/auto-libm-test-out: Regenerated.
6260 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6261 (carg_test_data): Likewise.
6262 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6263 mpc_c_f.
6264 (func_calc_desc): Add mpc_c_f union field.
6265 (test_functions): Add cabs and carg.
6266 (calc_generic_results): Handle mpc_c_f.
6267
eb983568
JM
6268 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6269 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6270 as a macro and a compat symbol.
6271 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6272 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6273 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6274 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6275 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6276 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6277 not use .hidden.
6278 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6279 Likewise.
6280 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6281 Likewise.
6282 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6283 Likewise.
6284 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6285 Likewise.
6286 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6287 Likewise.
6288 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6289 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6290 from GLIBC_2.3.2.
6291
6eeb678a
AZ
62922013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6293
6294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6295
6f6fc482
JM
62962013-12-19 Joseph Myers <joseph@codesourcery.com>
6297
21fea2e2
JM
6298 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6299 trailing whitespace removed.
6300 * scripts/config.guess: Update to version 2013-11-29.
6301 * scripts/config.sub: Update to version 2013-10-01.
6302
6f6fc482
JM
6303 * math/auto-libm-test-in: Add tests of sincos.
6304 * math/auto-libm-test-out: Regenerated.
6305 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6306 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6307 mpfr_f_11.
6308 (func_calc_desc): Add mpfr_f_11 union field.
6309 (test_functions): Add sincos.
6310 (calc_generic_results): Handle mpfr_f_11.
6311 * sysdeps/i386/fpu/libm-test-ulps: Update.
6312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6313
83f5c32d
AS
63142013-12-19 Andreas Schwab <schwab@suse.de>
6315
6316 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6317 CALL_MCOUNT.
6318 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6319 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6320 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6321
c688b419
JM
63222013-12-19 Joseph Myers <joseph@codesourcery.com>
6323
335ee092
JM
6324 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6325 * sysdeps/i386/fpu/libm-test-ulps: Update.
6326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6327
f88acd39
JM
6328 [BZ #16293]
6329 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6330 round-to-nearest mode when using frndint.
6331 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6332 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6333 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6334 Likewise.
6335 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6336 sinh test to fail.
6337 * math/auto-libm-test-out: Regenerated.
6338 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6339 (TEST_COND_x86): Likewise.
6340 (expm1_tonearest_test_data): New array.
6341 (expm1_test_tonearest): New function.
6342 (expm1_towardzero_test_data): New array.
6343 (expm1_test_towardzero): New function.
6344 (expm1_downward_test_data): New array.
6345 (expm1_test_downward): New function.
6346 (expm1_upward_test_data): New array.
6347 (expm1_test_upward): New function.
6348 (main): Run the new test functions.
6349 * sysdeps/i386/fpu/libm-test-ulps: Update.
6350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6351
c688b419
JM
6352 * include/features.h: Update comment documenting feature test
6353 macros. Mention _DEFAULT_SOURCE in comment.
6354 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6355 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6356 _BSD_SOURCE and _SVID_SOURCE.
6357 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6358 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6359 !_SVID_SOURCE]: Likewise.
6360 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6361 (__USE_POSIX_IMPLICITLY): Define.
6362 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6363 (_POSIX_SOURCE): Undefine and redefine.
6364 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6365 (_POSIX_C_SOURCE): Likewise.
6366 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6367 (Feature Test Macros): Update documentation of default features.
6368
9f6e964c
RS
63692013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6370
6371 * benchtests/Makefile: Add bench-strtok.
6372 * benchtests/bench-strtok.c: New file: strtok benchtest.
6373
ee0a148a
AM
63742013-12-19 Allan McRae <allan@archlinux.org>
6375
6376 * manual/install.texi: Suppress menu for plain text output.
6377 * INSTALL: Regenerated.
6378
b9ab448f
BM
63792013-12-18 Brooks Moses <bmoses@google.com>
6380
6381 [BZ #15846]
6382 * misc/getauxval.c: Include errno.h.
6383 (__getauxval): Set errno to ENOENT if the requested type is not
6384 found.
6385 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6386 don't declare with __attribute_const__.
6387 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6388 * manual/startup.texi: Document that getauxval sets errno.
6389
23776487
JM
63902013-12-18 Joseph Myers <joseph@codesourcery.com>
6391
f889953b
JM
6392 * math/auto-libm-test-in: Add tests of jn and yn.
6393 * math/auto-libm-test-out: Regenerated.
6394 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6395 (yn_test_data): Likewise.
6396 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6397 mpfr_if_f.
6398 (func_calc_desc): Add mpfr_if_f union field.
6399 (FUNC_mpfr_if_f): New macro.
6400 (test_functions): Add jn and yn.
6401 (calc_generic_results): Assert type of second input for
6402 mpfr_ff_f. Handle mpfr_if_f.
6403 (output_for_one_input_case): Disable all checking for arguments
6404 fitting floating-point types in case of an integer argument.
6405 * sysdeps/i386/fpu/libm-test-ulps: Update.
6406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6407
23776487
JM
6408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6409 Don't expect fegetround reference in libm.so.
6410
cb756c6d
MS
64112013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6412
6413 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6414 $(config-cflags-nofma).
6415
2dec468f
JM
64162013-12-18 Joseph Myers <joseph@codesourcery.com>
6417
5953eb3a
JM
6418 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6419 * math/auto-libm-test-out: Regenerated.
6420
2dec468f
JM
6421 [BZ #16338]
6422 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6423 to determine exponent and adjust argument to have exponent of -1.
6424 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6425 log2.
6426 * math/auto-libm-test-out: Regenerated.
6427 * sysdeps/i386/fpu/libm-test-ulps: Update.
6428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6429
4d84e6ad
OB
64302013-12-18 Ondřej Bílka <neleai@seznam.cz>
6431
6432 * manual/probes.texi: Remove cases when per-thread arenas are
6433 disabled.
6434
1818483b
AS
64352013-12-18 Andreas Schwab <schwab@suse.de>
6436
6437 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6438 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6439 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6440 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6441 * sysdeps/i386/i686/multiarch/Makefile: Update.
6442 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6443
25de95bf
JM
64442013-12-17 Joseph Myers <joseph@codesourcery.com>
6445
6446 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6447 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6448
674762d9
PE
64492013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6450
ed27ed83 6451 [BZ #15968]
0748546f
PE
6452 Support TZ transition times < 00:00:00.
6453 This is needed for version-3 tz-format files; it supports time
6454 stamps past 2037 for America/Godthab (the only entry in the tz
6455 database for which this change is relevant).
6456 * manual/time.texi (TZ Variable): Document transition times
6457 from -167:59:59 through -00:00:01.
6458 * time/tzset.c (tz_rule): Time of day is now signed.
6459 (__tzset_parse_tz): Parse negative time of day.
6460
4480e934
PE
6461 Document TZ transition times >= 25:00:00.
6462 * manual/time.texi (TZ Variable): Document transition times from
6463 25:00:00 through 167:59:59. These are already supported, and this
6464 support will help with version-3 tz-format files.
6465
69947401
PE
6466 * manual/time.texi (TZ Variable): Modernize North America example
6467 to reflect current (i.e., 2007-and-later) daylight saving rules.
6468
674762d9
PE
6469 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6470
7011c262
JM
64712013-12-17 Joseph Myers <joseph@codesourcery.com>
6472
2fc6557e
JM
6473 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6474 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6475 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6476 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6477 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6478 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6479 * sysdeps/unix/bsd/clock.c: Likewise.
6480 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6481 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6482 * sysdeps/unix/bsd/init-posix.c: Likewise.
6483 * sysdeps/unix/bsd/poll.c: Likewise.
6484 * sysdeps/unix/bsd/ptsname.c: Likewise.
6485 * sysdeps/unix/bsd/seekdir.c: Likewise.
6486 * sysdeps/unix/bsd/setegid.c: Likewise.
6487 * sysdeps/unix/bsd/seteuid.c: Likewise.
6488 * sysdeps/unix/bsd/setgid.c: Likewise.
6489 * sysdeps/unix/bsd/setrgid.c: Likewise.
6490 * sysdeps/unix/bsd/setruid.c: Likewise.
6491 * sysdeps/unix/bsd/setsid.c: Likewise.
6492 * sysdeps/unix/bsd/setuid.c: Likewise.
6493 * sysdeps/unix/bsd/sigaction.c: Likewise.
6494 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6495 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6496 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6497 * sysdeps/unix/bsd/telldir.c: Likewise.
6498 * sysdeps/unix/bsd/times.c: Likewise.
6499 * sysdeps/unix/bsd/usleep.c: Likewise.
6500
029c7b25
JM
6501 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6502 ($(objpfx)libbsd-compat.a): Remove rule.
6503
7011c262
JM
6504 * include/features.h (__FAVOR_BSD): Do not define.
6505 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6506 features conflicting with POSIX.
6507 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6508 (_BSD_SOURCE): Remove description of not being a subset of other
6509 feature test macros.
6510 * manual/job.texi (getpgrp): Do not document BSD version.
6511 (getpgid): Do not document by reference to BSD getpgrp.
6512 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6513 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6514 * signal/signal.h [__FAVOR_BSD]: Likewise.
6515 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6516 instead of making contents conditional on [__FAVOR_BSD].
6517 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6518
affb6f78
AZ
65192013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6520
6521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6522
c88769dd
JM
65232013-12-17 Joseph Myers <joseph@codesourcery.com>
6524
6432a540
JM
6525 [BZ #16314]
6526 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6527 values below 2**-450, not 2**-500.
6528 * math/auto-libm-test-in: Don't allow spurious underflow from
6529 hypot.
6530 * math/auto-libm-test-out: Regenerated.
6531
c88769dd
JM
6532 [BZ #16316]
6533 [BZ #16330]
6534 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6535 values of ha and hb and sort them after adjusting subnormal
6536 arguments.
6537 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6538 Likewise.
6539 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6540 values of ea and eb and sort them after adjusting subnormal
6541 arguments.
6542 * math/auto-libm-test-in: Do not expect some hypot tests of
6543 subnormals to fail. Add more hypot tests.
6544 * math/auto-libm-test-out: Regenerated.
6545
29618f6b
KK
65462013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6547
6548 [BZ #13304]
6549 * sysdeps/sh/s_fma.c: New file.
6550 * sysdeps/sh/s_fmaf.c: New file.
6551 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6552 version.
6553 * sysdeps/sh/Implies: Add sh/soft-fp.
6554
eacfdfbf
RM
65552013-12-16 Roland McGrath <roland@hack.frob.com>
6556
6557 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6558 level of indirection to members `objname', `errstring', `malloced'.
6559 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6560 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6561 it as the __longjmp argument (just pass 1 instead).
6562 (_dl_catch_error): Initialize C with argument pointers and address of
6563 volatile local ERRCODE rather than copying values out of C at return.
6564
ff362e5b
JM
65652013-12-16 Joseph Myers <joseph@codesourcery.com>
6566
6567 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6568 * math/auto-libm-test-out: Regenerated.
6569 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6570 (hypot_test_data): Likewise.
6571 (pow_test_data): Likewise.
6572 (pow_tonearest_test_data): Likewise.
6573 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6574 mpfr_ff_f.
6575 (func_calc_desc): Add mpfr_ff_f union field.
6576 (FUNC_mpfr_ff_f): New macro.
6577 (test_functions): Add atan2, hypot and pow.
6578 (special_fill_min): New function.
6579 (special_fill_minus_min): Likewise.
6580 (special_fill_min_subnorm): Likewise.
6581 (special_fill_minus_min_subnorm): Likewise.
6582 (special_real_inputs): Add min, -min, min_subnorm and
6583 -min_subnorm.
6584 (calc_generic_results): Handle mpfr_ff_f.
6585 * sysdeps/i386/fpu/libm-test-ulps: Update.
6586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6587
5764c27f
WN
65882013-12-16 Will Newton <will.newton@linaro.org>
6589
6590 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6591 (Aligned Memory Blocks): Add documentation for aligned_alloc
6592 and suggest it as an alternative to posix_memalign.
6593 (Hooks for Malloc): Document __memalign_hook is also called
6594 for aligned_alloc. (Summary of Malloc): Add summary for
6595 aligned alloc. Document __memalign_hook is also called
6596 for aligned_alloc.
6597
0a096e44
WN
65982013-12-16 Will Newton <will.newton@linaro.org>
6599
6600 * manual/memory.texi (Malloc Examples): Clarify default
6601 alignment documentation. Suggest posix_memalign rather
6602 than memalign or valloc.
6603 (Aligned Memory Blocks): Remove suggestion to use memalign
6604 or valloc. Remove obsolete comment about BSD.
6605 Document memalign errno values and mark the function obsolete.
6606 Document posix_memalign returned error codes. Mark valloc
6607 as obsolete. (Hooks for Malloc): __memalign_hook is also
6608 called for posix_memalign and valloc.
6609 (Summary of Malloc): Add posix_memalign to function summary.
6610 __memalign_hook is also called for posix_memalign and valloc.
6611
8d561986
SP
66122013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6613
6614 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6615 TAYLOR_SIN.
6616 (__sin): Adjust.
6617 (__cos): Likewise.
6618 (sloww): Use mynumber union. Expand ternary operator into
6619 if-else statements.
6620 (cslow): use mynumber union.
6621
73616a74
AM
66222013-12-16 Allan McRae <allan@archlinux.org>
6623
9e8ac24b
AM
6624 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6625 * configure: Regenerated.
6626
6f8e37eb
AM
6627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6628
8894bad3
AM
6629 [BZ #14120]
6630 * configure.ac: Added --enable-maintainer-mode. Check for
6631 autoconf when enabled.
6632 * configure: Regenerated.
6633
73616a74
AM
6634 * nscd/nscd.service: New file.
6635 * nscd/nscd.tmpfiles: New file.
6636
584b18eb
OB
66372013-12-14 Ondřej Bílka <neleai@seznam.cz>
6638
6639 [BZ #12100]
6640 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6641 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6642 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6643 (strstr): Add __strstr_sse2_unaligned ifunc.
6644 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6645 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6646 (strcasestr): Remove __strcasestr_sse42 ifunc.
6647 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6650
8a5c7897
KK
66512013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6652
6653 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6654 * sysdeps/sh/bits/fenv.h: ... here.
6655 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6656
fd712ef3
AZ
66572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6658
6659 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6660
42fcb46c
AZ
6661 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6662 hypotf multiarch implementations.
6663 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6664 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6665 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6666 multiarch hypot for PPC64.
6667 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6668 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6669 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6670 multiarch hypotf for PPC64.
6671
83efded4
AZ
6672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6673 modff multiarch implementations.
6674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6677 multiarch modf for PPC64.
6678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6681 multiarch modff for PPC64.
6682
43e246d2
AZ
6683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6684 and logl multiarch implementations.
6685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6688 multiarch logb for PPC64.
6689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6692 multiarch logb for PPC64.
6693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6696 multiarch logb for PPC64.
6697
8fdad123
AZ
6698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6699 isinff multiarch implementation.
6700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6701 file.
6702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6704 multiarch isinf for PPC64.
6705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6706 file.
6707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6708 multiarch isinff for PPC64.
6709
1481d706
AZ
6710 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6711 finitef multiarch implementation.
6712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6713 file.
6714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6716 multiarch finite for PPC64.
6717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6718 file.
6719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6720 multiarch finitef for PPC64.
6721
5ccd5fc8
AZ
6722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6723 lrint multiarch implementation.
6724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6725 file.
6726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6728 multiarch llrint for PPC64.
6729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6730 multiarch lrint for PPC64.
6731
2568f3fa
AZ
6732 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6733 copysignf multiarch implementation.
6734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6735 file.
6736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6737 file.
6738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6739 multiarch copysign for PPC64.
6740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6741 multiarch copysignf for PPC64.
6742
1cb341fd
AZ
6743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6744 multiarch implementation.
6745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6746 file.
6747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6748 file.
6749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6750 file.
6751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6752 file.
6753 multiarch llround for PPC64.
6754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6755 multiarch trunc for PPC64.
6756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6757 multiarch truncf for PPC64.
6758
59a3e194
AZ
6759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6760 multiarch implementation.
6761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6762 file.
6763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6764 file.
6765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6766 file.
6767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6768 file.
6769 multiarch llround for PPC64.
6770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6771 multiarch round for PPC64.
6772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6773 multiarch roundf for PPC64.
6774
357fd3b4
AZ
6775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6776 multiarch implementation.
6777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6778 file.
6779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6780 file.
6781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6782 file.
6783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6784 file.
6785 multiarch llround for PPC64.
6786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6787 multiarch floor for PPC64.
6788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6789 multiarch floorf for PPC64.
6790
96770f12
AZ
6791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6792 multiarch implementation.
6793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6794 file.
6795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6796 file.
6797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6798 file.
6799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6800 file.
6801 multiarch llround for PPC64.
6802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6803 multiarch ceil for PPC64.
6804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6805 multiarch ceilf for PPC64.
6806
c3627f6e
AZ
6807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6808 multiarch implementation.
6809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6810 file.
6811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6812 file.
6813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6814 file.
6815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6816 multiarch llround for PPC64.
6817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6818 multiarch lround for PPC64.
6819
b2284ad7
AZ
6820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6821 multiarch implementation.
6822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6825 file.
6826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6829 multiarch isnan for PPC64.
6830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6831 multiarch isnanf for PPC64.
6832
69bbc63d
AZ
6833 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6834 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6835 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6836 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6837 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6839
c24517c9
AZ
6840 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6841 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6842 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6843 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6844
a52374e8
AZ
6845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6846 multiarch implementations.
6847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6848 (__libc_ifunc_impl_list): Likewise.
6849 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6850 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6851 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6852 multiarch stpcpy for PPC64.
6853
7f5ec113
AZ
6854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6855 multiarch implementations.
6856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6857 (__libc_ifunc_impl_list): Likewise.
6858 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6859 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6860 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6861 multiarch strcpy for PPC64.
6862
e28bcd42
AZ
6863 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6864 redefine function name.
6865 (_wordcopy_fwd_dest_aligned): Likewise.
6866 (_wordcopy_bwd_aligned): Likewise.
6867 (_wordcopy_bwd_dest_aligned): Likewise.
6868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6869 multiarch implementations.
6870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6871 (__libc_ifunc_impl_list): Likewise.
6872 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6873 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6874 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6875 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6876 multiarch wcscpy for PPC64.
6877
92cacfce
AZ
6878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6879 multiarch implementations.
6880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6881 (__libc_ifunc_impl_list): Likewise.
6882 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6883 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6884 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6885 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6886 multiarch wcscpy for PPC64.
6887
7b714620
AZ
6888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6889 multiarch implementations.
6890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6891 (__libc_ifunc_impl_list): Likewise.
6892 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6893 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6894 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6895 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6896 multiarch wcsrchr for PPC64.
6897
16fd2ae3
AZ
6898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6899 multiarch implementations.
6900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6901 (__libc_ifunc_impl_list): Likewise.
6902 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6903 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6904 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6905 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6906 multiarch wcschr for PPC64.
6907
9ee2969b
AZ
6908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6909 multiarch implementations.
6910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6911 (__libc_ifunc_impl_list): Likewise.
6912 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6913 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6914 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6915 multiarch strchrnul for PPC64.
6916
372dc060
AZ
6917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6918 implementations.
6919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6920 (__libc_ifunc_impl_list): Likewise.
6921 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6922 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6923 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6924 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6925 strchr for PPC64.
6926
24c2c3b9
AZ
6927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6928 implementations.
6929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6930 (__libc_ifunc_impl_list): Likewise.
6931 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6932 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6933 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6934 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6935 strncmp for PPC64.
6936
1c92d9a0
AZ
6937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6938 multiarch implementations.
6939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6940 (__libc_ifunc_impl_list): Likewise.
6941 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6942 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6943 strncasecmp for PPC64.
6944 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6945 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6946 multiarch strncasecmp_l for PPC64.
6947
17de3ee3
AZ
6948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6949 multiarch implementations.
6950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6951 (__libc_ifunc_impl_list): Likewise.
6952 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6953 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6954 multiarch strcasecmp for PPC64.
6955 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6956 file.
6957 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6958 multiarch strcasecmp_l for PPC64.
6959
62982bf9
AZ
6960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6961 implementations.
6962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6963 (__libc_ifunc_impl_list): Likewise.
6964 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6965 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6966 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6967 strnlen for PPC64.
6968
a65f4904
AZ
6969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6970 implementations.
6971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6972 (__libc_ifunc_impl_list): Likewise.
6973 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6974 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6975 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6976 strlen for PPC64.
6977
1fd005ad
AZ
6978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6979 implementations.
6980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6981 (__libc_ifunc_impl_list): Likewise.
6982 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6983 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6984 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6985 rawmemrchr for PPC64.
6986
cd05ba91
AZ
6987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6988 implementation.
6989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6990 (__libc_ifunc_impl_list): Likewise.
6991 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6992 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6993 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6994 memrchr for PPC64.
6995
870f8676
AZ
6996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6997 implementation.
6998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6999 (__libc_ifunc_impl_list): Likewise.
7000 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7001 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7002 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7003 memchr for PPC64.
7004
f00be62b
AZ
7005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7006 implementation.
7007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7008 (__libc_ifunc_impl_list): Likewise.
7009 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7010 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7011 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7012 mempcpy for PPC64.
7013
8a29a3d0
AZ
7014 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7015 avoid cretion of __bzero symbol.
7016 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7017 Likewise.
7018 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7019 Likewise.
7020 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7021 Likewise.
7022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7023 multiarch implementations.
7024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7025 (__libc_ifunc_impl_list): Likewise.
7026 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7027 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7028 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7029 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7030 bzero for PPC32.
7031 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7032 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7033 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7034 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7035 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7036 memset for PPC64.
7037 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7038
07253fcf
AZ
7039 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7041 implementations.
7042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7043 (__libc_ifunc_impl_list): Likewise.
7044 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7045 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7046 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7047 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7048 memcmp for PPC64.
7049
b5beafbc
AZ
7050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7051 multiarch for POWER/PPC64.
7052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7053 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7054 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7055 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7056 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7057 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7059 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7060 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7061 memcpy for PPC64.
7062
5e6a4d4b
AZ
7063 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7064 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7065 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7066 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7067 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7068 * sysdeps/powerpc/powerpc64/power5/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/power6/fpu/Implies: New File.
7072 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7073 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7074 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7075 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7076 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7077 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7085
ddfab6dc
KK
70862013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7087
7088 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7089
19b5525e
SP
70902013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7091
7092 * benchtests/Makefile (bench): Add exp2 and log2.
7093 (LDLIBS-bench-exp2): Add -lm.
7094 (LDLIBS-bench-log2): Likewise.
7095 * benchtests/exp2-inputs: New inputs file.
7096 * benchtests/log2-inputs: New inputs file.
7097 * benchtests/log-inputs: Add new inputs.
7098 * benchtests/tan-inputs: Likewise.
7099
196f7f5d
SP
71002013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7101
7a74607f
SP
7102 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7103 definition...
57f41c40
AS
7104 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7105 (csloww2): ... from here.
7a74607f 7106
196f7f5d
SP
7107 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7108 instead of structures.
7109 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7110 (POLYNOMIAL): Likewise.
7111 (TAYLOR_SLOW): Likewise.
7112 (__sin): Likewise.
7113 (__cos): Likewise.
7114 (slow1): Likewise.
7115 (slow2): Likewise.
7116 (sloww): Likewise.
7117 (sloww1); Likewise.
7118 (sloww2): Likewise.
7119 (bsloww1): Likewise.
7120 (bsloww2): Likewise.
7121 (cslow2): Likewise.
7122 (csloww): Likewise.
7123 (csloww1): Likewise.
7124 (csloww2): Likewise.
7125
0dfa665c
OB
71262013-12-10 Ondřej Bílka <neleai@seznam.cz>
7127
7128 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
7129 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7130 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
7131 * malloc/hooks.c (realloc_check): Likewise.
7132
5782a80f
OB
7133 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7134 * malloc/arena.c: Remove PER_THREAD conditional.
7135 [!PER_THREAD]: Remove code.
7136 (ptmalloc_unlock_all2): Likewise.
7137 (ptmalloc_init): Likewise.
7138 (_int_new_arena): Likewise.
7139 (arena_get2): Likewise.
7140 * malloc/hooks.c (__malloc_get_state): Likewise.
7141 (__malloc_set_state): Likewise.
7142 * malloc/malloc.c: Likewise.
7143 (struct malloc_state): Likewise.
7144 (struct malloc_par): Likewise.
7145 (__libc_realloc): Likewise.
7146 (__libc_mallopt): Likewise.
7147
aeb95445
AZ
71482013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7149
7150 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7151
e8349efd
OB
71522013-12-09 Ondřej Bílka <neleai@seznam.cz>
7153
7154 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7155 macro to a function. Check for zero perturb_byte.
7156 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7157
f3eeb3fc 7158 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
7159 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7160 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
7161 force_reg by atomic_forced_read.
7162 * malloc/arena.c (ptmalloc_init): Likewise.
7163 * malloc/hooks.c (top_check): Likewise.
7164
be2f9009
AZ
71652013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7166
7167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7168
e7b914bd
MT
71692013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7170
7171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7172
9f0be4f8
JM
71732013-12-08 Joseph Myers <joseph@codesourcery.com>
7174
7175 * math/auto-libm-test-in: Add tests of lgamma.
7176 * math/auto-libm-test-out: Regenerated.
7177 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7178 (M_LOG_2_SQRT_PIl): Likewise.
7179 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7180 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7181 mpfr_f_f1.
7182 (func_calc_desc): Add mpfr_f_f1 union field.
7183 (ARGS1): New macro.
7184 (ARGS2): Likewise.
7185 (ARGS3): Likewise.
7186 (ARGS4): Likewise.
7187 (RET1): Likewise.
7188 (RET2): Likewise.
7189 (CALC): Likewise.
7190 (FUNC): Likewise.
7191 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7192 (test_functions): Add lgamma.
7193 (calc_generic_results): Handle mpfr_f_f1.
7194 * sysdeps/i386/fpu/libm-test-ulps: Update.
7195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7196
24eeafdb
AZ
71972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7198
7199 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7200 __mpn_add_n for PowerPC64/POWER7.
7201 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7202 __mpn_sub_n for PowerPC64/POWER7.
7203
4a2c0fd4
AZ
7204 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7205 __mpn_addmul_1 for PowerPC64.
7206 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7207 __mpn_submul_1 for PowerPC64.
7208 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7209 for PowerPC64.
7210 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7211 for PowerPC64.
7212
4b5b548c
FS
72132013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7214
7215 [BZ #15089]
7216 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7217
0a3ac0aa
AZ
72182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7219
7220 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7221
ccdc8438
AZ
7222 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7223 add multiarch folders.
7224 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7225 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7226 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7227 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7228 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7229 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7230 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7231 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7232 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7233 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7234 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7241
2e973d99
AZ
7242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7243 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7245 New file.
7246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7247 New file.
7248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7249 multiarch __ieee754_hypot for PowerPC32.
7250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7251 New file.
7252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7253 New file.
7254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7255 multiarch __ieee754_hypotf for PowerPC32.
7256
2d9470b2
AZ
7257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7258 long_double_symbol only if __logbl is defined.
7259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7260 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7261 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7262 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7264 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7265 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7266 path for implementation.
7267 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7268 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7270 logb, and logbl multiarch implementations for PowerPC32.
7271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7272 file.
7273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7274 file.
7275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7276 multiarch logb for PowerPC32.
7277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7278 file.
7279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7280 file.
7281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7282 multiarch logbf for PowerPC32.
7283 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7285 file.
7286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7287 multiarch logbl implementation for PowerPC32.
7288
5212ffce
AZ
7289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7290 and modff multiarch implementations.
7291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7292 New file.
7293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7294 New file.
7295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7296 multiarch modf for PowerPC32.
7297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7298 New file.
7299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7300 New file.
7301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7302 multiarch modff for PowerPC32.
7303
79dccf31
AZ
7304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7305 and lrintf multiarch implementations.
7306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7307 New file.
7308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7309 New file.
7310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7311 multiarch lrint for PowerPC32.
7312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7313 file: multiarch lrintf for PowerPC32.
7314
deb66480
AZ
7315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7316 and lroundf multiarch implementations.
7317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7318 New file.
7319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7320 New file.
7321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7322 New file.
7323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7324 multiarch lround for PowerPC32.
7325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7326 file: multiarch lroundf for PowerPC32.
7327
264b036b
AZ
7328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7329 copysign and copysignf multiarch implementations.
7330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7331 New file.
7332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7333 New file.
7334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7335 file: multiarch copysign for PowerPC32.
7336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7337 file: multiarch copysignf for PowerPC32.
7338
d47db6c9
AZ
7339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7340 and truncf multiarch implementations.
7341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7342 New file.
7343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7344 file.
7345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7346 multiarch trunc for PowerPC32.
7347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7348 New file.
7349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7350 New file.
7351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7352 multiarch truncf for PowerPC32.
7353
ddb60b5a
AZ
7354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7355 and roundf multiarch implementations.
7356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7357 New file.
7358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7359 file.
7360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7361 multiarch round for PowerPC32.
7362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7363 New file.
7364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7365 New file.
7366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7367 multiarch roundf for PowerPC32.
7368
bedcf49b
AZ
7369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7370 and floorf multiarch implementations.
7371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7372 New file.
7373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7374 file.
7375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7376 multiarch floor for PowerPC32.
7377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7378 New file.
7379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7380 New file.
7381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7382 multiarch floorf for PowerPC32.
7383
35ae5b40
AZ
7384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7385 and ceilf multiarch implementations.
7386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7387 New file.
7388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7389 file.
7390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7391 multiarch ceil for PowerPC32.
7392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7393 New file.
7394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7395 file.
7396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7397 multiarch ceilf for PowerPC32.
7398
ae1a4cd9
AZ
7399 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7400 is defined.
7401 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7402 FINITEF is defined.
7403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7404 and finitef multiarch implementations.
7405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7406 New file.
7407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7408 file.
7409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7410 multiarch finite for PowerPC32.
7411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7412 New file.
7413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7414 file: multiarch finitef for PowerPC32.
7415
64fffd65
AZ
7416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7417 and isinff multiarch implementations.
7418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7419 file.
7420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7421 file.
7422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7423 multiarch isinf for PowerPC32.
7424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7425 New file.
7426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7427 multiarch isinff for PowerPC32.
7428
8e4e7ba2
AZ
7429 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7430 alias when __isnan is defined.
7431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7432 and isnanf multiarch implementations.
7433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7434 file.
7435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7436 file.
7437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7438 file.
7439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7440 file.
7441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7442 multiarch isnan for PowerPC32.
7443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7444 New file.
7445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7446 New file.
7447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7448 multiarch isnanf for PowerPC32.
7449
ddba588e
AZ
7450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7451 and sqrtf multiarch implementations.
7452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7453 file.
7454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7455 file.
7456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7457 multiarch sqrt for PowerPC32.
7458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7459 file.
7460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7461 file.
7462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7463 multiarch sqrtf for PowerPC32.
7464
0f96a2f0
AZ
7465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7466 and llroundf multiarch implementations.
7467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7468 New file.
7469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7470 New file.
7471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7472 New file.
7473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7474 file: multiarch llround for PowerPC32.
7475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7476 file: multiarch llroundf for PowerPC32.
7477
c9b5d79e
AZ
7478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7479 multiarch PowerPC32 fpu implementations.
7480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7481 New file.
7482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7483 New file.
7484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7485 multiarch llrint for PowerPC32.
7486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7487 New file.
7488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7489 New file.
7490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7491 file.
7492
9cbb3aab
AZ
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7494
ea5a72f8
AZ
7495 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7496 file.
7497 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7498 file.
7499 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7500 file.
7501 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7502 multiarch wordcopy for PPC32.
7503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7504 wordcopy objects.
7505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7506 (__libc_ifunc_impl_list): Likewise.
7507 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7508 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7509 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7510 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7511 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7512 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7513
93be09e7
AZ
7514 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7515 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7516 file.
7517 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7518 file.
7519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7520 file.
7521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7522 multiarch wcscpy for PPC32.
7523 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7524 multiarch objects.
7525 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7526 (__libc_ifunc_impl_list): Likewise.
7527 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7528 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7529 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7530 sysdeps/powerpc/power6/wcscpy.c.
7531
bb04e529
AZ
7532 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7533 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7534 file.
7535 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7536 file.
7537 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7538 file.
7539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7540 multiarch wcsrchr for PPC32.
7541 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7542 multiarch objects.
7543 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7544 (__libc_ifunc_impl_list): Likewise.
7545 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7546 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7547 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7548 sysdeps/powerpc/power6/wcsrchr.c.
7549
05b5cd1c
AZ
7550 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7551 file.
7552 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7553 file.
7554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7556 multiarch wcschr for PPc32.
7557 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7558 multiarch objects.
7559 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7560 (__libc_ifunc_impl_list): Likewise.
7561 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7562 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7563 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7564 sysdeps/powerpc/power6/wcschr.c.
7565
ba964147
AZ
7566 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7567 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7568 file.
7569 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7570 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7571 file: multiarch strchr for PPC32.
7572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7573 multiarch objects.
7574 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7575 (__libc_ifunc_impl_list): Likewise.
7576
31c81aaa
AZ
7577 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7578 name.
7579 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7580 file.
7581 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7582 file.
7583 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7584 multiarch strchrnul for PPC32.
7585 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7586 multiarch objects.
7587 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7588 (__libc_ifunc_impl_list): Likewise.
7589
0d0607d9
AZ
7590 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7591 file.
7592 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7593 multiarch strncasecmp for PPC32.
7594 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7595 file.
7596 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7597 multiarch strncasecmp_l for PPC32.
7598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7599 strncasecmp multiarch objects.
7600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7601 (__libc_ifunc_impl_list): Likewise.
7602
4dfd5c86
AZ
7603 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7604 file.
7605 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7606 multiarch strncasecmp for PPC32.
7607 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7608 New file.
7609 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7610 multiarch strcasecmp_l for PPC32.
7611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7612 multiarch objects.
7613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7614 (__libc_ifunc_impl_list): Likewise.
7615
a19e01a3
AZ
7616 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7617 file.
7618 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7619 file.
7620 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7621 multiarch strncmp for PPC32.
7622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7623 multiarch objects.
7624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7625 (__libc_ifunc_impl_list): Likewise.
7626
ae9cf7a2
AZ
7627 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7628 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7629 file.
7630 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7631 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7632 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7633 multiarch objects.
7634 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7635 (__libc_ifunc_impl_list): Likewise.
7636
3148bb7d
AZ
7637 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7638 file.
7639 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7640 file.
7641 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7642 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7643 multiarch objects.
7644 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7645 (__libc_ifunc_impl_list): Likewise.
7646
7af8b946
AZ
7647 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7648 file.
7649 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7650 file.
7651 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7652 multiarch rawmemchr for PPC32.
7653 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7654 multiarch objects.
7655 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7656 (__libc_ifunc_impl_list): Likewise.
7657
03a6aa6a
AZ
7658 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7659 file.
7660 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7661 file.
7662 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7663 file: memrchr multiarch for PPC32.
7664 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7665 multiarch objects.
7666 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7667 (__libc_ifunc_impl_list): Likewise.
7668
1c62e6d9
AZ
7669 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7670 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7671 file.
7672 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7673 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7674 multiarch memchr for PPC32.
7675 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7676 multiarch objects.
7677 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7678 (__libc_ifunc_impl_list): Likewise.
7679
87da8bdb
AZ
7680 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7681 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7682 file.
7683 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7684 file.
7685 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7686 file: multiarch mempcpy for PPC32.
7687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7688 multiarch objects.
7689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7690 (__libc_ifunc_impl_list): Likewise.
7691
20ed4714
AZ
7692 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7693 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7694 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7695 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7696 multiarch bzero for PPC32.
7697 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7698 file.
7699 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7700 file.
7701 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7702 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7703 file: multiarch memset for PPC32.
7704 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7706 memset multiarch objects.
7707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7708 (__libc_ifunc_impl_list): Likewise.
7709
ab3e3a46
AZ
7710 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7711 file.
7712 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7713 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7714 memcmp for PPC32.
7715 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7717 multiarch objects.
7718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7719 (__libc_ifunc_impl_list): Likewise.
7720
930de6f0
AZ
7721 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7722 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7723 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7724 file.
7725 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7726 file.
7727 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7728 file.
7729 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7730 multiarch memcpy for PPC32.
7731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7732 multiarch objects.
7733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7734 (__libc_ifunc_impl_list): Likewise.
7735
4c628e00
AZ
7736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7737 support multiarch for POWER/PPC32.
7738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7739 Likewise.
7740 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7742 Implies file to make multiarch folder appers before the fpu and
7743 default folder for power4 configuration.
7744
f4479220
SP
77452013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7746
7747 * scripts/bench.pl: Append volatile keyword to type.
7748
8517800f
KK
77492013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7750
7751 * sysdeps/sh/sotruss-lib.c: New file.
7752 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7753
180138f1
AZ
77542013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7755
7756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7757
bbf37bdc
JM
77582013-12-05 Joseph Myers <joseph@codesourcery.com>
7759
e47cc4e0
JM
7760 [BZ #6810]
7761 * math/w_tgamma.c: Include <errno.h>.
7762 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7763 * math/w_tgammaf.c: Include <errno.h>.
7764 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7765 * math/w_tgammal.c: Include <errno.h>.
7766 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7767 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7768 underflow. Add more tgamma tests.
7769 * math/auto-libm-test-out: Regenerated.
7770 * sysdeps/i386/fpu/libm-test-ulps: Update.
7771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7772
bbf37bdc
JM
7773 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7774 sin, sinh, tan, tanh, tgamma, y0 and y1.
7775 * math/auto-libm-test-out: Regenerated.
7776 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7777 (TEST_COND_x86): Likewise.
7778 (M_E2l): Remove macro.
7779 (M_E3l): Likewise.
7780 (M_2_SQRT_PIl): Likewise.
7781 (M_SQRT_PIl): Likewise.
7782 (M_1_DIV_El): Likewise.
7783 (log_test_data): Use AUTO_TESTS_f_f.
7784 (log10_test_data): Likewise.
7785 (log1p_test_data): Likewise.
7786 (log2_test_data): Likewise.
7787 (sin_test_data): Likewise.
7788 (sin_tonearest_test_data): Likewise.
7789 (sin_towardzero_test_data): Likewise.
7790 (sin_downward_test_data): Likewise.
7791 (sin_upward_test_data): Likewise.
7792 (sinh_test_data): Likewise.
7793 (sinh_tonearest_test_data): Likewise.
7794 (sinh_towardzero_test_data): Likewise.
7795 (sinh_downward_test_data): Likewise.
7796 (sinh_upward_test_data): Likewise.
7797 (tan_test_data): Likewise.
7798 (tan_tonearest_test_data): Likewise.
7799 (tan_towardzero_test_data): Likewise.
7800 (tan_downward_test_data): Likewise.
7801 (tan_upward_test_data): Likewise.
7802 (tanh_test_data): Likewise.
7803 (tgamma_test_data): Likewise.
7804 (y0_test_data): Likewise.
7805 (y1_test_data): Likewise.
7806 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7807 (special_real_inputs): Add pi/4.
7808 * sysdeps/i386/fpu/libm-test-ulps: Update.
7809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7810
eb5ad6b9
AZ
78112013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7812
7813 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7814 "longjmp_target" static probes.
7815 (__longjmp): Rename to __longjmp_symbol.
7816 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7817 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7818 on which longjmp to generate.
7819 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7820 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7821 probe.
7822 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7823 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7824 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7825 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7826 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7827 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7829 __longjmp_symbol based on which __longjmp to generate.
7830 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7831 probe.
7832 (setjmp): Rename to setjmp_symbol.
7833 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7834 (_setjmp): Rename to _setjmp_symbol.
7835 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7836 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7837 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7838 which setjmp to generate.
7839 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7840 "longjmp_target" static probes.
7841
d136c6dc
SP
78422013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7843
9298ecba
SP
7844 * benchtests/README: Add note about output arguments.
7845 * benchtests/bench-sincos.c: Remove file.
7846 * benchtests/sincos-inputs: New file.
7847 * scripts/bench.pl: Identify output arguments and define
7848 static variables for them.
7849
232983e9
SP
7850 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7851
d136c6dc
SP
7852 [BZ #15941]
7853 * Makefile (INSTALL): Add install-plain.texi as the primary
7854 dependency.
7855 * manual/install-plain.texi: New file.
7856 * manual/install.texi: Include node directive only for
7857 non-plaintext output.
7858
699ff837
JM
78592013-12-04 Joseph Myers <joseph@codesourcery.com>
7860
ab07cea8
JM
7861 * stdlib/longlong.h: Update from GCC.
7862
699ff837
JM
7863 [BZ #6807]
7864 [BZ #15901]
7865 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7866 * math/w_j0f.c (y0f): Likewise.
7867 * math/w_j0l.c (__y0l): Likewise.
7868 * math/w_j1.c (y1): Likewise.
7869 * math/w_j1f.c (y1f): Likewise.
7870 * math/w_j1l.c (__y1l): Likewise
7871 * math/w_jn.c (yn): Likewise.
7872 * math/w_jnf.c (ynf): Likewise.
7873 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7874 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7875 value for Bessel function domain errors outside _SVID_ mode.
7876 Adjust sign of return value for yn (negative integer, 0).
7877 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7878 by zero in return for negative x and set sign appropriately for
7879 negative n.
7880 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7881 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7882 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7883 expectations in error cases.
7884 (y1_test_data): Likewise.
7885 (yn_test_data): Likewise.
7886 * sysdeps/i386/fpu/libm-test-ulps: Update.
7887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7888
5b118558
UW
78892013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7890
7891 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7892 "64" to "64-v1". Add "64-v2".
7893 (abi-64-options): Rename to ...
7894 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7895 (abi-64-condition): Rename to ...
7896 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7897 (abi-64-ld-soname): Rename to ...
7898 (abi-64-v1-ld-soname): ... this.
7899 (abi-64-v2-options): Define.
7900 (abi-64-v2-condition): Likewise.
7901 (abi-64-v2-ld-soname): Likewise.
7902 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7903 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7907
61cd8fe4
UW
79082013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7909 Alan Modra <amodra@gmail.com>
7910
7911 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7912 New versions for use with the ELFv2 ABI.
7913 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7914 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7915 declaration.
7916 (struct La_ppc64v2_retval): Likewise.
7917 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7918 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7919 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7920 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7921 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7922 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7923 Do not save or restore CR.
7924 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7925 (_dl_profile_resolve): Do no save or restore CR. Support extended
7926 return values for ELFv2 ABI. Fix location of FPR return registers.
7927 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7928 updated values for _CALL_ELF == 2.
7929 (La_regs, La_retval, int_retval): Likewise.
7930
8b8a692c
UW
79312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7932
7933 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7934 (FRAME_MIN_SIZE_PARM): Likewise.
7935 (FRAME_BACKCHAIN): Likewise.
7936 (FRAME_CR_SAVE): Likewise.
7937 (FRAME_LR_SAVE): Likewise.
7938 (FRAME_TOC_SAVE): Likewise.
7939 (FRAME_PARM_SAVE): Likewise.
7940 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7941 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7942 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7943 (call_mcount_parm_offset): New macro.
7944 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7945 (PROF): Use symbolic stack frame offsets.
7946 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7947 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7948 Redefine in terms of FRAME_MIN_SIZE.
7949 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7950 (_dl_profile_resolve): Likewise. Update comment.
7951 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7952 symbols stack frame offsets.
7953 (__sigsetjmp): Likewise.
7954 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7955 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7956 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7957 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7958
7959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7960 (FRAME_BACKCHAIN): Remove.
7961 (FRAME_CR_SAVE): Likewise.
7962 (FRAME_LR_SAVE): Likewise.
7963 (FRAME_COMPILER_DW): Likewise.
7964 (FRAME_LINKER_DW): Likewise.
7965 (FRAME_TOC_SAVE): Likewise.
7966 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7967 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7968 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7969 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7971 (CHECK_SP): Use symbolic stack frame offsets.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7973 zone" instead of caller's parameter save area for temp storage.
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7975 Likewise. Also, use symbolic stack frame offsets.
7976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7977 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7978 our own stack frame instead of the caller's.
7979 (__socket): Use symbolic stack frame offsets.
7980
122b66de
UW
79812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7982 Alan Modra <amodra@gmail.com>
7983
7984 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7985 Define.
57f41c40
AS
7986 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7987 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7988 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7989 New function.
7990 (elf_machine_fixup_plt): Call it.
7991 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7992 reloc arguments.
7993 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7994 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7995 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7996 r2 before calling target.
7997
696caf1d
UW
79982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7999 Alan Modra <amodra@gmail.com>
8000
8001 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8002 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8003 versions of macros to support ELFv2 ABI.
8004 (LOCALENTRY): New macro.
8005 (ENTRY, EALIGN): Use it.
8006 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8007 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8008 fall through into ENTRY entry point.
8009 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8010 Only define if _CALL_ELF != 2.
8011
8012 (elf_machine_matches_host): Verify ABI version matches.
8013 (RTLD_START): Use LOCALENTRY.
8014 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8015 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8016 (PLT_ENTRY_WORDS): New macro.
8017 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8018 (elf_machine_runtime_setup): Support ELFv2 ABI.
8019 (elf_machine_fixup_plt): Likewise.
8020 (elf_machine_plt_conflict): Likewise.
8021 (resolve_ifunc): Likewise.
8022 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8023 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8024 Likewise.
8025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8026 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8028 (makecontext): Support ELFv2 ABI.
8029 * elf/elf.h (EF_PPC64_ABI): Define.
8030
d31beafa
UW
80312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8032
57f41c40
AS
8033 * sysdeps/powerpc/powerpc64/sysdep.h
8034 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8035 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8036 (ENTRY) [ASSEMBLER]: ... but instead here ...
8037 (EALIGN) [ASSEMBLER]: ... and here.
8038 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8039 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8040 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8041 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8042 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8043 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8044 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8045 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8047 Use PPC64_LOAD_FUNCPTR.
8048
b525166b
UW
8049 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8050
7ec07d9a
AM
80512013-12-04 Alan Modra <amodra@gmail.com>
8052
8053 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8054 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8055 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8056 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8057
8058 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8059 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8060 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8061 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8062 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8063 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8064
5162e7dd
UW
80652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8066
8067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8068 (__makecontext): Fix incorrect CFI when backtracing out of
8069 context created via makecontext.
8070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8071 (__setcontext): Fix incorrect CFI during switch to new context.
8072 (__novec_setcontext): Likewise.
8073
19e3372b
OB
80742013-12-04 Ondřej Bílka <neleai@seznam.cz>
8075
8076 [BZ #4772]
8077 * time/strptime_l.c (__strptime_internal): Allow modifiers
8078 in strptime.
8079 * time/tst-strptime.c (day_tests): Add testcase.
8080
ecaf142d
SP
80812013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8082
8083 * scripts/bench.pl: Skip over blank lines.
8084
fbf964ae
PE
80852013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8086
8087 [BZ #926]
8088 * manual/time.texi (Calendar Time): Clarify what timezone functions
8089 use.
8090
fa60a674
AZ
80912013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8092
8093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8094
d674f0ef
OB
80952013-12-04 Ondřej Bílka <neleai@seznam.cz>
8096
8097 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8098 implementation.
8099 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8100 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8101 * debug/memset_chk.c (__memset_chk): Likewise.
8102 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8103 * debug/strncpy_chk.c: Likewise.
8104
17dea188
JM
81052013-12-03 Joseph Myers <joseph@codesourcery.com>
8106
749008ff
JM
8107 [BZ #15268]
8108 [BZ #15425]
8109 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8110 (__ieee754_exp): For possibly underflowing results, check size of
8111 result and force underflow exception if required.
8112 * math/auto-libm-test-in: Add more tests of exp.
8113 * math/auto-libm-test-out: Regenerated.
8114 * sysdeps/i386/fpu/libm-test-ulps: Update.
8115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8116
17dea188
JM
8117 [BZ #16283]
8118 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8119 * math/w_exp2f.c (__exp2f): Likewise.
8120 * math/w_exp2l.c (__exp2l): Likewise.
8121 * math/auto-libm-test-in: Do not allow missing errno on exp2
8122 underflow.
8123 * math/auto-libm-test-out: Regenerated.
8124
b20de2c3
OB
81252013-12-03 Ondřej Bílka <neleai@seznam.cz>
8126
8127 [BZ #16274]
8128 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8129 handle filename validation.
8130 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8131 (do_open): Delete.
8132
d8e2dbe3
JM
81332013-12-03 Joseph Myers <joseph@codesourcery.com>
8134
34e16df5
JM
8135 [BZ #6786]
8136 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8137 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8138 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8139 <float.h>.
8140 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8141 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8142 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8143 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8144 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8145 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8146 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8147 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8148 Add more erfc tests.
8149 * math/auto-libm-test-out: Regenerated.
8150 * sysdeps/i386/fpu/libm-test-ulps: Update.
8151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8152
d8e2dbe3
JM
8153 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8154 exp2, expm1, j0 and j1.
8155 * math/auto-libm-test-out: Regenerated.
8156 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8157 (erfc_test_data): Likewise.
8158 (exp_test_data): Likewise.
8159 (exp_tonearest_test_data): Likewise.
8160 (exp_towardzero_test_data): Likewise.
8161 (exp_downward_test_data): Likewise.
8162 (exp_upward_test_data): Likewise.
8163 (exp10_test_data): Likewise.
8164 (exp2_test_data): Likewise.
8165 (expm1_test_data): Likewise.
8166 (j0_test_data): Likewise.
8167 (j1_test_data): Likewise.
8168 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8169 (input_flag_type): Add flag_xfail_rounding.
8170 (input_flags): Add xfail-rounding.
8171 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8172 (output_for_one_input_case): Handle flag_xfail_rounding.
8173 * sysdeps/i386/fpu/libm-test-ulps: Update.
8174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8175
18d14251
AJ
81762013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8177
3d2e6075 8178 [BZ #16289]
18d14251
AJ
8179 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8180 division by 0.
8181
520d437b
SP
81822013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8183
8184 [BZ #16195]
8185 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8186 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8187 (STAP_PROBE0): New macro.
8188 (STAP_PROBE1): Likewise.
8189 (STAP_PROBE2): Likewise.
8190 (STAP_PROBE3): Likewise.
8191 (STAP_PROBE4): Likewise.
8192
416e0145
OB
81932013-12-02 Ondřej Bílka <neleai@seznam.cz>
8194
8195 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8196
9d17796a
SE
81972013-12-02 Steve Ellcey <sellcey@mips.com>
8198
8199 * benchtests/Makefile (bench): Add sqrt.
8200 (LDLIBS-bench-sqrt): New.
8201 * benchtests/sqrt-input: New.
8202
f524d6a8
PS
82032013-12-02 Pavel Simerda <psimerda@redhat.com>
8204
639a0ef8
PS
8205 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8206 (GAIH_EAI): Likewise.
8207 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8208 (gaih_inet): Likewise.
8209 (getaddrinfo): Don't use GAIH_EAI.
8210
f524d6a8
PS
8211 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8212 (struct gaih): Remove definition.
8213
df3aedaf
SP
82142013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8215
8216 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8217 Use HERRNOP directly.
8218
1ab19dec
AZ
82192013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8220
b42ad38d 8221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 8222
176b0c79
JM
82232013-11-30 Joseph Myers <joseph@codesourcery.com>
8224
8225 * math/gen-auto-libm-tests.c (test_functions): Add more
8226 single-argument functions.
8227 (special_fill_pi_2): New function.
8228 (special_fill_minus_pi_2): Likewise.
8229 (special_fill_pi_6): Likewise.
8230 (special_fill_minus_pi_6): Likewise.
8231 (special_fill_pi_3): Likewise.
8232 (special_fill_2pi_3): Likewise.
8233 (special_fill_e): Likewise.
8234 (special_fill_1_e): Likewise.
8235 (special_fill_e_minus_1): Likewise.
8236 (special_real_inputs): Add more special inputs.
8237 (output_for_one_input_case): Do not require ERANGE on underflow to
8238 zero if round-to-nearest result does not underflow to zero, unless
8239 exact results required.
8240 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8241 atan, atanh, cbrt, cos and cosh.
8242 * math/auto-libm-test-out: Regenerated.
8243 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8244 (acos_tonearest_test_data): Likewise.
8245 (acos_towardzero_test_data): Likewise.
8246 (acos_downward_test_data): Likewise.
8247 (acos_upward_test_data): Likewise.
8248 (acosh_test_data): Likewise.
8249 (asin_test_data): Likewise.
8250 (asin_tonearest_test_data): Likewise.
8251 (asin_towardzero_test_data): Likewise.
8252 (asin_upward_test_data): Likewise.
8253 (asinh_test_data): Likewise.
8254 (atan_test_data): Likewise.
8255 (atanh_test_data): Likewise.
8256 (cbrt_test_data): Likewise.
8257 (cos_test_data): Likewise.
8258 (cos_tonearest_test_data): Likewise.
8259 (cos_towardzero_test_data): Likewise.
8260 (cos_downward_test_data): Likewise.
8261 (cos_upward_test_data): Likewise.
8262 (cosh_test_data): Likewise.
8263 (cosh_tonearest_test_data): Likewise.
8264 (cosh_towardzero_test_data): Likewise.
8265 (cosh_downward_test_data): Likewise.
8266 (cosh_upward_test_data): Likewise.
8267 * sysdeps/i386/fpu/libm-test-ulps: Update.
8268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8269
ffb536d0
JM
82702013-11-29 Joseph Myers <joseph@codesourcery.com>
8271
2a77a467
JM
8272 [BZ #6787]
8273 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8274 * math/w_exp10f.c (__exp10f): Likewise.
8275 * math/w_exp10l.c (__exp10l): Likewise.
8276 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8277 errno settings in existing tests.
8278
ea3bc4e8
JM
8279 [BZ #14032]
8280 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8281 precision control set to double precision.
8282 * sysdeps/i386/fpu/w_sqrt.c: New file.
8283 * math/auto-libm-test-in: Add more tests.
8284 * math/auto-libm-test-out: Update.
8285
0712c9d8
JM
8286 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8287 (sqrt_test_tonearest): New function.
8288 (sqrt_towardzero_test_data): New variable.
8289 (sqrt_test_towardzero): New function.
8290 (sqrt_downward_test_data): New variable.
8291 (sqrt_test_downward): New function.
8292 (sqrt_upward_test_data): New variable.
8293 (sqrt_test_upward): New function.
8294 (main): Call the new functions.
8295
ffb536d0
JM
8296 * math/gen-auto-libm-tests.c: New file.
8297 * math/auto-libm-test-in: Likewise.
8298 * math/auto-libm-test-out: New generated file.
8299 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8300 variables.
8301 (%beautify): Add generated representations of zero.
8302 (top level): Set $auto_input and call parse_auto_input.
8303 (beautify): Remove trailing "f" from hex float constants.
8304 (parse_args): Handle XFAIL_TEST.
8305 (convert_condition): New function.
8306 (or_value): Likewise.
8307 (or_cond_value): Likewise.
8308 (generate_testfile): Handle AUTO_TESTS_* lines.
8309 (parse_auto_input): New function.
8310 * math/libm-test.inc (XFAIL_TEST): New macro.
8311 (ERRNO_UNCHANGED): Update value.
8312 (ERRNO_EDOM): Likewise.
8313 (ERRNO_ERANGE): Likewise.
8314 (IGNORE_RESULT): Likewise.
8315 (TEST_COND_flt_32): New macro.
8316 (TEST_COND_dbl_64): Likewise.
8317 (TEST_COND_ldbl_96_intel): Likewise.
8318 (TEST_COND_ldbl_96_m68k): Likewise.
8319 (TEST_COND_ldbl_128): Likewise.
8320 (TEST_COND_ldbl_128ibm): Likewise.
8321 (TEST_COND_long32): Likewise.
8322 (TEST_COND_long64): Likewise.
8323 (TEST_COND_before_rounding): Likewise.
8324 (TEST_COND_after_rounding): Likewise.
8325 (enable_test): Handle XFAIL_TEST flag.
8326 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8327 with finite results.
8328 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8329 auto-libm-test-out.
8330
acd98a8e
AK
83312013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8332 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8333
8334 [BZ #16214]
8335 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8336 __tls_get_addr_internal instead of __tls_get_offset in order to
8337 avoid GOT pointer dependency. Make rtld export
8338 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8339 __tls_get_addr since we are a __tls_get_offset platform.
8340 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8341 GOT pointer being set up before.
8342 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8343
3c1c46a6
JM
83442013-11-28 Joseph Myers <joseph@codesourcery.com>
8345
7475aef5
JM
8346 * manual/math.texi (Errors in Math Functions): Document accuracy
8347 goals.
8348
8bca7cd8
JM
8349 [BZ #15004]
8350 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8351 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8354 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8356 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8366
91a1f3fe
JM
8367 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8368 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8369 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8370 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8371 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8372 Likewise.
8373 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8374 Likewise.
8375 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8376 Likewise.
8377 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8378 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8379 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8380 atomic-feupdateenv and flt-rounds.
8381 * sysdeps/powerpc/nofpu/Versions (libc): Add
8382 __atomic_feholdexcept, __atomic_feclearexcept,
8383 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8384 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8385 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8386 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8387 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8388 here.
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8390 Update.
8391
c5df7609
JM
8392 * manual/arith.texi (FP Exceptions): Document that exceptions may
8393 not be raised when matherr is used.
8394 (Math Error Reporting): Document overflow in directed rounding
8395 modes. Document that errno may not be set when finite values are
8396 returned on overflow. Document intent to set errno on underflow
8397 only for underflow to zero.
8398
3c1c46a6
JM
8399 [BZ #16271]
8400 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8401 round-to-nearest then adjust result for other rounding modes.
8402 * include/fenv.h (fegetround): Use libm_hidden_proto.
8403 * math/fegetround.c (fegetround): Use libm_hidden_def.
8404 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8405 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8406 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8407 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8408 Likewise.
8409 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8410 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8411 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8412 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8413
5a4c6d53
SP
84142013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8415
8416 [BZ #16077]
8417 * nss/Versions (libnss_files): Add
8418 _nss_files_gethostbyname3_r.
8419 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8420 New function.
8421 (HOST_DB_LOOKUP): Remove macro.
8422 (_nss_files_gethostbyname_r): Implement function without the
8423 HOST_DB_LOOKUP macro.
8424 (_nss_files_gethostbyname2_r): Likewise.
8425
897b98ba
OB
84262013-11-28 Ondřej Bílka <neleai@seznam.cz>
8427
8428 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8429
6f476861
UB
84302013-11-26 Uros Bizjak <ubizjak@gmail.com>
8431
8432 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8433 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8434 warning.
8435
bd12ab55
AZ
84362013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8437
8438 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8439 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8440 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8441 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8442 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8443 __fe_nomask_env_priv and attribute_hidden.
8444 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8445 (libc_feupdateenv_test_ppc): Likewise.
8446 (libc_feresetround_ppc): Likewise.
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8448 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8449 compat_symbol macro.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8451 (__fe_nomask_env): Likewise.
8452 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8453
52bb6543
OB
84542013-11-26 Ondřej Bílka <neleai@seznam.cz>
8455
8456 * string/Makefile: Remove ifunc tests.
8457 * string/test-string.h: Define TEST_IFUNC.
8458 * string/test-bcopy-ifunc.c: Remove.
8459 * string/test-bzero-ifunc.c: Likewise.
8460 * string/test-memccpy-ifunc.c: Likewise.
8461 * string/test-memchr-ifunc.c: Likewise.
8462 * string/test-memcmp-ifunc.c: Likewise.
8463 * string/test-memcpy-ifunc.c: Likewise.
8464 * string/test-memmem-ifunc.c: Likewise.
8465 * string/test-memmove-ifunc.c: Likewise.
8466 * string/test-mempcpy-ifunc.c: Likewise.
8467 * string/test-memrchr-ifunc.c: Likewise.
8468 * string/test-memset-ifunc.c: Likewise.
8469 * string/test-rawmemchr-ifunc.c: Likewise.
8470 * string/test-stpcpy-ifunc.c: Likewise.
8471 * string/test-stpncpy-ifunc.c: Likewise.
8472 * string/test-strcasecmp-ifunc.c: Likewise.
8473 * string/test-strcasestr-ifunc.c: Likewise.
8474 * string/test-strcat-ifunc.c: Likewise.
8475 * string/test-strchr-ifunc.c: Likewise.
8476 * string/test-strchrnul-ifunc.c: Likewise.
8477 * string/test-strcmp-ifunc.c: Likewise.
8478 * string/test-strcpy-ifunc.c: Likewise.
8479 * string/test-strcspn-ifunc.c: Likewise.
8480 * string/test-strlen-ifunc.c: Likewise.
8481 * string/test-strncasecmp-ifunc.c: Likewise.
8482 * string/test-strncat-ifunc.c: Likewise.
8483 * string/test-strncmp-ifunc.c: Likewise.
8484 * string/test-strncpy-ifunc.c: Likewise.
8485 * string/test-strnlen-ifunc.c: Likewise.
8486 * string/test-strpbrk-ifunc.c: Likewise.
8487 * string/test-strrchr-ifunc.c: Likewise.
8488 * string/test-strspn-ifunc.c: Likewise.
8489 * string/test-strstr-ifunc.c: Likewise.
8490
ab260039 84912013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8492
8493 * benchtests/Makefile: Remove ifunc tests.
8494 * benchtests/bench-string.h: Define TEST_IFUNC.
8495 * benchtests/bench-bcopy-ifunc.c: Remove.
8496 * benchtests/bench-bzero-ifunc.c: Likewise.
8497 * benchtests/bench-memccpy-ifunc.c: Likewise.
8498 * benchtests/bench-memchr-ifunc.c: Likewise.
8499 * benchtests/bench-memcmp-ifunc.c: Likewise.
8500 * benchtests/bench-memcpy-ifunc.c: Likewise.
8501 * benchtests/bench-memmem-ifunc.c: Likewise.
8502 * benchtests/bench-memmove-ifunc.c: Likewise.
8503 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8504 * benchtests/bench-memrchr-ifunc.c: Likewise.
8505 * benchtests/bench-memset-ifunc.c: Likewise.
8506 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8507 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8508 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8509 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8510 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8511 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8512 * benchtests/bench-strcat-ifunc.c: Likewise.
8513 * benchtests/bench-strchr-ifunc.c: Likewise.
8514 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8515 * benchtests/bench-strcmp-ifunc.c: Likewise.
8516 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8517 * benchtests/bench-strcpy-ifunc.c: Likewise.
8518 * benchtests/bench-strcspn-ifunc.c: Likewise.
8519 * benchtests/bench-strlen-ifunc.c: Likewise.
8520 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8521 * benchtests/bench-strncat-ifunc.c: Likewise.
8522 * benchtests/bench-strncmp-ifunc.c: Likewise.
8523 * benchtests/bench-strncpy-ifunc.c: Likewise.
8524 * benchtests/bench-strnlen-ifunc.c: Likewise.
8525 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8526 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8527 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8528 * benchtests/bench-strspn-ifunc.c: Likewise.
8529 * benchtests/bench-strstr-ifunc.c: Likewise.
8530
85312013-11-26 Ondřej Bílka <neleai@seznam.cz>
8532
ab260039
OB
8533 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8534
d1d9eaf4 85352013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8536
d1d9eaf4
OB
8537 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8538 * rt/aio.h: Likewise.
8539 * sysdeps/gnu/bits/utmp.h: Likewise.
8540 * sysdeps/gnu/bits/utmpx.h: Likewise.
8541 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8542 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8543 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8544 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8545 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8546 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8547 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8548 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8549 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8550 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8551 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8552 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8553 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8555 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8556 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8557 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8558 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8559 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8560 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8561 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8562 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8563 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8564 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8565 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8567 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8568 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8569 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8570 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8571 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8572 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8573 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8574 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8575 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8576 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8577 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8578 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8579 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8580 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8581 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8582 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8583
a7624ed9
CD
85842013-11-25 Carlos O'Donell <carlos@redhat.com>
8585
8586 [BZ #16245]
8587 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8588 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8589
63cfe52b
JM
85902013-11-25 Joseph Myers <joseph@codesourcery.com>
8591
8592 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8593 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8594 Likewise.
8595
41e8926a
AZ
85962013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8597
8598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8599 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8600 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8601 (__fesetround): Remove define.
8602 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8603 rounding and exceptions handling.
8604 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8605 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8606 (__fe_nomask_env): Likewise.
8607 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8608 __fegetround instead of fegetround.
8609 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8610 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8611
6851bd4d
RM
86122013-11-21 Roland McGrath <roland@hack.frob.com>
8613
070906ff
RM
8614 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8615 it's there.
8616
6851bd4d
RM
8617 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8618
84ae135d
MI
86192013-11-21 Meador Inge <meadori@codesourcery.com>
8620
8621 [BZ #11157]
8622 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8623 (encrypt_r): Likewise.
8624 * malloc/obstack.h (obstack_free): Likewise.
8625 * posix/unistd.h (encrypt): Likewise.
8626
daf75146
GM
86272013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8628
8629 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8630 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8631 DL_CALL_DT_FINI() that call the functions directly.
8632 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8633 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8634 * elf/dl-fini.c: Likewise.
8635
10ad46bc
OB
86362013-11-20 Ondřej Bílka <neleai@seznam.cz>
8637
8638 * malloc/hooks.c (memalign_check): Add alignment rounding.
8639 * malloc/malloc.c (_mid_memalign): New function.
8640 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8641 Implement by calling _mid_memalign.
8642 * manual/probes.texi (Memory Allocation Probes): Remove
8643 memory_valloc_retry and memory_pvalloc_retry.
8644
f3fd2628
SP
86452013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8646
4712799f
SP
8647 * locale/programs/locarchive.c (open_archive): Add const
8648 qualifier to ARCHIVEFNAME and copy default fname to
8649 DEFAULT_FNAME.
8650
0417b20f
SP
8651 [BZ #15601]
8652 * libio/tst-widetext.input: Rename Oriya to Odia.
8653 * locale/iso-639.def: Likewise.
8654
f3fd2628
SP
8655 * manual/probes.texi (Mathematical Function Probes): Add
8656 documentation for sin, cos, asin and acos probes.
8657 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8658 (__sin32): Add slowasin probe.
8659 (__cos32): Add slowacos probe.
8660 (__mpsin): Add slowsin probe.
8661 (__mpcos): Add slowcos probe.
8662
73c1ce4f
JM
86632013-11-19 Joseph Myers <joseph@codesourcery.com>
8664
8665 [BZ #15483]
8666 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8667 thread-local __sim_exceptions_thread and global
8668 __sim_exceptions_global.
8669 (__sim_disabled_exceptions): Change to thread-local
8670 __sim_disabled_exceptions_thread and global
8671 __sim_disabled_exceptions_global.
8672 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8673 and global __sim_round_mode_global.
8674 (__simulate_exceptions): Use thread-local floating-point state and
8675 set global state from it as needed.
8676 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8677 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8678 __sim_round_mode_thread.
8679 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8680 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8681 and global __sim_exceptions_global.
8682 (__sim_disabled_exceptions): Change to thread-local
8683 __sim_disabled_exceptions_thread and global
8684 __sim_disabled_exceptions_global.
8685 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8686 and global __sim_round_mode_global.
8687 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8688 (SIM_SET_GLOBAL): Likewise.
8689 * sysdeps/powerpc/soft-fp/sfp-machine.h
8690 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8691 __sim_round_mode_thread.
8692 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8693 __sim_disabled_exceptions_thread.
8694 (__sim_exceptions): Change to __sim_exceptions_thread.
8695 (__sim_disabled_exceptions): Change to
8696 __sim_disabled_exceptions_thread.
8697 (__sim_round_mode): Change to __sim_round_mode_thread.
8698 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8699 thread-local floating-point state and set global state from it as
8700 needed.
8701 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8702 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8703 (__sim_disabled_exceptions): Remove extern declaration.
8704 (feenableexcept): Use thread-local floating-point state and set
8705 global state from it as needed.
8706 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8707 extern declaration.
8708 (__sim_disabled_exceptions): Likewise.
8709 (__sim_round_mode): Likewise.
8710 (__fegetenv): Use thread-local floating-point state.
8711 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8712 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8713 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8714 floating-point state and set global state from it as needed.
8715 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8716 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8717 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8718 Likewise.
8719 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8720 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8721 Likewise.
8722 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8723 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8724 Use __sim_round_mode_thread.
8725 * math/test-fenv-tls.c: New file.
8726 * math/Makefile (tests): Add test-fenv-tls.
8727 ($(objpfx)test-fenv-tls): Depend on
8728 $(common-objpfx)nptl/libpthread.so.
8729
b5449b12
AS
87302013-11-19 Andreas Schwab <schwab@suse.de>
8731
8732 * locale/programs/locale.c (show_info): Decode wordarray elements.
8733 * locale/categories.def (LC_MONETARY): Add element for
8734 _NL_MONETARY_CRNCYSTR.
8735 * locale/C-monetary.c (conversion_rate): New variable.
8736 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8737 element.
8738
e186536b
CM
87392013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8740
8741 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8742 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8743
5c349950
PP
87442013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8745
8746 * elf/Makefile (tst-auxv): New test.
8747 * elf/tst-auxv.c: New
8748 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8749
699df45b
JM
87502013-11-18 Joseph Myers <joseph@codesourcery.com>
8751
8752 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8753 (hidden_proto): Caller changed.
8754 (hidden_tls_proto): New macro.
8755 (libc_hidden_tls_proto): Likewise.
8756 (rtld_hidden_tls_proto): Likewise.
8757 (libm_hidden_tls_proto): Likewise.
8758 (libresolv_hidden_tls_proto): Likewise.
8759 (librt_hidden_tls_proto): Likewise.
8760 (libdl_hidden_tls_proto): Likewise.
8761 (libnss_files_hidden_tls_proto): Likewise.
8762 (libnsl_hidden_tls_proto): Likewise.
8763 (libnss_nisplus_hidden_tls_proto): Likewise.
8764 (libutil_hidden_tls_proto): Likewise.
8765
b7589107
OB
87662013-11-18 Ondřej Bílka <neleai@seznam.cz>
8767
8768 [BZ #10253]
8769 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8770 (decompose_rpath): Defer expansion to fillin_rpath.
8771 (_dl_init_paths): Pass linkmap to fillin_rpath.
8772
250c23bd
RS
87732013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8774
8775 * benchtests/Makefile: Add strsep.
8776 * benchtests/bench-strsep.c: New file: strsep benchtest.
8777 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8778
a7931fcf
AS
87792013-11-18 Andreas Schwab <schwab@suse.de>
8780
8781 * locale/programs/locale.c (show_info) [case byte]: Check for
8782 '\377' instead of '\177'.
8783 * locale/C-monetary.c (not_available): Always use "\377".
8784 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8785 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8786 detect unavailable sign_posn locale elements.
8787 * locale/localeconv.c (__localeconv): For grouping and
8788 mon_grouping handle "\177" and "\377" like no grouping.
8789 (INT_ELEM): New macro. Use it to set all numeric members.
8790 * locale/programs/ld-monetary.c (monetary_read)
8791 <tok_mon_grouping>: Normalize single -1 to the empty string.
8792 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8793 Likewise.
8794
728dab0e
OB
87952013-11-07 Ondřej Bílka <neleai@seznam.cz>
8796
8797 [BZ #16055]
8798 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8799 when we match (nil).
8800 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8801
66294491
JM
88022013-11-16 Joseph Myers <joseph@codesourcery.com>
8803
ce665817
JM
8804 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8805 (NO_TEST_INLINE): Update value.
8806 (ERRNO_UNCHANGED): Likewise.
8807 (ERRNO_EDOM): Likewise.
8808 (ERRNO_ERANGE): Likewise.
8809 (IGNORE_RESULT): Likewise.
8810 (check_float_internal): Check signs of NaN results if
8811 TEST_NAN_SIGN used.
8812 (check_complex): Pass TEST_NAN_SIGN flag through to second
8813 check_float_internal call.
8814 (copysign_test_data): Add tests with quiet NaNs as second
8815 argument. Use TEST_NAN_SIGN.
8816 (fabs_test_data): Add test of negative quiet NaN argument. Use
8817 TEST_NAN_SIGN.
8818 (signbit_test_data): Add tests of quiet NaN argument.
8819 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8820
ee1466a9
JM
8821 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8822 $ignore_result.
8823 (parse_args): Handle function results specified as IGNORE.
8824 * math/libm-test.inc (IGNORE_RESULT): New macro.
8825 (check_float_internal): Do not check numerical result if flag
8826 IGNORE_RESULT set.
8827 (check_complex): Pass through IGNORE_RESULT to second
8828 check_float_internal call.
8829 (check_int): Do not check numerical result if flag IGNORE_RESULT
8830 set.
8831 (check_long): Likewise.
8832 (check_bool): Likewise.
8833 (check_longlong): Likewise.
8834 (lrint_test_data): Add tests of infinite and NaN arguments.
8835 (lrint_tonearest_test_data): Likewise.
8836 (lrint_towardzero_test_data): Likewise.
8837 (lrint_downward_test_data): Likewise.
8838 (lrint_upward_test_data): Likewise.
8839 (llrint_test_data): Likewise.
8840 (llrint_tonearest_test_data): Likewise.
8841 (llrint_towardzero_test_data): Likewise.
8842 (llrint_downward_test_data): Likewise.
8843 (llrint_upward_test_data): Likewise.
8844 (lround_test_data): Likewise.
8845 (llround_test_data): Likewise.
8846
14407b7e
JM
8847 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8848 (ERRNO_UNCHANGED): Update value.
8849 (ERRNO_EDOM): Likewise.
8850 (ERRNO_ERANGE): Likewise.
8851 (NO_TEST_INLINE_FLOAT): New macro.
8852 (NO_TEST_INLINE_DOUBLE): Likewise.
8853 (enable_test): New function.
8854 (RUN_TEST_f_f): Check enable_test before running test.
8855 (RUN_TEST_2_f): Likewise.
8856 (RUN_TEST_fff_f): Likewise.
8857 (RUN_TEST_c_f): Likewise.
8858 (RUN_TEST_f_f1): Likewise.
8859 (RUN_TEST_fF_f1): Likewise.
8860 (RUN_TEST_fI_f1): Likewise.
8861 (RUN_TEST_ffI_f1): Likewise.
8862 (RUN_TEST_c_c): Likewise.
8863 (RUN_TEST_cc_c): Likewise.
8864 (RUN_TEST_f_i): Likewise.
8865 (RUN_TEST_f_i_tg): Likewise.
8866 (RUN_TEST_ff_i_tg): Likewise.
8867 (RUN_TEST_f_b): Likewise.
8868 (RUN_TEST_f_b_tg): Likewise.
8869 (RUN_TEST_f_l): Likewise.
8870 (RUN_TEST_f_L): Likewise.
8871 (RUN_TEST_fFF_11): Likewise.
8872 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8873 conditionals.
8874 (cosh_test_data): Likewise.
8875 (exp_test_data): Likewise.
8876 (expm1_test_data): Likewise.
8877 (hypot_test_data): Likewise.
8878 (pow_test_data): Likewise.
8879 (sinh_test_data): Likewise.
8880 (tanh_test_data): Likewise.
8881 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8882 flags argument.
8883
ca07f197
JM
8884 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8885 tests with quiet NaN input and output.
8886 (acosh_test_data): Likewise.
8887 (asin_test_data): Likewise.
8888 (asinh_test_data): Likewise.
8889 (atan_test_data): Likewise.
8890 (atanh_test_data): Likewise.
8891 (atan2_test_data): Likewise.
8892 (cbrt_test_data): Likewise.
8893 (cos_test_data): Likewise.
8894 (cosh_test_data): Likewise.
8895 (erf_test_data): Likewise.
8896 (erfc_test_data): Likewise.
8897 (exp_test_data): Likewise.
8898 (exp10_test_data): Likewise.
8899 (exp2_test_data): Likewise.
8900 (expm1_test_data): Likewise.
8901 (hypot_test_data): Likewise.
8902 (j0_test_data): Likewise.
8903 (j1_test_data): Likewise.
8904 (jn_test_data): Likewise.
8905 (lgamma_test_data): Likewise.
8906 (log_test_data): Likewise.
8907 (log10_test_data): Likewise.
8908 (log1p_test_data): Likewise.
8909 (log2_test_data): Likewise.
8910 (pow_test_data): Likewise.
8911 (scalb_test_data): Likewise.
8912 (sin_test_data): Likewise.
8913 (sincos_test_data): Likewise.
8914 (sinh_test_data): Likewise.
8915 (tan_test_data): Likewise.
8916 (tanh_test_data): Likewise.
8917 (tgamma_test_data): Likewise.
8918 (y0_test_data): Likewise.
8919 (y1_test_data): Likewise.
8920 (yn_test_data): Likewise.
8921
66294491
JM
8922 [BZ #16167]
8923 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8924 argument being NaN and avoid computations with second argument in
8925 that case.
8926 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8927 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8928 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8929
1820b143
CL
89302013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8931
8932 * locale/iso-639.def: Add Chitwani Tharu (the).
8933
714bd261
AS
89342013-11-14 Andreas Schwab <schwab@suse.de>
8935
8936 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8937 word instead of empty string.
8938
7ab44563
AZ
89392013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8940
8941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8942 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8944 (__fe_nomask_env): Likewise.
8945
e8470ea2
SE
89462013-11-13 Steve Ellcey <sellcey@mips.com>
8947
8948 * benchtests/bench-timing.h: Include time.h.
8949
17c1d9f0
L
89502013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8951
8952 [BZ #15997]
8953 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8954 to 3.4.0 for x32.
8955 * sysdeps/unix/sysv/linux/configure: Regenerated.
8956
9310c284
JM
89572013-11-13 Joseph Myers <joseph@codesourcery.com>
8958
8959 [BZ #16151]
8960 * stdlib/strtod_l.c (round_and_return): Do not consider
8961 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8962 exponent one less than half the least subnormal exponent.
8963 * stdlib/test-strtod-round-data: Add more tests.
8964 * stdlib/tst-strtod-round.c (tests): Regenerated.
8965
7a2ad8cf
AZ
89662013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8967
8968 [BZ #14143]
8969 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8970 (__fe_mask_env): Likewise.
8971 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8972 libm_hidden_proto and add function prototype.
8973 (__fe_mask_env): Add function prototype.
8974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8975 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8977 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8979 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8980
50727aa7
MS
89812013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8982
b2f386c1 8983 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8984 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8985
a615be46
MS
89862013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8987
8988 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8989 of htab_find_slot().
8990
7ddace62
DM
89912013-11-11 David S. Miller <davem@davemloft.net>
8992
8993 [BZ #16150]
8994 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8995 symbol in the non-vis3 case in static builds.
8996 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8997 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8998 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8999 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9000
9182aa67
JK
90012013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9002
9003 [BZ #387]
9004 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9005 it is empty.
9006
450a2e2d
AZ
90072013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9008
b2f386c1
SP
9009 * benchtests/Makefile: Add bench-strtod.
9010 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9011
8ec3f656
AS
90122013-11-11 Andreas Schwab <schwab@suse.de>
9013
9014 [BZ #16153]
9015 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9016 terminating NUL in key length.
9017
76a9b998
AZ
90182013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9019
9020 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9021 Add artificial ODP entry for vDSO symbol for PPC64.
9022 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9023 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9024
e4368156
OB
90252013-11-07 Ondřej Bílka <neleai@seznam.cz>
9026
9027 [BZ #15374]
9028 * nss/getent.c (services_keys): Recognize services starting with digit.
9029
8d6bb57c
DM
90302013-11-06 David S. Miller <davem@davemloft.net>
9031
9032 [BZ #15985]
9033 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9034 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9035
e256c421
WN
90362013-11-06 Will Newton <will.newton@linaro.org>
9037
9038 * manual/memory.texi (Malloc Examples): Remove register
9039 keyword from examples.
9040
f6e12daa 90412013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9042
f6e12daa 9043 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9044
9d880655
AS
90452013-11-04 Joseph Myers <joseph@codesourcery.com>
9046
fd2f9486 9047 [BZ #6981]
9d880655
AS
9048 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9049 depending on [__GCC_IEC_559 > 0].
9050 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9051 depending on [__GCC_IEC_559_COMPLEX > 0].
9052
ae129d3c
CL
90532013-11-03 Chris Leonard <cjl@sugarlabs.org>
9054
9055 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9056 to iso-639.def.
9057
4a15c2a4 90582013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9059
9060 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9061
8b35e35d
OB
90622013-11-01 Ondřej Bílka <neleai@seznam.cz>
9063
9064 [BZ #16112]
9065 * malloc/malloc (malloc_info): Do not handle first bin as
9066 special case.
9067
1d70fd6c
CL
90682013-11-01 Chris Leonard <cjl@sugarlabs.org>
9069
9070 * locale/iso-639.def: Add Central Nahuatl (nhn).
9071
8c5c2600
BH
90722013-11-01 Bruno Haible <bruno@clisp.org>
9073
9074 [BZ #7003]
9075 * manual/math.texi (BSD Random): Specify range upper bound as
9076 in POSIX.
9077
da5579c2
CL
90782013-10-31 Chris Leonard <cjl@sugarlabs.org>
9079
9080 * locale/iso-639.def: Add Meadow Mari (mhr).
9081
5d30d853
OB
90822013-10-31 Ondřej Bílka <neleai@seznam.cz>
9083
9084 [BZ #14752], [BZ #15763]
9085 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9086 Validate name.
9087 * rt/tst_shm.c: Add test for escaping directory.
9088
a4966c61
AS
90892013-10-31 Andreas Schwab <schwab@suse.de>
9090
8a43e768 9091 [BZ #15917]
a4966c61
AS
9092 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9093 followed by 'x' as part of digit sequence.
9094 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9095
28d708c4
MAP
90962013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9097
9098 [BZ #16037]
9099 * configure.ac: allow GNU Make 4.0 and greater.
9100 * configure: Regenerated.
9101
a56ee40b
WN
91022013-10-30 Will Newton <will.newton@linaro.org>
9103
9104 [BZ #16038]
9105 * malloc/hooks.c (memalign_check): Limit alignment to the
9106 maximum representable power of two.
9107 * malloc/malloc.c (__libc_memalign): Likewise.
9108 * malloc/tst-memalign.c (do_test): Add test for very
9109 large alignment values.
9110 * malloc/tst-posix_memalign.c (do_test): Likewise.
9111
c6e4925d
OB
91122013-10-30 Ondřej Bílka <neleai@seznam.cz>
9113
9114 [BZ #11087]
9115 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9116 (munmap_chunk): Likewise.
9117 (mremap_chunk): Likewise.
9118
91192013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 9120
8a43e768 9121 [BZ #15799]
bbea82f7
OB
9122 * stdlib/div.c (div): Remove obsolete code.
9123 * stdlib/ldiv.c (ldiv): Likewise.
9124 * stdlib/lldiv.c (lldiv): Likewise.
9125
977f4b31
SP
91262013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9127
9128 [BZ #16071]
9129 * nss/nss_files/files-XXX.c (get_contents_ret): New
9130 enumerator.
9131 (get_contents): New function.
9132 (internal_getent): Use it. Expand size of LINEBUFLEN.
9133
cb8a6dbd
MF
91342013-10-30 Mike Frysinger <vapier@gentoo.org>
9135
9136 * configure.in: Moved to ...
9137 * configure.ac: ... here. Change reference to configure.in
9138 to configure.ac.
9139 * sysdeps/arm/preconfigure.ac: ... here.
9140 configure.in to configure.ac.
9141 * sysdeps/gnu/configure.in: Moved to ...
9142 * sysdeps/gnu/configure.ac: ... here.
9143 * sysdeps/i386/configure.in: Moved to ...
9144 * sysdeps/i386/configure.ac: ... here.
9145 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9146 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9147 * sysdeps/mach/configure.in: Moved to ...
9148 * sysdeps/mach/configure.ac: ... here.
9149 * sysdeps/mach/hurd/configure.in: Moved to ...
9150 * sysdeps/mach/hurd/configure.ac: ... here.
9151 * sysdeps/powerpc/configure.in: Moved to ...
9152 * sysdeps/powerpc/configure.ac: ... here.
9153 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9154 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9155 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9156 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9157 * sysdeps/s390/s390-32/configure.in: Moved to ...
9158 * sysdeps/s390/s390-32/configure.ac: ... here.
9159 * sysdeps/s390/s390-64/configure.in: Moved to ...
9160 * sysdeps/s390/s390-64/configure.ac: ... here.
9161 * sysdeps/sh/configure.in: Moved to ...
9162 * sysdeps/sh/configure.ac: ... here.
9163 * sysdeps/sparc/configure.in: Moved to ...
9164 * sysdeps/sparc/configure.ac: ... here.
9165 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9166 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9167 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9168 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9169 * sysdeps/x86_64/configure.in: Moved to ...
9170 * sysdeps/x86_64/configure.ac: ... here.
9171 * sysdeps/x86_64/preconfigure.in: Moved to ...
9172 * sysdeps/x86_64/preconfigure.ac: ... here.
9173 * aclocal.m4: Change reference to configure.in to configure.ac.
9174 * config.h.in: Likewise.
9175 * manual/install.texi: Likewise.
9176 * manual/maint.texi: Likewise.
9177 * Makefile: Likewise.
9178 * malloc/Makefile: Likewise.
9179 * nscd/Makefile: Likewise.
9180 * Makeconfig: Change reference to configure.in and
9181 preconfigure.in to configure.ac and preconfigure.ac
9182 respectively.
9183 * INSTALL: Regenerated.
9184 * configure: Likewise.
9185 * sysdeps/gnu/configure: Likewise.
9186 * sysdeps/i386/configure: Likewise.
9187 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9188 * sysdeps/mach/configure: Likewise.
9189 * sysdeps/mach/hurd/configure: Likewise.
9190 * sysdeps/powerpc/configure: Likewise.
9191 * sysdeps/powerpc/powerpc32/configure: Likewise.
9192 * sysdeps/powerpc/powerpc64/configure: Likewise.
9193 * sysdeps/s390/s390-32/configure: Likewise.
9194 * sysdeps/s390/s390-64/configure: Likewise.
9195 * sysdeps/sh/configure: Likewise.
9196 * sysdeps/sparc/configure: Likewise.
9197 * sysdeps/unix/sysv/linux/configure: Likewise.
9198 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9199 * sysdeps/x86_64/configure: Likewise.
9200 * sysdeps/x86_64/preconfigure: Likewise.
9201
36a4953a
AS
92022013-10-29 Andreas Schwab <schwab@suse.de>
9203
9204 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9205
c79a1204
SP
92062013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9207
dfa1b402
SP
9208 * benchtests/pow-inputs: Add new inputs.
9209
54f73d9c
SP
9210 * benchtests/exp-inputs: Add new inputs.
9211
c79a1204
SP
9212 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9213 conditional check for return value.
9214 (__cos32): Likewise.
9215
67beb545 92162013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
9217
9218 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9219 to provide a boost for large inputs with word alignment.
9220 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9221 implementation based on optimized PPC64 strcpy.
9222 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9223 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9224 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9225 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9226
151659f6
OB
92272013-10-25 Ondřej Bílka <neleai@seznam.cz>
9228
482a077e 9229 [BZ #2801]
151659f6
OB
9230 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9231
10b0f26b
OB
92322013-10-25 Ondřej Bílka <neleai@seznam.cz>
9233
9234 [BZ #14876]
9235 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9236 * time/tst-strptime.c (day_tests): Add testcase.
9237
ca42d35e
OB
92382013-10-25 Ondřej Bílka <neleai@seznam.cz>
9239
482a077e 9240 [BZ #14029]
ca42d35e
OB
9241 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9242
52e6d801
FB
92432013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9244
9245 [BZ #16074]
9246 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9247 MAP_FAILED on error.
9248
7cbcdb36
SP
92492013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9250
9251 [BZ #16072]
9252 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9253 heap for large requests.
9254
894f3f10
AM
92552013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9256
9257 [BZ #9954]
9258 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9259 result if the result has no associated interface.
9260 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9261 interface for all 127.X.Y.Z addresses.
9262
b85545a6
CL
92632013-10-24 Chris Leonard <cjl@sugarlabs.org>
9264
9265 * locale/iso-639.def: Add Ligurian (lij)
9266
d1f23d46
OB
92672013-10-21 Ondřej Bílka <neleai@seznam.cz>
9268
9269 [BZ #15825]
9270 * sunrpc/rpc_main.c: Document rpcgen -5.
9271
4db5b08f
MS
92722013-10-19 Michael Stahl <mstahl@redhat.com>
9273
9274 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9275
a471e96a
OB
92762013-10-19 Ondřej Bílka <neleai@seznam.cz>
9277
d1f23d46 9278 [BZ #10278]
a471e96a
OB
9279 * posix/glob.c: Match only directories when trailing slash is present.
9280 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9281 (main): Add testcase.
9282
45c30c61
OB
92832013-10-19 Ondřej Bílka <neleai@seznam.cz>
9284
9285 [BZ #15670]
9286 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9287
484c12fb
CD
92882013-10-18 Carlos O'Donell <carlos@redhat.com>
9289
3d7dc513
CD
9290 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9291 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9292 AUTH_DES and cindex for FIPS 140-2.
9293 (DES Encryption): Add cindex FIPS 46-3.
9294
484c12fb
CD
9295 * locale/locarchive.h (struct locarhandle): Add fname.
9296 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9297 if an optional argument was specified to --list-archive,
9298 otherwise NULL.
9299 * locale/programs/locarchive.c (show_archive_content): Take new
9300 argument fname and pass it via ah.fname to open_archive.
9301 * locale/programs/localedef.h: Update decl.
9302 (open_archive): If AH->fname is non-null, open that file
9303 rather than the default file name, and don't ignore ENOENT.
9304 (create_archive): Set AH.fname to NULL.
9305 (delete_locales_from_archive): Likewise.
9306 (add_locales_to_archive): Likewise.
9307 * locale/programs/locfile.c (write_all_categories): Likewise.
9308
3c8325fb
JM
93092013-10-18 Joseph Myers <joseph@codesourcery.com>
9310 Aldy Hernandez <aldyh@redhat.com>
9311
9312 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9313 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9314 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9315 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9316 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9317 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9318 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9319 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9320 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9321 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9322 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9323 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9324 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9325 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9326 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9327 Likewise.
9328 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9329 Likewise.
9330 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9331 Likewise.
9332 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9333 Likewise.
9334 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9335 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9336 Likewise.
9337 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9338 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9339 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9340 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9341 Likewise.
9342 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9343 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9344 * sysdeps/powerpc/preconfigure: Likewise.
9345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9346 Likewise.
9347 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9348 Replace contents of file by #include of <fenv_libc.h>.
9349 * sysdeps/powerpc/soft-fp/sfp-machine.h
9350 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9351 and <sys/prctl.h>.
9352 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9353 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9354 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9355 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9356 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9357 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9359 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9360 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9361 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9362 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9363 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9365 Allow copysignl PLT reference to be missing.
9366
5abe0682
RS
93672013-10-18 Richard Sandiford <richard@codesourcery.com>
9368 Joseph Myers <joseph@codesourcery.com
9369
9370 [BZ #15948]
9371 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9372 single character.
9373 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9374
c7738d08
SP
93752013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9376
9377 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9378 * elf/tst-tls1.c: Likewise.
9379 * elf/tst-tls10.h: Likewise.
9380 * elf/tst-tls14.c: Likewise.
9381 * elf/tst-tls2.c: Likewise.
9382 * elf/tst-tls3.c: Likewise.
9383 * elf/tst-tls4.c: Likewise.
9384 * elf/tst-tls5.c: Likewise.
9385 * elf/tst-tls6.c: Likewise.
9386 * elf/tst-tls7.c: Likewise.
9387 * elf/tst-tls8.c: Likewise.
9388 * elf/tst-tls9.c: Likewise.
9389 * elf/tst-tlsmod1.c: Likewise.
9390 * elf/tst-tlsmod13.c: Likewise.
9391 * elf/tst-tlsmod13a.c: Likewise.
9392 * elf/tst-tlsmod14a.c: Likewise.
9393 * elf/tst-tlsmod16a.c: Likewise.
9394 * elf/tst-tlsmod16b.c: Likewise.
9395 * elf/tst-tlsmod2.c: Likewise.
9396 * elf/tst-tlsmod3.c: Likewise.
9397 * elf/tst-tlsmod4.c: Likewise.
9398 * elf/tst-tlsmod5.c: Likewise.
9399 * elf/tst-tlsmod6.c: Likewise.
9400
0bfcf2c7
OB
94012013-10-18 Ondřej Bílka <neleai@seznam.cz>
9402
9403 [BZ #12486]
9404 * malloc/malloc.c: remove checks for statistics.
9405
264aad1e
OB
94062013-10-17 Ondřej Bílka <neleai@seznam.cz>
9407
9408 [BZ #15277]
9409 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9410 * inet/tst-network.c: Add testcase.
9411
b957ced8
AS
94122013-10-17 Andreas Schwab <schwab@suse.de>
9413
9414 [BZ #15218]
9415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9416 to determine canonical name.
9417
c5d5d574
OB
94182013-10-17 Ondřej Bílka <neleai@seznam.cz>
9419
9420 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9421 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9423 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9426 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9437 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9438 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9439 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9440 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9441 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9442 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9443 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9444 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9445 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9446 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9447 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9448 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9449 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9450 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9451 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9453 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9454 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9457 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9478
e5c2c2d0
JM
94792013-10-17 Joseph Myers <joseph@codesourcery.com>
9480
9481 [BZ #16041]
9482 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9483 make result into a quiet NaN.
9484
51ca9e29
JM
94852013-10-16 Joseph Myers <joseph@codesourcery.com>
9486
9487 * soft-fp/adddf3.c: Fix horizontal whitespace.
9488 * soft-fp/addsf3.c: Likewise.
9489 * soft-fp/addtf3.c: Likewise.
9490 * soft-fp/divdf3.c: Likewise.
9491 * soft-fp/divsf3.c: Likewise.
9492 * soft-fp/divtf3.c: Likewise.
9493 * soft-fp/double.h: Likewise.
9494 * soft-fp/eqdf2.c: Likewise.
9495 * soft-fp/eqsf2.c: Likewise.
9496 * soft-fp/eqtf2.c: Likewise.
9497 * soft-fp/extenddftf2.c: Likewise.
9498 * soft-fp/extended.h: Likewise.
9499 * soft-fp/extendsfdf2.c: Likewise.
9500 * soft-fp/extendsftf2.c: Likewise.
9501 * soft-fp/extendxftf2.c: Likewise.
9502 * soft-fp/fixdfdi.c: Likewise.
9503 * soft-fp/fixdfsi.c: Likewise.
9504 * soft-fp/fixdfti.c: Likewise.
9505 * soft-fp/fixsfdi.c: Likewise.
9506 * soft-fp/fixsfsi.c: Likewise.
9507 * soft-fp/fixsfti.c: Likewise.
9508 * soft-fp/fixtfdi.c: Likewise.
9509 * soft-fp/fixtfsi.c: Likewise.
9510 * soft-fp/fixtfti.c: Likewise.
9511 * soft-fp/fixunsdfdi.c: Likewise.
9512 * soft-fp/fixunsdfsi.c: Likewise.
9513 * soft-fp/fixunsdfti.c: Likewise.
9514 * soft-fp/fixunssfdi.c: Likewise.
9515 * soft-fp/fixunssfsi.c: Likewise.
9516 * soft-fp/fixunssfti.c: Likewise.
9517 * soft-fp/fixunstfdi.c: Likewise.
9518 * soft-fp/fixunstfsi.c: Likewise.
9519 * soft-fp/fixunstfti.c: Likewise.
9520 * soft-fp/floatdidf.c: Likewise.
9521 * soft-fp/floatdisf.c: Likewise.
9522 * soft-fp/floatditf.c: Likewise.
9523 * soft-fp/floatsidf.c: Likewise.
9524 * soft-fp/floatsisf.c: Likewise.
9525 * soft-fp/floatsitf.c: Likewise.
9526 * soft-fp/floattidf.c: Likewise.
9527 * soft-fp/floattisf.c: Likewise.
9528 * soft-fp/floattitf.c: Likewise.
9529 * soft-fp/floatundidf.c: Likewise.
9530 * soft-fp/floatundisf.c: Likewise.
9531 * soft-fp/floatunditf.c: Likewise.
9532 * soft-fp/floatunsidf.c: Likewise.
9533 * soft-fp/floatunsisf.c: Likewise.
9534 * soft-fp/floatunsitf.c: Likewise.
9535 * soft-fp/floatuntidf.c: Likewise.
9536 * soft-fp/floatuntisf.c: Likewise.
9537 * soft-fp/floatuntitf.c: Likewise.
9538 * soft-fp/fmadf4.c: Likewise.
9539 * soft-fp/fmasf4.c: Likewise.
9540 * soft-fp/fmatf4.c: Likewise.
9541 * soft-fp/gedf2.c: Likewise.
9542 * soft-fp/gesf2.c: Likewise.
9543 * soft-fp/getf2.c: Likewise.
9544 * soft-fp/ledf2.c: Likewise.
9545 * soft-fp/lesf2.c: Likewise.
9546 * soft-fp/letf2.c: Likewise.
9547 * soft-fp/muldf3.c: Likewise.
9548 * soft-fp/mulsf3.c: Likewise.
9549 * soft-fp/multf3.c: Likewise.
9550 * soft-fp/negdf2.c: Likewise.
9551 * soft-fp/negsf2.c: Likewise.
9552 * soft-fp/negtf2.c: Likewise.
9553 * soft-fp/op-1.h: Likewise.
9554 * soft-fp/op-2.h: Likewise.
9555 * soft-fp/op-4.h: Likewise.
9556 * soft-fp/op-8.h: Likewise.
9557 * soft-fp/op-common.h: Likewise.
9558 * soft-fp/quad.h: Likewise.
9559 * soft-fp/single.h: Likewise.
9560 * soft-fp/soft-fp.h: Likewise.
9561 * soft-fp/sqrtdf2.c: Likewise.
9562 * soft-fp/sqrtsf2.c: Likewise.
9563 * soft-fp/sqrttf2.c: Likewise.
9564 * soft-fp/subdf3.c: Likewise.
9565 * soft-fp/subsf3.c: Likewise.
9566 * soft-fp/subtf3.c: Likewise.
9567 * soft-fp/truncdfsf2.c: Likewise.
9568 * soft-fp/trunctfdf2.c: Likewise.
9569 * soft-fp/trunctfsf2.c: Likewise.
9570 * soft-fp/trunctfxf2.c: Likewise.
9571 * soft-fp/unorddf2.c: Likewise.
9572 * soft-fp/unordsf2.c: Likewise.
9573 * soft-fp/unordtf2.c: Likewise.
9574
9ebb0332
JM
95752013-10-15 Joseph Myers <joseph@codesourcery.com>
9576
9577 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9578 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9579
4b1a6d8b
OB
95802013-10-15 Ondřej Bílka <neleai@seznam.cz>
9581
9582 * elf/dl-libc.c: Clear initfini list after freeing.
9583
1e145589
JM
95842013-10-14 Joseph Myers <joseph@codesourcery.com>
9585
9586 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9587 * soft-fp/addsf3.c: Likewise.
9588 * soft-fp/addtf3.c: Likewise.
9589 * soft-fp/divdf3.c: Likewise.
9590 * soft-fp/divsf3.c: Likewise.
9591 * soft-fp/divtf3.c: Likewise.
9592 * soft-fp/double.h: Likewise.
9593 * soft-fp/eqdf2.c: Likewise.
9594 * soft-fp/eqsf2.c: Likewise.
9595 * soft-fp/eqtf2.c: Likewise.
9596 * soft-fp/extenddftf2.c: Likewise.
9597 * soft-fp/extended.h: Likewise.
9598 * soft-fp/extendsfdf2.c: Likewise.
9599 * soft-fp/extendsftf2.c: Likewise.
9600 * soft-fp/extendxftf2.c: Likewise.
9601 * soft-fp/fixdfdi.c: Likewise.
9602 * soft-fp/fixdfsi.c: Likewise.
9603 * soft-fp/fixdfti.c: Likewise.
9604 * soft-fp/fixsfdi.c: Likewise.
9605 * soft-fp/fixsfsi.c: Likewise.
9606 * soft-fp/fixsfti.c: Likewise.
9607 * soft-fp/fixtfdi.c: Likewise.
9608 * soft-fp/fixtfsi.c: Likewise.
9609 * soft-fp/fixtfti.c: Likewise.
9610 * soft-fp/fixunsdfdi.c: Likewise.
9611 * soft-fp/fixunsdfsi.c: Likewise.
9612 * soft-fp/fixunsdfti.c: Likewise.
9613 * soft-fp/fixunssfdi.c: Likewise.
9614 * soft-fp/fixunssfsi.c: Likewise.
9615 * soft-fp/fixunssfti.c: Likewise.
9616 * soft-fp/fixunstfdi.c: Likewise.
9617 * soft-fp/fixunstfsi.c: Likewise.
9618 * soft-fp/fixunstfti.c: Likewise.
9619 * soft-fp/floatdidf.c: Likewise.
9620 * soft-fp/floatdisf.c: Likewise.
9621 * soft-fp/floatditf.c: Likewise.
9622 * soft-fp/floatsidf.c: Likewise.
9623 * soft-fp/floatsisf.c: Likewise.
9624 * soft-fp/floatsitf.c: Likewise.
9625 * soft-fp/floattidf.c: Likewise.
9626 * soft-fp/floattisf.c: Likewise.
9627 * soft-fp/floattitf.c: Likewise.
9628 * soft-fp/floatundidf.c: Likewise.
9629 * soft-fp/floatundisf.c: Likewise.
9630 * soft-fp/floatunsidf.c: Likewise.
9631 * soft-fp/floatunsisf.c: Likewise.
9632 * soft-fp/floatuntidf.c: Likewise.
9633 * soft-fp/floatuntisf.c: Likewise.
9634 * soft-fp/floatuntitf.c: Likewise.
9635 * soft-fp/fmadf4.c: Likewise.
9636 * soft-fp/fmasf4.c: Likewise.
9637 * soft-fp/fmatf4.c: Likewise.
9638 * soft-fp/gedf2.c: Likewise.
9639 * soft-fp/gesf2.c: Likewise.
9640 * soft-fp/getf2.c: Likewise.
9641 * soft-fp/ledf2.c: Likewise.
9642 * soft-fp/lesf2.c: Likewise.
9643 * soft-fp/letf2.c: Likewise.
9644 * soft-fp/muldf3.c: Likewise.
9645 * soft-fp/mulsf3.c: Likewise.
9646 * soft-fp/multf3.c: Likewise.
9647 * soft-fp/negdf2.c: Likewise.
9648 * soft-fp/negsf2.c: Likewise.
9649 * soft-fp/negtf2.c: Likewise.
9650 * soft-fp/op-1.h: Likewise.
9651 * soft-fp/op-2.h: Likewise.
9652 * soft-fp/op-4.h: Likewise.
9653 * soft-fp/op-8.h: Likewise.
9654 * soft-fp/op-common.h: Likewise.
9655 * soft-fp/quad.h: Likewise.
9656 * soft-fp/single.h: Likewise.
9657 * soft-fp/soft-fp.h: Likewise.
9658 * soft-fp/sqrtdf2.c: Likewise.
9659 * soft-fp/sqrtsf2.c: Likewise.
9660 * soft-fp/sqrttf2.c: Likewise.
9661 * soft-fp/subdf3.c: Likewise.
9662 * soft-fp/subsf3.c: Likewise.
9663 * soft-fp/subtf3.c: Likewise.
9664 * soft-fp/truncdfsf2.c: Likewise.
9665 * soft-fp/trunctfdf2.c: Likewise.
9666 * soft-fp/trunctfsf2.c: Likewise.
9667 * soft-fp/trunctfxf2.c: Likewise.
9668 * soft-fp/unorddf2.c: Likewise.
9669 * soft-fp/unordsf2.c: Likewise.
9670 * soft-fp/unordtf2.c: Likewise.
9671
17c48a60
OB
96722013-10-14 Ondřej Bílka <neleai@seznam.cz>
9673
9674 [BZ #15672]
9675 * misc/error.c (error_tail): Fix possible buffer overflow.
9676
cabba934
OB
96772013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9678
9679 [BZ #13028]
9680 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9681 address.
9682
94bf958a
PM
96832013-10-14 P. J. McDermott <pj@pehjota.net>
9684
9685 [BZ #832]
9686 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9687 testing pipefail option.
9688
71b4dea7
JM
96892013-10-12 Joseph Myers <joseph@codesourcery.com>
9690
9691 * soft-fp/double.h: Indent preprocessor directives inside #if.
9692 * soft-fp/extended.h: Likewise.
9693 * soft-fp/op-2.h: Likewise.
9694 * soft-fp/op-4.h: Likewise.
9695 * soft-fp/op-common.h: Likewise.
9696 * soft-fp/quad.h: Likewise.
9697 * soft-fp/single.h: Likewise.
9698 * soft-fp/soft-fp.h: Likewise.
9699
55602758
YC
97002013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9701
9702 * iconv/iconv_prog.c: Fix typos.
9703 * stdio-common/psiginfo-data.h: Likewise.
9704
9cd83302
RT
97052013-10-12 Reuben Thomas <rrt@sc3d.org>
9706
9707 [BZ #15764]
9708 * locale/setlocale.c: Fix typo.
9709
99fd9f47
JM
97102013-10-12 Joseph Myers <joseph@codesourcery.com>
9711
b7ea74f0
JM
9712 [BZ #16036]
9713 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9714 signaling NaN arguments.
9715 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9716 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9717
8a509447
JM
9718 [BZ #14910]
9719 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9720 unordered operands.
9721 * soft-fp/gesf2.c (__gesf2): Likewise.
9722 * soft-fp/getf2.c (__getf2): Likewise.
9723 * soft-fp/ledf2.c (__ledf2): Likewise.
9724 * soft-fp/lesf2.c (__lesf2): Likewise.
9725 * soft-fp/letf2.c (__letf2): Likewise.
9726
98998e9f
JM
9727 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9728 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9729 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9730 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9731 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9732 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9733 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9734 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9735 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9736 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9737 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9738 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9739 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9740 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9741 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9742 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9743 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9744 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9745 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9746 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9747 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9748 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9749 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9750 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9751 * soft-fp/floattidf.c (__floattidf): Likewise.
9752 * soft-fp/floattisf.c (__floattisf): Likewise.
9753 * soft-fp/floattitf.c (__floattitf): Likewise.
9754 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9755 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9756 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9757 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9758 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9759 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9760 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9761 * soft-fp/gesf2.c (__gesf2): Likewise.
9762 * soft-fp/getf2.c (__getf2): Likewise.
9763 * soft-fp/ledf2.c (__ledf2): Likewise.
9764 * soft-fp/lesf2.c (__lesf2): Likewise.
9765 * soft-fp/letf2.c (__letf2): Likewise.
9766
8edc4a11
JM
9767 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9768 Undefine and redefine.
9769 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9770 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9771 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9772 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9773 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9774 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9775 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9776 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9777 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9778 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9779 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9780 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9781 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9782 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9783 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9784
8399acaf
JM
9785 [BZ #16032]
9786 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9787 without decrementing exponent if mantissa >= that for the
9788 denominator, not >.
9789 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9790 denominator, not >. Decrement exponent in < case instead of
9791 incrementing in >= case.
9792 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9793 without decrementing exponent if mantissa >= that for the
9794 denominator, not >.
9795
99fd9f47
JM
9796 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9797 computing saturated result for unsigned overflow.
9798
10e1cf6b
SP
97992013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9800 Jeff Law <law@redhat.com>
9801
9802 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9803 (atan2Mp): Add systemtap probe marker.
9804 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9805 (__ieee754_log): Add systemtap probe marker.
9806 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9807 (atanMp): Add systemtap probe marker.
9808 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9809 (tanMp): Add systemtap probe marker.
9810 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9811 (__slowexp): Add systemtap probe marker.
9812 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9813 (__slowpow): Add systemtap probe marker.
9814 * manual/probes.texi: Document probes.
9815
3d110c7c
EB
98162013-10-11 Eric Biggers <ebiggers3@gmail.com>
9817
9818 [BZ #15362]
9819 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9820 written.
9821 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9822 written.
9823 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9824 written to buffer but not flushed.
9825 * libio/iofwrite_u.c: Likewise.
9826 * libio/iopadn.c: Return bytes returned even if EOF was
9827 encountered.
9828 * libio/iowpadn.c: Likewise.
9829 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9830 if _IO_padn does not write the whole buffer.
9831 [!COMPILE_WPRINTF] (PAD): Likewise.
9832
75b4202a
DM
98332013-10-10 David S. Miller <davem@davemloft.net>
9834
9835 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9836 directory block.
9837
6c6352e6
JM
98382013-10-10 Joseph Myers <joseph@codesourcery.com>
9839
33b853c3
JM
9840 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9841 instead of FSF address.
9842 * soft-fp/fixdfti.c: Likewise.
9843 * soft-fp/fixsfti.c: Likewise.
9844 * soft-fp/fixtfti.c: Likewise.
9845 * soft-fp/fixunsdfti.c: Likewise.
9846 * soft-fp/fixunssfti.c: Likewise.
9847 * soft-fp/fixunstfti.c: Likewise.
9848 * soft-fp/floattidf.c: Likewise.
9849 * soft-fp/floattisf.c: Likewise.
9850 * soft-fp/floattitf.c: Likewise.
9851 * soft-fp/floatuntidf.c: Likewise.
9852 * soft-fp/floatuntisf.c: Likewise.
9853 * soft-fp/floatuntitf.c: Likewise.
9854 * soft-fp/trunctfxf2.c: Likewise.
9855
6c6352e6
JM
9856 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9857 * soft-fp/fixdfti.c: Likewise.
9858 * soft-fp/fixsfti.c: Likewise.
9859 * soft-fp/fixtfti.c: Likewise.
9860 * soft-fp/fixunsdfti.c: Likewise.
9861 * soft-fp/fixunssfti.c: Likewise.
9862 * soft-fp/fixunstfti.c: Likewise.
9863 * soft-fp/floattidf.c: Likewise.
9864 * soft-fp/floattisf.c: Likewise.
9865 * soft-fp/floattitf.c: Likewise.
9866 * soft-fp/floatuntidf.c: Likewise.
9867 * soft-fp/floatuntisf.c: Likewise.
9868 * soft-fp/floatuntitf.c: Likewise.
9869 * soft-fp/trunctfxf2.c: Likewise.
9870
3bf78b71
DM
98712013-10-10 David S. Miller <davem@davemloft.net>
9872
9873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9874
6f10289e
JM
98752013-10-10 Joseph Myers <joseph@codsourcery.com>
9876
bd878fc0
JM
9877 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9878 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9879 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9880 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9881 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9882 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9883 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9884
6f10289e
JM
9885 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9886 for NaNs before doing comparisons on argument.
9887 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9888 Likewise.
9889
321e2684
WN
98902013-10-10 Will Newton <will.newton@linaro.org>
9891
9892 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9893 passed to _int_memalign does not overflow.
9894
40fefba1
TR
98952013-10-10 Torvald Riegel <triegel@redhat.com>
9896
9897 * scripts/bench.pl: Add include-sources directive.
9898 * benchtests/README: Update documentation.
9899
2ae21ed2
JM
99002013-10-10 Joseph Myers <joseph@codesourcery.com>
9901
dcc2dd3f
JM
9902 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9903 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9904 instead of FP_INIT_ROUNDMODE.
9905 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9906 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9907
2ae21ed2
JM
9908 [BZ #16034]
9909 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9910 copy class of input value.
9911 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9912 not handle exceptions.
9913 * soft-fp/negsf2.c (__negsf2): Likewise.
9914 * soft-fp/negtf2.c (__negtf2): Likewise.
9915 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9916
cb8f9562
JM
99172013-10-09 Joseph Myers <joseph@codesourcery.com>
9918
9919 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9920 semicolon. From Linux kernel.
9921
5b60c59d
AB
99222013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9923
9924 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9925
b86835ca
YC
99262013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9927
9928 [BZ #156]
9929 * manual/socket.texi: Added statement about buffer
9930 for gethostbyname2_r.
9931
e7044ea7
OB
99322013-10-08 Ondřej Bílka <neleai@seznam.cz>
9933
9934 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9935 Use .p2align directive instead, throughout.
9936 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9937 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9938 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9939 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9940 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9941 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9942 * sysdeps/x86_64/strchr.S: Likewise.
9943 * sysdeps/x86_64/strrchr.S: Likewise.
9944
09544cbc
SP
99452013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9946
88576635
SP
9947 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9948
e7b2d1dd
SP
9949 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9950
09544cbc
SP
9951 * sysdeps/generic/math_private.h (__mpsin1): Remove
9952 declaration.
9953 (__mpcos1): Likewise.
9954 (__mpsin): New argument __range_reduce.
9955 (__mpcos): Likewise.
9956 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9957 (slow): Use __mpsin and __mpcos.
9958 (slow1): Likewise.
9959 (slow2): Likewise.
9960 (sloww): Likewise.
9961 (sloww1): Likewise.
9962 (sloww2): Likewise.
9963 (bsloww): Likewise.
9964 (bsloww1): Likewise.
9965 (bsloww2): Likewise.
9966 (cslow2): Likewise.
9967 (csloww): Likewise.
9968 (csloww1): Likewise.
9969 (csloww2): Likewise.
9970 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9971 range_reduce. Merge in __mpsin1.
9972 (__mpcos): Likewise.
9973 (__mpsin1): Remove.
9974 (__mpcos1): Likewise.
9975
7602d070
JM
99762013-10-07 Joseph Myers <joseph@codesourcery.com>
9977
9978 * locale/loadlocale.c (_nl_intern_locale_data): Use
9979 LOCFILE_ALIGNED_P.
9980 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9981 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9982 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9983 obstack data is appropriately aligned.
9984 (obstack_int32_grow_fast): Likewise.
9985 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9986 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9987 (add_locale_uint32_array): Likewise.
9988
a357259b
SP
99892013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9990
9991 * benchtests/Makefile: Remove ARGLIST and RET variables.
9992 ($(objpfx)bench-%.c): Pass only function name to the script.
9993 * benchtests/README: Update documentation.
9994 * benchtests/acos-inputs: Add new directives.
9995 * benchtests/acosh-inputs: Likewise.
9996 * benchtests/asin-inputs: Likewise.
9997 * benchtests/asinh-inputs: Likewise.
9998 * benchtests/atan-inputs: Likewise.
9999 * benchtests/atanh-inputs: Likewise.
10000 * benchtests/cos-inputs: Likewise.
10001 * benchtests/cosh-inputs: Likewise.
10002 * benchtests/exp-inputs: Likewise.
10003 * benchtests/log-inputs: Likewise.
10004 * benchtests/pow-inputs: Likewise.
10005 * benchtests/rint-inputs: Likewise.
10006 * benchtests/sin-inputs: Likewise.
10007 * benchtests/sinh-inputs: Likewise.
10008 * benchtests/tan-inputs: Likewise.
10009 * benchtests/tanh-inputs: Likewise.
10010 * scripts/bench.pl: Add support for new directives.
10011
9ec1b13d
AM
100122013-10-07 Alan Modra <amodra@gmail.com>
10013
10014 * README: Fix careless merge.
10015
8b7d57cd
AM
100162013-10-05 Alan Modra <amodra@gmail.com>
10017
10018 * NEWS: Mention powerpc64le support and bugs fixed.
10019 * README: Both big-endian and little-endian powerpc64 supported.
10020
7b7bab13
ST
100212013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10022
57f41c40
AS
10023 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10024 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10025 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10026 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10027
d39baad1
RA
100282013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10029
10030 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10031 match prototype.
10032
cd78f7e7
JM
100332013-10-04 Joseph Myers <joseph@codesourcery.com>
10034
29d73d86
JM
10035 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10036 Move -mhard-float appending from
10037 ports/sysdeps/powerpc/powerpc32/Makefile.
10038 [$(with-fp) = yes] (ASFLAGS): Likewise.
10039 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10040 * sysdeps/powerpc/nofpu: Move directory from
10041 ports/sysdeps/powerpc/nofpu.
10042 * sysdeps/powerpc/soft-fp: Move directory from
10043 ports/sysdeps/powerpc/soft-fp.
10044 * sysdeps/powerpc/powerpc32/405: Move directory from
10045 ports/sysdeps/powerpc/powerpc32/405.
10046 * sysdeps/powerpc/powerpc32/440: Move directory from
10047 ports/sysdeps/powerpc/powerpc32/440.
10048 * sysdeps/powerpc/powerpc32/464: Move directory from
10049 ports/sysdeps/powerpc/powerpc32/464.
10050 * sysdeps/powerpc/powerpc32/476: Move directory from
10051 ports/sysdeps/powerpc/powerpc32/476.
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10053 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10055 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10057 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10059 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10061 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10062 * README: Update for powerpc-*-linux-gnu software floating point
10063 support in libc.
10064
e246b347
JM
10065 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10066 case to powerpc/powerpc32*.
10067 * sysdeps/unix/sysv/linux/configure: Regenerated.
10068
89c2003e
JM
10069 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10070 (_FPU_MASK_OM): Define as 0x04.
10071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10073 0x00c10080.
10074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10075 0x0000003c.
10076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10077
cd78f7e7
JM
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10079 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10080 getcontext_e500.
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10082 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10083 setcontext_e500.
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10085 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10086 and setcontext_e500.
10087
c755294d
CL
100882013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10089
10090 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10091
e16d221c
SP
100922013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10093
10094 * manual/threads.texi (Default Thread Attributes): Fix typo.
10095
215c7d43
WN
100962013-10-04 Will Newton <will.newton@linaro.org>
10097
10098 * malloc/Makefile: Add tst-memalign.
10099 * malloc/tst-memalign.c: New file.
10100
27d0461b
WN
10101 * malloc/tst-posix_memalign.c: Add comments.
10102 (do_test): Add comments and call free on all potentially
10103 allocated pointers. Add space after cast.
10104
1bc92709
WN
10105 * malloc/tst-pvalloc.c: Add comments.
10106 (do_test): Add comments and call free on all potentially
10107 allocated pointers. Remove duplicate check for NULL pointer.
10108 Add space after cast.
10109
66a9be9d
WN
10110 * malloc/tst-valloc.c: Add comments.
10111 (do_test): Add comments and call free on all potentially
10112 allocated pointers. Remove duplicate check for NULL pointer.
10113 Add space after cast.
10114
4cb81307
AM
101152013-10-04 Alan Modra <amodra@gmail.com>
10116
10117 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10118 Use stdint types in rather than __attribute__((mode())).
10119 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10120
f8e3e9f3
AM
101212013-10-04 Alan Modra <amodra@gmail.com>
10122
10123 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10124 Correct handling of unaligned relocs for little-endian.
10125 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10126
8f9ebb08
AM
101272013-10-04 Alan Modra <amodra@gmail.com>
10128
10129 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10130 * configure: Regenerate.
10131 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10132 * shlib-versions: Likewise.
10133
0edf96c2
AM
101342013-10-04 Alan Modra <amodra@gmail.com>
10135
10136 * string/tester.c (test_memrchr): Increment reported test cycle.
10137
e0f7a380
AM
101382013-10-04 Alan Modra <amodra@gmail.com>
10139
10140 * string/test-memcpy.c (do_one_test): When reporting errors, print
10141 string address and don't overrun end of string.
10142
466b0393
AM
101432013-10-04 Alan Modra <amodra@gmail.com>
10144
10145 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10146 insrdi. Make better use of reg selection to speed exit slightly.
10147 Schedule entry path a little better. Remove useless "are we done"
10148 checks on entry to main loop. Handle wrapping around zero address.
10149 Correct main loop count. Handle single left-over word from main
10150 loop inline rather than by using loop_small. Remove extra word
10151 case in loop_small caused by wrong loop count. Add little-endian
10152 support.
10153 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10154 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10155 cache hint.
10156 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10157 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10158 support. Avoid rlwimi.
10159 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10160
3be87c77
AM
101612013-10-04 Alan Modra <amodra@gmail.com>
10162
10163 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 10164 insrdi. Formatting.
3be87c77
AM
10165 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10166 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10167 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10168 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10169 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10170 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10171
759cfef3
AM
101722013-10-04 Alan Modra <amodra@gmail.com>
10173
10174 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10175 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10176 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10177 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10178 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10179 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10180 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10181 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10182 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10183 use of regs. Use power7 mtocrf. Tidy function tails.
10184
fe6e95d7
AM
101852013-10-04 Alan Modra <amodra@gmail.com>
10186
10187 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10188 Formatting. Consistently use rXXX register defines or rN defines.
10189 Use early exit labels that avoid restoring unused non-volatile regs.
10190 Make cr field use more consistent with rWORDn compares. Rename
10191 regs used as shift registers for unaligned loop, using rN defines
10192 for short lifetime/multiple use regs.
10193 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10194 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10195 addi 1,1,64 to pop stack frame. Simplify return value code.
10196 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10197
664318c3
AM
101982013-10-04 Alan Modra <amodra@gmail.com>
10199
10200 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10201 support. Correct typos, formatting. Optimize tail. Use insrdi
10202 rather than rlwimi.
10203 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10204 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10205 little-endian support. Correct typos.
10206 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10207 rather than rlwimi.
10208 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10209 in loop and entry code to keep "and." results.
10210 (strchr): Add little-endian support. Comment. Move cntlzd
10211 earlier in tail.
10212 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10213
43b84013
AM
102142013-10-04 Alan Modra <amodra@gmail.com>
10215
10216 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10217 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10218 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10219 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10220
8a7413f9
AM
102212013-10-04 Alan Modra <amodra@gmail.com>
10222
10223 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10224 (rTMP): Define as r11.
10225 (strcmp): Add little-endian support. Optimise tail.
10226 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10227 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10228 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10229 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10230 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10231 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10232 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10233
33ee81de
AM
102342013-10-04 Alan Modra <amodra@gmail.com>
10235
10236 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10237 little-endian support. Remove unnecessary "are we done" tests.
10238 Handle "s" wrapping around zero and extremely large "size".
10239 Correct main loop count. Handle single left-over word from main
10240 loop inline rather than by using small_loop. Correct comments.
10241 Delete "zero" tail, use "end_max" instead.
10242 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10243
db9b4570
AM
102442013-10-04 Alan Modra <amodra@gmail.com>
10245
10246 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10247 support. Don't branch over align.
10248 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10249 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10250 support. Rearrange tmp reg use to suit. Comment.
10251 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10252
f7c399cf
AM
102532013-10-04 Alan Modra <amodra@gmail.com>
10254
10255 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10256
0b2c2ace
AM
102572013-10-04 Alan Modra <amodra@gmail.com>
10258
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10260 conditional form of branch and link when obtaining pc.
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10262
02f04a6c
AM
102632013-10-04 Alan Modra <amodra@gmail.com>
10264
10265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10266 HIWORD/LOWORD.
10267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10269
9b874b2f
AM
102702013-10-04 Alan Modra <amodra@gmail.com>
10271
10272 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10273 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10274 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10275 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10276 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10277 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10278 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10279 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10280 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10281 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10282
be1e5d31
AB
102832013-10-04 Anton Blanchard <anton@au1.ibm.com>
10284 Alistair Popple <alistair@ozlabs.au.ibm.com>
10285 Alan Modra <amodra@gmail.com>
10286
10287 [BZ #15723]
10288 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10289 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10290 _dl_hwcap access for little-endian.
10291 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10292 destroy vmx regs when saving unaligned.
10293 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10294 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10295 destroy vmx regs when saving unaligned.
10296
fef13a78
AM
102972013-10-04 Alan Modra <amodra@gmail.com>
10298
10299 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10300 Don't use a union to pack hi/low value.
10301
76a66d51
AB
103022013-10-04 Anton Blanchard <anton@au1.ibm.com>
10303
10304 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10305 for little-endian.
10306 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10307 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10308 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10309 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10310 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10311
6a31fe7f
AM
103122013-10-04 Alan Modra <amodra@gmail.com>
10313
10314 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10315 constants to usual value for .cst8 section, and remove redundant
10316 high address load.
10317 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10318 constant for 0x1p52. Load little-endian words of double from
10319 correct stack offsets.
10320
7b88401f
AM
103212013-10-04 Alan Modra <amodra@gmail.com>
10322
10323 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10324 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10325 words of double from correct stack offsets.
10326 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10327 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10328 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10329 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10330 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10331 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10332 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10333 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10334 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10335 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10336 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10337 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10338 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10339 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10340 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10341 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10342 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10343
9c008155
AM
103442013-10-04 Alan Modra <amodra@gmail.com>
10345
10346 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10347 64-bit int/double union.
10348 (_FPU_SETCW): Likewise.
10349 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10350 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10351
da13146d
AM
103522013-10-04 Alan Modra <amodra@gmail.com>
10353
10354 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10355 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10356
603e8410
AM
103572013-10-04 Alan Modra <amodra@gmail.com>
10358
10359 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10360 use vector int constants.
10361 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10362
4a28b3ca
AB
103632013-10-04 Anton Blanchard <anton@au1.ibm.com>
10364
10365 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10366 array with long long.
10367 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10368 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10369 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10370 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10371 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10372 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10373 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10374 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10375 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10376 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10377 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10378 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10379 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10380
2ca85d2b
AB
103812013-10-04 Anton Blanchard <anton@au1.ibm.com>
10382
10383 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10384 (__signbit): Likewise. Correct for little-endian.
10385 (__signbitl): Call __signbit.
10386 (lrint): Correct for little-endian.
10387 (lrintf): Call lrint.
10388
62a728ae
AM
103892013-10-04 Alan Modra <amodra@gmail.com>
10390
10391 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10392 union 32-bit int array member with 64-bit int array.
10393 (t515, tm256): Double rather than long double.
10394 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10395
32c301df
AM
103962013-10-04 Alan Modra <amodra@gmail.com>
10397
10398 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10399 Delete.
10400 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10401 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10402 version of math_ldbl.h.
10403
650ef4bd
AM
104042013-10-04 Alan Modra <amodra@gmail.com>
10405
10406 [BZ #15734], [BZ #15735]
10407 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10408 all uses of ieee875 long double macros and unions. Simplify test
10409 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10410 ldbl_extract_mantissa value for ix,iy exponents. Properly
10411 normalize after ldbl_extract_mantissa, and don't add hidden bit
10412 already handled. Don't treat low word of ieee854 mantissa like
10413 low word of IBM long double and mask off bit when testing for
10414 zero.
10415 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10416 all uses of ieee875 long double macros and unions. Simplify tests
10417 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10418 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10419 two1022, instead use their values. Recognise that tests for large
10420 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10421 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10422 Rewrite all uses of ieee875 long double macros and unions. Simplify
10423 test for 0.0L and nan. Correct negation.
10424 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10425 ieee875 long double macros and unions. Correct output for large
10426 magnitude x. Correct absolute value calculation.
10427 (__erfcl): Likewise.
10428 * math/libm-test.inc: Add tests for errors discovered in IBM long
10429 double versions of fmodl, remainderl, erfl and erfcl.
10430
765714ca
AM
104312013-10-04 Alan Modra <amodra@gmail.com>
10432
10433 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10434 all uses of ieee854 long double macros and unions. Simplify tests
10435 for long doubles that are fully specified by the high double.
10436 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10437 Likewise.
10438 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10439 Remove dead code too.
10440 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10441 (__ieee754_ynl): Likewise.
10442 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10443 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10444 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10445 Remove dead code too.
10446 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10447 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10448 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10449 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10450 Simplify.
10451 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10452 Simplify.
10453 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10454 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10455 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10456 Comment on variable precision.
10457 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10458 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10459 Likewise.
10460 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10461 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10462 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10463 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10464 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10465
4ebd120c
AM
104662013-10-04 Alan Modra <amodra@gmail.com>
10467
10468 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10469 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10470 all uses of ieee854 long double macros and unions.
10471 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10472 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10473 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10474 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10475 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10476 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10477 Likewise.
10478 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10479 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10480 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10481 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10482 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10484 Simplify sign and nan test too.
10485 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10486 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10487 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10488 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10489 Likewise.
10490 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10491 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10492 Likewise.
10493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10494 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10495 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10496 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10497 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10499
1b6adf88
AM
105002013-10-04 Alan Modra <amodra@gmail.com>
10501
10502 * stdio-common/printf_size.c (__printf_size): Don't use
10503 union ieee854_long_double in fpnum union.
10504 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10505 signbit macro to retrieve sign from long double.
10506 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10507 retrieve sign from long double.
10508 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10509 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10510 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10511 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10512 * math/test-misc.c (main): Don't use union ieee854_long_double.
10513
4cf69995
AM
105142013-10-04 Alan Modra <amodra@gmail.com>
10515
10516 [BZ #15680]
10517 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10518 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10519 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10520 calculation. Remove unnecessary test for denormal exponent.
10521 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10522 Correct handling of denormals. Avoid undefined shift behaviour.
10523 Correct normalisation of low mantissa when low double is denormal.
10524 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10525 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10526 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10527 Correct normalisation of low mantissa. Test for overflow of high
10528 mantissa and normalise.
10529 (ldbl_nearbyint): Use more readable constant for two52.
10530 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10531 (__mpn_construct_long_double): Fix test for overflow of high
10532 mantissa and correct normalisation. Avoid undefined shift.
10533
9605ca6c
AM
105342013-10-04 Alan Modra <amodra@gmail.com>
10535
10536 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10537 (union ibm_extended_long_double): Define as an array of ieee754_double.
10538 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10539 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10540 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10541 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10542 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10543 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10544 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10545 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10547 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10549
975569d0
JM
105502013-10-03 Joseph Myers <joseph@codesourcery.com>
10551
d3d23756
JM
10552 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10553 page size instead of calling getpagesize.
10554
975569d0
JM
10555 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10556 (LOCFILE_ALIGN_MASK): Likewise.
10557 (LOCFILE_ALIGN_UP): Likewise.
10558 (LOCFILE_ALIGNED_P): Likewise.
10559 * locale/programs/ld-collate.c (collate_output): Use the new
10560 macros instead of __alignof__ (int32_t).
10561 * locale/weight.h (findidx): Likewise.
10562
b1fe1f2b
OB
105632013-10-03 Ondřej Bílka <neleai@seznam.cz>
10564
10565 [BZ #431]
10566 * manual/string.texi: Fix strncat and wcsncat.
10567
5f855e35
BM
105682013-10-03 Brooks Moses <bmoses@google.com>
10569
10570 [BZ #15915]
10571 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10572 * Makerules: ...here, and adjust associated comments.
10573
3cef6009
WN
105742013-10-02 Will Newton <will.newton@linaro.org>
10575
10576 * malloc/Makefile: Add tst-pvalloc.
10577 * malloc/tst-pvalloc.c: New file.
10578
7815420b
WN
105792013-10-02 Will Newton <will.newton@linaro.org>
10580
10581 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10582 improve test coverage.
10583
4868b204
WN
105842013-10-02 Will Newton <will.newton@linaro.org>
10585
10586 * malloc/Makefile: Add tst-posix_memalign.
10587 * malloc/tst-posix_memalign.c: New file.
10588
29c793b3
EB
105892013-10-01 Eric Blake <eblake@redhat.com>
10590
10591 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10592 Use __THROWNL rather than __THROW on static functions.
10593
fd967522
PM
105942013-09-30 Petr Machata <pmachata@redhat.com>
10595
10596 * elf/elf.h (R_AARCH64_ABS16): New macro.
10597 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10598 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10599 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10600 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10601 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10602 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10603 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10604 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10605 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10606 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10607 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10608 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10609 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10610 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10611 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10612 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10613 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10614 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10615 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10616 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10617 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10618 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10619 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10620 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10621 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10622 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10623 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10624 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10625 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10626 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10627 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10628 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10629 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10630 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10631 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10632 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10633 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10634 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10635 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10636 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10637 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10638 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10639 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10640 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10641 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10642 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10643 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10644 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10645 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10646 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10647 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10648 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10649 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10650 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10651 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10652 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10653 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10654 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10655 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10656 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10657 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10658 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10659 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10660 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10661 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10662 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10663 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10664 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10665 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10666 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10667 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10668 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10669 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10670 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10671 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10672 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10673 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10674 (R_AARCH64_TLSDESC_LDR): Likewise.
10675 (R_AARCH64_TLSDESC_ADD): Likewise.
10676 (R_AARCH64_TLSDESC_CALL): Likewise.
10677
b2179107
AS
106782013-09-30 Andreas Schwab <schwab@suse.de>
10679
10680 [BZ #15048]
10681 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10682 the nss database lookup.
10683 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10685
47f28d0a
MF
106862013-09-28 Mike Frysinger <vapier@gentoo.org>
10687
10688 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10689
106902013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10691
10692 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10693 ${Bash-specific parameter/pattern/string} parameter expansion.
10694 * sysdeps/unix/make-syscalls.sh: Likewise.
10695
f4518a17
KK
106962013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10697
10698 * sysdeps/sh/stackguard-macros.h: New file.
10699
dc1a95c7
OB
107002013-09-26 Ondřej Bílka <neleai@seznam.cz>
10701
10702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10703 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10704 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10705 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10706 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10707 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10708
5ebbff8f
AZ
107092013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10710
10711 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10712 Fix thread ID register.
10713
4fd2cf9f
JM
107142013-09-25 Joseph Myers <joseph@codesourcery.com>
10715
10716 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10717 [POSIX || UNIX98]: Require rather than permitting all symbols from
10718 <time.h>.
10719 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10720 element of struct sched_param.
10721 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10722 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10723 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10724 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10725 constant.
10726
12c22bc4
OL
107272013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10728
10729 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10730 argument calculation.
10731
a03d8ea7
JM
107322013-09-24 Joseph Myers <joseph@codesourcery.com>
10733
10734 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10735 Expect macro.
10736 [POSIX] (pthread_attr_t): Do not require type.
10737 [POSIX] (pthread_cond_t): Likewise.
10738 [POSIX] (pthread_condattr_t): Likewise.
10739 [POSIX] (pthread_key_t): Likewise.
10740 [POSIX] (pthread_mutex_t): Likewise.
10741 [POSIX] (pthread_mutexattr_t): Likewise.
10742 [POSIX] (pthread_once_t): Likewise.
10743 [POSIX] (pthread_t): Likewise.
10744 [POSIX-based standards] (pthread_atfork): Expect function.
10745
6055173a
JM
107462013-09-24 Joseph Myers <joseph@codesourcery.com>
10747 Richard Sandiford <richard@codesourcery.com>
10748
10749 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10750 (swap_endianness_p): New extern variable.
10751 (set_big_endian): New inline function.
10752 (maybe_swap_uint32): Likewise.
10753 (maybe_swap_uint32_array): Likewise.
10754 (maybe_swap_uint32_obstack): Likewise.
10755 * locale/programs/locfile.c: Include <stdbool.h>.
10756 (swap_endianness_p): New variable.
10757 (add_locale_uint32): Call maybe_swap_uint32.
10758 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10759 (write_locale_data): Call maybe_swap_uint32_array.
10760 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10761 maybe_swap_uint32.
10762 (obstack_int32_grow_fast): Likewise.
10763 (output_weightwc): Call maybe_swap_uint32_obstack.
10764 (collate_output): Likewise.
10765 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10766 (OPT_LITTLE_ENDIAN): Likewise.
10767 (options): Add --little-endian and --big-endian options.
10768 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10769 * locale/programs/locarchive.c: Include "locfile.h".
10770 (GET): New macro.
10771 (SET): Likewise.
10772 (INC): Likewise.
10773 (create_archive): Use the new macros to access fields of
10774 structures directly mapped from or written to locale archives.
10775 (oldlocrecentcmp): Likewise.
10776 (enlarge_archive): Likewise.
10777 (insert_name): Likewise.
10778 (add_alias): Likewise.
10779 (add_locale): Likewise.
10780 (delete_locales_from_archive): Likewise.
10781 (show_archive_content): Likewise.
10782 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10783 locale data.
10784
39bf0bb4
RM
107852013-09-24 Roland McGrath <roland@hack.frob.com>
10786
10787 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10788 http://www.gnu.org/doc/freemanuals.texi.
10789 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10790
f02eed10
WN
107912013-09-24 Will Newton <will.newton@linaro.org>
10792
10793 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10794 macro.
10795
a3a6c312
JM
107962013-09-23 Joseph Myers <joseph@codesourcery.com>
10797
10798 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10799 unsigned char.
10800
107375ac
MR
108012013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10802
10803 * manual/threads.texi (POSIX Threads): Fix a typo.
10804
141f3a77
SP
108052013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10806
303e567a
SP
10807 [BZ #14547]
10808 * string/tst-strcoll-overflow.c: New test case.
10809 * string/Makefile (xtests): Add tst-strcoll-overflow.
10810 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10811 cache if string sizes may cause integer overflow.
10812
141f3a77
SP
10813 [BZ #14547]
10814 * string/strcoll_l.c (coll_seq): New members rule, idx,
10815 save_idx and back_us.
10816 (get_next_seq_nocache): New function.
10817 (do_compare_nocache): New function.
10818 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10819 when malloc fails.
10820
c61b4d41
CD
108212013-09-23 Carlos O'Donell <carlos@redhat.com>
10822
0b1f8e35
CD
10823 [BZ #15754]
10824 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10825 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10826 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10827
c61b4d41
CD
10828 [BZ #15754]
10829 * elf/Makefile (tests): Add tst-ptrguard1.
10830 (tests-static): Add tst-ptrguard1-static.
10831 (tst-ptrguard1-ARGS): Define.
10832 (tst-ptrguard1-static-ARGS): Define.
10833 * elf/tst-ptrguard1.c: New file.
10834 * elf/tst-ptrguard1-static.c: New file.
10835 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10836 * sysdeps/i386/stackguard-macros.h: Likewise.
10837 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10838 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10839 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10840 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10841 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10842 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10843
108442013-09-23 Hector Marco <hecmargi@upv.es>
10845 Ismael Ripoll <iripoll@disca.upv.es>
10846 Carlos O'Donell <carlos@redhat.com>
10847
10848 [BZ #15754]
10849 * sysdeps/generic/stackguard-macros.h: Define
10850 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10851 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10852 Define __pointer_chk_guard_local.
10853 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10854 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10855
f5f4e7b4
VV
108562013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10857
10858 [BZ #15859]
10859 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10860
5bb43a43
AS
108612013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10862
10863 * include/string.h (__ffs): Declare as hidden.
10864 * string/ffs.c (__ffs): Define as hidden.
10865 * sysdeps/i386/ffs.c (__ffs): Likewise.
10866 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10867 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10868 * sysdeps/s390/ffs.c (__ffs): Likewise.
10869 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10870
3ea5be54
AO
108712013-09-20 Alexandre Oliva <aoliva@redhat.com>
10872
ffb89e53
AO
10873 * NEWS: Mention malloc probes.
10874
322dea08
AO
10875 * malloc/arena.c (new_heap): New memory_heap_new probe.
10876 (grow_heap): New memory_heap_more probe.
10877 (shrink_heap): New memory_heap_less probe.
10878 (heap_trim): New memory_heap_free probe.
10879 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10880 (systrim): New memory_sbrk_less probe.
10881 * manual/probes.texi: Document them.
10882
655673f3
AO
10883 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10884 * manual/probes.texi: Document it.
10885
35fed6f1
AO
10886 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10887 (__libc_realloc): Add memory_realloc_retry probe.
10888 (__libc_memalign): Add memory_memalign_retry probe.
10889 (__libc_valloc): Add memory_valloc_retry probe.
10890 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10891 (__libc_calloc): Add memory_calloc_retry probe.
10892 * manual/probes.texi: Document them.
10893
6999d38c
AO
10894 * malloc/arena.c (get_free_list): Add probe
10895 memory_arena_reuse_free_list.
10896 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10897 and memory_arena_reuse.
10898 (arena_get2) [!PER_THREAD]: Likewise.
10899 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10900 memory_arena_reuse_realloc.
10901 * manual/probes.texi: Document them.
10902
0653427f
AO
10903 * malloc/malloc.c (__libc_free): Add
10904 memory_mallopt_free_dyn_thresholds probe.
10905 (__libc_mallopt): Add multiple memory_mallopt probes.
10906 * manual/probes.texi: Document them.
10907
3ea5be54
AO
10908 * malloc/malloc.c: Include stap-probe.h.
10909 (__libc_mallopt): Add memory_mallopt probe.
10910 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10911 * manual/probes.texi: New.
10912 * manual/Makefile (chapters): Add probes.
10913 * manual/threads.texi: Set next node.
10914
e35696c3 109152013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10916
e35696c3
CL
10917 [BZ #15963, #13985]
10918 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10919 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10920 Add `Chinese' to `nan' entry name.
10921
4aafb73c
SP
109222013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10923
10924 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10925 (POLYNOMIAL): Likewise.
10926 (TAYLOR_SINCOS): Likewise.
10927 (TAYLOR_SLOW): Likewise.
10928 (__sin): Use TAYLOR_SINCOS.
10929 (__cos): Likewise.
10930 (slow): Use TAYLOR_SLOW.
10931 (sloww): Likewise.
10932 (bsloww): Likewise.
10933 (csloww): Likewise.
10934
d84f25c7
LD
109352013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10936
10937 * stdlib/strtod_l.c: Fix buffer overrun.
10938
5eea0404
SP
109392013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10940
7849ff93
SP
10941 * benchtests/Makefile (bench): Add sincos.
10942 * benchtests/bench-sincos.c: New file.
10943
cfa3c886
SP
10944 * math/libm-test.inc (cos_test_data): New test inputs.
10945 (sin_test_data): Likewise.
10946
b348e1e3
SP
10947 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10948 macro.
10949 (__sin): Use it.
10950 (__cos): Likewise.
10951 (slow1): Likewise.
10952 (slow2): Likewise.
10953 (sloww1): Likewise.
10954 (sloww2): Likewise.
10955 (bsloww1): Likewise.
10956 (bsloww2): Likewise.
10957 (cslow2): Likewise.
10958 (csloww1): Likewise.
10959 (csloww2): Likewise.
10960
6cce25f8
SP
10961 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10962 function.
10963 (__sin): Use it.
10964 (__cos): Likewise.
10965
5eea0404
SP
10966 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10967 gotos.
10968 (__cos): Likewise.
10969
9c21573c
MR
109702013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10971
10972 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10973 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10974 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10975 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10976 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10977 * elf/cache.c (print_entry): Handle the new cache flags.
10978
24d22e65
JM
109792013-09-18 Joseph Myers <joseph@codesourcery.com>
10980 Aldy Hernandez <aldyh@redhat.com>
10981
10982 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10983 Change condition to [_SOFT_FLOAT].
10984 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10985 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10986 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10987 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10988 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10990 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10993 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10994 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10995 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10996 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10998 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10999 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11000 declaration.
11001
d13ef066
JM
110022013-09-18 Joseph Myers <joseph@codesourcery.com>
11003
2e071de0
JM
11004 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11005 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11006 (__longjmp): Use LOAD_GP to load saved GPRs.
11007 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11008 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11009 (__sigsetjmp): Use SAVE_GP to save GPRs.
11010
d13ef066
JM
11011 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11012 Do not append -msoft-float.
11013 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11014
97a0650b
SP
110152013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11016
11017 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11018
11ca09e9
JM
110192013-09-17 Joseph Myers <joseph@codesourcery.com>
11020
11021 [BZ #15966]
11022 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11023 (_FPU_GETCW): Use initial "__" on variable and field names but not
11024 on macro parameter name.
11025 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11026 parentheses around reference to macro parameter.
11027
08ffcf34
RS
110282013-09-13 Richard Sandiford <richard@codesourcery.com>
11029
11030 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11031 prototype.
11032 (ctype_startup): Use uint32_t in cast and sizeof for
11033 ctype->charnames.
11034
ae7080d3
JL
110352013-09-11 Jia Liu <proljc@gmail.com>
11036
11037 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11038 __daddr_t_defined.
11039 [__FreeBSD__]: Likewise.
11040
5905e7b3
OB
110412013-09-11 Ondřej Bílka <neleai@seznam.cz>
11042
11043 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11044 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11045 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11046 (strchr): Remove __strchr_sse42 ifunc selection.
11047 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11048 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11049
b987c776
WN
110502013-09-11 Will Newton <will.newton@linaro.org>
11051
11052 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11053 parameter to RES. Remove hardcoded 1000 value.
11054 * benchtests/bench-skeleton.c (main): Pass RES parameter
11055 to TIMING_INIT and multiply result by 1000.
11056
ddf985af
AZ
110572013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11058
11059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11060
ffdd3181
AS
110612013-09-11 Andreas Schwab <schwab@suse.de>
11062
11063 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11064 if not defined.
11065 (O_TMPFILE) [__USE_GNU]: Define.
11066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11067 Define.
11068
b73ed247
WN
110692013-09-11 Will Newton <will.newton@linaro.org>
11070
11071 [BZ #15857]
11072 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11073 does not overflow.
11074
55e17aad
WN
110752013-09-11 Will Newton <will.newton@linaro.org>
11076
11077 [BZ #15856]
11078 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11079 does not overflow.
11080
1159a193
WN
110812013-09-11 Will Newton <will.newton@linaro.org>
11082
11083 [BZ #15855]
11084 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11085 does not overflow.
11086
5905e7b3 110872013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
11088
11089 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11090 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11091 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11092 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11093 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11094
cdfc721b
AM
110952013-09-10 Allan McRae <allan@archlinux.org>
11096
aa04af00
AM
11097 [BZ #15748]
11098 * manual/arith.texi (Parsing of Floats): Clarify
11099 cross-reference.
11100
cdfc721b
AM
11101 [BZ #15849]
11102 * manual/install.texi (Running make install): Mention
11103 --enable-pt-chown.
11104 * INSTALL: Regenerated.
11105
95e7cf29
MR
111062013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11107
11108 * csu/init-first.c (_init): Remove the !SHARED condition around
11109 FPU control word initialization.
11110 * elf/dl-support.c (_dl_fpu_control): New variable.
11111 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11112 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11113 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11114 * math/test-fpucw-static.c: New file.
11115 * math/test-fpucw-ieee.c: New file.
11116 * math/test-fpucw-ieee-static.c: New file.
11117 * math/Makefile (tests): Add `test-fpucw-ieee' and
11118 `$(tests-static)'.
11119 (tests-static): New variable.
11120 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11121 dependency to...
11122 [($(build-shared),yes)]
11123 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11124 ... this.
11125 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11126 New dependency.
11127
83e43bf0
AM
111282013-09-09 Allan McRae <allan@archlinux.org>
11129
a9f5ce09
AM
11130 [BZ #15939]
11131 * manual/string.texi (Collation Functions): Fix typo in
11132 strcoll example.
11133 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11134
34829bc2
AM
11135 [BZ #15893]
11136 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11137
3932737d
AM
11138 [BZ #15892]
11139 * libio/memstream.c (open_memstream): Fix memory leak.
11140 * libio/wmemstream.c (open_wmemstream): Likewise.
11141
83e43bf0
AM
11142 [BZ #15895]
11143 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11144
0c66b8e9
WN
111452013-09-09 Will Newton <will.newton@linaro.org>
11146
11147 * malloc/Makefile: Add tst-realloc to tests.
11148 * malloc/tst-realloc.c: New file.
11149
f6b00fd1
AM
111502013-09-09 Allan McRae <allan@archlinux.org>
11151
11152 [BZ #15844]
11153 * COPYING: Update from GNU website to fix FSF address.
11154 * COPYING.LIB: Likewise.
11155
eec55e16
DM
111562013-09-06 David S. Miller <davem@davemloft.net>
11157
11158 * po/zh_TW.po: Update Chinese (traditional) translation from
11159 translation project.
11160
1ecbb381
RS
111612013-09-06 Richard Sandiford <richard@codesourcery.com>
11162 Joseph Myers <joseph@codesourcery.com>
11163
11164 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11165 "localeinfo.h".
11166 (obstack_chunk_alloc): New macro.
11167 (obstack_chunk_free): Likewise.
11168 (record_offset): New function.
11169 (init_locale_data): Likewise.
11170 (align_locale_data): Likewise.
11171 (add_locale_empty): Likewise.
11172 (add_locale_raw_data): Likewise.
11173 (add_locale_raw_obstack): Likewise.
11174 (add_locale_string): Likewise.
11175 (add_locale_wstring): Likewise.
11176 (add_locale_uint32): Likewise.
11177 (add_locale_uint32_array): Likewise.
11178 (add_locale_char): Likewise.
11179 (start_locale_structure): Likewise.
11180 (end_locale_structure): Likewise.
11181 (start_locale_prelude): Likewise.
11182 (end_locale_prelude): Likewise.
11183 (write_locale_data): Take locale_file structure rather than an
11184 iovec.
11185 * locale/programs/locfile.h: Include "obstack.h".
11186 (struct locale_file): Change to store locale file contents instead
11187 of header.
11188 (init_locale_data): New prototype.
11189 (align_locale_data): Likewise.
11190 (add_locale_empty): Likewise.
11191 (add_locale_raw_data): Likewise.
11192 (add_locale_raw_obstack): Likewise.
11193 (add_locale_string): Likewise.
11194 (add_locale_wstring): Likewise.
11195 (add_locale_uint32): Likewise.
11196 (add_locale_uint32_array): Likewise.
11197 (add_locale_char): Likewise.
11198 (start_locale_structure): Likewise.
11199 (end_locale_structure): Likewise.
11200 (start_locale_prelude): Likewise.
11201 (end_locale_prelude): Likewise.
11202 (write_locale_data): Update prototype.
11203 * locale/programs/3level.h (struct TABLE): Remove result field.
11204 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11205 Use new locale_file interface.
11206 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11207 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11208 * locale/programs/ld-address.c (address_output): Use new
11209 locale_file interface.
11210 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11211 NO_ADD_LOCALE.
11212 (collate_finish): Don't call collseq_table_finalize.
11213 (collate_output): Use new locale_file interface.
11214 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11215 in file.
11216 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11217 (TABLE): Move defines earlier in file.
11218 (ELEMENT): Likewise.
11219 (DEFAULT): Likewise.
11220 (wctrans_table_add): Move macro and inline function earlier in
11221 file.
11222 (struct wctype_table): Move type earlier in file.
11223 (add_locale_wctype_table): New static prototype.
11224 (struct locale_ctype_t): Use logical types instead of struct iovec
11225 pointers for members.
11226 (ctype_output): Use new locale_file interface.
11227 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11228 new locale_file interface.
11229 (allocate_arrays): Update for use of new locale_file interface.
11230 * locale/programs/ld-identification.c (identification_output): Use
11231 new locale_file interface.
11232 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11233 * locale/programs/ld-messages.c (messages_output): Likewise.
11234 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11235 * locale/programs/ld-name.c (name_output): Likewise.
11236 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11237 * locale/programs/ld-paper.c (paper_output): Likewise.
11238 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11239 * locale/programs/ld-time.c (time_output): Likewise.
11240
e029e2e5
AZ
112412013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11242
11243 * benchtests/Makefile: Add memrchr benchmark.
11244 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11245 benchmark as memrchr.
11246 * benchtests/bench-memrchr-ifunc.c: New file.
11247 * benchtests/bench-memrchr.c: New file.
11248
bbf6e8e4
WN
112492013-09-06 Will Newton <will.newton@linaro.org>
11250
11251 * benchtests/Makefile (string-bench): Add memcpy.
11252
6c82a2f8
CD
112532013-09-05 Carlos O'Donell <carlos@redhat.com>
11254 Cong Wang <amwang@redhat.com>
11255
e732c5f0 11256 [BZ #15850]
6c82a2f8
CD
11257 * sysdeps/unix/sysv/linux/bits/in.h
11258 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11259 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11260 before __USE_KERNEL_IPV6_DEFS uses.
11261 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11262 IPPROTO_BEETPH.
11263 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11264 sockaddr_in6, or ipv6_mreq.
11265
5430fc65
AZ
112662013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11267
11268 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11269 memory access for final bytes in some large inputs.
11270 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11271
4660856c
AZ
112722013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11273
11274 * string/test-memrchr.c: New file.
11275 * string/test-memrchr-ifunc.c: New file.
11276 * string/Makefile: Add new memrchr testcase.
11277
bb8ea713
MF
112782013-09-05 Mike Frysinger <vapier@gentoo.org>
11279
11280 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11281 fanotify_init returns EPERM.
11282
b92a20b5
JM
112832013-09-04 Joseph Myers <joseph@codesourcery.com>
11284
11285 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11286 errors.
11287 (top level): Treat second token from macro or constant entries for
11288 allowed headers as allowed.
11289 * include/complex.h: Condition internal declarations on
11290 [!_ISOMAC].
11291 * include/fenv.h: Condition include of <stdbool.h> and internal
11292 declarations on [!_ISOMAC].
7447ccd9
CL
11293
112942013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11295
3e181dda 11296 [BZ #15923]
7447ccd9
CL
11297 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11298
3f2e46a4
JM
112992013-09-04 Joseph Myers <joseph@codesourcery.com>
11300
11301 * configure.in (--enable-versioning): Remove configure option.
11302 (libc_cv_asm_symver_directive): Remove configure test.
11303 (libc_cv_ld_version_script_option): Likewise.
11304 (VERSIONING): Remove variable and AC_SUBST.
11305 (DO_VERSIONING): Remove AC_DEFINE.
11306 * configure: Regenerated.
11307 * config.h.in (DO_VERSIONING): Remove macro.
11308 * Makerules [$(versioning) = yes]: Change conditionals to
11309 [$(build-shared) = yes].
11310 * config.make.in (versioning): Remove variable.
11311 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11312 [$(build-shared) = yes].
11313 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11314 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11315 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11316 [$(build-shared) = yes].
11317 * extra-lib.mk [$(versioning) = yes]: Likewise.
11318 * hurd/Makefile [$(versioning) = yes]: Likewise.
11319 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11320 [SHARED].
11321 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11322 [SHARED].
11323 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11324 [SHARED && !NO_HIDDEN].
11325 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11326 [SHARED].
11327 [SHARED && DO_VERSIONING]: Likewise..
11328 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11329 [$(build-shared) = yes].
11330 * manual/install.texi (--disable-versioning): Remove
11331 documentation.
11332 * INSTALL: Regenerated.
11333 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11334 to [SHARED].
11335 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11336 [$(build-shared) = yes].
11337 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11338 * sysdeps/i386/i686/multiarch/strstr-c.c
11339 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11340 [SHARED && !NO_HIDDEN].
11341 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11342 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11343 * sysdeps/powerpc/powerpc32/dl-machine.c
11344 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11345 * sysdeps/powerpc/powerpc32/sysdep.h
11346 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11347 to [SHARED && PIC && !NO_HIDDEN].
11348 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11349 conditional to [SHARED].
11350
44558701
WN
113512013-09-04 Will Newton <will.newton@linaro.org>
11352
11353 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11354 * benchtests/bench-string.h: Include bench-timing.h instead
11355 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11356 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11357 call to HP_TIMING_DIFF_INIT.
11358 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11359 instead of hp-timing.h macros.
11360 * benchtests/bench-memchr.c: Likewise.
11361 * benchtests/bench-memcmp.c: Likewise.
11362 * benchtests/bench-memcpy.c: Likewise.
11363 * benchtests/bench-memmem.c: Likewise.
11364 * benchtests/bench-memmove.c: Likewise.
11365 * benchtests/bench-memset.c: Likewise.
11366 * benchtests/bench-rawmemchr.c: Likewise.
11367 * benchtests/bench-strcasecmp.c: Likewise.
11368 * benchtests/bench-strcasestr.c: Likewise.
11369 * benchtests/bench-strcat.c: Likewise.
11370 * benchtests/bench-strchr.c: Likewise.
11371 * benchtests/bench-strcmp.c: Likewise.
11372 * benchtests/bench-strcpy.c: Likewise.
11373 * benchtests/bench-strcpy_chk.c: Likewise.
11374 * benchtests/bench-strlen.c: Likewise.
11375 * benchtests/bench-strncasecmp.c: Likewise.
11376 * benchtests/bench-strncat.c: Likewise.
11377 * benchtests/bench-strncmp.c: Likewise.
11378 * benchtests/bench-strncpy.c: Likewise.
11379 * benchtests/bench-strnlen.c: Likewise.
11380 * benchtests/bench-strpbrk.c: Likewise.
11381 * benchtests/bench-strrchr.c: Likewise.
11382 * benchtests/bench-strspn.c: Likewise.
11383 * benchtests/bench-strstr.c: Likewise.
11384
cae16d66
WN
113852013-09-04 Will Newton <will.newton@linaro.org>
11386
11387 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11388
ffa3cd7f
JM
113892013-09-03 Joseph Myers <joseph@codesourcery.com>
11390
11391 [BZ #15427]
11392 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11393 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11394 * math/libm-test.inc (lgamma_test_data): Add more tests.
11395 * sysdeps/i386/fpu/libm-test-ulps: Update.
11396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11397
8f02859f
OB
113982013-09-03 Ondřej Bílka <neleai@seznam.cz>
11399
11400 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11402 Add ifunc.
11403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11404 Add strcmp-sse2-unaligned
11405 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11406
18d43716
MF
114072013-09-02 Mike Frysinger <vapier@gentoo.org>
11408
11409 * Versions.def (libc): Add GLIBC_2.19.
11410
ac444012
MF
114112013-09-02 Mike Frysinger <vapier@gentoo.org>
11412
11413 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11414 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11415
b7835e32
JM
114162013-09-02 Joseph Myers <joseph@codesourcery.com>
11417
11418 [BZ #14155]
11419 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11420 intermediate calculations in recurrence.
11421 (__ieee754_ynf): Likewise.
11422 * math/libm-test.inc (jn_test_data): Do not allow spurious
11423 underflow exception. Add more tests.
11424 (yn_test_data): Add more tests.
11425 * sysdeps/i386/fpu/libm-test-ulps: Update.
11426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11427
8220f4f0
OB
114282013-09-02 Ondřej Bílka <neleai@seznam.cz>
11429
11430 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11431
f24a6d08
OB
114322013-08-30 Ondřej Bílka <neleai@seznam.cz>
11433
11434 * csu/init-first.c: Fix then/than typos.
11435 * locale/programs/ld-collate.c: Likewise.
11436 * locale/programs/linereader.h: Likewise.
11437 * manual/charset.texi: Likewise.
11438 * manual/filesys.texi: Likewise.
11439 * manual/stdio.texi: Likewise.
11440 * manual/string.texi: Likewise.
11441 * stdlib/fmtmsg.c: Likewise.
11442 * sysdeps/i386/stpncpy.S: Likewise.
11443 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11444 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11445 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11446 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11447
382466e0
OB
114482013-08-30 Ondřej Bílka <neleai@seznam.cz>
11449
11450 * elf/dl-open.c: Fix typos.
11451 * iconvdata/gbbig5.c: Likewise.
11452 * iconvdata/iso-2022-jp.c: Likewise.
11453 * iconv/gconv_int.h: Likewise.
11454 * iconv/loop.c: Likewise.
11455 * nis/rpcsvc/nis.h: Likewise.
11456 * resolv/ns_name.c: Likewise.
11457 * stdio-common/vfscanf.c: Likewise.
11458 * streams/stropts.h: Likewise.
11459 * sunrpc/rpc_thread.c: Likewise.
11460 * sysdeps/i386/strpbrk.S: Likewise.
11461 * sysdeps/ieee754/k_standard.c: Likewise.
11462 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11463 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11464 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11465 * sysdeps/mach/hurd/profil.c: Likewise.
11466 * sysdeps/s390/dl-procinfo.h: Likewise.
11467 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11468 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11469 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11470 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11471 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11472
0186c6e9
OB
114732013-08-30 Ondřej Bílka <neleai@seznam.cz>
11474
11475 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11477
d4e16af1
OB
114782013-08-29 Ondřej Bílka <neleai@seznam.cz>
11479
11480 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11481 aix specific files.
11482 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11483 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11484 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11485 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11486 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11487 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11488 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11489 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11490
88335980
TS
114912013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11492 Roland McGrath <roland@hack.frob.com>
11493
11494 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11495 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11496
ed479b02
ST
114972013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11498
11499 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11500 __executable_start symbol instead of _start.
11501
f1cc4c86
TS
115022013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11503
d821f07c
TS
11504 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11505 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11506 Move macros to...
11507 * sysdeps/gnu/ldsodefs.h: ... this new file.
11508
c54290cf
TS
11509 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11510 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11511 instead of ELFOSABI_LINUX.
11512
0007fc9b 11513 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11514 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11515 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11516 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11517 Likewise.
11518 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11519 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11521 Likewise.
11522 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11523 (ibm_extended_long_double): Add ieee_nan member.
11524 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11525 (do_test): New function.
11526
f1cc4c86
TS
11527 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11528 TEST_TRUNC.
11529 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11530 functions, renamed from truncdfsf_test, trunctfsf_test,
11531 trunctfdf_test.
11532 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11533 functions.
11534 (do_test): Run all these.
11535
6f65e668
OB
115362013-08-29 Ondřej Bílka <neleai@seznam.cz>
11537
11538 * argp/argp-help.c: Fix typos.
11539 * argp/argp-parse.c: Likewise.
11540 * debug/backtracesyms.c: Likewise.
11541 * elf/elf.h: Likewise.
11542 * malloc/malloc.c: Likewise.
11543 * nis/nis_print.c: Likewise.
11544 * resolv/res_comp.c: Likewise.
11545 * stdlib/stdlib.h: Likewise.
11546 * sunrpc/clnt_tcp.c: Likewise.
11547 * sunrpc/clnt_udp.c: Likewise.
11548 * sunrpc/clnt_unix.c: Likewise.
11549 * sysdeps/unix/bsd/ptsname.c: Likewise.
11550 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11551 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11553 Likewise.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11555 Likewise.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11557 Likewise.
6f65e668
OB
11558 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11559
3a309239
SP
115602013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11561
11562 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11564
3b813b29
MF
115652013-08-27 Mike Frysinger <vapier@gentoo.org>
11566
11567 [BZ #15897]
11568 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11569 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11570 ($(objpfx)bug-dl-leaf): New rule.
11571 ($(objpfx)bug-dl-leaf.so): Likewise.
11572 ($(objpfx)bug-dl-leaf.out): Likewise.
11573 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11574 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11575 * dlfcn/bug-dl-leaf.c: New test.
11576 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11577 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11578 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11579 (dlclose): Likewise.
11580 (dlmopen): Likewise.
11581
8cc3269f
RM
115822013-08-27 Roland McGrath <roland@hack.frob.com>
11583
7f9d0034
RM
11584 * include/netdb.h [!_ISOMAC]:
11585 Don't include <tls.h>.
11586 (h_errno, __libc_h_errno): Move declaration and macros out of
11587 [_LIBC_REENTRANT].
11588
fb431262
RM
11589 * include/resolv.h [_RESOLV_H_]:
11590 Don't include <tls.h>.
11591 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11592 * resolv/res_libc.c: Don't include <tls.h>.
11593 (_res): Use __attribute__ ((nocommon)) in place of
11594 __attribute__ ((section (".bss"))).
11595
bd81123a
RM
11596 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11597 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11598
c4e42566
RM
11599 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11600
f890a59b
RM
11601 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11602 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11603
11604 * resolv/res_mkquery.c: Include <sys/time.h>.
11605
5d1f0a09
RM
11606 * inet/ifreq.c: Moved to ...
11607 * sysdeps/unix/ifreq.c: ... here.
11608 * inet/ifreq.c: New file, true stub version.
11609
6fcf28b3
RM
11610 * socket/sa_len.c: New file.
11611 * socket/Makefile (aux): Add it.
11612 * sysdeps/unix/sysv/linux/Makefile
11613 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11614 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11615 and #include <socket/sa_len.c>.
11616 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11617 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11618
e041fb8b
RM
11619 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11620 * bits/socket.h: ... here.
11621
8cc3269f
RM
11622 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11623 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11624 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11625
5d228a43
AS
116262013-08-27 Andreas Schwab <schwab@suse.de>
11627
45b8accc
AS
11628 [BZ #15736]
11629 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11630 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11631 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11632 * string/test-strcasecmp.c (test_main): Run tests in several
11633 locales.
11634 * string/test-strncasecmp.c (test_main): Likewise.
11635
5d228a43
AS
11636 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11637 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11638 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11640 (__strncasecmp_ssse3) [PIC]: Likewise.
11641
59d112a4
RM
116422013-08-26 Roland McGrath <roland@hack.frob.com>
11643
53234cc3
RM
11644 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11645
59d112a4
RM
11646 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11647 instead of explicitly declaring xdecrypt.
11648 * nis/nss_nis/nis-publickey.c: Likewise.
11649
595aba70
SP
116502013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11651
11652 [BZ #15890]
11653 * nscd/aicache.c: Include res_hconf.h.
11654 (addhstaiX): Initialize res_hconf.
11655
ffabd393
AS
116562013-08-26 Andreas Schwab <schwab@suse.de>
11657
11658 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11659 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11660
e0a69f5c
SP
116612013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11662
11663 * nscd/aicache.c (addhstaiX): Fix indentation.
11664
8c12f01d
MF
116652013-08-25 Mike Frysinger <vapier@gentoo.org>
11666
11667 * configure.ac: Quote $build_pt_chown test.
11668 * configure: Regenerated.
11669
8fe89494
JM
116702013-08-23 Joseph Myers <joseph@codesourcery.com>
11671
11672 [BZ #15532]
11673 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11674 * math/s_cexpf.c (__cexpf): Likewise.
11675 * math/s_cexpl.c (__cexpl): Likewise.
11676 * math/libm-test.inc (cexp_test_data): Correct expected return
11677 value for NaN + i0. Add another test.
11678
75b181d6
DM
116792013-08-22 David S. Miller <davem@davemloft.net>
11680
11681 * po/ca.po: Update Catalan translation from translation project.
936241e4 11682 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11683
acd06bb1
JM
116842013-08-21 Joseph Myers <joseph@codesourcery.com>
11685
11686 [BZ #15797]
11687 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11688 is infinite, not alongside NaN test.
11689 * math/s_fdimf.c (__fdimf): Likewise.
11690 * math/s_fdiml.c (__fdiml): Likewise.
11691 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11692 errno is unchanged.
11693
c0c3f78a
OB
116942013-08-21 Ondřej Bílka <neleai@seznam.cz>
11695
11696 * argp/argp-help.c: Fix typos.
11697 * crypt/speeds.c: Likewise.
11698 * csu/check_fds.c: Likewise.
11699 * elf/dl-load.c: Likewise.
11700 * elf/dl-open.c: Likewise.
11701 * elf/reldep3.c: Likewise.
11702 * elf/reldep.c: Likewise.
11703 * elf/sprof.c: Likewise.
11704 * iconv/iconv_charmap.c: Likewise.
11705 * iconv/skeleton.c: Likewise.
11706 * iconv/strtab.c: Likewise.
11707 * io/lockf64.c: Likewise.
11708 * libio/libioP.h: Likewise.
11709 * resolv/gai_notify.c: Likewise.
11710 * resolv/ns_name.c: Likewise.
11711 * resolv/ns_samedomain.c: Likewise.
11712 * resolv/res_send.c: Likewise.
11713 * stdlib/random.c: Likewise.
11714 * sunrpc/rpc/xdr.h: Likewise.
11715 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11716 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11717 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11718 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11719 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11720 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11721 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11722 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11723 * sysdeps/mach/hurd/check_fds.c: Likewise.
11724 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11725 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11726 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11727 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11728 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11729 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11730 * sysdeps/pthread/aio_notify.c: Likewise.
11731 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11732 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11733 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11734 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11735 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11736
46ed1038
LD
117372013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11738
11739 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11740 version if bit_Slow_SSE4_2 is set.
11741 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11742 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11743
d400dcac
AZ
117442013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11745
11746 [BZ #15867]
11747 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11748 trampoline stack frame information.
11749 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11750 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11751 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11752 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11753 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11754 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11755 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11756 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11757 sa_flags value.
11758 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11759 interrupting a syscall and set with option SA_SIGINFO.
11760
42c8fdd8
JM
117612013-08-20 Joseph Myers <joseph@codesourcery.com>
11762
c980f2f4
JM
11763 [BZ #15531]
11764 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11765 argument is infinite.
11766 * math/s_cprojf.c (__cprojf): Likewise.
11767 * math/s_cprojl.c (__cprojl): Likewise.
11768 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11769 * math/libm-test.inc (cproj_test_data): Add more tests.
11770
0716c4fc
JM
11771 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11772
42c8fdd8
JM
11773 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11774 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11775 size. Use __ffs to determine corresponding shift.
11776
b31469d0
JM
117772013-08-20 Joseph Myers <joseph@codesourcery.com>
11778 Roland McGrath <roland@hack.frob.com>
11779
11780 * Makefile (INSTALL): Remove trailing blank lines from output of
11781 makeinfo.
11782
4e39af6e
AK
117832013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11784
11785 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11786 Align 32 bit compat elf_greg to 8 bytes.
11787
f315524e
AA
117882013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11789
11790 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11791
1326ba1a
SP
117922013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11793
11794 * string/strcoll_l.c (coll_seq): New structure.
11795 (get_next_seq_cached): New function.
11796 (get_next_seq): New function.
11797 (do_compare): New function.
11798 (STRCOLL): Use GNU style definition. Simplify implementation
11799 by using get_next_seq, get_next_seq_cached and do_compare.
11800
91ce4085
FW
118012013-08-16 Florian Weimer <fweimer@redhat.com>
11802
11803 [BZ #14699]
11804 CVE-2013-4237
11805 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11806 member.
11807 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11808 member.
11809 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11810 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11811 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11812 conditional.
11813 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11814 GETDENTS_64BIT_ALIGNED.
11815 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11816 * manual/filesys.texi (Reading/Closing Directory): Document
11817 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11818 strongly.
11819 * manual/conf.texi (Limits for Files): Add portability note to
11820 NAME_MAX, PATH_MAX.
11821 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11822
ca0a6bc4
AS
118232013-08-13 Andreas Schwab <schwab@suse.de>
11824
11825 [BZ #15749]
11826 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11827 of fabs.
11828 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11829 LDBL_MAX_EXP >= 16384]: Add tests for it.
11830
6c1fd795
DM
118312013-08-12 David S. Miller <davem@davemloft.net>
11832
11833 * version.h (RELEASE): Set to "development".
11834 (VERSION): Set to "2.18.90".
11835 * NEWS: Add 2.19 section.
11836
31ad488d
DM
118372013-08-03 David S. Miller <davem@davemloft.net>
11838
11839 * po/ko.po: Update Korean translation from translation project.
11840
db24e684
DM
118412013-08-01 David S. Miller <davem@davemloft.net>
11842
11843 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11844 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11845 Bilka.
11846
f723285b
DM
118472013-07-30 David S. Miller <davem@davemloft.net>
11848
11849 * po/fr.po: Update French translation from translation project.
11850
3cbc52db
DM
118512013-07-28 David S. Miller <davem@davemloft.net>
11852
30bbc0cc
DM
11853 * po/cs.po: Update Czech translation from translation project.
11854
3cbc52db
DM
11855 * po/sv.po: Update Swedish translation from translation project.
11856
d492e6d0
DM
118572013-07-27 David S. Miller <davem@davemloft.net>
11858
f1a7f492
DM
11859 * po/eo.po: Update Esperanto translation from translation project.
11860
90e62a4a
DM
11861 * po/vi.po: Update Vietnamese translation from translation project.
11862
d492e6d0
DM
11863 * po/de.po: Update German translation from translation project.
11864
d4baa62d
DM
118652013-07-26 David S. Miller <davem@davemloft.net>
11866
641aa7b4
DM
11867 * po/bg.po: Update Bulgarian translation from translation project.
11868
d4baa62d
DM
11869 * po/nl.po: Update Dutch translation from translation project.
11870 * po/pl.po: Update Polish translation from translation project.
11871 * po/ru.po: Update Russian translation from translation project.
11872
61a9dcb9
DM
118732013-07-24 David S. Miller <davem@davemloft.net>
11874
11875 * po/libc.pot: Update.
11876
7b1f8b58
AZ
118772013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11878
11879 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11880 variable page size.
11881 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11882 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11883 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11884
a8fc7a03
AK
118852013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11886
11887 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11888
e4608715
CD
118892013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11890 Andreas Schwab <schwab@suse.de>
11891 Roland McGrath <roland@hack.frob.com>
11892 Joseph Myers <joseph@codesourcery.com>
11893 Carlos O'Donell <carlos@redhat.com>
11894
11895 [BZ #15755]
11896 * config.h.in: Define HAVE_PT_CHOWN.
11897 * config.make.in (build-pt-chown): New variable.
11898 * configure.in (--enable-pt_chown): New configure option.
11899 * configure: Regenerate.
11900 * login/Makefile: Include Makeconfig. Build pt_chown only if
11901 build-pt-chown is enabled.
11902 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11903 pt_chown to fix pty ownership.
11904 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11905 CLOSE_ALL_FDS.
11906 * manual/install.texi (Configuring and compiling): Mention
11907 --enable-pt_chown. Add @findex for grantpt.
11908 * INSTALL: Regenerate.
11909
da2d62df
DM
119102013-07-20 David S. Miller <davem@davemloft.net>
11911
11912 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11913 difference between 32-bit and 64-bit.
11914
d7e06450
CD
119152013-07-15 Carlos O'Donell <carlos@redhat.com>
11916
11917 [BZ #15711]
11918 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11919 Avoid system header dependency with -ffreestanding.
11920 ($(objpfx)bits/syscall%d): Likewise.
11921
f959cfd7
DM
119222013-07-13 David S. Miller <davem@davemloft.net>
11923
11924 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11925 underflows from atanl/atan2l due to bug 15319.
11926 (casinh_test_data): Likewise.
11927
c61f8513
DM
119282013-07-07 David S. Miller <davem@davemloft.net>
11929
11930 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11931
72c90ed0
JA
119322013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11933
11934 * sysdeps/i386/fpu/libm-test-ulps: Update.
11935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11936
52dfbe13
SP
119372013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11938
11939 * configure.in (--enable-lock-elision): Fix message text.
11940 * INSTALL: Regenerate.
11941 * configure: Regenerate.
11942
3f169543
AZ
119432013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11944
11945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11946
521c6785
AJ
119472013-07-03 Andreas Jaeger <aj@suse.de>
11948
11949 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11950 define.
11951 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11952 (ptrace_peeksiginfo_args): Add.
11953 (__ptrace_peeksiginfo_flags): Add.
11954 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11955 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11957
d2cc15cb
AM
119582013-07-03 Allan McRae <allan@archlinux.org>
11959
11960 * sysdeps/i386/fpu/libm-test-ulps: Update.
11961
3aaeeca7
DM
119622013-07-02 David S. Miller <davem@davemloft.net>
11963
11964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11965
5314ed1a
MT
119662013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11967
11968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11969
67338156
JM
119702013-07-02 Joseph Myers <joseph@codesourcery.com>
11971
11972 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11974
1717da59
AK
119752013-07-02 Andi Kleen <ak@linux.intel.com>
11976
11977 * config.h.in (ENABLE_LOCK_ELISION): Add.
11978 * configure.in (--enable-lock-elision): Add option.
11979 * manual/install.texi: Document --enable lock elision.
11980 * configure: Regenerate
11981 * INSTALL: Regenerate.
11982
1c81621c
L
119832013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11984
11985 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11986 SSE4.2 strcasecmp for libc.a.
11987 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11988
77f01ab5
JM
119892013-07-02 Joseph Myers <joseph@codesourcery.com>
11990
11991 [BZ #13304]
11992 * soft-fp/op-common.h (_FP_FMA): New macro.
11993 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11994 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11995 (_FP_MUL_MEAT_1_imm): ... here.
11996 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11997 (_FP_MUL_MEAT_1_wide): ... here.
11998 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11999 (_FP_MUL_MEAT_1_hard): ... here.
12000 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12001 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12002 (_FP_MUL_MEAT_2_wide): ... here.
12003 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12004 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12005 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12006 (_FP_MUL_MEAT_2_gmp): ... here.
12007 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12008 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12009 (_FP_MUL_MEAT_4_wide): ... here.
12010 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12011 (_FP_MUL_MEAT_4_gmp): ... here.
12012 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12013 (_FP_WFRACBITS_DW_S): Likewise.
12014 (_FP_WFRACXBITS_DW_S): Likewise.
12015 (_FP_HIGHBIT_DW_S): Likewise.
12016 (FP_FMA_S): Likewise.
12017 (_FP_FRAC_HIGH_DW_S): Likewise.
12018 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12019 (_FP_WFRACBITS_DW_D): Likewise.
12020 (_FP_WFRACXBITS_DW_D): Likewise.
12021 (_FP_HIGHBIT_DW_D): Likewise.
12022 (FP_FMA_D): Likewise.
12023 (_FP_FRAC_HIGH_DW_D): Likewise.
12024 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12025 (_FP_WFRACBITS_DW_E): Likewise.
12026 (_FP_WFRACXBITS_DW_E): Likewise.
12027 (_FP_HIGHBIT_DW_E): Likewise.
12028 (FP_FMA_E): Likewise.
12029 (_FP_FRAC_HIGH_DW_E): Likewise.
12030 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12031 (_FP_WFRACBITS_DW_Q): Likewise.
12032 (_FP_WFRACXBITS_DW_Q): Likewise.
12033 (_FP_HIGHBIT_DW_Q): Likewise.
12034 (FP_FMA_Q): Likewise.
12035 (_FP_FRAC_HIGH_DW_Q): Likewise.
12036 * soft-fp/fmasf4.c: New file.
12037 * soft-fp/fmadf4.c: Likewise.
12038 * soft-fp/fmatf4.c: Likewise.
12039
6308fd9a
LD
120402013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12041
12042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12043 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12044 Silvermont.
12045 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12046 macro.
12047 (index_Slow_SSE4_2): Likewise.
12048 (index_Prefer_PMINUB_for_stringop): Likewise.
12049 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12050 bit_Slow_SSE4_2 is set.
12051 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12052 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12053
89cd9569
RA
120542013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12055
12056 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12057 rtld_global._dl_hwcap2.
12058 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12059 POWER8.
12060 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12061 POWER8 feature descriptions defined in _dl_hwcap2.
12062 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12063 string handling for POWER8 feature bits.
12064 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12065 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12066 _dl_powerpc_cap_flags.
12067 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12068 * sysdeps/powerpc/rtld-global-offsets.sym
12069 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12070 _dl_hwcap2 in the rtld_global_ro structure.
12071
1ae8bfe0
RA
120722013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12073
12074 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12075 hardware capabilities in support of AT_HWCAP2.
12076 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12077 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12078 GLRO(dl_hwcap2).
12079 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12080 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12081 explicitly the unknown a_type display mechanism is used.
12082 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12083 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12084 struct member.
12085 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12086 to macro prototype for AT_HWCAP2 support.
12087 * sysdeps/i386/dl-procinfo.h: Likewise.
12088 * sysdeps/s390/dl-procinfo.h: Likewise.
12089 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12090 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12091 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12092 return -1 for unknown a_type display fallback.
12093 * sysdeps/sparc/dl-procinfo.h: Likewise.
12094 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12095 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12096
8fbec010
JM
120972013-06-28 Joseph Myers <joseph@codesourcery.com>
12098
12099 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12100 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12101
0432680e
PY
121022013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12103
12104 [BZ #12492]
12105 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12106 mprotect making __stack_prot writable.
12107
ce61a2ad
NF
121082013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12109 Joseph Myers <joseph@codesourcery.com>
12110
12111 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12112 as being properly aligned.
12113
f91f1c0f
MR
121142013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12115
3d0f5d0c
MR
12116 * dlfcn/modstatic5.c: New file.
12117 * dlfcn/tststatic5.c: New file.
12118 * dlfcn/Makefile (tests): Add tststatic5.
12119 (tests-static): Likewise.
12120 (modules-names): Add modstatic5.
12121 (tststatic5-ENV): New variable.
12122 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12123
f91f1c0f
MR
12124 [BZ #15022]
12125 * elf/dl-support.c (_dl_main_map): New variable.
12126 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12127 (_dl_nns, _dl_load_adds): Set to 1.
12128 (_dl_initial_searchlist): Refer to _dl_main_map.
12129 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12130 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12131 call to _dl_get_origin.
12132 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12133 around call_map.
12134 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12135 * dlfcn/modstatic3.c: New file.
12136 * dlfcn/tststatic3.c: New file.
12137 * dlfcn/tststatic4.c: New file.
12138 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12139 (tests-static): Likewise.
12140 (modules-names): Add modstatic3.
12141 (tststatic3-ENV, tststatic4-ENV): New variables.
12142 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12143 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12144
cbe7d24b
JM
121452013-06-26 Joseph Myers <joseph@codesourcery.com>
12146
12147 * configure.in (CC): Require GCC version 4.4 or later.
12148 * configure: Regenerated.
12149 * manual/install.texi (Tools for Compilation): Update GCC version
12150 requirement.
12151 * INSTALL: Regenerated.
12152
11b8a0e1
LD
121532013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12154
12155 [BZ #15674]
bb5bb87c
L
12156 * string/test-memcmp.c (check2): New.
12157 (main): Call check2.
12158
11b8a0e1
LD
12159 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12160
b0037103
MR
121612013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12162
12163 [BZ #15022]
12164 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12165 over to...
12166 (dl_open_worker) [!SHARED]: ... here.
12167
c18c701d
RA
121682013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12169
12170 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12171
1d17fa5f
RH
121722013-06-25 Richard Henderson <rth@redhat.com>
12173
12174 * locale/programs/locarchive.c: Include <libc-internal.h>
12175
8fcb833a
JM
121762013-06-25 Joseph Myers <joseph@codesourcery.com>
12177
12178 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12179 trailing whitespace removed.
12180
17db6e8d
MF
121812013-06-24 Mike Frysinger <vapier@gentoo.org>
12182
12183 [BZ #10283]
17db6e8d
MF
12184 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12185 * locale/programs/locarchive.c: Include libc-mmap.h.
12186 (prepare_address_space): Take two new outputs (the mmap base and len).
12187 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12188 values.
12189 (create_archive): Declare new mmap base and len values for
12190 prepare_address_space, and store the result in ah.
12191 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12192 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12193 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12194 Declare new mmap base and len values for
12195 prepare_address_space, and store the result in new_ah.
12196 (open_archive): Declare new mmap base and len values for
12197 prepare_address_space, and store the result in ah.
12198 (close_archive): If ah->mmap_base is not NULL, use that and
12199 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12200 * sysdeps/generic/libc-mmap.h: New file.
12201
d605071e
MF
122022013-06-24 Mike Frysinger <vapier@gentoo.org>
12203
12204 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12205 (ALIGN_UP): Likewise.
12206 (PTR_ALIGN_DOWN): Likewise.
12207 (PTR_ALIGN_UP): Likewise.
12208
2f063a6e
RA
122092013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12210
12211 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12212 entry mapped to PPC_PLATFORM_POWER8.
12213 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12214 POWER8.
12215 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12216 (_dl_string_platform): Add case for exporting platform position for
12217 POWER8.
12218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12219 search path to sysdeps/powerpc/powerpc32/power8 directory.
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12221 search path to sysdeps/powerpc/powerpc64/power8 directory.
12222 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12223 power7 directories.
12224 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12225 power7 directories.
12226
a31ee4b3
SP
122272013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12228
a74ca98f
SP
12229 * INSTALL: Regenerate.
12230
a31ee4b3
SP
12231 * nscd/connections.c (nscd_init): Fix comment.
12232
695c378f
JM
122332013-06-22 Joseph Myers <joseph@codesourcery.com>
12234
d8412221
JM
12235 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12236
695c378f
JM
12237 [BZ #15667]
12238 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12239 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12240
d1d54715
MR
122412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12242
12243 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12244 DL_DST_REQ_STATIC.
12245 (DL_DST_REQ_STATIC): Remove macro.
12246
8fdda7af
JM
122472013-06-21 Joseph Myers <joseph@codesourcery.com>
12248
12249 [BZ #7006]
12250 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12251 with a shift of 0 bits.
12252
f3bc5e5a
MR
122532013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12254
12255 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12256 $(tststatic-ENV).
12257
be09e8c9
KK
122582013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12259
12260 [BZ #15655]
12261 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12262
85c2e611
AZ
122632013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12264
12265 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12266 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12267 accepts -fno-tree-loop-distribute-patterns.
12268 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12269 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12270 recursive call.
12271 * string/memset.c (memset): Likewise.
12272 * string/test-memmove.c (simple_memmove): Disable loop transformation
12273 to library calls.
12274 * string/test-memset.c (simple_memset): Likewise.
12275 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12276 * benchtests/bench-memset.c (simple_memset): Likewise.
12277 * configure: Regenerated.
12278
c91e0825
JM
122792013-06-20 Joseph Myers <joseph@codesourcery.com>
12280
b8c792af
JM
12281 * math/test-misc.c (main): Ignore fesetround failure when failures
12282 of subsequent rounding tests would be ignored.
12283
c91e0825
JM
12284 [BZ #15654]
12285 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12286 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12287 * math/fegetenv.c (__fegetenv): Return 0.
12288 * math/fegetexcept.c (fegetexcept): Return 0.
12289 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12290 FE_TONEAREST.
12291 * math/feholdexcpt.c (feholdexcept): Return 0.
12292 * math/fesetenv.c (__fesetenv): Return 0.
12293 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12294 argument FE_TONEAREST.
12295 * math/feupdateenv.c (__feupdateenv): Return 0.
12296 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12297
bfcacbde
RM
122982013-06-18 Roland McGrath <roland@hack.frob.com>
12299
12300 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12301 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12302 ($(objpfx)rtld-%.os rules): Use them.
12303
e55a9b25
AZ
123042013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12305
12306 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12307 fields.
12308
346d65b3
RM
123092013-06-17 Roland McGrath <roland@hack.frob.com>
12310
12086fb4
RM
12311 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12312 length of target pattern, then descending length of dependency pattern.
12313 * configure.in (AWK): Require gawk 3.1.2 or newer.
12314 * manual/install.texi (Tools for Compilation): Say that we do.
12315 * configure: Regenerated.
12316
346d65b3
RM
12317 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12318 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12319 * scripts/sysd-rules.awk: ... this new script.
12320 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12321 than a glob-style pattern.
12322
1a846317
JM
123232013-06-17 Joseph Myers <joseph@codesourcery.com>
12324
12325 * math/test-misc.c (main): Do not treat incorrectly rounded
12326 conversions as failure unless ROUNDING_TESTS passes.
12327
8fc75e6f
JM
123282013-06-15 Joseph Myers <joseph@codesourcery.com>
12329
3711a167
JM
12330 [BZ #15631]
12331 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12332 restore exception state around main square root computation, then
12333 check for inexactness explicitly.
12334
8fc75e6f
JM
12335 * math/libm-test.inc (fma_test_data): Add another test.
12336
61dd6208
SP
123372013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12338
adf23d2c
SP
12339 * manual/threads.texi (Non-POSIX Extensions): New document
12340 node. Document pthread_getattr_default_np and
12341 pthread_setattr_default_np.
12342
61dd6208
SP
12343 * Versions.def (libpthread): Add GLIBC_2.18.
12344 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12346 Likewise.
12347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12348 Likewise.
12349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12350 Likewise.
12351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12352 Likewise.
12353 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12354 Likewise.
12355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12356 Likewise.
12357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12358 Likewise.
12359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12360 Likewise.
12361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12362 Likewise.
12363
d086fc7b
LD
123642013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12365
12366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12367 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12368
747ef469
SP
123692013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12370 H.J. Lu <hjl.tools@gmail.com>
12371
12372 [BZ #15627]
12373 * sysdeps/x86_64/rtld-memset.c: Remove file.
12374 * sysdeps/x86_64/rtld-memset.S: New file.
12375
1b2feed2
JM
123762013-06-14 Joseph Myers <joseph@codesourcery.com>
12377
12378 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12379 (test_in_one_mode): Take arguments for whether the rounding mode
12380 is supported for each floating-point type.
12381 (do_test): Pass new arguments to test_in_one_mode using
12382 ROUNDING_TESTS.
12383
a58ad3f8
RM
123842013-06-13 Roland McGrath <roland@hack.frob.com>
12385
12386 * posix/tst-waitid.c (do_test): Distinguish different instances of
12387 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12388 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12389 before entering the kernel for waitpid.
12390
c204ab28
SP
123912013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12392
12393 * NEWS: Fix note on clock function precision. Text by Roland
12394 McGrath.
12395
f4a29fba
RM
123962013-06-13 Roland McGrath <roland@hack.frob.com>
12397
12398 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12399 it into place only when and if the sanity check passes.
12400
1f24b9ad
JM
124012013-06-13 Joseph Myers <joseph@codesourcery.com>
12402
12403 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12404 output for whether conversion result is exact. Take argument
12405 indicating whether type is IBM long double.
12406 (round_for_all): Change need_exact field to ibm_ld.
12407 * stdlib/tst-strtod-round.c (struct exactness): New type.
12408 (struct test): Change bool ld_ok field to struct exactness exact.
12409 (TEST): Update all definitions for change to field.
12410 (tests): Regenerate array contents.
12411 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12412 field value. Check for IBM long double here.
12413 (do_test): Update calls to test_in_one_mode.
12414
58206c68
SP
124152013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12416
12417 [BZ #12515]
12418 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12419 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12420
2d6f4c5b 124212013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
12422
12423 [BZ #15605]
12424 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12425 generated by the compiler on loop optimizations.
12426 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12427 general definitions.
12428
94f2c076
JM
124292013-06-12 Joseph Myers <joseph@codesourcery.com>
12430
12431 * math/bug-nextafter.c: Include <math-tests.h>.
12432 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12433 the relevant type.
12434 * math/bug-nexttoward.c: Include <math-tests.h>.
12435 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12436 the relevant type.
12437 * math/test-misc.c: Include <math-tests.h>.
12438 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12439 the relevant type.
12440
e0e50a0a
AJ
124412013-06-12 Andreas Jaeger <aj@suse.de>
12442
12443 * po/ia.po: Update Interlingua translation from translation
12444 project.
12445
25061094
SP
124462013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12447
12448 * include/fenv.h: Include stdbool.h.
12449 (struct rm_ctx): New structure.
12450 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12451 Define macro.
12452 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12453 (SET_RESTORE_ROUNDF): Likewise.
12454 (SET_RESTORE_ROUNDL): Likewise.
12455 (SET_RESTORE_ROUND_NOEX): Likewise.
12456 (SET_RESTORE_ROUND_NOEXF): Likewise.
12457 (SET_RESTORE_ROUND_NOEXL): Likewise.
12458 (SET_RESTORE_ROUND_53BIT): Likewise.
12459 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12460 (libc_feresetround_noexf_ctx): Likewise.
12461 (libc_feresetround_noexl_ctx): Likewise.
12462 (libc_feholdsetround_53bit_ctx): Likewise.
12463 (libc_feresetround_53bit_ctx): Likewise.
12464 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12465 (libc_feholdexcept_setround_sse_ctx): New function.
12466 (libc_fesetenv_sse_ctx): Likewise.
12467 (libc_feupdateenv_sse_ctx): Likewise.
12468 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12469 (libc_feholdexcept_setround_387_ctx): Likewise.
12470 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12471 (libc_feholdsetround_387_prec_ctx): Likewise.
12472 (libc_feholdsetround_387_ctx): Likewise.
12473 (libc_feholdsetround_387_53bit_ctx): Likewise.
12474 (libc_feholdsetround_sse_ctx): Likewise.
12475 (libc_feresetround_sse_ctx): Likewise.
12476 (libc_feresetround_387_ctx): Likewise.
12477 (libc_feupdateenv_387_ctx): Likewise.
12478 (libc_feholdexcept_setroundf_ctx): Define macro.
12479 (libc_fesetenvf_ctx): Likewise.
12480 (libc_feupdateenvf_ctx): Likewise.
12481 (libc_feholdsetroundf_ctx): Likewise.
12482 (libc_feresetroundf_ctx): Likewise.
12483 (libc_feholdexcept_setround_ctx): Likewise.
12484 (libc_fesetenv_ctx): Likewise.
12485 (libc_feupdateenv_ctx): Likewise.
12486 (libc_feholdsetround_ctx): Likewise.
12487 (libc_feresetround_ctx): Likewise.
12488 (libc_feholdexcept_setroundl_ctx): Likewise.
12489 (libc_feupdateenvl_ctx): Likewise.
12490 (libc_feholdsetroundl_ctx): Likewise.
12491 (libc_feresetroundl_ctx): Likewise.
12492 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12493 (libc_feresetround_53bit_ctx): Likewise.
12494
59b30555
SP
124952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12496
12497 * locale/iso-639.def: Convert to UTF-8.
12498
f1d73d30
JM
124992013-06-11 Joseph Myers <joseph@codesourcery.com>
12500
12501 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12502 (EXCEPTION_TESTS_double): Likewise.
12503 (EXCEPTION_TESTS_long_double): Likewise.
12504 (EXCEPTION_TESTS): Likewise.
12505 * math/libm-test.inc (test_exceptions): Only test exceptions if
12506 EXCEPTION_TESTS (FLOAT).
12507
94aca5e7
SP
125082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12509
12510 * benchtests/Makefile (string-bench): Add strcpy_chk and
12511 stpcpy_chk.
12512 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12513 * benchtests/bench-stpcpy_chk.c: New file.
12514 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12515 * benchtests/bench-strcpy_chk.c: New file.
12516 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12517 code.
12518 (do_test): Likewise.
12519
fac0c5f2
RA
125202013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12521
12522 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12523 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12524 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12525 with tabs where appropriate.
12526 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12527 dl-procinfo.h.
12528 [PPC_PLATFORM_PPC440]: Likewise.
12529 [PPC_PLATFORM_PPC464]: Likewise.
12530 [PPC_PLATFORM_PPC476]: Likewise.
12531 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12532 ppc464, and ppc476 platform strings merging from ports/
12533 dl-procinfo.h.
12534
f22bc486
AS
125352013-06-11 Andreas Schwab <schwab@suse.de>
12536
12537 [BZ #14991]
12538 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12539 (from_ucs4_idx): Regenerate.
12540 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12541 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12542 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12543 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12544 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12545 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12546 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12547 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12548 from FROM_LOOP and TO_LOOP specific macros.
12549 (BODY): Handle combining characters.
12550 * iconvdata/BIG5HKSCS.irreversible: Update.
12551 * iconvdata/BIG5HKSCS.precomposed: New file.
12552 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12553 characters.
12554 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12555
c1f75dc3
SP
125562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12557
4eacded2
SP
12558 * include/sys/time.h: Fix indentation and add copyright header.
12559
fec799f8
SP
12560 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12561 (do_test): Likewise.
12562 * string/test-memchr.c (do_one_test): Likewise.
12563 (do_test): Likewise.
12564 * string/test-memcmp.c (do_one_test): Likewise.
12565 (do_test): Likewise.
12566 * string/test-memcpy.c (do_one_test): Likewise.
12567 (do_test): Likewise.
12568 * string/test-memmem.c (do_one_test): Likewise.
12569 (do_test): Likewise.
12570 (do_random_tests): Likewise.
12571 * string/test-memmove.c (do_one_test): Likewise.
12572 (do_test): Likewise.
12573 * string/test-memset.c (do_one_test): Likewise.
12574 (do_test): Likewise.
12575 * string/test-rawmemchr.c (do_one_test): Likewise.
12576 (do_test): Likewise.
12577 * string/test-strcasecmp.c (do_one_test): Likewise.
12578 (do_test): Likewise.
12579 * string/test-strcasestr.c (do_one_test): Likewise.
12580 (do_test): Likewise.
12581 * string/test-strcat.c (do_one_test): Likewise.
12582 (do_test): Likewise.
12583 * string/test-strchr.c (do_one_test): Likewise.
12584 (do_test): Likewise.
12585 * string/test-strcmp.c (do_one_test): Likewise.
12586 (do_test): Likewise.
12587 * string/test-strcpy.c (do_one_test): Likewise.
12588 (do_test): Likewise.
12589 * string/test-string.h: Likewise.
12590 (test_init): Likewise.
12591 * string/test-strlen.c (do_one_test): Likewise.
12592 (do_test): Likewise.
12593 * string/test-strncasecmp.c (do_one_test): Likewise.
12594 (do_test): Likewise.
12595 * string/test-strncat.c (do_one_test): Likewise.
12596 (do_test): Likewise.
12597 * string/test-strncmp.c (do_one_test): Likewise.
12598 (do_test_limit): Likewise.
12599 (do_test): Likewise.
12600 * string/test-strncpy.c (do_one_test): Likewise.
12601 (do_test): Likewise.
12602 * string/test-strnlen.c (do_one_test): Likewise.
12603 (do_test): Likewise.
12604 * string/test-strpbrk.c (do_one_test): Likewise.
12605 (do_test): Likewise.
12606 * string/test-strrchr.c (do_one_test): Likewise.
12607 (do_test): Likewise.
12608 * string/test-strspn.c (do_one_test): Likewise.
12609 (do_test): Likewise.
12610 * string/test-strstr.c (do_one_test): Likewise.
12611 (do_test): Likewise.
12612
97020474
SP
12613 * benchtests/Makefile (string-bench): Add string benchmarks.
12614 * benchtests/bench-bcopy-ifunc.c: New file.
12615 * benchtests/bench-bcopy.c: New file.
12616 * benchtests/bench-bzero-ifunc.c: New file.
12617 * benchtests/bench-bzero.c: New file.
12618 * benchtests/bench-memccpy-ifunc.c: New file.
12619 * benchtests/bench-memccpy.c: New file.
12620 * benchtests/bench-memchr-ifunc.c: New file.
12621 * benchtests/bench-memchr.c: New file.
12622 * benchtests/bench-memcmp-ifunc.c: New file.
12623 * benchtests/bench-memcmp.c: New file.
12624 * benchtests/bench-memmem-ifunc.c: New file.
12625 * benchtests/bench-memmem.c: New file.
12626 * benchtests/bench-memmove-ifunc.c: New file.
12627 * benchtests/bench-memmove.c: New file.
12628 * benchtests/bench-mempcpy-ifunc.c: New file.
12629 * benchtests/bench-mempcpy.c: New file.
12630 * benchtests/bench-memset-ifunc.c: New file.
12631 * benchtests/bench-memset.c: New file.
12632 * benchtests/bench-rawmemchr-ifunc.c: New file.
12633 * benchtests/bench-rawmemchr.c: New file.
12634 * benchtests/bench-stpcpy-ifunc.c: New file.
12635 * benchtests/bench-stpcpy.c: New file.
12636 * benchtests/bench-stpncpy-ifunc.c: New file.
12637 * benchtests/bench-stpncpy.c: New file.
12638 * benchtests/bench-strcasecmp-ifunc.c: New file.
12639 * benchtests/bench-strcasecmp.c: New file.
12640 * benchtests/bench-strcasestr-ifunc.c: New file.
12641 * benchtests/bench-strcasestr.c: New file.
12642 * benchtests/bench-strcat-ifunc.c: New file.
12643 * benchtests/bench-strcat.c: New file.
12644 * benchtests/bench-strchr-ifunc.c: New file.
12645 * benchtests/bench-strchr.c: New file.
12646 * benchtests/bench-strchrnul-ifunc.c: New file.
12647 * benchtests/bench-strchrnul.c: New file.
12648 * benchtests/bench-strcmp-ifunc.c: New file.
12649 * benchtests/bench-strcmp.c: New file.
12650 * benchtests/bench-strcpy-ifunc.c: New file.
12651 * benchtests/bench-strcpy.c: New file.
12652 * benchtests/bench-strcspn-ifunc.c: New file.
12653 * benchtests/bench-strcspn.c: New file.
12654 * benchtests/bench-strlen-ifunc.c: New file.
12655 * benchtests/bench-strlen.c: New file.
12656 * benchtests/bench-strncasecmp-ifunc.c: New file.
12657 * benchtests/bench-strncasecmp.c: New file.
12658 * benchtests/bench-strncat-ifunc.c: New file.
12659 * benchtests/bench-strncat.c: New file.
12660 * benchtests/bench-strncmp-ifunc.c: New file.
12661 * benchtests/bench-strncmp.c: New file.
12662 * benchtests/bench-strncpy-ifunc.c: New file.
12663 * benchtests/bench-strncpy.c: New file.
12664 * benchtests/bench-strnlen-ifunc.c: New file.
12665 * benchtests/bench-strnlen.c: New file.
12666 * benchtests/bench-strpbrk-ifunc.c: New file.
12667 * benchtests/bench-strpbrk.c: New file.
12668 * benchtests/bench-strrchr-ifunc.c: New file.
12669 * benchtests/bench-strrchr.c: New file.
12670 * benchtests/bench-strspn-ifunc.c: New file.
12671 * benchtests/bench-strspn.c: New file.
12672 * benchtests/bench-strstr-ifunc.c: New file.
12673 * benchtests/bench-strstr.c: New file.
12674
c1f75dc3
SP
12675 * benchtests/Makefile: Disable parallel execution of targets.
12676 (string-bench): Add memcpy.
12677 (benchset): New variable to store a list of benchmark sets.
12678 (bench-func): Renamed from bench.
12679 (bench-set): New target.
12680 (bench): Depend on bench-func and bench-set.
12681 * benchtests/README: Add section on benchmark sets.
12682 * benchtests/bench-memcpy-ifunc.c: New file.
12683 * benchtests/bench-memcpy.c: New file.
12684 * benchtests/bench-string.h: New file.
12685
50fd745b
AS
126862013-06-11 Andreas Schwab <schwab@suse.de>
12687
12688 [BZ #15577]
12689 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12690 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12691 values in the triple.
12692 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12693 terminator in the group key.
12694
3ee7e9fe
AJ
126952013-06-11 Andreas Jaeger <aj@suse.de>
12696
12697 * po/zh_TW.po: Update Chinese (traditional) translation from
12698 translation project.
12699
89fb6835
SP
127002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12701
12702 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12703 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12704 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12705 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12706 (clock_getcpuclockid): Likewise.
12707 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12708 Add weak_alias and libc_hidden_def.
12709 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12710 * rt/clock_gettime.c (clock_gettime): Rename to
12711 __clock_gettime. Add weak_alias and libc_hidden_def.
12712 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12713 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12714 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12715 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12716 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12717 Likewise.
12718 * rt/clock_settime.c (clock_settime): Rename to
12719 __clock_settime. Add weak_alias and libc_hidden_def.
12720 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12721
0efa6f8b
JM
127222013-06-10 Joseph Myers <joseph@codesourcery.com>
12723
b8c61b4b
JM
12724 * mach/err_boot.sub: Remove trailing whitespace.
12725 * mach/err_ipc.sub: Likewise.
12726 * mach/err_mach.sub: Likewise.
12727
0efa6f8b
JM
12728 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12729 (ROUNDING_TESTS_double): Likewise.
12730 (ROUNDING_TESTS_long_double): Likewise.
12731 (ROUNDING_TESTS): Likewise.
12732 * math/libm-test.inc: Include <math-tests.h>.
12733 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12734 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12735 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12736 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12737
50b818bf
SP
127382013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12739
12740 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12741 of assigning.
12742
60d2f8f3
JM
127432013-06-08 Joseph Myers <joseph@codesourcery.com>
12744
4902d2c3
JM
12745 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12746 otherwise empty TRANS lines.
12747 * sysdeps/gnu/errlist.c: Regenerated.
12748
60d2f8f3
JM
12749 * catgets/gencat.c (error_print): Use (void) in function
12750 definition.
12751 * crypt/crypt_util.c (__init_des): Likewise.
12752 * crypt/speeds.c (Stop): Likewise.
12753 (main): Likewise.
12754 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12755 * inet/ruserpass.c (token): Likewise.
12756 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12757 * intl/localealias.c (extend_alias_table): Likewise.
12758 * intl/plural-exp.c (init_germanic_plural): Likewise.
12759 * libio/fcloseall.c (__fcloseall): Likewise.
12760 * libio/genops.c (_IO_flush_all): Likewise.
12761 (_IO_flush_all_linebuffered): Likewise.
12762 (_IO_cleanup): Likewise.
12763 (_IO_iter_begin): Likewise.
12764 (_IO_iter_end): Likewise.
12765 (_IO_list_lock): Likewise.
12766 (_IO_list_unlock): Likewise.
12767 (_IO_list_resetlock): Likewise.
12768 * libio/getchar.c (getchar): Likewise.
12769 * libio/getchar_u.c (getchar_unlocked): Likewise.
12770 * libio/getwchar.c (getwchar): Likewise.
12771 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12772 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12773 * login/getpt.c (__getpt): Likewise.
12774 * login/tst-utmp.c (main): Likewise.
12775 * malloc/hooks.c (__malloc_check_init): Likewise.
12776 * malloc/malloc.c (__malloc_stats): Likewise.
12777 * malloc/mtrace.c (tr_break): Likewise.
12778 (mtrace): Likewise.
12779 (muntrace): Likewise.
12780 * misc/fstab.c (endfsent): Likewise.
12781 * misc/getclktck.c (__getclktck): Likewise.
12782 * misc/getdtsz.c (__getdtablesize): Likewise.
12783 * misc/gethostid.c (gethostid): Likewise.
12784 * misc/getpagesize.c (__getpagesize): Likewise.
12785 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12786 (__get_nprocs): Likewise.
12787 (__get_phys_pages): Likewise.
12788 (__get_avphys_pages): Likewise.
12789 * misc/getttyent.c (getttyent): Likewise.
12790 (setttyent): Likewise.
12791 (endttyent): Likewise.
12792 * misc/getusershell.c (getusershell): Likewise.
12793 (endusershell): Likewise.
12794 (setusershell): Likewise.
12795 (initshells): Likewise.
12796 * misc/hsearch.c (__hdestroy): Likewise.
12797 * misc/sync.c (sync): Likewise.
12798 * misc/syslog.c (closelog_internal): Likewise.
12799 (closelog): Likewise.
12800 * misc/ttyslot.c (ttyslot): Likewise.
12801 * misc/vhangup.c (vhangup): Likewise.
12802 * posix/fork.c (__fork): Likewise.
12803 * posix/getegid.c (__getegid): Likewise.
12804 * posix/geteuid.c (__geteuid): Likewise.
12805 * posix/getgid.c (__getgid): Likewise.
12806 * posix/getpid.c (__getpid): Likewise.
12807 * posix/getppid.c (__getppid): Likewise.
12808 * posix/getuid.c (__getuid): Likewise.
12809 * posix/pause.c (pause): Likewise.
12810 * posix/setpgrp.c (setpgrp): Likewise.
12811 * posix/setsid.c (__setsid): Likewise.
12812 * posix/test-vfork.c (noop): Likewise.
12813 * resolv/gethnamaddr.c (_endhtent): Likewise.
12814 (_gethtent): Likewise.
12815 (ht_endhostent): Likewise.
12816 (gethostent): Likewise.
12817 (dns_service): Likewise.
12818 * stdlib/drand48.c (drand48): Likewise.
12819 * stdlib/lrand48.c (lrand48): Likewise.
12820 * stdlib/mrand48.c (mrand48): Likewise.
12821 * stdlib/rand.c (rand): Likewise.
12822 * stdlib/random.c (__random): Likewise.
12823 * stdlib/setenv.c (clearenv): Likewise.
12824 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12825 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12826 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12827 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12828 (__get_nprocs): Likewise.
12829 (__get_phys_pages): Likewise.
12830 (__get_avphys_pages): Likewise.
12831 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12832 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12833 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12834 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12835 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12836 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12837 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12838 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12839 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12840 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12841 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12842 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12843 * sysdeps/posix/clock.c (clock): Likewise.
12844 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12845 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12846 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12847 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12848 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12849 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12850 (__get_nprocs_conf): Likewise.
12851 (__get_phys_pages): Likewise.
12852 (__get_avphys_pages): Likewise.
12853 * time/clock.c (clock): Likewise.
12854 * time/tzset.c (__tzname_max): Likewise.
12855
2e09a79a
JM
128562013-06-07 Joseph Myers <joseph@codesourcery.com>
12857
12858 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12859 (__bswap_32): Do not use "register".
12860 * crypt/crypt.c (_ufc_doit_r): Likewise.
12861 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12862 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12863 * gmon/gmon.c (__monstartup): Likewise.
12864 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12865 * hurd/hurdmalloc.c (more_memory): Likewise.
12866 (malloc): Likewise.
12867 (free): Likewise.
12868 (realloc): Likewise.
12869 (malloc_fork_prepare): Likewise.
12870 (malloc_fork_parent): Likewise.
12871 (malloc_fork_child): Likewise.
12872 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12873 (_svcauth_des): Likewise.
12874 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12875 * inet/inet_net.c (inet_network): Likewise.
12876 * inet/inet_netof.c (inet_netof): Likewise.
12877 * inet/rcmd.c (__validuser2_sa): Likewise.
12878 * io/fts.c (fts_open): Likewise.
12879 (fts_load): Likewise.
12880 (fts_close): Likewise.
12881 (fts_read): Likewise.
12882 (fts_children): Likewise.
12883 (fts_build): Likewise.
12884 (fts_stat): Likewise.
12885 (fts_sort): Likewise.
12886 (fts_alloc): Likewise.
12887 (fts_lfree): Likewise.
12888 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12889 (_IO_file_xsgetn): Likewise.
12890 (_IO_file_xsgetn_mmap): Likewise.
12891 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12892 (_IO_cookie_write): Likewise.
12893 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12894 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12895 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12896 * malloc/obstack.c (_obstack_begin): Likewise.
12897 (_obstack_begin_1): Likewise.
12898 (_obstack_newchunk): Likewise.
12899 (_obstack_allocated_p): Likewise.
12900 (obstack_free): Likewise.
12901 (_obstack_memory_used): Likewise.
12902 * misc/getttyent.c (getttynam): Likewise.
12903 (getttyent): Likewise.
12904 (skip): Likewise.
12905 (value): Likewise.
12906 * misc/getusershell.c (initshells): Likewise.
12907 * misc/syslog.c (__vsyslog_chk): Likewise.
12908 * misc/ttyslot.c (ttyslot): Likewise.
12909 * nis/nis_hash.c (__nis_hash): Likewise.
12910 * posix/fnmatch_loop.c (FCT): Likewise.
12911 * posix/getconf.c (print_all): Likewise.
12912 (main): Likewise.
12913 * posix/getopt.c (exchange): Likewise.
12914 * posix/glob.c (globfree): Likewise.
12915 (prefix_array): Likewise.
12916 (__glob_pattern_type): Likewise.
12917 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12918 (NS_GET32): Likewise.
12919 (NS_PUT16): Likewise.
12920 (NS_PUT32): Likewise.
12921 * resolv/gethnamaddr.c (getanswer): Likewise.
12922 (gethostbyname2): Likewise.
12923 (gethostbyaddr): Likewise.
12924 (_gethtent): Likewise.
12925 (_gethtbyname2): Likewise.
12926 (_gethtbyaddr): Likewise.
12927 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12928 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12929 * resolv/res_init.c (__res_vinit): Likewise.
12930 (net_mask): Likewise.
12931 * resolv/res_mkquery.c (outchar): Likewise.
12932 (PRINT): Likewise.
12933 * stdio-common/printf_fp.c (outchar): Likewise.
12934 (PRINT): Likewise.
12935 * stdio-common/printf_fphex.c (outchar): Likewise.
12936 (PRINT): Likewise.
12937 * stdio-common/printf_size.c (outchar): Likewise.
12938 (PRINT): Likewise.
12939 * stdio-common/test_rdwr.c (main): Likewise.
12940 * stdio-common/tfformat.c (matches): Likewise.
12941 * stdio-common/vfprintf.c (outchar): Likewise.
12942 (printf_unknown): Likewise.
12943 (buffered_vfprintf): Likewise.
12944 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12945 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12946 (ReadFile): Likewise.
12947 * stdlib/qsort.c (SWAP): Likewise.
12948 (_quicksort): Likewise.
12949 * stdlib/setenv.c (__add_to_environ): Likewise.
12950 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12951 * stdlib/strtol_l.c (__strtol_l): Likewise.
12952 * stdlib/tst-strtod.c (main): Likewise.
12953 * stdlib/tst-strtol.c (main): Likewise.
12954 * stdlib/tst-strtoll.c (main): Likewise.
12955 * string/bits/string2.h (__strcmp_cc): Likewise.
12956 (__strcmp_cg): Likewise.
12957 (__strcspn_c1): Likewise.
12958 (__strcspn_c2): Likewise.
12959 (__strcspn_c3): Likewise.
12960 (__strspn_c1): Likewise.
12961 (__strspn_c2): Likewise.
12962 (__strspn_c3): Likewise.
12963 (__strsep_1c): Likewise.
12964 (__strsep_2c): Likewise.
12965 (__strsep_3c): Likewise.
12966 * string/memccpy.c (__memccpy): Likewise.
12967 * string/stpcpy.c (__stpcpy): Likewise.
12968 * string/strcmp.c (strcmp): Likewise.
12969 * string/strrchr.c (strrchr): Likewise.
12970 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12971 Likewise.
12972 * sysdeps/mach/hurd/getcwd.c
12973 (_hurd_canonicalize_directory_name_internal): Likewise.
12974 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12975 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12976 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12977 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12978 Likewise, in both definitions.
12979 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12980 definitions.
12981 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12982 64] (__bswap_64): Likewise.
12983 * time/test_time.c (main): Likewise.
12984 * time/tzfile.c (__tzfile_read): Likewise.
12985 (__tzfile_compute): Likewise.
12986 * time/tzset.c (__tzset_parse_tz): Likewise.
12987 (tzset_internal): Likewise.
12988 (compute_change): Likewise.
12989 * wcsmbs/wcscat.c (__wcscat): Likewise.
12990 * wcsmbs/wcschr.c (wcschr): Likewise.
12991 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12992 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12993 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12994 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12995 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12996 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12997 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12998 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12999 * wcsmbs/wmemset.c (wmemset): Likewise.
13000
9e54314b
JM
130012013-06-06 Joseph Myers <joseph@codesourcery.com>
13002
13003 * scripts/config.guess: Update to version 2013-05-16.
13004 * scripts/config.sub: Update to version 2013-04-24.
13005 * scripts/install-sh: Update to version 2011-11-20.07.
13006 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13007 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13008
350635a5
OB
130092013-06-06 Ondřej Bílka <neleai@seznam.cz>
13010
13011 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13012 * elf/sln.c: Likewise.
13013 * hurd/hurd/ioctl.h: Likewise.
13014 * hurd/hurdmalloc.c: Likewise.
13015 * hurd/xattr.c: Likewise.
13016 * include/shlib-compat.h: Likewise.
13017 * inet/ruserpass.c: Likewise.
13018 * libio/iofgets_u.c: Likewise.
13019 * libio/iofgetws_u.c: Likewise.
13020 * locale/programs/ld-identification.c: Likewise.
13021 * locale/programs/ld-time.c: Likewise.
13022 * mach/msg-destroy.c: Likewise.
13023 * nss/nss_files/files-netgrp.c: Likewise.
13024 * resolv/res_data.c: Likewise.
13025 * soft-fp/op-1.h: Likewise.
13026 * soft-fp/op-2.h: Likewise.
13027 * soft-fp/op-4.h: Likewise.
13028 * soft-fp/op-common.h: Likewise.
13029 * stdio-common/printf_fphex.c: Likewise.
13030 * stdlib/strtod_l.c: Likewise.
13031 * sunrpc/rpc/clnt.h: Likewise.
13032 * sysdeps/generic/framestate.c: Likewise.
13033 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13034 * sysdeps/i386/bsd-setjmp.S: Likewise.
13035 * sysdeps/i386/__longjmp.S: Likewise.
13036 * sysdeps/i386/setjmp.S: Likewise.
13037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13038 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13039 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13040 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13041 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13042 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13043 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13044 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13045 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13046 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13047 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13048 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13049 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13050 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13051 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13052 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13053 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13054 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13055 * sysdeps/ieee754/support.c: Likewise.
13056 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13057 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13058 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13059 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13060 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13061 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13062 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13063 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13064 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13065 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13066 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13067 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13068 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13069 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13070 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13071 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13072 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13074
44a988af
OB
130752013-06-05 Ondřej Bílka <neleai@seznam.cz>
13076
25506f09 13077 * posix/transbug.c: Remove executable mode.
44a988af 13078
9c84384c
JM
130792013-06-05 Joseph Myers <joseph@codesourcery.com>
13080
13081 * crypt/speeds.c: Remove trailing whitespace.
13082 * dlfcn/default.c: Likewise.
13083 * elf/ifuncdep2.c: Likewise.
13084 * elf/ifuncmain1.c: Likewise.
13085 * elf/ifuncmain1vis.c: Likewise.
13086 * elf/testobj.h: Likewise.
13087 * elf/tst-stackguard1.c: Likewise.
13088 * gmon/sys/gmon.h: Likewise.
13089 * hurd/hurdmsg.c: Likewise.
13090 * hurd/new-fd.c: Likewise.
13091 * hurd/ports-get.c: Likewise.
13092 * iconvdata/ibm1008_420.c: Likewise.
13093 * inet/tst-getni1.c: Likewise.
13094 * inet/tst-getni2.c: Likewise.
13095 * libio/ioungetc.c: Likewise.
13096 * libio/wfiledoalloc.c: Likewise.
13097 * manual/libm-err-tab.pl: Likewise.
13098 * math/w_dremf.c: Likewise.
13099 * misc/ftruncate.c: Likewise.
13100 * posix/bug-glob2.c: Likewise.
13101 * posix/tst-pcre.c: Likewise.
13102 * posix/wait4.c: Likewise.
13103 * resolv/README: Likewise.
13104 * resolv/res_debug.h: Likewise.
13105 * resolv/tst-inet_ntop.c: Likewise.
13106 * setjmp/bug269-setjmp.c: Likewise.
13107 * soft-fp/extended.h: Likewise.
13108 * soft-fp/op-1.h: Likewise.
13109 * soft-fp/op-2.h: Likewise.
13110 * soft-fp/op-4.h: Likewise.
13111 * soft-fp/op-8.h: Likewise.
13112 * soft-fp/testit.c: Likewise.
13113 * stdio-common/bug16.c: Likewise.
13114 * stdlib/random.c: Likewise.
13115 * sunrpc/rpcsvc/rquota.x: Likewise.
13116 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13117 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13118 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13119 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13120 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13121 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13122 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13123 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13124 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13125 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13126 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13127 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13128 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13129 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13130 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13131 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13132 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13133 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13134 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13135 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13138 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13143 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13144 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13145 * sysdeps/ieee754/s_lib_version.c: Likewise.
13146 * sysdeps/mach/hurd/check_fds.c: Likewise.
13147 * sysdeps/mach/hurd/getsockname.c: Likewise.
13148 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13149 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13150 * sysdeps/powerpc/bits/link.h: Likewise.
13151 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13152 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13153 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13154 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13155 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13156 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13157 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13158 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13159 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13160 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13161 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13162 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13163 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13164 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13165 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13166 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13167 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13168 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13169 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13170 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13171 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13172 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13173 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13174 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13175 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13176 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13177 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13178 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13179 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13180 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13181 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13182 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13183 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13184 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13185 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13186 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13187 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13188 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13189 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13190 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13191 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13192 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13193 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13194 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13195 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13196 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13197 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13198 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13199 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13200 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13201 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13202 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13203 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13204 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13205 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13206 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13207 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13208 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13209 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13210 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13211 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13212 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13213 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13214 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13215 * sysdeps/powerpc/sysdep.h: Likewise.
13216 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13217 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13218 * sysdeps/sh/dl-trampoline.S: Likewise.
13219 * sysdeps/sh/memset.S: Likewise.
13220 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13221 * sysdeps/sh/strlen.S: Likewise.
13222 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13223 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13224 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13225 * sysdeps/sparc/sparc32/rem.S: Likewise.
13226 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13227 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13228 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13229 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13230 * sysdeps/sparc/sparc32/urem.S: Likewise.
13231 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13232 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13233 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13234 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13235 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13236 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13237 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13238 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13239 * sysdeps/unix/bsd/times.c: Likewise.
13240 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13241 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13245 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13246 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13247 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13248 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13249 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13250 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13251 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13252 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13253 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13254 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13255 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13256 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13257 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13258 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13259 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13260 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13261 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13262 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13263 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13264 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13265 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13266 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13267 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13268 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13269 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13270 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13271 * sysdeps/x86_64/strcspn.S: Likewise.
13272
869378a5
RA
132732013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13274
13275 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13276 generated file. Regenerate properly from gen-translit.pl.
13277 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13278 locale/C-translit.h.
13279
840e2943
AS
132802013-06-05 Andreas Schwab <schwab@suse.de>
13281
13282 [BZ #15100]
13283 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13284 week as 6 instead of -1.
13285 * time/tst-strptime.c (day_tests): Add test case.
13286
4c60cb0c
SP
132872013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13288
13289 * sysdeps/generic/math_private.h
13290 (libc_feholdexcept_setround_53bit): Replace with
13291 libc_feholdsetround_53bit.
13292 (libc_feupdateenv_53bit): Replace with
13293 libc_feresetround_53bit.
13294 (SET_RESTORE_ROUND_53BIT): Adjust.
13295
d180203e
SP
132962013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13297
96df079a
SP
13298 * string/test-strchrnul.c: Add copyright header.
13299
d180203e
SP
13300 * posix/tst-getaddrinfo4.c: Increase test timeout.
13301
8b0ccb2d
CD
133022013-06-03 Carlos O'Donell <carlos@redhat.com>
13303
13304 [BZ #15536]
13305 * math/libm-test.inc (MAX_EXP): Remove
13306 (MIN_EXP): Define.
13307 (ulp): Use MIN_EXP - MANT_DIG.
13308 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13309
3b3c4d40
CD
133102013-05-31 Carlos O'Donell <carlos@redhat.com>
13311
13312 * po/be.po: Revert last change.
13313 * po/zh_CN.po: Likewise.
13314 * po/header.pot: Likewise.
13315
fab7ce3f
JM
133162013-05-31 Joseph Myers <joseph@codesourcery.com>
13317
13318 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13319 link-libc-deps to empty as target-specific variable.
13320 * Makerules (link-libc-args): New variable.
13321 (libc-for-link): Likewise.
13322 (link-libc-deps): Likewise.
13323 (lib%.so): Depend on $(link-libc-deps). Link with
13324 $(link-libc-args).
13325 (build-module): Link with $(link-libc-args).
13326 (build-module-asneeded): Likewise.
13327 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13328 list of objects.
13329 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13330 target-specific variable.
13331 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13332 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13333 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13334 libc.
13335 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13336 libc and ld.so.
13337 ($(objpfx)libpcprofile.so): Likewise.
13338 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13339 libc_nonshared.a.
13340 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13341 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13342 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13343 $(link-libc-deps).
13344 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13345 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13346 * login/Makefile ($(objpfx)libutil.so): Likewise.
13347 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13348 * math/Makefile ($(objpfx)libm.so): Likewise.
13349 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13350 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13351 variable instead of depending directly on libc.
13352 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13353 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13354 $(link-libc-deps).
13355 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13356 libc.
13357 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13358 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13359 ($(objpfx)libanl.so): Likewise.
13360 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13361 ld.so.
13362 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13363 $(link-libc-deps).
13364 * sysdeps/i386/fpu/Makefile: Remove file.
13365 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13366 ($(objpfx)libm.so): Remove dependency on ld.so.
13367
eca5920c
PF
133682013-05-30 Patsy Franklin <pfrankli@redhat.com>
13369
13370 [BZ # 15553]
13371 * nis/yp_xdr.c (XDRMAXNAME): Define.
13372 (XDRMAXRECORD): Define.
13373 (xdr_domainname): Use XDRMAXNAME.
13374 (xdr_mapname): Likewise.
13375 (xdr_peername): Likewise.
13376 (xdr_keydat): Use XDRMAXRECORD.
13377 (xdr_valdat): Likewise.
13378
133792013-05-30 Jeff Law <law@redhat.com>
96945714
JL
13380
13381 [BZ #14256]
13382 * manual/errno.texi (ESTALE): Update to account for more than
13383 just NFS file systems.
13384 * sysdeps/gnu/errlist.c: Regenerated.
13385
b9375348
SP
133862013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13387
13388 [BZ #15465]
13389 * elf/Makefile (tests): Add tst-null-argv.
13390 (modules-names): Add tst-null-argv-lib.
13391 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13392 (tst-null-argv-ENV): Set environment for tst-null-argv.
13393 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13394 (RTLD_PROGNAME): New macro.
13395 * elf/tst-null-argv.c: New test case.
13396 * elf/tst-null-argv-lib.c: Library for test case.
13397 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13398 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13399 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13400 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13401 * elf/dl-init.c (call_init): Likewise.
13402 (_dl_init): Likewise.
13403 * elf/dl-load.c (print_search_path): Likewise.
13404 (_dl_map_object): Likewise.
13405 * elf/dl-lookup.c (do_lookup_x): Likewise.
13406 (add_dependency): Likewise.
13407 (_dl_lookup_symbol_x): Likewise.
13408 (_dl_debug_bindings): Likewise.
13409 * elf/dl-open.c (_dl_show_scope): Likewise.
13410 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13411 * elf/dl-version.c (match_symbol): Likewise.
13412 (_dl_check_map_versions): Likewise.
13413 * elf/rtld.c (dl_main): Likewise.
13414 (print_unresolved): Use RTLD_PROGNAME.
13415 (print_missing_version): Likewise.
13416 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13417 (elf_machine_rela): Likewise.
13418 * sysdeps/powerpc/powerpc32/dl-machine.c
13419 (__process_machine_rela): Likewise.
13420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13421 Likewise.
13422 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13423 Likewise.
13424 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13425 Likewise.
13426 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13428 Likewise.
13429 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13430 Likewise.
13431 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13432
8a9f20c8
CD
134332013-05-28 Carlos O'Donell <carlos@redhat.com>
13434
13435 * po/be.po: Add descriptive title.
13436 * po/zh_CN.po: Likewise.
13437 * po/header.pot: Likewise.
13438
0e60d68e
MF
134392013-05-28 Mike Frysinger <vapier@gentoo.org>
13440
13441 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13442 error message.
13443 (enlarge_archive): Likewise.
13444
56b672e9
BN
134452013-05-28 Ben North <ben@redfrontdoor.org>
13446
13447 * manual/arith.texi (frexp): It is the magnitude of the return
13448 value which lies in [0.5, 1), not the return value itself.
13449
5e056687
AZ
134502013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13451
13452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13453
2b66ef5d
TS
134542013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13455
528c2405
TS
13456 * stdio-common/bug26.c (main): Correct fscanf template.
13457
07b4c13d
TS
13458 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13459 declare _dl_skip_args.
13460
ec9dd97c
TS
13461 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13462 Don't declare.
13463
2b66ef5d
TS
13464 * manual/platform.texi: Add missing @end deftypefun.
13465
4f8dfe27
JM
134662013-05-24 Joseph Myers <joseph@codesourcery.com>
13467
0323d086
JM
13468 [BZ #15529]
13469 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13470 bit of mantissa of 2^16382.
13471 * math/libm-test.inc (hypot_test_data): Add more tests.
13472
dd4259b9
JM
13473 * math/libm-test.inc: Add drem and pow10 to list of tested
13474 functions.
13475 (pow10_test): New function.
13476 (drem_test): Likewise.
13477 (drem_test_tonearest): Likewise.
13478 (drem_test_towardzero): Likewise.
13479 (drem_test_downward): Likewise.
13480 (drem_test_upward): Likewise.
13481 (main): Call the new functions.
13482
4f8dfe27
JM
13483 * math/libm-test.inc (finite_test_data): Remove.
13484 (finite_test): Run tests from isfinite_test_data.
13485 (gamma_test_data): Remove.
13486 (gamma_test): Run tests from lgamma_test_data.
13487 * sysdeps/i386/fpu/libm-test-ulps: Update.
13488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13489
d116b7c4
AZ
134902013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13491
13492 * manual/platform.texi: Add PowerPC PPR function set documentation.
13493 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13494 implementation.
13495
e96e3767
CD
134962013-05-24 Carlos O'Donell <carlos@redhat.com>
13497
13498 * math/libm-test.inc (MAX_EXP): Define.
13499 (ULPDIFF): Define.
13500 (ulp): New function.
13501 (check_float_internal): Use ULPDIFF.
13502 (cpow_test): Disable failing test.
13503 (check_ulp): Test ulp() implemetnation.
13504 (main): Call check_ulp before starting tests.
13505
b679a606
JM
135062013-05-24 Joseph Myers <joseph@codesourcery.com>
13507
e8bdba36
JM
13508 * math/gen-libm-test.pl (generate_testfile): Do not handle
13509 START_DATA and END_DATA.
13510 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13511 END_DATA.
13512 (acos_tonearest_test_data): Likewise.
13513 (acos_towardzero_test_data): Likewise.
13514 (acos_downward_test_data): Likewise.
13515 (acos_upward_test_data): Likewise.
13516 (acosh_test_data): Likewise.
13517 (asin_test_data): Likewise.
13518 (asin_tonearest_test_data): Likewise.
13519 (asin_towardzero_test_data): Likewise.
13520 (asin_downward_test_data): Likewise.
13521 (asin_upward_test_data): Likewise.
13522 (asinh_test_data): Likewise.
13523 (atan_test_data): Likewise.
13524 (atanh_test_data): Likewise.
13525 (atan2_test_data): Likewise.
13526 (cabs_test_data): Likewise.
13527 (cacos_test_data): Likewise.
13528 (cacosh_test_data): Likewise.
13529 (carg_test_data): Likewise.
13530 (casin_test_data): Likewise.
13531 (casinh_test_data): Likewise.
13532 (catan_test_data): Likewise.
13533 (catanh_test_data): Likewise.
13534 (cbrt_test_data): Likewise.
13535 (ccos_test_data): Likewise.
13536 (ccosh_test_data): Likewise.
13537 (ceil_test_data): Likewise.
13538 (cexp_test_data): Likewise.
13539 (cimag_test_data): Likewise.
13540 (clog_test_data): Likewise.
13541 (clog10_test_data): Likewise.
13542 (conj_test_data): Likewise.
13543 (copysign_test_data): Likewise.
13544 (cos_test_data): Likewise.
13545 (cos_tonearest_test_data): Likewise.
13546 (cos_towardzero_test_data): Likewise.
13547 (cos_downward_test_data): Likewise.
13548 (cos_upward_test_data): Likewise.
13549 (cosh_test_data): Likewise.
13550 (cosh_tonearest_test_data): Likewise.
13551 (cosh_towardzero_test_data): Likewise.
13552 (cosh_downward_test_data): Likewise.
13553 (cosh_upward_test_data): Likewise.
13554 (cpow_test_data): Likewise.
13555 (cproj_test_data): Likewise.
13556 (creal_test_data): Likewise.
13557 (csin_test_data): Likewise.
13558 (csinh_test_data): Likewise.
13559 (csqrt_test_data): Likewise.
13560 (ctan_test_data): Likewise.
13561 (ctan_tonearest_test_data): Likewise.
13562 (ctan_towardzero_test_data): Likewise.
13563 (ctan_downward_test_data): Likewise.
13564 (ctan_upward_test_data): Likewise.
13565 (ctanh_test_data): Likewise.
13566 (ctanh_tonearest_test_data): Likewise.
13567 (ctanh_towardzero_test_data): Likewise.
13568 (ctanh_downward_test_data): Likewise.
13569 (ctanh_upward_test_data): Likewise.
13570 (erf_test_data): Likewise.
13571 (erfc_test_data): Likewise.
13572 (exp_test_data): Likewise.
13573 (exp_tonearest_test_data): Likewise.
13574 (exp_towardzero_test_data): Likewise.
13575 (exp_downward_test_data): Likewise.
13576 (exp_upward_test_data): Likewise.
13577 (exp10_test_data): Likewise.
13578 (exp2_test_data): Likewise.
13579 (expm1_test_data): Likewise.
13580 (fabs_test_data): Likewise.
13581 (fdim_test_data): Likewise.
13582 (finite_test_data): Likewise.
13583 (floor_test_data): Likewise.
13584 (fma_test_data): Likewise.
13585 (fma_towardzero_test_data): Likewise.
13586 (fma_downward_test_data): Likewise.
13587 (fma_upward_test_data): Likewise.
13588 (fmax_test_data): Likewise.
13589 (fmin_test_data): Likewise.
13590 (fmod_test_data): Likewise.
13591 (fpclassify_test_data): Likewise.
13592 (frexp_test_data): Likewise.
13593 (gamma_test_data): Likewise.
13594 (hypot_test_data): Likewise.
13595 (ilogb_test_data): Likewise.
13596 (isfinite_test_data): Likewise.
13597 (isgreater_test_data): Likewise.
13598 (isgreaterequal_test_data): Likewise.
13599 (isinf_test_data): Likewise.
13600 (isless_test_data): Likewise.
13601 (islessequal_test_data): Likewise.
13602 (islessgreater_test_data): Likewise.
13603 (isnan_test_data): Likewise.
13604 (isnormal_test_data): Likewise.
13605 (issignaling_test_data): Likewise.
13606 (isunordered_test_data): Likewise.
13607 (j0_test_data): Likewise.
13608 (j1_test_data): Likewise.
13609 (jn_test_data): Likewise.
13610 (ldexp_test_data): Likewise.
13611 (lgamma_test_data): Likewise.
13612 (lrint_test_data): Likewise.
13613 (lrint_tonearest_test_data): Likewise.
13614 (lrint_towardzero_test_data): Likewise.
13615 (lrint_downward_test_data): Likewise.
13616 (lrint_upward_test_data): Likewise.
13617 (llrint_test_data): Likewise.
13618 (llrint_tonearest_test_data): Likewise.
13619 (llrint_towardzero_test_data): Likewise.
13620 (llrint_downward_test_data): Likewise.
13621 (llrint_upward_test_data): Likewise.
13622 (log_test_data): Likewise.
13623 (log10_test_data): Likewise.
13624 (log1p_test_data): Likewise.
13625 (log2_test_data): Likewise.
13626 (logb_test_data): Likewise.
13627 (logb_downward_test_data): Likewise.
13628 (lround_test_data): Likewise.
13629 (llround_test_data): Likewise.
13630 (modf_test_data): Likewise.
13631 (nearbyint_test_data): Likewise.
13632 (nextafter_test_data): Likewise.
13633 (nexttoward_test_data): Likewise.
13634 (pow_test_data): Likewise.
13635 (pow_tonearest_test_data): Likewise.
13636 (pow_towardzero_test_data): Likewise.
13637 (pow_downward_test_data): Likewise.
13638 (pow_upward_test_data): Likewise.
13639 (remainder_test_data): Likewise.
13640 (remainder_tonearest_test_data): Likewise.
13641 (remainder_towardzero_test_data): Likewise.
13642 (remainder_downward_test_data): Likewise.
13643 (remainder_upward_test_data): Likewise.
13644 (remquo_test_data): Likewise.
13645 (rint_test_data): Likewise.
13646 (rint_tonearest_test_data): Likewise.
13647 (rint_towardzero_test_data): Likewise.
13648 (rint_downward_test_data): Likewise.
13649 (rint_upward_test_data): Likewise.
13650 (round_test_data): Likewise.
13651 (scalb_test_data): Likewise.
13652 (scalbn_test_data): Likewise.
13653 (scalbln_test_data): Likewise.
13654 (signbit_test_data): Likewise.
13655 (sin_test_data): Likewise.
13656 (sin_tonearest_test_data): Likewise.
13657 (sin_towardzero_test_data): Likewise.
13658 (sin_downward_test_data): Likewise.
13659 (sin_upward_test_data): Likewise.
13660 (sincos_test_data): Likewise.
13661 (sinh_test_data): Likewise.
13662 (sinh_tonearest_test_data): Likewise.
13663 (sinh_towardzero_test_data): Likewise.
13664 (sinh_downward_test_data): Likewise.
13665 (sinh_upward_test_data): Likewise.
13666 (sqrt_test_data): Likewise.
13667 (tan_test_data): Likewise.
13668 (tan_tonearest_test_data): Likewise.
13669 (tan_towardzero_test_data): Likewise.
13670 (tan_downward_test_data): Likewise.
13671 (tan_upward_test_data): Likewise.
13672 (tanh_test_data): Likewise.
13673 (tgamma_test_data): Likewise.
13674 (trunc_test_data): Likewise.
13675 (y0_test_data): Likewise.
13676 (y1_test_data): Likewise.
13677 (yn_test_data): Likewise.
13678 (significand_test_data): Likewise.
13679
b679a606
JM
13680 * math/gen-libm-test.pl (@functions): Remove variable.
13681 (generate_testfile): Don't handle START and END lines.
13682 * math/libm-test.inc (START): New macro.
13683 (END): Likewise.
13684 (END_COMPLEX): Likewise.
13685 (acos_test): Use END macro without arguments.
13686 (acos_test_tonearest): Likewise.
13687 (acos_test_towardzero): Likewise.
13688 (acos_test_downward): Likewise.
13689 (acos_test_upward): Likewise.
13690 (acosh_test): Likewise.
13691 (asin_test): Likewise.
13692 (asin_test_tonearest): Likewise.
13693 (asin_test_towardzero): Likewise.
13694 (asin_test_downward): Likewise.
13695 (asin_test_upward): Likewise.
13696 (asinh_test): Likewise.
13697 (atan_test): Likewise.
13698 (atanh_test): Likewise.
13699 (atan2_test): Likewise.
13700 (cabs_test): Likewise.
13701 (cacos_test): Use END_COMPLEX macro without arguments.
13702 (cacosh_test): Likewise.
13703 (carg_test): Use END macro without arguments.
13704 (casin_test): Use END_COMPLEX macro without arguments.
13705 (casinh_test): Likewise.
13706 (catan_test): Likewise.
13707 (catanh_test): Likewise.
13708 (cbrt_test): Use END macro without arguments.
13709 (ccos_test): Use END_COMPLEX macro without arguments.
13710 (ccosh_test): Likewise.
13711 (ceil_test): Use END macro without arguments.
13712 (cexp_test): Use END_COMPLEX macro without arguments.
13713 (cimag_test): Use END macro without arguments.
13714 (clog_test): Use END_COMPLEX macro without arguments.
13715 (clog10_test): Likewise.
13716 (conj_test): Likewise.
13717 (copysign_test): Use END macro without arguments.
13718 (cos_test): Likewise.
13719 (cos_test_tonearest): Likewise.
13720 (cos_test_towardzero): Likewise.
13721 (cos_test_downward): Likewise.
13722 (cos_test_upward): Likewise.
13723 (cosh_test): Likewise.
13724 (cosh_test_tonearest): Likewise.
13725 (cosh_test_towardzero): Likewise.
13726 (cosh_test_downward): Likewise.
13727 (cosh_test_upward): Likewise.
13728 (cpow_test): Use END_COMPLEX macro without arguments.
13729 (cproj_test): Likewise.
13730 (creal_test): Use END macro without arguments.
13731 (csin_test): Use END_COMPLEX macro without arguments.
13732 (csinh_test): Likewise.
13733 (csqrt_test): Likewise.
13734 (ctan_test): Likewise.
13735 (ctan_test_tonearest): Likewise.
13736 (ctan_test_towardzero): Likewise.
13737 (ctan_test_downward): Likewise.
13738 (ctan_test_upward): Likewise.
13739 (ctanh_test): Likewise.
13740 (ctanh_test_tonearest): Likewise.
13741 (ctanh_test_towardzero): Likewise.
13742 (ctanh_test_downward): Likewise.
13743 (ctanh_test_upward): Likewise.
13744 (erf_test): Use END macro without arguments.
13745 (erfc_test): Likewise.
13746 (exp_test): Likewise.
13747 (exp_test_tonearest): Likewise.
13748 (exp_test_towardzero): Likewise.
13749 (exp_test_downward): Likewise.
13750 (exp_test_upward): Likewise.
13751 (exp10_test): Likewise.
13752 (exp2_test): Likewise.
13753 (expm1_test): Likewise.
13754 (fabs_test): Likewise.
13755 (fdim_test): Likewise.
13756 (finite_test): Likewise.
13757 (floor_test): Likewise.
13758 (fma_test): Likewise.
13759 (fma_test_towardzero): Likewise.
13760 (fma_test_downward): Likewise.
13761 (fma_test_upward): Likewise.
13762 (fmax_test): Likewise.
13763 (fmin_test): Likewise.
13764 (fmod_test): Likewise.
13765 (fpclassify_test): Likewise.
13766 (frexp_test): Likewise.
13767 (gamma_test): Likewise.
13768 (hypot_test): Likewise.
13769 (ilogb_test): Likewise.
13770 (isfinite_test): Likewise.
13771 (isgreater_test): Likewise.
13772 (isgreaterequal_test): Likewise.
13773 (isinf_test): Likewise.
13774 (isless_test): Likewise.
13775 (islessequal_test): Likewise.
13776 (islessgreater_test): Likewise.
13777 (isnan_test): Likewise.
13778 (isnormal_test): Likewise.
13779 (issignaling_test): Likewise.
13780 (isunordered_test): Likewise.
13781 (j0_test): Likewise.
13782 (j1_test): Likewise.
13783 (jn_test): Likewise.
13784 (ldexp_test): Likewise.
13785 (lgamma_test): Likewise.
13786 (lrint_test): Likewise.
13787 (lrint_test_tonearest): Likewise.
13788 (lrint_test_towardzero): Likewise.
13789 (lrint_test_downward): Likewise.
13790 (lrint_test_upward): Likewise.
13791 (llrint_test): Likewise.
13792 (llrint_test_tonearest): Likewise.
13793 (llrint_test_towardzero): Likewise.
13794 (llrint_test_downward): Likewise.
13795 (llrint_test_upward): Likewise.
13796 (log_test): Likewise.
13797 (log10_test): Likewise.
13798 (log1p_test): Likewise.
13799 (log2_test): Likewise.
13800 (logb_test): Likewise.
13801 (logb_test_downward): Likewise.
13802 (lround_test): Likewise.
13803 (llround_test): Likewise.
13804 (modf_test): Likewise.
13805 (nearbyint_test): Likewise.
13806 (nextafter_test): Likewise.
13807 (nexttoward_test): Likewise.
13808 (pow_test): Likewise.
13809 (pow_test_tonearest): Likewise.
13810 (pow_test_towardzero): Likewise.
13811 (pow_test_downward): Likewise.
13812 (pow_test_upward): Likewise.
13813 (remainder_test): Likewise.
13814 (remainder_test_tonearest): Likewise.
13815 (remainder_test_towardzero): Likewise.
13816 (remainder_test_downward): Likewise.
13817 (remainder_test_upward): Likewise.
13818 (remquo_test): Likewise.
13819 (rint_test): Likewise.
13820 (rint_test_tonearest): Likewise.
13821 (rint_test_towardzero): Likewise.
13822 (rint_test_downward): Likewise.
13823 (rint_test_upward): Likewise.
13824 (round_test): Likewise.
13825 (scalb_test): Likewise.
13826 (scalbn_test): Likewise.
13827 (scalbln_test): Likewise.
13828 (signbit_test): Likewise.
13829 (sin_test): Likewise.
13830 (sin_test_tonearest): Likewise.
13831 (sin_test_towardzero): Likewise.
13832 (sin_test_downward): Likewise.
13833 (sin_test_upward): Likewise.
13834 (sincos_test): Likewise.
13835 (sinh_test): Likewise.
13836 (sinh_test_tonearest): Likewise.
13837 (sinh_test_towardzero): Likewise.
13838 (sinh_test_downward): Likewise.
13839 (sinh_test_upward): Likewise.
13840 (sqrt_test): Likewise.
13841 (tan_test): Likewise.
13842 (tan_test_tonearest): Likewise.
13843 (tan_test_towardzero): Likewise.
13844 (tan_test_downward): Likewise.
13845 (tan_test_upward): Likewise.
13846 (tanh_test): Likewise.
13847 (tgamma_test): Likewise.
13848 (trunc_test): Likewise.
13849 (y0_test): Likewise.
13850 (y1_test): Likewise.
13851 (yn_test): Likewise.
13852 (significand_test): Likewise.
13853
bae143d2
OB
138542013-05-24 Ondřej Bílka <neleai@seznam.cz>
13855
13856 [BZ #15381]
13857 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13858
9323d39b
EM
138592013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13860
d4ea44a0 13861 [BZ #14894]
9323d39b
EM
13862 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13863 __ppc_mdoio and __ppc_mdoom.
13864 * manual/platform.texi: Document new functions __ppc_yield,
13865 __ppc_mdoio and __ppc_mdoom.
13866
13e23af7
CD
138672013-05-22 Carlos O'Donell <carlos@redhat.com>
13868
13869 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13870 (main): Mention "tls" pseudo-hwcap is legacy.
13871 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13872
351fe550
JM
138732013-05-22 Joseph Myers <joseph@codesourcery.com>
13874
13875 * math/gen-libm-test.pl (parse_args): Output only string of
13876 arguments as text for test name, not full call or descriptions of
13877 tests for extra outputs.
13878 (generate_testfile): Do not pass function name to parse_args.
13879 Generate this_func variable from START.
13880 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13881 field to arg_str.
13882 (struct test_ff_f_data): Likewise.
13883 (test_ff_f_data_nexttoward): Likewise.
13884 (struct test_fi_f_data): Likewise.
13885 (struct test_fl_f_data): Likewise.
13886 (struct test_if_f_data): Likewise.
13887 (struct test_fff_f_data): Likewise.
13888 (struct test_c_f_data): Likewise.
13889 (struct test_f_f1_data): Likewise. Remove field extra_name.
13890 (struct test_fF_f1_data): Likewise.
13891 (struct test_ffI_f1_data): Likewise.
13892 (struct test_c_c_data): Rename test_name field to arg_str.
13893 (struct test_cc_c_data): Likewise.
13894 (struct test_f_i_data): Likewise.
13895 (struct test_ff_i_data): Likewise.
13896 (struct test_f_l_data): Likewise.
13897 (struct test_f_L_data): Likewise.
13898 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13899 and extra2_name.
13900 (COMMON_TEST_SETUP): New macro.
13901 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13902 (COMMON_TEST_CLEANUP): Likewise.
13903 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13904 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13905 macros.
13906 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13907 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13908 macros.
13909 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13910 (RUN_TEST_fff_f): Take argument string. Call new setup and
13911 cleanup macros.
13912 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13913 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13914 macros.
13915 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13916 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13917 macros.
13918 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13919 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13920 cleanup macros.
13921 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13922 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13923 cleanup macros.
13924 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13925 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13926 cleanup macros.
13927 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13928 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13929 macros.
13930 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13931 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13932 macros.
13933 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13934 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13935 macros.
13936 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13937 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13938 cleanup macros.
13939 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13940 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13941 cleanup macros.
13942 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13943 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13944 macros.
13945 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13946 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13947 cleanup macros.
13948 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13949 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13950 macros.
13951 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
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_fFF_11): Take argument string. Call new setup and
13956 cleanup macros.
13957 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13958
85118d4d
EBM
139592013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13960
13961 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13962 to _sifields.sigfault.
13963 (si_addr_lsb): Define new macro.
13964 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13965 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13966 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13967
7a44c18f
CD
139682013-05-03 Carlos O'Donell <carlos at redhat.com>
13969
13970 [BZ #15441]
13971 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13972 returns -1.
13973 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13974 null return -1.
13975 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13976 loading the domain.
13977
b50a7181
JM
139782013-05-22 Joseph Myers <joseph@codesourcery.com>
13979
13980 * math/gen-libm-test.pl (parse_args): Do not include expected
13981 result in test name.
13982 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13983 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13984 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13985 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13986 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13988
051063c8
SP
139892013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13990
3ce9e010
SP
13991 * benchtests/Makefile: Sort function entries.
13992
051063c8
SP
13993 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13994 tanh, asinh, acosh, atanh.
13995 * benchtests/acos-inputs: New file.
13996 * benchtests/acosh-inputs: New file.
13997 * benchtests/asin-inputs: New file.
13998 * benchtests/asinh-inputs: New file.
13999 * benchtests/atanh-inputs: New file.
14000 * benchtests/cosh-inputs: New file.
14001 * benchtests/log-inputs: New file.
14002 * benchtests/sinh-inputs: New file.
14003 * benchtests/tanh-inputs: New file.
14004
47c22455
DL
140052013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14006
14007 [BZ #15339]
14008 * posix/tst-getaddrinfo4.c: New test.
14009 * posix/Makefile (tests): Add it.
14010
3d04f5db
SP
140112013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14012
14013 [BZ #15339]
14014 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14015 when no services were used.
14016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14017 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14018
d5dd6189
AS
140192013-05-21 Andreas Schwab <schwab@suse.de>
14020
14021 [BZ #15014]
14022 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14023 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14024 successful.
14025 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14026 redundant variable declarations and reallocation of buffer when
14027 parsing as IPv6 address. Always set NSS status when called from
14028 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14029 buffer too small. Correct computation of needed size.
14030 * nss/Makefile (tests): Add test-digits-dots.
14031 * nss/test-digits-dots.c: New test.
14032
fef94eab
SP
140332013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14034
14035 * benchtests/Makefile: Remove instructions for adding
14036 benchmark tests.
14037 * benchtests/README: New file to explain how to execute and
14038 enhance the benchmark tests.
14039
e39adf43
AS
140402013-05-21 Andreas Schwab <schwab@suse.de>
14041
14042 [BZ #15493]
14043 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14044 * setjmp/tst-sigsetjmp.c: New test.
14045
b2b671b6
OB
140462013-05-20 Ondřej Bílka <neleai@seznam.cz>
14047
14048 * sysdeps/x86_64/memset.S (memset): New implementation.
14049 (__bzero): Likewise.
14050 (__memset_tail): New function.
14051
2d48b41c
OB
140522013-05-20 Ondřej Bílka <neleai@seznam.cz>
14053
14054 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14055 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14056 __memcpy_sse2_unaligned ifunc selection.
14057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14058 Add memcpy-sse2-unaligned.S.
14059 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14060 Add: __memcpy_sse2_unaligned.
14061
f16cc3eb
JM
140622013-05-19 Joseph Myers <joseph@codesourcery.com>
14063
3e694268
JM
14064 [BZ #15490]
14065 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14066 math_force_eval before restoring floating-point envrionment.
14067 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14068 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14069 Likewise.
14070 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14071 <math_private.h>.
14072 (__nearbyintl): Use math_force_eval before restoring
14073 floating-point environment.
14074 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14075
db62a907
JM
14076 * math/gen-libm-test.pl (special_functions): Remove.
14077 (parse_args): Don't handle TEST_extra. Handle functions with no
14078 return value.
14079 * math/libm-test.inc (struct test_sincos_data): Replace with
14080 struct test_fFF_11_data.
14081 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14082 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14083 (sincos_test_data): Change element type to struct
14084 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14085 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14086 RUN_TEST_LOOP_sincos.
14087 * math/README.libm-test: Don't mention special handling of
14088 individual functions.
14089 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14090 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14091 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14092 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14093 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14095
f16cc3eb
JM
14096 * math/gen-libm-test.pl (get_variable): Remove function.
14097 (parse_args): Don't show pointer parameters to call in test
14098 names. Use "extra output N" in test names for extra outputs
14099 rather than naming variables.
14100
3779b5b6
JM
141012013-05-18 Joseph Myers <joseph@codesourcery.com>
14102
2ee094ff
JM
14103 [BZ #15488]
14104 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14105 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14106 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14107 double tests.
14108 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14109 disable.
14110 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14111 check_long_double.
14112
3779b5b6
JM
14113 * math/gen-libm-test.pl (@tests): Remove variable.
14114 ($count): Likewise.
14115 (new_test): Remove function.
14116 (show_exceptions): New function.
14117 (special_functions): Use show_exceptions instead of new_test.
14118 (parse_args): Likewise.
14119 (generate_testfile): Pass only function name in generated call to
14120 print_max_error or print_complex_max_error.
14121 (get_ulps): Do not handle complex tests specially.
14122 (output_test): Rename to ...
14123 (get_all_ulps_for_test): ... this. Return a string rather than
14124 printing to a file. Require ulps to be present.
14125 (output_ulps): Generate arrays rather than #defines.
14126 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14127 (struct ulp_data): New type.
14128 (BUILD_COMPLEX_ULP): Remove macro.
14129 (compare_ulp_data): New function.
14130 (find_ulps): Likewise.
14131 (find_test_ulps): Likewise.
14132 (find_function_ulps): Likewise.
14133 (find_complex_function_ulps): Likewise.
14134 (print_max_error): Determine allowed ulps using
14135 find_function_ulps.
14136 (print_complex_max_error): Determine allowed ulps using
14137 find_complex_function_ulps.
14138 (check_float_internal): Determine max ulps using find_test_ulps.
14139 (check_float): Do not take max_ulp parameter. Update call to
14140 check_float_internal.
14141 (check_complex): Likewise.
14142 (check_int): Do not take max_ulp parameter.
14143 (check_long): Likewise.
14144 (check_bool): Likewise.
14145 (check_longlong): Likewise.
14146 (struct test_f_f_data): Remove max_ulp field.
14147 (struct test_ff_f_data): Likewise.
14148 (struct test_ff_f_data_nexttoward): Likewise.
14149 (struct test_fi_f_data): Likewise.
14150 (struct test_fl_f_data): Likewise.
14151 (struct test_if_f_data): Likewise.
14152 (struct test_fff_f_data): Likewise.
14153 (struct test_c_f_data): Likewise.
14154 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14155 (struct test_fF_f1_data): Likewise.
14156 (struct test_ffI_f1_data): Likewise.
14157 (struct test_c_c_data): Remove max_ulp field.
14158 (struct test_cc_c_data): Likewise.
14159 (struct test_f_i_data): Likewise.
14160 (struct test_ff_i_data): Likewise.
14161 (struct test_f_l_data): Likewise.
14162 (struct test_f_L_data): Likewise.
14163 (struct test_sincos_data): Likewise.
14164 (RUN_TEST_f_f): Do not handle ulps.
14165 (RUN_TEST_LOOP_f_f): Likewise.
14166 (RUN_TEST_2_f): Likewise.
14167 (RUN_TEST_LOOP_2_f): Likewise.
14168 (RUN_TEST_fff_f): Likewise.
14169 (RUN_TEST_LOOP_fff_f): Likewise.
14170 (RUN_TEST_c_f): Likewise.
14171 (RUN_TEST_LOOP_c_f): Likewise.
14172 (RUN_TEST_f_f1): Likewise.
14173 (RUN_TEST_LOOP_f_f1): Likewise.
14174 (RUN_TEST_fF_f1): Likewise.
14175 (RUN_TEST_LOOP_fF_f1): Likewise.
14176 (RUN_TEST_fI_f1): Likewise.
14177 (RUN_TEST_LOOP_fI_f1): Likewise.
14178 (RUN_TEST_ffI_f1): Likewise.
14179 (RUN_TEST_LOOP_ffI_f1): Likewise.
14180 (RUN_TEST_c_c): Likewise.
14181 (RUN_TEST_LOOP_c_c): Likewise.
14182 (RUN_TEST_cc_c): Likewise.
14183 (RUN_TEST_LOOP_cc_c): Likewise.
14184 (RUN_TEST_f_i): Likewise.
14185 (RUN_TEST_LOOP_f_i): Likewise.
14186 (RUN_TEST_f_i_tg): Likewise.
14187 (RUN_TEST_LOOP_f_i_tg): Likewise.
14188 (RUN_TEST_ff_i_tg): Likewise.
14189 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14190 (RUN_TEST_f_b): Likewise.
14191 (RUN_TEST_LOOP_f_b): Likewise.
14192 (RUN_TEST_f_b_tg): Likewise.
14193 (RUN_TEST_LOOP_f_b_tg): Likewise.
14194 (RUN_TEST_f_l): Likewise.
14195 (RUN_TEST_LOOP_f_l): Likewise.
14196 (RUN_TEST_f_L): Likewise.
14197 (RUN_TEST_LOOP_f_L): Likewise.
14198 (RUN_TEST_sincos): Likewise.
14199 (RUN_TEST_LOOP_sincos): Likewise.
14200
8269107f
JM
142012013-05-17 Joseph Myers <joseph@codesourcery.com>
14202
bb38759d
JM
14203 [BZ #15480]
14204 [BZ #15485]
14205 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14206 main case of finite arguments, set rounding mode to FE_TONEAREST
14207 and discard exceptions.
14208 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14209 exceptions.
14210 (remainder_tonearest_test_data): New variable.
14211 (remainder_test_tonearest): New function.
14212 (remainder_towardzero_test_data): New variable.
14213 (remainder_test_towardzero): New function.
14214 (remainder_downward_test_data): New variable.
14215 (remainder_test_downward): New function.
14216 (remainder_upward_test_data): New variable.
14217 (remainder_test_upward): New function.
14218 (main): Call the new test functions.
14219
a00bdcf0
JM
14220 * math/libm-test.inc (struct test_f_f1_data): Remove field
14221 extra_init.
14222 (struct test_fF_f1_data): Likewise.
14223 (struct test_ffI_f1_data): Likewise.
14224 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14225 based on value of EXTRA_EXPECTED.
14226 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14227 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14228 EXTRA_VAR based on value of EXTRA_EXPECTED.
14229 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14230 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14231 EXTRA_VAR based on value of EXTRA_EXPECTED.
14232 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14233 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14234 EXTRA_VAR based on value of EXTRA_EXPECTED.
14235 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14236 * math/gen-libm-test.pl (parse_args): Don't output initializers
14237 for extra output values.
14238
de407f79
JM
14239 * math/libm-test.inc (check_int): Expect result to be exactly
14240 equal to expected value and do not handle ulps.
14241 (check_long): Likewise.
14242 (check_longlong): Likewise.
14243
8269107f
JM
14244 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14245 exceptions.
14246 (cimag_test_data): Likewise.
14247 (conj_test_data): Likewise.
14248 (copysign_test_data): Likewise.
14249 (cproj_test_data): Likewise.
14250 (creal_test_data): Likewise.
14251 (fabs_test_data): Likewise.
14252 (fdim_test_data): Likewise.
14253 (finite_test_data): Likewise.
14254 (floor_test_data): Likewise.
14255 (fmax_test_data): Likewise.
14256 (fmin_test_data): Likewise.
14257 (fmod_test_data): Likewise.
14258 (fpclassify_test_data): Likewise.
14259 (frexp_test_data): Likewise.
14260 (ilogb_test_data): Likewise.
14261 (isfinite_test_data): Likewise.
14262 (isgreater_test_data): Likewise.
14263 (isgreaterequal_test_data): Likewise.
14264 (isinf_test_data): Likewise.
14265 (isless_test_data): Likewise.
14266 (islessequal_test_data): Likewise.
14267 (islessgreater_test_data): Likewise.
14268 (isnan_test_data): Likewise.
14269 (isnormal_test_data): Likewise.
14270 (issignaling_test_data): Likewise.
14271 (isunordered_test_data): Likewise.
14272 (ldexp_test_data): Likewise.
14273 (lrint_test_data): Likewise.
14274 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14275 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14276 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14277 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14278 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14279 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14280 test input.
14281 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14282 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14283 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14284 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14285 that test input.
14286 (lrint_downward_test_data): Test for "inexact" exceptions.
14287 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14288 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14289 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14290 test input.
14291 (lrint_upward_test_data): Test for "inexact" exceptions.
14292 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14293 test input.
14294 (llrint_test_data): Test for "inexact" exceptions.
14295 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14296 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14297 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14298 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14299 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14300 (llrint_downward_test_data): Test for "inexact" exceptions.
14301 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14302 (llrint_upward_test_data): Test for "inexact" exceptions.
14303 (logb_test_data): Likewise.
14304 (logb_downward_test_data): Likewise.
14305 (nextafter_test_data): Likewise.
14306 (nexttoward_test_data): Likewise.
14307 (remainder_test_data): Likewise.
14308 (remquo_test_data): Likewise.
14309 (scalbn_test_data): Likewise.
14310 (scalbln_test_data): Likewise.
14311 (signbit_test_data): Likewise.
14312 (sqrt_test_data): Likewise.
14313 (significand_test_data): Likewise.
14314
48a18de1
SP
143152013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14316
14317 [BZ #15424]
14318 * benchtests/bench-modf.c (struct args): Mark arg0 as
14319 volatile.
14320 * scripts/bench.pl: Mark members of struct args as volatile.
14321
13d3b41a
AZ
143222013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14323
68191c1d 14324 [BZ # 15497]
13d3b41a
AZ
14325 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14326 negative infinity on POWER6 or lower.
14327 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14328
2848b105
MR
143292013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14330
14331 [BZ #15442]
14332 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14333 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14334 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14335 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14336 (_FP_SETQNAN): New macro.
14337 (_FP_SETQNAN_SEMIRAW): Likewise.
14338 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14339 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14340 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14341 (FP_EXTEND): Use _FP_FRAC_SNANP.
14342 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14343 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14344 into account.
14345 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14346 New macro.
14347 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14348 Likewise.
14349
323e5cb7
JM
143502013-05-16 Joseph Myers <joseph@codesourcery.com>
14351
c58b274f
JM
14352 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14353 with DIVIDE_BY_ZERO_EXCEPTION.
14354 (gamma_test_data): Likewise.
14355 (lgamma_test_data): Likewise.
14356 (log_test_data): Likewise.
14357 (log10_test_data): Likewise.
14358 (log2_test_data): Likewise.
14359 (tgamma_test_data): Likewise.
14360
0ab34904
JM
14361 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14362 (acos_test_tonearest): Likewise.
14363 (acos_test_towardzero): Likewise.
14364 (acos_test_downward): Likewise.
14365 (acos_test_upward): Likewise.
14366 (acosh_test): Likewise.
14367 (asin_test): Likewise.
14368 (asin_test_tonearest): Likewise.
14369 (asin_test_towardzero): Likewise.
14370 (asin_test_downward): Likewise.
14371 (asin_test_upward): Likewise.
14372 (asinh_test): Likewise.
14373 (atan_test): Likewise.
14374 (atanh_test): Likewise.
14375 (atan2_test): Likewise.
14376 (cabs_test): Likewise.
14377 (cacos_test): Likewise.
14378 (cacosh_test): Likewise.
14379 (casin_test): Likewise.
14380 (casinh_test): Likewise.
14381 (catan_test): Likewise.
14382 (catanh_test): Likewise.
14383 (cbrt_test): Likewise.
14384 (ccos_test): Likewise.
14385 (ccosh_test): Likewise.
14386 (cexp_test): Likewise.
14387 (clog_test): Likewise.
14388 (clog10_test): Likewise.
14389 (cos_test): Likewise.
14390 (cos_test_tonearest): Likewise.
14391 (cos_test_towardzero): Likewise.
14392 (cos_test_downward): Likewise.
14393 (cos_test_upward): Likewise.
14394 (cosh_test): Likewise.
14395 (cosh_test_tonearest): Likewise.
14396 (cosh_test_towardzero): Likewise.
14397 (cosh_test_downward): Likewise.
14398 (cosh_test_upward): Likewise.
14399 (cpow_test): Likewise.
14400 (csin_test): Likewise.
14401 (csinh_test): Likewise.
14402 (csqrt_test): Likewise.
14403 (ctan_test): Likewise.
14404 (ctan_test_tonearest): Likewise.
14405 (ctan_test_towardzero): Likewise.
14406 (ctan_test_downward): Likewise.
14407 (ctan_test_upward): Likewise.
14408 (ctanh_test): Likewise.
14409 (ctanh_test_tonearest): Likewise.
14410 (ctanh_test_towardzero): Likewise.
14411 (ctanh_test_downward): Likewise.
14412 (ctanh_test_upward): Likewise.
14413 (erf_test): Likewise.
14414 (erfc_test): Likewise.
14415 (exp_test): Likewise.
14416 (exp_test_tonearest): Likewise.
14417 (exp_test_towardzero): Likewise.
14418 (exp_test_downward): Likewise.
14419 (exp_test_upward): Likewise.
14420 (exp10_test): Likewise.
14421 (exp2_test): Likewise.
14422 (expm1_test): Likewise.
14423 (fmod_test): Likewise.
14424 (gamma_test): Likewise.
14425 (hypot_test): Likewise.
14426 (j0_test): Likewise.
14427 (j1_test): Likewise.
14428 (jn_test): Likewise.
14429 (lgamma_test): Likewise.
14430 (log_test): Likewise.
14431 (log10_test): Likewise.
14432 (log1p_test): Likewise.
14433 (log2_test): Likewise.
14434 (logb_test_downward): Likewise.
14435 (pow_test): Likewise.
14436 (pow_test_tonearest): Likewise.
14437 (pow_test_towardzero): Likewise.
14438 (pow_test_downward): Likewise.
14439 (pow_test_upward): Likewise.
14440 (remainder_test): Likewise.
14441 (remquo_test): Likewise.
14442 (sin_test): Likewise.
14443 (sin_test_tonearest): Likewise.
14444 (sin_test_towardzero): Likewise.
14445 (sin_test_downward): Likewise.
14446 (sin_test_upward): Likewise.
14447 (sincos_test): Likewise.
14448 (sinh_test): Likewise.
14449 (sinh_test_tonearest): Likewise.
14450 (sinh_test_towardzero): Likewise.
14451 (sinh_test_downward): Likewise.
14452 (sinh_test_upward): Likewise.
14453 (sqrt_test): Likewise.
14454 (tan_test): Likewise.
14455 (tan_test_tonearest): Likewise.
14456 (tan_test_towardzero): Likewise.
14457 (tan_test_downward): Likewise.
14458 (tan_test_upward): Likewise.
14459 (tanh_test): Likewise.
14460 (tgamma_test): Likewise.
14461 (y0_test): Likewise.
14462 (y1_test): Likewise.
14463 (yn_test): Likewise.
14464
323e5cb7
JM
14465 * math/gen-libm-test.pl (adjust_arg): Remove function.
14466 (special_function): Remove argument $in_func. Only handle
14467 generating output for tables of tests, not inside functions.
14468 (parse_args): Likewise.
14469 (generate_testfile): Remove variable $in_func. Update call to
14470 parse_args.
14471 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14472 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14473 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14474 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14475 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14476 (MAX_VALUE_INIT): Rename macro to max_value.
14477 (MIN_VALUE_INIT): Rename macro to min_value.
14478 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14479 (plus_zero): Remove variable.
14480 (minus_zero): Likewise.
14481 (plus_infty): Likewise.
14482 (minus_infty): Likewise.
14483 (qnan_value): Likewise.
14484 (max_value): Likewise.
14485 (min_value): Likewise.
14486 (min_subnorm_value): Likewise.
14487
e054f494
RA
144882013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14489
14490 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14491 uint64_t or uint32_t usage.
14492 * crypt/sha256-block.c: Likewise.
14493 * crypt/sha256-crypt.c: Likewise.
14494 * crypt/sha256.c: Likewise.
14495 * crypt/sha512-block.c: Likewise.
14496 * crypt/sha512-crypt.c: Likewise.
14497 * crypt/sha512.c: Likewise.
14498 * debug/backtrace-tst.c: Likewise.
14499 * debug/pcprofiledump.c: Likewise.
14500 * elf/cache.c: Likewise.
14501 * elf/dl-cache.c: Likewise.
14502 * elf/dl-misc.c: Likewise.
14503 * elf/dl-profile.c: Likewise.
14504 * elf/dl-support.c: Likewise.
14505 * elf/ldconfig.c: Likewise.
14506 * elf/sprof.c: Likewise.
14507 * iconv/dummy-repertoire.c: Likewise.
14508 * iconv/iconv_charmap.c: Likewise.
14509 * iconv/skeleton.c: Likewise.
14510 * iconvdata/8bit-generic.c: Likewise.
14511 * iconvdata/cp737.h: Likewise.
14512 * iconvdata/cp775.h: Likewise.
14513 * iconvdata/ibm1008.h: Likewise.
14514 * iconvdata/ibm1025.h: Likewise.
14515 * iconvdata/ibm1046.h: Likewise.
14516 * iconvdata/ibm1097.h: Likewise.
14517 * iconvdata/ibm1112.h: Likewise.
14518 * iconvdata/ibm1122.h: Likewise.
14519 * iconvdata/ibm1123.h: Likewise.
14520 * iconvdata/ibm1124.h: Likewise.
14521 * iconvdata/ibm1129.h: Likewise.
14522 * iconvdata/ibm1130.h: Likewise.
14523 * iconvdata/ibm1132.h: Likewise.
14524 * iconvdata/ibm1133.h: Likewise.
14525 * iconvdata/ibm1137.h: Likewise.
14526 * iconvdata/ibm1140.h: Likewise.
14527 * iconvdata/ibm1141.h: Likewise.
14528 * iconvdata/ibm1142.h: Likewise.
14529 * iconvdata/ibm1143.h: Likewise.
14530 * iconvdata/ibm1144.h: Likewise.
14531 * iconvdata/ibm1145.h: Likewise.
14532 * iconvdata/ibm1146.h: Likewise.
14533 * iconvdata/ibm1147.h: Likewise.
14534 * iconvdata/ibm1148.h: Likewise.
14535 * iconvdata/ibm1149.h: Likewise.
14536 * iconvdata/ibm1153.h: Likewise.
14537 * iconvdata/ibm1154.h: Likewise.
14538 * iconvdata/ibm1155.h: Likewise.
14539 * iconvdata/ibm1156.h: Likewise.
14540 * iconvdata/ibm1157.h: Likewise.
14541 * iconvdata/ibm1158.h: Likewise.
14542 * iconvdata/ibm1160.h: Likewise.
14543 * iconvdata/ibm1161.h: Likewise.
14544 * iconvdata/ibm1162.h: Likewise.
14545 * iconvdata/ibm1163.h: Likewise.
14546 * iconvdata/ibm1164.h: Likewise.
14547 * iconvdata/ibm1166.h: Likewise.
14548 * iconvdata/ibm1167.h: Likewise.
14549 * iconvdata/ibm12712.h: Likewise.
14550 * iconvdata/ibm1390.h: Likewise.
14551 * iconvdata/ibm1399.h: Likewise.
14552 * iconvdata/ibm16804.h: Likewise.
14553 * iconvdata/ibm4517.h: Likewise.
14554 * iconvdata/ibm4899.h: Likewise.
14555 * iconvdata/ibm4909.h: Likewise.
14556 * iconvdata/ibm4971.h: Likewise.
14557 * iconvdata/ibm5347.h: Likewise.
14558 * iconvdata/ibm803.h: Likewise.
14559 * iconvdata/ibm856.h: Likewise.
14560 * iconvdata/ibm901.h: Likewise.
14561 * iconvdata/ibm902.h: Likewise.
14562 * iconvdata/ibm9030.h: Likewise.
14563 * iconvdata/ibm9066.h: Likewise.
14564 * iconvdata/ibm921.h: Likewise.
14565 * iconvdata/ibm922.h: Likewise.
14566 * iconvdata/ibm9448.h: Likewise.
14567 * iconvdata/isiri-3342.h: Likewise.
14568 * iconvdata/jis0201.h: Likewise.
14569 * include/link.h: Likewise.
14570 * include/netdb.h: Likewise.
14571 * inet/check_native.c: Likewise.
14572 * inet/check_pf.c: Likewise.
14573 * inet/getipv4sourcefilter.c: Likewise.
14574 * inet/getnameinfo.c: Likewise.
14575 * inet/getsourcefilter.c: Likewise.
14576 * inet/htonl.c: Likewise.
14577 * inet/setipv4sourcefilter.c: Likewise.
14578 * inet/setsourcefilter.c: Likewise.
14579 * inet/test-inet6_opt.c: Likewise.
14580 * inet/tst-network.c: Likewise.
14581 * locale/C-collate.c: Likewise.
14582 * locale/C-ctype.c: Likewise.
14583 * locale/C-time.c: Likewise.
14584 * locale/C-translit.h: Likewise.
14585 * locale/loadarchive.c: Likewise.
14586 * locale/programs/3level.h: Likewise.
14587 * locale/programs/charmap.c: Likewise.
14588 * locale/programs/charmap.h: Likewise.
14589 * locale/programs/ld-address.c: Likewise.
14590 * locale/programs/ld-collate.c: Likewise.
14591 * locale/programs/ld-ctype.c: Likewise.
14592 * locale/programs/ld-identification.c: Likewise.
14593 * locale/programs/ld-measurement.c: Likewise.
14594 * locale/programs/ld-messages.c: Likewise.
14595 * locale/programs/ld-monetary.c: Likewise.
14596 * locale/programs/ld-name.c: Likewise.
14597 * locale/programs/ld-numeric.c: Likewise.
14598 * locale/programs/ld-paper.c: Likewise.
14599 * locale/programs/ld-telephone.c: Likewise.
14600 * locale/programs/ld-time.c: Likewise.
14601 * locale/programs/linereader.c: Likewise.
14602 * locale/programs/locale.c: Likewise.
14603 * locale/programs/locarchive.c: Likewise.
14604 * locale/programs/locfile.h: Likewise.
14605 * locale/programs/repertoire.c: Likewise.
14606 * locale/programs/simple-hash.c: Likewise.
14607 * locale/programs/simple-hash.h: Likewise.
14608 * malloc/memusage.c: Likewise.
14609 * malloc/memusagestat.c: Likewise.
14610 * nis/nis_defaults.c: Likewise.
14611 * nis/nis_hash.c: Likewise.
14612 * nis/nis_print.c: Likewise.
14613 * nis/nis_xdr.c: Likewise.
14614 * nscd/connections.c: Likewise.
14615 * nscd/hstcache.c: Likewise.
14616 * nscd/nscd_gethst_r.c: Likewise.
14617 * nscd/nscd_getserv_r.c: Likewise.
14618 * nscd/nscd_helper.c: Likewise.
14619 * nscd/servicescache.c: Likewise.
14620 * nss/makedb.c: Likewise.
14621 * nss/nss_db/db-XXX.c: Likewise.
14622 * nss/nss_db/db-initgroups.c: Likewise.
14623 * nss/nss_db/db-netgrp.c: Likewise.
14624 * nss/nss_files/files-network.c: Likewise.
14625 * nss/nss_files/files-parse.c: Likewise.
14626 * posix/bug-regex5.c: Likewise.
14627 * posix/fnmatch_loop.c: Likewise.
14628 * posix/regcomp.c: Likewise.
14629 * posix/regexec.c: Likewise.
14630 * posix/tst-rfc3484-2.c: Likewise.
14631 * posix/tst-rfc3484-3.c: Likewise.
14632 * posix/tst-rfc3484.c: Likewise.
14633 * resolv/nss_dns/dns-canon.c: Likewise.
14634 * resolv/nss_dns/dns-network.c: Likewise.
14635 * resolv/res_init.c: Likewise.
14636 * resolv/res_mkquery.c: Likewise.
14637 * resolv/tst-aton.c: Likewise.
14638 * stdlib/cxa_atexit.c: Likewise.
14639 * stdlib/cxa_finalize.c: Likewise.
14640 * stdlib/gen-fpioconst.c: Likewise.
14641 * stdlib/strtol_l.c: Likewise.
14642 * string/tst-endian.c: Likewise.
14643 * sunrpc/auth_des.c: Likewise.
14644 * sunrpc/clnt_udp.c: Likewise.
14645 * sunrpc/rtime.c: Likewise.
14646 * sunrpc/svcauth_des.c: Likewise.
14647 * sunrpc/xdr.c: Likewise.
14648 * sunrpc/xdr_intXX_t.c: Likewise.
14649 * sunrpc/xdr_rec.c: Likewise.
14650 * sysdeps/generic/ldconfig.h: Likewise.
14651 * sysdeps/generic/ldsodefs.h: Likewise.
14652 * sysdeps/generic/memusage.h: Likewise.
14653 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14656 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14657 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14658 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14659 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14663 * sysdeps/posix/getaddrinfo.c: Likewise.
14664 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14665 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14666 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14667 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14668 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14669 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14670 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14671 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14672 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14673 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14674 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14675 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14676 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14677 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14678 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14679 * sysdeps/x86_64/dl-tls.h: Likewise.
14680 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14681 * time/alt_digit.c: Likewise.
14682 * time/era.c: Likewise.
14683 * wcsmbs/tst-c16c32-1.c: Likewise.
14684
8c75f674
JM
146852013-05-16 Joseph Myers <joseph@codesourcery.com>
14686
14687 * math/libm-test.inc (struct test_sincos_data): New type.
14688 (RUN_TEST_LOOP_sincos): New macro.
14689 (sincos_test_data): New variable.
14690 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14691
e6e49e59
RH
146922013-05-16 Richard Henderson <rth@redhat.com>
14693
14694 * math/atest-exp2.c (LIMB64): New macro.
14695 (CONSTSZ): New macro.
14696 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14697 (hexdig): Move ...
14698 (print_mpn_fp): ... to function scope.
14699 (read_mpn_hex): Remove.
14700 (get_log2): Remove.
14701 (exp2_mpn): Use mp_log2.
14702 (main): Use mp_exp1.
14703
15c7c18d
JM
147042013-05-16 Joseph Myers <joseph@codesourcery.com>
14705
105a07df
JM
14706 * math/libm-test.inc: Remove comment about not testing "inexact"
14707 exceptions.
14708 (INEXACT_EXCEPTION): New macro.
14709 (NO_INEXACT_EXCEPTION): Likewise.
14710 (INVALID_EXCEPTION_OK): Update value.
14711 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14712 (OVERFLOW_EXCEPTION_OK): Likewise.
14713 (UNDERFLOW_EXCEPTION_OK): Likewise.
14714 (IGNORE_ZERO_INF_SIGN): Likewise.
14715 (ERRNO_UNCHANGED): Likewise.
14716 (ERRNO_EDOM): Likewise.
14717 (ERRNO_ERANGE): Likewise.
14718 (test_exceptions): Handle testing "inexact" exceptions.
14719 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14720 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14721 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14722 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14723 INEXACT_EXCEPTION.
14724 (rint_towardzero_test_data): Likewise.
14725 (rint_downward_test_data): Likewise.
14726 (rint_upward_test_data): Likewise.
14727
e9eee333
JM
14728 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14729 with OVERFLOW_EXCEPTION.
14730 (exp10_test_data): Likewise.
14731 (exp2_test_data): Likewise.
14732 (expm1_test_data): Likewise.
14733 (lgamma_test_data): Likewise.
14734 (pow_test_data): Likewise.
14735 (tgamma_test_data): Likewise.
14736 (yn_test_data): Remove duplicate test of overflow.
14737
1c38ff73
JM
14738 * math/libm-test.inc (struct test_cc_c_data): New type.
14739 (RUN_TEST_LOOP_cc_c): New macro.
14740 (cpow_test_data): New variable.
14741 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14742
15c7c18d
JM
14743 * math/libm-test.inc (struct test_f_L_data): New type.
14744 (RUN_TEST_LOOP_f_L): New macro.
14745 (llrint_test_data): New variable.
14746 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14747 (llrint_tonearest_test_data): New variable.
14748 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14749 (llrint_towardzero_test_data): New variable.
14750 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14751 (llrint_downward_test_data): New variable.
14752 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14753 (llrint_upward_test_data): New variable.
14754 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14755 (llround_test_data): New variable.
14756 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14757
f137ff13
PC
147582013-05-13 Peter Collingbourne <pcc@google.com>
14759
14760 * math/atest-exp2.c (get_log2): Remove const attribute.
14761
3608cb24
JM
147622013-05-15 Joseph Myers <joseph@codesourcery.com>
14763
14764 * math/libm-test.inc (struct test_f_l_data): New type.
14765 (RUN_TEST_LOOP_f_l): New macro.
14766 (lrint_test_data): New variable.
14767 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14768 (lrint_tonearest_test_data): New variable.
14769 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14770 (lrint_towardzero_test_data): New variable.
14771 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14772 (lrint_downward_test_data): New variable.
14773 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14774 (lrint_upward_test_data): New variable.
14775 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14776 (lround_test_data): New variable.
14777 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14778
39b1f617
PC
147792013-05-15 Peter Collingbourne <pcc@google.com>
14780
1deff3dc
PC
14781 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14782 (EXTRACT_WORDS64) Use where appropriate.
14783 (INSERT_WORDS64) Likewise.
14784
791f3ba0
PC
14785 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14786 constraints with x constraints.
14787 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14788
39b1f617
PC
14789 * malloc/obstack.c (_obstack_compat): Add initializer.
14790
12fba011
EM
147912013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14792
14793 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14794 si_trapno and add si_addr_lsb to _sifields.sigfault.
14795 (si_trapno): Remove macro.
14796 (si_addr_lsb): Define new macro.
14797 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14798
d369f531
JM
147992013-05-15 Joseph Myers <joseph@codesourcery.com>
14800
b861c6c4
JM
14801 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14802 instead of TEST_f_l.
14803 (llrint_test_tonearest): Likewise.
14804 (llrint_test_towardzero): Likewise.
14805 (llrint_test_downward): Likewise.
14806 (llrint_test_upward): Likewise.
14807 (llround_test): Likewise.
14808
7abeee12
JM
14809 * math/libm-test.inc (struct test_f_i_data): Add comment.
14810 (RUN_TEST_LOOP_f_b): New macro.
14811 (RUN_TEST_LOOP_f_b_tg): Likewise.
14812 (finite_test_data): New variable.
14813 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14814 (isfinite_test_data): New variable.
14815 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14816 (isinf_test_data): New variable.
14817 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14818 (isnan_test_data): New variable.
14819 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14820 (isnormal_test_data): New variable.
14821 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14822 (issignaling_test_data): New variable.
14823 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14824 (signbit_test_data): New variable.
14825 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14826
cbe8c4d3
JM
14827 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14828 with INVALID_EXCEPTION.
14829 (acosh_test_data): Likewise.
14830 (asin_test_data): Likewise.
14831 (atanh_test_data): Likewise.
14832 (fmod_test_data): Likewise.
14833 (log_test_data): Likewise.
14834 (log10_test_data): Likewise.
14835 (log2_test_data): Likewise.
14836 (pow_test_data): Likewise.
14837 (sqrt_test_data): Likewise.
14838 (y0_test_data): Likewise.
14839 (y1_test_data): Likewise.
14840 (yn_test_data): Likewise.
14841
5575c0e5
JM
14842 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14843 function contents.
14844
d369f531
JM
14845 * math/libm-test.inc (struct test_ff_i_data): New type.
14846 (RUN_TEST_LOOP_ff_i_tg): New macro.
14847 (isgreater_test_data): New variable.
14848 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14849 (isgreaterequal_test_data): New variable.
14850 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14851 (isless_test_data): New variable.
14852 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14853 (islessequal_test_data): New variable.
14854 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14855 (islessgreater_test_data): New variable.
14856 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14857 (isunordered_test_data): New variable.
14858 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14859
781fd748
DM
148602013-05-14 David S. Miller <davem@davemloft.net>
14861
14862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14863
87aa21df
JM
148642013-05-14 Joseph Myers <joseph@codesourcery.com>
14865
5e908270
JM
14866 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14867
f71172e5
JM
14868 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14869 extra_test to int.
14870 (struct test_f_i_data): Change type of max_ulp to int.
14871
8cfa635a
JM
14872 * math/libm-test.inc (test_ffI_f1_data): New type.
14873 (RUN_TEST_LOOP_ffI_f1): New macro.
14874 (remquo_test_data): New variable.
14875 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14876
2bcb36b2
JM
14877 * setjmp/tst-setjmp-fp.c: New file.
14878 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14879 (link-libm): New variable.
14880 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14881
acbd839a
JM
14882 * math/libm-test.inc (struct test_f_i_data): New type.
14883 (RUN_TEST_LOOP_f_i): New macro.
14884 (RUN_TEST_LOOP_f_i_tg): Likewise.
14885 (fpclassify_test_data): New variable.
14886 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14887 (ilogb_test_data): New variable.
14888 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14889
e414d745
JM
14890 * math/libm-test.inc (scalbln_test): Correct function name in END
14891 call.
14892
d9c2a0fd
JM
14893 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14894 (RUN_TEST_LOOP_fI_f1): New macro.
14895 (frexp_test_data): New variable.
14896 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14897
9dc9095d
JM
14898 * math/libm-test.inc (struct test_fF_f1_data): New type.
14899 (RUN_TEST_LOOP_fF_f1): New macro.
14900 (modf_test_data): New variable.
14901 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14902
87aa21df
JM
14903 * math/libm-test.inc (struct test_f_f1_data): New type.
14904 (RUN_TEST_LOOP_f_f1): New macro.
14905 (gamma_test_data): New variable.
14906 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14907 (lgamma_test_data): New variable.
14908 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14909
141af660
CD
149102013-05-13 Carlos O'Donell <carlos@redhat.com>
14911
14912 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14913 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14914 (main): Comment "tls" pseudo-hwcap.
14915
6d33265c
JM
149162013-05-13 Joseph Myers <joseph@codesourcery.com>
14917
68fc074c
JM
14918 * math/libm-test.inc (struct test_fl_f_data): New type.
14919 (RUN_TEST_LOOP_fl_f): New variable.
14920 (scalbln_test_data): New variable.
14921 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14922
243216e1
JM
14923 * math/libm-test.inc (struct test_fi_f_data): New type.
14924 (RUN_TEST_LOOP_fi_f): New macro.
14925 (ldexp_test_data): New variable.
14926 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14927 (scalbn_test_data): New variable.
14928 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14929
6a1992e2
JM
14930 * math/libm-test.inc (struct test_c_f_data): New type.
14931 (RUN_TEST_LOOP_c_f): New macro.
14932 (cabs_test_data): New variable.
14933 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14934 (carg_test_data): New variable.
14935 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14936 (cimag_test_data): New variable.
14937 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14938 (creal_test_data): New variable.
14939 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14940
0e400df5
JM
14941 * math/libm-test.inc (struct test_if_f_data): New type.
14942 (RUN_TEST_LOOP_if_f): New macro.
14943 (jn_test_data): New variable.
14944 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14945 (yn_test_data): New variable.
14946 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14947
6d33265c
JM
14948 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14949
f98ece5f
AZ
149502013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14951
14952 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14953 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14954
0f7d347b
SP
149552013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14956
43fe811b
SP
14957 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14958 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14959 (bench-deps): Add bench-timing.h.
14960 * benchtests-bench-skeleton.c: Include bench-timing.h.
14961 (main): Use TIMING_* macros instead of clock_gettime.
14962 * benchtests/bench-timing.h: New file.
14963
0f7d347b
SP
14964 [BZ #14582]
14965 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14966 Renamed from _LIB_VERSION.
14967 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14968
601a3a5f
JM
149692013-05-12 Joseph Myers <joseph@codesourcery.com>
14970
4f184d30
JM
14971 * math/libm-test.inc (struct test_fff_f_data): New type.
14972 (RUN_TEST_LOOP_fff_f): New macro.
14973 (fma_test_data): New variable.
14974 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14975 (fma_towardzero_test_data): New variable.
14976 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14977 (fma_downward_test_data): New variable.
14978 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14979 (fma_upward_test_data): New variable.
14980 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14981
08198877
JM
14982 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14983 (struct test_c_c_data): New type.
14984 (RUN_TEST_LOOP_c_c): New macro.
14985 (cacos_test_data): New variable.
14986 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14987 (cacosh_test_data): New variable.
14988 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14989 (casin_test_data): New variable.
14990 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14991 (casinh_test_data): New variable.
14992 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14993 (catan_test_data): New variable.
14994 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14995 (catanh_test_data): New variable.
14996 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14997 (ccos_test_data): New variable.
14998 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14999 (ccosh_test_data): New variable.
15000 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15001 (cexp_test_data): New variable.
15002 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15003 (clog_test_data): New variable.
15004 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15005 (clog10_test_data): New variable.
15006 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15007 (conj_test_data): New variable.
15008 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15009 (cproj_test_data): New variable.
15010 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15011 (csin_test_data): New variable.
15012 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15013 (csinh_test_data): New variable.
15014 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15015 (csqrt_test_data): New variable.
15016 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15017 (ctan_test_data): New variable.
15018 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15019 (ctan_tonearest_test_data): New variable.
15020 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15021 (ctan_towardzero_test_data): New variable.
15022 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15023 (ctan_downward_test_data): New variable.
15024 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15025 (ctan_upward_test_data): New variable.
15026 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15027 (ctanh_test_data): New variable.
15028 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15029 (ctanh_tonearest_test_data): New variable.
15030 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15031 (ctanh_towardzero_test_data): New variable.
15032 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15033 (ctanh_downward_test_data): New variable.
15034 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15035 (ctanh_upward_test_data): New variable.
15036 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15037 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15038 of BUILD_COMPLEX.
15039
601a3a5f
JM
15040 * math/libm-test.inc (struct test_ff_f_data): New type.
15041 (struct test_ff_f_data_nexttoward): Likewise.
15042 (RUN_TEST_LOOP_2_f): New macro.
15043 (RUN_TEST_LOOP_ff_f): Likewise.
15044 (atan2_test_data): New variable.
15045 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15046 (copysign_test_data): New variable.
15047 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15048 (fdim_test_data): New variable.
15049 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15050 (fmax_test_data): New variable.
15051 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15052 (fmin_test_data): New variable.
15053 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15054 (fmod_test_data): New variable.
15055 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15056 (hypot_test_data): New variable.
15057 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15058 (nextafter_test_data): New variable.
15059 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15060 (nexttoward_test_data): New variable.
15061 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15062 (pow_test_data): New variable.
15063 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15064 (pow_tonearest_test_data): New variable.
15065 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15066 (pow_towardzero_test_data): New variable.
15067 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15068 (pow_downward_test_data): New variable.
15069 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15070 (pow_upward_test_data): New variable.
15071 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15072 (remainder_test_data): New variable.
15073 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15074 (scalb_test_data): New variable.
15075 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15076 * sysdeps/i386/fpu/libm-test-ulps: Update.
15077
74c57478
JM
150782013-05-11 Joseph Myers <joseph@codesourcery.com>
15079
8329e4da
JM
15080 * math/libm-test.inc (fma_test): Use max_value instead of local
15081 variable fltmax.
15082 (nextafter_test): Likewise.
15083
74c57478
JM
15084 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15085 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15086 (acos_downward_test_data): New variable.
15087 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15088 (acos_upward_test_data): New variable.
15089 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15090 (acosh_test_data): New variable.
15091 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15092 (asin_test_data): New variable.
15093 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15094 (asin_tonearest_test_data): New variable.
15095 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15096 (asin_towardzero_test_data): New variable.
15097 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15098 (asin_downward_test_data): New variable.
15099 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15100 (asin_upward_test_data): New variable.
15101 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15102 (asinh_test_data): New variable.
15103 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15104 (atan_test_data): New variable.
15105 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15106 (atanh_test_data): New variable.
15107 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15108 (cbrt_test_data): New variable.
15109 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15110 (ceil_test_data): New variable.
15111 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15112 (cos_test_data): New variable.
15113 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15114 (cos_tonearest_test_data): New variable.
15115 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15116 (cos_towardzero_test_data): New variable.
15117 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15118 (cos_downward_test_data): New variable.
15119 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15120 (cos_upward_test_data): New variable.
15121 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15122 (cosh_test_data): New variable.
15123 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15124 (cosh_tonearest_test_data): New variable.
15125 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15126 (cosh_towardzero_test_data): New variable.
15127 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15128 (cosh_downward_test_data): New variable.
15129 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15130 (cosh_upward_test_data): New variable.
15131 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15132 (erf_test_data): New variable.
15133 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15134 (erfc_test_data): New variable.
15135 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15136 (exp_test_data): New variable.
15137 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15138 (exp_tonearest_test_data): New variable.
15139 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15140 (exp_towardzero_test_data): New variable.
15141 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15142 (exp_downward_test_data): New variable.
15143 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15144 (exp_upward_test_data): New variable.
15145 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15146 (exp10_test_data): New variable.
15147 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15148 (exp2_test_data): New variable.
15149 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15150 (expm1_test_data): New variable.
15151 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15152 (fabs_test_data): New variable.
15153 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15154 (floor_test_data): New variable.
15155 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15156 (j0_test_data): New variable.
15157 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15158 (j1_test_data): New variable.
15159 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15160 (log_test_data): New variable.
15161 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15162 (log10_test_data): New variable.
15163 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15164 (log1p_test_data): New variable.
15165 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15166 (log2_test_data): New variable.
15167 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15168 (logb_test_data): New variable.
15169 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15170 (logb_downward_test_data): New variable.
15171 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15172 (nearbyint_test_data): New variable.
15173 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15174 (rint_test_data): New variable.
15175 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15176 (rint_tonearest_test_data): New variable.
15177 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15178 (rint_towardzero_test_data): New variable.
15179 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15180 (rint_downward_test_data): New variable.
15181 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15182 (rint_upward_test_data): New variable.
15183 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15184 (round_test_data): New variable.
15185 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15186 (sin_test_data): New variable.
15187 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15188 (sin_tonearest_test_data): New variable.
15189 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15190 (sin_towardzero_test_data): New variable.
15191 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15192 (sin_downward_test_data): New variable.
15193 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15194 (sin_upward_test_data): New variable.
15195 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15196 (sinh_test_data): New variable.
15197 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15198 (sinh_tonearest_test_data): New variable.
15199 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15200 (sinh_towardzero_test_data): New variable.
15201 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15202 (sinh_downward_test_data): New variable.
15203 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15204 (sinh_upward_test_data): New variable.
15205 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15206 (sqrt_test_data): New variable.
15207 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15208 (tan_test_data): New variable.
15209 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15210 (tan_tonearest_test_data): New variable.
15211 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15212 (tan_towardzero_test_data): New variable.
15213 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15214 (tan_downward_test_data): New variable.
15215 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15216 (tan_upward_test_data): New variable.
15217 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15218 (tanh_test_data): New variable.
15219 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15220 (tgamma_test_data): New variable.
15221 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15222 (trunc_test_data): New variable.
15223 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15224 (y0_test_data): New variable.
15225 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15226 (y1_test_data): New variable.
15227 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15228 (significand_test_data): New variable.
15229 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15230
7187d844
CG
152312013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15232
15233 [BZ #12387]
15234 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15235
f63fae73
PT
152362013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15237
15238 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15239
8a67a4b3
AJ
152402013-05-10 Andreas Jaeger <aj@suse.de>
15241
15242 [BZ #15448]
15243 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15244 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15245
51df539d
JM
152462013-05-10 Joseph Myers <joseph@codesourcery.com>
15247
15248 * math/gen-libm-test.pl (adjust_arg): New function.
15249 (special_functions): Handle generating output in both functions
15250 and arrays.
15251 (parse_args): Likewise.
15252 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15253 $in_func argument to parse_args.
15254 * math/libm-test.inc (struct test_f_f_data): New type.
15255 (IF_ROUND_INIT_): New macro.
15256 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15257 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15258 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15259 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15260 (ROUND_RESTORE_): Likewise.
15261 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15262 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15263 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15264 (ROUND_RESTORE_FE_UPWARD): Likewise.
15265 (RUN_TEST_LOOP_f_f): New macro.
15266 (acos_test_data): New variable.
15267 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15268 (acos_tonearest_test_data): New variable.
15269 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15270
5c637fe5
SP
152712013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15272
15273 * benchtests/bench-skeleton.c (startup): Fix coding style.
15274
ab2b9461
JM
152752013-05-10 Joseph Myers <joseph@codesourcery.com>
15276
15277 [BZ #6809]
15278 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15279 negative infinity argument.
15280 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15281 negative infinity argument.
15282 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15283 negative infinity argument.
15284 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15285 domain errors.
15286
4c0fe6fe
FW
152872013-05-10 Florian Weimer <fweimer@redhat.com>
15288
15289 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15290 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15291 * iconv/iconv_prog.c (main): Likewise.
15292 * locale/programs/charmap-dir.c (charmap_readdir)
15293 (fopen_uncompressed): Likewise.
15294 * locale/programs/locfile.c (siblings_uncached)
15295 (write_locale_data): Use lstat64 instead of lstat.
15296 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15297 stat.
15298
a3375d29
AJ
152992013-05-10 Andreas Jaeger <aj@suse.de>
15300
15301 [BZ #15395]
15302 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15303 localization.
15304 Include <locale.h>.
15305
36129722
CD
153062013-05-09 Carlos O'Donell <carlos@redhat.com>
15307
15308 * elf/dl-close.c (_dl_close_worker): Add comments.
15309
faa7f811
JM
153102013-05-09 Joseph Myers <joseph@codesourcery.com>
15311
ed41ffef
JM
15312 [BZ #15359]
15313 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15314 high part of pi/2.
15315 (__ieee754_rem_pio2l): Update comments.
15316
d0213cd0
JM
15317 [BZ #15429]
15318 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15319 high part of pi/2.
15320 (__ieee754_rem_pio2l): Update comments.
15321
0d3e777a
JM
15322 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15323 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15324
24f56066
JM
15325 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15326 M_PI_4l.
15327
faa7f811
JM
15328 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15329 (M_PI_34_LOG10El): Likewise.
15330 (M_PI2_LOG10El): Likewise.
15331 (M_PI4_LOG10El): Likewise.
15332 (M_PI_LOG10El): Likewise.
15333
e9a5e0fd
AZ
153342013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15335
15336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15337
d8cd06db
JM
153382013-05-08 Joseph Myers <joseph@codesourcery.com>
15339
a0d9f9d7
JM
15340 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15341 (MINUS_ZERO_INIT): Likewise.
15342 (PLUS_INFTY_INIT): Likewise.
15343 (MINUS_INFTY_INIT): Likewise.
15344 (QNAN_VALUE_INIT): Likewise.
15345 (MAX_VALUE_INIT): Likewise.
15346 (MIN_VALUE_INIT): Likewise.
15347 (MIN_SUBNORM_VALUE_INIT): Likewise.
15348 (plus_zero): Initialize with PLUS_ZERO_INIT.
15349 (minus_zero): Initialize with MINUS_ZERO_INIT.
15350 (plus_infty): Initialize with PLUS_INFTY_INIT.
15351 (minus_infty): Initialize with MINUS_INFTY_INIT.
15352 (qnan_value): Initialize with QNAN_VALUE_INIT.
15353 (max_value): Initialize with MAX_VALUE_INIT.
15354 (min_value): Initialize with MIN_VALUE_INIT.
15355 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15356
ae08db3b
JM
15357 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15358 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15359 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15360 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15361
f44bf14a
JM
15362 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15363 (RUN_TEST_2_f): Likewise.
15364 (RUN_TEST_ff_f): Likewise.
15365 (RUN_TEST_fi_f): Likewise.
15366 (RUN_TEST_fl_f): Likewise.
15367 (RUN_TEST_fff_f): Likewise.
15368 (RUN_TEST_c_f): Likewise.
15369 (RUN_TEST_f_f1): Likewise.
15370 (RUN_TEST_fF_f1): Likewise.
15371 (RUN_TEST_fI_f1): Likewise.
15372 (RUN_TEST_ffI_f1): Likewise.
15373 (RUN_TEST_c_c): Likewise.
15374 (RUN_TEST_cc_c): Likewise.
15375 (RUN_TEST_f_i): Likewise.
15376 (RUN_TEST_f_i_tg): Likewise.
15377 (RUN_TEST_ff_i_tg): Likewise.
15378 (RUN_TEST_f_b): Likewise.
15379 (RUN_TEST_f_b_tg): Likewise.
15380 (RUN_TEST_f_l): Likewise.
15381 (RUN_TEST_f_L): Likewise.
15382 (RUN_TEST_sincos): Likewise.
15383 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15384 whether to show exceptions. Do not include ");\n" in return
15385 value.
15386 (special_functions): Output call to RUN_TEST_sincos instead of
15387 check_float calls. Update calls to new_test.
15388 (parse_args): Output call to single RUN_TEST_* macro instead of
15389 check_* calls and other assignments. Update calls to new_test.
15390
d8cd06db
JM
15391 [BZ #2546]
15392 [BZ #2560]
15393 [BZ #5159]
15394 [BZ #15426]
15395 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15396 input to result for tgamma overflow.
15397 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15398 (gamma_coeff): New variable.
15399 (NCOEFF): New macro.
15400 (gamma_positive): New function.
15401 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15402 underflow here. Use gamma_positive instead of exp (lgamma) for
15403 other arguments.
15404 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15405 (gamma_coeff): New variable.
15406 (NCOEFF): New macro.
15407 (gammaf_positive): New function.
15408 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15409 underflow here. Use gamma_positive instead of exp (lgamma) for
15410 other arguments.
15411 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15412 (gamma_coeff): New variable.
15413 (NCOEFF): New macro.
15414 (gammal_positive): New function.
15415 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15416 underflow here. Use gamma_positive instead of exp (lgamma) for
15417 other arguments.
15418 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15419 (gamma_coeff): New variable.
15420 (NCOEFF): New macro.
15421 (gammal_positive): New function.
15422 (__ieee754_gammal_r): Handle positive infinity, overflow and
15423 underflow here. Handle NaN the same as positive infinity. Remove
15424 check x < 0xffffffff for negative integers. Use gamma_positive
15425 instead of exp (lgamma) for other arguments.
15426 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15427 (gamma_coeff): New variable.
15428 (NCOEFF): New macro.
15429 (gammal_positive): New function.
15430 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15431 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15432 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15433 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15435 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15436 * sysdeps/generic/math_private.h (__gamma_productf): New
15437 prototype.
15438 (__gamma_product): Likewise.
15439 (__gamma_productl): Likewise.
15440 * math/Makefile (libm-calls): Add gamma_product.
15441 * math/libm-test.inc (tgamma_test): Add more tests.
15442 * sysdeps/i386/fpu/libm-test-ulps: Update.
15443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15444
bb7cf681
OB
154452013-05-08 Ondřej Bílka <neleai@seznam.cz>
15446
15447 * benchtests/bench-skeleton.c (main): Preheat CPU.
15448
ba853947
AJ
154492013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15450
15451 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15452
8347c74c
RM
154532013-05-07 Roland McGrath <roland@hack.frob.com>
15454
15455 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15456 and _dl_skip_args_internal.
15457
e8dd4791
CD
154582013-05-07 Carlos O'Donell <carlos@redhat.com>
15459
15460 * manual/message.texi (Message Translation): Talk about users.
15461 Message to key mapping impacts design.
15462
c7405830
RM
154632013-05-06 Roland McGrath <roland@hack.frob.com>
15464
a9173057
RM
15465 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15466
976e2f03
RM
15467 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15468
9723ffc5
RM
15469 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15470 * sysdeps/wordsize-64/glob64.c: ... here.
15471
962e6658
RM
15472 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15473 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15474 New macros.
15475
ee586a6d
RM
15476 * debug/getlogin_r_chk.c: Moved to ...
15477 * login/getlogin_r_chk.c: ... here.
15478 * debug/Makefile (routines): Move getlogin_r_chk to ...
15479 * login/Makefile (routines): ... here.
15480 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15481 * login/Versions (libc: GLIBC_2.4): ... here.
15482
355f9165
RM
15483 * io/poll.c (__poll): Renamed from poll.
15484 Add libc_hidden_def.
15485 (poll): Define as weak alias.
15486
bd9ffde6
RM
15487 * debug/ptsname_r_chk.c: Moved to ...
15488 * login/ptsname_r_chk.c: ... here.
15489 * debug/Makefile (routines): Move ptsname_r_chk to ...
15490 * login/Makefile (routines): ... here.
15491 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15492 * login/Versions (libc: GLIBC_2.4): ... here.
15493
8fb16a04
RM
15494 * posix/getlogin.c: Moved to ...
15495 * login/getlogin.c: ... here.
15496 * posix/getlogin_r.c: Moved to ...
15497 * login/getlogin_r.c: ... here.
15498 * posix/getlogin_r.c: Moved to ...
15499 * login/getlogin_r.c: ... here.
15500 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15501 * login/Makefile (routines): ... here.
15502 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15503 * login/Versions (libc: GLIBC_2.0): ... here.
15504
b99b892f
RM
15505 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15506 (setrlimit): Define as weak alias.
15507
c7405830
RM
15508 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15509 Call __ names for open, ftruncate, and close.
15510 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15511 (truncate): Define as weak alias.
15512
5bf96de5
JM
155132013-05-06 Joseph Myers <joseph@codesourcery.com>
15514
9ea3513c
JM
15515 * math/gen-libm-test.pl (parse_args): Initialize x before each
15516 test of frexp, modf and remquo.
15517
5bf96de5
JM
15518 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15519 test signgam value.
15520
16e616a7
AZ
155212013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15522
15523 [BZ #15418]
15524 [BZ #15419]
15525 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15526 internal tests.
15527 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15528
d5e82754
RM
155292013-05-06 Roland McGrath <roland@hack.frob.com>
15530
15531 * elf/dl-writev.h: New file.
15532 * elf/dl-misc.c: Include it.
15533 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15534 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15535
a7548d41
JM
155362013-05-04 Joseph Myers <joseph@codesourcery.com>
15537
b7dab1e4
JM
15538 * math/libm-test.inc (noXFails): Remove variable.
15539 (noXPasses): Likewise.
15540 (BUILD_COMPLEX_INT): Remove macro.
15541 (print_screen): Remove xfail argument.
15542 (print_screen_max_error): Likewise.
15543 (update_stats): Likewise.
15544 (print_max_error): Likewise. Update calls to other affected
15545 functions.
15546 (print_complex_max_error): Likewise.
15547 (test_single_exception): Update calls to print_screen.
15548 (test_single_errno): Likewise.
15549 (check_float_internal): Remove xfail argument. Update calls to
15550 other affected functions.
15551 (check_float): Likewise.
15552 (check_complex): Likewise.
15553 (check_int): Likewise.
15554 (check_long): Likewise.
15555 (check_bool): Likewise.
15556 (check_longlong): Likewise.
15557 (main): Don't print noXFails and noXPasses.
15558 * math/gen-libm-test.pl (top level): Don't mention expected
15559 failure handling in comment.
15560 (new_test): Don't handle expected failures.
15561 (parse_args): Don't mention expected failure handling in comment.
15562 (generate_testfile): Don't handle expected failures.
15563 (parse_ulps): Likewise.
15564 (print_ulps_file): Likewise.
15565 (get_failure): Remove function.
15566 (output_test): Don't handle expected failures.
15567 * make/README.libm-test: Don't mention expected failure handling.
15568
a7548d41
JM
15569 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15570 (minus_zero): Likewise.
15571 (plus_infty): Likewise.
15572 (minus_infty): Likewise.
15573 (qnan_value): Likewise.
15574 (max_value): Likewise.
15575 (min_value): Likewise.
15576 (min_subnorm_value): Likewise.
15577 (initialize): Do not initialize those variables dynamically.
15578
60bfd54c
RM
155792013-05-03 Roland McGrath <roland@hack.frob.com>
15580
cc0e6ed8
RM
15581 * io/open.c (__open_2): Moved to ...
15582 * io/open_2.c: ... this new file.
15583 * io/open64.c (__open64_2): Moved to ...
15584 * io/open64_2.c: ... this new file.
15585 * io/openat.c (__openat_2): Moved to ...
15586 * io/openat_2.c: ... this new file.
15587 * io/openat64.c (__openat64_2): Moved to ...
15588 * io/openat64_2.c: ... this new file.
15589 * io/Makefile (routines): Add them.
15590 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15591 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15592 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15593 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15594 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15595 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15596 (__openat64): Add hidden_ver.
15597 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15598 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15599
60bfd54c
RM
15600 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15601 Separately conditionalize setting of GLRO(dl_sysinfo) so
15602 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15603 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15604
83e7640f
AZ
156052013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15606
15607 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15608 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15609 definition.
15610 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15611 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15612 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15613 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15614 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15615
d5dc2af3
JM
156162013-05-03 Joseph Myers <joseph@codesourcery.com>
15617
c31a5b1e
JM
15618 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15619 test signgam value.
15620
d5dc2af3
JM
15621 * math/libm-test.inc (hypot_test): Do not use
15622 IGNORE_ZERO_INF_SIGN.
15623
164fd39d
AJ
156242013-05-03 Andreas Jaeger <aj@suse.de>
15625
15626 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15627 Linux 3.9.
15628 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15629 (PF_MAX): Adjust for VSOCK change.
15630
8237f48c
AZ
156312013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15632
15633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15634
9df02941
CD
156352013-05-02 Carlos O'Donell <carlos@redhat.com>
15636
15637 [BZ #15264]
15638 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15639 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15640 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15641
d422395e
DM
156422013-05-02 David S. Miller <davem@davemloft.net>
15643
15644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15645
a07c5731
OB
156462013-05-01 Ondřej Bílka <neleai@seznam.cz>
15647
15648 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15649
1324e37f
RM
156502013-05-01 Roland McGrath <roland@hack.frob.com>
15651
15652 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15653
0695940b
RS
156542013-05-01 Richard Smith <richard@metafoo.co.uk>
15655
bb5f27ad 15656 [BZ #14952]
0695940b
RS
15657 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15658 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15659 Use __attribute__ ((__gnu_inline__)).
15660 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15661 Don't use __attribute__ ((__gnu_inline__)).
15662
10de07f5
JM
156632013-05-01 Joseph Myers <joseph@codesourcery.com>
15664
15665 [BZ #15423]
15666 * math/s_catan.c (__catan): Handle small real or imaginary part of
15667 input specially to avoid spurious underflow.
15668 * math/s_catanf.c (__catanf): Likewise.
15669 * math/s_catanh.c (__catanh): Likewise.
15670 * math/s_catanhf.c (__catanhf): Likewise.
15671 * math/s_catanhl.c (__catanhl): Likewise.
15672 * math/s_catanl.c (__catanl): Likewise.
15673 * math/libm-test.inc (catan_test): Add more tests.
15674 (catanh_test): Likewise.
15675 * sysdeps/i386/fpu/libm-test-ulps: Update.
15676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15677
cb4d5414
AZ
156782013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15679
15680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15681
caf84319
JM
156822013-04-30 Joseph Myers <joseph@codesourcery.com>
15683
15684 [BZ #15416]
15685 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15686 accurately for denominator in atan2.
15687 * math/s_catanf.c (__catanf): Likewise.
15688 * math/s_catanh.c (__catanh): Likewise.
15689 * math/s_catanhf.c (__catanhf): Likewise.
15690 * math/s_catanhl.c (__catanhl): Likewise.
15691 * math/s_catanl.c (__catanl): Likewise.
15692 * math/libm-test.inc (catan_test): Add more tests.
15693 (catanh_test): Likewise.
15694 * sysdeps/i386/fpu/libm-test-ulps: Update.
15695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15696
d569c6ee
SP
156972013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15698
6dbe713d
SP
15699 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15700
f0ee064b
SP
15701 * benchtests/Makefile (bench): Remove slow benchmarks.
15702 * benchtests/atan-inputs: Add slow benchmark inputs.
15703 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15704 (BENCH_FUNC): Accept variant offset.
15705 (VARIANT): Define.
15706 * benchtests/bench-skeleton.c (main): Run benchmark for each
15707 variant.
15708 * benchtests/cos-inputs: Add slow benchmark inputs.
15709 * benchtests/exp-inputs: Likewise.
15710 * benchtests/pow-inputs: Likewise.
15711 * benchtests/sin-inputs: Likewise.
15712 * benchtests/slowatan-inputs: Remove.
15713 * benchtests/slowatan.c: Remove.
15714 * benchtests/slowcos-inputs: Remove.
15715 * benchtests/slowcos.c: Remove.
15716 * benchtests/slowexp-inputs: Remove.
15717 * benchtests/slowexp.c: Remove.
15718 * benchtests/slowpow-inputs: Remove.
15719 * benchtests/slowpow.c: Remove.
15720 * benchtests/slowsin-inputs: Remove.
15721 * benchtests/slowsin.c: Remove.
15722 * benchtests/slowtan-inputs: Remove.
15723 * benchtests/slowtan.c: Remove.
15724 * benchtests/tan-inputs: Add slow benchmark inputs.
15725 * scripts/bench.pl: Parse comments and directives.
15726
d569c6ee
SP
15727 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15728 in CPPFLAGS.
15729 ($(objpfx)bench-%.c): Remove *-ITER.
15730 * benchtests/bench-modf.c: Remove definition of ITER.
15731 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15732 (main): Loop for DURATION seconds instead of fixed number of
15733 iterations.
15734 * scripts/bench.pl: Don't expect iterations in parameters.
15735
a6a242fe
RM
157362013-04-29 Roland McGrath <roland@hack.frob.com>
15737
15738 * io/fchdir.c (__fchdir): Renamed from fchdir.
15739 (fchdir): Define as weak alias.
15740
f2da7793
JM
157412013-04-29 Joseph Myers <joseph@codesourcery.com>
15742
15743 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15744 (ERRNO_EDOM): Likewise.
15745 (ERRNO_ERANGE): Likewise.
15746 (noErrnoTests): New variable.
15747 (init_max_error): Set errno to 0.
15748 (test_single_errno): New function.
15749 (test_errno): Likewise.
15750 (check_float_internal): Call test_errno. Set errno to 0.
15751 (check_complex): Refer to errno tests in comment.
15752 (check_int): Call test_errno. Set errno to 0.
15753 (check_long): Likewise.
15754 (check_bool): Likewise.
15755 (check_longlong): Likewise.
15756 (cos_test): Use ERRNO_* flags for errno tests instead of
15757 check_int.
15758 (expm1_test): Likewise.
15759 (fmod_test): Likewise.
15760 (ilogb_test): Likewise.
15761 (lgamma_test): Likewise.
15762 (pow_test): Likewise.
15763 (remainder_test): Likewise.
15764 (sin_test): Likewise.
15765 (tan_test): Likewise.
15766 (yn_test): Likewise.
15767 (initialize): Set errno to 0.
15768 (main): Print number of errno tests.
15769 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15770
b1a36ceb
AJ
157712013-04-29 Andreas Jaeger <aj@suse.de>
15772
c3ed8088
AJ
15773 [BZ #15084]
15774 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15775 and RES_USEVC.
15776
f1a24198
AJ
15777 [BZ #15085]
15778 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15779 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15780 unimplemented.
15781
9ce3b2cb
AJ
15782 [BZ #15380]
15783 * stdlib/random.c (__initstate): Return NULL if
15784 __initstate fails.
15785
f1a24198 15786 [BZ #15086]
b1a36ceb
AJ
15787 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15788 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15789 RES_SNGLKUPREOP.
15790
7e7b6f36
AZ
157912013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15792
15793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15794
4d14f449
JM
157952013-04-29 Joseph Myers <joseph@codesourcery.com>
15796
15797 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15798 of individual tests.
15799 (casin_test): Likewise.
15800 (casinh_test): Likewise.
15801
5b4217d7
JM
158022013-04-27 Joseph Myers <joseph@codesourcery.com>
15803
15804 [BZ #15409]
15805 * math/s_catan.c (__catan): Handle arguments with large real or
15806 imaginary part separately without squaring.
15807 * math/s_catanf.c (__catanf): Likewise.
15808 * math/s_catanh.c (__catanh): Likewise.
15809 * math/s_catanhf.c (__catanhf): Likewise.
15810 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15811 and redefine.
15812 (__catanhl): Handle arguments with large real or imaginary part
15813 separately without squaring.
15814 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15815 and redefine.
15816 (__catanl): Handle arguments with large real or imaginary part
15817 separately without squaring.
15818 * math/libm-test.inc (catan_test): Add more tests.
15819 (catanh_test): Likewise.
15820 * sysdeps/i386/fpu/libm-test-ulps: Update.
15821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15822
4220c3ef
AJ
158232013-04-27 Andreas Jaeger <aj@suse.de>
15824
15825 [BZ #15007]
15826 * stdlib/stdlib.h: Update guards for qecvt.
15827 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15828 <stdlib.h>.
15829
4721b2d1
AM
158302013-04-27 Allan McRae <allan@archlinux.org>
15831
15832 * sysdeps/i386/fpu/libm-test-ulps: Update.
15833
f0302940
JM
158342013-04-26 Joseph Myers <joseph@codesourcery.com>
15835
9457fd95
JM
15836 [BZ #15406]
15837 * math/s_catan.c: Include <float.h>.
15838 (__catan): Ensure underflow exception occurs for underflowed
15839 result.
15840 * math/s_catanf.c: Include <float.h>.
15841 (__catanf): Ensure underflow exception occurs for underflowed
15842 result.
15843 * math/s_catanh.c: Include <float.h>.
15844 (__catanh): Ensure underflow exception occurs for underflowed
15845 result.
15846 * math/s_catanhf.c: Include <float.h>.
15847 (__catanhf): Ensure underflow exception occurs for underflowed
15848 result.
15849 * math/s_catanhl.c: Include <float.h>.
15850 (__catanhl): Ensure underflow exception occurs for underflowed
15851 result.
15852 * math/s_catanl.c: Include <float.h>.
15853 (__catanl): Ensure underflow exception occurs for underflowed
15854 result.
15855 * math/libm-test.inc (catan_test): Add more tests.
15856 (catanh_test): Likewise.
15857
f0302940
JM
15858 [BZ #15405]
15859 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15860 underflowed result.
15861 * math/s_ccoshf.c (__ccoshf): Likewise.
15862 * math/s_ccoshl.c (__ccoshl): Likewise.
15863 * math/s_csin.c (__csin): Likewise.
15864 * math/s_csinf.c (__csinf): Likewise.
15865 * math/s_csinh.c (__csinh): Likewise.
15866 * math/s_csinhf.c (__csinhf): Likewise.
15867 * math/s_csinhl.c (__csinhl): Likewise.
15868 * math/s_csinl.c (__csinl): Likewise.
15869 * math/libm-test.inc (ccos_test): Add more tests.
15870 (ccosh_test): Likewise.
15871 (csin_test): Likewise.
15872 (csinh_test): Likewise.
15873
aa630f59
AZ
158742013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15875
15876 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15877 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15878 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15879 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15880 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15881 powerpc/power5+/fpu folders.
15882 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15883
15884
1b835983
MT
158852013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15886
15887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15888
73709b26
JM
158892013-04-25 Joseph Myers <joseph@codesourcery.com>
15890
15891 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15892 additions to variable.
15893 [$(config-machine) = x86_64] (modules-names): Likewise.
15894 ($(objpfx)tst-audit3): Remove dependency.
15895 ($(objpfx)tst-audit3.out): Likewise.
15896 ($(objpfx)tst-audit4): Likewise.
15897 ($(objpfx)tst-audit4.out): Likewise.
15898 ($(objpfx)tst-audit5): Likewise.
15899 ($(objpfx)tst-audit5.out): Likewise.
15900 ($(objpfx)tst-audit6): Likewise.
15901 ($(objpfx)tst-audit6.out): Likewise.
15902 ($(objpfx)tst-audit7): Likewise.
15903 ($(objpfx)tst-audit7.out): Likewise.
15904 (tst-audit3-ENV): Remove variable.
15905 (tst-audit4-ENV): Likewise.
15906 (tst-audit5-ENV): Likewise.
15907 (tst-audit6-ENV): Likewise.
15908 (tst-audit7-ENV): Likewise.
15909 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15910 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15911 addition to variable.
15912 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15913 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15914 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15915 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15916 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15917 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15918 tst-audit3, tst-audit4 and tst-audit5.
15919 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15920 tst-audit6 and tst-audit7.
15921 [$(subdir) = elf] (modules-names): Add audit modules for those
15922 tests.
15923 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15924 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15925 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15926 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15927 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15928 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15929 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15930 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15931 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15932 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15933 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15934 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15935 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15936 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15937 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15938 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15939 Likewise.
15940 [$(subdir) = elf && $(config-cflags-avx) = yes]
15941 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15942 [$(subdir) = elf && $(config-cflags-avx) = yes]
15943 (CFLAGS-tst-auditmod4a.c): Likewise.
15944 [$(subdir) = elf && $(config-cflags-avx) = yes]
15945 (CFLAGS-tst-auditmod4b.c): Likewise.
15946 [$(subdir) = elf && $(config-cflags-avx) = yes]
15947 (CFLAGS-tst-auditmod6b.c): Likewise.
15948 [$(subdir) = elf && $(config-cflags-avx) = yes]
15949 (CFLAGS-tst-auditmod6c.c): Likewise.
15950 [$(subdir) = elf && $(config-cflags-avx) = yes]
15951 (CFLAGS-tst-auditmod7b.c): Likewise.
15952 * elf/tst-audit3.c: Move to ...
15953 * sysdeps/x86_64/tst-audit3.c: ... here.
15954 * elf/tst-audit4.c: Move to ...
15955 * sysdeps/x86_64/tst-audit4.c: ... here.
15956 * elf/tst-audit5.c: Move to ...
15957 * sysdeps/x86_64/tst-audit5.c: ... here.
15958 * elf/tst-audit6.c: Move to ...
15959 * sysdeps/x86_64/tst-audit6.c: ... here.
15960 * elf/tst-audit7.c: Move to ...
15961 * sysdeps/x86_64/tst-audit7.c: ... here.
15962 * elf/tst-auditmod3a.c: Move to ...
15963 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15964 * elf/tst-auditmod3b.c: Move to ...
15965 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15966 * elf/tst-auditmod4a.c: Move to ...
15967 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15968 * elf/tst-auditmod4b.c: Move to ...
15969 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15970 * elf/tst-auditmod5a.c: Move to ...
15971 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15972 * elf/tst-auditmod5b.c: Move to ...
15973 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15974 * elf/tst-auditmod6a.c: Move to ...
15975 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15976 * elf/tst-auditmod6b.c: Move to ...
15977 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15978 * elf/tst-auditmod6c.c: Move to ...
15979 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15980 * elf/tst-auditmod7a.c: Move to ...
15981 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15982 * elf/tst-auditmod7b.c: Move to ...
15983 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15984
1ef74943
PP
159852013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15986
15987 [BZ #15366]
15988 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15989 define unconditionally.
15990 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15991 define unconditionally.
15992 (INT8_C, INT16_C, etc.): Likewise.
15993
93fd48c5
MR
159942013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15995
ae9552cf
MR
15996 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15997 __ehdr_start with hidden visibility.
15998
93fd48c5
MR
15999 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16000
418601aa
CD
160012013-04-24 Carlos O'Donell <carlos@redhat.com>
16002
16003 * math/libm-test.inc (cos_test): Use accurate hex constants.
16004 (sincost_test): Likewise.
16005
2f38fbfe
JM
160062013-04-24 Joseph Myers <joseph@codesourcery.com>
16007
5e221800
JM
16008 * math/libm-test.inc (catan_test): Add more tests.
16009 (catanh_test): Likewise.
16010
77f143fd
JM
16011 * math/s_catanf.c (__catanf): Use suffixed floating-point
16012 constants.
16013 * math/s_catanhf.c (__catanhf): Likewise.
16014 * math/s_catanhl.c (__catanhl): Likewise.
16015 * math/s_catanl.c (__catanl): Likewise.
16016
2f38fbfe
JM
16017 [BZ #15394]
16018 * math/s_catan.c (__catan): Calculate imaginary part of result
16019 with log1p not log unless computing log of number close to 0.
16020 * math/s_catanf.c (__catanf): Likewise.
16021 * math/s_catanl.c (__catanl): Likewise.
16022 * math/s_catanh.c (__catanh): Calculate real part of result with
16023 log1p not log unless computing log of number close to 0.
16024 * math/s_catanhf.c (__catanhf): Likewise.
16025 * math/s_catanhl.c (__catanhl): Likewise.
16026 * math/libm-test.inc (catan_test): Add more tests.
16027 (catanh_test): Likewise.
16028 * sysdeps/i386/fpu/libm-test-ulps: Update.
16029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16030
45d69176
SP
160312013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16032
16033 * benchtests/Makefile: Mention files in which fast and slow
16034 paths of math functions are implemented.
16035
87f51853
RM
160362013-04-23 Roland McGrath <roland@hack.frob.com>
16037
16038 * sysdeps/posix/timespec_get.c: New file.
16039
3c026539
AZ
160402013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16041
16042 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16043 POWER.
16044 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16045 for POWER.
16046 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16047 powerpc/power5/fpu folders.
16048 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16049 * benchtests/Makefile: Add modf testcase.
16050 * benchtests/bench-modf.c: New file: Benchmark test for mo
16051
ff491d14
SP
160522013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16053
16054 [BZ #14888]
16055 * time/Makefile (tests): Add tst-strptime-whitespace.
16056 * time/strptime_l.c (get_number): Use ISSPACE.
16057 (__strptime_internal): Likewise.
16058 * time/tst-strptime-whitespace.c: New test case.
16059
7ed3f4e8
AS
160602013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16061
16062 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16063 member.
16064 (_nss_files_init): Set it here.
16065
5c95f7b6
HC
160662013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16067
16068 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16069 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16070 unsigned.
16071
d34c9158
JBG
160722013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16073
16074 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16075
2169712d
SP
160762013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16077
16078 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16079 size just once.
16080
29c5de99
DM
160812013-04-21 David S. Miller <davem@davemloft.net>
16082
16083 * po/ru.po: Update Russion translation from translation project.
16084
ccdad15d
AC
160852013-04-17 Adam Conrad <adconrad@0c3.net>
16086
16087 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16088 and setfsgid.
16089
0f122b8d
CD
160902013-04-17 Carlos O'Donell <carlos@redhat.com>
16091
5c5b07da 16092 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 16093 * configure: Regenerate.
5c5b07da 16094 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
16095 Add example to error message.
16096 * sysdeps/i386/configure: Regenerate.
16097
037714dd
SP
160982013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16099
16100 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16101 slowtan.
16102 * benchtests/cos-inputs: New file.
16103 * benchtests/slowcos-inputs: New file.
16104 * benchtests/slowcos.c: New file.
16105 * benchtests/slowtan-inputs: New file.
16106 * benchtests/slowtan.c: New file.
16107 * benchtests/tan-inputs: New file.
16108
e913141d
RM
161092013-04-16 Roland McGrath <roland@hack.frob.com>
16110
16111 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16112 considered kosher.
16113
a2964074
SP
161142013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16115
4856bcd2
SP
16116 * benchtests/Makefile: Include cppflags-iterator.mk to add
16117 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16118
a2964074
SP
16119 * Makefile.in (bench-clean): New target.
16120 * benchtests/Makefile (bench-clean): Likewise.
16121
9fbf9aca
DH
161222013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16123
16124 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16125
207d1e2a
TS
161262013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16127
16128 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16129
306dfba9
AS
161302013-04-15 Andreas Schwab <schwab@suse.de>
16131
16132 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16133 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16134 * nscd/pwdcache.c (cache_addpw): Likewise.
16135 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16136 more than recsize.
16137
206a6699
SP
161382013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16139
16140 * benchtests/Makefile (bench): Write all output to
16141 bench-out.tmp together.
16142
0582f6b3
AS
161432013-04-15 Andreas Schwab <schwab@suse.de>
16144
16145 * nscd/nscd.c (main): Don't fork again after closing files.
16146
acb4325f
SP
161472013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16148
5cb26d0a
SP
16149 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16150
acb4325f
SP
16151 * benchtests/Rules (bench-deps): Collect dependencies into a
16152 single variable. Add Makefile to dependencies.
16153 ($(objpfx)bench-%.c): Depend on bench-deps.
16154
47792506
RM
161552013-04-12 Roland McGrath <roland@hack.frob.com>
16156 Xavier Roche <roche+kml2@exalead.com>
16157
16158 [BZ #15361]
16159 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16160 just that it's a file descriptor.
16161 * manual/llio.texi (Synchronizing AIO Operations): Update description
16162 for EBADF error from aio_fsync.
16163
8fc1bee5
SP
161642013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16165
16166 * Rules (bench): Move target definition...
16167 * benchtests/Makefile: ... here.
16168
aba5e333
CD
161692013-04-11 Carlos O'Donell <carlos@redhat.com>
16170
16171 * math/libm-test.inc (cos_test): Fix PI/2 test.
16172 (sincos_test): Likewise.
16173 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16174 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16175
273cdee8
AS
161762013-04-11 Andreas Schwab <schwab@suse.de>
16177
6ecec3b6
AS
16178 [BZ #13988]
16179 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16180 accept exponent character only when digits were seen.
16181 * stdio-common/Makefile (tests): Add bug26.
16182 * stdio-common/bug26.c: New file.
16183
273cdee8
AS
16184 [BZ #14293]
16185 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16186 non-freeable.
16187
8da491f5
SP
161882013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16189
01dc6df9
SP
16190 * Makeconfig (rtld-prefix): Define built linker prefix.
16191 * Rules (run-bench): Use it.
16192 * math/Makefile (run-regen-ulps): Likewise.
16193
8da491f5
SP
16194 * Rules (bench): Remove eval.
16195
abe7f530
SP
161962013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16197 Roland McGrath <roland@hack.frob.com>
16198 Ondrej Bilka <neleai@seznam.cz>
16199
16200 [BZ #15346]
16201 * time/getdate.c: Include ctype.h and alloca.h.
16202 (__getdate_r): Trim leading and trailing spaces of input.
16203 * time/tst-getdate.c (tests): Add tests with leading and
16204 trailing spaces.
16205
61c23e62
RM
162062013-04-08 Roland McGrath <roland@hack.frob.com>
16207
16208 [BZ #14280]
16209 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16210 when computing value.
16211
7208a313
CD
162122013-04-06 Carlos O'Donell <carlos@redhat.com>
16213
085b2d41
CD
16214 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16215 Use testrun.sh to run libm tests.
16216
7208a313
CD
16217 [BZ #15309]
16218 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16219
872c0acd
MM
162202013-04-06 Marko Myllynen <myllynen@redhat.com>
16221
16222 [BZ #15264]
16223 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16224
26510bdd
CD
162252013-04-06 Carlos O'Donell <carlos@redhat.com>
16226
16227 * Makefile.in (regen-ulps): New target.
16228 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16229 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16230 [ifneq (no,$(PERL)] (regen-ulps): New target.
16231 [ifeq (no,$(PERL)] (regen-ulps): New target.
16232 * math/libm-test.inc (ulps_file_name): Define.
16233 (output_dir): New variable.
16234 (options): Add "output-dir" option.
16235 (parse_opt): Handle 'o' case.
16236 (main): If output_dir is non-NULL use it as a prefix
16237 otherwise use "".
16238 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16239
a01f19c8
CD
162402013-04-06 Carlos O'Donell <carlos@redhat.com>
16241
16242 [BZ #10060, #10062]
16243 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16244 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16245 fail configure if __sync_val_compare_and_swap is not inlined.
16246 * sysdeps/i386/configure: Regenerate.
16247 * configure.in: Build for i686 when configured for i386.
16248 * configure: Regenerate.
16249 * README: Remove i386 reference.
16250
b7a329a5
CD
162512013-04-06 Carlos O'Donell <carlos@redhat.com>
16252
16253 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16254 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16255
bf0f50df
TS
162562013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16257
ee091edf
TS
16258 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16259 (lmsnanval): New variables.
16260 (F): Add conversion tests.
16261 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16262 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16263
a8b792d6
TS
16264 * stdio-common/tstdiomisc.c (F): Properly collect individual
16265 tests' results.
16266
a1cbf437
TS
16267 [BZ #14686, #15336]
16268 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16269 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16270 Instead, use input NaN values or generate a qNaN by arithmetic
16271 operation. Also fix bugs to comply with the standard.
16272 * math/libm-test.inc (remainder_test): Add more tests.
16273
8b43a0c9
TS
16274 [BZ #15335, #15342]
16275 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16277 input NaN values or generate a qNaN by arithmetic operation.
16278
d91da4ce
TS
16279 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16280 unreachable code.
16281
bf0f50df
TS
16282 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16283 definitions.
16284
05e166c8
JM
162852013-04-03 Joseph Myers <joseph@codesourcery.com>
16286
16287 [BZ #14478]
16288 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16289 underflowed result.
16290 * math/s_cexpf.c (__cexpf): Likewise.
16291 * math/s_cexpl.c (__cexpl): Likewise.
16292 * math/libm-test.inc (cexp_test): Add more tests.
16293
1cef1b19
AS
162942013-04-03 Andreas Schwab <schwab@suse.de>
16295
16296 [BZ #15330]
16297 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16298 order arrays from heap if bigger than alloca cutoff.
16299
74d87055
TS
163002013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16301
16302 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16303 (SNAN_TESTS_double): Refer to GCC PR56831.
16304 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16305 GCC PR56828.
16306
d755bba4
SP
163072013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16308
90d5d5bb
SP
16309 * Rules (bench): Move bench.out after the run is complete.
16310
73e0cd5d
SP
16311 * Rules (bench): Echo currently running benchmark.
16312
64aabd4b
SP
16313 * benchtests/Makefile (bench): Add atan and slowatan.
16314 * benchtests/atan-inputs: New file.
16315 * benchtests/slowatan-inputs: New file.
16316 * benchtests/slowatan.c: New file.
16317
c871eccd
SP
16318 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16319 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16320 its value.
16321
d755bba4
SP
16322 [BZ #15305]
16323 * sysdeps/unix/sysv/linux/kernel-features.h
16324 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16325 __ASSUME_XFS_RESTRICTED_CHOWN.
16326 * sysdeps/unix/sysv/linux/pathconf.c
16327 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16328 Save and restore errno.
16329
52ce4860
JM
163302013-04-02 Joseph Myers <joseph@codesourcery.com>
16331
16332 [BZ #15327]
16333 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16334 arguments using __kernel_casinh.
16335 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16336 arguments using __kernel_casinhf.
16337 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16338 arguments using __kernel_casinhl.
16339 * math/libm-test.inc (cacosh_test): Add more tests.
16340 * sysdeps/i386/fpu/libm-test-ulps: Update.
16341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16342
81f311c2
SP
163432013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16344
e7906a47
SP
16345 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16347
92e3664b
SP
16348 * bench/Makefile (bench): Add sin and slowsin.
16349 * benchtests/sin-inputs: New file.
16350 * benchtests/slowsin-inputs: New file.
16351 * benchtests/slowsin.c: New file.
16352
81f311c2
SP
16353 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16354 (bench): Add slowexp and slowpow.
16355 (exp-ITER): Increase iterations.
16356 (pow-ITER): Likewise.
16357 * benchtests/exp-inputs: Change input.
16358 * benchtests/pow-inputs: Likewise.
16359 * benchtests/slowexp-inputs: New file.
16360 * benchtests/slowexp.c: New file.
16361 * benchtests/slowpow-inputs: New file.
16362 * benchtests/slowpow.c: New file.
16363
ab0f1aa9
AZ
163642013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16365
16366 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16367 instructions.
16368 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16369 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16370 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16371 * benchtests/Makefile: Add rint benchtest.
16372 * benchtests/rint-inputs: Input for rint benchtest.
16373
57267616
TS
163742013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16375
16376 * Versions.def (libm): Add GLIBC_2.18.
16377 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16378 hidden libm prototypes.
16379 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16380 * math/Makefile (libm-calls): Add s_issignaling.
16381 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16382 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16383 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16384 declaration.
16385 * math/math.h [__USE_GNU] (issignaling): New macro.
16386 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16387 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16388 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16389 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16390 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16391 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16392 * manual/arith.texi (issignaling): New section.
16393 * manual/libm-err-tab.pl (@all_functions): Update comment.
16394 * math/gen-libm-test.pl (parse_args): Apply special handling for
16395 issignaling.
16396 * math/libm-test.inc (print_float, issignaling_test): New
16397 functions.
16398 (check_float_internal): Add issignaling checks.
16399 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16400 default definition.
16401 * sysdeps/powerpc/math-tests.h: New file.
16402 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16403 tests.
16404 * math/test-snan.c (TEST_FUNC): Likewise.
16405
6142896d
DM
164062013-03-30 David S. Miller <davem@davemloft.net>
16407
16408 * po/de.po: Update from translation team.
16409
ccc8cadf
JM
164102013-03-30 Joseph Myers <joseph@codesourcery.com>
16411
16412 [BZ #10357]
16413 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16414 imaginary part less than 1.0 and real part less than 0.5
16415 specially.
16416 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16417 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16418 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16419 (cacos_test): Add more tests.
16420 (casin_test): Likewise.
16421 (casinh_test): Likewise.
16422 * sysdeps/i386/fpu/libm-test-ulps: Update.
16423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16424
0f6a8d4b
SP
164252013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16426
0d1029de
SP
16427 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16428 ONE with its value.
16429
c2d94018
SP
16430 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16431 (__pow_mp): Replace ONE and MONE with their values.
16432 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16433 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16434 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16435 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16436 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16438
27ec37f1
SP
16439 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16440
a64d7e0e
SP
16441 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16442 (__pow_mp): Replace ZERO and MZERO with their values.
16443 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16444 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16445 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16446 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16447 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16448 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16449 (__sqr): Likewise.
16450
d26dd3eb
SP
16451 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16452
0f6a8d4b
SP
16453 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16454
e57b0c61
RM
164552013-03-28 Roland McGrath <roland@hack.frob.com>
16456
16457 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16458 Declare with __attribute__ ((weak)).
16459 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16460 Call __call_tls_dtors only if it's not NULL.
16461
356b3480
RM
164622013-03-28 Roland McGrath <roland@hack.frob.com>
16463
288f7d79
RM
16464 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16465 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16466 magic __ehdr_start linker symbol if it's defined.
16467 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16468 them up here if it was already done.
16469
dc0a0263
RM
16470 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16471 (_dl_aux_init): Use const in cast when setting it.
16472 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16473 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16474 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16475
3d3436ae
RM
16476 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16477 Declare them here.
16478 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16479 * csu/libc-tls.c: Nor here.
16480 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16481
356b3480
RM
16482 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16483 (__libc_message): Never call vsyslog.
16484
b0f1246a
AM
164852013-03-28 Alan Modra <amodra@gmail.com>
16486
16487 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16488 Define as empty.
16489 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16490 Likewise.
16491
fbbe2b9a
AZ
164922013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16493
16494 [BZ #15214]
16495 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16496 underflow.
16497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16498
1728ab37
SP
164992013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16500
7a86be6e
SP
16501 [BZ #15304]
16502 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16503 Don't add gid passed as argument.
16504
1728ab37
SP
16505 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16506
3a7182a1
JM
165072013-03-27 Joseph Myers <joseph@codesourcery.com>
16508
16509 [BZ #15307]
16510 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16511 imaginary part between 1.0 and 1.5 and real part less than 0.5
16512 specially.
16513 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16514 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16515 * math/libm-test.inc (cacos_test): Add more tests.
16516 (casin_test): Likewise.
16517 (casinh_test): Likewise.
16518 * sysdeps/i386/fpu/libm-test-ulps: Update.
16519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16520
6f2e90e7
SP
165212013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16522
5739f705
SP
16523 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16524 constants.
16525 (norm): Likewise.
16526 (denorm): Likewise.
16527 (__dbl_mp): Likewise.
16528 (add_magnitudes): Likewise.
16529 (sub_magnitudes): Likewise.
16530 (__add): Likewise.
16531 (__sub): Likewise.
16532 (__mul): Likewise.
16533 (__sqr): Likewise.
16534 (__inv): Likewise.
16535 (__dvd): Likewise.
16536
e375e83d
SP
16537 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16538 commented code.
16539 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16540 (__dubcos): Likewise.
16541 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16542 (__ieee754_acos): Likewise.
16543 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16544 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16545 (__exp1): Likewise.
16546 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16547 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16548 (log1): Likewise.
16549 (my_log2): Likewise.
16550 (checkint): Likewise.
16551 * sysdeps/ieee754/dbl-64/e_remainder.c
16552 (__ieee754_remainder): Likewise.
16553 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16554 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16555 (bsloww): Likewise.
16556 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16557
6f2e90e7
SP
16558 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16559 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16560 MANTISSA_STORE_T to store computations on mantissa. Use
16561 macros for rounding and division.
16562 (denorm): Likewise.
16563 (__dbl_mp): Likewise.
16564 (add_magnitudes): Likewise.
16565 (sub_magnitudes): Likewise.
16566 (__mul): Likewise.
16567 (__sqr): Likewise.
16568 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16569 powers of two in terms of TWOPOW macro.
16570 (mp_no): Make type of mantissa as MANTISSA_T.
16571 [!RADIXI]: Define RADIXI.
16572 [!TWO52]: Define TWO52.
16573 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16574
fce14d4e
AZ
165752013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16576
16577 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16578 llroundl symbol when building for PPC32.
16579
9ad027fb
MW
165802013-03-24 Mark H Weaver <mhw@netris.org>
16581
16582 * manual/arith.texi (Normalization Functions): Fix prototypes for
16583 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16584
e42a38dd
AZ
165852013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16586
16587 [BZ #13889]
16588 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16589 high value to check if expl overflow.
16590 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16591 to check for underflow and overflow.
16592 * math/libm-test.inc: Add exp test.
16593
2e0fb521
DL
165942013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16595
16596 [BZ #11120]
16597 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16598 with NOT_IN_libc.
16599
b5784d95
AZ
166002013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16601
16602 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16603 symbol.
16604
5aa4a1a1
TS
166052013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16606
bdef0be7
TS
16607 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16608 wrap blocks consisting of several statements.
16609
5aa4a1a1
TS
16610 * sysdeps/generic/math-tests.h: New file.
16611 * sysdeps/i386/fpu/math-tests.h: Likewise.
16612 * math/test-snan.c: Include it.
16613 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16614
98c48fe5
JM
166152013-03-21 Joseph Myers <joseph@codesourcery.com>
16616
16617 [BZ #15285]
16618 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16619 (__ieee754_j0l): Do not improve calculations using cos of twice
16620 input for inputs above LDBL_MAX / 2.0L.
16621 (__ieee754_y0l): Likewise.
16622 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16623 (__ieee754_j1l): Do not improve calculations using cos of twice
16624 input for inputs above LDBL_MAX / 2.0L.
16625 (__ieee754_y1l): Likewise.
16626 * math/libm-test.inc (j0_test): Add another test.
16627 (j1_test): Likewise.
16628 (y0_test): Likewise.
16629 (y1_test): Likewise.
16630 * sysdeps/i386/fpu/libm-test-ulps: Update.
16631
3775a8bc
SP
166322013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16633
16634 * Rules ($(objpfx)bench-%.c): Include code from a C source
16635 file.
16636
0a1b2ae6
JM
166372013-03-21 Joseph Myers <joseph@codesourcery.com>
16638
16639 [BZ #15287]
16640 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16641 imaginary part 1.0 and real part less than 0.5 specially.
16642 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16643 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16644 * math/libm-test.inc (cacos_test): Add more tests.
16645 (casin_test): Likewise.
16646 (casinh_test): Likewise.
16647 * sysdeps/i386/fpu/libm-test-ulps: Update.
16648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16649
b33d4ce4
SP
166502013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16651
16652 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16653 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16654
bef0b507
JM
166552013-03-20 Joseph Myers <joseph@codesourcery.com>
16656
16657 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16658 * config.make.in (config-cflags-sse4): Remove variable.
16659 (config-cflags-avx): Likewise.
16660 (config-cflags-sse2avx): Likewise.
16661 (config-cflags-novzeroupper): Likewise.
16662 (config-asflags-i686): Likewise.
16663 (have-mfma4): Likewise.
16664 (have-as-vis3): Likewise.
16665 (MIG): Likewise.
16666 * configure.in (MIG): Do not AC_SUBST.
16667 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16668 (libc_cv_cc_sse4): Do not AC_SUBST.
16669 (libc_cv_cc_avx): Likewise.
16670 (libc_cv_cc_sse2avx): Likewise.
16671 (libc_cv_cc_novzeroupper): Likewise.
16672 (libc_cv_cc_fma4): Likewise.
16673 (libc_cv_as_i686): Likewise.
16674 (libc_cv_sparc_as_vis3): Likewise.
16675 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16676 LIBC_CONFIG_VAR.
16677 (config-asflags-i686): Likewise.
16678 (config-cflags-avx): Likewise.
16679 (config-cflags-sse2avx): Likewise.
16680 (have-mfma4): Likewise.
16681 (config-cflags-novzeroupper): Likewise.
16682 * sysdeps/mach/configure.in (MIG): Likewise.
16683 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16684 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16685 LIBC_CONFIG_VAR.
16686 (config-cflags-avx): Likewise.
16687 (config-cflags-sse2avx): Likewise.
16688 (have-mfma4): Likewise.
16689 (config-cflags-novzeroupper): Likewise.
16690 * configure: Regenerated.
16691 * sysdeps/i386/configure: Likewise.
16692 * sysdeps/mach/configure: Likewise.
16693 * sysdeps/sparc/configure: Likewise.
16694 * sysdeps/x86_64/configure: Likewise.
16695
912cc4b3
RM
166962013-03-20 Roland McGrath <roland@hack.frob.com>
16697
16698 [BZ #14812]
16699 * locale/programs/localedef.c (options): Put N_ translation marker
16700 on argument names, not just descriptions.
16701
04eed2b0
MS
167022013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16703
16704 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16705
a065ceff
OB
167062013-03-20 Ondřej Bílka <neleai@seznam.cz>
16707
9bb2a810 16708 [BZ #14176]
a065ceff
OB
16709 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16710
a600e5ce
RM
167112013-03-19 Roland McGrath <roland@hack.frob.com>
16712
16713 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16714 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16715 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16716 [!BEFORE_ABORT] (before_abort): New function.
16717 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16718 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16719 (writev_for_fatal): New function.
16720 (WRITEV_FOR_FATAL): New macro; call that.
16721 (backtrace_and_maps): New function.
16722 (BEFORE_ABORT): New macro; call that.
16723 (struct str_list): Type removed.
16724 (__libc_message, __libc_fatal): Functions removed.
16725 Include <sysdeps/posix/libc_fatal.c> instead.
16726
6b18bea6
JM
167272013-03-19 Joseph Myers <joseph@codesourcery.com>
16728
16729 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16730 constants.
16731 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16732 double constants.
16733
aaa8cb4b
AS
167342013-03-19 Andreas Schwab <schwab@suse.de>
16735
44673770
AS
16736 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16737 * sysdeps/gnu/configure: Regenerate.
16738
aaa8cb4b
AS
16739 * configure.in: Substitute libc_cv_rtlddir.
16740 * configure: Regenerate.
16741 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16742 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16743 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16744 * elf/Makefile (install-others, CFLAGS-interp.c)
16745 (ldso_install, common-ldd-rewrite): Likewise.
16746 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16747 $(inst_slibdir)/$(rtld-installed-name).
16748 * scripts/rellns-sh: Add -p option.
16749 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16750 for source.
16751
d3cfc668
SP
167522013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16753
16754 * manual/nptl.texi: Renamed to ...
16755 * manual/threads.texi: ... this.
16756 * manual/Makefile (chapters): Update.
16757
0e2b9cdd
RM
167582013-03-18 Roland McGrath <roland@hack.frob.com>
16759
16760 [BZ #14812]
16761 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16762 on argument names, not just descriptions.
0e2b9cdd
RM
16763 * malloc/memusagestat.c (options): Likewise.
16764 * nss/getent.c (options): Likewise.
63270c24
RM
16765
167662013-03-18 Benno Schulenberg <bensberg@justemail.net>
16767
16768 [BZ #14812]
16769 * iconv/iconv_prog.c (options): Put N_ translation marker
16770 on argument names, not just descriptions.
16771 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16772
b2e1393c
OB
167732013-03-18 Ondrej Bilka <neleai@seznam.cz>
16774
16775 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16776 implementation which is faster on all x86_64 architectures.
16777 Tested on AMD, Intel Nehalem, SNB, IVB.
16778 * sysdeps/x86_64/strnlen.S: Likewise.
16779
16780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16781 Remove all multiarch strlen and strnlen versions.
16782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16783 Remove strlen and strnlen related parts.
16784
16785 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16786 Inline strlen part.
16787 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16788
16789 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16790 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16791 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16792 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16793 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16794 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16795
ec4ff04d
CD
167962013-03-17 Carlos O'Donell <carlos@redhat.com>
16797
16798 * manual/memory.texi (Malloc Tunable Parameters):
16799 Sort parameters alphabetically. Add comments for missing entries.
16800
cd18e90a
DM
168012013-03-17 David S. Miller <davem@davemloft.net>
16802
16803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16804
2a185d32
JM
168052013-03-16 Joseph Myers <joseph@codesourcery.com>
16806
d2f9799e
JM
16807 [BZ #15283]
16808 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16809 for arguments at most half maximum finite value.
16810 * math/libm-test.inc (j0_test): Add more tests.
16811 (j1_test): Likewise.
16812 (y0_test): Likewise.
16813 (y1_test): Likewise.
16814 * sysdeps/i386/fpu/libm-test-ulps: Update.
16815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16816
2a185d32
JM
16817 [BZ #14155]
16818 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16819 1 / x and functions P and Q for arguments above 0x1p256L.
16820 (__ieee754_y0l): Likewise.
16821 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16822 (__ieee754_y1l): Likewise.
16823 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16824 (j1_test): Likewise.
16825 (y0_test): Likewise.
16826 (y1_test): Likewise.
16827
6cbec759
TS
168282013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16829
16830 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16831 variable.
16832
bc16e260
RM
168332013-03-15 Roland McGrath <roland@hack.frob.com>
16834
aefc9b8c
RM
16835 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16836 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16837 zero since it's initialized to EXEC_PAGESIZE.
16838
bc16e260
RM
16839 * sysdeps/unix/sysv/linux/ldsodefs.h
16840 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16841 * sysdeps/generic/ldsodefs.h: ... here.
16842
a57da955
TS
168432013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16844
af00a34d
TS
16845 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16846
495ded2c
TS
16847 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16848 math/test-snan.c.
16849 * math/test-snan.c: Renamed from
16850 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16851 * math/Makefile (tests): Add test-snan.
16852 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16853 test-powerpc-snan.
16854
777b0332
TS
16855 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16856 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16857 functions.
16858 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16859 __builtin_nan family of functions.
16860 * math/libm-test.inc (initialize): Initialize qnan_value with
16861 __builtin_nan family of functions.
16862 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16863 Remove variables.
16864 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16865 Remove functions.
16866 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16867 storage class. Initialize qNaN_var and sNaN_var with
16868 __builtin_nan and __builtin_nans families of functions,
16869 respectively.
16870
64d063b8
TS
16871 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16872 (sqrt_test): Remove duplicate test with qNaN input.
16873 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16874 (round_test, signbit_test, significand_test): Note missing +/-Inf
16875 as well as qNaN tests.
16876
67e971f1
TS
16877 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16878 qNaN_var. Fix a few strings, too.
16879 * math/libm-test.inc (nan_value): Rename to qnan_value.
16880 * math/gen-libm-test.pl (%beautify): Adjust to that.
16881 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16882 * math/test-misc.c (main): Likewise.
16883 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16884 to __qnan_bytes, and __qnan_union, respectively.
16885 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16886 Likewise.
16887 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16888 and lqnanval, respectively.
16889 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16890 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16891 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16892 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16893
64487e12
TS
16894 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16895 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16896 doubles.
16897
e015e27b
TS
16898 * math/test-misc.c (main): Fix copy'n'pastos.
16899 * misc/tst-efgcvt.c (special): Likewise.
16900
a57da955
TS
16901 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16902 Remove declarations.
16903
1e380345
SP
169042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16905
16906 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16907 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16908 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16909 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16910
ef26eece
AZ
169112013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16912
16913 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16914 macro to return vdso values correctly in IFUNC implementations.
16915 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16916 Optimization by using IFUNC.
16917
8cfdb7e0
SP
169182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16919 Richard Henderson <rth@redhat.com>
16920 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16921
16922 * Makefile.in (bench): New target.
16923 * NEWS: Mention the benchmark framework.
16924 * Rules (bench): Likewise.
16925 (binaries-bench): Generate binaries for functions to
16926 benchmark.
16927 * benchtests/Makefile: New makefile for benchmark tests.
16928 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16929 programs.
16930 * benchtests/exp-inputs: New input file for EXP function.
16931 * benchtests/pow-inputs: New input file for POW function.
16932 * scripts/bench.pl: New script to generate source files for
16933 benchmark programs.
16934
bcda9880
SP
169352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16936
d22ca8cd
SP
16937 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16938 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16939 computations on mantissa. Use macros for rounding and
16940 division.
16941 (denorm): Likewise.
16942 (__dbl_mp): Likewise.
16943 (add_magnitudes): Likewise.
16944 (sub_magnitudes): Likewise.
16945 (__mul): Likewise.
16946 (__sqr): Likewise.
16947 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16948 powers of two in terms of TWOPOW macro.
16949 (mp_no): Make type of mantissa as MANTISSA_T.
16950 [!RADIXI]: Define RADIXI.
16951 [!TWO52]: Define TWO52.
16952 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16953
bcda9880
SP
16954 * manual/nptl.texi (cindex): Modify threads to pthreads.
16955
06d5adfb
JM
169562013-03-15 Joseph Myers <joseph@codesourcery.com>
16957
16958 * sysdeps/x86_64/preconfigure: Regenerated.
16959
41c7328e
JM
169602013-03-14 Joseph Myers <joseph@codesourcery.com>
16961
16962 [BZ #14155]
16963 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16964 0x1p28 and above.
16965 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16966 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16967 0x1p28 and above.
16968 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16969 * math/libm-test.inc (j0_test): Do not allow one spurious
16970 underflow exception.
16971 (y1_test): Likewise.
16972
e25cfa60
SP
169732013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16974
0409959c
SP
16975 * manual/Makefile (chapters): Add nptl.
16976 * manual/debug.texi (Debugging Support): Add link to Threads
16977 chapter.
16978 * manual/nptl.texi: New file.
16979
e25cfa60
SP
16980 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16981
58a1335e
PB
169822013-03-14 Petr Baudis <pasky@ucw.cz>
16983
16984 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16985 for non-NULL pointer before the memory validity test. Pointed
16986 out by Holger Brunck <holger.brunck@keymile.com>.
16987
9dc7c64f
AS
169882013-03-13 Andreas Schwab <schwab@suse.de>
16989
16990 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16991 instead of .os.
16992
54206aa6
JM
169932013-03-13 Joseph Myers <joseph@codesourcery.com>
16994
16995 * timezone/zic.c: Update from tzcode 2013b.
16996
e98cdb38
CD
169972013-03-12 Carlos O'Donell <carlos@redhat.com>
16998
16999 * manual/install.texi (Configuring and compiling):
17000 Mention i686 and i586.
17001 * INSTALL: Regenerate.
17002
9967e003
RM
170032013-03-12 Roland McGrath <roland@hack.frob.com>
17004
17005 * sysdeps/init_array/elf-init.c: New file.
17006 * csu/elf-init.c
17007 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17008 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17009
17010 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17011 __gmon_start__ as global, but as static with a .preinit_array pointer.
17012 * sysdeps/init_array/gmon-start.c: New file. Use that.
17013 * sysdeps/init_array/crti.S: New file, empty except for comments.
17014 * sysdeps/init_array/crtn.S: Likewise.
17015
e6b5a293 170162013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17017
17018 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17019 definining bcopy.
80f844c9
OB
17020 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17021 Remove Prefer_SSE_for_memop.
17022 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17023 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17024 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17026 memset-x86-64.
80f844c9 17027 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17028 Remove bzero, memset ifunc support.
80f844c9
OB
17029 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17030 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17031 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17032 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17033
fb6b0fcb
AS
170342013-03-11 Andreas Schwab <schwab@suse.de>
17035
17036 [BZ #15234]
17037 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17038 by SHLIB_COMPAT.
17039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17040 (GLIBC_2.16): Remove pthread_atfork.
17041
3e6bd4b1
PP
170422013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17043
17044 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17045 (ptestcases.h): Likewise.
17046
222d7f00
RM
170472013-03-08 Roland McGrath <roland@hack.frob.com>
17048
17049 * Makeconfig ($(common-objpfx)config.status): Depend on
17050 sysdeps/*/preconfigure{,.in} too.
17051
1ba4f030
JM
170522013-03-08 Joseph Myers <joseph@codesourcery.com>
17053
a222d91a
JM
17054 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17055 (__free_hook): Use void * instead of __malloc_ptr_t.
17056 (__malloc_hook): Likewise.
17057 (__realloc_hook): Likewise.
17058 (__memalign_hook): Likewise.
17059 (__after_morecore_hook): Likewise.
17060 * malloc/arena.c (save_malloc_hook): Likewise.
17061 (save_free_hook): Likewise.
17062 * malloc/hooks.c (malloc_hook_ini): Likewise.
17063 (realloc_hook_ini): Likewise.
17064 (memalign_hook_ini): Likewise.
17065 * malloc/malloc.c (malloc_hook_ini): Likewise.
17066 (realloc_hook_ini): Likewise.
17067 (memalign_hook_ini): Likewise.
17068 (__free_hook): Likewise.
17069 (__malloc_hook): Likewise.
17070 (__realloc_hook): Likewise.
17071 (__memalign_hook): Likewise.
17072 (__libc_malloc): Likewise.
17073 (__libc_free): Likewise.
17074 (__libc_realloc): Likewise.
17075 (__libc_memalign): Likewise.
17076 (__libc_valloc): Likewise.
17077 (__libc_pvalloc): Likewise.
17078 (__libc_calloc): Likewise.
17079 (__posix_memalign): Likewise.
17080 * malloc/morecore.c (__sbrk): Likewise.
17081 (__default_morecore): Likewise.
17082
5cc45e10
JM
17083 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17084
dd54b864
JM
17085 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17086 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17087 __malloc_ptrdiff_t.
17088
1ba4f030
JM
17089 * malloc/malloc.h (__malloc_size_t): Remove macro.
17090 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17091 __malloc_size_t.
17092 (old_memalign_hook): Likewise.
17093 (old_realloc_hook): Likewise.
17094 (struct hdr): Likewise.
17095 (flood): Likewise.
17096 (mallochook): Likewise.
17097 (memalignhook): Likewise.
17098 (reallochook): Likewise.
17099 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17100 (tr_old_realloc_hook): Likewise.
17101 (tr_old_memalign_hook): Likewise.
17102 (tr_mallochook): Likewise.
17103 (tr_reallochook): Likewise.
17104 (tr_memalignhook): Likewise.
17105
edf66e57
AZ
171062013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17107
17108 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17109 default_ldbl_pack and using as default implementation.
17110 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17111 implementation.
17112 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17113 redundant definition.
17114 (ldbl_insert_mantissa): Likewise.
17115 (ldbl_canonicalize): Likewise.
17116 (ldbl_nearbyint): Likewise.
17117 (ldbl_pack): Rename to ldbl_pack_ppc.
17118 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17119 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17120 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17121
6d9145d8
SP
171222013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17123
17124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17125 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17126 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17127 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17129 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17130 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17131 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17132
4dd4e157
AJ
171332013-03-07 Andreas Jaeger <aj@suse.de>
17134
17135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17136 bits/mman-linux.h.
17137
adbb8027
SP
171382013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17139
ce544b5b
SP
17140 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17141 Include mpa.h and declare __MPEXP.
17142 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17143 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17144 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17145 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17146 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17147 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17148 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17149
4cc149fd
SP
17150 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17151 (__slowpow): Use long double EXPL and LOGL functions to
17152 compute POW.
17153 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17154 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17155 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17156 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17157 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17159
e6ebd4a7
SP
17160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17161 intermediate variable to calculate exponent.
17162 (__sqr): Likewise.
17163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17164 Likewise.
17165 (__sqr): Likewise.
17166
82a9811d
SP
17167 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17168 [!NO__SQR]: Define __sqr.
17169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17170 and NO__SQR. Remove all code except __mul and __sqr. Include
17171 sysdeps/ieee754/dbl-64/mpa.c.
17172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17173
adbb8027
SP
17174 [BZ #12723]
17175 * posix/Makefile (tests): Add tst-pathconf.
17176 * posix/tst-pathconf.c: New test case.
17177 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17178 _PC_PIPE_BUF.
17179 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17180
39120df9
PF
171812013-03-06 Patsy Franklin <pfrankli@redhat.com>
17182
17183 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17184
67525cb8
AJ
171852013-03-06 Andreas Jaeger <aj@suse.de>
17186
664a9ce4
AJ
17187 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17188 definition via __MAP_ANONYMOUS.
17189
8e39047d
AJ
17190 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17191 it's not part of Linux headers.
17192
67525cb8
AJ
17193 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17194 (MAP_HUGE_MASK): Define.
17195
17196 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17197 Define.
17198 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17199 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17200 Define.
17201 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17202 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17203 Define.
17204 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17205 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17206 Define.
17207 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17208
17209 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17210 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17211 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17212 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17213 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17214 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17215
17216 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17217 Handle f2fs.
17218
17219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17220 Handle f2fs and efivarfs.
17221
17222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17223 f2fs.
17224
17225 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17226 (EFIVARFS_MAGIC): Add.
17227 (F2FS_LINK_MAX): Add.
17228
e1b42695
PP
172292013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17230
17231 * stdio-common/vfprintf.c: Replace __builtin_expect with
17232 __glibc_unlikely.
17233
2d67d91a
JM
172342013-03-06 Joseph Myers <joseph@codesourcery.com>
17235
17236 [BZ #13550]
17237 * sysdeps/generic/bp-sym.h: Remove file.
17238 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17239 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17240 <bp-sym.h> and <bp-asm.h>.
17241 (__longjmp): Don't use BP_SYM.
17242 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17243 and <bp-asm.h>.
17244 (memcpy): Don't use BP_SYM.
17245 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17246 <bp-sym.h> and <bp-asm.h>.
17247 (memcpy): Don't use BP_SYM.
17248 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17249 <bp-asm.h>.
17250 (memcpy): Don't use BP_SYM.
17251 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17252 <bp-asm.h>.
17253 (memset): Don't use BP_SYM.
17254 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17255 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17256 (__bzero): Don't use BP_SYM.
17257 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17258 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17259 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17260 <bp-sym.h> and <bp-asm.h>.
17261 (memcmp): Don't use BP_SYM. Remove comment about bounded
17262 pointers.
17263 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17264 <bp-sym.h> and <bp-asm.h>.
17265 (memcpy): Don't use BP_SYM.
17266 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17267 <bp-sym.h> and <bp-asm.h>.
17268 (memset): Don't use BP_SYM.
17269 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17270 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17271 (__bzero): Don't use BP_SYM.
17272 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17273 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17274 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17275 <bp-sym.h> and <bp-asm.h>.
17276 (strncmp): Don't use BP_SYM. Remove comment about bounded
17277 pointers.
17278 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17279 <bp-sym.h> and <bp-asm.h>.
17280 (memcpy): Don't use BP_SYM.
17281 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17282 <bp-sym.h> and <bp-asm.h>.
17283 (memset): Don't use BP_SYM.
17284 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17285 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17286 (__bzero): Don't use BP_SYM.
17287 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17288 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17289 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17290 <bp-sym.h> and <bp-asm.h>.
17291 (__memchr): Don't use BP_SYM.
17292 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17293 <bp-sym.h> and <bp-asm.h>.
17294 (memcmp): Don't use BP_SYM. Remove comment about bounded
17295 pointers.
17296 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17297 <bp-sym.h> and <bp-asm.h>.
17298 (memcpy): Don't use BP_SYM.
17299 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17300 <bp-sym.h> and <bp-asm.h>.
17301 (__mempcpy): Don't use BP_SYM.
17302 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17303 <bp-sym.h> and <bp-asm.h>.
17304 (__memrchr): Don't use BP_SYM.
17305 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17306 <bp-sym.h> and <bp-asm.h>.
17307 (memset): Don't use BP_SYM.
17308 (__bzero): Likewise.
17309 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17310 <bp-sym.h> and <bp-asm.h>.
17311 (__rawmemchr): Don't use BP_SYM.
17312 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17313 <bp-sym.h> and <bp-asm.h>.
17314 (__STRCMP): Don't use BP_SYM.
17315 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17316 <bp-sym.h> and <bp-asm.h>.
17317 (strchr): Don't use BP_SYM.
17318 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17319 <bp-sym.h> and <bp-asm.h>.
17320 (__strchrnul): Don't use BP_SYM.
17321 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17322 <bp-sym.h> and <bp-asm.h>.
17323 (strlen): Don't use BP_SYM.
17324 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17325 <bp-sym.h> and <bp-asm.h>.
17326 (strncmp): Don't use BP_SYM. Remove comment about bounded
17327 pointers.
17328 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17329 <bp-sym.h> and <bp-asm.h>.
17330 (__strnlen): Don't use BP_SYM.
17331 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17332 <bp-sym.h> and <bp-asm.h>.
17333 (__GI__setjmp): Don't use BP_SYM.
17334 (_setjmp): Likewise.
17335 (__sigsetjmp): Likewise.
17336 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17337 (L(start_addresses)): Don't use BP_SYM.
17338 (_start): Likewise.
17339 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17340 <bp-asm.h>.
17341 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17342 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17343 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17344 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17345 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17346 <bp-asm.h>.
17347 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17348 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17349 about bounded pointers.
17350 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17351 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17352 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17353 <bp-asm.h>.
17354 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17355 about bounded pointers. Remove GKM FIXME comments.
17356 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17357 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17358 <bp-asm.h>.
17359 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17360 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17361 Remove GKM FIXME comments.
17362 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17363 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17364 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17365 <bp-asm.h>.
17366 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17367 about bounded pointers. Remove GKM FIXME comment.
17368 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17369 and <bp-asm.h>.
17370 (strncmp): Don't use BP_SYM. Remove comment about bounded
17371 pointers.
17372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17373 <bp-sym.h> and <bp-asm.h>.
17374 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17376 <bp-sym.h> and <bp-asm.h>.
17377 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17378 comment.
17379
cdcf361f
PP
173802013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17381
17382 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17383 call free(NULL).
17384
3c4a2b15
DM
173852013-03-05 David S. Miller <davem@davemloft.net>
17386
17387 * po/es.po: Update from translation team.
17388
cdcf361f 173892013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
17390
17391 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17392 <bits/mman-linux.h>.
17393 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17394 is fine.
17395 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17396 <bits/mman-linux.h> to end of file.
17397 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17398 is fine.
17399 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17400 <bits/mman-linux.h> to end of file.
17401 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17402 is fine.
17403 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17404 <bits/mman-linux.h> to end of file.
17405
17406 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17407 (MCL_CURRENT, MCL_FUTURE): Define here.
17408
5f67c04f
AK
174092013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17410
8a4473cc 17411 [BZ #15232]
5f67c04f
AK
17412 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17413 attribute_hidden.
17414 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17415
c3e94a95
AK
174162013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17417
17418 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17419 fourth parameter needed for rt_sigprocmask syscall.
17420 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17421 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17422 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17423 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17424 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17425 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17426
cfb6382a
JM
174272013-03-04 Joseph Myers <joseph@codesourcery.com>
17428
17429 [BZ #13550]
17430 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17431 comment about bounded pointers.
17432 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17433 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17434
539d8e01
AJ
174352013-03-04 Andreas Jaeger <aj@suse.de>
17436
17437 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17438 common definitions.
17439
17440 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17441 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17442 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17443 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17444 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
17445 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17446
2e167a70 174472013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
17448
17449 [BZ #15055]
17450 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17451 __ieee754_sqrl instead of __sqrl.
17452
68508633
JM
174532013-03-01 Joseph Myers <joseph@codesourcery.com>
17454
17455 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17456 * sysdeps/powerpc/fpu_control.h: ... here.
17457 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17458 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17459 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17460 * sysdeps/powerpc/bits/mathinline.h: ... here.
17461
7775448e
RM
174622013-03-01 Roland McGrath <roland@hack.frob.com>
17463
17464 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17465 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17466 to just [NEED_DL_SYSINFO_DSO].
17467 * elf/dl-support.c: Likewise.
17468 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17469 * elf/rtld.c (dl_main): Likewise.
17470 * elf/setup-vdso.h (setup_vdso): Likewise.
17471 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17472 * sysdeps/unix/sysv/linux/dl-sysdep.c
17473 (_dl_discover_osversion): Likewise.
17474
4e9b5995
CD
174752013-03-01 Carlos O'Donell <carlos@redhat.com>
17476
17477 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17478 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17479
e23872c8
SP
174802013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17481
e5c74c63
SP
17482 * NEWS: Mention libm performance improvements and non-x86 PI
17483 futex support.
17484
e23872c8
SP
17485 * csu/libc-start.c (__pthread_initialize_minimal): Change
17486 function arguments.
17487 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17488
b5510883
JM
174892013-02-28 Joseph Myers <joseph@codesourcery.com>
17490
17491 [BZ #13550]
17492 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17493 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17494 <bp-sym.h> and <bp-asm.h>.
17495 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17496 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17497 and <bp-asm.h>.
17498 (memcpy): Don't use BP_SYM.
17499 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17500 <bp-asm.h>.
17501 (__mpn_add_n): Don't use BP_SYM.
17502 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17503 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17504 and <bp-asm.h>.
17505 (__mpn_addmul_1): Don't use BP_SYM.
17506 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17507 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17508 <bp-sym.h>.
17509 (_setjmp): Don't use BP_SYM.
17510 (__novmx_setjmp): Likewise.
17511 (__GI__setjmp): Likewise.
17512 (__vmx_setjmp): Likewise.
17513 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17514 <bp-sym.h>.
17515 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17516 (__bzero): Don't use BP_SYM.
17517 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17518 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17519 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17520 <bp-sym.h> and <bp-asm.h>.
17521 (memcpy): Don't use BP_SYM.
17522 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17523 <bp-sym.h> and <bp-asm.h>.
17524 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17525 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17526 <bp-sym.h> and <bp-asm.h>.
17527 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17528 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17529 <bp-asm.h>.
17530 (__mpn_lshift): Don't use BP_SYM.
17531 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17532 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17533 <bp-asm.h>.
17534 (memset): Don't use BP_SYM.
17535 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17536 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17537 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17538 <bp-asm.h>.
17539 (__mpn_mul_1): Don't use BP_SYM.
17540 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17542 <bp-sym.h> and <bp-asm.h>.
17543 (memcmp): Don't use BP_SYM.
17544 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17545 <bp-sym.h> and <bp-asm.h>.
17546 (memcpy): Don't use BP_SYM.
17547 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17548 <bp-sym.h> and <bp-asm.h>.
17549 (memset): Don't use BP_SYM.
17550 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17551 <bp-sym.h> and <bp-asm.h>.
17552 (strncmp): Don't use BP_SYM.
17553 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17554 <bp-sym.h> and <bp-asm.h>.
17555 (memcpy): Don't use BP_SYM.
17556 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17557 <bp-sym.h> and <bp-asm.h>.
17558 (memset): Don't use BP_SYM.
17559 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17560 <bp-sym.h> and <bp-asm.h>.
17561 (__memchr): Don't use BP_SYM.
17562 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17563 <bp-sym.h> and <bp-asm.h>.
17564 (memcmp): Don't use BP_SYM.
17565 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17566 <bp-sym.h> and <bp-asm.h>.
17567 (memcpy): Don't use BP_SYM.
17568 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17569 <bp-sym.h> and <bp-asm.h>.
17570 (__mempcpy): Don't use BP_SYM.
17571 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17572 <bp-sym.h> and <bp-asm.h>.
17573 (__memrchr): Don't use BP_SYM.
17574 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17575 <bp-sym.h> and <bp-asm.h>.
17576 (memset): Don't use BP_SYM.
17577 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17578 <bp-sym.h> and <bp-asm.h>.
17579 (__rawmemchr): Don't use BP_SYM.
17580 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17581 <bp-sym.h> and <bp-asm.h>.
17582 (__STRCMP): Don't use BP_SYM.
17583 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17584 <bp-sym.h> and <bp-asm.h>.
17585 (strchr): Don't use BP_SYM.
17586 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17587 <bp-sym.h> and <bp-asm.h>.
17588 (__strchrnul): Don't use BP_SYM.
17589 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17590 <bp-sym.h> and <bp-asm.h>.
17591 (strlen): Don't use BP_SYM.
17592 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17593 <bp-sym.h> and <bp-asm.h>.
17594 (strncmp): Don't use BP_SYM.
17595 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17596 <bp-sym.h> and <bp-asm.h>.
17597 (__strnlen): Don't use BP_SYM.
17598 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17599 <bp-asm.h>.
17600 (__mpn_rshift): Don't use BP_SYM.
17601 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17602 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17603 <bp-sym.h> and <bp-asm.h>.
17604 (__sigsetjmp): Don't use BP_SYM.
17605 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17606 (L(start_addresses)): Don't use BP_SYM.
17607 (_start): Likewise.
17608 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17609 <bp-asm.h>.
17610 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17611 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17612 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17613 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17614 <bp-asm.h>.
17615 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17616 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17617 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17618 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17619 <bp-asm.h>.
17620 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17621 comments.
17622 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17623 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17624 <bp-asm.h>.
17625 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17626 FIXME comments.
17627 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17628 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17629 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17630 <bp-asm.h>.
17631 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17632 comment.
17633 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17634 and <bp-asm.h>.
17635 (strncmp): Don't use BP_SYM,
17636 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17637 <bp-asm.h>.
17638 (__mpn_sub_n): Don't use BP_SYM.
17639 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17640 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17641 and <bp-asm.h>.
17642 (__mpn_submul_1): Don't use BP_SYM.
17643 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17645 <bp-sym.h> and <bp-asm.h>.
17646 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17648 <bp-sym.h> and <bp-asm.h>.
17649 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17650 comment.
17651
8d19fe64
SP
176522013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17653
17654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17655 Use ZK to minimize writes to Z.
17656 (sub_magnitudes): Simplify code a bit.
17657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17658 Use ZK to minimize writes to Z.
17659 (sub_magnitudes): Simplify code a bit.
17660
85bd816a
RM
176612013-02-27 Roland McGrath <roland@hack.frob.com>
17662
17663 * csu/gmon-start.c: Add special exception to license text.
17664
b5977bf2
RH
176652013-02-27 Richard Henderson <rth@redhat.com>
17666
17667 * scripts/config.guess: Update from config.git.
17668 * scripts/config.sub: Likewise.
17669
11d6e2f2
SP
176702013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17671
09c14ed2
SP
17672 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17673
a688864e
SP
17674 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17675
6295157a
SP
17676 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17677
b8de2202
SP
17678 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17679
11d6e2f2
SP
17680 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17681
7e80ddb8
RM
176822013-02-26 Roland McGrath <roland@hack.frob.com>
17683
17684 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17685 [$(build-shared = yes].
7e80ddb8 17686
7da6d9ed
SP
176872013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17688
45f05884
SP
17689 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17690 (__mul): Reduce iterations for calculating mantissa.
17691
2236d359
SP
17692 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17693 MPTWO.
17694 (__mpranred): Likewise.
17695
7da6d9ed
SP
17696 [BZ #15160]
17697 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17698 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17699
b7688c42
PE
177002013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17701
17702 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17703 Define __attribute__.
17704
53a5c423
SP
177052013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17706
17707 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17708 unused.
17709 * posix/regex_internal.h (__attribute): Remove.
17710 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17711 (re_string_context_at): Likewise.
17712 (bitset_not): Use __attribute__ and mark function as possibly
17713 unused.
17714 (bitset_merge): Likewise.
17715 (bitset_mask): Likewise.
17716 (re_string_char_size_at): Likewise.
17717 (re_string_wchar_at): Likewise.
17718 (re_string_elem_size_at): Likewise.
17719
60f5a8b5
SP
177202013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17721
2a983a2e
SP
17722 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17723 code.
17724 (cc32): Likewise.
17725
e69804d1
SP
17726 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17727 (__acr): Likewise.
17728 (__cpy): Likewise.
17729 (norm): Likewise.
17730 (denorm): Likewise.
17731 (__dbl_mp): Likewise.
17732 (add_magnitudes): Likewise.
17733 (sub_magnitudes): Likewise.
17734 (__mul): Likewise.
17735 (__inv): Likewise.
17736
2f22a1e8
SP
17737 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17738 style.
17739
8930ddc7
SP
17740 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17741 style.
17742
dc60cb11
SP
17743 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17744 code.
17745
60f5a8b5
SP
17746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17747 up changes with default code.
17748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17749 Likewise.
17750
b4d1fd33
AM
177512013-02-24 Allan McRae <allan@archlinux.org>
17752
faf6f8bc
AM
17753 * manual/socket.texi (The Internet Namespace): Order menu items
17754 to match that in the file.
17755
b4d1fd33
AM
17756 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17757 node listing of the info page menu.
17758
2366713d
JM
177592013-02-21 Joseph Myers <joseph@codesourcery.com>
17760
17761 [BZ #13550]
17762 * sysdeps/i386/bp-asm.h: Remove file.
17763 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17764 (PARMS): Do not use macros from bp-asm.h.
17765 (S1): Likewise.
17766 (S2): Likewise.
17767 (SIZE): Likewise.
17768 (__mpn_add_n): Do not use BP_SYM
17769 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17770 "bp-asm.h".
17771 (PARMS): Do not use macros from bp-asm.h.
17772 (S1): Likewise.
17773 (SIZE): Likewise.
17774 (__mpn_addmul_1): Do not use BP_SYM
17775 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17776 "bp-asm.h".
17777 (PARMS): Do not use macros from bp-asm.h.
17778 (SIGMSK): Likewise.
17779 (_setjmp): Likewise. Do not use BP_SYM.
17780 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17781 "bp-asm.h".
17782 (PARMS): Do not use macros from bp-asm.h.
17783 (SIGMSK): Likewise.
17784 (setjmp): Likewise. Do not use BP_SYM.
17785 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17786 "bp-asm.h".
17787 (PARMS): Do not use macros from bp-asm.h.
17788 (__frexp): Do not use BP_SYM.
17789 (frexp): Likewise.
17790 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17791 "bp-asm.h".
17792 (PARMS): Do not use macros from bp-asm.h.
17793 (__frexpf): Do not use BP_SYM.
17794 (frexpf): Likewise.
17795 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17796 "bp-asm.h".
17797 (PARMS): Do not use macros from bp-asm.h.
17798 (__frexpl): Do not use BP_SYM.
17799 (frexpl): Likewise.
17800 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17801 "bp-asm.h".
17802 (PARMS): Do not use macros from bp-asm.h.
17803 (__remquo): Do not use BP_SYM.
17804 (remquo): Likewise.
17805 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17806 "bp-asm.h".
17807 (PARMS): Do not use macros from bp-asm.h.
17808 (__remquof): Do not use BP_SYM.
17809 (remquof): Likewise.
17810 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17811 "bp-asm.h".
17812 (PARMS): Do not use macros from bp-asm.h.
17813 (__remquol): Do not use BP_SYM.
17814 (remquol): Likewise.
17815 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17816 "bp-asm.h".
17817 (PARMS): Do not use macros from bp-asm.h.
17818 (DEST): Likewise.
17819 (SRC): Likewise.
17820 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17821 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17822 "bp-asm.h".
17823 (PARMS): Do not use macros from bp-asm.h.
17824 (strlen): Do not use BP_SYM.
17825 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17826 "bp-asm.h".
17827 (PARMS): Do not use macros from bp-asm.h.
17828 (S1): Likewise.
17829 (S2): Likewise.
17830 (SIZE): Likewise.
17831 (__mpn_add_n): Do not use BP_SYM.
17832 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17833 "bp-asm.h".
17834 (PARMS): Do not use macros from bp-asm.h.
17835 (S1): Likewise.
17836 (SIZE): Likewise.
17837 (__mpn_addmul_1): Do not use BP_SYM.
17838 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17839 weak_alias.
17840 (bzero): Likewise.
17841 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17842 "bp-asm.h".
17843 (PARMS): Do not use macros from bp-asm.h.
17844 (S): Likewise.
17845 (SIZE): Likewise.
17846 (__mpn_lshift): Do not use BP_SYM.
17847 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17848 "bp-asm.h".
17849 (PARMS): Do not use macros from bp-asm.h.
17850 (DEST): Likewise.
17851 (SRC): Likewise.
17852 (LEN): Likewise.
17853 (memcpy): Likewise. Do not use BP_SYM.
17854 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17855 libc_hidden_def and weak_alias.
17856 (mempcpy): Do not use BP_SYM in weak_alias.
17857 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17858 "bp-asm.h".
17859 (PARMS): Do not use macros from bp-asm.h.
17860 (DEST): Likewise.
17861 (LEN): Likewise.
17862 [!BZERO_P] (CHR): Likewise.
17863 (memset): Likewise. Do not use BP_SYM.
17864 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17865 "bp-asm.h".
17866 (PARMS): Do not use macros from bp-asm.h.
17867 (S1): Likewise.
17868 (SIZE): Likewise.
17869 (__mpn_mul_1): Do not use BP_SYM.
17870 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17871 "bp-asm.h".
17872 (PARMS): Do not use macros from bp-asm.h.
17873 (S): Likewise.
17874 (SIZE): Likewise.
17875 (__mpn_rshift): Do not use BP_SYM.
17876 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17877 "bp-asm.h".
17878 (PARMS): Do not use macros from bp-asm.h.
17879 (STR): Likewise.
17880 (CHR): Likewise.
17881 (strchr): Likewise. Do not use BP_SYM.
17882 (index): Do not use BP_SYM in weak_alias.
17883 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17884 "bp-asm.h".
17885 (PARMS): Do not use macros from bp-asm.h.
17886 (DEST): Likewise.
17887 (SRC): Likewise.
17888 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17889 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17890 "bp-asm.h".
17891 (PARMS): Do not use macros from bp-asm.h.
17892 (strlen): Do not use BP_SYM.
17893 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17894 "bp-asm.h".
17895 (PARMS): Do not use macros from bp-asm.h.
17896 (S1): Likewise.
17897 (S2): Likewise.
17898 (SIZE): Likewise.
17899 (__mpn_sub_n): Do not use BP_SYM.
17900 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17901 "bp-asm.h".
17902 (PARMS): Do not use macros from bp-asm.h.
17903 (S1): Likewise.
17904 (SIZE): Likewise.
17905 (__mpn_submul_1): Do not use BP_SYM.
17906 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17907 "bp-asm.h".
17908 (PARMS): Do not use macros from bp-asm.h.
17909 (S1): Likewise.
17910 (S2): Likewise.
17911 (SIZE): Likewise.
17912 (__mpn_add_n): Do not use BP_SYM.
17913 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17914 weak_alias.
17915 (bzero): Likewise.
17916 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17917 "bp-asm.h".
17918 (PARMS): Do not use macros from bp-asm.h.
17919 (BLK2): Likewise.
17920 (LEN): Likewise.
17921 (memcmp): Do not use BP_SYM.
17922 (bcmp): Do not use BP_SYM in weak_alias.
17923 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17924 "bp-asm.h".
17925 (PARMS): Do not use macros from bp-asm.h.
17926 (DEST): Likewise.
17927 (SRC): Likewise.
17928 (LEN): Likewise.
17929 (memcpy): Likewise. Do not use BP_SYM.
17930 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17931 "bp-asm.h".
17932 (PARMS): Do not use macros from bp-asm.h.
17933 (DEST): Likewise.
17934 (SRC): Likewise.
17935 (LEN): Likewise.
17936 (memmove): Likewise. Do not use BP_SYM.
17937 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17938 "bp-asm.h".
17939 (PARMS): Do not use macros from bp-asm.h.
17940 (DEST): Likewise.
17941 (SRC): Likewise.
17942 (LEN): Likewise.
17943 (__mempcpy): Likewise. Do not use BP_SYM.
17944 (mempcpy): Do not use BP_SYM in weak_alias.
17945 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17946 "bp-asm.h".
17947 (PARMS): Do not use macros from bp-asm.h.
17948 (DEST): Likewise.
17949 (LEN): Likewise.
17950 [!BZERO_P] (CHR): Likewise.
17951 (memset): Likewise. Do not use BP_SYM.
17952 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17953 "bp-asm.h".
17954 (PARMS): Do not use macros from bp-asm.h.
17955 (STR2): Likewise.
17956 (strcmp): Do not use BP_SYM.
17957 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17958 "bp-asm.h".
17959 (PARMS): Do not use macros from bp-asm.h.
17960 (STR): Likewise.
17961 (DELIM): Likewise.
17962 [USE_AS_STRTOK_R] (SAVE): Likewise.
17963 (FUNCTION): Likewise. Do not use BP_SYM.
17964 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17965 aliases.
17966 (strtok_r): Likewise.
17967 (__GI___strtok_r): Likewise.
17968 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17969 (PARMS): Do not use macros from bp-asm.h.
17970 (S): Likewise.
17971 (SIZE): Likewise.
17972 (__mpn_lshift): Do not use BP_SYM.
17973 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17974 (PARMS): Do not use macros from bp-asm.h.
17975 (STR): Likewise.
17976 (CHR): Likewise.
17977 (__memchr): Do not use BP_SYM.
17978 (memchr): Do not use BP_SYM in weak_alias.
17979 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17980 (PARMS): Do not use macros from bp-asm.h.
17981 (BLK2): Likewise.
17982 (LEN): Likewise.
17983 (memcmp): Do not use BP_SYM.
17984 (bcmp): Do not use BP_SYM in weak_alias.
17985 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17986 (PARMS): Do not use macros from bp-asm.h.
17987 (S1): Likewise.
17988 (SIZE): Likewise.
17989 (__mpn_mul_1): Do not use BP_SYM.
17990 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17991 "bp-asm.h".
17992 (PARMS): Do not use macros from bp-asm.h.
17993 (STR): Likewise.
17994 (CHR): Likewise.
17995 (__rawmemchr): Do not use BP_SYM.
17996 (rawmemchr): Do not use BP_SYM in weak_alias.
17997 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17998 (PARMS): Do not use macros from bp-asm.h.
17999 (S): Likewise.
18000 (SIZE): Likewise.
18001 (__mpn_rshift): Do not use BP_SYM.
18002 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18003 (PARMS): Do not use macros from bp-asm.h.
18004 (SIGMSK): Likewise.
18005 (__sigsetjmp): Likewise. Do not use BP_SYM.
18006 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18007 (_start): Do not use BP_SYM.
18008 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18009 (PARMS): Do not use macros from bp-asm.h.
18010 (DEST): Likewise.
18011 (SRC): Likewise.
18012 (__stpcpy): Likewise. Do not use BP_SYM.
18013 (stpcpy): Do not use BP_SYM in weak_alias.
18014 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18015 "bp-asm.h".
18016 (PARMS): Do not use macros from bp-asm.h.
18017 (DEST): Likewise.
18018 (SRC): Likewise.
18019 (LEN): Likewise.
18020 (__stpncpy): Likewise. Do not use BP_SYM.
18021 (stpncpy): Do not use BP_SYM in weak_alias.
18022 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18023 (PARMS): Do not use macros from bp-asm.h.
18024 (STR): Likewise.
18025 (CHR): Likewise.
18026 (strchr): Likewise. Do not use BP_SYM.
18027 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18028 "bp-asm.h".
18029 (PARMS): Do not use macros from bp-asm.h.
18030 (STR): Likewise.
18031 (CHR): Likewise.
18032 (__strchrnul): Likewise. Do not use BP_SYM.
18033 (strchrnul): Do not use BP_SYM in weak_alias.
18034 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18035 "bp-asm.h".
18036 (PARMS): Do not use macros from bp-asm.h.
18037 (STOP): Likewise.
18038 (strcspn): Do not use BP_SYM.
18039 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18040 "bp-asm.h".
18041 (PARMS): Do not use macros from bp-asm.h.
18042 (STR): Likewise.
18043 (STOP): Likewise.
18044 (strpbrk): Likewise. Do not use BP_SYM.
18045 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18046 "bp-asm.h".
18047 (PARMS): Do not use macros from bp-asm.h.
18048 (STR): Likewise.
18049 (CHR): Likewise.
18050 (strrchr): Likewise. Do not use BP_SYM.
18051 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18052 (PARMS): Do not use macros from bp-asm.h.
18053 (SKIP): Likewise.
18054 (strspn): Do not use BP_SYM.
18055 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18056 (PARMS): Do not use macros from bp-asm.h.
18057 (STR): Likewise.
18058 (DELIM): Likewise.
18059 (SAVE): Likewise.
18060 (FUNCTION): Likewise. Do not use BP_SYM.
18061 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18062 aliases.
18063 (strtok_r): Likewise.
18064 (__GI___strtok_r): Likewise.
18065 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18066 (PARMS): Do not use macros from bp-asm.h.
18067 (S1): Likewise.
18068 (S2): Likewise.
18069 (SIZE): Likewise.
18070 (__mpn_sub_n): Do not use BP_SYM.
18071 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18072 "bp-asm.h".
18073 (PARMS): Do not use macros from bp-asm.h.
18074 (S1): Likewise.
18075 (SIZE): Likewise.
18076 (__mpn_submul_1): Do not use BP_SYM.
18077 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18078 <bp-sym.h>.
18079 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18080 and <bp-asm.h>.
18081 (PARMS): Do not use macros from bp-asm.h.
18082 (FLAGS): Likewise.
18083 (PTID): Likewise.
18084 (TLS): Likewise.
18085 (CTID): Likewise.
18086 (__clone): Do not use BP_SYM.
18087 (clone): Do not use BP_SYM in weak_alias.
18088 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18089 and <bp-asm.h>.
18090 (PARMS): Do not use macros from bp-asm.h.
18091 (LEN): Likewise.
18092 (__mmap64): Do not use BP_SYM.
18093 (mmap64): Do not use BP_SYM in weak_alias.
18094 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18095 <bp-sym.h> and <bp-asm.h>.
18096 (PARMS): Do not use macros from bp-asm.h.
18097 (__posix_fadvise64_l64): Do not use BP_SYM.
18098 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18099 (PARMS): Do not use macros from bp-asm.h.
18100 (NSOPS): Likewise.
18101 (semtimedop): Do not use BP_SYM.
18102 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18103 and <bp-asm.h>.
18104
582a3cff
AM
181052013-02-21 Allan McRae <allan@archlinux.org>
18106
18107 * manual/message.texi (Charset conversion in gettext):
18108 Move @end statement to beginning of line.
18109
bab8a695
SP
181102013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18111
80945231
SP
18112 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18113 static.
18114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18115 Likewise.
18116
bab8a695
SP
18117 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18118 (denorm): Likewise.
18119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18121
e21d7aa7
AK
181222013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18123
18124 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18125 tail-call to the resolved function if pltexit isn't needed.
18126
4c7a4263
SP
181272013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18128
18129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18130 or Y being zero as being unlikely.
18131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18132 Likewise.
18133
41f49342
CD
181342013-02-20 Carlos O'Donell <carlos@redhat.com>
18135
18136 * manual/nss.texi (System Databases and Name Service Switch):
18137 Remove frobnicate @pxref.
18138
50022a93
TS
181392013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18140
18141 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18142 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18143
08cbd996
PM
181442013-02-20 Petr Machata <pmachata@redhat.com>
18145
18146 * elf/elf.h (R_ARM_TARGET1): New macro.
18147 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18148 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18149 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18150 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18151 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18152 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18153 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18154 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18155 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18156 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18157 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18158 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18159 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18160 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18161 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18162 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18163 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18164 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18165 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18166 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18167 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18168 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18169 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18170 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18171 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18172 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18173 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18174 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18175 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18176 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18177 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18178 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18179 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18180 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18181 (R_ARM_THM_GOT_BREL12): Likewise.
18182 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18183 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18184 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18185 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18186 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18187 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18188 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18189 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18190 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18191
c7b275d6
TS
181922013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18193
18194 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18195 __attribute_used__ to __attribute__ ((unused)).
18196
20cd7fb3
SP
181972013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18198
18199 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18200 powerpc mpa.c.
18201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18202 comment formatting.
18203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18204
92945b52
JM
182052013-02-19 Joseph Myers <joseph@codesourcery.com>
18206
18207 [BZ #13550]
18208 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18209 Remove macro.
18210 (ENTER): Remove both macro definitions.
18211 (LEAVE): Likewise.
18212 (CHECK_BOUNDS_LOW): Likewise.
18213 (CHECK_BOUNDS_HIGH): Likewise.
18214 (CHECK_BOUNDS_BOTH): Likewise.
18215 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18216 (RETURN_BOUNDED_POINTER): Likewise.
18217 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18218 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18219 (POP_ERRNO_LOCATION_RETURN): Likewise.
18220 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18221 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18222 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18223 macros.
18224 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18225 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18226 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18227 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18228 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18229 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18230 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18231 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18232 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18233 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18234 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18235 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18236 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18237 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18238 removed macros.
18239 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18240 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18241 macros.
18242 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18243 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18244 * sysdeps/i386/i586/memset.S (memset): Likewise.
18245 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18246 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18247 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18248 macros.
18249 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18250 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18251 Change uses of L(2) to L(out).
18252 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18253 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18254 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18255 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18256 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18257 removed macros.
18258 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18259 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18260 macros.
18261 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18262 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18263 (RETURN): Do not use macro LEAVE.
18264 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18265 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18266 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18267 * sysdeps/i386/i686/memset.S (memset): Likewise.
18268 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18269 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18270 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18271 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18272 Likewise.
18273 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18274 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18275 L(1_2) and L(1_3) into L(1).
18276 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18277 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18278 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18279 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18280 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18281 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18282 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18283 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18284 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18285 macros.
18286 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18287 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18288 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18289 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18290 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18291 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18292 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18293 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18294 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18295 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18296 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18297 * sysdeps/i386/strspn.S (strspn): Likewise.
18298 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18299 conditional code.
18300 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18301 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18302 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18303 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18304 L(1_3) into L(1_1).
18305 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18306 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18307 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18308 macros.
18309 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18310
2389741a
JJ
183112013-02-19 Jakub Jelinek <jakub@redhat.com>
18312
18313 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18314 macro.
18315
2016b3cd
SP
183162013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18317
e4f22324
SP
18318 * math/atest-exp.c (exp_mpn): Remove ROUND.
18319 * math/atest-exp2.c (exp_mpn): Likewise.
18320 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18321
2016b3cd
SP
18322 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18323 * stdlib/tst-tls-atexit-lib.c: Likewise.
18324 * stdlib/tst-tls-atexit.c: Likewise.
18325
4be9b544
MF
183262013-02-18 Mike Frysinger <vapier@gentoo.org>
18327
18328 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18329 and __attribute_alloc_size__.
18330
2f62b9ee
MF
183312013-02-18 Mike Frysinger <vapier@gentoo.org>
18332
18333 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18334 __attribute_alloc_size__.
18335 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18336 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18337
6ff444c4
MF
183382013-02-18 Mike Frysinger <vapier@gentoo.org>
18339
18340 * include/programs/xmalloc.h: New file.
18341 * catgets/gencat.c: Include it.
18342 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18343 * elf/pldd.c: Likewise.
18344 * iconv/iconv_charmap.c: Likewise.
18345 * iconv/iconvconfig.c: Likewise.
18346 * iconv/strtab.c: Likewise.
18347 * locale/programs/locale.c: Likewise.
18348 * locale/programs/localedef.h: Likewise.
18349 * locale/programs/simple-hash.c: Likewise.
18350 * nscd/nscd.h: Likewise.
18351 * nss/makedb.c: Likewise.
18352 * sysdeps/generic/ldconfig.h: Likewise.
18353
be179c8a
SP
183542013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18355
ba384f6e
SP
18356 * Versions.def: Add GLIBC_2.18.
18357 * include/link.h (struct link_map): New member l_tls_dtor_count.
18358 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18359 (__call_tls_dtors): Likewise.
18360 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18361 __cxa_thread_atexit_impl.
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18363 Likewise.
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18365 Likewise.
18366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18367 Likewise.
18368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18369 Likewise.
18370 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18372 Likewise.
18373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18374 Likewise.
18375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18377 Likewise.
18378 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18379 (tests): Add test case tst-tls-atexit.
18380 (modules-names): Add shared library for tst-tls-atexit.
85891aca 18381 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
18382 (GLIBC_PRIVATE): Add __call_tls_dtors.
18383 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18384 for libstdc++.
18385 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18386 * stdlib/tst-tls-atexit.c: New test case.
18387 * stdlib/tst-tls-atexit-lib.c: New test case.
18388
ffaa74cf 18389 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 18390
be179c8a
SP
18391 * elf/Versions (ld): Add _dl_find_dso_for_object.
18392 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18393 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18394 (dl_open_worker): Use _dl_find_dso_for_object.
18395 * elf/dl-sym.c (do_sym): Likewise.
18396 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18397
f78b5caa
AK
183982013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18399
18400 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18401 Syntactic changes only.
18402 (_dl_runtime_profile): Do a tail-call to the resolved function.
18403
29691210
JM
184042013-02-17 Joseph Myers <joseph@codesourcery.com>
18405
18406 [BZ #13550]
18407 * sysdeps/x86_64/bp-asm.h: Remove file.
18408 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18409 <bp-sym.h> and <bp-asm.h>.
18410 (__clone): Do not use BP_SYM.
18411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18412 <bp-sym.h> and <bp-asm.h>.
18413 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18414 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18415 "bp-asm.h".
18416 (_setjmp): Do not use BP_SYM.
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/mempcpy.S (__mempcpy): Do not use BP_SYM in
18421 libc_hidden_def.
18422 (mempcpy): Do not use BP_SYM in weak_alias.
18423 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18424 "bp-asm.h".
18425 (strchr): Do not use BP_SYM.
18426 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18427 "bp-asm.h".
18428 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18429 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18430 (_start): Do not use BP_SYM.
18431 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18432 "bp-asm.h".
18433 (strcat): Do not use BP_SYM.
18434 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18435 "bp-asm.h".
18436 (STRCMP): Do not use BP_SYM.
18437 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18438 "bp-asm.h".
18439 (STRCPY): Do not use BP_SYM.
18440 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18441 "bp-asm.h".
18442 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18443 "bp-asm.h".
18444 (FUNCTION): Do not use BP_SYM.
18445 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18446 weak_alias.
18447 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18448
f238fd19
AJ
184492013-02-17 Andreas Jaeger <aj@suse.de>
18450
18451 * time/Versions: Sort entries.
18452 * string/Versions: Likewise.
18453 * resolv/Versions: Likewise.
18454 * posix/Versions: Likewise.
18455 * iconv/Versions: Likewise.
18456 * elf/Versions: Likewise.
18457 * wcsmbs/Versions: Likewise.
18458
bd07f23c 184592013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18460
22af19f9
SP
18461 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18462 loop termination condition.
18463
4709fe76
SP
18464 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18465 variable to calculate EZ.
18466 (__sqr): Likewise.
2d0e0f29
SP
18467
18468 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18469 the lower precision input.
18470
daaa7713
JM
184712013-02-15 Joseph Myers <joseph@codesourcery.com>
18472
18473 [BZ #13550]
18474 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18475 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18476 (run-via-rtld-prefix): Do not handle %-bp tests.
18477 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18478 (all-object-suffixes): Remove .ob.
18479 (bppfx): Remove variable.
18480 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18481 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18482 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18483 [$(build-bounded) = yes] (libtype.ob): Likewise.
18484 * Makerules (elide-routines.ob): Remove variable.
18485 (do-tests-clean): Do not handle *-bp.out.
18486 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18487 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18488 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18489 (tests): Do not include $(tests-bp.out).
18490 (xtests): Do not include $(xtests-bp.out).
18491 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18492 [$(build-bounded) = yes] ($(addprefix
18493 $(objpfx),$(binaries-bounded))): Remove rule.
18494 ($(objpfx)%-bp.out): Remove rule.
18495 * config.make.in (build-bounded): Remove variable.
18496 * crypt/Makefile [$(build-bounded) = yes]
18497 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18498 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18499 append to variable.
18500 [$(build-bounded) = yes] (install-lib): Likewise.
18501 [$(build-bounded) = yes] (generated): Likewise.
18502 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18503 Remove rule.
18504 * intl/Makefile [$(build-bounded) = yes]
18505 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18506 * math/Makefile [$(build-bounded) = yes]
18507 ($(tests:%=$(objpfx)%-bp): Likewise.
18508 * misc/Makefile [$(build-bounded) = yes]
18509 ($(objpfx)tst-tsearch-bp): Likewise.
18510 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18511 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18512 Remove dependency.
18513 * string/Makefile (o-objects.ob): Remove variable.
18514 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18515 (CFLAGS-.ob): Remove variable.
18516 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18517 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18518 both definitions of variable.
18519 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18520 (ASFLAGS-.ob): Remove variable.
18521
e97ed6dd
JM
185222013-02-14 Joseph Myers <joseph@codesourcery.com>
18523
2bdd4ca6
JM
18524 [BZ #13550]
18525 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18526 Remove __BOUNDED_POINTERS__ from condition.
18527 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18528 * string/bits/string2.h [!__NO_STRING_INLINES &&
18529 !__BOUNDED_POINTERS__]: Likewise.
18530 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18531 Likewise.
18532 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18533 Remove conditional code.
18534 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18535 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18536 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18537 condition.
18538
e97ed6dd
JM
18539 [BZ #13550]
18540 * csu/libc-start.c: Do not include <bp-sym.h>.
18541 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18542 * elf/dl-open.c: Do not include <bp-sym.h>.
18543 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18544 * math/fegetenv.c: Do not include <bp-sym.h>.
18545 (fegetenv): Do not use BP_SYM in versioned symbols.
18546 * nptl/sysdeps/pthread/bits/libc-lockP.h
18547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18548 <bp-sym.h>.
18549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18550 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18552 (__pthread_mutex_destroy): Likewise.
18553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18554 (__pthread_mutex_lock): Likewise.
18555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18556 (__pthread_mutex_trylock): Likewise.
18557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18558 (__pthread_mutex_unlock): Likewise.
18559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18560 (__pthread_mutexattr_init): Likewise.
18561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18562 (__pthread_mutexattr_destroy): Likewise.
18563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18564 (__pthread_mutexattr_settype): Likewise.
18565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18566 (__pthread_rwlock_init): Likewise.
18567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18568 (__pthread_rwlock_destroy): Likewise.
18569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18570 (__pthread_rwlock_rdlock): Likewise.
18571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18572 (__pthread_rwlock_tryrdlock): Likewise.
18573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18574 (__pthread_rwlock_wrlock): Likewise.
18575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18576 (__pthread_rwlock_trywrlock): Likewise.
18577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18578 (__pthread_rwlock_unlock): Likewise.
18579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18580 (__pthread_key_create): Likewise.
18581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18582 (__pthread_setspecific): Likewise.
18583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18584 (__pthread_getspecific): Likewise.
18585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18586 Likewise.
18587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18588 (_pthread_cleanup_push_defer): Likewise.
18589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18590 (_pthread_cleanup_pop_restore): Likewise.
18591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18592 (pthread_setcancelstate): Likewise.
18593 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18594 <bp-sym.h>.
18595 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18596 (memchr): Do not use BP_SYM in weak_alias.
18597 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18598 (fegetenv): Do not use BP_SYM in versioned symbols.
18599 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18600 (fesetenv): Do not use BP_SYM in versioned symbols.
18601 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18602 (feupdateenv): Do not use BP_SYM in versioned symbols.
18603 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18604 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18605 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18606 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18607 (open64): Do not use BP_SYM in weak_alias.
18608 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18609 (fegetenv): Do not use BP_SYM in versioned symbols.
18610 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18611 (fesetenv): Do not use BP_SYM in versioned symbols.
18612 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18613 (feupdateenv): Do not use BP_SYM in versioned symbols.
18614 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18615 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18616 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18617 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18618 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18619 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18620 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18621 <bp-sym.h>.
18622 (__libc_start_main): Do not use BP_SYM.
18623
d6752ccd
SP
186242013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18625
cb57ce60
SP
18626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18627 redundant return line.
18628 (norm): Likewise.
18629 (denorm): Likewise.
18630 (dbl_mp): Likewise.
18631 (sub_magnitudes): Likewise.
18632 (__add): Likewise.
18633 (__sub): Likewise.
18634 (__mul): Likewise.
18635 (__inv): Likewise.
18636 (__dvd): Likewise.
18637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18638 (norm): Likewise.
18639 (denorm): Likewise.
18640 (dbl_mp): Likewise.
18641 (sub_magnitudes): Likewise.
18642 (__add): Likewise.
18643 (__sub): Likewise.
18644 (__mul): Likewise.
18645 (__inv): Likewise.
18646 (__dvd): Likewise.
18647
f414520d
SP
18648 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18649 instead of __mul.
18650 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18651 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18652 (cc32): Likewise.
18653
d6752ccd
SP
18654 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18655 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18656 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18657 of __mul for squares.
18658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18659 function
18660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18661 Likewise.
18662 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18663 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18664
70d9946a
JM
186652013-02-13 Joseph Myers <joseph@codesourcery.com>
18666
18667 [BZ #13550]
18668 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18669 code.
18670 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18671 prototype or function definition. Rename ubp_* variables and
18672 parameters. Remove argv definitions conditional on
18673 [__BOUNDED_POINTERS__].
18674 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18675 * elf/dl-runtime.c (_dl_fixup): Likewise.
18676 * include/set-hooks.h (RUN_HOOK): Likewise.
18677 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18678 definition.
18679 * string/strcpy.c (strcpy): Do not use __unbounded.
18680 * sysdeps/generic/frame.h (struct layout): Likewise.
18681 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18682 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18683 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18684 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18685 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18686 (__backtrace): Likewise.
18687 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18688 use __ptrvalue.
18689 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18690 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18691 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18692 Likewise.
18693 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18694 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18695 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18696 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18697 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18698 Do not use __unbounded.
18699 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18700 Rename __unboundedrlimits parameter to rlimits in prototype.
18701 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18702 Do not use __unbounded.
18703 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18704 not use __ptrvalue.
18705 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18706 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18707 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18708 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18709 __ptrvalue or __unbounded.
18710 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18711 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18712 use __unbounded.
18713 (__new_msgctl): Do not use __ptrvalue.
18714 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18715 __unbounded.
18716 (__libc_msgrcv): Do not use __ptrvalue.
18717 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18718 startup_info): Do not use __unbounded.
18719 (__libc_start_main): Likewise. Rename ubp_* variables and
18720 parameters. Remove argv definitions conditional on
18721 [__BOUNDED_POINTERS__].
18722 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18723 __ptrvalue.
18724 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18725 use __unbounded.
18726 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18727 or __ptrvalue.
18728 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18729 use __unbounded.
18730 (__new_shmctl): Do not use __ptrvalue.
18731 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18732 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18733 Likewise.
18734 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18735 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18736 (__libc_sigaction): Likewise.
18737 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18738 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18739 Likewise.
18740 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18741
cc7834d6
OB
187422013-02-13 Ondřej Bílka <neleai@seznam.cz>
18743
ffb1ec7b 18744 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18745
18746 * string/mempcpy.c: Implement by calling memcpy.
18747
bdf02814
SP
187482013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18749
c2af38aa
SP
18750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18751
4e92d59e
SP
18752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18753 evaluation.
18754
909279a5
SP
18755 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18756 values in the mantissa.
18757
bdf02814
SP
18758 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18759 minimize writes to Z.
18760 (sub_magnitudes): Simplify code a bit.
18761
cd525923
RM
187622013-02-12 Roland McGrath <roland@hack.frob.com>
18763
18764 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18765 from the message. The linker prefixes all warnings with that already.
18766
7e2f0d2d
AS
187672013-02-12 Andreas Schwab <schwab@suse.de>
18768
a445af0b
AS
18769 [BZ #15078]
18770 * posix/regexec.c (extend_buffers): Add parameter min_len.
18771 (check_matching): Pass minimum needed length.
18772 (clean_state_log_if_needed): Likewise.
18773 (get_subexp): Likewise.
18774 * posix/Makefile (tests): Add bug-regex34.
18775 (bug-regex34-ENV): Define.
18776 * posix/bug-regex34.c: New file.
18777
7e2f0d2d
AS
18778 [BZ #11561]
18779 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18780 elements compare against the byte sequence of it, not its name.
18781 * posix/Makefile (tests): Add bug-regex35.
18782 (bug-regex35-ENV): Define.
18783 * posix/bug-regex35.c: New file.
18784
a175b684
TV
187852013-02-11 Tom de Vries <tom@codesourcery.com>
18786
18787 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18788 comment.
18789 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18790 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18791 (CHECK_EOL): Add undef.
18792
310998fe 187932013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18794
18795 * bits/stdlib-bsearch.h: New file.
18796 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18797 * stdlib/stdlib.h: Likewise.
41eda41d 18798
8ded91fb
RM
187992013-02-11 Roland McGrath <roland@hack.frob.com>
18800
18801 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18802 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18803 declaration.
18804 * manual/search.texi (Array Search Function): Add missing const in
18805 lfind prototype.
18806 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18807 declaration to use rlim_t.
18808 (Basic Scheduling Functions): Remove erroneous const from
18809 sched_getparam prototype. Remove erroneous * from
18810 sched_get_priority_max and sched_get_priority_min prototypes.
18811 (Resource Usage): Fix summary @comment on vtimes to refer to
18812 sys/vtimes.h rather than vtimes.h.
18813 Add missing *s in vtimes prototype.
18814 (Limits on Resources): Fix ulimit prototype to return long int.
18815 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18816 prototypes to use long int rather than double.
18817 (BSD Random): Fix initstate and setstate to use char *, not void *.
18818 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18819 prototype to make second argument 'struct aiocb64 *const[]'.
18820 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18821 (Status of AIO Operations): Remove erroneous const in aio_return and
18822 aio_return64 prototypes.
18823 (Synchronizing I/O): Fix sync prototype to return void.
18824 * manual/startup.texi (Suboptions): Remove an erroneous const in
18825 getsubopt prototype.
18826 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18827 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18828 use size_t rather than int.
18829 (Scanning All Users): Likewise for getpwent_r.
18830 (Setting Groups): Add missing const to setgroups prototype.
18831 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18832 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18833 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18834 'const void *' rather than 'const char *'.
18835 (Host Address Functions): Likewise for inet_ntop.
18836 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18837 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18838 ssize_t for return value.
18839 (Sending Data): Likewise for send, sendto, sendmsg.
18840 (Socket Option Functions): Add a missing const in setsockopt prototype.
18841 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18842 use wchar_t for the argument.
18843 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18844 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18845 take no arguments.
18846 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18847 double/float/long double for second argument.
18848 Fix return types of significand, significandf, significandl.
18849 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18850 argument in fchmod prototype.
18851 (File Owner): Use uid_t and gid_t in fchown prototype.
18852 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18853 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18854 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18855 use 'const struct dirent **' as argument types to CMP function pointer
18856 argument.
18857 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18858 (File Times): Fix summary magic @comment for struct utimbuf and utime
18859 to refer to utime.h, not time.h.
18860 * manual/string.texi (Argz Functions): Add missing const in
18861 argz_extract and argz_next prototypes.
18862 (Finding Tokens in a String): Likewise for basename.
18863 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18864 (Copying and Concatenation): Fix typo in wmemmove prototype.
18865 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18866 (Signal Stack): Remove erroneous const in sigstack prototype.
18867 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18868 prototype.
18869 (Simple Calendar Time): Likewise for stime.
18870 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18871 prototype.
18872 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18873 say sys/sysctl.h instead.
18874 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18875 and vsyslog prototypes.
18876
fe77fe6d
TV
188772013-02-11 Tom de Vries <tom@codesourcery.com>
18878
18879 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18880 Remove.
18881
3a09b620
RM
188822013-02-11 Roland McGrath <roland@hack.frob.com>
18883
18884 * misc/sys/mman.h: Fix typo in mremap comment.
18885
550a0b89
RM
188862013-02-08 Roland McGrath <roland@hack.frob.com>
18887
18888 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18889 the '\0' terminator.
18890
a2da1673
JM
188912013-02-08 Joseph Myers <joseph@codesourcery.com>
18892
18893 [BZ #13550]
18894 * debug/segfault.c: Don't include <bp-checks.h>.
18895 * sysdeps/generic/bp-checks.h: Remove file.
18896 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18897 (__GETDENTS): Don't use CHECK_N.
18898 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18899 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18900 (__getgroups): Don't use CHECK_N.
18901 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18902 (setgroups): Don't use CHECK_N.
18903 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18904 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18905 (__libc_msgrcv): Don't use CHECK_N.
18906 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18907 (__libc_msgsnd): Don't use CHECK_N.
18908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18909 <bp-checks.h>.
18910 (__libc_pread): Don't use CHECK_N.
18911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18912 include <bp-checks.h>.
18913 (__libc_pread64): Don't use CHECK_N.
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18915 include <bp-checks.h>.
18916 (__libc_pwrite): Don't use CHECK_N.
18917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18918 include <bp-checks.h>.
18919 (__libc_pwrite64): Don't use CHECK_N.
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18921 <bp-checks.h>.
18922 (__libc_pread): Don't use CHECK_N.
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18924 include <bp-checks.h>.
18925 (__libc_pread64): Don't use CHECK_N.
18926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18927 include <bp-checks.h>.
18928 (__libc_pwrite): Don't use CHECK_N.
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18930 include <bp-checks.h>.
18931 (__libc_pwrite64): Don't use CHECK_N.
18932 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18933 (do_pread): Don't use CHECK_N.
18934 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18935 (do_pread64): Don't use CHECK_N.
18936 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18937 (do_pwrite): Don't use CHECK_N.
18938 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18939 (do_pwrite64): Don't use CHECK_N.
18940 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18941 (__libc_readv): Don't use CHECK_N.
18942 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18943 (semop): Don't use CHECK_N.
18944 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18945 <bp-checks.h>.
18946 (semtimedop): Don't use CHECK_N.
18947 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18948 (__libc_pread): Don't use CHECK_N.
18949 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18950 <bp-checks.h>.
18951 (__libc_pread64): Don't use CHECK_N.
18952 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18953 <bp-checks.h>.
18954 (__libc_pwrite): Don't use CHECK_N.
18955 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18956 <bp-checks.h>.
18957 (__libc_pwrite64): Don't use CHECK_N.
18958 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18959 <bp-checks.h>.
18960 (__libc_msgrcv): Don't use CHECK_N.
18961 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18962 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18963 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18964 (__libc_writev): Don't use CHECK_N.
18965
b84660a8
RM
189662013-02-08 Roland McGrath <roland@hack.frob.com>
18967
7f3e75f8
RM
18968 * string/strcpy.c: Removed unused variable.
18969
b84660a8
RM
18970 * Makeconfig (+sysdep-includes): Define with := rather than =.
18971 Use an existing include/ subdir of each sysdeps dir before it.
18972
471514d3
CD
189732013-02-08 Carlos O'Donell <carlos@redhat.com>
18974
18975 * nscd/connection.c (register_traced_file): Comment function.
18976 [HAVE_INOTIFY] (union __inev): Define.
18977 [HAVE_INOTIFY] (inotify_check_files): New function.
18978 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18979 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18980 clear_db_cache.
18981 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18982
b2d3c3be
CD
189832013-02-08 Carlos O'Donell <carlos@redhat.com>
18984
18985 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18986 loaded if not already and that a failure is permanent.
18987
b39949d2
CD
189882013-02-08 Carlos O'Donell <carlos@redhat.com>
18989
ddacd1db 18990 [BZ #15006]
b39949d2
CD
18991 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18992 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18993
b2c9eff4
JM
189942013-02-08 Joseph Myers <joseph@codesourcery.com>
18995
f3aae3f3
JM
18996 [BZ #13550]
18997 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18998 (CHECK_1_NULL_OK): Likewise.
18999 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19000 (__fxstat): Do not use CHECK_1.
19001 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19002 <bp-checks.h>.
19003 (___fxstat64): Do not use CHECK_1.
19004 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19005 <bp-checks.h>.
19006 (__fxstatat): Do not use CHECK_1.
19007 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19008 <bp-checks.h>.
19009 (__fxstatat64): Do not use CHECK_1.
19010 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19011 <bp-checks.h>.
19012 (__fxstat): Do not use CHECK_1.
19013 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19014 <bp-checks.h>.
19015 (__fxstatat): Do not use CHECK_1.
19016 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19017 <bp-checks.h>.
19018 (__getresgid): Do not use CHECK_1.
19019 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19020 <bp-checks.h>.
19021 (__getresuid): Do not use CHECK_1.
19022 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19023 <bp-checks.h>.
19024 (__lxstat): Do not use CHECK_1.
19025 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19026 <bp-checks.h>.
19027 (__old_msgctl): Do not use CHECK_1.
19028 (__new_msgctl): Likewise.
19029 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19030 <bp-checks.h>.
19031 (__new_setrlimit): Do not use CHECK_1.
19032 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19033 <bp-checks.h>.
19034 (__old_shmctl): Do not use CHECK_1.
19035 (__new_shmctl): Likewise.
19036 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19037 <bp-checks.h>.
19038 (__xstat): Do not use CHECK_1.
19039 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19040 (__lxstat): Do not use CHECK_1.
19041 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19042 <bp-checks.h>.
19043 (___lxstat64): Do not use CHECK_1.
19044 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19045 (__old_msgctl): Do not use CHECK_1.
19046 (__new_msgctl): Likewise.
19047 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19048 <bp-checks.h>.
19049 (__gettimeofday): Do not use CHECK_1.
19050 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19051 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19052 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19053 <bp-checks.h>.
19054 (__gettimeofday): Do not use CHECK_1.
19055 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19056 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19057 (__new_shmctl): Do not use CHECK_1.
19058 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19059 <bp-checks.h>.
19060 (do_sigtimedwait): Do not use CHECK_1.
19061 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19062 <bp-checks.h>.
19063 (do_sigwaitinfo): Do not use CHECK_1.
19064 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19065 <bp-checks.h>.
19066 (msgctl): Do not use CHECK_1.
19067 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19068 <bp-checks.h>.
19069 (shmctl): Do not use CHECK_1.
19070 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19071 (ustat): Do not use CHECK_1.
19072 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19073 <bp-checks.h>.
19074 (__fxstat): Do not use CHECK_1.
19075 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19076 <bp-checks.h>.
19077 (__fxstatat): Do not use CHECK_1.
19078 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19079 <bp-checks.h>.
19080 (__lxstat): Do not use CHECK_1.
19081 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19082 <bp-checks.h>.
19083 (__xstat): Do not use CHECK_1.
19084 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19085 (__xstat): Do not use CHECK_1.
19086 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19087 (___xstat64): Do not use CHECK_1.
19088
b2c9eff4
JM
19089 [BZ #13550]
19090 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19091 definitions.
19092 (CHECK_BOUNDS_HIGH): Likewise.
19093 * string/strcpy.c: Do not include <bp-checks.h>.
19094 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19095
f1d70dad
RM
190962013-02-07 Roland McGrath <roland@hack.frob.com>
19097
19098 * nscd/nscd-client.h (__nscd_drop_map_ref):
19099 Add __attribute__ ((unused)).
19100 * nis/nss-nisplus.h (niserr2nss): Likewise.
19101
19102 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19103 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19104
19105 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19106 Remove inline keyword.
19107 * include/rounding-mode.h (round_away): Likewise.
19108 * libio/wfileops.c (adjust_wide_data): Likewise.
19109 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19110 (__m128i_strloadu_tolower): Likewise.
19111 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19112 (__m128i_strloadu_tolower): Likewise.
19113 * time/mktime.c (ydhms_diff): Likewise.
19114 * locale/elem-hash.h (elem_hash): Likewise.
19115 * locale/setlocale.c (setdata): Likewise.
19116 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19117 (re_string_wchar_at): Likewise.
19118 (bitset_not, bitset_merge, bitset_mask): Likewise.
19119 [!(__GNUC__ > 3)] (inline): Remove macro.
19120 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19121 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19122 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19123 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19124 * string/memcmp.c (memcmp_bytes): Likewise.
19125 * locale/programs/locarchive.c (compute_hashval): Likewise.
19126 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19127 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19128 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19129 * nss/getent.c (print_rpc, print_protocols): Likewise.
19130 (print_passwd, print_group, print_aliases): Likewise.
19131 * nis/nss-nisplus.h (niserr2nss): Likewise.
19132 * nscd/connections.c (restart_p): Likewise.
19133 Change return type to bool.
19134
eab55bfb
RM
191352013-02-05 Roland McGrath <roland@hack.frob.com>
19136
7bd642f5
RM
19137 * Makeconfig (all-Depend-files): Add existing
19138 $(sorted-subdirs:=/Depend) files.
19139 (all-subdirs): Remove nss.
19140 * sysdeps/unix/inet/Subdirs: Add it here instead.
19141 * hesiod/Depend: New file.
19142
573c29b2
RM
19143 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19144 instead of calling alloca.
19145
b2e25af0
RM
19146 * io/lseek.c (__lseek): Rename to __libc_lseek.
19147 Define __lseek as an alias.
19148
eab55bfb
RM
19149 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19150
9a0d1941
CD
191512013-02-04 Carlos O'Donell <carlos@redhat.com>
19152
19153 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19154 else clause and remove check for non-standard endianness.
19155
b83bbec4
DM
191562013-02-04 David S. Miller <davem@davemloft.net>
19157
19158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19159
6277fdab
JM
191602013-02-04 Joseph Myers <joseph@codesourcery.com>
19161
19162 [BZ #13550]
19163 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19164 (__ubp_memchr): Remove prototype.
19165 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19166 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19167 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19168 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19169 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19170 Remove alias.
19171 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19172 (__ubp_memchr): Likewise.
19173 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19174 (__ubp_memchr): Likewise.
19175 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19176 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19177 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19178 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19179 CHECK_STRING.
19180 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19181 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19182 (__getcwd): Do not use CHECK_STRING.
19183 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19184 <bp-checks.h>.
19185 (__real_chown): Do not use CHECK_STRING.
19186 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19187 <bp-checks.h>.
19188 (fchownat): Do not use CHECK_STRING.
19189 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19190 CHECK_STRING.
19191 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19192 <bp-checks.h>.
19193 (__lchown): Do not use CHECK_STRING.
19194 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19195 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19196 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19197 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19199 include <bp-checks.h>.
19200 (truncate64): Do not use CHECK_STRING.
19201 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19202 <bp-checks.h>.
19203 (__real_chown): Do not use CHECK_STRING.
19204 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19205 <bp-checks.h>.
19206 (__lchown): Do not use CHECK_STRING.
19207 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19208 <bp-checks.h>.
19209 (__chown): Do not use CHECK_STRING.
19210 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19211 <bp-checks.h>.
19212 (truncate64): Do not use CHECK_STRING.
19213 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19214 Likewise.
19215 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19216 (__xmknod): Do not use CHECK_STRING.
19217 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19218 <bp-checks.h>.
19219 (__xmknodat): Do not use CHECK_STRING.
19220 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19221 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19222
903ae060
AS
192232013-02-04 Andreas Schwab <schwab@suse.de>
19224
19225 [BZ #14142]
19226 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19227 * include/netdb.h: Likewise for h_errno.
19228 * elf/tst-stackguard1.c: Include <tls.h>.
19229
542f9466
JK
192302013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19231
19232 * elf/link.h (struct link_map): Extend the l_addr comment.
19233 * include/link.h (struct link_map): Likewise.
19234
e782a927
JM
192352013-02-01 Joseph Myers <joseph@codesourcery.com>
19236
19237 [BZ #13550]
19238 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19239 (BOUNDED_1): Remove macro.
19240 * debug/backtrace.c: Don't include <bp-checks.h>.
19241 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19242 (__backtrace): Likewise.
19243 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19244 <bp-checks.h>.
19245 (__backtrace): Don't use BOUNDED_1.
19246 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19247 <bp-checks.h>.
19248 (__backtrace): Don't use BOUNDED_1.
19249 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19250 (__backtrace): Don't use BOUNDED_1.
19251 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19252 (shmat): Don't use BOUNDED_N.
19253
8cf28c5e
JM
192542013-01-31 Joseph Myers <joseph@codesourcery.com>
19255
3a7ac8a0
JM
19256 [BZ #13550]
19257 * sysdeps/generic/bp-start.h: Remove file.
19258 * csu/libc-start.c: Don't include <bp-start.h>.
19259 (LIBC_START_MAIN): Set up __environ directly instead of using
19260 INIT_ARGV_and_ENVIRON.
19261 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19262 <bp-start.h>.
19263
f3499f95
JM
19264 [BZ #13550]
19265 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19266 definitions.
19267 (CHECK_FCNTL): Likewise.
19268 (CHECK_N_PAGES): Likewise.
19269
32a45bea
JM
19270 [BZ #13550]
19271 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19272 definitions.
19273 (CHECK_SIGSET_NULL_OK): Likewise.
19274 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19275 <bp-checks.h>.
19276 (sigpending): Don't use CHECK_SIGSET.
19277 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19278 <bp-checks.h>.
19279 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19280 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19281 <bp-checks.h>.
19282 (do_sigsuspend): Don't use CHECK_SIGSET.
19283 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19284 use CHECK_SIGSET.
19285 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19286 (do_sigwait): Don't use CHECK_SIGSET.
19287 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19288 use CHECK_SIGSET.
19289 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19290 include <bp-checks.h>.
19291 (sigpending): Don't use CHECK_SIGSET.
19292 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19293 include <bp-checks.h>.
19294 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19295 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19296 <bp-checks.h>.
19297 (sigpending): Don't use CHECK_SIGSET.
19298 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19299 <bp-checks.h>.
19300 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19301
2e8a5c8c
JM
19302 [BZ #13550]
19303 * sysdeps/generic/bp-semctl.h: Remove file.
19304 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19305 <bp-checks.h> and <bp-semctl.h>.
19306 (__old_semctl): Don't use CHECK_SEMCTL.
19307 (__new_semctl): Likewise.
19308 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19309 and <bp-semctl.h>.
19310 (__old_semctl): Don't use CHECK_SEMCTL.
19311 (__new_semctl): Likewise.
19312 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19313 <bp-checks.h> and <bp-semctl.h>.
19314 (__old_semctl): Don't use CHECK_SEMCTL.
19315 (__new_semctl): Likewise.
19316 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19317 <bp-checks.h> and <bp-semctl.h>.
19318 (semctl): Don't use CHECK_SEMCTL.
19319
c2d54929
JM
19320 [BZ #13550]
19321 * Makerules (elide-bp-thunks): Remove variable.
19322 (elide-routines.oS): Don't use $(elide-bp-thunks).
19323 (elide-routines.os): Likewise.
19324 (elide-routines.o): Likewise.
19325 (elide-routines.op): Likewise.
19326 (elide-routines.og): Likewise.
19327 (objects): Don't use $(bp-thunks).
19328 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19329 include.
19330 (common-generated): Do not add s-proto-bp.d.
19331 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19332 (int): Likewise.
19333 (typ): Likewise.
19334 Do not generate makefile rules for bounded-pointer thunks.
19335 * sysdeps/generic/bp-thunks.h: Remove file.
19336 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19337 * sysdeps/unix/s-proto-bp.S: Likewise.
19338
8cf28c5e
JM
19339 [BZ #15062]
19340 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19341 parts of result separately when argument is not close to line from
19342 -i to i and one part of argument is small.
19343 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19344 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19345 * math/libm-test.inc (cacos_test): Add more tests.
19346 (casin_test): Likewise.
19347 (casinh_test): Likewise.
19348 * sysdeps/i386/fpu/libm-test-ulps: Update.
19349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19350
c4e33b8d
DM
193512013-01-31 David S. Miller <davem@davemloft.net>
19352
19353 * po/de.po: Update from translation team.
19354
3b60b421
MK
193552013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19356
19357 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19358
bb931195
TS
193592013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19360
b5a5da23
TS
19361 * configure.in (_AC_PROG_CC_C89): New definition.
19362 * configure: Regenerate.
19363
bb931195
TS
19364 * configure.in (AC_PROG_CPP): New definition.
19365 * configure: Regenerate.
19366
8c53a12c
JM
193672013-01-23 Joseph Myers <joseph@codesourcery.com>
19368
19369 * debug/tst-backtrace.h: New file.
19370 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19371 (ret): Remove variable.
19372 (x): Likewise.
19373 (FAIL): Remove macro.
19374 (NO_INLINE): Likewise.
19375 (fn1): Use match function instead of strstr.
19376 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19377 (ret): Remove variable.
19378 (x): Likewise.
19379 (FAIL): Remove macro.
19380 (NO_INLINE): Likewise.
19381 (fn): Use match function instead of strstr.
19382 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19383 (ret): Remove variable.
19384 (x): Likewise.
19385 (FAIL): Remove macro.
19386 (NO_INLINE): Likewise.
19387 (handle_signal): Use match function instead of strstr.
19388 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19389 (ret): Remove variable.
19390 (x): Likewise.
19391 (FAIL): Remove macro.
19392 (NO_INLINE): Likewise.
19393 (handle_signal): Use match function instead of strstr.
19394
4858fa2a
RM
193952013-01-23 Roland McGrath <roland@hack.frob.com>
19396
19397 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19398
bae8e7f5
DM
193992013-01-23 David S. Miller <davem@davemloft.net>
19400
19401 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19402 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19403 argument of CAS if possible.
19404 * sysdeps/sparc/sparc64/bits/atomic.h
19405 (__arch_compare_and_exchange_val_32_acq): Likewise.
19406 (__arch_compare_and_exchange_val_64_acq): Likewise.
19407
9cbbc4ae
PT
194082013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19409
19410 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19411 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19412 Include <limits.h>.
67b3f58c 19413 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 19414
5655a0b5
AC
194152013-01-23 Adam Conrad <adconrad@0c3.net>
19416
19417 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19418 (LDFLAGS-tst-array5): Likewise.
19419
052aff95
JM
194202013-01-23 Joseph Myers <joseph@codesourcery.com>
19421
19422 [BZ #15036]
19423 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19424 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19425 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19426 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19427
7c1e01aa
DM
194282013-01-21 David S. Miller <davem@davemloft.net>
19429
19430 * sysdeps/sparc/backtrace.c: New file.
19431 * sysdeps/sparc/sparc32/backtrace.h: New file.
19432 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19433 * sysdeps/sparc/sparc64/backtrace.h: New file.
19434 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19435 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19436 -funwind-tables.
19437
ab087e0a
AS
194382013-01-21 Andreas Schwab <schwab@suse.de>
19439
19440 [BZ #15020]
19441 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19442 closed its stdout.
19443
ed689c2f
AS
194442013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19445
19446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19447 "mpa2.h".
19448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19449
31d470ac
JM
194502013-01-18 Joseph Myers <joseph@codesourcery.com>
19451 Mark Mitchell <mark@codesourcery.com>
19452 Tom de Vries <tom@codesourcery.com>
19453 Paul Pluzhnikov <ppluzhnikov@google.com>
19454
19455 * debug/tst-backtrace2.c: New file.
19456 * debug/tst-backtrace3.c: Likewise.
19457 * debug/tst-backtrace4.c: Likewise.
19458 * debug/tst-backtrace5.c: Likewise.
19459 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19460 (CFLAGS-tst-backtrace3.c): Likewise.
19461 (CFLAGS-tst-backtrace4.c): Likewise.
19462 (CFLAGS-tst-backtrace5.c): Likewise.
19463 (LDFLAGS-tst-backtrace2): Likewise.
19464 (LDFLAGS-tst-backtrace3): Likewise.
19465 (LDFLAGS-tst-backtrace4): Likewise.
19466 (LDFLAGS-tst-backtrace5): Likewise.
19467 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19468 tst-backtrace4 and tst-backtrace5.
19469
90567f30 194702013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19471 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19472
19473 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19474 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19475 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19476 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19478 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19479 "+r" and remove output regs list as redundant. Add explicit inline
19480 asm to specify register of return val to work around compiler codegen
19481 bug. Remove (int) cast on return value. Add return type parameter to
19482 use in macro so that this macro does not truncate return value for
19483 64-bit values.
19484 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19485 pass to INTERNAL_VSYSCALL_NCS.
19486 (INLINE_VSYSCALL): Add 'long int' as return type to
19487 INTERNAL_VSYSCALL_NCS macro invocation.
19488 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19489 INTERNAL_VSYSCALL_NCS macro invocation.
19490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19491
d3b9ea61
SP
194922013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19493
0b57daeb
SP
19494 [BZ #14496]
19495 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19496 Fix application of SIMD FP exception mask.
19497
caa99d06
SP
19498 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19499 mp_no from a power of two.
19500 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19501 __mpexp_twomm1. Use __pow_mp.
19502
d3b9ea61
SP
19503 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19504 multiplication.
19505
1dbaee3c
DM
195062013-01-17 David S. Miller <davem@davemloft.net>
19507
19508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19509
728d7b43
JM
195102013-01-17 Joseph Myers <joseph@codesourcery.com>
19511
19512 [BZ #15023]
19513 * include/complex.h: Condition contents on [!_COMPLEX_H].
19514 (__kernel_casinhf): New prototype.
19515 (__kernel_casinh): Likewise.
19516 (__kernel_casinhl): Likewise.
19517 * math/Makefile (libm_calls): Add k_casinh.
19518 * math/k_casinh.c: New file.
19519 * math/k_casinhf.c: Likewise.
19520 * math/k_casinhl.c: Likewise.
19521 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19522 finite nonzero arguments.
19523 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19524 finite nonzero arguments.
19525 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19526 finite nonzero arguments.
19527 * math/s_casinh.c: Do not include <float.h>.
19528 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19529 * math/s_casinhf.c: Do not include <float.h>.
19530 (__casinhf): Move code for finite nonzero arguments to
19531 k_casinhf.c.
19532 * math/s_casinhl.c: Do not include <float.h>.
19533 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19534 redefine.
19535 (__casinhl): Move code for finite nonzero arguments to
19536 k_casinhl.c.
19537 * math/libm-test.inc (cacos_test): Add more tests.
19538 * sysdeps/i386/fpu/libm-test-ulps: Update.
19539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19540
2a26ef3a
PT
195412013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19542
19543 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19544 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19545 [!HAVE_MREMAP]: Remove [defined linux] case.
19546 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19547
a897655d
SP
195482013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19549
19550 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19551
881ebe89 195522013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19553
19554 * elf/elf.h (R_386_SIZE32): New relocation.
19555 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19556 R_386_SIZE32.
19557 (elf_machine_rela): Likewise.
19558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19559 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19560
59981e9b
JM
195612013-01-17 Joseph Myers <joseph@codesourcery.com>
19562
19563 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19564 (FP_FAST_FMA): Do not define.
19565 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19566 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19567 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19568 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19569 !_SOFT_FLOAT]: Likewise.
19570 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19571 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19572 value.
19573 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19574 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19575 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19576 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19577 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19578 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19579 file.
19580
cfa8054f
AS
195812013-01-16 Andreas Schwab <schwab@suse.de>
19582
19583 [BZ #14327]
19584 * include/stdlib.h (__mktemp): Add declaration.
19585 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19586 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19587
dd930cc5
SP
195882013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19589
881ebe89
SP
19590 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19591 definitions.
19592 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19593 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19594 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19595 definitions here.
19596 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19597 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19598 definitions.
19599 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19600 and ONE.
19601 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19602 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19603 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19604 definitions.
19605 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19606 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19607 definitions.
19608 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19609
dd930cc5
SP
19610 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19611
c19a9f89
DM
196122013-01-15 David S. Miller <davem@davemloft.net>
19613
1aa61767
DM
19614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19615 trunc{,f} to libm-sysdep_routes.
19616 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19618 file.
19619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19621 file.
19622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19623 file.
19624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19626 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19627 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19628 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19629 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19630 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19631 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19632
c42d5e98
DM
19633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19634 nearbyint{,f} to libm-sysdep_routes.
19635 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19637 New file.
19638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19639 file.
19640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19641 New file.
19642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19643 file.
19644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19646 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19647 file.
19648 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19649 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19650 file.
19651 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19652 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19653 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19654
c19a9f89
DM
19655 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19656 libc_feholdexcept and libc_fesetenv.
19657
357679d2
MF
196582013-01-15 Mike Frysinger <vapier@gentoo.org>
19659
19660 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19661
65a82e3d
DM
196622013-01-14 David S. Miller <davem@davemloft.net>
19663
8b954ab9
DM
19664 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19665 (SPARC_ASM_VIS2_IFUNC): Likewise.
19666 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19668 use of 'siam' instruction.
19669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19670 Likewise.
19671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19672 Likewise.
19673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19674 Likewise.
19675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19680 file.
19681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19682 file.
19683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19684 file.
19685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19686 file.
19687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19692 new VIS2 routines.
19693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19696 Likewise.
19697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19702 routines to libm-sysdep_routines.
19703 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19704
65a82e3d
DM
19705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19706 fdim/fdimf to libm-sysdep_routines.
19707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19708 file.
19709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19711 file.
19712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19715 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19716 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19717 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19718 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19719
e34ab705
SP
197202013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19721
2a91b573
SP
19722 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19723 to optimize copies.
19724
1066a534
SP
19725 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19728
e34ab705
SP
19729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19730 local variable MPTWO.
19731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19732 Likewise.
19733
aba5e596
MF
197342013-01-13 Mike Frysinger <vapier@gentoo.org>
19735
19736 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19737 GLOB_NOESCAPE.
19738
e557e9e5
MF
197392013-01-13 Mike Frysinger <vapier@gentoo.org>
19740
19741 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19742
0428cec9
MF
197432013-01-13 Mike Frysinger <vapier@gentoo.org>
19744
19745 * manual/pattern.texi (glob_t): Document gl_flags.
19746 (glob64_t): Likewise.
19747
8794a964
DM
197482013-01-11 David S. Miller <davem@davemloft.net>
19749
66438c3f
RM
19750 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19751 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19752 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19753 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19754 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19755 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19756 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19757 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19758 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19759 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19760 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19761 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19762 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19763
4ae4244d
DM
19764 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19765 sparc V9 rather than using V8 code.
19766 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19767 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19768
8794a964
DM
19769 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19770 Move to...
19771 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19772 Here.
19773
6270516e
RM
197742013-01-11 Roland McGrath <roland@hack.frob.com>
19775
19776 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19777 not in the main loop.
19778 * configure: Regenerated.
19779
6a57d931
JM
197802013-01-11 Joseph Myers <joseph@codesourcery.com>
19781
19782 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19783 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19784 to just #else.
19785 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19786 [!__GLIBC_HAVE_LONG_LONG] case.
19787 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19788 condition to just #else.
19789 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19790 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19791 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19792 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19793 unconditional.
19794 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19795 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19796 #elif condition to just #else.
19797 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19798 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19799 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19800 #elif condition to just #else.
19801
0e8529e9
SE
198022013-01-11 Steve Ellcey <sellcey@mips.com>
19803
19804 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19805 (EF_MIPS_ARCH_64): Fix value.
19806 (EF_MIPS_ARCH_32R2): New.
19807 (EF_MIPS_ARCH_64R2): New.
19808
740b3dbe
L
198092013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19810
19811 * Makeconfig (+link-pie-before-libc): New.
19812 (+link-pie-after-libc): Likewise.
19813 (+link-pie-tests): Likewise.
19814 (+link-pie): Rewritten.
19815 (link-before-libc): Remove $(config-LDFLAGS).
19816 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19817 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19818 (config-LDFLAGS): Renamed to ...
19819 (rtld-LDFLAGS): This.
19820 (rtld-tests-LDFLAGS): New macro.
19821 (link-libc-rpath-link): Likewise.
19822 (link-libc-tests-rpath-link): Likewise.
19823 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19824 (link-libc): Prepand $(link-libc-rpath-link).
19825 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19826 (test-program-prefix): New macro.
19827 (test-via-rtld-prefix): Likewise.
19828 (test-program-cmd): Likewise.
19829 (host-test-program-cmd): Likewise.
19830 * Makefile ($(common-objpfx)testrun.sh): Replace
19831 $(run-program-prefix) with $(test-program-prefix).
19832 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19833 $(rtld-LDFLAGS).
19834 ($(common-objpfx)shlib.lds): Likewise.
19835 (build-module-helper): Likewise.
19836 ($(common-objpfx)format.lds): Likewise.
19837 * Rules (binaries-pie-tests): New.
19838 (binaries-pie-notests): Likewise.
19839 (binaries-pie): Rewritten.
19840 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19841 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19842 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19843 (make-test-out): Replace $(host-built-program-cmd) with
19844 $(host-test-program-cmd).
19845 * config.make.in (build-hardcoded-path-in-tests): New variable.
19846 * configure.in (--enable-hardcoded-path-in-tests): New configure
19847 option.
19848 (hardcoded_path_in_tests): New AC_SUBST.
19849 * configure: Regenerated.
19850 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19851 $(built-program-cmd) with $(test-program-cmd).
19852 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19853 (test_program_cmd): This.
19854 * elf/Makefile ($(objpfx)order.out): Run test with
19855 $(test-program-prefix).
19856 ($(objpfx)order2.out): Likewise.
19857 ($(objpfx)tst-initorder.out): Likewise.
19858 ($(objpfx)tst-initorder2.out): Likewise.
19859 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19860 $(test-program-cmd).
19861 ($(objpfx)tst-array1-static.out): Likewise.
19862 ($(objpfx)tst-array2.out): Likewise.
19863 ($(objpfx)tst-array3.out): Likewise.
19864 ($(objpfx)tst-array4.out): Likewise.
19865 ($(objpfx)tst-array5.out): Likewise.
19866 ($(objpfx)tst-array5-static.out): Likewise.
19867 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19868 $(test-program-cmd).
19869 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19870 $(run-program-prefix) with $(test-program-prefix).
19871 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19872 (test_program_prefix): This.
19873 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19874 $(run-program-prefix) with $(test-program-prefix).
19875 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19876 (test_program_prefix): This.
19877 * iconvdata/tst-tables.sh: Likewise.
19878 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19879 $(run-program-prefix) with $(test-program-prefix).
19880 ($(objpfx)tst-translit.out): Likewise.
19881 ($(objpfx)tst-gettext2.out): Likewise.
19882 ($(objpfx)tst-gettext4.out): Likewise.
19883 ($(objpfx)tst-gettext6.out): Likewise.
19884 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19885 (test_program_prefix): This.
19886 * intl/tst-gettext2.sh: Likewise.
19887 * intl/tst-gettext4.sh Likewise.
19888 * intl/tst-gettext6.sh: Likewise.
19889 * intl/tst-translit.sh: Likewise.
19890 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19891 with $(test-program-cmd).
19892 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19893 $(run-program-prefix) with $(test-program-prefix).
19894 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19895 (test_program_prefix): This.
19896 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19897 $(run-program-prefix) with $(test-program-prefix).
19898 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19899 (test_program_prefix): This.
19900 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19901 * posix/Makefile ($(objpfx)globtest.out): Replace
19902 $(run-via-rtld-prefix) and $(test-wrapper) with
19903 $(test-program-prefix) and $(test-via-rtld-prefix).
19904 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19905 $(test-program-prefix).
19906 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19907 $(host-test-program-cmd).
19908 (tst-spawn-ARGS): Likewise.
19909 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19910 $(test-program-prefix).
19911 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19912 (test_via_rtld_prefix): This.
19913 (test_wrapper): Renamed to ...
19914 (test_program_prefix): This.
19915 (run_program_prefix): Replaced by test_program_prefix.
19916 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19917 (test_program_prefix): This.
19918 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19919 with $(host-test-program-cmd).
19920 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19921 $(run-program-prefix) with $(test-program-prefix).
19922 ($(objpfx)tst-printf.out): Likewise.
19923 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19924 $(test-program-cmd).
19925 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19926 (test_program_prefix): This.
19927 * stdio-common/tst-unbputc.sh: Likewise.
19928 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19929 $(run-program-prefix) with $(test-program-prefix).
19930 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19931 (test_program_prefix): This.
19932 * string/Makefile ($(objpfx)tst-svc.out): Replace
19933 $(built-program-cmd) with $(test-program-cmd).
19934
c6fe55cf
AJ
199352013-01-11 Andreas Jaeger <aj@suse.de>
19936
19937 [BZ #15003]
19938 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19939 value. Sync with Linux 3.7.
19940
9e6919c8
DM
199412013-01-10 David S. Miller <davem@davemloft.net>
19942
19943 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19944 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19945 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19946
1c9f1a02
RM
199472013-01-10 Roland McGrath <roland@hack.frob.com>
19948
19949 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19950 never set.
19951 * configure: Regenerated.
19952
b9de2dde
DM
199532013-01-10 David S. Miller <davem@davemloft.net>
19954
19955 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19956 sparc V9 rather than using V8 code.
19957 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19958 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19959
e7f68ef4
RM
199602013-01-10 Roland McGrath <roland@hack.frob.com>
19961
19962 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19963 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19964 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19965 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19966 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19967 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19968 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19969 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19970 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19971 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19972 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19973 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19974 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19975 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19976 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19977 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19978 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19979 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19980 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19981 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19982 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19983 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19984 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19985 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19986 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19987 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19988 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19989
5a47cc9c
DM
199902013-01-10 David S. Miller <davem@davemloft.net>
19991
19992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19993
4cf8f209
L
199942013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19995
19996 * posix/Makefile (tests-static): New variable.
19997 (tests): Add $(tests-static).
19998 (tst-exec-static-ARGS): New variable.
19999 (tst-spawn-static-ARGS): Likewise.
20000 * posix/tst-exec-static.c: New file.
20001 * posix/tst-spawn-static.c: Likewise.
20002 * posix/tst-exec.c: Support run directly.
20003 * posix/tst-spawn.c: Likewise.
20004
fed0faa1
JM
200052013-01-10 Joseph Myers <joseph@codesourcery.com>
20006
828beb13
JM
20007 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20008 long.
20009 * math/bits/mathcalls.h (llrint): Likewise.
20010 (llround): Likewise.
20011 * stdlib/stdlib.h (struct drand48_data): Likewise.
20012 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20013 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20014 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20015 Likewise.
20016 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20017 Likewise.
20018 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20019 (elf_greg_t): Likewise.
20020 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20021 (__jmp_buf): Likewise.
20022 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20023 definitions.
20024 (llrint): Likewise, for all definitions.
20025 (llrintl): Likewise.
20026
fed0faa1
JM
20027 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20028 Remove [__GNUC__] condition.
20029 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20030 condition to just [__USE_ISOC99].
20031 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20032
1a20cb20
L
200332013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20034
20035 [BZ #14200]
20036 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20037 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20038 defined.
20039 (_POSIX_V6_ILP32_OFF32): Likewise.
20040 (_XBS5_ILP32_OFF32): Likewise.
20041 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20042 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20043
751b85f7
SP
200442013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20045
7490eb81
SP
20046 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20047
751b85f7
SP
20048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20049 doubles __mpexp_twomm1. Adjust usage.
20050 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20051 Remove.
20052
988197f0
AS
200532013-01-10 Andreas Schwab <schwab@suse.de>
20054
20055 [BZ #14964]
20056 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20057 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20058
e83d7298
DM
200592013-01-09 David S. Miller <davem@davemloft.net>
20060
034ed64b 20061 [BZ #15003]
57f41c40
AS
20062 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20063 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20064 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20065 (TCP_FASTOPEN): Define.
e83d7298
DM
20066 (tcp_repair_opt): New structure.
20067 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20068 enum values.
57f41c40
AS
20069 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20070 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20071 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20072 (tcp_cookie_transactions): New structure.
20073
d5e0b9bd
AB
200742013-01-09 Anton Blanchard <anton@samba.org>
20075
20076 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20077 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20078 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20079 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20080
0c07e3ea
JM
200812013-01-09 Joseph Myers <joseph@codesourcery.com>
20082
20083 * include/features.h (__USE_ANSI): Remove.
20084
232f7002
RM
200852013-01-09 Roland McGrath <roland@hack.frob.com>
20086
ad98e30c
RM
20087 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20088
232f7002
RM
20089 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20090
950c99ca
SP
200912013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20092
b5792741
SP
20093 * sysdeps/s390/fpu/libm-test-ulps: Update.
20094
47cf2278
SP
20095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20096
950c99ca
SP
20097 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20098 (__acr): Likewise.
20099 (__cpy): Likewise.
20100 (norm): Likewise.
20101 (denorm): Likewise.
20102 (__mp_dbl): Likewise.
20103 (__dbl_mp): Likewise.
20104 (add_magnitudes): Likewise.
20105 (sub_magnitudes): Likewise.
20106 (__add): Likewise.
20107 (__sub): Likewise.
20108 (__mul): Likewise.
20109 (__inv): Likewise.
20110 (__dvd): Likewise.
20111 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20112 (__acr): Likewise.
20113 (__cpy): Likewise.
20114 (norm): Likewise.
20115 (denorm): Likewise.
20116 (__mp_dbl): Likewise.
20117 (__dbl_mp): Likewise.
20118 (add_magnitudes): Likewise.
20119 (sub_magnitudes): Likewise.
20120 (__add): Likewise.
20121 (__sub): Likewise.
20122 (__mul): Likewise.
20123 (__inv): Likewise.
20124 (__dvd): Likewise.
20125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20126 (__acr): Likewise.
20127 (__cpy): Likewise.
20128 (norm): Likewise.
20129 (denorm): Likewise.
20130 (__mp_dbl): Likewise.
20131 (__dbl_mp): Likewise.
20132 (add_magnitudes): Likewise.
20133 (sub_magnitudes): Likewise.
20134 (__add): Likewise.
20135 (__sub): Likewise.
20136 (__mul): Likewise.
20137 (__inv): Likewise.
20138 (__dvd): Likewise.
20139
eede9df9
JM
201402013-01-08 Joseph Myers <joseph@codesourcery.com>
20141
20142 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20143 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20144 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20145 2 && __USE_EXTERN_INLINES]: Likewise.
20146
c40ea3d9
AJ
201472013-01-08 Andreas Jaeger <aj@suse.de>
20148
20149 [BZ# 14985]
20150 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20151 Remove.
20152 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20153 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20154
2ccdea26
AB
201552013-01-07 Anton Blanchard <anton@samba.org>
20156
20157 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20158 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20159 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20160 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20161 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20162 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20163 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20164 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20166 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20167 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20168 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20169 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20170 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20171 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20172 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20173 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20174 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20175 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20176 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20177 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20178 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20179 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20180 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20181 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20182 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20183 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20184 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20185 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20186 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20187 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20189 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20190 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20191 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20192 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20193 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20194 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20195 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20196 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20197 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20198 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20199 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20200
a9708fed
JM
202012013-01-07 Joseph Myers <joseph@codesourcery.com>
20202
375607b9
JM
20203 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20204 (__MALLOC_PMT): Likewise.
20205 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20206 [__GNUC__], only on [_LIBC].
20207 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20208 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20209 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20210 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20211 forward declaration.
20212 (realloc_hook_ini): Likewise.
20213 (memalign_hook_ini): Likewise.
20214 (__libc_memalign): Do not use __MALLOC_PMT in variable
20215 declaration.
20216 (__libc_valloc): Likewise.
20217 (__libc_pvalloc): Likewise.
20218 (__libc_calloc): Likewise.
20219 (__posix_memalign): Likewise.
20220
a9708fed
JM
20221 [BZ #14996]
20222 * math/s_casinh.c: Include <float.h>.
20223 (__casinh): Do not do computation with squaring and square root
20224 for large arguments.
20225 * math/s_casinhf.c: Include <float.h>.
20226 (__casinhf): Do not do computation with squaring and square root
20227 for large arguments.
20228 * math/s_casinhl.c: Include <float.h>.
20229 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20230 (__casinhl): Do not do computation with squaring and square root
20231 for large arguments.
20232 * math/libm-test.inc (casin_test): Add more tests.
20233 (casinh_test): Likewise.
20234 * sysdeps/i386/fpu/libm-test-ulps: Update.
20235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20236
afec409a
L
202372013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20238
20239 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20240 (__x86_64_raw_data_cache_size): Likewise.
20241 (__x86_64_data_cache_size_half): Likewise.
20242 (__x86_64_raw_data_cache_size_half): Likewise.
20243 (__x86_64_shared_cache_size): Likewise.
20244 (__x86_64_raw_shared_cache_size): Likewise.
20245 (__x86_64_shared_cache_size_half): Likewise.
20246 (__x86_64_raw_shared_cache_size_half): Likewise.
20247 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20248 to ...
20249 (__x86_data_cache_size): This.
20250 (__x86_64_raw_data_cache_size): Renamed to ...
20251 (__x86_raw_data_cache_size): This.
20252 (__x86_64_data_cache_size_half): Renamed to ...
20253 (__x86_data_cache_size_half): This.
20254 (__x86_64_raw_data_cache_size_half): Renamed to ...
20255 (__x86_raw_data_cache_size_half): This.
20256 (__x86_64_shared_cache_size): Renamed to ...
20257 (__x86_shared_cache_size): This.
20258 (__x86_64_raw_shared_cache_size): Renamed to ...
20259 (__x86_raw_shared_cache_size): This.
20260 (__x86_64_shared_cache_size_half): Renamed to ...
20261 (__x86_shared_cache_size_half): This.
20262 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20263 (__x86_raw_shared_cache_size_half): This.
20264 * sysdeps/x86_64/memcpy.S: Updated.
20265 * sysdeps/x86_64/memset.S: Likewise.
20266 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20267 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20268 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20269
0b3986d0
DM
202702013-01-04 David S. Miller <davem@davemloft.net>
20271
20272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20273
e47686e9
AS
202742013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20275
d643bac1
AS
20276 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20277 1 to avoid redefinition warning.
20278 (__USE_GNU): Don't define.
20279 (init_signaling_nan): Protoize.
20280
e47686e9
AS
20281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20282
b18decba
SP
202832013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20284
fffb407f
SP
20285 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20287 (__cpymn): Likewise.
20288 (norm): Remove commented code.
20289 (denorm): Likewise.
20290 (__mp_dbl): Likewise.
20291 (__inv): Likewise.
20292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20293 (__cpymn): Likewise.
20294 (norm): Remove commented code.
20295 (denorm): Likewise.
20296 (__mp_dbl): Likewise.
20297 (__inv): Likewise.
20298
b18decba
SP
20299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20300 mp_no value for 1.0 and 2.0.
20301 (norm): Use RADIXI instead of radixi.d.
20302 (denorm): Likewise.
20303 (__mul): Use 0.0 instead of zero.d.
20304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20305 mp_no value for 1.0 and 2.0.
20306 (norm): Use RADIXI instead of radixi.d.
20307 (denorm): Likewise.
20308 (__mul): Use 0.0 instead of zero.d.
20309
cdc1c96f
JM
203102013-01-04 Joseph Myers <joseph@codesourcery.com>
20311
20312 [BZ #14994]
20313 * math/s_casinh.c (__casinh): Reduce finite argument to first
20314 quadrant then set signs of results at the end.
20315 * math/s_casinhf.c (__casinhf): Likewise.
20316 * math/s_casinhl.c (__casinhl): Likewise.
20317 * math/libm-test.inc (casin_test): Add more tests.
20318 (casinh_test): Likewise.
20319 * sysdeps/i386/fpu/libm-test-ulps: Update.
20320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20321
302913e1
SP
203222013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20323
6420d207
SP
20324 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20325
a9e48ab4
SP
20326 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20327
b7837264
SP
20328 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20329 declarations.
20330 (denorm): Likewise.
20331 (__mp_dbl): Likewise.
20332 (__inv): Likewise.
20333
f8af25d2
SP
20334 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20335 and adjust the header comment.
20336
302913e1
SP
20337 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20338 variable name from declaration.
20339
5d7dd1ca
L
203402013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20341
20342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20343 Initialize COMMON_CPUID_INDEX_7 element.
20344 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20345 (CPUID_RTM): Likewise.
20346 (HAS_RTM): Likewise.
20347 (COMMON_CPUID_INDEX_7): New enum.
20348
2f5f40f4
AS
203492013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20350
20351 [BZ #14981]
20352 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20353 size is zero, record memory as freed.
20354
4056f4a0
AJ
203552013-01-03 Andreas Jaeger <aj@suse.de>
20356
20357 * po/ia.po: Add new Interlingua translation.
20358
ab15736f 203592012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
20360
20361 * locale/programs/localedef.c: Fix description of '--posix' flag.
20362
568035b7
JM
203632013-01-02 Joseph Myers <joseph@codesourcery.com>
20364
e6898b8d
JM
20365 * NEWS: Update dates in second copyright notice.
20366 * README: Update copyright dates in example.
20367 * manual/libc.texinfo: Update copyright dates.
20368 * scripts/test-installation.pl: Update copyright date in --version
20369 output.
20370
0e2f9562
JM
20371 * hurd/ctty-input.c: Fix copyright notice formatting.
20372 * hurd/ctty-output.c: Likewise.
20373 * hurd/dtable.c: Likewise.
20374 * hurd/hurd-raise.c: Likewise.
20375 * hurd/hurdprio.c: Likewise.
20376 * hurd/msgportdemux.c: Likewise.
20377 * misc/sys/file.h: Likewise.
20378 * misc/sys/ioctl.h: Likewise.
20379 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20380 * sysdeps/mach/hurd/chdir.c: Likewise.
20381 * sysdeps/mach/hurd/fchdir.c: Likewise.
20382 * sysdeps/mach/hurd/rename.c: Likewise.
20383 * sysdeps/mach/hurd/rmdir.c: Likewise.
20384 * sysdeps/mach/hurd/seekdir.c: Likewise.
20385 * sysdeps/mach/hurd/setsid.c: Likewise.
20386 * sysdeps/posix/wait3.c: Likewise.
20387
568035b7
JM
20388 * All files with FSF copyright notices: Update copyright dates
20389 using scripts/update-copyrights.
20390 * intl/plural.c: Regenerated.
20391 * locale/programs/charmap-kw.h: Likewise.
20392 * locale/programs/locfile-kw.h: Likewise.
20393
da08f647
SP
203942013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20395
0f5477af
SP
20396 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20397 four values.
20398
44e0d4c2
SP
20399 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20400 calculation loop and add branch prediction.
20401
4d55b4e5
SP
20402 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20403 check access beyond bounds of m1np.
20404
da08f647
SP
20405 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20406 MPTWO.
20407 (__inv): Remove local variable MPTWO to use the global
20408 constant.
20409 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20410 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20411 variable MPTWO.
20412 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20413 MP3HALFS static const.
20414
8e051029
DM
204152013-01-01 David S. Miller <davem@davemloft.net>
20416
20417 * po/ca.po: Update from translation team.
20418
f4cf5f2d
JM
204192013-01-01 Joseph Myers <joseph@codesourcery.com>
20420
20421 * scripts/update-copyrights: New file.
20422 * Makeconfig: Reformat copyright notice.
20423 * ctype/ctype.h: Likewise.
20424 * debug/swprintf_chk.c: Likewise.
20425 * elf/dl-cache.c: Likewise.
20426 * elf/dl-debug.c: Likewise.
20427 * elf/dl-object.c: Likewise.
20428 * grp/initgroups.c: Likewise.
20429 * hurd/Makefile: Likewise.
20430 * hurd/hurd/signal.h: Likewise.
20431 * hurd/hurdfault.c: Likewise.
20432 * hurd/hurdioctl.c: Likewise.
20433 * hurd/hurdlookup.c: Likewise.
20434 * hurd/intr-msg.c: Likewise.
20435 * iconv/gconv_open.c: Likewise.
20436 * libio/swprintf.c: Likewise.
20437 * locale/lc-ctype.c: Likewise.
20438 * locale/nl_langinfo.c: Likewise.
20439 * mach/Machrules: Likewise.
20440 * mach/Makefile: Likewise.
20441 * malloc/obstack.h: Likewise.
20442 * manual/Makefile: Likewise.
20443 * manual/tsort.awk: Likewise.
20444 * misc/bits/stab.def: Likewise.
20445 * nis/nis_print_group_entry.c: Likewise.
20446 * nis/nis_table.c: Likewise.
20447 * nis/nss_compat/compat-pwd.c: Likewise.
20448 * nis/nss_compat/compat-spwd.c: Likewise.
20449 * po/Makefile: Likewise.
20450 * posix/fnmatch.c: Likewise.
20451 * posix/regex.h: Likewise.
20452 * resolv/Makefile: Likewise.
20453 * resolv/nss_dns/dns-network.c: Likewise.
20454 * resolv/res_hconf.c: Likewise.
20455 * scripts/gen-sorted.awk: Likewise.
20456 * soft-fp/soft-fp.h: Likewise.
20457 * stdio-common/printf.h: Likewise.
20458 * stdlib/monetary.h: Likewise.
20459 * stdlib/random.c: Likewise.
20460 * stdlib/random_r.c: Likewise.
20461 * sysdeps/generic/Makefile: Likewise.
20462 * sysdeps/gnu/Makefile: Likewise.
20463 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20465 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20470 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20471 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20472 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20473 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20474 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20475 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20476 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20477 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20478 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20479 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20480 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20481 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20482 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20483 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20484 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20485 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20486 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20487 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20488 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20489 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20490 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20491 * sysdeps/mach/hurd/errnos.awk: Likewise.
20492 * sysdeps/mach/hurd/fork.c: Likewise.
20493 * sysdeps/mach/hurd/getcwd.c: Likewise.
20494 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20495 * sysdeps/mach/hurd/mmap.c: Likewise.
20496 * sysdeps/mach/hurd/utimes.c: Likewise.
20497 * sysdeps/mach/hurd/xmknod.c: Likewise.
20498 * sysdeps/posix/profil.c: Likewise.
20499 * sysdeps/posix/readdir_r.c: Likewise.
20500 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20501 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20502 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20503 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20505 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20506 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20507 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20509 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20510 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20511 * sysdeps/pthread/lio_listio.c: Likewise.
20512 * sysdeps/sparc/dl-procinfo.h: Likewise.
20513 * sysdeps/unix/i386/sysdep.S: Likewise.
20514 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20515 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20516 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20517 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20519 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20520 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20521 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20522 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20523 * sysdeps/wordsize-32/divdi3.c: Likewise.
20524 * time/sys/time.h: Likewise.
20525 * wcsmbs/Makefile: Likewise.
20526
0549fbba
DM
205272013-01-01 David S. Miller <davem@davemloft.net>
20528
a141f1a7
DM
20529 * po/fr.po: Update from translation team.
20530
0549fbba
DM
20531 * catgets/gencat.c: Update copyright year.
20532 * csu/version.c: Likewise.
20533 * debug/catchsegv.sh: Likewise.
20534 * debug/pcprofiledump.c: Likewise.
20535 * debug/xtrace.sh: Likewise.
20536 * elf/ldconfig.c: Likewise.
20537 * elf/ldd.bash.in: Likewise.
20538 * elf/pldd.c: Likewise.
20539 * elf/sotruss.ksh: Likewise.
20540 * elf/sprof.c: Likewise.
20541 * iconv/iconv_prog.c: Likewise.
20542 * iconv/iconvconfig.c: Likewise.
20543 * locale/programs/locale.c: Likewise.
20544 * locale/programs/localedef.c: Likewise.
20545 * login/programs/pt_chown.c: Likewise.
20546 * malloc/memusage.sh: Likewise.
20547 * malloc/memusagestat.c: Likewise.
20548 * malloc/mtrace.pl: Likewise.
20549 * nscd/nscd.c: Likewise.
20550 * nss/getent.c: Likewise.
20551 * nss/makedb.c: Likewise.
20552 * posix/getconf.c: Likewise.
20553
18ea052c
SP
205542012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20555
20556 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20557 numbers.
20558
9c89fca6
MF
205592012-12-30 Mike Frysinger <vapier@gentoo.org>
20560
20561 * math/bits/mathcalls.h (modf): Use __nonnull.
20562
085ec079
SP
205632012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20564
20565 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20566 (split): Use macro CN instead of the bare value.
20567 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20568 could be used.
20569 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20570 instead of the bare value.
20571 (power1): Likewise.
20572
6d9f97e1
SP
205732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20574
d63f73be
SP
20575 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20576 __ATAN_TWOM.
20577 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20578
6d9f97e1
SP
20579 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20580 their values.
20581 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20582 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20583 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20584 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20585
4c4febf5
AJ
205862012-12-28 Andreas Jaeger <aj@suse.de>
20587
af5843ef
AJ
20588 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20589 values are from Linux 3.7.
20590
4c4febf5
AJ
20591 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20592 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20593
99136f82
SP
205942012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20595
2f216c3c 20596 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20597 TRUE case.
20598
99136f82
SP
20599 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20600 (norm): Likewise.
20601 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20602 variables with preprocessor constants.
20603 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20604 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20605 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20606
7fffbdff
BH
206072012-12-27 Bruno Haible <bruno@clisp.org>
20608
20609 [BZ #14317]
20610 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20611 only if needed.
20612
b76eb5f0
SP
206132012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20614
31a7fe5c
SP
20615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20616 and use variable directly.
20617 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20618
b76eb5f0
SP
20619 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20620 MPONE.
20621 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20622 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20623 variable MPONE.
20624 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20626 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20627 include directive. Remove local variable MPONE.
20628 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20629 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20630 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20631
2c8bfe7d
DM
206322012-12-25 David S. Miller <davem@davemloft.net>
20633
20634 * version.h (RELEASE): Set to "development".
20635 (VERSION): Set to "2.17.90".
20636 * NEWS: Add 2.18 section.
20637
147d03b0
DM
206382012-12-21 David S. Miller <davem@davemloft.net>
20639
20640 * po/hr.po: Update from translation team.
20641
a8ebb2b9
AK
206422012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20643
20644 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20645
95b4f1b6
SE
206462012-12-19 Steve Ellcey <sellcey@mips.com>
20647
b2d94007 20648 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20649
cedb2a90
MS
206502012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20651
20652 * manual/contrib.texi (Contributors): Spelling correction.
20653
bbf527d6
DM
206542012-12-15 David S. Miller <davem@davemloft.net>
20655
20656 * po/ru.po: Update from translation team.
20657
bc38c906
DM
206582012-12-13 David S. Miller <davem@davemloft.net>
20659
85429b1a
DM
20660 * NEWS: Mention IFUNC testsuite enhancements.
20661
d283e353
DM
20662 * po/pl.po: Update from translation team.
20663 * po/bg.po: Likewise.
20664
bc38c906
DM
20665 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20666 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20667
a181b0d7
DM
206682012-12-11 David S. Miller <davem@davemloft.net>
20669
4641d57e
DM
20670 * po/sv.po: Update from translation team.
20671
f7bc6495
DM
20672 * po/vi.po: Update from translation team.
20673
6fc9048f
DM
20674 * po/cs.po: Update from translation team.
20675
a181b0d7
DM
20676 * po/de.po: Update from translation team.
20677 * po/eo.po: Likewise.
20678 * po/nl.po: Likewise.
20679
f70bfe80
SP
206802012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20681
3c8b4190
SP
20682 [BZ #14246]
20683 * manual/argp.texi (Argp Helper Functions): Move node to follow
20684 Argp Parsing State.
20685
f70bfe80
SP
20686 [BZ #14872]
20687 * manual/conf.texi (Limits on File System Capacity): Mention if
20688 terminating null is included in the max size.
20689
188f0adf
AJ
206902012-12-10 Andreas Jaeger <aj@suse.de>
20691
20692 * po/cs.po: Update from translation team.
20693
56e7d3ad
SP
206942012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20695
20696 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20697 void pointer and cast to uintptr_t.
20698 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20699 path.
20700 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20701 * sysdeps/s390/s390-64/memset.S: Likewise.
20702
76f2d2ea 207032012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20704
20705 [BZ #14833]
20706 * menual/message.texi (Message Translation): Fix typos.
20707 (Helper programs for gettext): Likewise.
20708
67cbf9a2
AS
207092012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20710
20711 [BZ #14898]
20712 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20713 Change to -1.
20714
682d0e9a
DM
207152012-12-07 David S. Miller <davem@davemloft.net>
20716
20717 * po/libc.pot: Update.
20718
573cd484
RH
207192012-12-07 Richard Henderson <rth@redhat.com>
20720
7e9da188 20721 [BZ #10114]
573cd484
RH
20722 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20723 normal/normal case to before the switch.
20724 (_FP_DIV): Likewise.
20725
e933a943
MF
207262012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20727 Mike Frysinger <vapier@gentoo.org>
20728
20729 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20730 check for __NR_fadvise64_64.
20731
82123268
CM
207322012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20733
20734 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20735 0, not just to plain "0" as a statement.
20736 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20737 with cw.
20738
d9814526
JM
207392012-12-06 Joseph Myers <joseph@codesourcery.com>
20740
20741 * NEWS: Use sourceware.org in Bugzilla URL.
20742
7728c574
SP
207432012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20744
f16946dd
SP
20745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20746 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20747
5704bbcb
SP
20748 * stdio-common/tst-put-error.c (do_test): Add newline to the
20749 padded test to ensure flush.
20750
17aa0516
JL
207512012-12-05 Jeff Law <law@redhat.com>
20752
20753 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20754
363313b5
JM
207552012-12-05 Joseph Myers <joseph@codesourcery.com>
20756
effbd42a
JM
20757 * README: Don't refer to ports add-on as distributed separately.
20758 Mention AArch64 in list of systems supported in the ports add-on.
20759
87600365
JM
20760 * LICENSES: Add more non-FSF copyright and license notices.
20761
a0d7066a
JM
20762 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20763 ((unused)).
20764
66ca5a5b
JM
20765 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20766
363313b5
JM
20767 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20768 10000 as width of padded output.
20769
b37984ad
JM
207702012-12-04 Joseph Myers <joseph@codesourcery.com>
20771
9003570a
JM
20772 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20773
b37984ad
JM
20774 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20775 variable LX with __attribute__ ((unused)).
20776 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20777 Likewise.
20778 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20779 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20780 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20781 with __attribute__ ((unused)).
20782
c8df52ec
DM
207832012-12-04 David S. Miller <davem@abraco.davemloft.net>
20784
20785 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20786
b3b099af
JM
207872012-12-04 Joseph Myers <joseph@codesourcery.com>
20788
c33aa6e3
JM
20789 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20790 (CFLAGS-nldbl-acos.c): New variable.
20791 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20792 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20793 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20794 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20795 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20796 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20797 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20798 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20799 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20800 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20801 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20802 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20803 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20804 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20805 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20806 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20807 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20808 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20809 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20810 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20811 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20812 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20813 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20814 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20815 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20816 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20817 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20818 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20819 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20820 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20821 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20822 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20823 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20824 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20825 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20826 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20827 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20828 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20829 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20830 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20831 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20832 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20833 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20834 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20835 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20836 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20837 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20838 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20839 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20840 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20841 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20842 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20843 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20844 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20845 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20846 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20847 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20848 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20849 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20850 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20851 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20852 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20853 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20854 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20855 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20856 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20857 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20858 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20859 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20860 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20861 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20862 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20863 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20864 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20865 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20866 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20867 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20868 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20869 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20870 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20871 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20872 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20873 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20874 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20875 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20876 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20877 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20878 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20879 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20880 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20881 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20882 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20883 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20884 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20885 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20886 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20887 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20888
20f0018d
JM
20889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20890 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20891
b3b099af
JM
20892 [BZ #14914]
20893 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20894 whole low double instead of just low 47 bits when splitting values
20895 into two parts.
20896
029264d1
AM
208972012-12-03 Allan McRae <allan@archlinux.org>
20898
20899 * manual/stdio.texi (Predefined Printf Handlers): Remove
20900 @hsep and @vsep usage.
20901
c9d6789e
MF
209022012-12-03 Mike Frysinger <vapier@gentoo.org>
20903
20904 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20905 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20906
4b7634a5
JL
209072012-12-03 Jeff Law <law@redhat.com>
20908
20909 * time/sys/time.h (settimeofday): Do not mark TV argument
20910 as __nonnull.
20911
eb6cbd24
MF
209122012-12-01 Mike Frysinger <vapier@gentoo.org>
20913
20914 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20915 when currently writing and seek to current position when not.
20916 * libio/Makefile (tests): Remove bug-fclose1.
20917 * libio/bug-fclose1.c: Delete.
20918
f638872a
JM
209192012-12-01 Joseph Myers <joseph@codesourcery.com>
20920
20921 * manual/arith.texi (feenableexcept): Fix typo.
20922 (fedisableexcept): Likewise.
20923
48085d14
RM
209242012-11-30 Roland McGrath <roland@hack.frob.com>
20925
20926 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20927 second, differently-typed declaration, rather than a cast.
20928
1a538b9f
SP
209292012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20930
20931 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20932 * include/rpc/svc.h: ... here.
20933
d07f2ff1 209342012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20935
20936 [BZ #13013]
20937 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20938 depending n and resplen2 to catch cases where answer
20939 equals answerp2.
20940
c93ec1f0
CD
209412012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20942
20943 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20944 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20945
37db69de
MF
209462012-11-29 Mike Frysinger <vapier@gentoo.org>
20947
20948 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20949
e10c4e4f
RM
209502012-11-29 Roland McGrath <roland@hack.frob.com>
20951
20952 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20953
2af1b328
JL
209542012-11-28 Jeff Law <law@redhat.com>
20955
20956 [BZ #13761]
20957 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20958 dataset_temporary. Track alloca usage into alloca_used.
20959 If dataset is large allocate and release it via malloc/free.
20960
111db5b1
FW
209612012-06-04 Florian Weimer <fweimer@redhat.com>
20962
f06cc227 20963 [BZ #14197]
111db5b1
FW
20964 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20965
dd694abd
DM
209662012-11-28 David S. Miller <davem@davemloft.net>
20967
20968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20969
9984dd01
JM
209702012-11-28 Joseph Myers <joseph@codesourcery.com>
20971
20972 [BZ #14803]
20973 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20974 of pi/2 rounded to nearest to 64 bits.
20975 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20976 nearest to 64 bits.
20977 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20978 bits.
20979
14bc93a9
JL
209802012-11-28 Jeff Law <law@redhat.com>
20981 Martin Osvald <mosvald@redhat.com>
20982
20983 [BZ #14889]
20984 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20985 * sunrpc/svc.c: Include time.h.
20986 (__svc_accept_failed): New function.
20987 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20988 any reason other than EINTR, call __svc_accept_failed.
20989 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20990 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20991
e3c6aa3a
AS
209922012-11-28 Andreas Schwab <schwab@suse.de>
20993
20994 * scripts/abilist.awk: Also handle indirect functions in .opd
20995 section.
20996
1bead169
JM
209972012-11-28 Joseph Myers <joseph@codesourcery.com>
20998
20999 [BZ #13881]
21000 * sysdeps/x86/fpu/powl_helper.c: New file.
21001 * sysdeps/x86/fpu/Makefile: Likewise.
21002 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21003 (p3): New object.
21004 (__ieee754_powl): Use __powl_helper for finite arguments except
21005 integer exponents below 8.
21006 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21007 (p3): New object.
21008 (__ieee754_powl): Use __powl_helper for finite arguments except
21009 integer exponents below 8.
21010 * math/libm-test.inc (pow_test): Add more tests and enable some
21011 previously disabled tests.
21012 * sysdeps/i386/fpu/libm-test-ulps: Update.
21013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21014
0817d63d
SP
210152012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21016 Carlos O'Donell <carlos_odonell@mentor.com>
21017
21018 * nss/makedb.c (is_prime): Assert that input is odd and greater
21019 than 4. Note that fact in a comment too.
21020 (next_prime): Add 4 to input.
21021
de2fd463
SP
210222012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21023
21024 [BZ #11741]
21025 * libio/Makefile (tests): Add test case tst-fwrite-error.
21026 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21027 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21028 * libio/tst-fwrite-error.c: New test case.
21029
c515fb51
L
210302012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21031
21032 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21033 before casting to void *.
21034 * include/libc-internal.h (__pointer_type): New macro.
21035 (__integer_if_pointer_type_sub): Likewise.
21036 (__integer_if_pointer_type): Likewise.
21037 (cast_to_integer): Likewise.
21038 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21039 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21040 before casting to atomic64_t.
21041 (atomic_exchange_acq): Likewise.
21042 (__arch_exchange_and_add_body): Likewise.
21043 (__arch_add_body): Likewise.
21044 (atomic_add_negative): Likewise.
21045 (atomic_add_zero): Likewise.
21046
4cf77aa9
JM
210472012-11-26 Joseph Myers <joseph@codesourcery.com>
21048
21049 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21050 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21051 (add_fdes): Likewise.
21052 (linear_search_fdes): Likewise.
21053 (binary_search_unencoded_fdes): Likewise.
21054
d260b3b4
AS
210552012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21056
21057 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21058
67060746
AC
210592012-11-24 Adam Conrad <adconrad@0c3.net>
21060
21061 * configure.in: Autodetect C++ header directories.
21062 * configure: Regenerated.
21063
800938a1
MF
210642012-11-23 Mike Frysinger <vapier@gentoo.org>
21065
21066 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21067
4e6e34e6
AS
210682012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21069
21070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21071
7c7feb47
JM
210722012-11-22 Joseph Myers <joseph@codesourcery.com>
21073
7184dcdf
JM
21074 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21075 LDBL_MANT_DIG == 106]: Disable some tests.
21076 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21077 Likewise.
21078 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21079 Likewise.
21080
0a42601f
JM
21081 [BZ #14871]
21082 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21083 input for small inputs. Return +/- pi/2 for large inputs.
21084 * math/libm-test.inc (atan_test): Add more tests.
21085
79c9b9fe
JM
21086 * sysdeps/generic/unwind-dw2-fde-glibc.c
21087 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21088 __attribute__ ((unused)).
21089
c60d3bf2
JM
21090 [BZ #14645]
21091 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21092 x * y if x and y are nonzero and z is zero.
21093
ef1e0867
JM
21094 [BZ #14811]
21095 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21096 nonzero exponents with absolute value below 0x1p-117 to +/-
21097 0x1p-117.
21098
1468ded3
JM
21099 [BZ #14869]
21100 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21101 up arguments below 2**-450, not just those below 2**-500.
21102 * math/libm-test.inc (hypot_test): Add another test.
21103
8e27e3cc
JM
21104 [BZ #14868]
21105 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21106 Return a+b for ratio over 2**120, not 2**60.
21107 * math/libm-test.inc (hypot_test): Add another test.
21108
c9c0279b
JM
21109 * math/libm-test.inc (clog_test): Use
21110 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21111 (clog10_test): Likewise.
21112
7c7feb47
JM
21113 [BZ #6778]
21114 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21115
fff1530e
AS
211162012-11-22 Andreas Schwab <schwab@suse.de>
21117
21118 * sysdeps/i386/fpu/libm-test-ulps: Update.
21119
94558d30
PT
211202012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21121
21122 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21123 printf output with newline.
21124
7e1be741
L
211252012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21126
6bfea974
L
21127 [BZ #14865]
21128 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21129 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21130 -z nodlopen, -z initfirst and -z execstack support.
21131 * configure: Regenerated.
21132
7e1be741
L
21133 * elf/elf.h (DF_1_NODIRECT): New macro.
21134 (DF_1_IGNMULDEF): Likewise.
21135 (DF_1_NOKSYMS): Likewise.
21136 (DF_1_NOHDR): Likewise.
21137 (DF_1_EDITED): Likewise.
21138 (DF_1_NORELOC): Likewise.
21139 (DF_1_SYMINTPOSE): Likewise.
21140 (DF_1_GLOBAUDIT): Likewise.
21141 (DF_1_SINGLETON): Likewise.
21142 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21143 DT_1_SUPPORTED_MASK bits.
21144 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21145
105ce2ce
CD
211462012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21147
21148 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21149
123be9de
TS
211502012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21151
d072f3f7
TS
21152 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21153 macro.
21154
123be9de
TS
21155 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21156 (sendmmsg): Move declarations...
21157 * socket/sys/socket.h: ... here.
21158 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21159 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21160 include it from...
21161 * socket/recvmmsg.c: ... this new file.
21162 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21163 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21164 definition of __sendmmsg hidden.
21165 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21166 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21167 Move ENOSYS stub into and include it from...
21168 * socket/sendmmsg.c: ... this new file.
21169 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21170 (sysdep_routines): Move recvmmsg and sendmmsg...
21171 * socket/Makefile (routines): ... here.
21172 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21173 (GLIBC_PRIVATE): Add __sendmmsg.
21174 * include/sys/socket.h (__sendmmsg): Add declarations.
21175 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21176 sendmmsg.
21177
cf9a5d18
JM
211782012-11-20 Joseph Myers <joseph@codesourcery.com>
21179
21180 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21181 variable I1 with __attribute__ ((unused)).
21182 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21183
ecd4caf9
JM
211842012-11-19 Joseph Myers <joseph@codesourcery.com>
21185
be14d48f
JM
21186 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21187 DUMMY variables with __attribute__ ((unused)).
21188
ecd4caf9
JM
21189 * bits/byteswap.h: Include <bits/types.h>.
21190 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21191
986cab95
PT
211922012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21193
21194 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21195 string_t. Do not manually set errno.
21196 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21197 length with __strnlen. Make sure to both set errno and return it on
21198 failure.
21199
6d33cc9d
DM
212002012-11-19 David S. Miller <davem@davemloft.net>
21201
21202 With help from Joseph Myers.
21203 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21204 very large arguments properly.
21205 * math/libm-test.inc (atan_test): New tests.
21206 (atan2_test): New tests.
21207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21209
ee663277
JM
212102012-11-19 Joseph Myers <joseph@codesourcery.com>
21211
877f2d8e
JM
21212 [BZ #14856]
21213 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21214 Define to 3.
21215
116fc08a
JM
21216 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21217 [POSIX] (EADDRNOTAVAIL): Likewise.
21218 [POSIX] (EAFNOSUPPORT): Likewise.
21219 [POSIX] (EALREADY): Likewise.
21220 [POSIX] (ECONNABORTED): Likewise.
21221 [POSIX] (ECONNREFUSED): Likewise.
21222 [POSIX] (ECONNRESET): Likewise.
21223 [POSIX] (EDESTADDRREQ): Likewise.
21224 [POSIX] (EDQUOT): Likewise.
21225 [POSIX] (EHOSTUNREACH): Likewise.
21226 [POSIX] (EIDRM): Likewise.
21227 [POSIX] (EISCONN): Likewise.
21228 [POSIX] (ELOOP): Likewise.
21229 [POSIX] (EMULTIHOP): Likewise.
21230 [POSIX] (ENETDOWN): Likewise.
21231 [POSIX] (ENETUNREACH): Likewise.
21232 [POSIX] (ENOBUFS): Likewise.
21233 [POSIX] (ENODATA): Likewise.
21234 [POSIX] (ENOLINK): Likewise.
21235 [POSIX] (ENOMSG): Likewise.
21236 [POSIX] (ENOPROTOOPT): Likewise.
21237 [POSIX] (ENOSR): Likewise.
21238 [POSIX] (ENOSTR): Likewise.
21239 [POSIX] (ENOTCONN): Likewise.
21240 [POSIX] (ENOTSOCK): Likewise.
21241 [POSIX] (EOPNOTSUPP): Likewise.
21242 [POSIX] (EOVERFLOW): Likewise.
21243 [POSIX] (EPROTO): Likewise.
21244 [POSIX] (EPROTONOSUPPORT): Likewise.
21245 [POSIX] (EPROTOTYPE): Likewise.
21246 [POSIX] (ESTALE): Likewise.
21247 [POSIX] (ETIME): Likewise.
21248 [POSIX] (ETXTBSY): Likewise.
21249 [POSIX] (EWOULDBLOCK): Likewise.
21250 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21251 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21252 [POSIX] (SEEK_CUR): Likewise.
21253 [POSIX] (SEEK_END): Likewise.
21254 [POSIX || UNIX98] (mode_t): Do not require.
21255 [POSIX] (off_t): Likewise.
21256 [POSIX] (pid_t): Likewise.
21257 [POSIX] (sys/stat.h): Do not allow header.
21258 [POSIX] (unistd.h): Likewise.
21259 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21260 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21261 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21262 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21263 require.
21264 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21265 sigevent): Specify elements.
21266 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21267 entry.
21268 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21269 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21270
a483863f
JM
21271 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21272 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21273 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21274 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21275 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21276 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21277 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21278 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21279 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21280 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21281 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21282 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21283 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21284 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21285 Likewise.
21286 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21287 Likewise.
21288 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21289 Likewise.
21290 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21291 Likewise.
21292 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21293 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21294 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21295 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21296 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21297 Specify lower bound on value.
21298 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21299 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21300 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21301 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21302 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21303 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21304 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21305 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21306 value.
21307 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21308 as optional.
21309 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21310 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21311 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21312 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21313 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21314 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21315 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21316 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21317 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21318 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21319 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21320 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21321 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21322 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21323 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21324 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21325 entry.
21326 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21327 optional.
21328 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21329 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21330 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21331 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21332 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21333 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21334 Likewise.
21335 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21336 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21337 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21338 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21339 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21340 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21341 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21342 as optional.
21343 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21344 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21345 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21346 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21347 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21348 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21349 specify as optional.
21350 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21351 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21352 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21353 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21354 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21355 [XPG3] (NL_LANGMAX): Likewise.
21356 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21357 [POSIX || XPG3] (NL_NMAX): Likewise.
21358 [POSIX || XPG3] (NL_SETMAX): Likewise.
21359 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21360 [XPG3] (NZERO): Likewise.
21361 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21362 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21363 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21364 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21365 (REG_ERANGE): Expect.
21366 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21367 optional-constant.
21368 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21369 Use (void) in prototype.
21370 [POSIX] (*_t): Allow.
21371 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21372 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21373 (WRDE_BADVAL): Expect.
21374
5ba924e3
JM
21375 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21376 expect.
21377 [XPG3 || XPG4] (O_RSYNC): Likewise.
21378 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21379 Likewise.
21380 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21381 [XPG3 || XPG4] (sigqueue): Likewise.
21382 [XPG3 || XPG4] (sigtimedwait): Likewise.
21383 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21384 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21385 [XPG3 || XPG4] (vsnprintf): Likewise.
21386 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21387 Likewise.
21388 [XPG3 || XPG4] (blksize_t): Likewise.
21389 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21390 Likewise.
21391 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21392 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21393 [XPG3 || XPG4] (struct itimerspec): Likewise.
21394 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21395 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21396 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21397 [XPG3 || XPG4] (clockid_t): Likewise.
21398 [XPG3 || XPG4] (timer_t): Likewise.
21399 [XPG3 || XPG4] (clock_getres): Likewise.
21400 [XPG3 || XPG4] (clock_gettime): Likewise.
21401 [XPG3 || XPG4] (clock_settime): Likewise.
21402 [XPG3 || XPG4] (nanosleep): Likewise.
21403 [XPG3 || XPG4] (timer_create): Likewise.
21404 [XPG3 || XPG4] (timer_delete): Likewise.
21405 [XPG3 || XPG4] (timer_gettime): Likewise.
21406 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21407 [XPG3 || XPG4] (timer_settime): Likewise.
21408 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21409 [XPG3 || XPG4] (getlogin_r): Likewise.
21410 [XPG3 || XPG4] (pread): Likewise.
21411 [XPG3 || XPG4] (pthread_atfork): Likewise.
21412 [XPG3 || XPG4] (pwrite): Likewise.
21413
ee663277
JM
21414 [BZ #14835]
21415 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21416 <bits/siginfo.h>.
21417
942caa16
PT
214182012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21419
e19af380
PT
21420 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21421 finalizing MALLSTREAM.
21422
942caa16
PT
21423 * sysdeps/mach/hurd/syncfs.c: New file.
21424
cfde9b46
SP
214252012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21426
21427 [BZ #14719]
21428 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21429 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21430 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21431 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21432 (_nss_dns_gethostbyname4_r): Likewise.
21433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21434 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21435
f6da27e5
PH
214362012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21437
21438 [BZ #13763]
21439 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21440
6665d4a2
SM
214412012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21442
1f51ee92
SM
21443 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21444 * elf/cache.c (print_entry): Print ",AArch64" for
21445 FLAG_AARCH64_LIB64
21446
6665d4a2
SM
21447 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21448 * elf/cache.c (print_entry): Print ",hard-float" for
21449 FLAG_ARM_LIBHF.
21450
05b227bd
DM
214512012-11-18 David S. Miller <davem@davemloft.net>
21452
21453 With help from Joseph Myers.
21454 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21455 cutoff to 2**-13.
21456 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21457 cutoff to 2**-25.
21458 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21459 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21460 small.
21461 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21462 * math/libm-test.inc (y0_test): New tests.
21463 (y1_test): New tests.
21464 * sysdeps/i386/fpu/libm-test-ulps: Update.
21465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21467
786b0b67
AS
214682012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21469
21470 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21471 64-bit targets.
21472 * configure: Regenerated.
21473
8e18b86d
DM
214742012-11-17 David S. Miller <davem@davemloft.net>
21475
21476 [BZ #14811]
21477 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21478 nonzero exponents with absolute value below 0x1p-128 to +/-
21479 0x1p-128.
21480
531f1ae0
JM
214812012-11-17 Joseph Myers <joseph@codesourcery.com>
21482
12df29e2
JM
21483 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21484
150dc1a0
JM
21485 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21486
531f1ae0
JM
21487 * posix/getconf-speclist.c: New file.
21488 * posix/posix-envs.def: Likewise.
21489 * posix/confstr.c (START_ENV_GROUP): New macro.
21490 (END_ENV_GROUP): Likewise.
21491 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21492 (KNOWN_PRESENT_ENV_STRING): Likewise.
21493 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21494 (UNKNOWN_ENVIRONMENT): Likewise.
21495 (confstr): Include posix-envs.def instead of handling
21496 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21497 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21498 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21499 (END_ENV_GROUP): Likewise.
21500 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21501 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21502 (UNKNOWN_ENVIRONMENT): Likewise.
21503 (__sysconf): Include posix-envs.def instead of handling associated
21504 cases directly here.
21505 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21506 preprocessing getconf-speclist.c rather than running getconf or
21507 generating empty file.
21508
a93f9cbc
PT
215092012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21510
21511 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21512
d64d9f87
AL
215132012-11-16 Andrej Lajovic <natrij@gmail.com>
21514
21515 [BZ #14672]
21516 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21517
447885eb
DM
215182012-11-16 David S. Miller <davem@davemloft.net>
21519
21520 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21521 smaller than LDBL_EPSILON/2.0L, just return xm1.
21522
bcbf9830
L
215232012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21524
21525 * elf/tst-array1.c (init): Set constructor priority to 1000.
21526 (fini): Set destructor priority to 1000.
21527 * elf/tst-array2dep.c: Likewise.
21528
2b766585
SP
215292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21530
21531 [BZ #11741]
21532 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21533 (_IO_new_file_xsputn): Also return EOF if none of the input
21534 data was written when overflow failed.
21535 * libio/iopadn.c (_IO_padn): Likewise.
21536 * libio/iowpadn.c (_IO_wpadn): Likewise.
21537 * stdio-common/tst-put-error.c: Add copyright notice.
21538 (do_test): Add case for printing padded string.
21539 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21540 _IO_padn returned error.
21541 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21542 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21543 return EOF.
21544
b1848fde
SP
215452012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21546
21547 * libio/libioP.h: Add comment note that the references to C++
21548 bits are now obsolete.
21549
2fd89785
MS
215502012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21551
21552 * math/libm-test.inc (check_complex): Use asprintf.
21553
e3ea5409
JM
215542012-11-14 Joseph Myers <joseph@codesourcery.com>
21555
21556 * debug/pcprofiledump.c (print_version): Update copyright year.
21557 * malloc/memusagestat.c (print_version): Likewise.
21558
2e64d265
L
215592012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21560
21561 [BZ #14831]
21562 * elf/Makefile (tests): Add tst-audit8.
21563 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21564 ($(objpfx)tst-audit8.out): New target.
21565 (tst-audit8-ENV): New variable.
21566 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21567 audit if l_reloc_result is NULL.
21568 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21569 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21570 * elf/tst-audit8.c: New file.
21571
c485e4d2
MS
215722012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21573
21574 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21575 * misc/Makefile (CFLAGS-select.c): Define.
21576 * posix/Makefile (CFLAGS-pause.c): Define.
21577
3a0d900a
DM
215782012-11-13 David S. Miller <davem@davemloft.net>
21579
21580 * crypt/Makefile: Move test targets after toplevel Rules
21581 inclusion. Grab any necessary sysdep routines when linking.
21582 * crypt/md5.c (md5_process_block): Remove define, we will always
21583 name it __md5_process_block.
21584 (md5_finish_ctx): Update md5_process_block call.
21585 (md5_stream): Likewise.
21586 (md5_process_bytes): Likewise.
21587 (md5_process_block): Rename to __md5_process_block and move to ...
21588 * crypt/md5-block.c: ... here.
21589 * crypt/sha256.c (sha256_process_block): Move to ...
21590 * crypt/sha256-block.c: ... here.
21591 * crypt/sha512.c (sha512_process_block): Move to ...
21592 * crypt/sha512-block.c: ... here.
21593 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21594 path.
21595 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21596 * sysdeps/sparc/sparc64/multiarch/Makefile
21597 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21598 crypt subdir.
21599 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21600 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21601 multiarch changes.
21602 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21603 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21604 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21605 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21606 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21607 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21608 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21609 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21610 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21611 file.
21612 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21613 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21614 file.
21615 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21616
8ca89318
JM
216172012-11-13 Joseph Myers <joseph@codesourcery.com>
21618
e27d476a
JM
21619 * timezone/tzselect.ksh: Update from tzcode git revision
21620 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21621 * timezone/zdump.c: Likewise.
21622 * timezone/zic.c: Likewise.
21623 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21624 in TZVERSION setting, not $(PKGVERSION).
21625 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21626 REPORT_BUGS_TO settings.
21627
8ca89318
JM
21628 [BZ #14838]
21629 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21630 macro.
21631
47594329
MS
216322012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21633
21634 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21635 detection to immediately after _FP_ROUND().
21636 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21637 bits are 0.
21638
640ac3f1
DM
216392012-11-11 David S. Miller <davem@davemloft.net>
21640
21641 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21642 inttypes.h
21643 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21644 __close rather than their public counterparts.
21645
3d2577bb
JM
216462012-11-10 Joseph Myers <joseph@codesourcery.com>
21647
21648 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21649 file.
21650 [UNIX98] (sem_timedwait): Do not expect.
21651 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21652 [XPG4 || UNIX98] (sockatmark): Do not expect.
21653 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21654 (clock_getcpuclockid): Do not expect.
21655 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21656 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21657 Do not expect.
21658 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21659 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21660 [UNIX98] (vwscanf): Likewise.
21661 [UNIX98] (vswscanf): Likewise.
21662
fb1ae1ee
JM
216632012-11-09 Joseph Myers <joseph@codesourcery.com>
21664
9ec6f8bd
JM
21665 * timezone/version.h: Remove file.
21666 * timezone/README: Do not refer to version.h.
21667 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21668 $(objpfx)version.h.
21669 ($(objpfx)zdump.o): Likewise.
c3f81911 21670 ($(objpfx)version.h): New target.
9ec6f8bd 21671
0aa8f8a1
JM
21672 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21673 2012i.
21674 * timezone/README: Don't mention modification to tzselect.ksh.
21675 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21676 work on unmodified tzselect.ksh. Substitute version numbers in
21677 tzselect.ksh.
21678
4e87147f
JM
21679 * Makefile (format-me): Remove.
21680 (INSTALL): Adjust indentation. Use commands directly instead of
21681 using $(format-me).
21682
8b748aed
JM
21683 * aclocal.m4 (ACX_PKGVERSION): New macro.
21684 (ACX_BUGURL): Likewise.
21685 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21686 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21687 (REPORT_BUGS_TO): Likewise.
21688 * configure: Regenerated.
21689 * config.h.in (PKGVERSION): New macro.
21690 (REPORT_BUGS_TO): Likewise.
21691 * config.make.in (PKGVERSION): New variable.
21692 (PKGVERSION_TEXI): Likewise.
21693 (REPORT_BUGS_TO): Likewise.
21694 (REPORT_BUGS_TEXI): Likewise.
21695 * Makefile (format-me): Use -I$(common-objpfx)manual.
21696 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21697 ($(common-objpfx)manual/%): New target.
21698 (manual/%): Remove target.
21699 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21700 (print_version): Use PKGVERSION.
21701 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21702 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21703 and REPORT_BUGS_TO.
21704 ($(objpfx)xtrace): Likewise.
21705 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21706 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21707 (print_version): Use PKGVERSION.
21708 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21709 (do_version): Use PKGVERSION.
21710 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21711 REPORT_BUGS_TO.
21712 (common-ldd-rewrite): Likewise.
21713 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21714 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21715 (print_version): Use PKGVERSION.
21716 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21717 * elf/pldd.c (argp_program_bug_address): Remove variable.
21718 (more_help): New function.
21719 (argp): Use more_help.
21720 (print_version): Use PKGVERSION.
21721 * elf/sln.c (main): Use PKGVERSION.
21722 (usage): Use REPORT_BUGS_TO.
21723 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21724 (top level): Use PKGVERSION.
21725 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21726 (print_version): Use PKGVERSION.
21727 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21728 (print_version): Use PKGVERSION.
21729 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21730 (print_version): Use PKGVERSION.
21731 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21732 (print_version): Use PKGVERSION.
21733 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21734 (print_version): Use PKGVERSION.
21735 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21736 (print_version): Use PKGVERSION.
21737 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21738 and BUGURL.
21739 ($(objpfx)memusage): Likewise.
21740 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21741 (do_version): Use PKGVERSION.
21742 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21743 (print_version): Use PKGVERSION.
21744 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21745 ($PKGVERSION): New variable.
21746 ($REPORT_BUGS_TO): Likewise.
21747 (usage): Use $REPORT_BUGS_TO.
21748 (top level): Use $PKGVERSION.
21749 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21750 ($(objpfx)pkgvers.texi): New rule.
21751 ($(objpfx)stamp-pkgvers): Likewise.
21752 * manual/install.texi: Include pkgvers.texi.
21753 (--with-pkgversion): Document new configure option.
21754 (--with-bugurl): Likewise.
21755 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21756 than necessarily for this particular distribution. Use
21757 REPORT_BUGS_TO for where to report bugs.
21758 * INSTALL: Regenerated.
21759 * manual/libc.texinfo: Include pkgvers.texi.
21760 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21761 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21762 (print_version): Use PKGVERSION.
21763 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21764 (print_version): Use PKGVERSION.
21765 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21766 (print_version): Use PKGVERSION.
21767 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21768 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21769 macro.
21770 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21771 (print_version): Use PKGVERSION.
21772 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21773 (print_version): Use PKGVERSION.
21774 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21775 and PKGVERSION.
21776
92e4b6a9
JM
21777 * timezone/checktab.awk: Update from tzcode 2012i.
21778 * timezone/ialloc.c: Likewise.
21779 * timezone/private.h: Likewise.
21780 * timezone/scheck.c: Likewise.
21781 * timezone/tzfile.h: Likewise.
21782 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21783 (TZVERSION): Hardcode tzcode version number.
21784 * timezone/zdump.c: Update from tzcode 2012i.
21785 * timezone/zic.c: Likewise.
21786 * timezone/version.h: New file.
21787 * timezone/README: Describe version.h. Update upstream location.
21788
9bde902c
JM
21789 [BZ #14824]
21790 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21791 (mktemp): Enable declaration.
21792 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21793 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21794 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21795 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21796 Likewise.
21797 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21798 Likewise.
21799 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21800 Likewise.
21801 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21802 Likewise.
21803 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21804 Likewise.
21805 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21806 Likewise.
21807
fb1ae1ee
JM
21808 [BZ #14821]
21809 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21810 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21811 for copies of such integer values.
21812 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21813 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21814
2c1adbcb
AJ
218152012-11-09 Andreas Jaeger <aj@suse.de>
21816
21817 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21818 definitions and declarations that are provided by
21819 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21820
d0f8457e
AK
218212012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21822
3a235abb 21823 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21824 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21825 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21826 definition.
21827
57241e26
MS
218282012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21829
21830 * elf/elf.h: Update comment before AArch64 relocations.
21831
60e8270d
DM
218322012-11-07 David S. Miller <davem@davemloft.net>
21833
21834 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21835 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21836 (__start_context): Declare.
21837 (__makecontext_ret): Delete.
21838 (__makecontext): Hook up __start_context instead of
21839 __makecontext_ret.
21840 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21841 (sysdep_routines): Add __start_context when in stdlib.
21842
0fbb0fbc
JM
218432012-11-07 Joseph Myers <joseph@codesourcery.com>
21844
21845 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21846 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21847 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21848 hardcoded "nm".
21849 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21850 (READELF): New variable. Use it instead of hardcoded "readelf".
21851
eb48db7e
L
218522012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21853
21854 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21855 * sysdeps/x86/Makefile: Here.
21856 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21857 * sysdeps/x86/tst-xmmymm.sh: This.
21858
05bcf62a
JM
218592012-11-07 Joseph Myers <joseph@codesourcery.com>
21860
c4b6cf53
JM
21861 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21862 expectations.
21863 [UNIX98] (pthread_barrier_t): Do not expect.
21864 [UNIX98] (pthread_barrierattr_t): Likewise.
21865 [UNIX98] (pthread_spinlock_t): Likewise.
21866 [UNIX98] (pthread_barrier_destroy): Likewise.
21867 [UNIX98] (pthread_barrier_init): Likewise.
21868 [UNIX98] (pthread_barrier_wait): Likewise.
21869 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21870 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21871 [UNIX98] (pthread_barrierattr_init): Likewise.
21872 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21873 [UNIX98] (pthread_getcpuclockid): Likewise.
21874 [UNIX98] (pthread_mutex_timedlock): Likewise.
21875 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21876 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21877 [UNIX98] (pthread_sigmask): Likewise.
21878 [UNIX98] (pthread_spin_destroy): Likewise.
21879 [UNIX98] (pthread_spin_init): Likewise.
21880 [UNIX98] (pthread_spin_lock): Likewise.
21881 [UNIX98] (pthread_spin_trylock): Likewise.
21882 [UNIX98] (pthread_spin_unlock): Likewise.
21883 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21884 Do not expect.
21885 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21886 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21887 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21888 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21889 [XPG3 || XPG4] (pthread_key_t): Likewise.
21890 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21891 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21892 [XPG3 || XPG4] (pthread_once_t): Likewise.
21893 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21894 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21895 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21896 [XPG3 || XPG4] (pthread_t): Likewise.
21897
cbe6e120
JM
21898 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21899 not expect.
21900 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21901
1b126443
JM
21902 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21903 Change function return type to int.
21904
b961a573
JM
21905 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21906 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21907 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21908 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21909 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21910 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21911 [!POSIX] (posix_madvise): Likewise.
21912 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21913 && !UNIX98].
21914 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21915 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21916 (mode_t): Likewise.
21917 (posix_mem_offset): Likewise.
21918 (posix_typed_mem_get_info): Likewise.
21919 (posix_typed_mem_open): Likewise.
21920
9e188909
JM
21921 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21922 Change condition to [XOPEN2K8].
21923
05bcf62a
JM
21924 * conform/conformtest.pl: Preprocess allow-header data with -x c
21925 instead of from stdin.
21926 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21927 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21928 [C99-based standards] (cerfc): Likewise.
21929 [C99-based standards] (cexp2): Likewise.
21930 [C99-based standards] (cexpm1): Likewise.
21931 [C99-based standards] (clog10): Likewise.
21932 [C99-based standards] (clog1p): Likewise.
21933 [C99-based standards] (clog2): Likewise.
21934 [C99-based standards] (clgamma): Likewise.
21935 [C99-based standards] (ctgamma): Likewise.
21936 [C99-based standards] (cerff): Likewise.
21937 [C99-based standards] (cerfcf): Likewise.
21938 [C99-based standards] (cexp2f): Likewise.
21939 [C99-based standards] (cexpm1f): Likewise.
21940 [C99-based standards] (clog10f): Likewise.
21941 [C99-based standards] (clog1pf): Likewise.
21942 [C99-based standards] (clog2f): Likewise.
21943 [C99-based standards] (clgammaf): Likewise.
21944 [C99-based standards] (ctgammaf): Likewise.
21945 [C99-based standards] (cerfl): Likewise.
21946 [C99-based standards] (cerfcl): Likewise.
21947 [C99-based standards] (cexp2l): Likewise.
21948 [C99-based standards] (cexpm1l): Likewise.
21949 [C99-based standards] (clog10l): Likewise.
21950 [C99-based standards] (clog1pl): Likewise.
21951 [C99-based standards] (clog2l): Likewise.
21952 [C99-based standards] (clgammal): Likewise.
21953 [C99-based standards] (ctgammal): Likewise.
21954 * conform/data/inttypes.h-data [C99-based standards]: Include
21955 stdint.h-data. Remove all expectations for stdint.h contents.
21956 [C99-based standards] (PRI*): Do not allow.
21957 [C99-based standards] (SCN*): Likewise.
21958 [C99-based standards] (*_t): Likewise.
21959 [C99-based-standards] (PRId8): Expect macro.
21960 [C99-based-standards] (PRIi8): Likewise.
21961 [C99-based-standards] (PRIo8): Likewise.
21962 [C99-based-standards] (PRIu8): Likewise.
21963 [C99-based-standards] (PRIx8): Likewise.
21964 [C99-based-standards] (PRIX8): Likewise.
21965 [C99-based-standards] (SCNd8): Likewise.
21966 [C99-based-standards] (SCNi8): Likewise.
21967 [C99-based-standards] (SCNo8): Likewise.
21968 [C99-based-standards] (SCNu8): Likewise.
21969 [C99-based-standards] (SCNx8): Likewise.
21970 [C99-based-standards] (PRIdLEAST8): Likewise.
21971 [C99-based-standards] (PRIiLEAST8): Likewise.
21972 [C99-based-standards] (PRIoLEAST8): Likewise.
21973 [C99-based-standards] (PRIuLEAST8): Likewise.
21974 [C99-based-standards] (PRIxLEAST8): Likewise.
21975 [C99-based-standards] (PRIXLEAST8): Likewise.
21976 [C99-based-standards] (SCNdLEAST8): Likewise.
21977 [C99-based-standards] (SCNiLEAST8): Likewise.
21978 [C99-based-standards] (SCNoLEAST8): Likewise.
21979 [C99-based-standards] (SCNuLEAST8): Likewise.
21980 [C99-based-standards] (SCNxLEAST8): Likewise.
21981 [C99-based-standards] (PRIdFAST8): Likewise.
21982 [C99-based-standards] (PRIiFAST8): Likewise.
21983 [C99-based-standards] (PRIoFAST8): Likewise.
21984 [C99-based-standards] (PRIuFAST8): Likewise.
21985 [C99-based-standards] (PRIxFAST8): Likewise.
21986 [C99-based-standards] (PRIXFAST8): Likewise.
21987 [C99-based-standards] (SCNdFAST8): Likewise.
21988 [C99-based-standards] (SCNiFAST8): Likewise.
21989 [C99-based-standards] (SCNoFAST8): Likewise.
21990 [C99-based-standards] (SCNuFAST8): Likewise.
21991 [C99-based-standards] (SCNxFAST8): Likewise.
21992 [C99-based-standards] (PRId16): Likewise.
21993 [C99-based-standards] (PRIi16): Likewise.
21994 [C99-based-standards] (PRIo16): Likewise.
21995 [C99-based-standards] (PRIu16): Likewise.
21996 [C99-based-standards] (PRIx16): Likewise.
21997 [C99-based-standards] (PRIX16): Likewise.
21998 [C99-based-standards] (SCNd16): Likewise.
21999 [C99-based-standards] (SCNi16): Likewise.
22000 [C99-based-standards] (SCNo16): Likewise.
22001 [C99-based-standards] (SCNu16): Likewise.
22002 [C99-based-standards] (SCNx16): Likewise.
22003 [C99-based-standards] (PRIdLEAST16): Likewise.
22004 [C99-based-standards] (PRIiLEAST16): Likewise.
22005 [C99-based-standards] (PRIoLEAST16): Likewise.
22006 [C99-based-standards] (PRIuLEAST16): Likewise.
22007 [C99-based-standards] (PRIxLEAST16): Likewise.
22008 [C99-based-standards] (PRIXLEAST16): Likewise.
22009 [C99-based-standards] (SCNdLEAST16): Likewise.
22010 [C99-based-standards] (SCNiLEAST16): Likewise.
22011 [C99-based-standards] (SCNoLEAST16): Likewise.
22012 [C99-based-standards] (SCNuLEAST16): Likewise.
22013 [C99-based-standards] (SCNxLEAST16): Likewise.
22014 [C99-based-standards] (PRIdFAST16): Likewise.
22015 [C99-based-standards] (PRIiFAST16): Likewise.
22016 [C99-based-standards] (PRIoFAST16): Likewise.
22017 [C99-based-standards] (PRIuFAST16): Likewise.
22018 [C99-based-standards] (PRIxFAST16): Likewise.
22019 [C99-based-standards] (PRIXFAST16): Likewise.
22020 [C99-based-standards] (SCNdFAST16): Likewise.
22021 [C99-based-standards] (SCNiFAST16): Likewise.
22022 [C99-based-standards] (SCNoFAST16): Likewise.
22023 [C99-based-standards] (SCNuFAST16): Likewise.
22024 [C99-based-standards] (SCNxFAST16): Likewise.
22025 [C99-based-standards] (PRId32): Likewise.
22026 [C99-based-standards] (PRIi32): Likewise.
22027 [C99-based-standards] (PRIo32): Likewise.
22028 [C99-based-standards] (PRIu32): Likewise.
22029 [C99-based-standards] (PRIx32): Likewise.
22030 [C99-based-standards] (PRIX32): Likewise.
22031 [C99-based-standards] (SCNd32): Likewise.
22032 [C99-based-standards] (SCNi32): Likewise.
22033 [C99-based-standards] (SCNo32): Likewise.
22034 [C99-based-standards] (SCNu32): Likewise.
22035 [C99-based-standards] (SCNx32): Likewise.
22036 [C99-based-standards] (PRIdLEAST32): Likewise.
22037 [C99-based-standards] (PRIiLEAST32): Likewise.
22038 [C99-based-standards] (PRIoLEAST32): Likewise.
22039 [C99-based-standards] (PRIuLEAST32): Likewise.
22040 [C99-based-standards] (PRIxLEAST32): Likewise.
22041 [C99-based-standards] (PRIXLEAST32): Likewise.
22042 [C99-based-standards] (SCNdLEAST32): Likewise.
22043 [C99-based-standards] (SCNiLEAST32): Likewise.
22044 [C99-based-standards] (SCNoLEAST32): Likewise.
22045 [C99-based-standards] (SCNuLEAST32): Likewise.
22046 [C99-based-standards] (SCNxLEAST32): Likewise.
22047 [C99-based-standards] (PRIdFAST32): Likewise.
22048 [C99-based-standards] (PRIiFAST32): Likewise.
22049 [C99-based-standards] (PRIoFAST32): Likewise.
22050 [C99-based-standards] (PRIuFAST32): Likewise.
22051 [C99-based-standards] (PRIxFAST32): Likewise.
22052 [C99-based-standards] (PRIXFAST32): Likewise.
22053 [C99-based-standards] (SCNdFAST32): Likewise.
22054 [C99-based-standards] (SCNiFAST32): Likewise.
22055 [C99-based-standards] (SCNoFAST32): Likewise.
22056 [C99-based-standards] (SCNuFAST32): Likewise.
22057 [C99-based-standards] (SCNxFAST32): Likewise.
22058 [C99-based-standards] (PRId64): Likewise.
22059 [C99-based-standards] (PRIi64): Likewise.
22060 [C99-based-standards] (PRIo64): Likewise.
22061 [C99-based-standards] (PRIu64): Likewise.
22062 [C99-based-standards] (PRIx64): Likewise.
22063 [C99-based-standards] (PRIX64): Likewise.
22064 [C99-based-standards] (SCNd64): Likewise.
22065 [C99-based-standards] (SCNi64): Likewise.
22066 [C99-based-standards] (SCNo64): Likewise.
22067 [C99-based-standards] (SCNu64): Likewise.
22068 [C99-based-standards] (SCNx64): Likewise.
22069 [C99-based-standards] (PRIdLEAST64): Likewise.
22070 [C99-based-standards] (PRIiLEAST64): Likewise.
22071 [C99-based-standards] (PRIoLEAST64): Likewise.
22072 [C99-based-standards] (PRIuLEAST64): Likewise.
22073 [C99-based-standards] (PRIxLEAST64): Likewise.
22074 [C99-based-standards] (PRIXLEAST64): Likewise.
22075 [C99-based-standards] (SCNdLEAST64): Likewise.
22076 [C99-based-standards] (SCNiLEAST64): Likewise.
22077 [C99-based-standards] (SCNoLEAST64): Likewise.
22078 [C99-based-standards] (SCNuLEAST64): Likewise.
22079 [C99-based-standards] (SCNxLEAST64): Likewise.
22080 [C99-based-standards] (PRIdFAST64): Likewise.
22081 [C99-based-standards] (PRIiFAST64): Likewise.
22082 [C99-based-standards] (PRIoFAST64): Likewise.
22083 [C99-based-standards] (PRIuFAST64): Likewise.
22084 [C99-based-standards] (PRIxFAST64): Likewise.
22085 [C99-based-standards] (PRIXFAST64): Likewise.
22086 [C99-based-standards] (SCNdFAST64): Likewise.
22087 [C99-based-standards] (SCNiFAST64): Likewise.
22088 [C99-based-standards] (SCNoFAST64): Likewise.
22089 [C99-based-standards] (SCNuFAST64): Likewise.
22090 [C99-based-standards] (SCNxFAST64): Likewise.
22091 [C99-based-standards] (PRIdMAX): Likewise.
22092 [C99-based-standards] (PRIiMAX): Likewise.
22093 [C99-based-standards] (PRIoMAX): Likewise.
22094 [C99-based-standards] (PRIuMAX): Likewise.
22095 [C99-based-standards] (PRIxMAX): Likewise.
22096 [C99-based-standards] (PRIXMAX): Likewise.
22097 [C99-based-standards] (SCNdMAX): Likewise.
22098 [C99-based-standards] (SCNiMAX): Likewise.
22099 [C99-based-standards] (SCNoMAX): Likewise.
22100 [C99-based-standards] (SCNuMAX): Likewise.
22101 [C99-based-standards] (SCNxMAX): Likewise.
22102 [C99-based-standards] (PRIdPTR): Likewise.
22103 [C99-based-standards] (PRIiPTR): Likewise.
22104 [C99-based-standards] (PRIoPTR): Likewise.
22105 [C99-based-standards] (PRIuPTR): Likewise.
22106 [C99-based-standards] (PRIxPTR): Likewise.
22107 [C99-based-standards] (PRIXPTR): Likewise.
22108 [C99-based-standards] (SCNdPTR): Likewise.
22109 [C99-based-standards] (SCNiPTR): Likewise.
22110 [C99-based-standards] (SCNoPTR): Likewise.
22111 [C99-based-standards] (SCNuPTR): Likewise.
22112 [C99-based-standards] (SCNxPTR): Likewise.
22113 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22114 allow.
22115 * conform/data/stdint.h-data: Update comments to clarify
22116 requirements.
22117 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22118 type.
22119 [C99-based standards] (INT8_MAX): Likewise.
22120 [C99-based standards] (INT16_MIN): Likewise.
22121 [C99-based standards] (INT16_MAX): Likewise.
22122 [C99-based standards] (INT32_MIN): Likewise.
22123 [C99-based standards] (INT32_MAX): Likewise.
22124 [C99-based standards] (INT64_MIN): Likewise.
22125 [C99-based standards] (INT64_MAX): Likewise.
22126 [C99-based standards] (UINT8_MAX): Likewise.
22127 [C99-based standards] (UINT16_MAX): Likewise.
22128 [C99-based standards] (UINT32_MAX): Likewise.
22129 [C99-based standards] (UINT64_MAX): Likewise.
22130 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22131 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22132 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22133 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22134 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22135 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22136 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22137 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22138 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22139 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22140 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22141 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22142 [C99-based standards] (INT_FAST8_MIN): Likewise.
22143 [C99-based standards] (INT_FAST8_MAX): Likewise.
22144 [C99-based standards] (INT_FAST16_MIN): Likewise.
22145 [C99-based standards] (INT_FAST16_MAX): Likewise.
22146 [C99-based standards] (INT_FAST32_MIN): Likewise.
22147 [C99-based standards] (INT_FAST32_MAX): Likewise.
22148 [C99-based standards] (INT_FAST64_MIN): Likewise.
22149 [C99-based standards] (INT_FAST64_MAX): Likewise.
22150 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22151 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22152 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22153 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22154 [C99-based standards] (INTPTR_MIN): Likewise.
22155 [C99-based standards] (INTPTR_MAX): Likewise.
22156 [C99-based standards] (UINTPTR_MAX): Likewise.
22157 [C99-based standards] (INTMAX_MIN): Likewise.
22158 [C99-based standards] (INTMAX_MAX): Likewise.
22159 [C99-based standards] (UINTMAX_MAX): Likewise.
22160 [C99-based standards] (PTRDIFF_MIN): Likewise.
22161 [C99-based standards] (PTRDIFF_MAX): Likewise.
22162 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22163 [C99-based standards] (SIZE_MAX): Likewise.
22164 [C99-based standards] (WCHAR_MAX): Likewise.
22165 [C99-based standards] (WINT_MAX): Likewise.
22166 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22167 constraint on value.
22168 [C99-based standards] (WCHAR_MIN): Likewise.
22169 [C99-based standards] (WINT_MIN): Likewise.
22170 [C99-based standards] (*_t): Allow.
22171 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22172 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22173 Include math.h-data and complex.h-data. Remove all expectations
22174 of math.h and complex.h contents.
22175 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22176 at end of line.
22177 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22178 (struct tm): Expect tag.
22179 [C99-based-standards] (wcstof): Expect function.
22180 [C99-based-standards] (wcstold): Likewise.
22181 [C99-based-standards] (wcstoll): Likewise.
22182 [C99-based-standards] (wcstoull): Likewise.
22183 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22184 macro-int-constant. Specify type.
22185 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22186 constraint on value.
22187 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22188 Specify type.
22189 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22190 Specify value.
22191 [ISO C standards]: Do not allow headers.
22192 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22193 wcs[abcdefghijklmnopqrstuvwxyz]*.
22194 [ISO C standards] (*_t): Do not allow.
22195 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22196 Expect function.
22197 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22198 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22199 Specify type.
22200 [ISO C standards]: Do not allow headers.
22201 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22202 is[abcdefghijklmnopqrstuvwxyz]*.
22203 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22204 to[abcdefghijklmnopqrstuvwxyz]*.
22205 [ISO C standards] (*_t): Do not allow.
22206 * conform/data/stdalign.h-data: New file.
22207 * conform/data/stdbool.h-data: Likewise.
22208 * conform/data/stdnoreturn.h-data: Likewise.
22209
7514feb8
RM
222102012-11-07 Roland McGrath <roland@hack.frob.com>
22211
22212 [BZ #14815]
22213 * manual/filesys.texi (Directory Entries): Typo fix.
22214 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22215
19b2ecfc
MS
222162012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22217
22218 * elf/elf.h (EM_AARCH64): New macro.
22219 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22220 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22221 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22222 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22223 (R_AARCH64_TLSDESC): Likewise.
22224 (NT_ARM_TLS): Likewise.
22225 (NT_ARM_HW_BREAK): Likewise.
22226 (NT_ARM_HW_WATCH): Likewise.
22227
60e235ee
JM
222282012-11-07 Joseph Myers <joseph@codesourcery.com>
22229
22230 [BZ #14811]
22231 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22232 (__ieee754_powl): Saturate nonzero exponents with absolute value
22233 below 0x1p-79 to +/- 0x1p-79.
22234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22235 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22236 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22237 nonzero exponents with absolute value below 0x1p-32 to +/-
22238 0x1p-32.
22239 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22240 (__ieee754_powl): Saturate nonzero exponents with absolute value
22241 below 0x1p-79 to +/- 0x1p-79.
22242 * math/libm-test.inc (pow_test): Add more tests.
22243
0ab234b7
AK
222442012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22245
22246 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22247 _dl_s390_cap_flags with kernel. Increase string length.
22248 (_dl_s390_platforms): Add z196 and zEC12.
22249
45832f74
JM
222502012-11-07 Joseph Myers <joseph@codesourcery.com>
22251
22252 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22253 Change XOPEN21K to XOPEN2K.
22254
19218757
MK
222552012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22256
22257 * string/memmove.c: Use memcpy when possible.
22258
c5f45721
AJ
222592012-11-06 Andreas Jaeger <aj@suse.de>
22260
22261 * po/eo.po: Update from translation team.
22262
82477c28
JM
222632012-11-06 Joseph Myers <joseph@codesourcery.com>
22264
22265 [BZ #14793]
22266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22267 exponent and small x and y exponents, scale x or y up. Increase
22268 by 2 the exponent used in scaling up.
22269 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22270 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22271 * math/libm-test.inc (fma_test): Add more tests.
22272 (fma_test_towardzero): Likewise.
22273 (fma_test_downward): Likewise.
22274 (fma_test_upward): Likewise.
22275
99252c8c
JM
222762012-11-05 Joseph Myers <joseph@codesourcery.com>
22277
acfa885f
JM
22278 [BZ #14805]
22279 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22280 fenv_t *.
22281
99252c8c
JM
22282 [BZ #14801]
22283 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22284 namespace for names of struct fields.
22285 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22286 fenv_t fields.
22287 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22288 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22289
d6d98dea
ST
222902012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22291
22292 [BZ #3665]
22293 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22294
e10bb107
TS
222952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22296
22297 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22298 PTR_DEMANGLE.
22299
22300 [BZ #5246]
22301 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22302 PTR_DEMANGLE.
22303
a0c2940d
JM
223042012-11-04 Joseph Myers <joseph@codesourcery.com>
22305
22306 [BZ #14797]
22307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22308 definitely overflow as x * y not x * y + z.
22309 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22310 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22311 * math/libm-test.inc (fma_test): Add more tests.
22312 (fma_test_towardzero): Likewise.
22313 (fma_test_downward): Likewise.
22314 (fma_test_upward): Likewise.
22315
b830319d
TS
223162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22317
22318 [BZ #157]
22319
22320 * include/stub-tag.h: Remove file.
22321 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22322 '#include' of it.
22323 * manual/maint.texi (Porting): Don't reference it.
22324 * Makerules ($(objpfx)stubs): Likewise.
22325 * dirent/closedir.c: Don't include <stub-tag.h>.
22326 * dirent/dirfd.c: Likewise.
22327 * dirent/fdopendir.c: Likewise.
22328 * dirent/getdents.c: Likewise.
22329 * dirent/getdents64.c: Likewise.
22330 * dirent/opendir.c: Likewise.
22331 * dirent/readdir.c: Likewise.
22332 * dirent/readdir64.c: Likewise.
22333 * dirent/readdir64_r.c: Likewise.
22334 * dirent/readdir_r.c: Likewise.
22335 * dirent/rewinddir.c: Likewise.
22336 * dirent/seekdir.c: Likewise.
22337 * dirent/telldir.c: Likewise.
22338 * gmon/profil.c: Likewise.
22339 * grp/setgroups.c: Likewise.
22340 * inet/if_index.c: Likewise.
22341 * io/access.c: Likewise.
22342 * io/chdir.c: Likewise.
22343 * io/chmod.c: Likewise.
22344 * io/chown.c: Likewise.
22345 * io/close.c: Likewise.
22346 * io/dup.c: Likewise.
22347 * io/dup2.c: Likewise.
22348 * io/dup3.c: Likewise.
22349 * io/euidaccess.c: Likewise.
22350 * io/faccessat.c: Likewise.
22351 * io/fchdir.c: Likewise.
22352 * io/fchmod.c: Likewise.
22353 * io/fchmodat.c: Likewise.
22354 * io/fchown.c: Likewise.
22355 * io/fchownat.c: Likewise.
22356 * io/fcntl.c: Likewise.
22357 * io/flock.c: Likewise.
22358 * io/fstatfs.c: Likewise.
22359 * io/fstatfs64.c: Likewise.
22360 * io/fstatvfs.c: Likewise.
22361 * io/fstatvfs64.c: Likewise.
22362 * io/futimens.c: Likewise.
22363 * io/fxstat.c: Likewise.
22364 * io/fxstat64.c: Likewise.
22365 * io/fxstatat.c: Likewise.
22366 * io/fxstatat64.c: Likewise.
22367 * io/getcwd.c: Likewise.
22368 * io/isatty.c: Likewise.
22369 * io/lchmod.c: Likewise.
22370 * io/lchown.c: Likewise.
22371 * io/link.c: Likewise.
22372 * io/linkat.c: Likewise.
22373 * io/lseek.c: Likewise.
22374 * io/lseek64.c: Likewise.
22375 * io/lxstat64.c: Likewise.
22376 * io/mkdir.c: Likewise.
22377 * io/mkdirat.c: Likewise.
22378 * io/mkfifo.c: Likewise.
22379 * io/mkfifoat.c: Likewise.
22380 * io/open.c: Likewise.
22381 * io/open64.c: Likewise.
22382 * io/openat.c: Likewise.
22383 * io/openat64.c: Likewise.
22384 * io/pipe.c: Likewise.
22385 * io/pipe2.c: Likewise.
22386 * io/poll.c: Likewise.
22387 * io/posix_fadvise.c: Likewise.
22388 * io/posix_fadvise64.c: Likewise.
22389 * io/posix_fallocate.c: Likewise.
22390 * io/posix_fallocate64.c: Likewise.
22391 * io/read.c: Likewise.
22392 * io/readlink.c: Likewise.
22393 * io/readlinkat.c: Likewise.
22394 * io/rmdir.c: Likewise.
22395 * io/sendfile.c: Likewise.
22396 * io/sendfile64.c: Likewise.
22397 * io/statfs.c: Likewise.
22398 * io/statfs64.c: Likewise.
22399 * io/statvfs.c: Likewise.
22400 * io/statvfs64.c: Likewise.
22401 * io/symlink.c: Likewise.
22402 * io/symlinkat.c: Likewise.
22403 * io/ttyname.c: Likewise.
22404 * io/ttyname_r.c: Likewise.
22405 * io/umask.c: Likewise.
22406 * io/unlink.c: Likewise.
22407 * io/unlinkat.c: Likewise.
22408 * io/utime.c: Likewise.
22409 * io/utimensat.c: Likewise.
22410 * io/write.c: Likewise.
22411 * io/xmknod.c: Likewise.
22412 * io/xmknodat.c: Likewise.
22413 * io/xstat.c: Likewise.
22414 * io/xstat64.c: Likewise.
22415 * login/getpt.c: Likewise.
22416 * login/grantpt.c: Likewise.
22417 * login/unlockpt.c: Likewise.
22418 * math/e_acoshl.c: Likewise.
22419 * math/e_acosl.c: Likewise.
22420 * math/e_asinl.c: Likewise.
22421 * math/e_atan2l.c: Likewise.
22422 * math/e_atanhl.c: Likewise.
22423 * math/e_coshl.c: Likewise.
22424 * math/e_expl.c: Likewise.
22425 * math/e_fmodl.c: Likewise.
22426 * math/e_gammal_r.c: Likewise.
22427 * math/e_hypotl.c: Likewise.
22428 * math/e_j0l.c: Likewise.
22429 * math/e_j1l.c: Likewise.
22430 * math/e_jnl.c: Likewise.
22431 * math/e_lgammal_r.c: Likewise.
22432 * math/e_log10l.c: Likewise.
22433 * math/e_log2l.c: Likewise.
22434 * math/e_logl.c: Likewise.
22435 * math/e_powl.c: Likewise.
22436 * math/e_rem_pio2l.c: Likewise.
22437 * math/e_sinhl.c: Likewise.
22438 * math/e_sqrtl.c: Likewise.
22439 * math/fclrexcpt.c: Likewise.
22440 * math/fedisblxcpt.c: Likewise.
22441 * math/feenablxcpt.c: Likewise.
22442 * math/fegetenv.c: Likewise.
22443 * math/fegetexcept.c: Likewise.
22444 * math/fegetround.c: Likewise.
22445 * math/feholdexcpt.c: Likewise.
22446 * math/fesetenv.c: Likewise.
22447 * math/fesetround.c: Likewise.
22448 * math/feupdateenv.c: Likewise.
22449 * math/fgetexcptflg.c: Likewise.
22450 * math/fraiseexcpt.c: Likewise.
22451 * math/fsetexcptflg.c: Likewise.
22452 * math/ftestexcept.c: Likewise.
22453 * math/k_cosl.c: Likewise.
22454 * math/k_rem_pio2l.c: Likewise.
22455 * math/k_sinl.c: Likewise.
22456 * math/k_tanl.c: Likewise.
22457 * math/s_asinhl.c: Likewise.
22458 * math/s_atanl.c: Likewise.
22459 * math/s_cbrtl.c: Likewise.
22460 * math/s_erfl.c: Likewise.
22461 * math/s_expm1l.c: Likewise.
22462 * math/s_log1pl.c: Likewise.
22463 * math/s_tanhl.c: Likewise.
22464 * misc/acct.c: Likewise.
22465 * misc/brk.c: Likewise.
22466 * misc/chflags.c: Likewise.
22467 * misc/chroot.c: Likewise.
22468 * misc/fchflags.c: Likewise.
22469 * misc/fgetxattr.c: Likewise.
22470 * misc/flistxattr.c: Likewise.
22471 * misc/fremovexattr.c: Likewise.
22472 * misc/fsetxattr.c: Likewise.
22473 * misc/fsync.c: Likewise.
22474 * misc/ftruncate.c: Likewise.
22475 * misc/futimes.c: Likewise.
22476 * misc/futimesat.c: Likewise.
22477 * misc/getdomain.c: Likewise.
22478 * misc/getdtsz.c: Likewise.
22479 * misc/gethostid.c: Likewise.
22480 * misc/gethostname.c: Likewise.
22481 * misc/getloadavg.c: Likewise.
22482 * misc/getpagesize.c: Likewise.
22483 * misc/getsysstats.c: Likewise.
22484 * misc/getxattr.c: Likewise.
22485 * misc/gtty.c: Likewise.
22486 * misc/ioctl.c: Likewise.
22487 * misc/lgetxattr.c: Likewise.
22488 * misc/listxattr.c: Likewise.
22489 * misc/llistxattr.c: Likewise.
22490 * misc/lremovexattr.c: Likewise.
22491 * misc/lsetxattr.c: Likewise.
22492 * misc/lutimes.c: Likewise.
22493 * misc/madvise.c: Likewise.
22494 * misc/mincore.c: Likewise.
22495 * misc/mlock.c: Likewise.
22496 * misc/mlockall.c: Likewise.
22497 * misc/mmap.c: Likewise.
22498 * misc/mprotect.c: Likewise.
22499 * misc/msync.c: Likewise.
22500 * misc/munlock.c: Likewise.
22501 * misc/munlockall.c: Likewise.
22502 * misc/munmap.c: Likewise.
22503 * misc/preadv.c: Likewise.
22504 * misc/preadv64.c: Likewise.
22505 * misc/ptrace.c: Likewise.
22506 * misc/pwritev.c: Likewise.
22507 * misc/pwritev64.c: Likewise.
22508 * misc/readv.c: Likewise.
22509 * misc/reboot.c: Likewise.
22510 * misc/remap_file_pages.c: Likewise.
22511 * misc/removexattr.c: Likewise.
22512 * misc/revoke.c: Likewise.
22513 * misc/select.c: Likewise.
22514 * misc/setdomain.c: Likewise.
22515 * misc/setegid.c: Likewise.
22516 * misc/seteuid.c: Likewise.
22517 * misc/sethostid.c: Likewise.
22518 * misc/sethostname.c: Likewise.
22519 * misc/setregid.c: Likewise.
22520 * misc/setreuid.c: Likewise.
22521 * misc/setxattr.c: Likewise.
22522 * misc/sstk.c: Likewise.
22523 * misc/stty.c: Likewise.
22524 * misc/swapoff.c: Likewise.
22525 * misc/swapon.c: Likewise.
22526 * misc/sync.c: Likewise.
22527 * misc/syncfs.c: Likewise.
22528 * misc/syscall.c: Likewise.
22529 * misc/truncate.c: Likewise.
22530 * misc/ualarm.c: Likewise.
22531 * misc/usleep.c: Likewise.
22532 * misc/ustat.c: Likewise.
22533 * misc/utimes.c: Likewise.
22534 * misc/vhangup.c: Likewise.
22535 * misc/writev.c: Likewise.
22536 * posix/_exit.c: Likewise.
22537 * posix/alarm.c: Likewise.
22538 * posix/execve.c: Likewise.
22539 * posix/fexecve.c: Likewise.
22540 * posix/fork.c: Likewise.
22541 * posix/fpathconf.c: Likewise.
22542 * posix/getaddrinfo.c: Likewise.
22543 * posix/getegid.c: Likewise.
22544 * posix/geteuid.c: Likewise.
22545 * posix/getgid.c: Likewise.
22546 * posix/getgroups.c: Likewise.
22547 * posix/getlogin.c: Likewise.
22548 * posix/getlogin_r.c: Likewise.
22549 * posix/getpgid.c: Likewise.
22550 * posix/getpid.c: Likewise.
22551 * posix/getppid.c: Likewise.
22552 * posix/getresgid.c: Likewise.
22553 * posix/getresuid.c: Likewise.
22554 * posix/getsid.c: Likewise.
22555 * posix/getuid.c: Likewise.
22556 * posix/glob64.c: Likewise.
22557 * posix/nanosleep.c: Likewise.
22558 * posix/pathconf.c: Likewise.
22559 * posix/pause.c: Likewise.
22560 * posix/posix_madvise.c: Likewise.
22561 * posix/pread.c: Likewise.
22562 * posix/pread64.c: Likewise.
22563 * posix/pwrite.c: Likewise.
22564 * posix/pwrite64.c: Likewise.
22565 * posix/sched_getaffinity.c: Likewise.
22566 * posix/sched_getp.c: Likewise.
22567 * posix/sched_gets.c: Likewise.
22568 * posix/sched_primax.c: Likewise.
22569 * posix/sched_primin.c: Likewise.
22570 * posix/sched_rr_gi.c: Likewise.
22571 * posix/sched_setaffinity.c: Likewise.
22572 * posix/sched_setp.c: Likewise.
22573 * posix/sched_sets.c: Likewise.
22574 * posix/sched_yield.c: Likewise.
22575 * posix/setgid.c: Likewise.
22576 * posix/setlogin.c: Likewise.
22577 * posix/setpgid.c: Likewise.
22578 * posix/setresgid.c: Likewise.
22579 * posix/setresuid.c: Likewise.
22580 * posix/setsid.c: Likewise.
22581 * posix/setuid.c: Likewise.
22582 * posix/sleep.c: Likewise.
22583 * posix/spawni.c: Likewise.
22584 * posix/sysconf.c: Likewise.
22585 * posix/times.c: Likewise.
22586 * posix/wait.c: Likewise.
22587 * posix/wait3.c: Likewise.
22588 * posix/wait4.c: Likewise.
22589 * posix/waitpid.c: Likewise.
22590 * resolv/gai_sigqueue.c: Likewise.
22591 * resource/getpriority.c: Likewise.
22592 * resource/getrlimit.c: Likewise.
22593 * resource/getrusage.c: Likewise.
22594 * resource/nice.c: Likewise.
22595 * resource/setpriority.c: Likewise.
22596 * resource/setrlimit.c: Likewise.
22597 * resource/ulimit.c: Likewise.
22598 * rt/aio_cancel.c: Likewise.
22599 * rt/aio_fsync.c: Likewise.
22600 * rt/aio_read.c: Likewise.
22601 * rt/aio_sigqueue.c: Likewise.
22602 * rt/aio_suspend.c: Likewise.
22603 * rt/aio_write.c: Likewise.
22604 * rt/clock_getres.c: Likewise.
22605 * rt/clock_gettime.c: Likewise.
22606 * rt/clock_nanosleep.c: Likewise.
22607 * rt/clock_settime.c: Likewise.
22608 * rt/lio_listio.c: Likewise.
22609 * rt/mq_close.c: Likewise.
22610 * rt/mq_getattr.c: Likewise.
22611 * rt/mq_notify.c: Likewise.
22612 * rt/mq_open.c: Likewise.
22613 * rt/mq_receive.c: Likewise.
22614 * rt/mq_send.c: Likewise.
22615 * rt/mq_setattr.c: Likewise.
22616 * rt/mq_timedreceive.c: Likewise.
22617 * rt/mq_timedsend.c: Likewise.
22618 * rt/mq_unlink.c: Likewise.
22619 * rt/shm_open.c: Likewise.
22620 * rt/shm_unlink.c: Likewise.
22621 * rt/timer_create.c: Likewise.
22622 * rt/timer_delete.c: Likewise.
22623 * rt/timer_getoverr.c: Likewise.
22624 * rt/timer_gettime.c: Likewise.
22625 * rt/timer_settime.c: Likewise.
22626 * setjmp/__longjmp.c: Likewise.
22627 * setjmp/setjmp.c: Likewise.
22628 * signal/kill.c: Likewise.
22629 * signal/killpg.c: Likewise.
22630 * signal/raise.c: Likewise.
22631 * signal/sigaction.c: Likewise.
22632 * signal/sigaltstack.c: Likewise.
22633 * signal/sigblock.c: Likewise.
22634 * signal/sigignore.c: Likewise.
22635 * signal/sigintr.c: Likewise.
22636 * signal/signal.c: Likewise.
22637 * signal/sigpause.c: Likewise.
22638 * signal/sigpending.c: Likewise.
22639 * signal/sigqueue.c: Likewise.
22640 * signal/sigreturn.c: Likewise.
22641 * signal/sigset.c: Likewise.
22642 * signal/sigsetmask.c: Likewise.
22643 * signal/sigstack.c: Likewise.
22644 * signal/sigsuspend.c: Likewise.
22645 * signal/sigtimedwait.c: Likewise.
22646 * signal/sigvec.c: Likewise.
22647 * signal/sigwait.c: Likewise.
22648 * signal/sigwaitinfo.c: Likewise.
22649 * signal/sysv_signal.c: Likewise.
22650 * socket/accept.c: Likewise.
22651 * socket/accept4.c: Likewise.
22652 * socket/bind.c: Likewise.
22653 * socket/connect.c: Likewise.
22654 * socket/getpeername.c: Likewise.
22655 * socket/getsockname.c: Likewise.
22656 * socket/getsockopt.c: Likewise.
22657 * socket/isfdtype.c: Likewise.
22658 * socket/listen.c: Likewise.
22659 * socket/recv.c: Likewise.
22660 * socket/recvfrom.c: Likewise.
22661 * socket/recvmsg.c: Likewise.
22662 * socket/send.c: Likewise.
22663 * socket/sendmsg.c: Likewise.
22664 * socket/sendto.c: Likewise.
22665 * socket/setsockopt.c: Likewise.
22666 * socket/shutdown.c: Likewise.
22667 * socket/sockatmark.c: Likewise.
22668 * socket/socket.c: Likewise.
22669 * socket/socketpair.c: Likewise.
22670 * stdio-common/ctermid.c: Likewise.
22671 * stdio-common/cuserid.c: Likewise.
22672 * stdio-common/remove.c: Likewise.
22673 * stdio-common/rename.c: Likewise.
22674 * stdio-common/renameat.c: Likewise.
22675 * stdio-common/tempname.c: Likewise.
22676 * stdlib/getcontext.c: Likewise.
22677 * stdlib/makecontext.c: Likewise.
22678 * stdlib/setcontext.c: Likewise.
22679 * stdlib/swapcontext.c: Likewise.
22680 * stdlib/system.c: Likewise.
22681 * streams/fattach.c: Likewise.
22682 * streams/fdetach.c: Likewise.
22683 * streams/getmsg.c: Likewise.
22684 * streams/getpmsg.c: Likewise.
22685 * streams/putmsg.c: Likewise.
22686 * streams/putpmsg.c: Likewise.
22687 * sysdeps/unix/bsd/getpt.c: Likewise.
22688 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22689 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22690 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22692 Likewise.
22693 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22694 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22695 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22696 * sysvipc/msgctl.c: Likewise.
22697 * sysvipc/msgget.c: Likewise.
22698 * sysvipc/msgrcv.c: Likewise.
22699 * sysvipc/msgsnd.c: Likewise.
22700 * sysvipc/semctl.c: Likewise.
22701 * sysvipc/semget.c: Likewise.
22702 * sysvipc/semop.c: Likewise.
22703 * sysvipc/semtimedop.c: Likewise.
22704 * sysvipc/shmat.c: Likewise.
22705 * sysvipc/shmctl.c: Likewise.
22706 * sysvipc/shmdt.c: Likewise.
22707 * sysvipc/shmget.c: Likewise.
22708 * termios/tcdrain.c: Likewise.
22709 * termios/tcflow.c: Likewise.
22710 * termios/tcflush.c: Likewise.
22711 * termios/tcgetattr.c: Likewise.
22712 * termios/tcgetpgrp.c: Likewise.
22713 * termios/tcsendbrk.c: Likewise.
22714 * termios/tcsetattr.c: Likewise.
22715 * termios/tcsetpgrp.c: Likewise.
22716 * time/adjtime.c: Likewise.
22717 * time/clock.c: Likewise.
22718 * time/getitimer.c: Likewise.
22719 * time/gettimeofday.c: Likewise.
22720 * time/setitimer.c: Likewise.
22721 * time/settimeofday.c: Likewise.
22722 * time/stime.c: Likewise.
22723 * time/time.c: Likewise.
22724
227252012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22726
a20492cf
PT
22727 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22728 /usr/old/bin.
22729
72e182e3
PT
22730 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22731 instead of spaces.
22732 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22733
fbeafede
JM
227342012-11-03 Joseph Myers <joseph@codesourcery.com>
22735
5b5b04d6
JM
22736 [BZ #14796]
22737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22738 FE_TONEAREST before applying Dekker multiplication and Knuth
22739 addition. Clear inexact exceptions and check for exact zero
22740 results afterwards.
22741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22742 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22743 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22744 * math/libm-test.inc (fma_test): Add more tests.
22745 (fma_test_towardzero): Likewise.
22746 (fma_test_downward): Likewise.
22747 (fma_test_upward): Likewise.
22748 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22749 function.
22750 (libc_fesetround): New macro.
22751 (libc_fesetroundf): Likewise.
22752 (libc_fesetroundl): Likewise.
22753 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22754 function.
22755 (libc_fesetround_387): Likewise.
22756 (libc_fesetroundf): New macro.
22757 (libc_fesetround): Likewise.
22758 (libc_fesetroundl): Likewise.
22759 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22760 function.
22761 (libc_fesetroundf): New macro.
22762 (libc_fesetround): Likewise.
22763 (libc_fesetroundl): Likewise.
22764 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22765 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22766 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22767 libm_hidden_ver.
22768 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22769 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22770 libm_hidden_def.
22771 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22772 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22773 libm_hidden_ver.
22774 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22775 libm_hidden_def.
22776
fbeafede
JM
22777 [BZ #3439]
22778 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22779 integer constant usable in #if and use that to give value to enum
22780 constant.
22781 (FE_DIVBYZERO): Likewise.
22782 (FE_UNDERFLOW): Likewise.
22783 (FE_OVERFLOW): Likewise.
22784 (FE_INVALID): Likewise.
22785 (FE_INVALID_SNAN): Likewise.
22786 (FE_INVALID_ISI): Likewise.
22787 (FE_INVALID_IDI): Likewise.
22788 (FE_INVALID_ZDZ): Likewise.
22789 (FE_INVALID_IMZ): Likewise.
22790 (FE_INVALID_COMPARE): Likewise.
22791 (FE_INVALID_SOFTWARE): Likewise.
22792 (FE_INVALID_SQRT): Likewise.
22793 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22794 (FE_TONEAREST): Likewise.
22795 (FE_TOWARDZERO): Likewise.
22796 (FE_UPWARD): Likewise.
22797 (FE_DOWNWARD): Likewise.
22798 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22799 (FE_DIVBYZERO): Likewise.
22800 (FE_OVERFLOW): Likewise.
22801 (FE_UNDERFLOW): Likewise.
22802 (FE_INEXACT): Likewise.
22803 (FE_TONEAREST): Likewise.
22804 (FE_DOWNWARD): Likewise.
22805 (FE_UPWARD): Likewise.
22806 (FE_TOWARDZERO): Likewise.
22807 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22808 (FE_UNDERFLOW): Likewise.
22809 (FE_OVERFLOW): Likewise.
22810 (FE_DIVBYZERO): Likewise.
22811 (FE_INVALID): Likewise.
22812 (FE_TONEAREST): Likewise.
22813 (FE_TOWARDZERO): Likewise.
22814 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22815 (FE_OVERFLOW): Likewise.
22816 (FE_UNDERFLOW): Likewise.
22817 (FE_DIVBYZERO): Likewise.
22818 (FE_INEXACT): Likewise.
22819 (FE_TONEAREST): Likewise.
22820 (FE_TOWARDZERO): Likewise.
22821 (FE_UPWARD): Likewise.
22822 (FE_DOWNWARD): Likewise.
22823 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22824 (FE_DIVBYZERO): Likewise.
22825 (FE_OVERFLOW): Likewise.
22826 (FE_UNDERFLOW): Likewise.
22827 (FE_INEXACT): Likewise.
22828 (FE_TONEAREST): Likewise.
22829 (FE_DOWNWARD): Likewise.
22830 (FE_UPWARD): Likewise.
22831 (FE_TOWARDZERO): Likewise.
22832
105ca950
CM
228332012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22834
22835 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22836
a542b389
AS
228372012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22838
22839 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22840 commands. Quote $PWD.
22841 (blacklist_exports): Don't use remove_newlines. Replace "declare
22842 -x" by "export".
22843 (remove_newlines): Remove.
22844
f62c8abc
L
228452012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22846
22847 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22848 * stdlib/stdlib.h (atof): Moved to ...
22849 * include/bits/stdlib-float.h: Here. New file.
22850 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22851 * stdlib/bits/stdlib-float.h: New file.
22852 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22853 -mno-sse -mno-mmx.
22854 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22855 <xmmintrin.h>.
22856
0155d5b2
JM
228572012-11-02 Joseph Myers <joseph@codesourcery.com>
22858
a68d0680
JM
22859 * conform/conformtest.pl (@headers): Add fenv.h.
22860 * conform/data/fenv.h-data: New file.
22861 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22862 include of <math/fenv.h>.
22863
caf7f573
JM
22864 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22865 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22866 && !UNIX98]. Enables tests for XOPEN2K8.
22867 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22868 POSIX2008]: Likewise.
22869
6c073ad6
JM
22870 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22871 (struct rusage): Do not expect type or its members.
22872
0155d5b2
JM
22873 [BZ #3439]
22874 * math/math.h (FP_NAN): Define macro to integer constant usable in
22875 #if and use that to give value to enum constant.
22876 (FP_INFINITE): Likewise.
22877 (FP_ZERO): Likewise.
22878 (FP_SUBNORMAL): Likewise.
22879 (FP_NORMAL): Likewise.
22880
b5dcacb4
AS
228812012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22882
22883 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22884 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22885 arguments.
22886
f7934be8
RM
228872012-11-02 Roland McGrath <roland@hack.frob.com>
22888
22889 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22890 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22891 autoconf-time if not.
22892 * configure.in: Remove AC_PREREQ.
22893
d7d08bde
TMQMF
228942012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22895
22896 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22897 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22898 of the internal implementation.
22899
dcdae19a
JM
229002012-11-02 Joseph Myers <joseph@codesourcery.com>
22901
22902 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22903 except include of <misc/sys/syslog.h>.
22904
d6cffd3e
AS
229052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22906
22907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22908 function returns with a NULL context exit with zero.
22909
b3563932
TMQMF
229102012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22911
22912 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22913
b288a93d
L
229142012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22915
22916 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22917 (run_program_cmd): This.
22918 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22919 (tst_langinfo): New variable. Use it.
22920
a2421a68
SAS
229212012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22922
22923 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22924 floating point opcodes.
22925
6f796e1b
TS
229262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22927
7402596b
TS
22928 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22929 variable.
22930
d0d4f868
TS
22931 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22932
6f796e1b
TS
22933 * sysdeps/mach/hurd/powerpc: Remove directory.
22934 * sysdeps/mach/powerpc: Likewise.
22935
4da224a2
AS
229362012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22937
22938 * scripts/check-local-headers.sh: Ignore c++ headers.
22939
341dd673
TS
229402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22941
22942 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22943 __libc_cleanup_region_start argument.
22944
473611b2
JM
229452012-11-01 Joseph Myers <joseph@codesourcery.com>
22946
22947 [BZ #14784]
22948 [BZ #14785]
22949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22950 x * y using scaling, not as x * y + z.
22951 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22952 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22953 * math/libm-test.inc (fma_test): Add more tests.
22954 (fma_test_towardzero): Likewise.
22955 (fma_test_downward): Likewise.
22956 (fma_test_upward): Likewise.
22957
4078da3d
TS
229582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22959
22960 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22961
903252aa
JM
229622012-10-31 Joseph Myers <joseph@codesourcery.com>
22963
22964 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22965 New variable.
22966
cbc818d0
TS
229672012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22968
22969 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22970
5a03cb1e
AS
229712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22972
22973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22974 Fix sort order.
22975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22976 Likewise.
22977
90aff2ff
TMQMF
229782012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22979
22980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22981 Fix the order of the list for glibc 2.17.
22982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22983 Likewise.
22984
1818fcb7
AS
229852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22986
22987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22988
ef82f4da
JM
229892012-10-31 Joseph Myers <joseph@codesourcery.com>
22990
16a0e2ec
JM
22991 [BZ #14610]
22992 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22993 for low part of x being zero before using __atanl (y).
22994 * math/libm-test.inc (atan2_test): Add another test.
22995
0eb69512
JM
22996 * manual/install.texi (Configuring and compiling): Document
22997 general use of test-wrapper and test-wrapper-env.
22998 * INSTALL: Regenerated.
22999
ef82f4da
JM
23000 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23001 (__fma): Do not extract and scale down low bits on after-rounding
23002 systems when result rounded to normal precision would have normal
23003 exponent.
23004 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23005 (__fmal): Do not extract and scale down low bits on after-rounding
23006 systems when result rounded to normal precision would have normal
23007 exponent.
23008 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23009 (__fmal): Do not extract and scale down low bits on after-rounding
23010 systems when result rounded to normal precision would have normal
23011 exponent.
23012 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23013 macro.
23014 (fma_test): Add more tests.
23015 (fma_test_towardzero): Likewise.
23016 (fma_test_downward): Likewise.
23017 (fma_test_upward): Likewise.
23018
954ef0d9
L
230192012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23020
23021 * sysdeps/i386/tininess.h: Renamed to ...
23022 * sysdeps/x86/tininess.h: This.
23023 * sysdeps/x86_64/tininess.h: Removed.
23024
df61ffb2
JM
230252012-10-30 Joseph Myers <joseph@codesourcery.com>
23026
23027 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23028 input. Use $(build-program-cmd).
23029 ($(objpfx)tst-array1-static.out): Likewise.
23030 ($(objpfx)tst-array2.out): Likewise.
23031 ($(objpfx)tst-array3.out): Likewise.
23032 ($(objpfx)tst-array4.out): Likewise.
23033 ($(objpfx)tst-array5.out): Likewise.
23034 ($(objpfx)tst-array5-static.out): Likewise.
23035
01767843
CM
230362012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23037
47cc1490
CM
23038 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23039 if defined.
23040
01767843
CM
23041 * nss/nsswitch.h (nss_interface_function): Provide new
23042 macro for use with NSS functions.
23043 * grp/initgroups.c: Use new macro.
23044 * nss/getXXbyYY.c: Likewise.
23045 * nss/getXXbyYY_r.c: Likewise.
23046 * nss/getXXent.c: Likewise.
23047 * nss/getXXent_r.c: Likewise.
23048 * sysdeps/posix/getaddrinfo.c: Likewise.
23049
8321aa97
AJ
230502012-10-30 Andreas Jaeger <aj@suse.de>
23051
23052 * po/ru.po: Update Russion translation from translation project.
23053
2a27fd6d
JM
230542012-10-30 Joseph Myers <joseph@codesourcery.com>
23055
8627a232
JM
23056 [BZ #14152]
23057 [BZ #14783]
23058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23059 result and shift together with sticky bit instead of replicating
23060 round-to-nearest rounding.
23061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23062 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23063 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23064 missing underflow exceptions.
23065 (fma_test_towardzero): Add more tests.
23066 (fma_test_downward): Likewise.
23067 (fma_test_upward): Likewise.
23068
2a27fd6d
JM
23069 [BZ #14047]
23070 * sysdeps/generic/tininess.h: New file.
23071 * sysdeps/i386/tininess.h: Likewise.
23072 * sysdeps/sh/tininess.h: Likewise.
23073 * sysdeps/x86_64/tininess.h: Likewise.
23074 * stdlib/tst-strtod-underflow.c: Likewise.
23075 * stdlib/tst-tininess.c: Likewise.
23076 * stdlib/strtod_l.c: Include <tininess.h>.
23077 (round_and_return): Do not set errno for exact underflow cases.
23078 Force an underflow exception when setting errno for underflow.
23079 Determine underflow based on rounding to normal precision if
23080 TININESS_AFTER_ROUNDING.
23081 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23082 ERANGE for exact underflow cases.
23083 * stdlib/Makefile (tests): Add tst-tininess and
23084 tst-strtod-underflow.
23085 ($(objpfx)tst-tininess): Use $(link-libm).
23086 ($(objpfx)tst-strtod-underflow): Likewise.
23087
e7170363
AJ
230882012-10-30 Andreas Jaeger <aj@suse.de>
23089
e5088dc6
AJ
23090 [BZ#14767]
23091 * elf/Makefile (tests): Remove conditional for have-initfini-array
23092 since this is now always required and the variable does not exist
23093 anymore.
23094 (tests-static): Likewise.
23095 (modules-names): Likewise.
23096
e7170363 23097 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
23098
23099 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23100 merged with constructor/destructor.
23101 (init_array): Likewise.
23102 * elf/tst-array2dep.c (fini_array): Likewise.
23103 (init_array): Likewise.
23104
60457d8a
MF
231052012-10-29 Mike Frysinger <vapier@gentoo.org>
23106
23107 * manual/message.texi: Delete @cartouche tags.
23108
8bece752
PT
231092012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23110
94ce799f
PT
23111 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23112 EOPNOTSUPP.
23113 * sysdeps/mach/hurd/fsync.c: Likewise.
23114
8bece752
PT
23115 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23116 [_POSIX_REALTIME_SIGNALS]: Change condition to
23117 [_POSIX_REALTIME_SIGNALS > 0].
23118
86ebe6b1
AJ
231192012-10-27 Andreas Jaeger <aj@suse.de>
23120
23121 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23122 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23124 [__WORDSIZE != 64]: Likewise.
23125
54399c08
L
231262012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23127
23128 * iconvdata/tst-table.sh: Remove ${SHELL}.
23129 * iconvdata/tst-tables.sh: Likewise.
23130
e2211bed
DM
231312012-10-25 David S. Miller <davem@davemloft.net>
23132
23133 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23134 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23135 of strtoull.
23136
f303f97c
DM
23137 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23138 ifunc-impl-list.c
23139 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23140 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23141 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23142 file.
23143
1e9d84cd
RM
231442012-10-25 Roland McGrath <roland@hack.frob.com>
23145
23146 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23147 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23148 __getdirentries.
23149
df381762
JM
231502012-10-25 Joseph Myers <joseph@codesourcery.com>
23151 Jim Blandy <jimb@codesourcery.com>
23152
23153 * scripts/cross-test-ssh.sh: New file.
23154 * manual/install.texi (Configuring and compiling): Document use of
23155 cross-test-ssh.sh.
23156 * INSTALL: Regenerated.
23157
bff64913
PT
231582012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23159
23160 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23161 EOPNOTSUPP.
23162
25fe8932
JM
231632012-10-25 Joseph Myers <joseph@codesourcery.com>
23164
23165 * Makeconfig (run-program-prefix): Fix comment.
23166
cc1290d0
JM
231672012-10-24 Joseph Myers <joseph@codesourcery.com>
23168 Jim Blandy <jimb@codesourcery.com>
23169
23170 * Makeconfig (test-wrapper): New variable,
23171 (test-wrapper-env): Likewise.
23172 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23173 (run-built-tests): Define to yes.
23174 (run-program-prefix): Use $(test-wrapper).
23175 (built-program-cmd): Likewise.
23176 * Rules (make-test-out): Use $(test-wrapper-env) and
23177 $(host-built-program-cmd).
23178 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23179 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23180 tst-pathopt.sh.
23181 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23182 $(test-wrapper-env) to tst-rtld-load-self.sh.
23183 ($(objpfx)order2.out): Use $(test-wrapper).
23184 ($(objpfx)tst-initorder.out): Likewise.
23185 ($(objpfx)tst-initorder2.out): Likewise.
23186 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23187 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23188 (test_wrapper_env): New variable. Use it to run ld.so.
23189 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23190 Use it to run ld.so.
23191 (test_wrapper_env): Likewise.
23192 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23193 $(test-wrapper) to run-iconv-test.sh.
23194 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23195 (ICONV): Use $test_wrapper.
23196 * posix/Makefile ($(objpfx)globtest.out): Pass
23197 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23198 globtest.sh, not $(run-program-prefix).
23199 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23200 (test_wrapper): Likewise.
23201 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23202 set together with run_via_rtld_prefix.
23203 (run_program_prefix): Define in terms of test_wrapper and
23204 run_via_rtld_prefix.
23205
6e6249d0
RM
232062012-10-24 Roland McGrath <roland@hack.frob.com>
23207
23208 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23209 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23210 Targets removed.
23211
23212 [BZ #14743]
23213 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23214 Declare __clock_getres, __clock_gettime, __clock_settime,
23215 __clock_nanosleep, and __clock_getcpuclockid.
23216 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23217 Remove librt_hidden_def (clock_gettime).
23218 * sysdeps/unix/clock_gettime.c: Likewise.
23219 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23220 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23221 * rt/clock_getres.c: Define __clock_getres as an alias.
23222 * sysdeps/posix/clock_getres.c: Likewise.
23223 * rt/clock_settime.c: Define __clock_settime as an alias.
23224 * sysdeps/unix/clock_settime.c: Likewise.
23225 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23226 * sysdeps/unix/clock_nanosleep.c: Likewise.
23227 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23228 * rt/clock-compat.c: New file.
23229 * rt/Makefile (librt-routines): Add clock-compat and move
23230 $(clock-routines) to ...
23231 (routines): ... here, new variable.
23232 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23233 Don't add get_clockfreq here.
23234 * rt/Versions (libc: GLIBC_2.17): New version set.
23235 Add clock_* symbols here.
23236 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23237 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23238 (GLIBC_2.17): Add clock_* symbols.
23239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23241 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23243 Likewise.
23244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23245 Likewise.
23246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23250 * NEWS: Mention the move.
23251
23252 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23253 Use __open, __read, __close rather than their public counterparts.
23254 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23255 (__get_clockfreq_via_cpuinfo): Likewise.
23256 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23257 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23258
23259 * config.h.in (HAVE_IFUNC): New #undef.
23260 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23261 was successful.
23262 * configure: Regenerated.
23263
0cae3f4b
MF
232642012-10-24 Mike Frysinger <vapier@gentoo.org>
23265
23266 * configure.in: Move READELF check to start of file.
23267 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23268 libc_cv_asm_gnu_indirect_function in the process.
23269 * configure: Regenerated.
23270
8175a253
MF
232712012-10-24 Mike Frysinger <vapier@gentoo.org>
23272
23273 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23274 send the output to /dev/null.
23275 (libc_cv_cc_with_libunwind): Likewise.
23276 (libc_cv_as_noexecstack): Likewise.
23277 * configure: Regenerate.
23278
0708a7d1
JM
232792012-10-24 Joseph Myers <joseph@codesourcery.com>
23280
10b40d85
JM
23281 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23282
0708a7d1
JM
23283 * posix/globtest.sh (TMPDIR): Do not set.
23284 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23285 (testout): Likewise.
23286
9fddec1a
AJ
232872012-10-24 Andreas Jaeger <aj@suse.de>
23288
3a8db22f
AJ
23289 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23290 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23291 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23292 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23293 posix_fadvise64, posix_fallocate64.
23294
9fddec1a
AJ
23295 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23296 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23297 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23298 Likewise.
23299 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23300 Likewise.
23301 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23302
23303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23304 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23305 <bits/fcntl-linux.h>.
23306 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23307
23308 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23309 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23310 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23311 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23312 [__WORDSIZE != 64]: Likewise.
23313
ebfd1bbd
JM
233142012-10-23 Joseph Myers <joseph@codesourcery.com>
23315
03ac099f
JM
23316 * Makeconfig (run-built-tests): New variable.
23317 * Rules [$(cross-compiling) = yes]: Change condition to
23318 [$(run-built-tests) = no].
23319 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23320 to [$(run-built-tests) = yes].
23321 * elf/Makefile [$(cross-compiling) = no]: Likewise
23322 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23323 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23324 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23325 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23326 * io/Makefile [$(cross-compiling) = no]: Likewise.
23327 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23328 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23329 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23330 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23331 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23332 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23333 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23334 * string/Makefile [$(cross-compiling) = no]: Likewise.
23335
ebfd1bbd
JM
23336 * posix/Makefile ($(objpfx)globtest.out): Pass
23337 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23338 $(rtld-installed-name).
23339 * posix/globtest.sh (elf_objpfx): Remove variable.
23340 (rtld_installed_name): Likewise.
23341 (library_path): Likewise.
23342 (run_program_prefix): New variable. Use for running globtest
23343 binary.
23344
166bca24
JB
233452012-10-23 Jim Blandy <jimb@codesourcery.com>
23346 Joseph Myers <joseph@codesourcery.com>
23347
23348 * Makeconfig (host-built-program-cmd): New variable.
23349 * elf/Makefile (tst-stackguard1-ARGS): Use
23350 $(host-built-program-cmd).
23351 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23352 (tst-spawn-ARGS): Likewise.
23353 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23354
88866099
JM
233552012-10-23 Joseph Myers <joseph@codesourcery.com>
23356 Jim Blandy <jimb@codesourcery.com>
23357
23358 * Makeconfig (run-via-rtld-prefix): New variable.
23359 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23360 (built-program-cmd): Likewise.
23361
b4b4c296
AJ
233622012-10-22 Andreas Jaeger <aj@suse.de>
23363
23364 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23365 __O_RSYNC if it exists, otherwise to O_SYNC.
23366
6fb54a22
JB
233672012-10-22 Jim Blandy <jimb@codesourcery.com>
23368 Joseph Myers <joseph@codesourcery.com>
23369
23370 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23371 /dev/null.
23372 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23373 from /dev/null
23374 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23375 /dev/null.
23376
481b90b9
AJ
233772012-10-22 Andreas Jaeger <aj@suse.de>
23378
2a0e2669
AJ
23379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23380 Define always.
23381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23382
76e38f9a
AJ
23383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23384 bits/fcntl-linux.h.
23385
7cd37b43
AJ
23386 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23387 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23388
481b90b9
AJ
23389 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23390 to __O_LARGEFILE.
23391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23392 to __O_LARGEFILE.
23393
aba75984
JB
233942012-10-21 Jim Blandy <jimb@codesourcery.com>
23395 Joseph Myers <joseph@codesourcery.com>
23396
23397 * config.make.in (NM): New variable.
23398
88d4247f
AJ
233992012-10-21 Andreas Jaeger <aj@suse.de>
23400
23401 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23402 definitions and declarations that are provided by
23403 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23404
f2eed205
L
234052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23406
23407 [BZ #14683]
23408 * elf/Makefile (tests-static): Add tst-leaks1-static.
23409 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23410 ($(objpfx)tst-leaks1-static): New rule.
23411 ($(objpfx)tst-leaks1-static-mem): Likewise.
23412 (tst-leaks1-static-ENV): New macro.
23413 * elf/dl-open.c (dl_open_worker): Check the main application
23414 only if SHARED is defined.
23415 * elf/tst-leaks1-static.c: New file.
23416
335e6931
AJ
234172012-10-20 Andreas Jaeger <aj@suse.de>
23418
23419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23420 generic values for Linux.
23421 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23422 and declarations that are provided by <bits/fcntl-linux.h> and
23423 include <bits/fcntl-linux.h>.
23424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23425 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23426
ac5c94d3
RM
234272012-10-20 Roland McGrath <roland@hack.frob.com>
23428
23429 * io/fcntl.h: Move include of <bits/types.h> to the top and
23430 include it unconditionally.
23431
de54b33a
L
234322012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23433
228cfb01
L
23434 * wcsmbs/Makefile (tests-ifunc): New variable.
23435 (tests): Add $(tests-ifunc).
23436 * wcsmbs/test-wcschr-ifunc.c: New file.
23437 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23438 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23439 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23440 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23441 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23442
69f07e5f
L
23443 * string/Makefile (tests-ifunc): New variable.
23444 (tests): Add $(tests-ifunc).
23445 * string/test-memccpy.c (TEST_NAME): New macro.
23446 * string/test-memchr.c (TEST_NAME): Likewise.
23447 * string/test-memcmp.c (TEST_NAME): Likewise.
23448 * string/test-memcpy.c (TEST_NAME): Likewise.
23449 * string/test-memmem.c (TEST_NAME): Likewise.
23450 * string/test-memmove.c (TEST_NAME): Likewise.
23451 * string/test-memset.c (TEST_NAME): Likewise.
23452 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23453 * string/test-stpcpy.c (TEST_NAME): Likewise.
23454 * string/test-stpncpy.c (TEST_NAME): Likewise.
23455 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23456 * string/test-strcasestr.c (TEST_NAME): Likewise.
23457 * string/test-strcat.c (TEST_NAME): Likewise.
23458 * string/test-strchr.c (TEST_NAME): Likewise.
23459 * string/test-strcmp.c(TEST_NAME): Likewise.
23460 * string/test-strcpy.c (TEST_NAME): Likewise.
23461 * string/test-strcspn.c (TEST_NAME): Likewise.
23462 * string/test-strlen.c (TEST_NAME): Likewise.
23463 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23464 * string/test-strncmp.c (TEST_NAME): Likewise.
23465 * string/test-strncpy.c (TEST_NAME): Likewise.
23466 * string/test-strnlen.c (TEST_NAME): Likewise.
23467 * string/test-strpbrk.c (TEST_NAME): Likewise.
23468 * string/test-strrchr.c (TEST_NAME): Likewise.
23469 * string/test-strspn.c (TEST_NAME): Likewise.
23470 * string/test-strstr.c (TEST_NAME): Likewise.
23471 * string/test-bcopy-ifunc.c: New file.
23472 * string/test-bzero-ifunc.c: Likewise.
23473 * string/test-memccpy-ifunc.c: Likewise.
23474 * string/test-memchr-ifunc.c: Likewise.
23475 * string/test-memcmp-ifunc.c: Likewise.
23476 * string/test-memcpy-ifunc.c: Likewise.
23477 * string/test-memmem-ifunc.c: Likewise.
23478 * string/test-memmove-ifunc.c: Likewise.
23479 * string/test-mempcpy-ifunc.c: Likewise.
23480 * string/test-memset-ifunc.c: Likewise.
23481 * string/test-rawmemchr-ifunc.c: Likewise.
23482 * string/test-stpcpy-ifunc.c: Likewise.
23483 * string/test-stpncpy-ifunc.c: Likewise.
23484 * string/test-strcasecmp-ifunc.c: Likewise.
23485 * string/test-strcasestr-ifunc.c: Likewise.
23486 * string/test-strcat-ifunc.c: Likewise.
23487 * string/test-strchr-ifunc.c: Likewise.
23488 * string/test-strchrnul-ifunc.c: Likewise.
23489 * string/test-strcmp-ifunc.c: Likewise.
23490 * string/test-strcpy-ifunc.c: Likewise.
23491 * string/test-strcspn-ifunc.c: Likewise.
23492 * string/test-strlen-ifunc.c: Likewise.
23493 * string/test-strncasecmp-ifunc.c: Likewise.
23494 * string/test-strncat-ifunc.c: Likewise.
23495 * string/test-strncmp-ifunc.c: Likewise.
23496 * string/test-strncpy-ifunc.c: Likewise.
23497 * string/test-strnlen-ifunc.c: Likewise.
23498 * string/test-strpbrk-ifunc.c: Likewise.
23499 * string/test-strrchr-ifunc.c: Likewise.
23500 * string/test-strspn-ifunc.c: Likewise.
23501 * string/test-strstr-ifunc.c: Likewise.
23502
de54b33a
L
23503 * debug/Makefile (tests-ifunc): New variable.
23504 (tests): Add $(tests-ifunc).
23505 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23506 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23507 * debug/test-stpcpy_chk-ifunc.c: New file.
23508 * debug/test-strcpy_chk-ifunc.c: Likewise.
23509
88481c16
SP
235102012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23511
23512 [BZ #13601]
23513 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23514 header is not read in.
23515
135948bd
JM
235162012-10-19 Joseph Myers <joseph@codesourcery.com>
23517
89f1c388
JM
23518 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23519 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23520 directly. Pass built executable to script as
23521 $(built-program-cmd).
23522 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23523 $testprogram without using LD_LIBRARY_PATH and $ldso.
23524
e40a0d21
JM
23525 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23526 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23527 $(rtld-installed-name).
23528 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23529 (rtld_installed_name): Likewise.
23530 (library_path): Likewise.
23531 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23532 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23533 $(run-program-prefix) to tst-tables.sh.
23534 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23535 it to run tst-table-from and tst-table-to.
23536 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23537 Pass it to tst-table.sh.
23538 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23539 $(run-program-prefix) to tst-gettext.sh.
23540 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23541 tst-translit.sh.
23542 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23543 tst-gettext2.sh.
23544 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23545 to run tst-gettext.
23546 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23547 to run tst-gettext2.
23548 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23549 to run tst-translit.
23550 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23551 $(run-program-prefix) to tst-mtrace.sh.
23552 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23553 to run tst-mtrace.
23554 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23555 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23556 $(rtld-installed-name).
23557 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23558 (rtld_installed_name): Likewise.
23559 (run_program_prefix): New variable. Use it to run wordexp-test.
23560
728e272a
JM
23561 * Makeconfig (ARCH): Remove all definitions.
23562 (machine): Likewise.
23563 [ARCH]: Remove conditional code.
23564 [!objdir]: Give error.
23565 [!objdir] (objpfx): Remove.
23566 [!objdir] (common-objpfx): Likewise.
23567 [!objdir] (common-objdir): Likewise.
23568 * configure.in (config_makefile): Remove. Hardcode Makefile in
23569 AC_CONFIG_FILES call.
23570 * configure: Regenerated.
23571
d528cdcf
JM
23572 [BZ #13888]
23573 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23574 or TMPDIR.
23575 (testout): Likewise.
23576
135948bd
JM
23577 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23578 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23579 $(rtld-installed-name).
23580 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23581 (rtld_installed_name): Likwise.
23582 (runit): Remove function.
23583 (run_getconf): New variable, Use it for running getconf binary.
23584
38c78296
L
235852012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23586
23587 [BZ #14716]
23588 * string/test-memmem.c (check_result): New function.
23589 (do_one_test): Use it.
23590 (check1): New function.
23591 (test_main): Use it.
23592
d077f65f
MT
235932012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23594
23595 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23596
ced52c71
JM
235972012-10-18 Joseph Myers <joseph@codesourcery.com>
23598
23599 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23600 (_G_LSEEK64): Likewise.
23601 (_G_MMAP64): Likewise.
23602 (_G_FSTAT64): Likewise.
23603 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23604 (_G_LSEEK64): Likewise.
23605 (_G_MMAP64): Likewise.
23606 (_G_FSTAT64): Likewise.
23607 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23608 unconditional. Call __mmap64 directly.
23609 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23610 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23611 __lseek64 directly.
23612 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23613 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23614 __mmap64 directly.
23615 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23616 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23617 __lseek64 directly.
23618 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23619 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23620 __lseek64 directly.
23621 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23622 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23623 __lseek64 directly.
23624 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23625 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23626 __fxstat64 directly.
23627 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23628 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23629 unconditional.
23630 (freopen64) [!_G_OPEN64]: Remove conditional code.
23631 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23632 unconditional.
23633 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23634 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23635 unconditional.
23636 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23637 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23638 unconditional.
23639 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23640 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23641 unconditional.
23642 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23643 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23644 unconditional.
23645 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23646 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23647 unconditional.
23648 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23649 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23650 unconditional.
23651 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23652
b741de23
SP
236532012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23654
23655 [BZ #12140]
23656 * manual/memory.texi (Malloc Tunable Parameters): Add note
23657 about free list pointers overwriting some perturb bytes.
23658 Wording suggested by Roland McGrath.
23659
f9b9d9c9
JM
236602012-10-17 Joseph Myers <joseph@codesourcery.com>
23661
23662 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23663 (lgamma_test): Likewise.
23664 (tgamma_test): Likewise.
23665
172a631a
FW
236662012-10-16 Florian Weimer <fweimer@redhat.com>
23667
23668 [BZ #14700]
23669 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23670 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23671
e9f37252
MK
236722012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23673
23674 * NEWS: Mention BZ #14716.
23675 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23676 when removing AVAILABLE1_USES_J macro.
23677
d394eb74
L
236782012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23679
23680 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23681 (__bswap_64): __uint64_t for unsigned 64-bit int.
23682
ca38dc17
AS
236832012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23684
23685 * include/string.h (memmem): Declare libc hidden alias.
23686 * string/memmem.c (memmem): Define libc hidden alias.
23687 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23688 __read, __close instead of open, read, close.
23689
9a387d1f
L
236902012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23691
ac49ecaf
L
23692 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23693 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23694 global and hidden.
23695 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23696 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23697 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23698 Likewise.
23699 (__rawmemchr_sse2): Likewise.
23700 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23701 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23702 (__strchr_sse2): Likewise.
23703 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23704 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23705 (__strcasecmp_sse2): Likewise.
23706 (__strncasecmp_sse2): Likewise.
23707 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23708 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23709 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23710 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23711 (__strrchr_sse2): Likewise.
23712 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23713 ifunc-impl-list.c.
23714 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23715 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23716 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23717 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23718 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23719 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23720 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23721 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23722 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23723 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23724 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23725 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23726 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23727 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23728 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23729 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23730 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23731 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23732 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23733 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23734 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23735 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23736 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23737 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23738 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23739 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23740 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23741 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23742 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23743 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23744
b090e8ea
L
23745 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23746 global and hidden.
23747 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23748 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23749 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23750 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23751 Likewise.
23752 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23753 Likewise.
23754 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23755 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23756 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23757 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23758 ifunc-impl-list.c.
23759 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23760 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23761 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23762 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23763 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23764 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23765 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23766 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23767 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23768 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23769 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23770 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23771 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23772 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23773 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23774 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23775 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23776 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23777 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23778 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23779 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23780 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23781 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23782 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23783 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23784 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23785 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23786 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23787 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23788 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23789 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23790 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23791 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23792 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23793 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23794 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23795 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23796 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23797 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23798 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23799 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23800
11dd4af6
L
23801 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23802 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23803 * include/ifunc-impl-list.h: New file.
23804 * misc/ifunc-impl-list.c: Likewise.
23805 * misc/Makefile (routines): Add ifunc-impl-list.
23806 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23807 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23808 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23809 TEST_NAME]: New variables.
11dd4af6
L
23810 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23811 are defined.
23812 (test_init): Call __libc_ifunc_impl_list to initialize
23813 func_list if TEST_IFUNC and TEST_NAME are defined.
23814
9a387d1f
L
23815 * string/Makefile (strop-tests): Add bcopy and bzero.
23816 * string/test-bcopy.c: New file.
23817 * string/test-bzero.c: Likewise.
23818 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23819 defined.
23820 * string/test-memset.c: Support bzero test if TEST_BZERO is
23821 defined.
23822 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23823 __libc_memmove.
23824 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23825 __libc_memset.
23826 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23827 of memset.
23828
472371b9
JM
238292012-10-10 Joseph Myers <joseph@codesourcery.com>
23830
1e4a9536
JM
23831 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23832 * configure: Regenerated.
23833
d173d12e
JM
23834 * Makeconfig (+link-static-before-libc): Don't include
23835 $(link-static-libc).
23836
472371b9
JM
23837 * libio/libio.h (_IO_pos_t): Remove.
23838
89a3ad0b
AO
238392012-10-10 Alexandre Oliva <aoliva@redhat.com>
23840
23841 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23842 McGrath.
23843
e7451425
AO
238442012-10-10 Alexandre Oliva <aoliva@redhat.com>
23845
23846 * crypt/crypt-entry.c: Include fips-private.h.
23847 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23848 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23849 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23850 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23851
4ba74a35
AO
238522012-10-10 Alexandre Oliva <aoliva@redhat.com>
23853
23854 * crypt/crypt-private.h: Include stdbool.h.
23855 (_ufc_setup_salt_r): Return bool.
23856 * crypt/crypt-entry.c: Include errno.h.
23857 (__crypt_r): Return NULL with EINVAL for bad salt.
23858 * crypt/crypt_util.c (bad_for_salt): New.
23859 (_ufc_setup_salt_r): Check that salt is long enough and within
23860 the specified alphabet.
23861 * crypt/badsalttest.c: New file.
23862 * crypt/Makefile (tests): Add it.
23863 ($(objpfx)badsalttest): New.
23864
f96f1242
MK
238652012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23866
23867 * NEWS: Add entry for BZ #14602.
23868
0e8e0c1c
JM
238692012-10-09 Joseph Myers <joseph@codesourcery.com>
23870
23871 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23872 type-generic.
23873 * math/libm-test.inc: Update comment listing what functions and
23874 macros are tested.
23875 (isgreater_test): New function.
23876 (isgreaterequal_test): Likewise.
23877 (isless_test): Likewise.
23878 (islessequal_test): Likewise.
23879 (islessgreater_test): Likewise.
23880 (isunordered_test): Likewise.
23881 (main): Call the new functions.
23882
273edc5e
RM
238832012-10-09 Roland McGrath <roland@hack.frob.com>
23884
b8493de0
RM
23885 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23886 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23887 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23888 * sysdeps/i386/configure: Regenerated.
23889 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23890 * sysdeps/mach/configure: Regenerated.
23891 * sysdeps/mach/hurd/configure: Regenerated.
23892 * sysdeps/powerpc/configure: Regenerated.
23893 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23894 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23895 * sysdeps/s390/s390-32/configure: Regenerated.
23896 * sysdeps/s390/s390-64/configure: Regenerated.
23897 * sysdeps/sh/configure: Regenerated.
23898 * sysdeps/sparc/configure: Regenerated.
23899 * sysdeps/unix/sysv/linux/configure: Regenerated.
23900 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23901 * sysdeps/x86_64/configure: Regenerated.
23902
273edc5e
RM
23903 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23904 defined. Don't check if MAP is NULL.
23905
c8450f70
JM
239062012-10-09 Joseph Myers <joseph@codesourcery.com>
23907
23908 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23909 (_G_stat64): Likewise.
23910 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23911 (_G_stat64): Likewise.
23912 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23913 instead of struct _G_stat64.
23914 * libio/fileops.c (mmap_remap_check): Likewise.
23915 (decide_maybe_mmap): Likewise.
23916 (_IO_new_file_seekoff): Likewise.
23917 (_IO_file_stat): Likewise.
23918 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23919 _G_off64_t.
23920 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23921 instead of struct _G_stat64.
23922 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23923
57e605ba
MK
239242012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23925
23926 [BZ #14602]
23927 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23928 Replace with ...
23929 (CHECK_EOL): New macro.
23930 (two_way_short_needle): Check beginning of haystack for EOL. Use
23931 CHECK_EOL.
23932 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23933 Replace with CHECK_EOL.
23934 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23935 Replace with CHECK_EOL.
23936
ef1bb361
JM
239372012-10-08 Joseph Myers <joseph@codesourcery.com>
23938
23939 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23940 type-generic.
23941 * math/libm-test.inc: Update comment listing what functions and
23942 macros are tested.
23943 (finite_test): New function.
23944 (isinf_test): Likewise.
23945 (isnan_test): Likewise.
23946 (fpclassify_test): Test subnormal input.
23947 (isfinite_test): Likewise.
23948 (isnormal_test): Likewise.
23949 (main): Call the new functions.
23950
55f11534
JN
239512012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23952
23953 [BZ #14660]
23954 * Makerules (%.dynsym): Force C locale when running
23955 $(OBJDUMP) --dynamic-syms.
23956
1ab29350
AS
239572012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23958
23959 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23960 <stdint.h>.
23961
f1ecb7ef
DM
239622012-10-06 David S. Miller <davem@davemloft.net>
23963
23964 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23965 upper 32-bits of the length value in %o2 since we use branch-on-register
23966 tests which consider the entire 64-bit register.
23967
5d41d91a
L
239682012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23969
23970 * string/test-strstr.c (check2): Add a test for page boundary.
23971
3baddb72
DM
239722012-10-05 David S. Miller <davem@davemloft.net>
23973
23974 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23975 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23976 file.
23977 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23978 sysdep_routines.
23979 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23980 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23981 and bzero when HWCAP_SPARC_CRYPTO is present.
23982
9cee5585
L
239832012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23984
d7e0dab9
L
23985 [BZ #14602]
23986 * string/test-strstr.c (check2): New function.
23987 (test_main): Call check2.
23988
03759f47
L
23989 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23990 and bug-strchr1.
23991 * string/bug-strcasestr1.c (do_test): Moved to ...
23992 * string/test-strcasestr.c (check1): Here. New function.
23993 (do_one_test): Break out result checking code into ...
23994 (check_result): This. New function.
23995 (do_one_test): Call check_result.
23996 (test_main): Call check1.
23997 * string/bug-strchr1.c (do_test): Moved to ...
23998 * string/test-strchr.c (check1): Here. New function.
23999 (do_one_test): Break out result checking code into ...
24000 (check_result): This. New function.
24001 (do_one_test): Call check_result.
24002 (test_main): Call check1.
24003 * string/bug-strstr1.c (main): Moved to ...
046f153e 24004 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24005 (do_one_test): Break out result checking code into ...
24006 (check_result): This. New function.
24007 (do_one_test): Call check_result.
24008 (test_main): Call check1.
24009 * string/bug-strcasestr1.c: Removed.
24010 * string/bug-strchr1.c: Likewise.
24011 * string/bug-strstr1.c: Likewise.
24012
53cea63e
L
24013 * elf/Makefile (dl-routines): Add hwcaps.
24014 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24015 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24016 (_dl_important_hwcaps): Moved to ...
24017 * elf/dl-hwcaps.c: Here. New file.
24018 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24019
9cee5585 24020 [BZ #14557]
bb859b06
L
24021 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24022 if IS_IN_rtld isn't defined.
24023
9cee5585
L
24024 * elf/dl-support.c (_dl_sysinfo_map): New.
24025 Include "get-dynamic-info.h" and "setup-vdso.h".
24026 (_dl_non_dynamic_init): Call setup_vdso.
24027 * elf/dynamic-link.h: Don't include <assert.h>.
24028 (elf_get_dynamic_info): Moved to ...
24029 * elf/get-dynamic-info.h: Here. New file.
24030 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24031 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24032 * elf/setup-vdso.h: Here. New file.
24033 * elf/rtld.c: Include "setup-vdso.h".
24034 (dl_main): Call setup_vdso.
24035
23c31b76
JM
240362012-10-05 Joseph Myers <joseph@codesourcery.com>
24037
28234b07
JM
24038 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24039 creal in comment listing functions tested. List finite, isinf,
24040 isnan, isless, islessequal, isgreater, isgreaterequal,
24041 islessgreater, isunordered, lgamma_r and pow10 as functions and
24042 macros not tested. Mention which functions not tested are aliases
24043 for other functions. Fix typo. Note that signs of NaNs are not
24044 tested.
24045
23c31b76
JM
24046 * scripts/config.guess: Update from config.git.
24047 * scripts/config.sub: Likewise.
24048
9043e228
RM
240492012-10-04 Roland McGrath <roland@hack.frob.com>
24050
24051 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24052 * misc/madvise.c (madvise): Renamed to __madvise.
24053 Make madvise a weak alias.
24054 * include/sys/mman.h: Declare __madvise.
24055 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24056 * sysdeps/unix/syscalls.list
24057 (madvise): Make __madvise the strong name, and madvise a weak alias.
24058 * sysdeps/unix/sysv/linux/syscalls.list
24059 (madvise, mmap): Remove redundant entries.
24060 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24061 * malloc/malloc.c (mtrim): Likewise.
24062 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24063
f57f8055
RM
240642012-10-03 Roland McGrath <roland@hack.frob.com>
24065
24066 * sysdeps/mach/hurd/dl-cache.c: File removed.
24067 * config.h.in (USE_LDCONFIG): New #undef.
24068 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24069 * configure: Regenerated.
24070 * elf/Makefile (dl-routines): Add dl-cache only under
24071 [$(use-ldconfig) = yes].
24072 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24073 cache on [USE_LDCONFIG].
24074 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24075 [USE_LDCONFIG].
24076 * elf/rtld.c (dl_main): Likewise.
24077
5bb0c10a
PT
240782012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24079
24080 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24081 _SC_LEVEL4_CACHE_LINESIZE.
24082
010188c6
RM
240832012-10-03 Roland McGrath <roland@hack.frob.com>
24084
24085 * sysdeps/unix/bsd/confstr.h: File removed.
24086
b6c5ec07
AO
240872012-10-02 Alexandre Oliva <aoliva@redhat.com>
24088
24089 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24090 sys/sdt-config.h.
24091
408223d4
RM
240922012-10-02 Roland McGrath <roland@hack.frob.com>
24093
24094 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24095 Make 'mapoff' field ElfW(Off) rather than off_t.
24096
bb9510dc
DL
240972012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24098
fc997c6e
DL
24099 * nscd/Makefile: Remove nscd-cflags and all its users.
24100 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24101 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24102
bb9510dc
DL
24103 [BZ #10631]
24104 * malloc.c (malloc_printerr): Clarify error message.
24105
05699367
L
241062012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24107
24108 [BZ #14648]
24109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24110 Set bit_FMA_Usable if FMA is supported.
24111 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24112 macro.
24113 (bit_FMA4_Usable): Updated.
24114 (index_FMA_Usable): New macro.
24115 (CPUID_FMA): Likewise
24116 (HAS_FMA): Defined with bit_FMA_Usable.
24117
51367701
RM
241182012-10-01 Roland McGrath <roland@hack.frob.com>
24119
24120 * bits/types.h (__swblk_t): Type removed.
24121 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24122 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24124 (__SWBLK_T_TYPE): Likewise.
24125 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24126 (__SWBLK_T_TYPE): Likewise.
24127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24128 (__SWBLK_T_TYPE): Likewise.
24129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24130 (__SWBLK_T_TYPE): Likewise.
24131
4d57bf63 241322012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 24133 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
24134
24135 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24136 (xdr_mapname): Use YPMAXMAP as maxsize.
24137 (xdr_peername): Use YPMAXPEER as maxsize.
24138 (xdr_keydat): Use YPAXRECORD as maxsize.
24139 (xdr_valdat): Use YPMAXRECORD as maxsize.
24140
93c65d43
RM
241412012-10-01 Roland McGrath <roland@hack.frob.com>
24142
497a03d6
RM
24143 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24144
93c65d43
RM
24145 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24146 * csu/init-first.c: ... here.
24147 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24148 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24149 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24150 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24151 * sysdeps/i386/init-first.c: File removed.
24152 * sysdeps/sh/init-first.c: File removed.
24153
bec749fd
JM
241542012-10-01 Joseph Myers <joseph@codesourcery.com>
24155
24156 [BZ #14645]
24157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24158 if x * y might underflow to zero and z is zero.
24159 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24160 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24161 * math/libm-test.inc (min_subnorm_value): New variable.
24162 (fma_test): Add more tests.
24163 (fma_test_towardzero): Likewise.
24164 (fma_test_downward): Likewise
24165 (fma_test_upward): Likewise.
24166 (initialize): Set min_subnorm_value.
24167
8ec5b013
JM
241682012-09-29 Joseph Myers <joseph@codesourcery.com>
24169
24170 [BZ #14638]
24171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24172 0 + 0.
24173 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24174 mode for addition resulting in exact zero.
24175 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24176 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24177 exact 0 + 0.
24178 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24179 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24180 * math/libm-test.inc (fma_test): Add more tests.
24181 (fma_test_towardzero): New function.
24182 (fma_test_downward): Likewise.
24183 (fma_test_upward): Likewise.
24184 (main): Call the new functions.
24185
b1fa802e
DM
241862012-09-28 David S. Miller <davem@davemloft.net>
24187
24188 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24189
d3b9fd9e
RM
241902012-09-28 Roland McGrath <roland@hack.frob.com>
24191
ea4d37b3
RM
24192 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24193 instead of SIGALRM.
24194
ac51c949
RM
24195 * sysdeps/gnu/_G_config.h: Moved to ...
24196 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24197 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24198 * sysdeps/generic/_G_config.h: ... here.
24199
28c195f7
RM
24200 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24201
848917f9
RM
24202 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24203
6bacf05b
RM
24204 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24205 Conditionalize target on [libnss_test1.so-version].
24206
91363dbb
RM
24207 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24208
cc87f7d8
RM
24209 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24210 (elfobjdir): Move out of conditionals.
24211
b1c608fe
RM
24212 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24213 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24214 (__nss_lookup_function): Conditionalize label remove_from_tree on
24215 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 24216
1d9a6d96
DM
242172012-09-28 David S. Miller <davem@davemloft.net>
24218
24219 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24220 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24221 file.
24222 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24223 sysdep_routines.
24224 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24225 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24226 when HWCAP_SPARC_CRYPTO is present.
24227
72581615
PT
242282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24229
24230 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24231
715a900c
JL
242322012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24233
24234 [BZ #6530]
24235 * stdio-common/vfprintf.c (process_string_arg): Revert
24236 2000-07-22 change.
24237
242382011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24239
24240 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24241 for testcase.
24242 * stdio-common/tst-sprintf.c: Include <locale.h>
24243 (main): Test sprintf's handling of incomplete multibyte
24244 characters.
24245
9bac1d86
L
242462012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24247
24248 * elf/dl-runtime.c (VERSYMIDX): Removed.
24249 * elf/dl-version.c (VERSYMIDX): Likewise.
24250 * elf/do-rel.h (VERSYMIDX): Likewise.
24251 (VALIDX): Likewise.
24252 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24253 * elf/rtld.c (VALIDX): Likewise.
24254 (ADDRIDX): Likewise.
9bac1d86
L
24255 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24256 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24257 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
24258 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24259 (VALIDX): Likewise.
24260 (ADDRIDX): Likewise.
9bac1d86 24261
b31606c0
PT
242622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24263
24264 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24265
11541177
JL
242662012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24267
24268 [BZ #11438]
24269 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24270 to global scope.
24271 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24272 addresses are in the same scope as 192.0.2/24.
24273 * posix/gai.conf: Document new scope table defaults.
24274
adb26fae
SP
242752012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24276
24277 [BZ #5298]
24278 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24279 for ftell. Compute offsets from write pointers instead.
24280 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24281
4573c6b0
SP
242822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24283
24284 [BZ #14543]
24285 * libio/Makefile (tests): New test case tst-fseek.
24286 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24287 combination works in wide mode.
24288 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24289 state when the external buffer state changes.
24290
aa9bbfe6
DM
242912012-09-27 David S. Miller <davem@davemloft.net>
24292
24293 [BZ #14376]
24294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24295 pass reloc->r_addend in as the 'high' argument to
24296 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24297
784421e7
DM
24298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24299
c39bc8b8
PT
243002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24301
24302 * rt/tst-aio2.c: Include <pthread.h>.
24303 * rt/tst-aio3.c: Likewise.
24304
1ccc2399
SE
243052012-09-27 Steve Ellcey <sellcey@mips.com>
24306
24307 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24308
31ed4153
L
243092012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24310
25f5f885
L
24311 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24312 contents on [SHARED].
31ed4153 24313
b7bfe116
MP
243142012-09-26 Marek Polacek <polacek@redhat.com>
24315
24316 [BZ #14530]
24317 [BZ #13741]
24318 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24319 for C++ and GCC <4.3 as well as for non GCC compilers.
24320
43c4edba
MT
243212012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24322
24323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24324
6a1bf82f
RM
243252012-09-25 Roland McGrath <roland@hack.frob.com>
24326
24327 * Makefile.in (all, install): Declare with .PHONY.
24328 Reported by Michael Hope <michael.hope@linaro.org>.
24329
8ad11b9a
TMQMF
243302012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24331
24332 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24333 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24334 system header.
24335 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24336 Likewise.
24337 (sydep_routines): Add the new and the internal functions.
24338 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24339 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24341 (GLIBC_2.17): Add the new function.
24342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24343 (GLIBC_2.17): Likewise.
24344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24345 (GLIBC_2.17): Likewise.
24346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24347 (GLIBC_2.17): Likewise.
24348 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24349
7e2fca8d
AM
243502012-09-25 Alan Modra <amodra@gmail.com>
24351
24352 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24353 Add release barrier before setting once_control to say
24354 initialisation is done. Add hints on lwarx. Use macro in
24355 place of isync.
24356 (clear_once_control): Add release barrier.
24357
b87c4b24
JM
243582012-09-25 Joseph Myers <joseph@codesourcery.com>
24359
d032e0d2
JM
24360 [BZ #13629]
24361 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24362 specially.
24363 * math/s_clog10.c (__clog10): Likewise.
24364 * math/s_clog10f.c (__clog10f): Likewise.
24365 * math/s_clog10l.c (__clog10l): Likewise.
24366 * math/s_clogf.c (__clogf): Likewise.
24367 * math/s_clogl.c (__clogl): Likewise.
24368 * math/Makefile (libm-calls): Add x2y2m1.
24369 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24370 (__x2y2m1): Likewise.
24371 (__x2y2m1l): Likewise.
24372 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24373 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24374 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24375 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24376 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24377 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24378 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24379 * sysdeps/i386/fpu/libm-test-ulps: Update.
24380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24381
b87c4b24
JM
24382 [BZ #14621]
24383 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24384 int as type of variable DEPTH.
24385 (glob): Use size_t instead of int as type of variables NEWCOUNT
24386 and OLD_PATHC.
24387
6d3bf199
LD
243882012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24389
22bf5c17
LD
24390 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24391 Add s_sincosf-sse2.
24392 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24393 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24394 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24395 macros for using routine as __sincosf_ia32.
24396 Use macro for function declaration and weak_alias.
24397 * sysdeps/i386/fpu/libm-test-ulps: Update.
24398
24399 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24401
24402 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
24403 subnormal argument.
24404 * math/s_cexpf.c (__cexpf): Likewise.
24405 * math/s_csinf.c (__csinf): Likewise.
24406 * math/s_csinhf.c (__csinhf): Likewise.
24407 * math/s_ctanf.c (__ctanf): Likewise.
24408 * math/s_ctanhf.c (__ctanhf): Likewise.
24409 * math/s_ccosh.c (__ccoshf): Likewise.
24410 * math/s_cexp.c (__cexpl): Likewise.
24411 * math/s_csin.c (__csin): Likewise.
24412 * math/s_csinh.c (__csinh): Likewise.
24413 * math/s_ctan.c (__ctan): Likewise.
24414 * math/s_ctanh.c (ctanh): Likewise.
24415 * math/s_ccoshl.c (__ccoshl): Likewise.
24416 * math/s_cexpl.c (__cexpl): Likewise.
24417 * math/s_csinl.c (__csinl): Likewise.
24418 * math/s_csinhl.c (__csinhl): Likewise.
24419 * math/s_ctanl.c (__ctanl): Likewise.
24420 * math/s_ctanhl.c (__ctanhl): Likewise.
24421
203e5603
JM
244222012-09-25 Joseph Myers <joseph@codesourcery.com>
24423
24424 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24425 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24426 (_IO_off_t): Define to __off_t, not _G_off_t.
24427 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24428 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24429 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24430 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24431 type of __dummy and __dummy2 fields.
24432 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24433 (_G_ssize_t): Likewise.
24434 (_G_off_t): Likewise.
24435 (_G_pid_t): Likewise.
24436 (_G_uid_t): Likewise.
24437 (_G_wchar_t): Likewise.
24438 (_G_wint_t): Likewise.
24439 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24440 (_G_ssize_t): Likewise.
24441 (_G_off_t): Likewise.
24442 (_G_pid_t): Likewise.
24443 (_G_uid_t): Likewise.
24444 (_G_wchar_t): Likewise.
24445 (_G_wint_t): Likewise.
24446 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24447 (_G_ssize_t): Likewise.
24448 (_G_off_t): Likewise.
24449 (_G_pid_t): Likewise.
24450 (_G_uid_t): Likewise.
24451 (_G_wchar_t): Likewise.
24452 (_G_wint_t): Likewise.
24453
9fab36eb
SP
244542012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24455
24456 * malloc/arena.c: Include malloc-sysdep.h.
24457 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24458 is sufficient to shrink the heap or an unmap is needed.
24459 * sysdeps/generic/malloc-sysdep.h: New file. Define
24460 new function check_may_shrink_heap.
24461 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24462 new function check_may_shrink_heap.
24463
2b4f00d1
SP
244642012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24465
24466 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24467 comments.
24468
9a9028b1
DL
244692012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24470
57c69bef
DL
24471 * catgets/test-gencat.sh: Add "set -e".
24472 * elf/tst-pathopt.sh: Likewise.
24473 * grp/tst_fgetgrent.sh: Likewise.
24474 * iconvdata/run-iconv-test.sh: Likewise.
24475 * intl/tst-gettext.sh: Likewise.
24476 * intl/tst-gettext2.sh: Likewise.
24477 * intl/tst-gettext4.sh: Likewise.
24478 * intl/tst-gettext6.sh: Likewise.
24479 * intl/tst-translit.sh: Likewise.
24480 * io/ftwtest-sh: Likewise.
24481 * libio/test-freopen.sh: Likewise.
24482 * malloc/tst-mtrace.sh: Likewise.
24483 * posix/globtest.sh: Likewise.
24484 * posix/tst-getconf.sh: Likewise.
24485 * posix/wordexp-tst.sh: Likewise.
24486 * stdio-common/tst-printf.sh: Likewise.
24487 * stdio-common/tst-unbputc.sh: Likewise.
24488 * stdlib/tst-fmtmsg.sh: Likewise.
24489 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24490 * catgets/Makefile: Do not specify -e option when running
24491 testsuite shell scripts.
24492 * elf/Makefile: Likewise.
24493 * grp/Makefile: Likewise.
24494 * iconvdata/Makefile: Likewise.
24495 * intl/Makefile: Likewise.
24496 * io/Makefile: Likewise.
24497 * libio/Makefile: Likewise.
24498 * malloc/Makefile: Likewise.
24499 * posix/Makefile: Likewise.
24500 * stdio-common/Makefile: Likewise.
24501 * stdlib/Makefile: Likewise.
24502 * sysdeps/x86_64/Makefile: Likewise.
24503
9a9028b1
DL
24504 * io/ftwtest-sh: Add copyright header.
24505 * posix/globtest.sh: Likewise.
24506 * posix/tst-getconf.sh: Likewise.
24507 * posix/wordexp-tst.sh: Likewise.
24508 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24509
ced6f16e
L
245102012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24511
94b32c39
L
24512 [BZ #13679]
24513 * Makeconfig (+link): Defined as $(+link-static) if
24514 $(build-shared) isn't yes.
24515 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24516 isn't yes.
24517 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24518
189e935b
L
24519 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24520
ced6f16e
L
24521 [BZ #14562]
24522 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24523 new chunk size with MALLOC_ALIGN_MASK.
24524
a9f8e53a
JM
245252012-09-24 Joseph Myers <joseph@codesourcery.com>
24526
24527 [BZ #5044]
24528 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24529 <rounding-mode.h>.
24530 (__printf_fphex): Determine rounding using get_rounding_mode and
24531 round_away.
24532 * stdio-common/tst-printf-round.c (struct hex_test): New
24533 structure.
24534 (hex_tests): New variable.
24535 (test_hex_in_one_mode): New function.
24536 (do_test): Also run tests for hex float output.
24537
43153109
JM
245382012-09-21 Joseph Myers <joseph@codesourcery.com>
24539
24540 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24541 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24542 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24543 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24544 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24545 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24546 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24547 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24548
8a26625d
JM
245492012-09-20 Joseph Myers <joseph@codesourcery.com>
24550
24551 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24552 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24553 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24554 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24555
f3fd569c
DL
245562012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24557
24558 [BZ #14579]
24559 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24560 mode only.
24561 * elf/tst-rtld-load-self.sh: New test.
24562 * elf/Makefile: Run it.
24563
63bbedd4
JM
245642012-09-18 Joseph Myers <joseph@codesourcery.com>
24565
24566 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24567 (tst-writev-ENV): Remove.
24568 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24569
626f8b6a
CM
245702012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24571
24572 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24573
b7aaa4d6
JM
245742012-09-17 Joseph Myers <joseph@codesourcery.com>
24575
24576 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24577 unconditional.
24578 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24579 Likewise.
24580 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24581 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24582 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24583 Likewise.
24584
65513990
L
245852012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24586
24587 [BZ #14587]
24588 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24589 * config.make.in (have-cpp-asm-debuginfo): Removed.
24590 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24591 * configure: Regenerated.
24592
784761be
JM
245932012-09-14 Joseph Myers <joseph@codesourcery.com>
24594
24595 [BZ #5044]
24596 * stdio-common/printf_fp.c: Include <stdbool.h> and
24597 <rounding-mode.h>.
24598 (___printf_fp): Determine rounding using get_rounding_mode and
24599 round_away.
24600 * stdio-common/tst-printf-round.c: New file.
24601 * stdio-common/Makefile (tests): Add tst-printf-round.
24602 (link-libm): New variable.
24603 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24604
9503345f
L
246052012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24606
24607 [BZ #14576]
24608 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24609 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24610 Likewise.
24611 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24612 Likewise.
24613
ad35fc00
JM
246142012-09-13 Joseph Myers <joseph@codesourcery.com>
24615
24616 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24617 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24618 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24619 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24620
6c9b0f68
JM
246212012-09-12 Joseph Myers <joseph@codesourcery.com>
24622
24623 [BZ #14518]
24624 * include/rounding-mode.h: New file.
24625 * sysdeps/generic/get-rounding-mode.h: Likewise.
24626 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24627 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24628 (MAX_VALUE): New macro.
24629 (MIN_VALUE): Likewise.
24630 (overflow_value): New function.
24631 (underflow_value): Likewise.
24632 (round_and_return): Use overflow_value and underflow_value to
24633 determine return values in overflow and underflow cases. Use
24634 round_away to determine rounding depending on rounding mode.
24635 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24636 determine return values in overflow and underflow cases.
24637 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24638 (struct test_results): New structure.
24639 (struct test): Use struct test_results to store expected results
24640 for all rounding modes.
24641 (TEST): Include expected results for all rounding modes.
24642 (test_in_one_mode): New function.
24643 (do_test): Use test_in_one_mode to compute and check results.
24644 Check results for all rounding modes.
24645 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24646 $(link-libm).
24647
19fcedd5
AM
246482012-12-09 Allan McRae <allan@archlinux.org>
24649
1e9d84cd 24650 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24651
8bbfd2f1
JM
246522012-09-11 Joseph Myers <joseph@codesourcery.com>
24653
24654 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24655 (_G_int32_t): Likewise.
24656 (_G_uint16_t): Likewise.
24657 (_G_uint32_t): Likewise.
24658 (_G_HAVE_BOOL): Likewise.
24659 (_G_HAVE_ATEXIT): Likewise.
24660 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24661 (_G_HAVE_IO_FILE_OPEN): Likewise.
24662 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24663 (_G_int32_t): Likewise.
24664 (_G_uint16_t): Likewise.
24665 (_G_uint32_t): Likewise.
24666 (_G_HAVE_BOOL): Likewise.
24667 (_G_HAVE_ATEXIT): Likewise.
24668 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24669 (_G_HAVE_IO_FILE_OPEN): Likewise.
24670 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24671 (_G_int32_t): Likewise.
24672 (_G_uint16_t): Likewise.
24673 (_G_uint32_t): Likewise.
24674 (_G_HAVE_BOOL): Likewise.
24675 (_G_HAVE_ATEXIT): Likewise.
24676 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24677 (_G_HAVE_IO_FILE_OPEN): Likewise.
24678
b1dc5912
L
246792012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24680
24681 * csu/libc-tls.c: Update copyright years.
24682
0e886ef9
JM
246832012-09-10 Joseph Myers <joseph@codesourcery.com>
24684
28361c5e
JM
24685 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24686 [!_G_USING_THUNKS]: Remove conditional code.
24687 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24688 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24689
0e886ef9
JM
24690 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24691 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24692 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24693 (_G_VTABLE_LABEL_PREFIX): Likewise.
24694 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24695 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24696 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24697 (_G_VTABLE_LABEL_PREFIX): Likewise.
24698 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24699 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24700 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24701 (_G_VTABLE_LABEL_PREFIX): Likewise.
24702 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24703
bcba7aa2
L
247042012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24705
24706 * libio/Makefile: Include ../Makeconfig before tests.
24707 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24708 only if $(build-shared) is yes.
24709
06585ee8
L
24710 * iconv/gconv_db.c: Update copyright years.
24711
80ccd52c
LD
247122012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24713
24714 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24715 unwind info if defined PIC. Fix special cases description.
24716 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24717
24718 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24719 DP_HI_MASK entry.
24720 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24721
691bc9c1
L
247222012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24723
3d9b46b3
L
24724 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24725
de2139a9
L
24726 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24727 is NULL.
24728
5ca78dd0
L
24729 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24730 (LDLIBS-tst-chk4): This.
24731 (LDFLAGS-tst-chk5): Renamed to ...
24732 (LDLIBS-tst-chk5): This.
24733 (LDFLAGS-tst-chk6): Renamed to ...
24734 (LDLIBS-tst-chk6): This.
24735 (LDFLAGS-tst-lfschk4): Renamed to ...
24736 (LDLIBS-tst-lfschk4): This.
24737 (LDFLAGS-tst-lfschk5): Renamed to ...
24738 (LDLIBS-tst-lfschk5): This.
24739 (LDFLAGS-tst-lfschk6): Renamed to ...
24740 (LDLIBS-tst-lfschk6): This.
24741
691bc9c1
L
24742 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24743 on $(common-objpfx)soversions.mk.
24744
65cafb1c
JM
247452012-09-07 Joseph Myers <joseph@codesourcery.com>
24746
24747 [BZ #10014]
24748 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24749 example host name.
24750
c78ab094
SP
247512012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24752
24753 * malloc/arena.c (arena_get_retry): New function that gets
24754 another arena for the caller to try its request on.
24755 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24756 current arena cannot fulfill the request.
24757 (__libc_memalign): Likewise.
24758 (__libc_memalign): Likewise.
24759 (__libc_pvalloc): Likewise.
24760 (__libc_calloc): Likewise.
24761
01f49f59
JT
247622012-09-05 John Tobey <john.tobey@gmail.com>
24763
24764 [BZ #13542]
24765 * manual/arith.texi (Operations on Complex): Fix description
24766 of carg branch cut.
24767
4c23fed5
JM
247682012-09-06 Joseph Myers <joseph@codesourcery.com>
24769
1d3c8572
JM
24770 [BZ #10014]
24771 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24772 host name.
24773
4c23fed5
JM
24774 [BZ #10038]
24775 * manual/memory.texi (Memory): Make order of menu items match
24776 order of sections.
24777
04570aaa
L
247782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24779
24780 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24781 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24782 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24783
b80af2f4
L
247842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24785
24786 * csu/libc-tls.c (static_dtv): Renamed to ...
24787 (_dl_static_dtv): This. Make it global.
24788 (_dl_initial_dtv): Removed.
24789 (__libc_setup_tls): Updated.
24790 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24791 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24792 DL_INITIAL_DTV.
24793
2abe9f15
PM
247942012-09-06 Petr Machata <pmachata@redhat.com>
24795
24796 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24797 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24798 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24799 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24800
0948c3af
L
248012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24802
24803 [BZ #14545]
24804 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24805 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24806 freeing dtv[-1].
24807
a5055ad1
L
248082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24809
24810 [BZ #14544]
24811 * Makeconfig (link-static-before-libc): Replace $(+prector)
24812 with $(+prectorT).
24813 (link-static-after-libc): Replace $(+postctor) with
24814 $(+postctorT).
24815 (link-bounded): Replace $(+prector)/$(+postctor) with
24816 $(+prectorT)/$(+postctorT).
24817 (+prectorT): New macro.
24818 (+postctorT): Likewise.
24819
ed8c2ecd
JM
248202012-09-06 Joseph Myers <joseph@codesourcery.com>
24821
24822 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24823 (round_str): Handle values above the maximum for IBM long double
24824 as inexact.
24825 * stdlib/tst-strtod-round.c (tests): Regenerated.
24826
14c996c8
AK
248272012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24828
24829 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24830 assembler flag.
24831 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24832 zarch_nohighgprs around the zarch optimized routines.
24833 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24834 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24835 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24836 for zarch.
24837
430d6ce6
DM
248382012-09-05 David S. Miller <davem@davemloft.net>
24839
24840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24841
57f41c40
AS
24842 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24843 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24844 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24845 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24846 entries.
24847
24d4e01b
AO
248482012-09-05 Alexandre Oliva <aoliva@redhat.com>
24849
24850 * malloc/arena.c: Fold copyright years.
24851 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24852
61d58174
AO
248532012-09-05 Alexandre Oliva <aoliva@redhat.com>
24854
24855 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24856
20196a5e
AO
248572012-09-05 Alexandre Oliva <aoliva@redhat.com>
24858
24859 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24860
5c447383
AO
248612012-09-05 Alexandre Oliva <aoliva@redhat.com>
24862
24863 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24864 change internal state upon failure.
24865
fad64255
AO
248662012-09-05 Alexandre Oliva <aoliva@redhat.com>
24867
24868 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24869 * malloc/memusage.c (mmap): Likewise.
24870 (mmap64, mremap): Likewise. Adjust name in comment.
24871
1ffb8c90
SP
248722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24873
24874 * libio/fileops.c: Fix typos in comments.
24875 * libio/oldfileops.c: Likewise.
24876 * libio/wfileops.c: Likewise.
24877
6ef9cc37
SP
248782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24879
24880 [BZ #1349]
24881 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24882 (tst-malloc-usable-ENV): Set environment for test case.
24883 * malloc/hooks.c (malloc_check_get_size): New function to get
24884 requested size.
24885 * malloc/malloc.c (musable): Use malloc_check_get_size.
24886 * malloc/tst-malloc-usable.c: New test case.
24887
4d038ae3
AS
248882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24889
24890 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24891
c4e85184
AM
248922012-09-05 Allan McRae <allan@archlinux.org>
24893
b9dafc56 24894 [BZ #13966]
c4e85184
AM
24895 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24896 determine header location.
24897 * configure: Regenerated.
24898
e1343020
AS
248992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24900
24901 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24902 float format.
24903 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24904 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24905 format.
e1343020
AS
24906 (test): Regenerate.
24907
0a9f1987
DM
249082012-09-04 David S. Miller <davem@davemloft.net>
24909
24910 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24911 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24912 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24913
29237804
FW
249142012-09-04 Florian Weimer <fweimer@redhat.com>
24915
24916 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24917 failures.
24918
edb3cb88
FW
24919 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24920
60160d83
JM
249212012-09-04 Joseph Myers <joseph@codesourcery.com>
24922
24923 [BZ #9914]
24924 * libio/iogetdelim.c: Include <limits.h>.
24925 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24926 + len + 1 would overflow.
24927
bcd6c8dc
AJ
249282012-09-03 Andreas Jaeger <aj@suse.de>
24929
24930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24931 * sysdeps/i386/fpu/libm-test-ulps: Update.
24932
4ffffbd2
LD
249332012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24934
24935 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24936 Add s_sinf-sse2, s_conf-sse2.
24937
24938 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24939 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24940 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24941 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24942
24943 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24944 for using routine as __sinf_ia32.
24945 Use macro for function declaration and weak_alias.
24946 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24947 for using routine as __cosf_ia32.
24948 Use macro for function declaration and weak_alias.
24949
24950 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24951 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24952
24953 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24954 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24956
24957 * math/libm-test.inc (cos_test): Add more test cases.
24958 (sin_test): Likewise.
24959 (sincos_test): Likewise.
24960
511fa286
AK
249612012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24962
24963 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24964 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24965 hidden.
24966 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24967
5f30cfec
L
249682012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24969
24970 [BZ #14538]
24971 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24972 first element of the GOT.
24973 (elf_machine_load_address): Return the difference between
24974 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24975
0786794f
AM
249762012-09-01 Allan McRae <allan@archlinux.org>
24977
5f30cfec
L
24978 [BZ #13412]
24979 * configure.in (AWK): Require gawk version 3.0 or later.
24980 * configure: Regenerated.
0786794f 24981
26889eac
JM
249822012-09-01 Joseph Myers <joseph@codesourcery.com>
24983
24984 * sysdeps/unix/sysv/linux/kernel-features.h
24985 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24986 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24987 [__NR_clock_getres]: Make code unconditional.
24988 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24989 (clock_getcpuclockid): Remove code left unreachable by removal of
24990 conditionals.
24991 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24992 code unconditional.
24993 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24994 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24995 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24996 Make code unconditional.
24997 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24998 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24999 * sysdeps/unix/sysv/linux/clock_settime.c
25000 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25001 conditional code.
25002 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25003 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25004
d22e28b0
L
250052012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25006
25007 [BZ #14476]
25008 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25009 scripts/test-installation.pl.
25010
25011 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25012 and $ld_so_version if it is set.
25013
050af9c4
SP
250142012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25015
25016 [BZ #14516]
25017 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25018 failure if reading from procfs failed.
25019 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25020
ad845c0b
JM
250212012-08-27 Joseph Myers <joseph@codesourcery.com>
25022
25023 * sysdeps/unix/sysv/linux/kernel-features.h
25024 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25025 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25026 Remove conditional code.
25027 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25028 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25029 Remove conditional code.
25030 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25031 * sysdeps/unix/sysv/linux/i386/fxstat.c
25032 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25033 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25034 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25035 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25036 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25037 * sysdeps/unix/sysv/linux/i386/lxstat.c
25038 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25039 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25040 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25041 Remove conditional code.
25042 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25043 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25044 Remove conditional code.
25045 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25046 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25047 <kernel-features.h>.
25048 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25049 Remove.
25050 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25051 Remove conditional code.
25052 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25053 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25054 Remove conditional.
25055
5dbf56af
MF
250562012-08-27 Mike Frysinger <vapier@gentoo.org>
25057
25058 [BZ #5400]
25059 * NEWS: Add fixed bug number.
25060
d6e70f43
JM
250612012-08-27 Joseph Myers <joseph@codesourcery.com>
25062
7efb4737
JM
25063 [BZ #14519]
25064 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25065 underflowing exponent in case of negative sign.
25066 * stdlib/tst-strtod-round-data: Add more tests.
25067 * stdlib/tst-strtod-round.c (tests): Regenerated.
25068
af92131a
JM
25069 [BZ #3479]
25070 * stdlib/strtod_l.c (NDIG): Remove.
25071 (HEXNDIG): Likewise.
25072 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25073 smallest representable value.
25074 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25075 lie within an exact representation of 1/2 ulp of the result.
25076 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25077 unconditionally.
25078 (TENS_P9_IDX): Define unconditionally.
25079 (TENS_P9_SIZE): Likewise.
25080 (TENS_P10_IDX): Likewise.
25081 (TENS_P10_SIZE): Likewise.
25082 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25083 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25084 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25085 entries for 10^2^13 and 10^2^14.
25086 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25087 (TENS_P13_IDX): Define.
25088 (TENS_P13_SIZE): Likewise.
25089 (TENS_P14_IDX): Likewise.
25090 (TENS_P14_SIZE): Likewise.
25091 (_fpioconst_pow10): Change array size to
25092 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25093 unconditional.
25094 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25095 1024]: Add entries for 10^2^13 and 10^2^14.
25096 [LAST_POW10 > _LAST_POW10]: Remove #error.
25097 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25098 (_fpioconst_pow10): Change array size to
25099 FPIOCONST_POW10_ARRAY_SIZE.
25100 * stdlib/gen-fpioconst.c: New file.
25101 * stdlib/gen-tst-strtod-round.c: Likewise.
25102 * stdlib/tst-strtod-round-data: Likewise.
25103 * stdlib/tst-strtod-round.c: Likewise.
25104 * stdlib/Makefile (tests): Add tst-strtod-round.
25105
d6e70f43
JM
25106 [BZ #14459]
25107 * stdlib/strtod_l.c: Include <stdint.h>.
25108 (NDEBUG): Do not define.
25109 (round_and_return): Change EXPONENT parameter to type intmax_t.
25110 Rearrange calculations to avoid internal overflow possibilities.
25111 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25112 Rearrange calculations to avoid internal overflow possibilities.
25113 Assert that number fits inside MPNSIZE limbs.
25114 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25115 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25116 calculations and add assertions to avoid internal overflow
25117 possibilities. Add casts to avoid signed/unsigned operations.
25118 * stdlib/tst-strtod-overflow.c: New file.
25119 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25120
1f529f7d
MP
251212012-08-25 Marek Polacek <polacek@redhat.com>
25122
25123 * time/time.h: Fix some typos in comments.
25124
59a629f1
RM
251252012-08-23 Roland McGrath <roland@hack.frob.com>
25126
25127 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25128 * posix/tst-rfc3484-2.c: Likewise.
25129 * posix/tst-rfc3484-3.c: Likewise.
25130
d3bafbc9
SM
251312012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25132
25133 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25134 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25135
4efcc022
JM
251362012-08-23 Joseph Myers <joseph@codesourcery.com>
25137
25138 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25139 #include of fxstatat64.c.
25140
3cc3ef96
RM
251412012-08-22 Roland McGrath <roland@hack.frob.com>
25142
f04e2132
RM
25143 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25144 * shadow/getspent_r.c: Likewise.
25145 * shadow/getspnam.c: Likewise.
25146 * shadow/getspnam_r.c: Likewise.
25147 * gshadow/getsgent.c: Likewise.
25148 * gshadow/getsgent_r.c: Likewise.
25149 * gshadow/getsgnam.c: Likewise.
25150 * gshadow/getsgnam_r.c: Likewise.
25151 * inet/getnetbyad.c: Likewise.
25152 * inet/getnetbyad_r.c: Likewise.
25153 * inet/getnetbynm.c: Likewise.
25154 * inet/getnetbynm_r.c: Likewise.
25155 * inet/getnetent.c: Likewise.
25156 * inet/getnetent_r.c: Likewise.
25157 * inet/getproto.c: Likewise.
25158 * inet/getproto_r.c: Likewise.
25159 * inet/getprtent.c: Likewise.
25160 * inet/getprtent_r.c: Likewise.
25161 * inet/getprtname.c: Likewise.
25162 * inet/getprtname_r.c: Likewise.
25163 * inet/getrpcbyname.c: Likewise.
25164 * inet/getrpcbyname_r.c: Likewise.
25165 * inet/getrpcbynumber.c: Likewise.
25166 * inet/getrpcbynumber_r.c: Likewise.
25167 * inet/getrpcent.c: Likewise.
25168 * inet/getrpcent_r.c: Likewise.
25169 * inet/getaliasent.c: Likewise.
25170 * inet/getaliasent_r.c: Likewise.
25171 * inet/getaliasname.c: Likewise.
25172 * inet/getaliasname_r.c: Likewise.
25173 * nscd/getgrgid_r.c: Likewise.
25174 * nscd/getgrnam_r.c: Likewise.
25175 * nscd/gethstbyad_r.c: Likewise.
25176 * nscd/gethstbynm3_r.c: Likewise.
25177 * nscd/getpwnam_r.c: Likewise.
25178 * nscd/getpwuid_r.c: Likewise.
25179 * nscd/getsrvbynm_r.c: Likewise.
25180 * nscd/getsrvbypt_r.c: Likewise.
25181 * nscd/gai.c: Likewise.
25182
c53d909c
RM
25183 * configure.in (build_nscd): New substituted variable, set
25184 by --disable-build-nscd and defaults to $use_nscd.
25185 * configure: Regenerated.
25186 * config.make.in (build-nscd): New substituted variable.
25187 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25188 Change conditional to require [$(build-nscd) = yes] as well.
25189 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25190
3cc3ef96
RM
25191 [BZ# 13696]
25192 * configure.in (use_nscd): New substituted variable, set by
25193 --disable-nscd. If enabled, define USE_NSCD.
25194 * configure: Regenerated.
25195 * config.h.in: Add USE_NSCD.
25196 * config.make.in (use-nscd): New substituted variable.
25197 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25198 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25199 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25200 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25201 (CFLAGS-getgrnam_r.c): Likewise.
25202 (CFLAGS-initgroups.c): Likewise.
25203 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25204 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25205 Variables removed.
25206 * inet/getnetgrent_r.c
25207 (nscd_setnetgrent): New function, broken out of ...
25208 (setnetgrent): ... here. Call it.
25209 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25210 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25211 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25212 * nscd/Makefile (routines, aux): Move definitions after include of
25213 Makeconfig. Conditionalize on [$(use-nscd) != no].
25214 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25215 Conditionalize on [USE_NSCD].
25216 (is_nscd, nscd_init_cb): Likewise.
25217 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25218 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25219 * nss/nss_db/db-init.c: Likewise.
25220 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25221 [USE_NSCD].
25222 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25223 (make_request): Use it.
25224 (cache_valid_p): New function.
25225 (__check_pf): Use it.
25226 * NEWS: Add item for --disable-nscd.
25227
07e51550
DL
252282012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25229
25230 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25231 to support sed >= 4.2.1-20-ga9bf076.
25232 * configure: Regenerated.
25233
35a5b08b
RM
252342012-08-22 Roland McGrath <roland@hack.frob.com>
25235
25236 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25237 Conditionalize whole body on [IREL].
25238
8479f23a
JL
252392012-08-22 Jeff Law <law@redhat.com>
25240
25241 [BZ #14505]
25242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25243 if the family is PF_UNSPEC.
25244
48da0b21
MF
252452012-08-22 Mike Frysinger <vapier@gentoo.org>
25246
25247 * Makerules (lib-version): Rename from V.
25248 (install-lib-nosubdir): Change V to lib-version.
25249
15d0da8c
WS
252502012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25251
25252 [BZ #14252]
25253 * powerpc32/power6/wcschr.c: New file.
25254 * powerpc32/power6/wcscpy.c: New file.
25255 * powerpc32/power6/wcsrchr.c: New file.
25256 * powerpc64/power6/wcschr.c: New file.
25257 * powerpc64/power6/wcscpy.c: New file.
25258 * powerpc64/power6/wcsrchr.c: New file.
25259
bcca0895
MK
252602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25261
25262 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25263 (two_way_short_needle): Use it.
5a4aaa33
RM
25264 * string/strstr.c (AVAILABLE1_USES_J): Define.
25265 * string/strcasestr.c: Likewise.
99677e57
MK
25266
25267 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25268 array references.
25269 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25270
400726de
MK
25271 [BZ #11607]
25272 * NEWS: Add an entry.
25273 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25274 define their defaults.
25275 (two_way_short_needle): Detect end-of-string on-the-fly.
25276 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25277 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25278 * string/bug-strcasestr1.c: New test.
25279 * string/Makefile: Run it.
25280
20a71f2c
MK
252812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25282
25283 [BZ #11607]
25284 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25285 the first character.
25286
21ad0558
RM
252872012-08-21 Roland McGrath <roland@hack.frob.com>
25288
25289 * csu/elf-init.c (__libc_csu_irel): Function removed.
25290 * csu/libc-start.c (apply_irel): New function.
25291 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25292
0e1d9911
JM
252932012-08-21 Joseph Myers <joseph@codesourcery.com>
25294
25295 * sysdeps/unix/sysv/linux/kernel-features.h
25296 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25297 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25298 <kernel-features.h>.
25299 [__NR_fadvise64_64]: Make code unconditional.
25300 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25301 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25302 !__NR_fadvise64_64)]: Likewise.
25303 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25304 !__NR_fadvise64_64))]: Likewise.
25305 [__NR_fadvise64]: Make code unconditional.
25306 [!__NR_fadvise64]: Remove conditional code.
25307 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25308 <kernel-features.h>.
25309 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25310 unconditional.
25311 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25312 conditional code.
25313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25314 not include <kernel-features.h>.
25315 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25316 unconditional.
25317 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25318 conditional code.
25319 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25320 include <kernel-features.h>.
25321 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25322 unconditional.
25323 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25324 conditional code.
25325
14a50c9d
WS
253262012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25327
25328 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25329 slight instruction rearrangements per scrollpipe analysis.
25330 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25331
c0f4faf0
RM
253322012-08-20 Roland McGrath <roland@hack.frob.com>
25333
696da859
RM
25334 * manual/syslog.texi (syslog; vsyslog, closelog):
25335 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25336 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25337
c0f4faf0
RM
25338 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25339 DSOCAPS to match condition on defining it.
25340
348363b2
JM
253412012-08-20 Joseph Myers <joseph@codesourcery.com>
25342
a35cbf28
JM
25343 * sysdeps/unix/sysv/linux/kernel-features.h
25344 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25346 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25347 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25349 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25350 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25352 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25353 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25354
445f7ecd
JM
25355 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25356 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25357
348363b2
JM
25358 * sysdeps/unix/sysv/linux/kernel-features.h
25359 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25360 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25361 unconditional.
25362 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25363 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25364 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25365 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25366 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25367 Make code unconditional.
25368 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25369 (__mmap64) [!__NR_mmap2]: Likewise.
25370 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25371 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25372 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25373 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25374 [__NR_mmap2]: Make code unconditional.
25375 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25376 (__mmap64) [!__NR_mmap2]: Likewise.
25377
bc5bc0e5
AK
253782012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25379
25380 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25381
88d506de
AJ
253822012-08-18 Andreas Jaeger <aj@suse.de>
25383
25384 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25385
493387d2
MF
253862012-08-18 Mike Frysinger <vapier@gentoo.org>
25387
25388 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25389 * include/unistd.h (__have_sock_cloexec): Likewise.
25390 (__have_pipe2): Likewise.
25391 (__have_dup3): Likewise.
25392
a277af22
MF
253932012-08-18 Mike Frysinger <vapier@gentoo.org>
25394
25395 [BZ #9685]
25396 * include/unistd.h (__have_pipe2): Change define into an extern int.
25397 (__have_dup3): Likewise.
25398 * socket/have_sock_cloexec.c: Include fcntl.h.
25399 (__have_pipe2): New variable.
25400 (__have_dup3): Likewise.
25401
fdab8fd3
MF
254022012-08-17 Mike Frysinger <vapier@gentoo.org>
25403
25404 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25405
31035e80
MP
254062012-08-17 Marek Polacek <polacek@redhat.com>
25407
25408 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25409 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25410
3bd9e993
RM
254112012-08-17 Roland McGrath <roland@hack.frob.com>
25412
c91c505f
RM
25413 * configure.in: Add AC_SUBST for sysheaders.
25414 * configure: Regenerated.
25415 * config.make.in (sysheaders): New substituted variable.
25416
7c6f9d53
RM
25417 * sysdeps/unix/mkfifo.c: Moved ...
25418 * sysdeps/posix/mkfifo.c: ... here.
25419 * sysdeps/unix/mkfifoat.c: Moved ...
25420 * sysdeps/posix/mkfifoat.c: ... here.
25421
25422 * sysdeps/unix/utime.c: Moved ...
25423 * sysdeps/posix/utime.c: ... here.
25424
25425 * sysdeps/unix/time.c: Moved ...
25426 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
25427 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25428 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
25429
25430 * sysdeps/unix/nice.c: Moved ...
25431 * sysdeps/posix/nice.c: ... here.
25432
25433 * sysdeps/unix/alarm.c: Moved ...
25434 * sysdeps/posix/alarm.c: ... here.
25435
3bd9e993
RM
25436 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25437
d1f09384
JL
254382012-08-17 Jeff Law <law@redhat.com>
25439
25440 * intl/Makefile (codeset_mo): New variable.
25441 ($(codeset_mo)): New target.
25442 (tst-codeset.out): Depend on that. Remove explicit rule.
25443 (tst-gettext3.out, tst-gettext5.out): Likewise.
25444 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25445 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25446 * intl/tst-codeset.sh: Remove.
25447 * intl/tst-gettext3.sh: Likewise.
25448 * intl/tst-gettext5.sh: Likewise.
25449
2ae1ae5c
RM
254502012-08-17 Roland McGrath <roland@hack.frob.com>
25451
c31fdb83
RM
25452 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25453 * sysdeps/unix/syscalls.list: ... here.
25454
a0844057
RM
25455 * sysdeps/posix/getaddrinfo.c
25456 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25457 (gaiconf_init, gaiconf_reload): Use them.
25458 [!_STATBUF_ST_NSEC]
25459 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25460 Define using time_t rather than struct timespec.
25461
750c1f2a
RM
25462 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25463 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25464 Macros removed.
25465 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25466 [!NO_THREADS].
25467 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25468 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25469 Likewise.
25470
2ae1ae5c
RM
25471 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25472 __libc_cleanup_push argument.
25473
e66a42f5
RM
25474 * bits/param.h: New file.
25475 * misc/sys/param.h: New file.
25476 * include/sys/param.h: New file.
25477 * misc/Makefile (headers): Add bits/param.h.
25478 * sysdeps/generic/sys/param.h: File removed.
25479 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25480 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25481 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25482 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25483
b7c08a66
RM
25484 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25485 last change.
25486
b2e1c562
RM
25487 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25488 [_IO_MTSAFE_IO].
25489 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25490 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25491 New macros.
25492
c75ccd4c
RM
25493 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25494 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25495 rather than -D_IO_MTSAFE_IO conditionally.
25496 * stdio-common/Makefile (CPPFLAGS): Likewise.
25497 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25498 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25499 Use $(libio-mtsafe).
25500 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25501 of -D_IO_MTSAFE_IO.
25502 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25503 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25504 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25505 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25506 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25507 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25508 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25509 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25510 (CFLAGS-fread_u_chk.c): Likewise.
25511 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25512 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25513 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25514 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25515 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25516 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25517 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25518 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25519 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25520
25521 * libio/Makefile: Test [$(libc-reentrant) = yes]
25522 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25523
25524 * Makeconfig
25525 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25526 * sysdeps/pthread/configure: File removed.
25527 * sysdeps/pthread/Makeconfig: New file.
25528 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25529 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25530
d9195db8
GB
255312012-08-16 Gary Benson <gbenson@redhat.com>
25532
25533 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25534 unmapping the first object in a namespace.
25535
86466cd9
RM
255362012-08-16 Roland McGrath <roland@hack.frob.com>
25537
25538 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25539 (__internal_setnetgrent): ... this. Add internal_function to
25540 definition. Add libc_hidden_def.
25541 (setnetgrent): Update caller.
25542 (internal_endnetgrent): Renamed to ...
25543 (__internal_endnetgrent): ... this. Add internal_function to
25544 definition. Add libc_hidden_def.
25545 (endnetgrent): Update caller.
25546 (internal_getnetgrent_r): Renamed to ...
25547 (__internal_getnetgrent_r): ... this. Add internal_function to
25548 definition. Add libc_hidden_def.
25549 (__getnetgrent_r): Update caller.
25550 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25551
c3c8283c
JM
255522012-08-16 Joseph Myers <joseph@codesourcery.com>
25553
25554 * stdlib/longlong.h: Update from GCC.
25555
db1ee0a8
RM
255562012-08-16 Roland McGrath <roland@hack.frob.com>
25557
25558 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25559 on _QL, which is set by umul_ppmm but never used.
25560 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25561 variables, which are set by GMP macros but never used.
25562 * stdio-common/_itowa.c (_itowa): Likewise.
25563 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25564 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25565
30f69637
CD
255662012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25567
25568 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25569 struct La_sh_regs is not constant.
25570 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25571 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25572 and struct La_sparc64_regs are not constant.
25573
93a78ac4
JM
255742012-08-16 Joseph Myers <joseph@codesourcery.com>
25575
25576 * sysdeps/unix/sysv/linux/kernel-features.h
25577 (__ASSUME_POSIX_TIMERS): Remove.
25578 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25579 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25580 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25581 Make code unconditional.
25582 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25583 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25584 Make code unconditional.
25585 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25586 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25587 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25588 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25589 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25590 Make code unconditional.
25591 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25592 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25593 (__libc_missing_posix_timers): Remove.
25594
dd924cd7
RM
255952012-08-15 Roland McGrath <roland@hack.frob.com>
25596
4b4f2771
RM
25597 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25598 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25599
601c888b
RM
25600 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25601
176790a7
RM
25602 * elf/dl-sym.c: Include <stdlib.h>.
25603
329bc018
RM
25604 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25605 constants, which avoids warnings in 32-bit builds.
25606
e04e272d
RM
25607 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25608 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25609
952bf94a
RM
25610 * misc/lseek.c: File moved to ...
25611 * io/lseek.c: ... here.
25612
7c99b50a
RM
25613 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25614
dd924cd7
RM
25615 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25616 shifting LEN more than 31 bits at once.
25617
b3f479a8
LD
256182012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25619
25620 [BZ #14195]
8c4ae0d4
RM
25621 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25622 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25623 * string/test-strncasecmp.c (check1): Renamed to...
25624 (bz12205): ...this.
25625 (bz14195): Add new testcase for two empty input strings and N > 0.
25626 (test_main): Call new testcase, adapt for renamed function.
25627
9c55864e
AJ
256282012-08-15 Andreas Jaeger <aj@suse.de>
25629
25630 [BZ #14090]
25631 * crypt/md5test2.c: New test, based on test supplied by Serge
25632 Belyshev <belyshev@depni.sinp.msu.ru>.
25633 * crypt/Makefile (xtests): Add md5test-giant..
25634 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25635
02dcb6c5
PE
256362012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25637
25638 [BZ #14090]
25639 * crypt/md5.c (md5_process_block): Don't assume the buffer
25640 length is less than 2**32.
25641 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25642 length is less than 2**64.
25643
a3f95dcc
RM
256442012-08-15 Roland McGrath <roland@hack.frob.com>
25645
be75d758
RM
25646 * string/str-two-way.h: Include <sys/param.h>.
25647 (MAX): Macro removed.
25648
7312ca90
RM
25649 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25650 Move #define and #undef of memmove to just before and after
25651 including <string.h>.
25652
9a0a5486
RM
25653 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25654 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25655 and after including <string.h>. Move declarations of
25656 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25657 to before #include "string/memmove.c".
25658
67cc348d
RM
25659 * include/dirent.h: Declare __getdirentries.
25660
a3f95dcc
RM
25661 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25662 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25663
ca98e171
MF
256642012-08-14 Mike Frysinger <vapier@gentoo.org>
25665
25666 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25667 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25668 * sysdeps/i386/configure: Regenerated.
25669 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25670 STABS_CURRENT_FILE, and STABS_FUN.
25671 (END): Remove call to STABS_FUN_END.
25672 (STABS_CURRENT_FILE1): Delete.
25673 (STABS_CURRENT_FILE): Likewise.
25674 (STABS_FUN): Likewise.
25675 (STABS_FUN_END): Likewise.
25676 (STABS_FUN2): Likewise.
25677 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25678 * sysdeps/x86_64/configure: Regenerated.
25679
5908bf46
RM
256802012-08-14 Roland McGrath <roland@hack.frob.com>
25681
25682 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25683 * elf/dl-lookup.c: Likewise.
5908bf46 25684
f2c05b9e
JM
256852012-08-14 Joseph Myers <joseph@codesourcery.com>
25686
25687 * sysdeps/unix/sysv/linux/kernel-features.h
25688 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25689 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25690 unconditionally.
25691 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25692 unconditionally.
25693 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25694 condition on __ASSUME_CLONE_THREAD_FLAGS.
25695
e11f5155
AJ
256962012-08-14 Andreas Jaeger <aj@suse.de>
25697
25698 * sysdeps/i386/fpu/libm-test-ulps: Update.
25699
51a9ba86
MK
257002012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25701
2fdd4f78
AJ
25702 * include/atomic.h (atomic_exchange_and_add): Split into ...
25703 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25704 New atomic macros.
51a9ba86 25705
ba6cba9e
MT
257062012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25707
25708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25709
42443a47
JL
257102012-08-13 Jeff Law <law@redhat.com>
25711
25712 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25713 null byte in the output string.
25714
121dce05
JM
257152012-08-10 Joseph Myers <joseph@codesourcery.com>
25716
25717 * sysdeps/unix/sysv/linux/kernel-features.h
25718 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25719 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25720 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25721 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25722 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25723 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25724 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25725
bf51f568
JL
257262012-08-09 Jeff Law <law@redhat.com>
25727
25728 [BZ #13939]
25729 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25730 When avoid_arena is set, don't retry in the that arena. Pick the
25731 next one, whatever it might be.
25732 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25733 (arena_lock): Pass in new parameter to arena_get2.
25734 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25735 arena_get2.
25736 (__libc_malloc): Unify retrying after main arena failure with
25737 __libc_memalign version.
25738 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25739
f85fa270
L
257402012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25741
25742 [BZ #14166]
25743 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25744 to __redirect_strstr.
25745 (__strstr_sse42): Use typeof __redirect_strstr.
25746 (__strstr_ia32): Likewise.
25747 (__libc_strstr): New prototype.
25748 (strstr): Renamed to ...
25749 (__libc_strstr): This.
25750 (strstr): New strong alias of __libc_strstr.
25751 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25752 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25753 __redirect_time.
25754 Include <time.h>.
25755 (__libc_time): New prototype.
25756 (time_ifunc): Replace time with __libc_time.
25757 (time): New strong alias and hidden definition of __libc_time.
25758 (__GI_time): Remove strong alias.
25759 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25760 Include <stddef.h>.
25761 (memmove): Redefined to __redirect_memmove.
25762 (__memmove_sse2): Use typeof __redirect_memmove.
25763 (__memmove_ssse3): Likewise.
25764 (__memmove_ssse3_back): Likewise.
25765 (__libc_memmove): New prototype.
25766 (memmove): Renamed to ...
25767 (__libc_memmove): This.
25768 (memmove): New strong alias of __libc_memmove.
25769
33b4a91e
MS
257702012-08-08 Mark Salter <msalter@redhat.com>
25771
25772 * elf/elf.h
25773 (R_MN10300_TLS_GD): Define.
25774 (R_MN10300_TLS_LD): Likewise.
25775 (R_MN10300_TLS_LDO): Likewise.
25776 (R_MN10300_TLS_GOTIE): Likewise.
25777 (R_MN10300_TLS_IE): Likewise.
25778 (R_MN10300_TLS_LE): Likewise.
25779 (R_MN10300_TLS_DTPMOD): Likewise.
25780 (R_MN10300_TLS_DTPOFF): Likewise.
25781 (R_MN10300_TLS_TPOFF): Likewise.
25782 (R_MN10300_SYM_DIFF): Likewise.
25783 (R_MN10300_ALIGN): Likewise.
25784 (R_MN10300_NUM): Update.
25785
b36137f1
JM
257862012-08-08 Joseph Myers <joseph@codesourcery.com>
25787
25788 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25789 Remove.
25790
cdd915fd
RM
257912012-08-08 Roland McGrath <roland@hack.frob.com>
25792
a2433aac
RM
25793 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25794
cdd915fd
RM
25795 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25796 sysdeps/unix -> sysdeps/posix move.
25797 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25798
bf9b740a
AM
257992012-08-07 Allan McRae <allan@archlinux.org>
25800
25801 [BZ #14303]
25802 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25803 (SUNOS_CPP): Likewise.
25804 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25805 not found.
25806 (open_input): Call CPP using execvp.
25807
93df14ee
JM
258082012-08-07 Joseph Myers <joseph@codesourcery.com>
25809
25810 * sysdeps/unix/sysv/linux/kernel-features.h
25811 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25812 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25813 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25814 (__ASSUME_WAITID_SYSCALL): Likewise.
25815 * sysdeps/unix/sysv/linux/dl-execstack.c
25816 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25817 code unconditional.
25818 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25819 conditional code.
25820 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25821 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25822 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25823 code.
25824 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25825 unconditional.
25826 [__ASSUME_WAITID_SYSCALL]: Likewise.
25827 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25828
d34689de
RM
258292012-08-07 Roland McGrath <roland@hack.frob.com>
25830
a281decc
RM
25831 * sysdeps/unix/closedir.c: Renamed to ...
25832 * sysdeps/posix/closedir.c: ... here.
25833 * sysdeps/unix/dirfd.c: Renamed to ...
25834 * sysdeps/posix/dirfd.c: ... here.
25835 * sysdeps/unix/dirstream.h: Renamed to ...
25836 * sysdeps/posix/dirstream.h: ... here.
25837 * sysdeps/unix/fdopendir.c: Renamed to ...
25838 * sysdeps/posix/fdopendir.c: ... here.
25839 * sysdeps/unix/opendir.c: Renamed to ...
25840 * sysdeps/posix/opendir.c: ... here.
25841 * sysdeps/unix/readdir.c: Renamed to ...
25842 * sysdeps/posix/readdir.c: ... here.
25843 * sysdeps/unix/readdir_r.c: Renamed to ...
25844 * sysdeps/posix/readdir_r.c: ... here.
25845 * sysdeps/unix/rewinddir.c: Renamed to ...
25846 * sysdeps/posix/rewinddir.c: ... here.
25847 * sysdeps/unix/seekdir.c: Renamed to ...
25848 * sysdeps/posix/seekdir.c: ... here.
25849 * sysdeps/unix/telldir.c: Renamed to ...
25850 * sysdeps/posix/telldir.c: ... here.
25851 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25852 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25853 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25854 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25855
22895b47
RM
25856 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25857 * bits/fcntl.h: ... here.
25858
707a53b6
RM
25859 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25860 not 0.
25861 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25862 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25863 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25864 (struct flock): Move l_start, l_len to the beginning.
25865 Use __pid_t for l_pid.
25866 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25867 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25868 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25869 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25870 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25871 [__USE_LARGEFILE64] (struct flock64): New type.
25872 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25873
f0bd3e25
RM
25874 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25875 * bits/dirent.h: ... here.
25876
d34689de
RM
25877 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25878 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25879
6dad2c06
JM
258802012-08-07 Joseph Myers <joseph@codesourcery.com>
25881
25882 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25883 Change from 2.6.0 to 2.6.16.
25884 * sysdeps/unix/sysv/linux/configure: Regenerated.
25885 * sysdeps/unix/sysv/linux/kernel-features.h
25886 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25887 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25888 version.
25889 (__ASSUME_UTIMES): Likewise.
25890 (__ASSUME_CLONE_STOPPED): Remove.
25891 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25892 architectures, not kernel version.
25893 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25894 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25895 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25896 (__ASSUME_WAITID_SYSCALL): Likewise.
25897 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25898 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25899 * README: State 2.6.16 as minimum Linux kernel version. Do not
25900 refer to older versions.
25901
03af9520
RM
259022012-08-06 Roland McGrath <roland@hack.frob.com>
25903
8e49df1d
RM
25904 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25905 Define alphasort64 as an alias.
25906 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25907 Define versionsort64 as an alias.
25908 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25909 Define scandir64 as an alias.
25910 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25911 Define scandirat64 as an alias.
25912 * dirent/alphasort64.c (alphasort64):
25913 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25914 * dirent/versionsort64.c: Likewise.
25915 * dirent/scandir64.c: Likewise.
25916 * dirent/scandirat64.c: Likewise.
25917 * sysdeps/wordsize-64/alphasort.c: File removed.
25918 * sysdeps/wordsize-64/alphasort64.c: File removed.
25919 * sysdeps/wordsize-64/scandir.c: File removed.
25920 * sysdeps/wordsize-64/scandir64.c: File removed.
25921 * sysdeps/wordsize-64/scandirat.c: File removed.
25922 * sysdeps/wordsize-64/scandirat64.c: File removed.
25923 * sysdeps/wordsize-64/versionsort.c: File removed.
25924 * sysdeps/wordsize-64/versionsort64.c: File removed.
25925 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25926 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25927 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25928 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25929 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25930 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25931 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25932 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25933
25934 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25935 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25936 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25937 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25938 [defined __arch64__ || defined __sparcv9]
25939 (__INO_T_MATCHES_INO64_T): New macro.
25940 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25941 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25942 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25943 * sysdeps/unix/sysv/linux/bits/dirent.h
25944 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25945 (_DIRENT_MATCHES_DIRENT64): New macro.
25946
03af9520
RM
25947 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25948 Define lockf64 as an alias.
25949 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25950 Define fseeko64 as an alias.
25951 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25952 Define ftello64 as an alias.
25953 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25954 Define _IO_fgetpos64 and fgetpos64 as aliases.
25955 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25956 Define _IO_fsetpos64 and fsetpos64 as aliases.
25957 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25958 Conditionalize body on this.
25959 * libio/fseeko64.c: Likewise.
25960 * libio/ftello64.c: Likewise.
25961 * libio/iofgetpos64.c: Likewise.
25962 * libio/iofsetpos64.c: Likewise.
25963 * sysdeps/wordsize-64/lockf.c: File removed.
25964 * sysdeps/wordsize-64/lockf64.c: File removed.
25965 * sysdeps/wordsize-64/fseeko.c: File removed.
25966 * sysdeps/wordsize-64/fseeko64.c: File removed.
25967 * sysdeps/wordsize-64/ftello.c: File removed.
25968 * sysdeps/wordsize-64/ftello64.c: File removed.
25969 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25970 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25971 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25972 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25973 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25974 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25975 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25976 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25977 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25978 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25979 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25980 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25981 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25982 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25983
25984 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25985 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25986 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25988 [defined __arch64__ || defined __sparcv9]
25989 (__OFF_T_MATCHES_OFF64_T): New macro.
25990 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25991 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25992 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25993 (__OFF_T_MATCHES_OFF64_T): New macro.
25994
c5757acd
L
259952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25996
25997 * stdlib/secure-getenv.c (__secure_getenv): Replace
25998 GLIBC_2_16 with GLIBC_2_17.
25999
3a31811e
L
260002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26001
26002 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26003 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26004
faa2bccb
DM
260052012-08-03 David S. Miller <davem@davemloft.net>
26006
26007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26008
85fe1997
JM
260092012-08-03 Joseph Myers <joseph@codesourcery.com>
26010
26011 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26012 Remove.
26013 (__ASSUME_CORRECT_SI_PID): Likewise.
26014 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26015 (__ASSUME_TMPFS_NAME): Likewise.
26016 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26017 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26018 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26019 (HAVE_AUX_SECURE): Make definition unconditional.
26020 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26021 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26022
4f75b7a0
RM
260232012-08-03 Roland McGrath <roland@hack.frob.com>
26024
26025 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26026 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26027 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26028 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26029 __eloop_threshold instead of SYMLOOP_MAX.
26030
26031 * sysdeps/generic/eloop-threshold.h: New file.
26032 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26033 of MAXSYMLINKS.
26034 * elf/chroot_canon.c (chroot_canon): Likewise.
26035
7aab07e4
JM
260362012-08-03 Joseph Myers <joseph@codesourcery.com>
26037
26038 [BZ #13717]
26039 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26040 Change to 2.6.0 everywhere.
26041 * sysdeps/unix/sysv/linux/configure: Regenerated.
26042 * sysdeps/unix/sysv/linux/kernel-features.h
26043 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26044 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26045 kernel versions.
26046 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26047 (__ASSUME_FUTEX_REQUEUE): Remove.
26048 (__ASSUME_STATFS64): Define unconditionally.
26049 (__ASSUME_AT_SECURE): Likewise.
26050 (__ASSUME_CORRECT_SI_PID): Likewise.
26051 (__ASSUME_TGKILL): Define without depending on kernel version for
26052 i386.
26053 (__ASSUME_UTIMES): Likewise.
26054 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26055 kernel version.
26056 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26057 (__ASSUME_TMPFS_NAME): Likewise.
26058 * README: Update reference to Linux kernel versions.
26059
b67e9372
MP
260602012-08-02 Marek Polacek <polacek@redhat.com>
26061
1f529f7d 26062 [BZ# 14150]
b67e9372
MP
26063 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26064 libc_cv_asm_type_prefix with %.
26065 * configure: Regenerated.
d2441631
RM
26066 * include/libc-symbols.h: Remove comment about
26067 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26068 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26069 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26070 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26071 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26072 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26073 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26074 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26075 * elf/tst-unique2mod1.c: Likewise.
26076 * elf/tst-unique1mod2.c: Likewise.
26077 * elf/tst-unique1mod1.c: Likewise.
26078 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26079 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26080 Replace ASM_TYPE_DIRECTIVE with .type.
26081 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26082 * sysdeps/i386/sysdep.h: Likewise.
26083 * sysdeps/x86_64/sysdep.h: Likewise.
26084 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26086 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 26087 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
26088 * sysdeps/powerpc/powerpc32/sysdep.h:
26089 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
26090 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26091 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26092 * sysdeps/i386/fpu/e_powf.S: Likewise.
26093 * sysdeps/i386/fpu/e_expl.S: Likewise.
26094 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26095 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26096 * sysdeps/i386/fpu/e_pow.S: Likewise.
26097 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26098 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26099 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26100 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26101 * sysdeps/i386/fpu/e_log2.S: Likewise.
26102 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26103 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26104 * sysdeps/i386/fpu/e_powl.S: Likewise.
26105 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26106 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26107 * sysdeps/i386/fpu/e_logl.S: Likewise.
26108 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26109 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26110 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26111 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26112 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26113 * sysdeps/i386/fpu/e_log.S: Likewise.
26114 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26115 * sysdeps/i386/fpu/e_logf.S: Likewise.
26116 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26117 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26118 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26119 * sysdeps/i386/fpu/e_log10.S: Likewise.
26120 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26121 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26122 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26123 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26124 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26125 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26126 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26127 * sysdeps/i386/i686/strtok.S: Likewise.
26128 * sysdeps/i386/i386-mcount.S: Likewise.
26129 * sysdeps/i386/strtok.S: Likewise.
26130 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26131 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26132 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26133 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26134 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26135 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26136 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26137 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26138 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26139 * sysdeps/x86_64/_mcount.S: Likewise.
26140 * sysdeps/x86_64/strtok.S: Likewise.
26141 * sysdeps/sh/_mcount.S: Likewise.
26142
2747bf9a
RM
261432012-08-01 Roland McGrath <roland@hack.frob.com>
26144
26145 * libio/iofopen.c: Include <fcntl.h>.
26146 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26147 (_IO_fopen64, fopen64): Define as aliases.
26148 * libio/iofopen64.c: Include <fcntl.h>.
26149 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26150 Conditionalize body on this.
26151 * sysdeps/wordsize-64/iofopen.c: File removed.
26152 * sysdeps/wordsize-64/iofopen64.c: File removed.
26153
3fb791b8
MP
261542012-08-01 Marek Polacek <polacek@redhat.com>
26155
26156 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26157 Use dlfcn directly instead of a variable.
26158 (binfmt-subdir): Do not define.
26159 (dlfcn): Likewise.
26160
a9f1039f
JM
261612012-08-01 Joseph Myers <joseph@codesourcery.com>
26162
23bddc06
JM
26163 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26164 Remove all definitions.
26165 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26166 <kernel-features.h>.
26167 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26168 (miss_F_GETOWN_EX): Remove all definitions.
26169 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26170 macro definition.
26171 [!__ASSUME_FCNTL64]: Remove conditional code.
26172 [__ASSUME_FCNTL64]: Make code unconditional.
26173 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26174 <kernel-features.h>.
26175 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26176 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26177 (lockf64) [__NR_fcntl64]: Make code unconditional.
26178 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26179
a9f1039f
JM
26180 * sysdeps/unix/sysv/linux/kernel-features.h
26181 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26182 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26183 Make code unconditional.
26184 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26185 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26187 [__NR_vfork]: Make code unconditional.
26188 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26189 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26191 [__NR_vfork]: Make code unconditional.
26192 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26193 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26194
09c0ee5f
RM
261952012-08-01 Roland McGrath <roland@hack.frob.com>
26196
48aec5b9
RM
26197 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26198 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26199
cd97c966
RM
26200 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26201 Define mkstemp64 as an alias.
3f55550c
RM
26202 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26203 Define mkstemps64 as an alias.
cd97c966
RM
26204 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26205 Define mkostemp64 as an alias.
b8625cfc
RM
26206 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26207 Define mkostemps64 as an alias.
cd97c966
RM
26208 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26209 Conditionalize body on this.
26210 * misc/mkostemp64.c: Likewise.
b8625cfc 26211 * misc/mkostemps64.c: Likewise.
3f55550c 26212 * misc/mkstemps64.c: Likewise.
cd97c966
RM
26213 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26214 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26215 * sysdeps/wordsize-64/mkostemp.c: File removed.
26216 * sysdeps/wordsize-64/mkstemp.c: File removed.
26217 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26218 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26219 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26220 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26221
09c0ee5f
RM
26222 [BZ #14138]
26223 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26224 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26225 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26226 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26227
26228 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26229 compat_symbol macros from <shlib-compat.h> rather than the underlying
26230 default_symbol_version and symbol_version macros, so that DEFAULT
26231 lines in shlib-versions are respected.
26232 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26233
7e66ee51
FW
262342012-08-01 Florian Weimer <fweimer@redhat.com>
26235
26236 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26237 Declare with warn_unused_result.
26238 (setgid, setregid, setegid, setresgid): Likewise.
26239 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26240 Likewise.
26241 * WUR-REPORT: Remove set*id functions.
26242
d2a54255
PT
262432012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26244
26245 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26246
7ecdb005
RM
262472012-07-31 Roland McGrath <roland@hack.frob.com>
26248
b4180a5e 26249 [BZ #10191]
789bd351
RM
26250 * include/sys/socket.h (__libc_accept, __libc_accept4):
26251 Add attribute_hidden.
26252 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26253
40ce302d
RM
26254 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26255 use of PTR_MANGLE.
26256 * inet/getnetgrent_r.c (setup): Likewise.
26257
7ecdb005
RM
26258 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26259
e2eabb2c
DM
262602012-07-31 David S. Miller <davem@davemloft.net>
26261
26262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26263
d0419dbf
JM
262642012-07-31 Joseph Myers <joseph@codesourcery.com>
26265
26266 [BZ #13629]
26267 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26268 value between 1.0 and 2.0 and smaller part has absolute value less
26269 than 1.0.
26270 * math/s_clog10.c (__clog10): Likewise.
26271 * math/s_clog10f.c (__clog10f): Likewise.
26272 * math/s_clog10l.c (__clog10l): Likewise.
26273 * math/s_clogf.c (__clogf): Likewise.
26274 * math/s_clogl.c (__clogl): Likewise.
26275 * math/libm-test.inc (clog_test): Add more tests.
26276 (clog10_test): Likewise.
26277 * sysdeps/i386/fpu/libm-test-ulps: Update.
26278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26279
2bc13872
FW
262802012-07-31 Florian Weimer <fweimer@redhat.com>
26281
26282 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26283 Exit with zero in case no suitable GID is found, and write a
26284 message to standard error.
26285
bea9b193
RM
262862012-07-30 Roland McGrath <roland@hack.frob.com>
26287
26288 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26289 rather than to 1.
26290 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26291 (MAXPATHLEN): Removed.
26292 (NOGROUP, NODEV): New macros.
26293 (setbit, clrbit, isset, isclr): New macros.
26294 (howmany, roundup, powerof2): New macros.
26295 (DEV_BSIZE): New macro.
26296
26297 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26298 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26299
26300 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26301 definition on [!__NO_LONG_DOUBLE_MATH].
26302
26303 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26304 PTR_MANGLE and PTR_DEMANGLE.
26305
26306 * socket/accept4.c (accept4): Rename to __libc_accept4.
26307 Define accept4 as a weak alias.
26308
26309 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26310 on [_DIRENT_HAVE_D_TYPE].
26311 * io/ftw.c (ftw_dir): Likewise.
26312
26313 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26314
26315 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26316
26317 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26318 Use the BSD numbers rather than the arbitrary ones we had.
26319 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26320 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26321 (SIGXCPU, SIGXFSZ): New macros.
26322 (_NSIG): Now 32.
26323
26324 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26325 initializer on [_LIBC_REENTRANT].
26326
26327 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26328 definitions inside [_POSIX_MAPPED_FILES].
26329
26330 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26331
26332 * dirent/opendir.c: Include <fcntl.h>.
26333
26334 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26335 (__libc_getspecific): Likewise.
26336 (__libc_key_create): Likewise.
26337
26338 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26339 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26340 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26341 (tmpfile64): Define as alias.
26342 * sysdeps/wordsize-64/tmpfile.c: File removed.
26343 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26344 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26345 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26346
26347 * stdio-common/vfscanf.c: Include <stdbool.h>.
26348 * nss/makedb.c: Likewise.
26349 * stdio-common/_i18n_number.h: Likewise.
26350 * argp/argp-help.c: Likewise.
26351 * posix/wordexp.c: Likewise.
26352 * sysdeps/posix/spawni.c: Likewise.
26353 * nss/nss_files/files-initgroups.c: Likewise.
26354 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26355 * nss/nss_files/files-initgroups.c: Likewise.
26356 * nss/nss_db/db-netgrp.c: Likewise.
26357 * nss/nss_db/db-initgroups.c: Likewise.
26358 * io/fchmodat.c: Include <sys/stat.h>.
26359
26360 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26361 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26362
26363 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26364 [HAVE_MMAP].
26365
26366 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26367 Add multiple inclusion protection.
26368
e5abc686
DM
263692012-07-27 David S. Miller <davem@davemloft.net>
26370
26371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26372
815e6fa3
GB
263732012-07-27 Gary Benson <gbenson@redhat.com>
26374
26375 [BZ #14298]
26376 * elf/rtld.c: Include <stap-probe.h>.
26377 (dl_main): Added static probes "init_start" and "init_complete".
26378 * elf/dl-load.c: Include <stap-probe.h>.
26379 (lose): Take new parameter "nsid".
26380 Added static probe "map_failed".
26381 (_dl_map_object_from_fd): Pass namespace id to lose.
26382 Added static probe "map_start".
26383 (open_verify): Pass namespace id to lose.
26384 * elf/dl-open.c: Include <stap-probe.h>.
26385 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26386 and "reloc_complete".
26387 * elf/dl-close.c: Include <stap-probe.h>.
26388 (_dl_close_worker): Added static probes "unmap_start" and
26389 "unmap_complete".
26390 * elf/rtld-debugger-interface.txt: New file documenting the above.
26391
9f98c16c
RM
263922012-07-26 Roland McGrath <roland@hack.frob.com>
26393
26394 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26395 rather than a string variable.
26396 * sunrpc/rpc_main.c (h_output): Likewise.
26397 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26398
f3c22df3
PT
263992012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26400
26401 * inet/check_native.c: New file.
26402
3129cfc6
JM
264032012-07-26 Joseph Myers <joseph@codesourcery.com>
26404
da865e95
JM
26405 [BZ #13629]
26406 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26407 if larger part has absolute value 1.0.
26408 * math/s_clog10.c (__clog10): Likewise.
26409 * math/s_clog10f.c (__clog10f): Likewise.
26410 * math/s_clog10l.c (__clog10l): Likewise.
26411 * math/s_clogf.c (__clogf): Likewise.
26412 * math/s_clogl.c (__clogl): Likewise.
26413 * math/libm-test.inc (clog_test): Add more tests.
26414 (clog10_test): Likewise.
26415 * sysdeps/i386/fpu/libm-test-ulps: Update.
26416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26417
3129cfc6
JM
26418 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26419 (pltexit): Likewise.
26420 (La_regs): Likewise.
26421 (La_retval): Likewise.
26422 (int_retval): Likewise.
26423 Update #error for removed macros to refer only to definitions in
26424 tst-audit.h.
26425 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26426 macro.
26427 (pltexit): Likewise.
26428 (La_regs): Likewise.
26429 (La_retval): Likewise.
26430 (int_retval): Likewise.
26431 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26432 macro.
26433 (pltexit): Likewise.
26434 (La_regs): Likewise.
26435 (La_retval): Likewise.
26436 (int_retval): Likewise.
26437 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26438 macro.
26439 (pltexit): Likewise.
26440 (La_regs): Likewise.
26441 (La_retval): Likewise.
26442 (int_retval): Likewise.
26443 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26444 macro.
26445 (pltexit): Likewise.
26446 (La_regs): Likewise.
26447 (La_retval): Likewise.
26448 (int_retval): Likewise.
26449 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26450 macro.
26451 (pltexit): Likewise.
26452 (La_regs): Likewise.
26453 (La_retval): Likewise.
26454 (int_retval): Likewise.
26455 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26456 macro.
26457 (pltexit): Likewise.
26458 (La_regs): Likewise.
26459 (La_retval): Likewise.
26460 (int_retval): Likewise.
26461 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26462 macro definitions in tst-audit.h.
26463 * sysdeps/i386/tst-audit.h: New file.
26464 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26465 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26466 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26467 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26468 * sysdeps/sh/tst-audit.h: Likewise.
26469 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26470 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26471 * sysdeps/x86_64/tst-audit.h: Likewise.
26472
bfc07087
AJ
264732012-07-26 Andreas Jaeger <aj@suse.de>
26474
b1b2aaf8
AJ
26475 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26476 ptrace.
26477
26478 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26479 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26480 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26481 PTRACE_O_MASK.
26482 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26483 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26484 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26485
bfc07087
AJ
26486 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26487 value.
26488
26489 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26490 _sigsys.
26491 (si_call_addr, si_syscall, si_arch): Define new macro.
26492 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26493 _sigsys.
26494 (si_call_addr, si_syscall, si_arch): Define new marcro.
26495 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26496 _sigsys.
26497 (si_call_addr, si_syscall, si_arch): Define new macro.
26498 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26499 _sigsys.
26500 (si_call_addr, si_syscall, si_arch): Define new macro.
26501
89b4b02f
JM
265022012-07-25 Joseph Myers <joseph@codesourcery.com>
26503
26504 [BZ #13717]
26505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26506 Change to 2.4.21 where previously 2.4.1.
26507 * sysdeps/unix/sysv/linux/configure: Regenerated.
26508 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26509 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26510 Linux kernel version.
26511 (__ASSUME_STD_AUXV): Remove.
26512 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26513 kernel version.
26514 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26515 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26516 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26517 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26518 (__ASSUME_NETLINK_SUPPORT): Likewise.
26519 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26520 (__no_netlink_support): Remove conditional definition.
26521 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26522 Remove.
26523 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26524 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26525 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26526 (if_nameindex_ioctl): Remove.
26527 (if_nameindex_netlink): Do not handle __no_netlink_support.
26528 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26529 code.
26530 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26531 Remove conditional code.
26532 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26533 code.
26534 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26535 unconditional.
26536 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26537 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26538 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26539 Remove.
26540 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26541 [!__ASSUME_STD_AUXV]: Remove conditional code.
26542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26543 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26544 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26546 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26547 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26548 code.
26549 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26551 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26552 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26553 conditional code.
26554 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26556 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26557 code.
26558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26559 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26560 conditional code.
26561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26562 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26563 code unconditional.
26564 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26565 conditional code.
26566 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26567 unconditional.
26568 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26569 conditional code.
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26571 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26572 unconditional.
26573 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26574 conditional code.
26575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26576 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26577 code unconditional.
26578 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26579 conditional code.
26580 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26581 unconditional.
26582 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26583 conditional code.
26584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26585 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26586 code unconditional.
26587 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26588 conditional code.
26589 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26590 unconditional.
26591 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26592 conditional code.
26593
842a39cd
AS
265942012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26595
26596 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26597 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26598 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26599 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26600 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26601 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26602 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26603 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26604 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26605 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26606 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26607 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26608 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26609 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26610 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26611 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26612 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26613 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26614 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26616 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26617 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26618 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26619
84b3fd84
FW
266202012-07-25 Florian Weimer <fweimer@redhat.com>
26621
26622 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26623 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26624 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26625 Introduce __libc_secure_getenv.
0c7936d5
FW
26626 * stdlib/Versions (2.17): Add secure_getenv
26627 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26628 * stdlib/secure-getenv.c: Rename __secure_getenv to
26629 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26630 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26631 * stdlib/tst-secure-getenv.c: New.
26632 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26633 * manual/startup.texi (Environment Access): Document
26634 secure_getenv.
84b3fd84
FW
26635 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26636 __libc_secure_getenv.
26637 * inet/ruserpass.c (ruserpass): Likewise.
26638 * malloc/mtrace.c (mtrace): Likewise.
26639 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26640 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26641 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26642 * sysdeps/posix/tempname.c: Likewise. Evaluate
26643 HAVE_SECURE_GETENV.
26644 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26645 __secure_getenv to __libc_secure_getenv.
84b3fd84 26646 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26648 Likewise.
26649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26650 Likewise.
26651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26653 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26658
56e49b71
JM
266592012-07-25 Joseph Myers <joseph@codesourcery.com>
26660
26661 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26662 (struct La_i86_retval): Likewise.
26663 (struct La_x86_64_regs): Likewise.
26664 (struct La_x86_64_retval): Likewise.
26665 (struct La_x32_regs): Likewise.
26666 (struct La_x32_retval): Likewise.
26667 (struct La_ppc32_regs): Likewise.
26668 (struct La_ppc32_retval): Likewise.
26669 (struct La_ppc64_regs): Likewise.
26670 (struct La_ppc64_retval): Likewise.
26671 (struct La_sh_regs): Likewise.
26672 (struct La_sh_retval): Likewise.
26673 (struct La_s390_32_regs): Likewise.
26674 (struct La_s390_32_retval): Likewise.
26675 (struct La_s390_64_regs): Likewise.
26676 (struct La_s390_64_retval): Likewise.
26677 (struct La_sparc32_regs): Likewise.
26678 (struct La_sparc32_retval): Likewise.
26679 (struct La_sparc64_regs): Likewise.
26680 (struct La_sparc64_retval): Likewise.
26681 (struct audit_ifaces): Remove architecture-specific pltenter and
26682 pltexit members.
26683 * sysdeps/i386/ldsodefs.h: New file.
26684 * sysdeps/powerpc/ldsodefs.h: Likewise.
26685 * sysdeps/s390/ldsodefs.h: Likewise.
26686 * sysdeps/sh/ldsodefs.h: Likewise.
26687 * sysdeps/sparc/ldsodefs.h: Likewise.
26688 * sysdeps/x86_64/ldsodefs.h: Likewise.
26689
354691b7
MP
266902012-07-25 Marek Polacek <polacek@redhat.com>
26691
26692 [BZ #6808]
26693 * math/libm-test.inc (yn_test): Add another test.
26694 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26695 to ERANGE when the result is +-Inf.
26696 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26697 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26698 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26699 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26700
bf9e2071
JM
267012012-07-24 Joseph Myers <joseph@codesourcery.com>
26702
26703 * conform/data/time.h-data (NULL): Use macro-constant. Require
26704 equal to 0.
26705 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26706 clock_t.
26707 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26708
57633811
TS
267092012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26710
26711 * configure.in <sysdeps resolving>: Correct printing
26712 Implies_before.
26713 * configure: Regenerate.
26714
c23c33b0
TS
267152012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26716
26717 * math/w_ilogb.c: Include <limits.h>.
26718 * math/w_ilogbl.c: Likewise.
26719
b5982523
JM
267202012-07-20 Joseph Myers <joseph@codesourcery.com>
26721
26722 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26723 va_copy. Document allowing for unavailable va_copy only as
26724 pre-C99 compatibility.
26725 * manual/string.texi (Copying and Concatenation): Use va_copy
26726 instead of __va_copy in concat example.
26727
ac4ea442
PT
267282012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26729
26730 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26731 (__sendto): Use create_address_port. Initialize APORT and deallocate
26732 it if not null.
26733
f98eafbd
PT
26734 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26735 with O_NOLINK passed to __file_name_lookup.
26736
898c7aab
PT
26737 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26738 with O_NOLINK passed to __file_name_lookup.
26739
0ced335a
PT
26740 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26741 negative N or less than NGIDS.
26742
b3404dbd
PT
26743 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26744 type to string_t. Set ERANGE as errno and return it if NAME is not big
26745 enough. Use memcpy instead of strncpy.
26746
0f48659e
JM
267472012-07-20 Joseph Myers <joseph@codesourcery.com>
26748
26749 * elf/Makefile (check-data): Remove.
26750 (localplt.data): New vpath directive.
26751 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26752 instead of $(check-data).
26753 * scripts/data/localplt-generic.data: Move to ...
26754 * sysdeps/generic/localplt.data: ... here.
26755 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26756 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26757 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26759 ... here.
26760 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26762 ... here.
26763 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26765 ... here.
26766 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26768 ... here.
26769 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26771 ... here.
26772 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26774 ... here.
26775
d37cbdaa
AZ
267762012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26777
26778 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26779 PPC32 and PPC64 files.
26780 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26781 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26782
46f85fc2
AK
267832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26784
26785 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26786 __makecontext_ret to ...
26787 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26788 ... here and call exit if uc_link is NULL. New file.
26789 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26790 __makecontext_ret.S.
26791 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26792 __makecontext_ret to ...
26793 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26794 ... here and call exit if uc_link is NULL. New file.
26795 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26796 __makecontext_ret.S.
26797
08f43f9b
AK
267982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26799
26800 * elf/elf.h (R_390_IRELATIVE): New definition.
26801 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26802 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26803 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26804 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26805 (elf_machine_lazy_rel): Likewise.
26806 * sysdeps/s390/dl-irel.h: New file.
26807 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26808 * sysdeps/s390/s390-64/memset.S: New asm code.
26809 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26810 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26811 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26812 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26813 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26814 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26815 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26816 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26817 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26818 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26819 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26820 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26821 * sysdeps/s390/s390-32/memset.S: New asm code.
26822 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26823
3b05db33
MP
268242012-07-17 Marek Polacek <polacek@redhat.com>
26825
26826 [BZ #14349]
26827 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26828 * sysdeps/s390/s390-64/configure.in: Likewise.
26829 * sysdeps/sparc/configure.in: Likewise.
26830 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26831 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26832 * sysdeps/i386/configure.in: Likewise.
26833 * sysdeps/x86_64/configure.in: Likewise.
26834 * sysdeps/sh/configure.in: Likewise.
26835 * sysdeps/s390/s390-32/configure: Regenerated.
26836 * sysdeps/s390/s390-64/configure: Likewise.
26837 * sysdeps/x86_64/configure: Likewise.
26838 * sysdeps/sh/configure: Likewise.
26839 * sysdeps/powerpc/powerpc64/configure: Likewise.
26840 * sysdeps/powerpc/powerpc32/configure: Likewise.
26841 * sysdeps/sparc/configure: Likwise.
26842 * sysdeps/i386/configure: Likewise.
26843
a66877c6
MP
26844 * elf/dl-open.c: Comment fixes.
26845
cfc82fd8
JM
268462012-07-17 Joseph Myers <joseph@codesourcery.com>
26847
bd29910a
JM
26848 * Makefile [CXX] (check-data): Remove.
26849 [CXX] (c++-types.data): New vpath directive.
26850 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26851 vpath. Do not allow for C++ type data being missing.
26852 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26853 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26854 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26855 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26856 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26857 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26858 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26860 ... here.
26861 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26863 ... here.
26864 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26866 ... here.
26867 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26869 ... here.
26870 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26872 ... here.
26873 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26875 ... here.
26876 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26878 ... here.
26879 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26881
cfc82fd8
JM
26882 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26883 definitions to architecture-specific files.
26884 (TLS_IE): Likewise.
26885 (TLS_LD): Likewise.
26886 (TLS_GD): Likewise.
26887 * sysdeps/i386/tls-macros.h: New file.
26888 * sysdeps/powerpc/tls-macros.h: Likewise.
26889 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26890 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26891 * sysdeps/sh/tls-macros.h: Likewise.
26892 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26893 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26894 * sysdeps/x86_64/tls-macros.h: Likewise.
26895
f7db3170
TS
268962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26897
07cbfc23
TS
26898 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26899 zero value for regular exit case.
26900
f7db3170
TS
26901 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26902 (__start_context): Preserve zero value for regular exit case.
26903
dc97c227
TS
269042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26905 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26906
26907 * manual/setjmp.texi (setcontext): Clarify normal process
26908 termination when uc_link is the null pointer.
26909 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26910 exit call.
26911
d0cd7d02
AS
269122012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26913
26914 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26915 preprocessor. Test for each exception mask separately.
26916
dd318934
AJ
269172012-07-16 Andreas Jaeger <aj@suse.de>
26918
26919 * po/ru.po: Update from translation team.
26920
8048311a
JM
269212012-07-15 Joseph Myers <joseph@codesourcery.com>
26922
26923 * conform/data/string.h-data (NULL): Use macro-constant. Require
26924 equal to 0.
26925 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26926 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26927 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26928 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26930
b637d46e
AJ
269312012-07-13 Andreas Jaeger <aj@suse.de>
26932
26933 * po/fr.po: Update from translation team.
26934
541428fe
MP
269352012-07-12 Marek Polacek <polacek@redhat.com>
26936
26937 [BZ #14173]
26938 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26939 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26940 loop condition.
26941
ec332e94
JM
269422012-07-12 Joseph Myers <joseph@codesourcery.com>
26943
26944 [BZ #13717]
26945 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26946 Change to 2.4.1 where previously 2.4.0.
26947 * sysdeps/unix/sysv/linux/configure: Regenerated.
26948 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26949 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26950 version.
26951 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26952 (__ASSUME_AT_CLKTCK): Remove.
26953 (__ASSUME_AT_PAGESIZE): Likewise.
26954 (__ASSUME_AT_XID): Likewise.
26955 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26956 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26957 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26958 unconditionally.
26959 (HAVE_AUX_PAGESIZE): Likewise.
26960 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26961 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26962 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26963
7b6e99be
JB
269642012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26965
26966 [BZ #14307]
26967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26968 the temporary buffer used to invoke __gethostbyname2_r,
26969 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26970 host_data / struct gaih_addrtuple.
26971 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26972 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26973 header file nss/nsswitch.h.
26974 * nss/nsswitch.h (global scope): Add definition of implementation
26975 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26976 resolv/nss_dns/dns-host.c).
26977
608404eb
AJ
269782012-07-11 Andreas Jaeger <aj@suse.de>
26979
26980 * po/fr.po: Update from translation team.
26981
71220aca
AJ
26982 * po/sv.po: Update from translation team
26983 * po/fr.po: Another update from translation team.
26984
28cfe843
AZ
269852012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26986
26987 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26988 for subnormals or multiply small sinh result by itself.
26989 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26991
6b90f981
DM
269922012-07-11 David S. Miller <davem@davemloft.net>
26993
26994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26995
c6825772
AS
269962012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26997
26998 [BZ #14347]
26999 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27000 (INTERNAL_MARK): Shift it here.
27001
7b8e0d49
MP
270022012-07-10 Marek Polacek <polacek@redhat.com>
27003
27004 [BZ #14151]
27005 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27006 libc_cv_asm_global_directive with .globl.
27007 * configure: Regenerated.
27008 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27009 with .globl.
27010 * sysdeps/i386/configure: Regenerated.
27011 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27012 with .globl.
27013 * sysdeps/x86_64/configure: Regenerated.
27014 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27015 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27016 * elf/tst-unique2mod2.c: Likewise.
27017 * elf/tst-unique2mod1.c: Likewise.
27018 * elf/tst-unique1mod2.c: Likewise.
27019 * elf/tst-unique1mod1.c: Likewise.
27020 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27021 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27022 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27023 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27024 * sysdeps/mach/sysdep.h: Likewise.
27025 * sysdeps/i386/sysdep.h: Likewise.
27026 * sysdeps/i386/i386-mcount.S: Likewise.
27027 * sysdeps/x86_64/_mcount.S: Likewise.
27028 * sysdeps/x86_64/sysdep.h: Likewise.
27029 * sysdeps/sh/_mcount.S: Likewise.
27030 * sysdeps/sh/sysdep.h: Likewise.
27031 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27032 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27033 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27034 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27035 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27036 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27037 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27038 * locale/localeinfo.h: Likewise.
27039 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27040 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27041
6c55cda3
RM
270422012-07-09 Roland McGrath <roland@hack.frob.com>
27043
27044 [BZ #14336]
27045 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27046 system".
27047 * manual/message.texi (The Uniforum approach): Likewise.
27048 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27049 (glibc iconv Implementation): Likewise.
27050
638a572e
JM
270512012-07-09 Joseph Myers <joseph@codesourcery.com>
27052
27053 [BZ #14337]
27054 * math/s_clog.c (__clog): Avoid scaling a value down where that
27055 could result in underflow.
27056 * math/s_clog10.c (__clog10): Likewise.
27057 * math/s_clog10f.c (__clog10f): Likewise.
27058 * math/s_clog10l.c (__clog10l): Likewise.
27059 * math/s_clogf.c (__clogf): Likewise.
27060 * math/s_clogl.c (__clogl): Likewise.
27061 * math/libm-test.inc (clog_test): Add more tests.
27062 (clog10_test): Likewise.
27063 * sysdeps/i386/fpu/libm-test-ulps: Update.
27064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27065
261f4859
AS
270662012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27067
0abaf3e4
AS
27068 [BZ #14283]
27069 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27070 by 7 not 8 to examine high bit of fractional part.
27071
261f4859
AS
27072 [BZ #14042]
27073 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27074 for call to __mcount_internal.
27075 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27076 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27077 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27078
f17ac40d
JM
270792012-07-06 Joseph Myers <joseph@codesourcery.com>
27080
9ad63c23
JM
27081 [BZ #14154]
27082 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27083 approximation for values within 0x1p-13f of an odd multiple of
27084 pi/4.
27085 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27086 exception. Add more tests.
27087 * sysdeps/i386/fpu/libm-test-ulps: Update.
27088
f17ac40d
JM
27089 [BZ #6778]
27090 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27091 inputs and return -1 for them. Do not check for +Inf in case not
27092 reachable for +Inf.
27093 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27094 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27095 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27096 and return -1 for them. Do not check for +Inf in case not
27097 reachable for +Inf.
27098 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27099 define.
27100 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27101 and return -1 for them. Do not check for +Inf in case not
27102 reachable for +Inf.
27103 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27104 spurious underflow.
27105 * sysdeps/i386/fpu/libm-test-ulps: Update.
27106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27107
fb21f89b
MF
271082012-07-06 Mike Frysinger <vapier@gentoo.org>
27109
27110 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27111
cdfe2c5e
JM
271122012-07-05 Joseph Myers <joseph@codesourcery.com>
27113
27114 [BZ #14157]
27115 [BZ #14331]
27116 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27117 could result in spurious underflow. Scale down values above
27118 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27119 * math/s_csqrtf.c (__csqrtf): Likewise.
27120 * math/s_csqrtl.c (__csqrtl): Likewise.
27121 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27122 spurious underflow.
27123 * sysdeps/i386/fpu/libm-test-ulps: Update.
27124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27125
70d35b67
AS
271262012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27127
704bc459
AS
27128 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27129 xopen-msg.sed.
27130 * catgets/xopen-msg.awk: New file.
27131 * catgets/xopen-msg.sed: Removed.
27132
70d35b67
AS
27133 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27134 po2text.sed.
27135 * intl/po2test.awk: New file.
27136 * intl/po2test.sed: Removed.
27137
ca61cf32
JM
271382012-07-04 Joseph Myers <joseph@codesourcery.com>
27139
27140 [BZ #14328]
27141 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27142 or multiply small sinh result by itself.
27143 * math/s_ctanf.c (__ctanf): Likewise.
27144 * math/s_ctanh.c (__ctanh): Likewise.
27145 * math/s_ctanhf.c (__ctanhf): Likewise.
27146 * math/s_ctanhl.c (__ctanhl): Likewise.
27147 * math/s_ctanl.c (__ctanl): Likewise.
27148 * math/libm-test.inc (ctan_test_tonearest): New function.
27149 (ctan_test_towardzero): Likewise.
27150 (ctan_test_downward): Likewise.
27151 (ctan_test_upward): Likewise.
27152 (ctanh_test_tonearest): Likewise.
27153 (ctanh_test_towardzero): Likewise.
27154 (ctanh_test_downward): Likewise.
27155 (ctanh_test_upward): Likewise.
27156 (main): Call these new functions.
27157 * sysdeps/i386/fpu/libm-test-ulps: Update.
27158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27159
ca48a46a
MF
271602012-07-03 Mike Frysinger <vapier@gentoo.org>
27161
27162 * .gitignore: Delete /ports entry.
27163
9d63d37d
AJ
271642012-07-03 Andreas Jaeger <aj@suse.de>
27165
27166 * po/bg.po: Update from translation team.
27167 * po/cs.po: Likewise.
27168 * po/de.po: Likewise.
27169 * po/hr.po: Likewise.
27170 * po/nl.pl: Likewise.
27171 * po/pl.po: Likewise.
27172 * po/vi.po: Likewise.
27173
370ca3d2
JM
271742012-07-03 Joseph Myers <joseph@codesourcery.com>
27175
95f5a9a8
JM
27176 * Makeconfig [!+link] (+link-before-libc): New variable.
27177 [!+link] (+link-after-libc): Likewise.
27178 [!+link] (+link-tests): Likewise.
27179 [!+link] (+link): Define in terms of $(+link-before-libc) and
27180 $(+link-after-libc).
27181 [!+link-static] (+link-static-before-libc): New variable.
27182 [!+link-static] (+link-static-after-libc): Likewise.
27183 [!+link-static] (+link-static-tests): Likewise.
27184 [!+link-static] (+link-static): Define in terms of
27185 $(+link-static-before-libc) and $(+link-static-after-libc).
27186 [build-shared] (link-libc-before-gnulib): New variable.
27187 [build-shared] (link-libc-tests): Likewise.
27188 [build-shared] (link-libc): Define in terms of
27189 $(link-libc-before-gnulib).
27190 [!build-shared] (link-libc-tests): New variable.
27191 (link-libc-static-tests): New variable.
27192 [!gnulib] (gnulib-arch): New variable.
27193 [!gnulib] (gnulib-tests): Likewise.
27194 [!gnulib] (static-gnulib-arch): Likewise.
27195 [!gnulib] (static-gnulib-tests): Likewise.
27196 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27197 Define with "=" instead of ":=".
27198 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27199 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27200 * Rules (binaries-all-notests): New variable.
27201 (binaries-all-tests): Likewise.
27202 (binaries-static-notests): Likewise.
27203 (binaries-static-tests): Likewise.
27204 (binaries-all): Define using $(binaries-all-notests) and
27205 $(binaries-all-tests).
27206 (binaries-static): Define using $(binaries-static-notests) and
27207 $(binaries-static-tests).
27208 (binaries-shared-tests): New variable.
27209 (binaries-shared-notests): Likewise.
27210 (binaries-shared): Remove variable.
27211 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27212 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27213 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27214 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27215 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27216 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27217 * elf/Makefile (sln-modules): New variable.
27218 (extra-objs): Add $(sln-modules:=.o).
27219 (ldconfig-modules): Add static-stubs.
27220 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27221 * elf/static-stubs.c: New file.
27222
7a845b2c
JM
27223 [BZ #14283]
27224 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27225 by 7 not 8 to examine high bit of fractional part. Use volatile
27226 variables when splitting into final array of floats if
27227 __FLT_EVAL_METHOD__ != 0.
27228 * math/libm-test.inc (cos_test): Add another test.
27229 (sin_test): Likewise.
27230 * sysdeps/i386/fpu/libm-test-ulps: Update.
27231
e2283f38
JM
27232 [BZ #14273]
27233 * math/libm-test.inc (cosh_test): Add more tests.
27234
370ca3d2
JM
27235 * version.h (RELEASE): Set to "development".
27236 (VERSION): Set to "2.16.90".
27237
ee9247c3
CD
272382012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27239
27240 * NEWS: Update copyright. Remove last-updated date.
27241 Mention math library bug fixes and timezone data changes.
27242 * README: Mention GNU/Hurd, x32, and HPPA support status.
27243
4648c381
TS
272442012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27245
27246 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27247
aac78a43
AJ
272482012-06-27 Andreas Jaeger <aj@suse.de>
27249
27250 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27251
ed3dbfad
AJ
272522012-06-25 Andreas Jaeger <aj@suse.de>
27253
27254 * sysdeps/s390/fpu/libm-test-ulps: Update.
27255
4d0ee855
AS
272562012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27257 Thomas Schwinge <thomas@codesourcery.com>
27258
27259 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27260 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27262 fanotify_mark.
27263
af1bce34
TS
272642012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27265
a9fa33ba
TS
27266 * sysdeps/mach/start.c: Remove file.
27267 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27268 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27269 * sysdeps/sh/init-first.c: Likewise.
27270
58f902b8
TS
27271 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27272 registers for frame unwinding purposes, add CFI directives.
27273 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27274 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27275 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27276 Likewise.
27277
1518f58b
TS
27278 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27279 __fortify_fail returning.
27280 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27281
db9b5059
TS
27282 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27283 sysdeps/sh/____longjmp_chk.S.
27284 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27285 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27286 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27287 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27288
967705fe
TS
27289 * sysdeps/sh/abort-instr.h: New file.
27290 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27291 process in case exit returns.
27292
a9def8c4
TS
27293 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27294 initialize the GOT register before use.
27295
2a649725
TS
27296 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27297 calculation of ARGC > 4.
27298
af1bce34
TS
27299 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27300 meaningful names to some local labels.
27301
d230f50a
KK
273022012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27303 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27304
27305 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27306 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27307 (__arch_compare_and_exchange_val_16_acq): Likewise.
27308 (__arch_compare_and_exchange_val_32_acq): Likewise.
27309 (atomic_exchange_and_add): Fix gUSA sequence.
27310 (atomic_add): Likewise.
27311 (atomic_add_negative): Likewise.
27312 (atomic_add_zero): Likewise.
27313 (atomic_bit_test_set): Likewise.
27314
0479b305
AS
273152012-06-22 Andreas Schwab <schwab@redhat.com>
27316
27317 [BZ #13579]
27318 * include/link.h (struct link_map): Add l_free_initfini.
27319 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27320 l_initfini.
27321 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27322 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27323 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27324 set.
27325
0e3933b9
CD
273262012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27327
27328 * configure.in: Use AC_LANG_SOURCE.
27329 * configure: Regenerate.
27330
4248b1b1
RM
273312012-06-22 Roland McGrath <roland@hack.frob.com>
27332
27333 * configure.in (libc_cv_localstatedir): New substituted variable.
27334 * configure: Regenerated.
27335 * config.make.in (localstatedir): New variable, substituted from
27336 libc_cv_localstatedir.
27337 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27338 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27339 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27340 * sysdeps/gnu/configure: Regenerated.
27341
006dd861
JL
273422012-06-21 Jeff Law <law@redhat.com>
27343
27344 [BZ #14277]
27345 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27346 free. Simplify list management for _LIBC case.
27347
79662d42
JM
273482012-06-21 Joseph Myers <joseph@codesourcery.com>
27349
b7abb4bf
JM
27350 [BZ #14273]
27351 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27352 Clear sign bit of 64-bit integer value before comparing against
27353 overflow value.
27354
79662d42
JM
27355 * sysdeps/mach/configure: Regenerated.
27356
1f150908
L
273572012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27358
27359 [BZ #14278]
27360 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27361
28363bbf
JL
273622012-06-21 Jeff Law <law@redhat.com>
27363
27364 [BZ #13882]
27365 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27366 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 27367 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
27368 * elf/dl-open.c (dl_open_worker): Likewise.
27369
09615db4
CD
273702012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27371
27372 * scripts/list-sources.sh: Scan PORTS for translations.
27373 * po/libc.pot: Regenerated.
27374
2174c6dd
AJ
273752012-06-21 Andreas Jaeger <aj@suse.de>
27376
27377 [BZ #12194]
27378 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27379 warning.
27380 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27381 * bits/byteswap-16.h (__bswap_16): Likewise.
27382 * bits/byteswap.h (__bswap_constant_16): Likewise.
27383
3ee947b1
L
273842012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27385
27386 [BZ #14117]
a2f34833
L
27387 * sysdeps/i386/fpu_control.h: Removed.
27388 * sysdeps/x86_64/fpu_control.h: Moved to ...
27389 * sysdeps/x86/fpu_control.h: Here.
27390
3ee947b1
L
27391 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27392 (_FPU_SETCW): Likewise.
27393
ed1825f8
L
273942012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27395
25f1282a
L
27396 [BZ #14117]
27397 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27398 * sysdeps/x86/fpu/bits/mathinline.h: This.
27399 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27400
ed1825f8
L
27401 [BZ #14050]
27402 [BZ #14117]
27403 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27404 functions if __x86_64__ is defined.
27405
36d54b74
CLT
274062012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27407
27408 * string/endian.h: Add !__ASSEMBLER__ condition for including
27409 conversion interfaces.
27410
10285c21
JM
274112012-06-15 Joseph Myers <joseph@codesourcery.com>
27412
27413 [BZ #14241]
27414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27415 of ABS(x) in calculating zero to negative powers other than odd
27416 integers.
27417 * math/libm-test.inc (pow_test): Add more tests.
27418
06c5abbd
AJ
274192012-06-15 Andreas Jaeger <aj@suse.de>
27420
27421 * manual/contrib.texi (Contributors): Update entry of Liubov
27422 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27423 Machado Filho.
27424
a3aeac40
CH
274252012-06-15 Cyril Hrubis <metan@ucw.cz>
27426
27427 * string/string.h: Add __wur to GNU version of strerror_r.
27428
49bdf4c1
L
274292012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27430
27431 [BZ #14229]
27432 * string/Makefile (tests): Add tst-strtok_r.
27433 * string/tst-strtok_r.c: New file.
27434 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27435 RAX_LP/RDX_LP on SAVE_PTR.
27436
834f9b8d
RM
274372012-06-14 Roland McGrath <roland@hack.frob.com>
27438
27439 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27440
75fa1921
JM
274412012-06-14 Joseph Myers <joseph@codesourcery.com>
27442
27443 * libm_test.inc (csqrt_test): Allow more spurious underflow
27444 exceptions.
27445 (j0_test): Likewise.
27446 (j1_test): Likewise.
27447 (y0_test): Likewise.
27448 (y1_test): Likewise.
27449
771766df
CD
274502012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27451
27452 * po/Makefile (libc.pot): Use UTF-8 charset.
27453
ceb9e56b
PP
274542012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27455
27456 [BZ #14210]
27457 Suppress sign-conversion warning from FD_SET.
27458 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27459 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27460 not unsigned long int.
27461 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27462
ddb28975
L
274632012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27464
27465 [BZ #14050]
27466 [BZ #14117]
27467 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27468 __extern_always_inline instead of __extern_inline.
27469 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27470 (__signbit): Likewise.
27471 (__signbitl): Support C++ namespace.
27472 (lrintf): New inline function.
27473 (lrint): Likewise.
27474 (llrintf): Likewise.
27475 (llrint): Likewise.
27476 (fmaxf): Likewise.
27477 (fmax): Likewise.
27478 (fminf): Likewise.
27479 (fmin): Likewise.
27480 (rint): Likewise.
27481 (rintf): Likewise.
27482 (ceil): Likewise.
27483 (ceilf): Likewise.
27484 (floor): Likewise.
27485 (floorf): Likewise.
27486 (nearbyint): Likewise.
27487 (nearbyintf): Likewise.
27488
d7b4fb26
TS
274892012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27490
27491 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27492 non-default versions.
27493
eb55f5c2
RM
274942012-06-11 Roland McGrath <roland@hack.frob.com>
27495
27496 [BZ #14218]
27497 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27498
366af02c
TS
274992012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27500
99ff6e5c
TS
27501 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27502 (FE_UPWARD, FE_DOWNWARD): Don't define.
27503 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27504 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27505
366af02c
TS
27506 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27507 reading it.
27508 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27509 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27510
793ea851
KK
275112012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27512
27513 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27514 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27515 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27516 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27517
a728a38f
L
275182012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27519
27520 [BZ #14117]
c08010c7
L
27521 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27522 * sysdeps/i386/fpu/Implies: New file.
27523 * sysdeps/x86_64/fpu/Implies: Likewise.
27524 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27525 * sysdeps/x86/fpu/bits/fenv.h: This.
27526
a728a38f
L
27527 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27528 __SSE_MATH__.
27529
6e230d11
SP
275302012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27531
27532 [BZ #14134]
27533 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27534 character 0xffff that matches the last element of the
27535 conversion table.
27536
1b671feb
AZ
275372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27538
27539 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27540 fmodl commit.
27541
6043738b
AZ
275422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27543
27544 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27545 values higher than 25.6283.
27546
34ae0b32
AZ
275472012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27548
27549 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27550 subnormal exponent extraction and add some __builtin_expect.
27551 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27552 Fix for subnormal mantissa calculation.
27553
1214ec8f
MF
275542012-06-04 Mike Frysinger <vapier@gentoo.org>
27555
27556 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27557 cpu2 is -1 and errno is not ENOSYS.
27558
f3d1f93c
L
275592012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27560
27561 [BZ #14117]
0e4a3cd7
L
27562 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27563 * sysdeps/x86/bits/string.h: This.
27564 * sysdeps/x86_64/bits/string.h: Removed.
27565
6704c645
L
27566 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27567 if not compiling for x86-64, but compiling for >= i486.
27568
48495318
L
27569 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27570 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27571
14adcbfc
L
27572 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27573 New macro from Linux kernel 3.4.0.
27574 (FP_XSTATE_MAGIC2): Likewise.
27575 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27576 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27577 (struct _fpx_sw_bytes): New struct.
27578 (struct _xsave_hdr): Likewise.
27579 (struct _ymmh_state): Likewise.
27580 (struct _xstate): Likewise.
27581
68e408ab
L
27582 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27583 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27584 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27585 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27586 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27587 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27588
f3d1f93c
L
27589 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27590 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27591 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27592 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27593 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27594 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27595
d9dc34cd
TMQMF
275962012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27597
27598 [BZ #13743]
27599 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27600 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27601 (sysdep_headers): Include sys/platform/ppc.h.
27602 * sysdeps/powerpc/test-gettimebase.c: Test for
27603 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27604 * manual/Makefile (appendices): Include platform.texi.
27605 * manual/contrib.texi (Contributors): Update @node pointers.
27606 * manual/maint.texi (Maintenance): Likewise.
27607 (Platform): New node.
27608 * manual/platform.texi: New file. Document the new features.
27609
4af3879c
SP
276102012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27611 Jakub Jelinek <jakub@redhat.com>
27612
27613 [BZ #14188]
27614 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27615 where __builtin_expect is unavailable.
27616
2fd6ff13
DM
276172012-06-03 David S. Miller <davem@davemloft.net>
27618
27619 * stdlib/longlong.h: Updated from GCC.
27620
173f7220
AS
276212012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27622
27623 [BZ #14042]
27624 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27625 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27626 __mcount_internal.
27627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27628 (GLIBC_2.16): Likewise.
27629
f34a1c6f
L
276302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27631
27632 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27633
88a4576f
JM
276342012-06-01 Joseph Myers <joseph@codesourcery.com>
27635
ea32bcdd
JM
27636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27637 (default-abi): New variable.
27638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27639 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27640 variable.
27641 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27642 Likewise.
27643 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27644 Likewise.
27645 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27646 Likewise.
27647
88a4576f
JM
27648 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27649 definition. Document in comment.
27650
402fe938
DM
276512012-06-01 David S. Miller <davem@davemloft.net>
27652
27653 * stdlib/longlong.h: Updated from GCC.
27654
3553723f
L
276552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27656
27657 [BZ #14117]
3bd872c4
L
27658 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27659 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27660 sys/debugreg.h sys/io.h here.
27661 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27662 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27663 sys/io.h.
27664 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27665 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27666 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27667 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27668 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27669 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27670
3553723f
L
27671 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27672 Define only if __x86_64__ is defined.
27673
4842e4fe
JM
276742012-06-01 Joseph Myers <joseph@codesourcery.com>
27675
c5bfe3d5
JM
27676 [BZ #14048]
27677 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27678 Use int64_t for variable i.
27679 * math/libm-test.inc (fmod_test): Add more tests.
27680
4842e4fe
JM
27681 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27682 z computation is not scheduled after fetestexcept.
27683 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27684 Use math_force_eval instead of asm to ensure calculation scheduled
27685 before exception test.
27686 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27687 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27688
efb73488
AJ
276892012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27690
27691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27692 computation is not scheduled after fetestexcept.
27693
29bcce7c
L
276942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27695
27696 [BZ #14117]
27697 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27698 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27699
73a68f94
AZ
277002012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27701
27702 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27703 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27704
67b6df78
L
277052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27706
edf2933a 27707 [BZ #14117]
ebc64a18
L
27708 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27709 <bits/wordsize.h>.
27710 (__WCHAR_MIN): Support __WORDSIZE == 64.
27711 (__WCHAR_MAX): Likewise.
27712
edf2933a
L
27713 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27714 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27715
57c6cf40
L
27716 [BZ #14183]
27717 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27718 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27719
67b6df78 27720 [BZ #14117]
8eb6281e
L
27721 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27722 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27723
aac639f4
L
27724 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27725 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27726
67b6df78
L
27727 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27728 Defined to 1 if __x86_64__ isn't defined.
27729 (_STAT_VER_LINUX_OLD): New.
27730 (st_atime): Remove duplicate.
27731 (st_mtime): Likewise.
27732 (st_ctime): Likewise.
27733
1c2cfe81
DM
277342012-05-31 David S. Miller <davem@davemloft.net>
27735
27736 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27737 entries.
27738
5be8418c
AS
277392012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27740
e7725326
AS
27741 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27742 gen-libm-test.pl.
27743
5be8418c
AS
27744 [BZ #14132]
27745 * elf/dl-reloc.c: Include <_itoa.h>.
27746 (_dl_reloc_bad_type): Remove use of INTUSE.
27747 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27748 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27749 * stdio-common/psiginfo.c (psiginfo): Likewise.
27750 * stdio-common/psignal.c (psignal): Likewise.
27751 * string/strsignal.c (strsignal): Likewise.
27752 * include/signal.h (_sys_siglist): Declare hidden proto.
27753 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27754 INTVARDEF with libc_hidden_data_def.
27755 * stdio-common/itoa-udigits.c: Likewise.
27756 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27757 (_itoa_lower_digits_internal): Remove declaration.
27758 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27759 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27760 (_sys_sigabbrev_internal): Remove aliases.
27761 (_sys_siglist): Define hidden alias.
27762
507352f1
MT
277632012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27764
27765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27766 bits/sysctl.h.
27767
42bbb1c3
L
277682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27769
27770 [BZ #14117]
6bd784b6
L
27771 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27772 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27773
8bca20f0
L
27774 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27775 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27776 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27777 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27778 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27779 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27780
f9e890a9
L
27781 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27782 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27783 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27784
471101a1
L
27785 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27786 with __addr.
27787 (insw): Likewise.
27788 (insl): Likewise.
27789 (outsb): Likewise.
27790 (outsw): Likewise.
27791 (outsl): Likewise.
27792
6451c862
L
27793 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27794 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27795 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27796
a254b8c9
L
27797 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27798 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27799 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27800 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27801 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27802 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27803
b8dfdd92
L
27804 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27805 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27806
578cd270
L
27807 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27808 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27809
de662f5f
L
27810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27811 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27812 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27813
25653439
L
27814 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27815 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27816 to ...
27817 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27818
6bad24a0
L
27819 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27820 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27821 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27822
42bbb1c3
L
27823 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27824 for x86-64.
27825 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27826
2d10d547
JM
278272012-05-31 Joseph Myers <joseph@codesourcery.com>
27828
27829 * math/math.h (M_El): Use two more decimal places.
27830 (M_LOG2El): Likewise.
27831 (M_LOG10El): Likewise.
27832 (M_LN2l): Likewise.
27833 (M_LN10l): Likewise.
27834 (M_PIl): Likewise.
27835 (M_PI_2l): Likewise.
27836 (M_PI_4l): Likewise.
27837 (M_1_PIl): Likewise.
27838 (M_2_PIl): Likewise.
27839 (M_2_SQRTPIl): Likewise.
27840 (M_SQRT2l): Likewise.
27841 (M_SQRT1_2l): Likewise.
27842
f230c29b
DM
278432012-05-31 David S. Miller <davem@davemloft.net>
27844
27845 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27846 values between float registers.
27847 * sysdeps/sparc/sparc64/memset.S: Likewise.
27848 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27849
fed806c3
MF
278502012-05-31 Mike Frysinger <vapier@gentoo.org>
27851
27852 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27853 -D_FORTIFY_SOURCE=1.
27854 (CPPFLAGS-tst-longjmp_chk.c): Define.
27855 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27856 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27857 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27858 CFLAGS-tst-wchar-h.c.
27859
30917259
MP
278602012-05-31 Marek Polacek <polacek@redhat.com>
27861
27862 [BZ #14132]
27863 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27864 __endmntent_internal): Remove declaration.
27865 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27866 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27867 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27868
1c58d5dc
DM
278692012-05-30 David S. Miller <davem@davemloft.net>
27870
27871 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27872 (___Q_simulate_exceptions): Use real FP ops rather than writing
27873 into the %fsr.
27874 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27875 Likewise.
27876
7dc00e0d
L
278772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27878
27879 [BZ #14117]
0bd53985
L
27880 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27881 * sysdeps/x86/bits/xtitypes.h: This.
27882
3a257e66
L
27883 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27884 * sysdeps/x86/bits/wordsize.h: This.
27885
62f62904
L
27886 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27887 * sysdeps/x86/bits/huge_vall.h: This.
27888
404fe9d9
L
27889 * sysdeps/i386/bits/select.h: Removed.
27890 * sysdeps/x86_64/bits/select.h: Renamed to ...
27891 * sysdeps/x86/bits/select.h: This.
27892
d48d0446
L
27893 * sysdeps/i386/bits/setjmp.h: Removed.
27894 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27895 * sysdeps/x86/bits/setjmp.h: This.
27896
7dc00e0d
L
27897 * sysdeps/i386/bits/mathdef.h: Removed.
27898 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27899 * sysdeps/x86/bits/mathdef.h: This.
27900
03277f8f
AS
279012012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27902
27903 [BZ #14132]
27904 * include/sys/socket.h (__connect_internal)
27905 (__libc_sa_len_internal): Remove declaration.
27906 (__connect, __libc_sa_len): Declare hidden_proto.
27907 (SA_LEN): Remove use of INTUSE.
27908 * socket/connect.c: Add libc_hidden_def.
27909 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27910 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27911 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27912 alias.
27913 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27914 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27915 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27916 of adding _internal alias.
27917
13764867
L
279182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27919
27920 [BZ #14117]
6bd97696
L
27921 * sysdeps/i386/bits/link.h: Removed.
27922 * sysdeps/i386/bits/linkmap.h: Likewise.
27923 * sysdeps/x86_64/bits/link.h: Renamed to ...
27924 * sysdeps/x86/bits/link.h: This.
27925 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27926 * sysdeps/x86/bits/linkmap.h: This.
27927
f726f0bb
L
27928 * sysdeps/i386/bits/endian.h: Removed.
27929 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27930 * sysdeps/x86/bits/endian.h: This.
27931
13764867
L
27932 * sysdeps/i386/bits/byteswap.h: Removed.
27933 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27934 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27935 * sysdeps/x86/bits/byteswap.h: This.
27936 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27937 * sysdeps/x86/bits/byteswap-16.h: This.
27938 * sysdeps/i386/Implies: Add x86.
27939 * sysdeps/x86_64/Implies: Likewise.
27940
ae251b0b
DM
279412012-05-30 David S. Miller <davem@davemloft.net>
27942
27943 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27944 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27945 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27946 (FP_TRAPPING_EXCEPTIONS): Define.
27947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27948 (FP_TRAPPING_EXCEPTIONS): Define.
27949 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27950 subnormals only when inexact has been signalled or underflow
27951 exceptions are enabled.
27952 (_FP_PACK_CANONICAL): Likewise.
27953
d5c90867
L
279542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27955
27956 [BZ #14183]
27957 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27958 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27959
63f1549e
RH
279602012-05-30 Richard Henderson <rth@twiddle.net>
27961
8d8f2279
RH
27962 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27963 with #ifndef NOT_IN_libc.
27964
63f1549e
RH
27965 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27966 marked to avoid plt entry.
27967
0ab0291b
L
279682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27969
27970 [BZ #14112]
27971 * Makeconfig (default-abi): New macro.
27972 (abi-includes): Likewise.
27973 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27974 $(abi-$(default-abi)-lib-soname) for soname if defined.
27975 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27976 abi-variants.
27977 * Makefile (installed-stubs): Likewise.
27978 * include/stubs-biarch.h: Removed.
27979 * scripts/lib-names.awk: Only handle one library at a time.
27980 * scripts/soversions.awk: Remove WORDSIZE support.
27981 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27982 entries.
27983 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27984 Removed.
27985 (syscall-list-default-condition): Likewise.
27986 (syscall-list-default-condition): Likewise.
27987 (syscall-list-includes): Likewise.
27988 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27989 syscall-list-* with abi-*. Handle undefined abi-variants.
27990 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27991 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27992 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27993 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27994 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27995 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27996 Removed.
27997 (syscall-list-32-options): Likewise.
27998 (syscall-list-32-condition): Likewise.
27999 (syscall-list-64-options): Likewise.
28000 (syscall-list-64-condition): Likewise.
28001 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28002 macro.
28003 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28004 Renamed to ...
28005 (abi-*): This.
28006 (abi-64-ld-soname): New macro.
28007 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28008 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28009 Renamed to ...
28010 (abi-*): This.
28011 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28012 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28013
4da0431d
JM
280142012-05-30 Joseph Myers <joseph@codesourcery.com>
28015
3a85279c
JM
28016 * sysdeps/unix/sysv/linux/kernel-features.h
28017 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28018 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28019 include <kernel-features.h>.
28020 [!__NR_ftruncate64]: Remove conditional code.
28021 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28022 [__NR_ftruncate64]: Make code unconditional.
28023 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28024 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28025 include <kernel-features.h>.
28026 [!__NR_ftruncate64]: Remove conditional code.
28027 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28028 [__NR_ftruncate64]: Make code unconditional.
28029 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28031 include <kernel-features.h>.
28032 [!__NR_ftruncate64]: Remove conditional code.
28033 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28034 [__NR_ftruncate64]: Make code unconditional.
28035 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28037 include <kernel-features.h>.
28038 [!__NR_ftruncate64]: Remove conditional code.
28039 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28040 [__NR_ftruncate64]: Make code unconditional.
28041 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28042
4da0431d
JM
28043 * configure.in (libc_cv_fpie): Weaken to a compile test using
28044 LIBC_TRY_CC_OPTION.
28045 * configure: Regenerated.
28046
11ef492c
AK
280472012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28048
28049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28053 Refreshed.
28054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28060 Refreshed.
28061
d66ef399
DM
280622012-05-27 David S. Miller <davem@davemloft.net>
28063
28064 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28065 (___Q_zero): New.
28066 (__Q_simulate_exceptions): Return void. Change to simulate
28067 exceptions by writing into the %fsr.
28068 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28069 (__Qp_handle_exceptions): Likewise.
28070 (numbers): Delete.
28071 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28072 __Qp_handle_exceptions.
28073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28074 __Qp_handle_exceptions.
28075 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28076 as unused and give dummy FP_RND_NEAREST initializer.
28077 (FP_INHIBIT_RESULTS): Define.
28078 (___Q_simulate_exceptions): Update declaration.
28079 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28080 formatting.
28081 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28082 as unused and give dummy FP_RND_NEAREST initializer.
28083 (__Qp_handle_exceptions): Update declaration.
28084 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28085 formatting.
28086
04fb54b5
TS
280872012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28088
28089 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28090 the temporary FPU control word.
28091 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28092 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28093 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28094 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28095 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28096 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28097 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28098 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28099 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28100 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28101 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28102
3f99608f
KK
281032012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28104
28105 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28106 fields.
28107
65a4de4e
CLT
281082012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28109
28110 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28111 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28112 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28113 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28114 Likewise.
28115 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28116 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28117 Likewise.
28118
15749d40
UD
281192012-05-27 Ulrich Drepper <drepper@gmail.com>
28120
28121 * po/h.po: Update from translation team.
28122
25dbcb27
AS
281232012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28124
3d3f8e55
AS
28125 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28126
25dbcb27
AS
28127 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28128 handling of denormals.
28129 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28130 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28131 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28132 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28136 Likewise.
28137
7ad47a80 281382012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
28139
28140 [BZ #14152]
28141 * math/libm-test.inc (fma_test): Don't always expect underflow
28142 exception.
28143
9c6ea9fa
SP
281442012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28145
28146 [BZ #12416]
28147 * elf/tst-execstack.c: Include stackinfo.h.
28148 (do_test): Adjust test case to ensure that pthread_getattr_np
28149 behaviour remains the same after marking stack executable.
28150
a8239222
JM
281512012-05-25 Joseph Myers <joseph@codesourcery.com>
28152
28153 * sysdeps/unix/sysv/linux/kernel-features.h
28154 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28155 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28156 kernel-features.h.
28157 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28158 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28159 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28160 kernel-features.h.
28161 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28162 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28163
918b5606
L
281642012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28165
28166 * configure.in: Define the default includes to being none.
28167 * configure: Regenerated.
28168
3a097cc7
RM
281692012-05-25 Roland McGrath <roland@hack.frob.com>
28170
8422c9a5
RM
28171 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28172 * sysdeps/x86_64/setjmp.S: Likewise.
28173 * sysdeps/i386/bsd-setjmp.S: Likewise.
28174 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28175 * sysdeps/i386/setjmp.S: Likewise.
28176 * sysdeps/i386/__longjmp.S: Likewise.
28177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28178 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28179
3a097cc7
RM
28180 * include/stap-probe.h: New file.
28181 * configure.in: Handle --enable-systemtap.
28182 * configure: Regenerated.
28183 * config.h.in (USE_STAP_PROBE): New #undef.
28184 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28185 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28186 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28187
21708942
JM
281882012-05-25 Joseph Myers <joseph@codesourcery.com>
28189
28190 [BZ #13717]
28191 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28192 to 2.4.0 where earlier.
28193 * sysdeps/unix/sysv/linux/configure: Regenerated.
28194 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28195 <kernel-features.h>.
28196 [__ASSUME_32BITUIDS]: Make code unconditional.
28197 [!__ASSUME_32BITUIDS]: Remove conditional code.
28198 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28199 <kernel-features.h>.
28200 [__ASSUME_32BITUIDS]: Make code unconditional.
28201 [!__ASSUME_32BITUIDS]: Remove conditional code.
28202 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28203 [__ASSUME_32BITUIDS]: Make code unconditional.
28204 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28205 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28206 <kernel-features.h>.
28207 [__ASSUME_32BITUIDS]: Make code unconditional.
28208 [!__ASSUME_32BITUIDS]: Remove conditional code.
28209 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28210 <kernel-features.h>.
28211 [__ASSUME_32BITUIDS]: Make code unconditional.
28212 [!__ASSUME_32BITUIDS]: Remove conditional code.
28213 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28214 <kernel-features.h>.
28215 [__ASSUME_32BITUIDS]: Make code unconditional.
28216 [!__ASSUME_32BITUIDS]: Remove conditional code.
28217 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28218 <kernel-features.h>.
28219 [__ASSUME_32BITUIDS]: Make code unconditional.
28220 [!__ASSUME_32BITUIDS]: Remove conditional code.
28221 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28222 <kernel-features.h>.
28223 [__ASSUME_32BITUIDS]: Make code unconditional.
28224 [!__ASSUME_32BITUIDS]: Remove conditional code.
28225 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28226 <kernel-features.h>.
28227 [__ASSUME_32BITUIDS]: Make code unconditional.
28228 [!__ASSUME_32BITUIDS]: Remove conditional code.
28229 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28230 <kernel-features.h>.
28231 [__ASSUME_32BITUIDS]: Make code unconditional.
28232 [!__ASSUME_32BITUIDS]: Remove conditional code.
28233 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28234 <kernel-features.h>.
28235 [__ASSUME_32BITUIDS]: Make code unconditional.
28236 [!__ASSUME_32BITUIDS]: Remove conditional code.
28237 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28238 <kernel-features.h>.
28239 [__ASSUME_32BITUIDS]: Make code unconditional.
28240 [!__ASSUME_32BITUIDS]: Remove conditional code.
28241 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28242 <kernel-features.h>.
28243 [__ASSUME_32BITUIDS]: Make code unconditional.
28244 [!__ASSUME_32BITUIDS]: Remove conditional code.
28245 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28246 <kernel-features.h>.
28247 [__NR_setresgid] (__setresgid): Do not declare.
28248 [__ASSUME_32BITUIDS]: Make code unconditional.
28249 [!__ASSUME_32BITUIDS]: Remove conditional code.
28250 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28251 <kernel-features.h>.
28252 [__NR_setresuid] (__setresuid): Do not declare.
28253 [__ASSUME_32BITUIDS]: Make code unconditional.
28254 [!__ASSUME_32BITUIDS]: Remove conditional code.
28255 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28256 <kernel-features.h>.
28257 [__ASSUME_32BITUIDS]: Make code unconditional.
28258 [!__ASSUME_32BITUIDS]: Remove conditional code.
28259 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28260 <kernel-features.h>.
28261 [__ASSUME_32BITUIDS]: Make code unconditional.
28262 [!__ASSUME_32BITUIDS]: Remove conditional code.
28263 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28264 <kernel-features.h>.
28265 [__ASSUME_32BITUIDS]: Make code unconditional.
28266 [!__ASSUME_32BITUIDS]: Remove conditional code.
28267 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28268 <kernel-features.h>.
28269 [__ASSUME_32BITUIDS]: Make code unconditional.
28270 [!__ASSUME_32BITUIDS]: Remove conditional code.
28271 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28272 <kernel-features.h>.
28273 [__ASSUME_32BITUIDS]: Make code unconditional.
28274 [!__ASSUME_32BITUIDS]: Remove conditional code.
28275 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28276 <kernel-features.h>.
28277 [__ASSUME_32BITUIDS]: Make code unconditional.
28278 [!__ASSUME_32BITUIDS]: Remove conditional code.
28279 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28280 <kernel-features.h>.
28281 [__ASSUME_32BITUIDS]: Make code unconditional.
28282 [!__ASSUME_32BITUIDS]: Remove conditional code.
28283 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28284 <kernel-features.h>.
28285 [__ASSUME_32BITUIDS]: Make code unconditional.
28286 [!__ASSUME_32BITUIDS]: Remove conditional code.
28287 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28288 <kernel-features.h>.
28289 [__ASSUME_32BITUIDS]: Make code unconditional.
28290 [!__ASSUME_32BITUIDS]: Remove conditional code.
28291 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28292 <kernel-features.h>.
28293 [__ASSUME_32BITUIDS]: Make code unconditional.
28294 [!__ASSUME_32BITUIDS]: Remove conditional code.
28295 * sysdeps/unix/sysv/linux/kernel-features.h
28296 (__ASSUME_SETRESUID_SYSCALL): Remove.
28297 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28298 (__ASSUME_32BITUIDS): Likewise.
28299 (__ASSUME_LDT_WORKS): Likewise.
28300 (__ASSUME_O_DIRECTORY): Likewise.
28301 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28302 architecture but not kernel version.
28303 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28304 (__ASSUME_MMAP2_SYSCALL): Likewise.
28305 (__ASSUME_STAT64_SYSCALL): Likewise.
28306 (__ASSUME_IPC64): Likewise.
28307 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28308 <kernel-features.h>.
28309 [__ASSUME_32BITUIDS]: Make code unconditional.
28310 [!__ASSUME_32BITUIDS]: Remove conditional code.
28311 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28312 <kernel-features.h>.
28313 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28314 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28315 132096]: Remove conditional code.
28316 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28317 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28318 <kernel-features.h>.
28319 [__ASSUME_32BITUIDS]: Make code unconditional.
28320 [!__ASSUME_32BITUIDS]: Remove conditional code.
28321 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28322 <kernel-features.h>.
28323 [__ASSUME_32BITUIDS]: Make code unconditional.
28324 [!__ASSUME_32BITUIDS]: Remove conditional code.
28325 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28326 <kernel-features.h>.
28327 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28328 unconditional.
28329 (__setresgid): Do not declare.
28330 [__ASSUME_32BITUIDS]: Make code unconditional.
28331 [!__ASSUME_32BITUIDS]: Remove conditional code.
28332 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28333 <kernel-features.h>.
28334 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28335 unconditional.
28336 (__setresuid): Do not declare.
28337 [__ASSUME_32BITUIDS]: Make code unconditional.
28338 [!__ASSUME_32BITUIDS]: Remove conditional code.
28339 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28340 <kernel-features.h>.
28341 [__ASSUME_32BITUIDS]: Make code unconditional.
28342 [!__ASSUME_32BITUIDS]: Remove conditional code.
28343 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28344 <kernel-features.h>.
28345 [__ASSUME_32BITUIDS]: Make code unconditional.
28346 [!__ASSUME_32BITUIDS]: Remove conditional code.
28347
a386f1cc
RH
283482012-05-25 Richard Henderson <rth@twiddle.net>
28349
28350 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28351 dl_hwcap to ifunc resolver.
28352 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28353 elf_ifunc_invoke.
28354 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28355 dl_hwcap to ifunc resolver.
28356 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28357
b6550497
JM
283582012-05-24 Joseph Myers <joseph@codesourcery.com>
28359
28360 [BZ #14153]
28361 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28362 for |x| <= 2**-26, not 2**-57.
28363 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28364 exception.
28365
b0bc23a1
JL
283662012-05-24 Jeff Law <law@redhat.com>
28367
28368 * stdio-common/Makefile (tests): Add bug25.
28369 * stdio-common/bug25.c: New test.
28370
347c92e9
L
283712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28372
28373 [BZ #13576]
28374 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28375 multiple of MALLOC_ALIGNMENT in size.
28376 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28377
6bcc8b3f
JM
283782012-05-24 Joseph Myers <joseph@codesourcery.com>
28379
28380 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28381 Require >= 256.
28382 (FILENAME_MAX): Use macro-int-constant.
28383 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28384 (_IOFBF): Use macro-int-constant.
28385 (_IOLBF): Likewise.
28386 (_IONBF): Likewise.
28387 (SEEK_CUR): Likewise.
28388 (SEEK_END): Likewise.
28389 (SEEK_SET): Likewise.
28390 (TMP_MAX): Likewise.
28391 (EOF): Use macro-int-constant. Require < 0.
28392 (NULL): Use macro-constant. Require == 0.
28393 (stdin): Require type to be FILE *.
28394 (stdout): Likewise.
28395 (stderr): Likewise.
28396 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28397 macro-int-constant.
28398 (EXIT_SUCCESS): Likewise.
28399 (NULL): Use macro-constant. Require == 0.
28400 (RAND_MAX): Use macro-int-constant.
28401 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28402 [C99-based standards] (strtof): Require function.
28403 [C99-based standards] (strtold): Likewise.
28404 [C99-based standards] (strtoll): Likewise.
28405 [C99-based standards] (strtoull): Likewise.
28406 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28407 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28408 [ISO || ISO99 || ISO11] (math.h): Likewise.
28409 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28410 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28411 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28412
d18ea0c5
AS
284132012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28414
28415 [BZ #14132]
56d25bb8
AS
28416 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28417 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28418 * intl/dgettext.c (DCGETTEXT): Likewise.
28419 * intl/gettext.c (DCGETTEXT): Likewise.
28420 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28421 * posix/regex_internal.h (gettext): Likewise.
28422 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28423 Remove declaration.
28424 * include/argz.h (__argz_count_internal)
28425 (__argz_stringify_internal): Remove declaration.
28426 (__argz_count, __argz_stringify): Declare hidden proto.
28427 * intl/dcgettext.c: Remove use of INTDEF.
28428 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28429 * string/argz-stringify.c: Likewise.
28430 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28431 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28432 Declare hidden proto.
d18ea0c5
AS
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.
28436 * include/stdio.h (__asprintf_internal): Don't declare.
28437 (__asprintf): Don't define as macro. Declare hidden proto.
28438 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28439 (__fsetlocking): Declare hidden proto.
28440 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28441 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28442 hidden proto.
28443 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28444 (_IO_setlinebuf): Remove use of INTUSE.
28445 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28446 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28447 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28448 Remove declaration.
28449 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28450 (_IO_do_flush): Remove use of INTUSE.
28451 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28452 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28453 (_IO_adjust_column, _IO_least_wmarker)
28454 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28455 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28456 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28457 (_IO_default_doallocate, _IO_wdefault_doallocate)
28458 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28459 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28460 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28461 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28462 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28463 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28464 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28465 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28466 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28467 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28468 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28469 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28470 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28471 proto.
28472 (_IO_flush_all_internal, _IO_adjust_column_internal)
28473 (_IO_default_uflow_internal, _IO_default_finish_internal)
28474 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28475 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28476 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28477 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28478 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28479 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28480 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28481 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28482 (_IO_file_close_internal, _IO_file_close_it_internal)
28483 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28484 (_IO_file_init_internal, _IO_file_attach_internal)
28485 (_IO_file_fopen_internal, _IO_file_read_internal)
28486 (_IO_file_sync_internal, _IO_file_seek_internal)
28487 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28488 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28489 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28490 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28491 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28492 (_IO_list_all_internal, _IO_link_in_internal)
28493 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28494 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28495 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28496 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28497 (_IO_do_write_internal, _IO_padn_internal)
28498 (_IO_getline_info_internal, _IO_getline_internal)
28499 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28500 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28501 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28502 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28503 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28504 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28505 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28506 with libc_hidden_ver, remove use of INTUSE.
28507 * libio/genops.c: Likewise.
28508 * libio/freopen.c: Likewise.
28509 * libio/freopen64.c: Likewise.
28510 * libio/iofclose.c: Likewise.
28511 * libio/iofdopen.c: Likewise.
28512 * libio/iofflush.c: Likewise.
28513 * libio/iofflush_u.c: Likewise.
28514 * libio/iofgets.c: Likewise.
28515 * libio/iofgets_u.c: Likewise.
28516 * libio/iofopen.c: Likewise.
28517 * libio/iofopncook.c: Likewise.
28518 * libio/iofread.c: Likewise.
28519 * libio/iofread_u.c: Likewise.
28520 * libio/ioftell.c: Likewise.
28521 * libio/iofwrite.c: Likewise.
28522 * libio/iogetline.c: Likewise.
28523 * libio/iogets.c: Likewise.
28524 * libio/iogetwline.c: Likewise.
28525 * libio/iopadn.c: Likewise.
28526 * libio/iopopen.c: Likewise.
28527 * libio/ioseekoff.c: Likewise.
28528 * libio/ioseekpos.c: Likewise.
28529 * libio/iosetbuffer.c: Likewise.
28530 * libio/iosetvbuf.c: Likewise.
28531 * libio/ioungetc.c: Likewise.
28532 * libio/ioungetwc.c: Likewise.
28533 * libio/iovdprintf.c: Likewise.
28534 * libio/iovsprintf.c: Likewise.
28535 * libio/iovsscanf.c: Likewise.
28536 * libio/memstream.c: Likewise.
28537 * libio/obprintf.c: Likewise.
28538 * libio/oldfileops.c: Likewise.
28539 * libio/oldiofclose.c: Likewise.
28540 * libio/oldiofdopen.c: Likewise.
28541 * libio/oldiofopen.c: Likewise.
28542 * libio/oldiopopen.c: Likewise.
28543 * libio/oldstdfiles.c: Likewise.
28544 * libio/putc.c: Likewise.
28545 * libio/setbuf.c: Likewise.
28546 * libio/setlinebuf.c: Likewise.
28547 * libio/stdfiles.c: Likewise.
28548 * libio/strops.c: Likewise.
28549 * libio/vasprintf.c: Likewise.
28550 * libio/vscanf.c: Likewise.
28551 * libio/vsnprintf.c: Likewise.
28552 * libio/vswprintf.c: Likewise.
28553 * libio/wfiledoalloc.c: Likewise.
28554 * libio/wfileops.c: Likewise.
28555 * libio/wgenops.c: Likewise.
28556 * libio/wmemstream.c: Likewise.
28557 * libio/wstrops.c: Likewise.
28558 * libio/__fpurge.c: Likewise.
28559 * libio/__fsetlocking.c: Likewise.
28560 * assert/assert.c: Likewise.
28561 * debug/fgets_chk.c: Likewise.
28562 * debug/fgets_u_chk.c: Likewise.
28563 * debug/fread_chk.c: Likewise.
28564 * debug/fread_u_chk.c: Likewise.
28565 * debug/gets_chk.c: Likewise.
28566 * debug/obprintf_chk.c: Likewise.
28567 * debug/vasprintf_chk.c: Likewise.
28568 * debug/vdprintf_chk.c: Likewise.
28569 * debug/vsnprintf_chk.c: Likewise.
28570 * debug/vsprintf_chk.c: Likewise.
28571 * malloc/mtrace.c: Likewise.
28572 * misc/error.c: Likewise.
28573 * misc/syslog.c: Likewise.
28574 * stdio-common/asprintf.c: Likewise.
28575 * stdio-common/fxprintf.c: Likewise.
28576 * stdio-common/getw.c: Likewise.
28577 * stdio-common/isoc99_fscanf.c: Likewise.
28578 * stdio-common/isoc99_scanf.c: Likewise.
28579 * stdio-common/isoc99_vfscanf.c: Likewise.
28580 * stdio-common/isoc99_vscanf.c: Likewise.
28581 * stdio-common/isoc99_vsscanf.c: Likewise.
28582 * stdio-common/printf-prs.c: Likewise.
28583 * stdio-common/printf_fp.c: Likewise.
28584 * stdio-common/printf_fphex.c: Likewise.
28585 * stdio-common/printf_size.c: Likewise.
28586 * stdio-common/putw.c: Likewise.
28587 * stdio-common/scanf.c: Likewise.
28588 * stdio-common/sprintf.c: Likewise.
28589 * stdio-common/tmpfile.c: Likewise.
28590 * stdio-common/vfprintf.c: Likewise.
28591 * stdio-common/vfscanf.c: Likewise.
28592 * stdlib/strfmon_l.c: Likewise.
28593 * sunrpc/openchild.c: Likewise.
28594 * sunrpc/xdr_stdio.c: Likewise.
28595 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28596 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28597
d6c33fda
RM
285982012-05-24 Roland McGrath <roland@hack.frob.com>
28599
c1487492
RM
28600 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28601
28602 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28603 in the third column, to generate for the shared library an IFUNC
28604 that uses _dl_vdso_vsym.
28605 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28606 * Makeconfig (object-suffixes-noshared): New variable.
28607
28608 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28609 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28610 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28611 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28612
d6c33fda
RM
28613 [BZ #14132]
28614 * include/sys/time.h (__gettimeofday): Remove macro.
28615 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28616 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28617 Remove INTDEF.
28618 (__gettimeofday): Add libc_hidden_def.
28619 (gettimeofday): Add libc_hidden_weak.
28620 * sysdeps/mach/gettimeofday.c: Likewise.
28621 * sysdeps/posix/gettimeofday.c: Likewise.
28622 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28623 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28624 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28625 (__gettimeofday_internal): Remove strong_alias.
28626 (__gettimeofday): Add libc_hidden_def.
28627 (gettimeofday): Add libc_hidden_weak.
28628 * sysdeps/unix/syscalls.list (gettimeofday):
28629 Remove __gettimeofday_internal alias.
28630
b5a2bbe6
L
286312012-05-24 Daniel Jacobowitz <drow@false.org>
28632 H.J. Lu <hongjiu.lu@intel.com>
28633
28634 [BZ #12495]
28635 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28636 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28637 (largebin_index_32_big): New.
28638 (largebin_index): Use it for 16-byte alignment.
28639 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28640 correction with front_misalign.
28641
cfba4fda
L
286422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28643
7f907421
L
28644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28646 Likewise.
28647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28648 Likewise.
28649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28650 Likewise.
28651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28652 Likewise.
28653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28654 Likewise.
28655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28656 Likewise.
28657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28658 Likewise.
28659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28660 Likewise.
28661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28662 Likewise.
28663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28664 Likewise.
28665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28666 Likewise.
28667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28668 Likewise.
28669
cfba4fda
L
28670 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28671 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28672
80bad0cc
JM
286732012-05-24 Joseph Myers <joseph@codesourcery.com>
28674
7a25eb06
JM
28675 [BZ #10846]
28676 [BZ #14036]
28677 * math/libm-test.inc (exp_test): Add test from bug 14036.
28678 (pow_test): Add test from bug 10846.
28679
795405f9
JM
28680 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28681 and other flags.
28682 (special_function): Do not include flags in test name.
28683 (parse_args): Likewise.
28684 * sysdeps/i386/fpu/libm-test-ulps: Update.
28685 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28686 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28687 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28689
80bad0cc
JM
28690 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28691 exceptions.
28692 * math/libm-test.inc ("Philosophy"): Update comment about
28693 exception testing.
28694 (UNDERFLOW_EXCEPTION): New macro.
28695 (UNDERFLOW_EXCEPTION_OK): Likewise.
28696 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28697 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28698 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28699 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28700 (INVALID_EXCEPTION_OK): Update value.
28701 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28702 (OVERFLOW_EXCEPTION_OK): Likewise.
28703 (IGNORE_ZERO_INF_SIGN): Likewise.
28704 (test_exceptions): Handle underflow exceptions.
28705 (acos_test): Update for underflow exception expectations.
28706 (cexp_test): Likewise.
28707 (clog_test): Likewise.
28708 (clog10_test): Likewise.
28709 (csqrt_test): Likewise.
28710 (ctan_test): Likewise.
28711 (ctanh_test): Likewise.
28712 (exp_test): Likewise.
28713 (exp10_test): Likewise.
28714 (exp2_test): Likewise.
28715 (expm1_test): Likewise.
28716 (fma_test): Likewise.
28717 (j0_test): Likewise.
28718 (jn_test): Likewise.
28719 (nexttoward_test): Likewise.
28720 (pow_test): Likewise.
28721 (scalbn_test): Likewise.
28722 (scalbln_test): Likewise.
28723 (tan_test): Likewise.
28724 (y1_test): Likewise.
28725 * sysdeps/i386/fpu/libm-test-ulps: Update.
28726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28727
9e0e3d0b
DM
287282012-05-23 David S. Miller <davem@davemloft.net>
28729
28730 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28731 (__libc_sigaction): Remove unused local variables.
28732
ccd0a08f
L
287332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28734
28735 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28736
62bdf9a6
PE
287372012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28738
f8591f80
PE
28739 mktime: avoid signed integer overflow
28740 * time/mktime.c (__mktime_internal): Do not mishandle the case
28741 where diff == INT_MIN.
28742
94c7d826
PE
28743 mktime: simplify computation of average
28744 * time/mktime.c (ranged_convert): Use new time_t_avg function
28745 instead of rolling our own (probably-slower) code.
28746
ce73d683
PE
28747 mktime: do not assume signed right shift propagates sign bit
28748 * time/mktime.c (isdst_differ): New static function.
28749 (__mktime_internal): No need to normalize tm_isdst now.
28750 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28751 tm_isdst values.
28752
72a22e59
PE
28753 mktime: merge another wrapv change from gnulib
28754 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28755 from some compilers.
28756
68605433
PE
28757 mktime: remove incorrect attempt at unusual arithmetics
28758 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28759 The code didn't really work on such machines anyway.
28760 (TYPE_MINIMUM): Assume two's complement.
28761 (twos_complement_arithmetic): Verify that long_int and time_t
28762 are two's complement (or unsigned, in the latter case).
28763
03cf7fe3
PE
28764 mktime: check signed shifts on long_int and time_t, too
28765 * time/mktime.c (SHR): Check that shifts work as desired
28766 on the types long_int and time_t too, as SHR is used on
28767 such types.
28768
f04dfbc2
PE
28769 mktime: do not assume 'long' is wide enough
28770 * time/mktime.c (verify): Move decl up.
28771 (long_int): New type.
28772 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28773 to remove assumption in the code that 'long' is wide enough to
28774 store year values. This assumption is not true on x32 and on
28775 some non-glibc platforms.
28776
62bdf9a6
PE
28777 mktime: merge wrapv change from gnulib
28778 * time/mktime.c (WRAPV): New macro.
28779 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28780 (guess_time_tm, __mktime_internal): Do not assume that signed
28781 integer overflow wraps around; modern compilers generate code
28782 where this assumption is no longer valid.
28783
5e292e4f
L
287842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28785
28786 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28787 Replace "jmp L(pseudo_end)" with "ret".
28788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28789 Likewise.
28790
8caf8c87
AJ
287912012-05-23 Andreas Jaeger <aj@suse.de>
28792
28793 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28794 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28795
1a09dc56
AJ
287962012-05-23 Andreas Jaeger <aj@suse.de>
28797 Maximilian Attems <max@stro.at>
28798
28799 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28800 New macros.
28801
1c87aba0
L
288022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28803
28804 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28805 code so that pseudo_end is just ret and the stack pointer is
28806 correct also for static library in error case.
28807
40e45bd5
JM
288082012-05-23 Joseph Myers <joseph@codesourcery.com>
28809
c2670533
JM
28810 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28811 move to syscalls.list.
28812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28816
40e45bd5
JM
28817 * manual/install.texi (Running make install): Do not mention Linux
28818 kernel version for which pt_chown is not needed.
28819 (Linux): Do not mention problems with nscd with 2.0 kernels.
28820 * INSTALL: Regenerated.
28821
be08eda5
AJ
288222012-05-23 Andreas Jaeger <aj@suse.de>
28823
28824 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28825 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28826 macro.
28827 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28828 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28829 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28830 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28831 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28832 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28833 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28834 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28835 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28836 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28837 * sysdeps/unix/sysv/linux/bits/in.h
28838 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28839
a6a056bb
RM
288402012-05-22 Roland McGrath <roland@hack.frob.com>
28841
28842 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28843 (PREPARE_VERSION): Just use assert instead, it will be elided
28844 under [NDEBUG] anyway.
28845
c9009328
L
288462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28847
28848 * sysdeps/unix/sysv/linux/Makefile: Include
28849 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28850 (sysdep_routines): Remove sysctl.
c9009328
L
28851 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28852 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28853 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28854 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28855 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28856
73338355
AJ
288572012-05-22 Andreas Jaeger <aj@suse.de>
28858
28859 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28860 that pseudo_end is just ret and the stack pointer is correct also
28861 for static library in error case.
28862
d44638b0
PP
288632012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28864
28865 [BZ #14122]
28866 * nss/nsswitch.c (defconfig_entries): New variable.
28867 (__nss_database_lookup): Don't leak defconfig entries.
28868 (nss_parse_service_list): Don't leak on error paths.
28869 (free_database_entries): New function.
28870 (free_defconfig): New function.
28871 (free_mem): Move common code to free_database_entries.
28872
31a39bd8
L
288732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28874
da0331a8
L
28875 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28876 Add arch_prctl.
28877 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28878
31a39bd8
L
28879 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28880 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28882 New macro.
28883 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28884 (INTERNAL_SYSCALL_TYPES): Likewise.
28885 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28886 (LOAD_REGS_TYPES_[1-6]): Likewise.
28887 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28888 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28889
45470df3
AZ
288902012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28891
28892 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28893 copysignl for GLIBC_2_0.
28894 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28895 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28897 logbl for GLIBC_2_0.
28898 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28899 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28900
98a61bcb
L
289012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28902
a4f6e481
L
28903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28904 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28905
f63d5db6
L
28906 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28907 Use "neg %eax".
28908
98a61bcb
L
28909 * time/mktime.c: Update copyright years.
28910
95770f14
PE
289112012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28912
6226efbd
PE
28913 mktime: merge comment-quoting-style change from gnulib
28914 * time/mktime.c: Quote 'like this' in comments.
28915 The GNU coding standards suggest that we no longer quote `like this',
28916 as "`" and "'" are typically rendered asymmetrically nowadays.
28917 The typical gnulib style is to quote 'like this' when quoting
28918 code, and "like this" when quoting English.
28919
b99e4f78
PE
28920 * time/mktime.c (compile-command): Add "-I.".
28921
643e01e6
PE
28922 mktime: merge mktime-internal.h change from gnulib
28923 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28924
2554247d
PE
28925 mktime: merge time_r change from gnulib
28926 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28927
826dd0ab
PE
28928 mktime: merge DEBUG change from gnulib
28929 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28930 case system <time.h> has a #define.
28931
bd83aabe
PE
28932 mktime: merge <sys/types.h> change from gnulib
28933 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28934 since <time.t> is now guaranteed to define time_t.
28935
95770f14
PE
28936 mktime: merge HAVE_CONFIG_H change from gnulib
28937 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28938
5e1a27a9
L
289392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28940
0e44a77e
L
28941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28942 Use "neg %eax".
28943
5e1a27a9
L
28944 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28945 __rlim_t cast.
28946 (struct rusage): Use anonymous union to pad each field to
28947 __syscall_slong_t.
28948
46259bec
DM
289492012-05-21 David S. Miller <davem@davemloft.net>
28950
28951 * Makefules (o-iterator): Remove .s cases.
28952 (compile-command.s): Delete.
28953 (COMPILE.s): Delete.
28954 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28955
59f0c22e
JM
289562012-05-21 Joseph Myers <joseph@codesourcery.com>
28957
28958 * configure.in (libc_cv_predef_stack_protector): Only consider
28959 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28960 * configure: Regenerated.
28961
20c07380
L
289622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28963
bbb3154b
L
28964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28965 New macro. Use R*LP on int and pointer.
28966 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28967 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28968 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28969 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28970
20c07380
L
28971 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28972 [__WORDSIZE_TIME64_COMPAT32] instead of
28973 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28974 (struct utmp): Likewise.
28975 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28976 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28977 Renamed to ...
28978 (__WORDSIZE_TIME64_COMPAT32): This.
28979 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28980 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28981 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28982 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28983 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28984 (__WORDSIZE_TIME64_COMPAT32): New macro.
28985
d8d1017e
AJ
289862012-05-21 Andreas Jaeger <aj@suse.de>
28987
28988 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28989 only if [SHARED]. Add prototype for __wcschr_ia32.
28990
6c7fb145
RM
289912012-05-21 Roland McGrath <roland@hack.frob.com>
28992
28993 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28994 of %rbp unmolested in the jmp_buf while mangling the low bits.
28995 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28996 unmolested high bits of %rbp while demangling the low bits.
28997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28998
66274218
AJ
289992012-05-21 Andreas Jaeger <aj@suse.de>
29000
07c58f8f
AJ
29001 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29002 * sunrpc/svc_simple.c: Use it for registerrpc.
29003 * sunrpc/xcrypt.c: Use it for passwd2des.
29004
66274218
AJ
29005 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29006
61f65140
L
290072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29008
29009 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29010 Don't define if [__SYSCALL_WORDSIZE != 32].
29011 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29012 New macro.
29013
5fefb436
AJ
290142012-05-21 Bruno Haible <bruno@clisp.org>
29015 Andreas Jaeger <aj@suse.de>
29016
29017 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29018 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29019 inptr and inend for must_buffer_ch.
29020 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29021 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29022 * stdio-common/Makefile (tests): Remove bug15.
29023 (bug15-ENV): Remove macro.
29024 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29025 anymore.
29026
d8e272ab
AJ
290272012-05-19 Andreas Jaeger <aj@suse.de>
29028 Roland McGrath <roland@hack.frob.com>
29029
29030 * manual/contrib.texi: Completely rewritten. It contains now an
29031 alphabetical list of contributors and their contributions.
29032
4a56a162
RH
290332012-05-21 Richard Henderson <rth@twiddle.net>
29034
29035 * misc/getauxval.c (__getauxval): Use unsigned long int.
29036 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29037 (getauxval): Use unsigned long int.
29038
d024d23c
L
290392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29040
29041 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29042
cbc00a03
RM
290432012-05-21 Roland McGrath <roland@hack.frob.com>
29044
29045 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29046 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29047 __alignof__ (long double).
29048
478143fa
AZ
290492012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29050
29051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29052
c7683a6d
RH
290532012-05-20 Richard Henderson <rth@twiddle.net>
29054
29055 * misc/getauxval.c: New file.
29056 * misc/sys/auxv.h: New file.
29057 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29058 (routines): Add getauxval.
29059 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29060 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29061 * elf/dl-sysdep.c (_dl_auxv): Remove.
29062 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29063 * elf/dl-support.c (_dl_auxv): New variable.
29064 (_dl_aux_init): Initialize it.
29065 * manual/startup.texi (Auxiliary Vector): New node.
29066 * sysdeps/generic/bits/hwcap.h: New file.
29067 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29068 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29069 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29070 * sysdeps/sparc/sysdep.h: ... here. Include it.
29071 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29072 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29074 Update.
c7683a6d
RH
29075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29078 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29083
a6f1845d
AZ
290842012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29085
29086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29087
cbcbe830
DM
290882012-05-19 David S. Miller <davem@davemloft.net>
29089
29090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29091
e0b16cc2
JM
290922012-05-19 Joseph Myers <joseph@codesourcery.com>
29093
29094 [BZ #14123]
29095 * math/s_ccosh.c: Include <float.h>
29096 (__ccosh): Avoid internal overflow calculating sinh and cosh
29097 values before multiplying by sin and cos values.
29098 * math/s_ccoshf.c: Likewise.
29099 * math/s_ccoshl.c: Likewise.
29100 * math/s_csin.c: Likewise.
29101 * math/s_csinf.c: Likewise.
29102 * math/s_csinl.c: Likewise.
29103 * math/s_csinh.c: Likewise.
29104 * math/s_csinhf.c: Likewise.
29105 * math/s_csinhl.c: Likewise.
29106 * math/libm-test.inc (ccos_test): Add more tests.
29107 (ccosh_test): Likewise.
29108 (csin_test): Likewise.
29109 (csinh_test): Likewise.
29110 * sysdeps/i386/fpu/libm-test-ulps: Update.
29111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29112
6ad13e08
L
291132012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29114
f66f0ce8
L
29115 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29116 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29117
6ad13e08
L
29118 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29119
b1d072a7
JM
291202012-05-19 Joseph Myers <joseph@codesourcery.com>
29121
29122 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29123 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29124 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29125 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29126 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29127 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29128 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29129 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29130 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29131 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29132 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29133 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29134 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29135 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29136 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29137 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29138 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29139 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29140 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29141 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29142 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29143 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29144 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29145 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29146 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29147 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29148 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29149 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29150 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29151 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29152 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29153
9eae47cb
AJ
291542012-05-18 Andreas Jaeger <aj@suse.de>
29155
29156 * csu/.gitignore: Delete.
29157
bb07f69f
L
291582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29159
29160 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29161 (timex): Use __syscall_slong_t.
29162
e6bdb741
AJ
291632012-05-18 Andreas Jaeger <aj@suse.de>
29164 Carlos O'Donell <carlos_odonell@mentor.com>
29165
29166 * manual/install.texi (Configuring and compiling): Update
29167 description about files modified in the source directory.
d6c33fda 29168 * INSTALL: Regenerated.
e6bdb741 29169
1b74487e
L
291702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29171
29172 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29173 value. Use "or" to set return value to -1.
29174 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29175 negate return value.
29176
a88b64b9
TMQMF
291772012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29178
57f41c40
AS
29179 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29180 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
29181 failure if the compiler has Graphite support disabled.
29182 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29183 Likewise.
57f41c40
AS
29184 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29185 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
29186 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29187 Likewise.
29188
3707636e
L
291892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29190
610b8622
L
29191 * sysdeps/x86_64/x32/_itoa.h: New file.
29192
7cd195df
L
29193 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29194 getdents system call only if kernel and user dirents have the
29195 same d_ino and d_off.
29196
94b07d20
L
29197 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29198 LLONG_MAX != LONG_MAX.
29199 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29200 (_fitoa_word): Likewise.
29201
18298070
L
29202 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29203 years.
29204 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29205 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29206 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29207
553c7ea4
L
29208 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29209 include <bits/wordsize.h>. Check __x86_64__ instead of
29210 __WORDSIZE.
29211 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29212 if __x86_64__ is defined. Use anonymous union on fpstate.
29213
3707636e
L
29214 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29215 anonymous union.
29216
b53ef01a
AS
292172012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29218
37fb1dc0
AS
29219 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29220 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29221 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29222 Refer to _rtld_local_ro instead of _rtld_global_ro.
29223 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29224 Likewise.
29225 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29226 Likewise.
29227 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29228 Likewise.
29229 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29230 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29231 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29232
b53ef01a
AS
29233 * sysdeps/powerpc/powerpc32/dl-machine.c
29234 (__elf_machine_runtime_setup) [PROF]: Don't reference
29235 _dl_prof_resolve.
29236
7a185db2
AJ
292372012-05-18 Andreas Jaeger <aj@suse.de>
29238
29239 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29240 function only available for GCCs before 3.4 since GCC 3.4
29241 introduced a builtin.
29242 (lrint): Likewise.
29243 (llrintf): Likewise.
29244 (llrint): Likewise.
29245 (fmaxf): Likewise.
29246 (fmax): Likewise.
29247 (fminf): Likewise.
29248 (fmin): Likewise.
29249 (rint): Likewise.
29250 (rintf): Likewise.
29251 (nearbyint): Likewise.
29252 (nearbyintf): Likewise.
29253 (ceil): Likewise.
29254 (ceilf): Likewise.
29255 (floor): Likewise.
29256 (floorf): Likewise.
29257
3e5aef87
L
292582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29259
428bd707
L
29260 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29261 on both fields and cast pointer to __syscall_ulong_t.
29262
3e5aef87
L
29263 * bits/types.h (__fsword_t): New type.
29264 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29265 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29266 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29267 (__FSWORD_T_TYPE): Likewise.
29268 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29269 (__FSWORD_T_TYPE): Likewise.
29270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29271 (__FSWORD_T_TYPE): Likewise.
29272 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29273 (__FSWORD_T_TYPE): Likewise.
29274 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29275 __SWORD_TYPE with __fsword_t.
29276 (statfs64): Likewise.
29277
1ba7c3dc
DM
292782012-05-17 David S. Miller <davem@davemloft.net>
29279
29280 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29281
59910343
AJ
292822012-05-17 Andreas Jaeger <aj@suse.de>
29283
29284 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29285 warning.
29286
2e4c1e9e
L
292872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29288
29289 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29290
de7f5ce7
AJ
292912012-05-17 Andreas Jaeger <aj@suse.de>
29292
29293 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29294 when it is used.
29295
286abc3d
CM
292962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29297
29298 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29299
477cc68e
L
293002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29301
29302 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29303 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29304
1a0994f5
CD
293052012-05-17 Andreas Jaeger <aj@suse.de>
29306 Carlos O'Donell <carlos_odonell@mentor.com>
29307
29308 [BZ #14059]
29309 * sysdeps/x86_64/multiarch/init-arch.h
29310 (bit_YMM_Usable): Rename to...
29311 (bit_AVX_Usable): ... this.
29312 (bit_FMA4_Usable): New macro.
29313 (bit_XMM_state): New macro.
29314 (bit_YMM_state): New macro.
29315 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29316 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29317 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29318 (CPUID_OSXSAVE): New macro.
29319 (CPUID_AVX): New macro.
29320 (CPUID_FMA4): New macro.
29321 (index_YMM_Usable): Rename to...
29322 (index_AVX_Usable): ... this.
29323 (HAS_AVX): Use HAS_ARCH_FEATURE.
29324 (HAS_FMA4): Likewise.
29325 (HAS_YMM_USABLE): Remove.
29326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29327 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29328 are present.
29329 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29330 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29331 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29332 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29333 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29334
0af797de
CM
293352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29336
29337 * math/libm-test.c: Support platforms without multiple rounding modes.
29338 * math/bug-nextafter.c: Support platforms without FP exceptions.
29339 * math/bug-nexttoward.c: Likewise.
29340 * math/test-fenv.c: Likewise.
29341 * math/test-misc.c: Likewise.
29342 * stdlib/bug-getcontext.c: Likewise.
29343
e39745ff
AJ
293442012-05-17 Andreas Jaeger <aj@suse.de>
29345
29346 * manual/examples/search.c (critter_cmp): Change signature to
29347 avoid warnings.
29348 * manual/string.texi (Collation Functions): Likewise.
29349
48970aba
L
293502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29351
29352 * bits/types.h: Fold copyright years.
29353 * bits/typesizes.h: Likewise.
29354 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29355 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29357 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29358 * time/time.h: Likewise.
29359
bedee953
PP
293602012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29361
29362 [BZ #208]
29363 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29364 in instead of returning them. Return void.
29365 (__libc_mallinfo): Accumulate over all arenas.
29366 (__malloc_stats): Adjust for change in int_mallinfo interface.
29367
61653dfb
RM
293682012-05-16 Roland McGrath <roland@hack.frob.com>
29369
30b99d79
RM
29370 [BZ #10375]
29371 * configure.in (NM): Add AC_CHECK_TOOL for it.
29372 (libc_extra_cflags): New substituted variable.
29373 Check for -fstack-protector being used implicitly.
29374 * configure: Regenerated.
29375 * config.make.in (config-extra-cflags): New variable,
29376 gets @libc_extra_cflags@.
29377 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29378
61653dfb
RM
29379 [BZ #10375]
29380 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29381 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29382 * configure: Regenerated.
29383 * config.make.in (CPPUNDEFS): New substituted variable.
29384 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29385 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29386 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29387
661768bb
L
293882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29389
29390 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29391 (mq_attr): Use __syscall_slong_t.
29392
d4261567
L
293932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29394
29395 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29396 Check __x86_64__ instead of __WORDSIZE.
29397 (_STAT_VER_LINUX): Likewise.
29398 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29399 __syscall_ulong_t and __syscall_slong_t.
29400 (stat64): Likewise.
29401
cf3ff365
L
294022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29403
29404 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29405
76cf3e4d
L
294062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29407
29408 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29409
a637753a
L
294102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29411
29412 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29413 __syscall_ulong_t.
29414
d5e05119
L
29415 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29416 include <bits/wordsize.h>. Check __x86_64__ instead of
29417 __WORDSIZE.
29418 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29419 defined.
29420 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29421
f62ee380
L
29422 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29423 include <bits/wordsize.h>. Check __x86_64__ instead of
29424 __WORDSIZE.
29425 (user_regs_struct): Use "__extension__ unsigned long long"
29426 instead of "unsigned long" if __x86_64__ is defined.
29427 (user): Likewise. Pad after pointer field if __ILP32__ is
29428 defined.
29429
4e124ced
JM
294302012-05-16 Joseph Myers <joseph@codesourcery.com>
29431
6a3951a0
JM
29432 * configure.in (makeinfo): Require version 4.5 or later. Allow
29433 versions 5 to 9.
29434 * configure: Regenerated.
29435 * manual/install.texi (texinfo): Increase version requirement to
29436 4.5 or later.
29437 * INSTALL: Regenerated.
29438
4e124ced
JM
29439 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29440
953ca31a
L
294412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29442
29443 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29444
617aca05
L
29445 * sysdeps/x86_64/x32/ffs.c: New file.
29446
5762f7ae
L
29447 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29448 __syscall_ulong_t.
29449 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29450 defined. Use __syscall_ulong_t.
29451 (shminfo): Use __syscall_ulong_t.
29452 (shm_info): Likewise.
29453
a26b6856
L
29454 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29455 __syscall_ulong_t.
29456
cb2b9ef7
L
29457 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29458 <bits/wordsize.h>.
29459 (msgqnum_t): Use __syscall_ulong_t.
29460 (msglen_t): Likewise.
29461 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29462 __syscall_ulong_t.
29463
34683bb0
L
29464 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29465 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29466
84a68786
L
29467 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29468
48baa5f1
L
29469 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29470 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29471
180be88b
L
29472 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29473 __syscall_slong_t.
29474
5e90c8ad
L
29475 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29476 include <bits/wordsize.h>. Check __x86_64__ instead of
29477 __WORDSIZE.
29478
23dfb58b
L
29479 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29480 "unsigned long long int" if __x86_64__ is defined.
29481 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29482
ce5d54b0
L
29483 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29484 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29485 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29486
13dc9eac
L
29487 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29488 <stdint.h>.
29489 (GET_PC): Cast to uintptr_t first.
29490 (GET_FRAME): Likewise.
29491 (GET_STACK): Likewise.
29492
a7895d15
L
29493 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29494 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29495 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29496 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29497 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29498 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29499 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29500 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29501 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29502 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29503 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29504 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29505 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29506 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29507 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29508 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29509 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29510 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29511 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29512 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29513 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29514 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29515 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29516 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29517 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29518 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29519 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29520 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29521 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29522
656416c9
AS
295232012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29524
5bd66283
AS
29525 * Makerules (+depfiles): Also collect depfiles from .oS in
29526 $(extra-objs).
29527 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29528 .oS, $(libnldbl-routines)).
29529
656416c9
AS
29530 * Makerules (native-compile-mkdep-flags): Define.
29531 * sunrpc/Makefile (extra-objs): Add $(addprefix
29532 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29533 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29534 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29535 calling $(make-target-directory).
29536
a46f2169
L
295372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29538
29539 * bits/types.h (__snseconds_t): Removed.
29540 * time/time.h (struct timespec): Replace __snseconds_t with
29541 __syscall_slong_t.
29542 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29543 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29544 Likewise.
29545 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29546 (__SNSECONDS_T_TYPE): Likewise.
29547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29548 (__SNSECONDS_T_TYPE): Likewise.
29549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29550 (__SNSECONDS_T_TYPE): Likewise.
29551
6af6528b
L
295522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29553
29554 * sysdeps/mach/hurd/bits/typesizes.h
29555 (__SYSCALL_SLONG_TYPE): New macro.
29556 (__SYSCALL_ULONG_TYPE): Likewise.
29557
de986b56
L
295582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29559
29560 * bits/types.h (__syscall_slong_t): New type.
29561 (__syscall_ulong_t): Likewise.
29562
29563 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29564 (__SYSCALL_ULONG_TYPE): Likewise.
29565 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29566 (__SYSCALL_SLONG_TYPE): Likewise.
29567 (__SYSCALL_ULONG_TYPE): Likewise.
29568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29569 (__SYSCALL_SLONG_TYPE): Likewise.
29570 (__SYSCALL_ULONG_TYPE): Likewise.
29571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29572 (__SYSCALL_SLONG_TYPE): Likewise.
29573 (__SYSCALL_ULONG_TYPE): Likewise.
29574
85736dc7
L
295752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29576
29577 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29578 Add sigaltstack-offsets.sym.
29579 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29580 <sigaltstack-offsets.h>.
29581 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29582 longjmp_msg pointer.
29583 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29584 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29585 signal stack.
29586 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29587
cc03b296
JM
295882012-05-15 Joseph Myers <joseph@codesourcery.com>
29589
a9538892
JM
29590 * elf/stackguard-macros.h: Remove file.
29591 * sysdeps/generic/stackguard-macros.h: New file.
29592 * sysdeps/i386/stackguard-macros.h: Likewise.
29593 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29594 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29595 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29596 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29597 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29598 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29599 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29600 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29601 <elf/stackguard-macros.h>.
29602
cc03b296
JM
29603 [BZ #14109]
29604 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29605 __aligned__ in attribute.
29606 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29607 (gregset_t): Likewise.
29608
93171016
L
296092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29610
29611 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29612 * sysdeps/x86_64/64/Implies-after: Here. New file.
29613 * sysdeps/x86_64/x32/Implies-after: New file.
29614
d86813a0
L
296152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29616
29617 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29618 and access return value for _dl_profile_fixup. Use R10_LP to
29619 load frame size.
29620
2953ec75
L
296212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29622
29623 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29624
3b550e9e
L
296252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29626
29627 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29628 * sysdeps/x86_64/x32/sysdep.h: New file.
29629
eda41706
L
296302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29631
29632 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29633 * sysdeps/x86_64/setjmp.S: Likewise.
29634
9ea01d93
AZ
296352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29636
29637 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29638 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29639 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29640 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29641 remove unused global constant.
29642
02a91938
CM
296432012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29644
29645 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29646 include of <not-cancel.h>.
29647
6540185f
RM
296482012-05-15 Roland McGrath <roland@hack.frob.com>
29649
29650 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29651
509072a0
AJ
296522012-05-15 Jeff Law <law@redhat.com>
29653 Andreas Jaeger <aj@suse.de>
29654
29655 [BZ #13594]
29656 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29657 out from...
29658 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29659 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29660 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29661 code changing __hst_map_handle.map.
29662
ba75122d
RM
296632012-05-15 Roland McGrath <roland@hack.frob.com>
29664
29665 * configure.in (sysnames): Look for Implies-before and Implies-after
29666 files.
29667 * configure: Regenerated.
29668
890d8bd8
L
296692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29670
29671 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29672 8-byte data alignment with LP_SIZE alignment.
29673
f6ee6623
L
296742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29675
29676 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29677 into R10_LP.
29678
ea2626f6
L
296792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29680
29681 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29682
085f715e
L
296832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29684
29685 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29686 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29687 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29688 Likewise.
29689 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29690
be8498fc
L
296912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29692
29693 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29694 (stackinfo_sub_sp): Likewise.
29695
70bc83b9
L
296962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29697
29698 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29699 RAX_LP.
29700
9bc0b730
L
297012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29702
29703 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29704 into R*_LP.
29705
6d2850e7
L
297062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29707
29708 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29709 sizes into R*_LP.
29710
3cb84561
L
297112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29712
29713 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29714
54e2ed81
L
297152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29716
29717 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29718 into R11_LP and load __x86_64_shared_cache_size_half into
29719 R8_LP.
29720
8a17f349
L
297212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29722
29723 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29724 R8_LP.
29725
777b1eea
AZ
297262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29727
29728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29729 logb for POWER7.
29730 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29731 logbf for POWER7.
29732 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29733 logbl for POWER7.
29734 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29735 powerpc32/power7/fpu/s_logb.c via #include.
29736 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29737 powerpc32/power7/fpu/s_logbf.c via #include.
29738 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29739 powerpc32/power7/fpu/s_logbl.c via #include.
29740
d20d4ac2
JM
297412012-05-15 Joseph Myers <joseph@codesourcery.com>
29742
29743 * README.libm: Remove file.
29744
6cdef1ab
L
297452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29746
29747 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29748 count for x32. Use R*_LP and omit operand-size suffix.
29749
0b254d8f
L
297502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29751
29752 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29753 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29754 * sysdeps/x86_64/x32/shlib-versions: New file.
29755
ceb809dc
RM
297562012-05-14 Roland McGrath <roland@hack.frob.com>
29757
29758 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29759 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29760 Use _dl_fatal_printf instead.
29761
37f1abd4
JM
297622012-05-14 Joseph Myers <joseph@codesourcery.com>
29763
29764 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29765 set if not set by the user. Do not allow for being unset.
29766 * sysdeps/unix/sysv/linux/configure: Regenerated.
29767
11de3a33
L
297682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29769
29770 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29771 the `q' suffix from lea and replace .quad with ASM_ADDR.
29772
e02f153a
L
297732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29774
29775 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29776 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29777 instead of $17.
29778 (PTR_DEMANGLE): Likewise.
29779
520ae0fd
L
297802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29781
29782 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29783 (LP_OP): Likewise.
29784 (ASM_ADDR): Likewise.
29785 (RAX_LP): Likewise.
29786 (RBP_LP): Likewise.
29787 (RBX_LP): Likewise.
29788 (RCX_LP): Likewise.
29789 (RDI_LP): Likewise.
29790 (RSI_LP): Likewise.
29791 (RSP_LP): Likewise.
29792 (R8_LP): Likewise.
29793 (R9_LP): Likewise.
29794 (R10_LP): Likewise.
29795 (R10_LP): Likewise.
29796 (R11_LP): Likewise.
29797 (R12_LP): Likewise.
29798 (R13_LP): Likewise.
29799 (R14_LP): Likewise.
29800 (R15_LP): Likewise.
29801
b985be81
L
298022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29803
29804 * sysdeps/x86_64/x32/dl-machine.h: New file.
29805
6a4888ff
AJ
298062012-05-14 Andreas Jaeger <aj@suse.de>
29807
29808 * manual/Makefile (subdir): Remove export of subdir.
29809 (all): Remove target.
29810 (.PHONY): Remove all from list.
29811 (mkinstalldirs): Remove.
29812 (.PHONY): Remove installdirs from list.
29813 ($(inst_infodir)/libc.info): Use make-target-directory.
29814 (installdirs): Remove.
29815 (subdir_%): Remove.
29816 (glibc-targets): Remove.
29817 (lib): Remove.
29818 (stubs): Remove.
29819 ($(objpfx)stubs ../po/manual.pot): Remove.
29820 ($(objpfx)stamp%): Remove.
29821 (make-target-directory): Remove.
29822 (subdir_install): Remove.
29823 (routines): Remove.
29824 (aux): Remove.
29825 (sources): Remove.
29826 (objects): Remove.
29827 (headers): Remove.
29828
29829 [BZ #13750]
29830 * manual/.gitignore: Remove, it's not needed anymore.
29831 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29832 all files in it.
29833 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29834 directory.
29835 (texis): Renamed to $(objpfx)texis.
29836 (texis-path): New, contains path to generated files.
29837 (chapters.%): Use texis-path for complete path, add extra argument
29838 libc-texinfo.sh.
29839 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29840 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29841 (summary,texi, stamp-summary): Use complete path of
29842 files. Generate files in build dir.
29843 (dir-add.texi): Build in build dir.
29844 (libm-err.texi,stamp-libm-err): Likewise.
29845 (version.texi, stamp-version): Likewise.
29846 (.%c.texi): Likewise.
29847 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29848 (mostlyclean): Remove target.
29849 (realclean): Remove target.
29850 (generated): Add new variable with contents from mostlyclean and
29851 realclean, remove entries duplicated in common-mostlyclean, add
29852 stamp-libm-err and stamp-version.
29853 (generated-dirs): Add libc directory.
29854 ($(inst_infodir)/libc.info): Install files from build dir.
29855
29856 * manual/install.texi (Configuring and compiling): Adjust since
29857 the info files are not part of the tar ball anymore.
29858
7ac77294
AJ
298592012-05-14 Andreas Jaeger <aj@suse.de>
29860
29861 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29862 variable.
29863
ffb7875d
JM
298642012-05-14 Joseph Myers <joseph@codesourcery.com>
29865
29866 [BZ #13717]
29867 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29868 to 2.2.0 where earlier.
29869 * sysdeps/unix/sysv/linux/configure: Regenerated.
29870 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29871 Remove conditional code.
29872 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29873 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29874 Remove conditional code.
29875 [!__NR_lchown]: Likewise.
29876 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29877 [__NR_lchown]: Likewise.
29878 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29879 comment referencing __ASSUME_LCHOWN_SYSCALL.
29880 * sysdeps/unix/sysv/linux/i386/sigaction.c
29881 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29882 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29883 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29884 Remove conditional code.
29885 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29886 (__protocol_available): Remove #if 0 code.
29887 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29888 conditional code.
29889 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29890 * sysdeps/unix/sysv/linux/kernel-features.h
29891 (__ASSUME_GETCWD_SYSCALL): Don't define.
29892 (__ASSUME_REALTIME_SIGNALS): Likewise.
29893 (__ASSUME_PREAD_SYSCALL): Likewise.
29894 (__ASSUME_PWRITE_SYSCALL): Likewise.
29895 (__ASSUME_POLL_SYSCALL): Likewise.
29896 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29897 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29898 non-SPARC.
29899 (__ASSUME_SIOCGIFNAME): Don't define.
29900 (__ASSUME_MSG_NOSIGNAL): Likewise.
29901 (__ASSUME_SENDFILE): Define unconditionally.
29902 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29903 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29904 conditional code.
29905 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29906 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29907 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29908 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29909 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29910 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29911 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29913 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29914 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29916 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29919 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29920 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29922 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29923 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29925 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29926 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29928 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29929 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29931 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29932 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29934 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29935 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29936 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29937 Remove conditional code.
29938 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29939 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29940 Remove conditional code.
29941 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29942 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29943 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29944 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29945 Remove conditional code.
29946 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29947 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29948 Remove conditional code.
29949 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29950 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29951 Remove conditional code.
29952 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29953 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29954 Remove conditional code.
29955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29956 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29957 Remove conditional code.
29958 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29959 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29960 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29962 * sysdeps/unix/sysv/linux/sigaction.c
29963 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29964 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29965 * sysdeps/unix/sysv/linux/sigpending.c
29966 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29967 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29968 * sysdeps/unix/sysv/linux/sigprocmask.c
29969 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29970 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29971 * sysdeps/unix/sysv/linux/sigsuspend.c
29972 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29973 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29974 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29975 (__libc_missing_rt_sigs): Remove.
29976 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29977 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29978 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29979 Remove conditional code.
29980 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29981 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29982 return 1.
29983 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29984 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29985 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29986 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29987
1bfb7291
AJ
299882012-05-14 Andreas Jaeger <aj@suse.de>
29989
caae5a81
AJ
29990 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29991 it's not used in glibc.
29992 (__coshm1): Likewise.
29993 (__acosh1p): Likewise.
29994 (__sgn): Likewise.
29995
1bfb7291
AJ
29996 * manual/string.texi (Copying and Concatenation): Add missing
29997 variable in concat example.
29998 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29999
c044d724
L
300002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30001
144c5467 30002 [BZ #14103]
c044d724
L
30003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30004 __builtin_clzl with __builtin_clzll.
30005
2523c62b
L
300062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30007
30008 [BZ #14104]
30009 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30010 libc_freeres_ptr.
30011
d7bb4c42
LD
300122012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30013
30014 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30015 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30016 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30017 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30018
9dc4e1fb
MF
300192012-05-14 Mike Frysinger <vapier@gentoo.org>
30020
30021 * NEWS: Update ia64 info.
30022
c7df0112
AS
300232012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30024
30025 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30026 used as bcopy.
30027
dc70356c
TS
300282012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30029
30030 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30031 * sysdeps/unix/syscalls.list (dup3): Likewise.
30032 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30033 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30034
9fb1a21f
L
300352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30036
30037 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30038 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30039
4822a2a5
L
300402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30041
30042 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30043 thread pointer.
30044 (TLS_IE): Use mov/add instead of movq/addq to load thread
30045 pointer.
30046 (TLS_GD_PREFIX): New.
30047 (TLS_GD): Use it.
30048
842b81d6
DM
300492012-05-11 David S. Miller <davem@davemloft.net>
30050
30051 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30052 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30053 (_FPU_SETCW): Likewise.
30054
1cf463cd
L
300552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30056
30057 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30058 is 32-byte aligned.
30059
60cc4a18
AS
300602012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30061
30062 [BZ #11837]
30063 * iconvdata/gb18030.c: Update tables.
30064 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30065 characters specially.
30066 (BODY for TO_LOOP): Add encoding of missing ranges.
30067
febb44a4
TS
300682012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30069
30070 [BZ #13673]
30071 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30072 * sysdeps/mach/hurd/dup3.c: Likewise.
30073 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30074 * sysdeps/powerpc/memmove.c:: Likewise.
30075
0a10fb9e
L
300762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30077
30078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30079 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30080
df8a552f
L
300812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30082
30083 * elf/elf.h (R_X86_64_RELATIVE64): New.
30084 (R_X86_64_NUM): Updated.
30085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30086 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30087 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30088 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30089 tst-quad1pie tst-quad2pie
30090 (modules-names): Add tst-quadmod1 tst-quadmod2.
30091 ($(objpfx)tst-quad1): New dependency.
30092 ($(objpfx)tst-quad2): Likewise.
30093 ($(objpfx)tst-quad1pie): Likewise.
30094 ($(objpfx)tst-quad2pie): Likewise.
30095 * sysdeps/x86_64/tst-quad1.c: New file.
30096 * sysdeps/x86_64/tst-quad1pie.c: New file.
30097 * sysdeps/x86_64/tst-quad2.c: Likewise.
30098 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30099 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30100 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30101 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30102 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30103
f34d6f84
ST
301042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30105
f42d41d1
ST
30106 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30107 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30108 * streams/stropts.h (t_scalar_t): Define type.
30109
3c3571fc
ST
30110 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30111 (_PATH_PRESERVE): Set to "/var/lib".
30112 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30113
61f06bd3
ST
30114 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30115 instead of int.
30116
918d4d71
ST
30117 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30118 if __dir_mkfile succeeded.
30119
f34d6f84
ST
30120 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30121 checking for _hurd_dtablesize. Unlock it right after having
30122 finished _hurd_dtable allocation.
30123
10589b4a
TS
301242012-05-10 Thomas Schwinge <thomas@schwinge.name>
30125
674cdbc7
TS
30126 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30127 * sysdeps/mach/hurd/configure: Regenerated.
30128 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30129 special-casing to...
30130 * sysdeps/gnu/configure.in: ... this new file.
30131 * sysdeps/unix/sysv/linux/configure: Regenerated.
30132 * sysdeps/gnu/configure: New generated file.
30133
8e41b99f
TS
30134 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30135 for Linux: use nsec instead of usec, as well as:
30136 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30137 members of type struct timespec.
30138 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30139 New macros.
30140 (struct stat64): Likewise.
30141 (_STATBUF_ST_NSEC): New macro.
30142 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30143
10589b4a
TS
30144 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30145 __strtoul_internal rather than strtoul.
30146
63643c85
PT
301472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30148
30149 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30150 and reject them.
30151
3faebe6a
ST
301522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30153
30154 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30155 which preserves existing values.
30156 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30157
c6474b07
PT
301582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30159
30160 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30161 TIMEOUT values. Return EINVAL for NFDS values either negative or
30162 greater than FD_SETSIZE.
30163
1043890b
ST
301642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30165
30166 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30167 allocated, call __vm_protect to finish enabling the existing space, and
30168 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30169 allocate the remainder.
30170
37ed8b9b
PT
301712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30172
30173 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30174 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30175
db653660
ST
301762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30177
37ed8b9b
PT
30178 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30179 sysdeps/mach/hurd/readlink.c.
b29d4053 30180
db653660
ST
30181 * posix/tst-sysconf.c (posix_options): Only use
30182 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30183 _POSIX_SYNCHRONIZED_IO when they are defined
30184 * sysdeps/mach/hurd/bits/posix_opt.h:
30185 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30186 (_XOPEN_REALTIME): Undefine macro.
30187 (_XOPEN_REALTIME_THREADS): Undefine macro.
30188 (_XOPEN_SHM): Undefine macro.
30189 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30190 macro to -1.
30191 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30192 macro to -1.
30193 (_POSIX_ASYNC_IO): Undefine macro.
30194 (_POSIX_PRIORITIZED_IO): Undefine macro.
30195 (_POSIX_SPIN_LOCKS): Define macro to -1.
30196
ee16e894
ST
30197 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30198 SA_NODEFER, SA_RESETHAND.
30199 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30200 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30201 F_DUPFD_CLOEXEC.
30202
6103ae3b
TS
302032012-05-10 Thomas Schwinge <thomas@schwinge.name>
30204
30205 * elf/Makefile (pldd-modules): Define unconditionally.
30206
80b4e5f3
TS
302072012-05-10 Thomas Schwinge <thomas@schwinge.name>
30208
30209 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30210
edadcbd6
ST
302112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30212
30213 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30214 Return ENOENT when name is empty.
30215 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30216
80694780
TS
302172012-05-10 Thomas Schwinge <thomas@schwinge.name>
30218
1792c087
TS
30219 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30220
80694780
TS
30221 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30222
6b645f0d
ST
302232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30224
80694780
TS
30225 Fix mlock in all cases except non-readable pages.
30226 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30227 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 30228
6b645f0d
ST
30229 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30230 (__mkdir): When path is `/', just fail with EEXIST.
30231 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30232
e468f8a3
TS
302332012-05-10 Thomas Schwinge <thomas@schwinge.name>
30234
30235 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30236 <sys/uio.h> (for writev).
30237 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30238 and <sys/param.h> (for MIN).
30239
a4186cff
PT
302402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30241
30242 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30243 REQUESTED_TIME. Properly set the remaining time and return EINTR
30244 if interrupted.
30245
510bbf14
TS
302462012-05-10 Thomas Schwinge <thomas@schwinge.name>
30247
30248 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30249 Depend on against $(link-rpcuserlibs).
30250
5d5722e8
ST
302512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30252
a4186cff
PT
30253 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30254 (__libc_stack_end): Do not use attribute_relro.
30255 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30256 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 30257 to libthread-provided value.
a4186cff
PT
30258 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30259 attribute_relro.
5d5722e8 30260
37233df9
TS
302612012-05-10 Thomas Schwinge <thomas@schwinge.name>
30262
be971a2b
TS
30263 [BZ #3748]
30264 * bits/libc-lock.h (__libc_once_get): New macro.
30265 * sysdeps/mach/bits/libc-lock.h: Likewise.
30266 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30267 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30268 instead of using implementation details.
30269
37233df9
TS
30270 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30271 * libio/freopen.c: Likewise.
30272 * libio/freopen64.c: Likewise.
30273 * misc/syslog.c: Likewise.
30274 * nscd/connections.c: Likewise.
30275 * nscd/netgroupcache.c: Likewise.
30276 * sysdeps/posix/getcwd.c: Likewise.
30277
38de94a5
RM
302782012-05-10 Roland McGrath <roland@hack.frob.com>
30279
30280 * math/w_ilogbf.c: Add #include <limits.h>.
30281
67530489
ST
302822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30283
a4186cff 30284 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
30285 path instead of returning without unlocking.
30286
67530489
ST
30287 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30288 immediate-write ioctls.
30289 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30290
5aa3a74a
TS
302912012-05-10 Thomas Schwinge <thomas@schwinge.name>
30292
18bad2ae
TS
30293 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30294 __builtin_frame_address instead of making assumptions about the
30295 location of the return address relative to DATA. Force early load of
30296 the return address.
30297 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30298 __builtin_frame_address.
30299
5aa3a74a
TS
30300 dup3 for GNU Hurd.
30301 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30302 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30303 implement dup3 and do some further code clean-ups.
30304 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30305 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30306
ecd0de9a
ST
303072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30308
cd9fa985
ST
30309 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30310
a4186cff
PT
30311 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30312 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30313 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30314 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30315 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30316 d->port.lock.
802ca5a5 30317
a4186cff
PT
30318 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30319 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30320 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 30321
bcf55240
TS
303222012-05-10 Thomas Schwinge <thomas@schwinge.name>
30323
6960eb42
TS
30324 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30325 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30326 definitions.
30327
eb43375f
TS
30328 accept4 for GNU Hurd.
30329 * include/sys/socket.h (__libc_accept4): New prototype.
30330 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30331 to implement __libc_accept4.
30332 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30333 __libc_accept4.
30334 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30335
bcf55240
TS
30336 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30337 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30338 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30339 signal-defines.sym.
30340
6178c55b
ST
303412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30342
a4186cff 30343 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 30344
6f080c2f
TS
303452012-05-10 Thomas Schwinge <thomas@schwinge.name>
30346
30347 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30348 assertion on O_CLOEXEC flag.
30349 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30350 * hurd/intern-fd.c: Likewise.
30351 * hurd/port2fd.c: Likewise.
30352
bcfe3a54
ST
303532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30354
30355 [BZ #3906]
30356 * bits/in.h (IPV6_PKTINFO): Define new macro.
30357 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30358
89c9aa49
AZ
303592012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30360
30361 [BZ #13954]
30362 [BZ #13955]
30363 [BZ #13956]
30364 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30365 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30366 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30367 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30368 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30369 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30370 * math/libm-test.inc (logb_test) : Additional logb tests.
30371
021db4be
AJ
303722012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30373 Andreas Jaeger <aj@suse.de>
30374
30375 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30376 * configure: Regenerated.
30377 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30378 * config.make.in (link-obsolete-rpc): New substituted variable.
30379 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30380 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30381 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30382 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30383 so that libc.a contains the symbols.
30384 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30385 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30386 * sunrpc/auth_none.c: Likewise.
30387 * sunrpc/auth_unix.c: Likewise.
30388 * sunrpc/authdes_prot.c: Likewise.
30389 * sunrpc/authuxprot.c: Likewise.
30390 * sunrpc/clnt_gen.c: Likewise.
30391 * sunrpc/clnt_perr.c: Likewise.
30392 * sunrpc/clnt_raw.c: Likewise.
30393 * sunrpc/clnt_simp.c: Likewise.
30394 * sunrpc/clnt_tcp.c: Likewise.
30395 * sunrpc/clnt_udp.c: Likewise.
30396 * sunrpc/clnt_unix.c: Likewise.
30397 * sunrpc/des_crypt.c: Likewise.
30398 * sunrpc/des_soft.c: Likewise.
30399 * sunrpc/get_myaddr.c: Likewise.
30400 * sunrpc/key_call.c: Likewise.
30401 * sunrpc/key_prot.c: Likewise.
30402 * sunrpc/netname.c: Likewise.
30403 * sunrpc/pm_getmaps.c: Likewise.
30404 * sunrpc/pm_getport.c: Likewise.
30405 * sunrpc/pmap_clnt.c: Likewise.
30406 * sunrpc/pmap_prot.c: Likewise.
30407 * sunrpc/pmap_prot2.c: Likewise.
30408 * sunrpc/pmap_rmt.c: Likewise.
30409 * sunrpc/publickey.c: Likewise.
30410 * sunrpc/rpc_cmsg.c: Likewise.
30411 * sunrpc/rpc_common.c: Likewise.
30412 * sunrpc/rpc_dtable.c: Likewise.
30413 * sunrpc/rpc_prot.c: Likewise.
30414 * sunrpc/rpc_thread.c: Likewise.
30415 * sunrpc/rtime.c: Likewise.
30416 * sunrpc/svc.c: Likewise.
30417 * sunrpc/svc_auth.c: Likewise.
30418 * sunrpc/svc_raw.c: Likewise.
30419 * sunrpc/svc_run.c: Likewise.
30420 * sunrpc/svc_tcp.c: Likewise.
30421 * sunrpc/svc_udp.c: Likewise.
30422 * sunrpc/svc_unix.c: Likewise.
30423 * sunrpc/svcauth_des.c: Likewise.
30424 * sunrpc/xcrypt.c: Likewise.
30425 * sunrpc/xdr.c: Likewise.
30426 * sunrpc/xdr_array.c: Likewise.
30427 * sunrpc/xdr_float.c: Likewise.
30428 * sunrpc/xdr_intXX_t.c: Likewise.
30429 * sunrpc/xdr_mem.c: Likewise.
30430 * sunrpc/xdr_rec.c: Likewise.
30431 * sunrpc/xdr_ref.c: Likewise.
30432 * sunrpc/xdr_sizeof.c: Likewise.
30433 * sunrpc/xdr_stdio.c: Likewise.
30434
b5c086a2
RM
304352012-05-10 Roland McGrath <roland@hack.frob.com>
30436
30437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30438 change. Update copyright years.
30439
6d74dd09
JM
304402012-05-10 Joseph Myers <joseph@codesourcery.com>
30441
30442 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30443
28e72501
MK
304442012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30445 Joseph Myers <joseph@codesourcery.com>
30446 Paul Pluzhnikov <ppluzhnikov@google.com>
30447
30448 [BZ #14012]
30449 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30450 requiring rpcgen.
30451 [cross-compiling] (extra-libs): Likewise.
30452 [cross-compiling] (extra-libs-others): Likewise.
30453 [cross-compiling] (librpcsvc-routines): Likewise.
30454 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30455 [cross-compiling] (omit-deps): Likewise.
30456 (sunrpc-CPPFLAGS): New variable.
30457 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30458 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30459 (cross-rpcgen-objs): New variable.
30460 (extra-objs): Append $(cross-rpcgen-objs).
30461 ($(cross-rpcgen-objs)): New rule.
30462 ($(objpfx)cross-rpcgen): Likewise.
30463 (rpcgen-cmd): Define to use $(built-program-file). Expand
30464 comment.
30465 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30466 ($(objpfx)x%.stmp): Likewise.
30467 * sunrpc/proto.h [IS_IN_build] (_): Define.
30468 [IS_IN_build] (_libc_intl_domainname): Likewise.
30469
c8c59454
L
304702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30471
30472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30473 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30474 and R_X86_64_TPOFF64.
30475
6f27cd16
JM
304762012-05-10 Joseph Myers <joseph@codesourcery.com>
30477
30478 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30479 sysdeps/unix/sysv/syscalls.list.
30480 (stime): Likewise.
30481 (utime): Likewise.
30482 * sysdeps/unix/sysv/syscalls.list: Remove file.
30483
02467e1c
PE
304842012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30485
30486 [BZ #3440]
30487 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30488 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30489 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30490 (__LC_IDENTIFICATION): Make these macros useful in #if
30491 expressions, as required by C99.
30492
da392631
AS
304932012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30494
30495 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30496 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30497 after this.
30498
8115f29b
L
304992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30500
30501 * stdlib/longlong.h: Updated from GCC.
30502
bdd74070
AJ
305032012-05-09 Andreas Jaeger <aj@suse.de>
30504
edfe0dbe
AJ
30505 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30506 default is first entry.
30507 (run_mode): Set type.
30508 (main): Remove informal message about syslog.
30509 (options): Fix typo.
30510
bcfe3a54
ST
30511 [BZ #14053]
30512 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30513 to asm.
bcfe3a54
ST
30514 (lrint): Likewise.
30515 (llrintf): Likewise.
30516 (llrint): Likewise.
30517 (rint): Likewise.
30518 (rintf): Likewise.
30519 (nearbyint): Likewise.
30520 (nearbyintf): Likewise.
bdd74070 30521
91d8d69e
AJ
305222012-05-09 Andreas Jaeger <aj@suse.de>
30523 Pedro Alves <palves@redhat.com>
30524
30525 * nscd/nscd.c (run_mode): Use enum.
30526 (main): Cleanup coding style issue.
30527
bb90b80b
AJ
305282012-05-09 Alexandre Oliva <aoliva@redhat.com>
30529 Andreas Jaeger <aj@suse.de>
30530
bcfe3a54
ST
30531 * nscd/nscd.c (go_background): Replaced with...
30532 (run_mode): ... this.
bb90b80b 30533 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30534 (options): Add -F --foreground.
30535 (main): Implement it.
30536 (parse_opt): Parse it.
bb90b80b 30537
1a4b75a1
AJ
305382012-05-09 Andreas Jaeger <aj@suse.de>
30539
30540 [BZ #14083]
30541 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30542 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30543 -Wconversion warning.
30544 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30545 Likewise.
30546
b1cc2472
JM
305472012-05-09 Joseph Myers <joseph@codesourcery.com>
30548
30549 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30550 == 0.
30551 (LC_ALL): Use macro-int-constant.
30552 (LC_COLLATE): Likewise.
30553 (LC_CTYPE): Likewise.
30554 (LC_MESSAGES): Likewise.
30555 (LC_MONETARY): Likewise.
30556 (LC_NUMERIC): Likewise.
30557 (LC_TIME): Likewise.
30558 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30559 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30560 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30561 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30562 Specify type.
30563 [C99-based standards] (float_t): Expect type.
30564 [C99-based standards] (double_t): Expect type.
30565 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30566 type.
30567 [C99-based standards] (HUGE_VALL): Likewise.
30568 [C99-based standards] (INFINITY): Likewise.
30569 [C99-based standards] (NAN): Likewise.
30570 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30571 [C99-based standards] (FP_NAN): Likewise.
30572 [C99-based standards] (FP_NORMAL): Likewise.
30573 [C99-based standards] (FP_SUBNORMAL): Likewise.
30574 [C99-based standards] (FP_ZERO): Likewise.
30575 [C99-based standards] (FP_FAST_FMA): Use
30576 optional-macro-int-constant. Specify type. Require == 1.
30577 [C99-based standards] (FP_FAST_FMAF): Likewise.
30578 [C99-based standards] (FP_FAST_FMAL): Likewise.
30579 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30580 [C99-based standards] (FP_ILOGBNAN): Likewise.
30581 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30582 Specify type.
30583 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30584 [C99-based standards] (math_errhandling): Specify type.
30585 [ISO99 || ISO11] (signgam): Do not allow.
30586 [non-C99-based standards] (copysignf): Do not allow.
30587 [non-C99-based standards] (exp2f): Likewise.
30588 [non-C99-based standards] (log2f): Likewise.
30589 [non-C99-based standards] (modff): Allow.
30590 [non-C99-based standards] (erff): Do not allow.
30591 [non-C99-based standards] (erfcf): Likewise.
30592 [non-C99-based standards] (gammaf): Likewise.
30593 [non-C99-based standards] (hypotf): Likewise.
30594 [non-C99-based standards] (j0f): Likewise.
30595 [non-C99-based standards] (j1f): Likewise.
30596 [non-C99-based standards] (jnf): Likewise.
30597 [non-C99-based standards] (lgammaf): Likewise.
30598 [non-C99-based standards] (tgammaf): Likewise.
30599 [non-C99-based standards] (y0f): Likewise.
30600 [non-C99-based standards] (y1f): Likewise.
30601 [non-C99-based standards] (ynf): Likewise.
30602 [non-C99-based standards] (isnanf): Likewise.
30603 [non-C99-based standards] (acoshf): Likewise.
30604 [non-C99-based standards] (asinhf): Likewise.
30605 [non-C99-based standards] (atanhf): Likewise.
30606 [non-C99-based standards] (cbrtf): Likewise.
30607 [non-C99-based standards] (expm1f): Likewise.
30608 [non-C99-based standards] (ilogbf): Likewise.
30609 [non-C99-based standards] (log1pf): Likewise.
30610 [non-C99-based standards] (logbf): Likewise.
30611 [non-C99-based standards] (nextafterf): Likewise.
30612 [non-C99-based standards] (remainderf): Likewise.
30613 [non-C99-based standards] (rintf): Likewise.
30614 [non-C99-based standards] (scalbf): Likewise.
30615 [non-C99-based standards] (copysignl): Likewise.
30616 [non-C99-based standards] (exp2l): Likewise.
30617 [non-C99-based standards] (log2l): Likewise.
30618 [non-C99-based standards] (modfl): Allow.
30619 [non-C99-based standards] (erfl): Do not allow.
30620 [non-C99-based standards] (erfcl): Likewise.
30621 [non-C99-based standards] (gammal): Likewise.
30622 [non-C99-based standards] (hypotl): Likewise.
30623 [non-C99-based standards] (j0l): Likewise.
30624 [non-C99-based standards] (j1l): Likewise.
30625 [non-C99-based standards] (jnl): Likewise.
30626 [non-C99-based standards] (lgammal): Likewise.
30627 [non-C99-based standards] (tgammal): Likewise.
30628 [non-C99-based standards] (y0l): Likewise.
30629 [non-C99-based standards] (y1l): Likewise.
30630 [non-C99-based standards] (ynl): Likewise.
30631 [non-C99-based standards] (isnanl): Likewise.
30632 [non-C99-based standards] (acoshl): Likewise.
30633 [non-C99-based standards] (asinhl): Likewise.
30634 [non-C99-based standards] (atanhl): Likewise.
30635 [non-C99-based standards] (cbrtl): Likewise.
30636 [non-C99-based standards] (expm1l): Likewise.
30637 [non-C99-based standards] (ilogbl): Likewise.
30638 [non-C99-based standards] (log1pl): Likewise.
30639 [non-C99-based standards] (logbl): Likewise.
30640 [non-C99-based standards] (nextafterl): Likewise.
30641 [non-C99-based standards] (remainderl): Likewise.
30642 [non-C99-based standards] (rintl): Likewise.
30643 [non-C99-based standards] (scalbl): Likewise.
30644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30645 [non-C99-based standards] (FP_*): Do not allow.
30646 [C99-based standards] (FP_*): Change to
30647 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30648 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30649 allow.
30650 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30651 (SIG_ERR): Likewise.
30652 [X/Open-based standards] (SIG_HOLD): Likewise.
30653 (SIG_IGN): Likewise.
30654 (SIGABRT): Use macro-int-constant. Specify type. Require
30655 positive value.
30656 (SIGFPE): Likewise.
30657 (SIGILL): Likewise.
30658 (SIGINT): Likewise.
30659 (SIGSEGV): Likewise.
30660 (SIGTER): Likewise.
30661 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30662 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30663 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30664 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30665 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30666 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30667 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30668 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30669 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30670 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30671 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30672 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30673 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30674 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30675 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30676 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30677 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30678 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30679 [X/Open-based standards] (SIGTRAP): Likewise.
30680 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30681 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30682 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30683 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30684 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30685 allow.
30686
b9f1922d
IW
306872012-05-08 Ian Wienand <ianw@vmware.com>
30688
30689 [BZ #14080]
30690 * time/tzset.c (__tzset_parse_tz): Update default rules for
30691 daylight time changes in the Energy Policy Act of 2005.
30692
1db86e88
AJ
306932012-05-09 Andreas Jaeger <aj@suse.de>
30694
30695 [BZ #13983]
30696 * elf/ldconfig.c (parse_conf): Change string to make clear that
30697 ldconfig only issued a warning if ld.so.conf does not exist.
30698
dee4a4e3
DM
306992012-05-08 David S. Miller <davem@davemloft.net>
30700
ee0db190
DM
30701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30702 movxtod instead of popping the value on the stack.
30703
dee4a4e3
DM
30704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30705
6a43ec98
CD
307062012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30707
30708 * config.h.in: Add HAVE_ARM_PCS_VFP.
30709
05c2c961
RMG
307102012-05-08 Roland Mc Grath <roland@hack.frob.com>
30711
bcfe3a54
ST
30712 [BZ #13979]
30713 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30714 checking but the checks are disabled for any reason.
05c2c961 30715
4b30f61a
L
307162012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30717
30718 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30719 and ELF64_R_TYPE with ELFW(R_TYPE).
30720
eee2bc67
JM
307212012-05-08 Joseph Myers <joseph@codesourcery.com>
30722
7ea5391a
JM
30723 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30724 (ulimit): Likewise.
30725
eee2bc67
JM
30726 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30727 (settimeofday): Likewise.
30728
abb66a67
MF
307292012-05-08 Mike Frysinger <vapier@gentoo.org>
30730
30731 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30732 a struct th_u2 inside the union, and move tu_block/tu_code into
30733 a new th_u3 union of tu_block/tu_code inside of that. Move
30734 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30735 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30736 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30737 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30738 (th_stuff): Change to th_u1.tu_stuff.
30739 (th_data): Define.
30740 (th_msg): Change to th_u1.th_u2.tu_data.
30741
7f18b530
DM
307422012-05-07 David S. Miller <davem@davemloft.net>
30743
05760585
DM
30744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30745
7f18b530
DM
30746 [BZ #14074]
30747 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30748 (SETUP_PIC_REG): Use it.
30749 (SETUP_PIC_REG_LEAF): Use it.
30750
495fd99f
JM
307512012-05-07 Joseph Myers <joseph@codesourcery.com>
30752
30753 [BZ #13885]
30754 [BZ #13923]
30755 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30756 USE_AS_EXPM1L.
30757 (EXPL_FINITE): Likewise.
30758 (FLDLOG): Likewise.
30759 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30760 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30761 e_expl.S.
30762 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30763 USE_AS_EXPM1L.
30764 (EXPL_FINITE): Likewise.
30765 (FLDLOG): Likewise.
30766 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30767 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30768 e_expl.S.
30769 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30770 test of -max_value argument for long double.
30771 * sysdeps/i386/fpu/libm-test-ulps: Update.
30772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30773
6693d694
DM
307742012-05-06 David S. Miller <davem@davemloft.net>
30775
30776 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30777 quad soft-float symbols whose references which are compiler
30778 generated.
30779 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30780
6c23e11c
JM
307812012-05-06 Joseph Myers <joseph@codesourcery.com>
30782
d8b82cad
JM
30783 [BZ #13884]
30784 [BZ #13914]
30785 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30786 USE_AS_EXP10L.
30787 (EXPL_FINITE): Likewise.
30788 (FLDLOG): Likewise.
30789 (c0): Likewise.
30790 (c1): Likewise.
30791 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30792 Adjust comments for base varying.
30793 (__expl_finite): Change alias to EXPL_FINITE.
30794 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30795 e_expl.S.
30796 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30797 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30799 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30800 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30801 USE_AS_EXP10L.
30802 (EXPL_FINITE): Likewise.
30803 (FLDLOG): Likewise.
30804 (c0): Likewise.
30805 (c1): Likewise.
30806 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30807 Adjust comments for base varying.
30808 (__expl_finite): Change alias to EXPL_FINITE.
30809 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30810 tests for bugs.
30811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30812
6c23e11c
JM
30813 [BZ #14064]
30814 * math/libm-test.inc (check_float_internal): Correct ulp
30815 calculation for subnormal expected results.
30816
29ba805c
AJ
308172012-05-06 Andreas Jaeger <aj@suse.de>
30818
30819 * Makeconfig (+math-flags): New, set to -frounding-math.
30820 (+cflags): Add +math-flags so that all of glibc gets compiled with
30821 it.
30822
30823 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30824
7b17aeda
JM
308252012-05-05 Joseph Myers <joseph@codesourcery.com>
30826
5779f134
JM
30827 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30828 Disable one test.
30829
41498f4d
JM
30830 [BZ #13787]
30831 [BZ #13922]
30832 [BZ #14036]
30833 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30834 (__ieee754_expl): Allow for and saturate large arguments.
30835 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30836 (u_threshold): Likewise.
30837 (__exp): Call __ieee754_exp before checking for overflow and
30838 underflow.
30839 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30840 (u_threshold): Likewise.
30841 (__expf): Call __ieee754_expf before checking for overflow and
30842 underflow.
30843 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30844 (u_threshold): Likewise.
30845 (__expl): Call __ieee754_expl before checking for overflow and
30846 underflow.
30847 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30848 (__ieee754_expl): Allow for and saturate large arguments.
30849 * math/libm-test.inc (exp_test): Add another test. Do not allow
30850 missing overflow exception on overflow.
30851 (expm1_test): Do not allow missing overflow exception on overflow.
30852
6698b8bf
JM
30853 * sysdeps/i386/fpu/e_expl.c: Move to ...
30854 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30855 rather than using inline asm.
30856 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30857 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30858 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30859
7b17aeda
JM
30860 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30861 (nice): Likewise.
30862 (poll): Likewise.
30863 (signal): Likewise.
30864 (time): Likewise.
30865 (times): Likewise.
30866
f7c85819
JM
308672012-05-04 Joseph Myers <joseph@codesourcery.com>
30868
30869 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30870 sysdeps/unix/common/syscalls.list.
30871 (fchmod): Likewise.
30872 (fchown): Likewise.
30873 (ftruncate): Likewise.
30874 (getrusage): Likewise.
30875 (gettimeofday): Likewise.
30876 (setpgid): Likewise.
30877 (setregid): Likewise.
30878 (setreuid): Likewise.
30879 (sigaction): Likewise.
30880 (truncate): Likewise.
30881 (vhangup): Likewise.
30882 * sysdeps/unix/common/syscalls.list: Remove file.
30883 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30884 * sysdeps/unix/sysv/linux/Implies: Likewise.
30885
336270d0
L
308862012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30887
30888 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30890 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30891 Moved to ...
30892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30893 Here.
30894 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30895 to ...
30896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30897 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30898 to ...
30899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30900 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30901 to ...
30902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30903 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30904 to ...
30905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30906 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30907 to ...
30908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30909 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30910 to ...
30911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30912 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30913 to ...
30914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30915 Here.
30916 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30917 to ...
30918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30919 Here.
30920 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30921 to ...
30922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30923 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30924 Moved to ...
30925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30926 Here.
30927 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30928 to ...
30929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30930
d128e450
JM
309312012-05-04 Joseph Myers <joseph@codesourcery.com>
30932
fa8ee516
JM
30933 * sysdeps/unix/common/bits/dirent.h: Remove file.
30934 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30935
d128e450
JM
30936 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30937 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30938 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30939 * sysdeps/unix/bsd/isatty.c: Likewise.
30940 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30941 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30942 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30943
ff8faaf0 309442012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30945
62881be4 30946 [BZ #13563]
31dc8730
AZ
30947 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30948 long double comparison inaccuracies.
30949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30951
6fef930c
AS
309522012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30953
30954 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30956
8f203e6c
JM
309572012-05-04 Joseph Myers <joseph@codesourcery.com>
30958
30959 [BZ #14049]
30960 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30961 nonzero digits before rounding a hex value.
30962 * stdlib/tst-strtod.c (tests): Add another test.
30963
5197d9c2
AK
309642012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30965
30966 * sysdeps/s390/fpu/libm-test-ulps: Update.
30967
f0c1dedf
AJ
309682012-05-03 Andreas Jaeger <aj@suse.de>
30969
30970 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30971 does not get optimized out.
30972 (malloc_opt_barrier): New.
30973
a65ef2ae 309742012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30975 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30976
2b942cb7 30977 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30978 intermediate file deletion.
2b942cb7 30979 (generated): Add .symlist files.
a65ef2ae 30980
54b71e02
JM
309812012-05-03 Joseph Myers <joseph@codesourcery.com>
30982
30983 [BZ #13775]
30984 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30985 Redirect under this condition.
30986 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30987 [__USE_GNU] (__dprintf_chk): Not under this condition.
30988 [__USE_GNU] (__vdprintf_chk): Likewise.
30989 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30990 under this condition.
30991 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30992 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30993 [__USE_XOPEN2K8] (vdprintf): Likewise.
30994 [__USE_GNU] (__dprintf_chk): Not under this condition.
30995 [__USE_GNU] (__vdprintf_chk): Likewise.
30996 [__USE_GNU] (dprintf): Likewise.
30997 [__USE_GNU] (vdprintf): Likewise.
30998
d3dfcc41
RM
309992012-05-03 Roland McGrath <roland@hack.frob.com>
31000
31001 * elf/Makefile (common-generated): Set this instead of generated for
31002 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31003 $(all-built-dso)-derived lists.
31004
7ac30cc5
AJ
310052012-05-03 Andreas Jaeger <aj@suse.de>
31006
0c51e550
AJ
31007 * sysdeps/i386/fpu/libm-test-ulps: Update.
31008
7ac30cc5
AJ
31009 * FAQ: Removed.
31010 * FAQ.in: Likewise.
31011 * scripts/gen-FAQ.pl: Likewise.
31012 * manual/install.texi (Installation): Point to online location of
31013 FAQ.
31014 * Makefile (files-for-dist): Remove FAQ.
31015 (FAQ): Remove.
31016
d4c2917f
AM
310172012-05-02 Allan McRae <allan@archlinux.org>
31018
31019 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31020 (LDFLAGS-reldepmod5.so): Likewise.
31021 (LDFLAGS-reldep6mod1.so): Likewise.
31022 (LDFLAGS-reldep6mod4.so): Likewise.
31023 (LDFLAGS-reldep8mod3.so): Likewise.
31024 (LDFLAGS-unload4mod1.so): Likewise.
31025 (LDFLAGS-unload4mod2.so): Likewise.
31026 (LDFLAGS-tst-initorder): Likewise.
31027 (LDFLAGS-tst-initordera2.so): Likewise.
31028 (LDFLAGS-tst-initordera3.so): Likewise.
31029 (LDFLAGS-tst-initordera4.so): Likewise.
31030 (LDFLAGS-tst-initorderb2.so): Likewise.
31031 (LDFLAGS-noload): Likewise.
31032 (LDFLAGS-next): Likewise.
31033 (LDFLAGS-order2mod1.so): Likewise.
31034 (LDFLAGS-order2mod2.so): Likewise.
31035 (LDFLAGS-tst-initorder2): Likewise.
31036 (LDFLAGS-tst-initorder2a.so): Likewise.
31037 (LDFLAGS-tst-initorder2b.so): Likewise.
31038 (LDFLAGS-tst-initorder2c.so): Likewise.
31039 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31040
d77f993f
DM
310412012-05-02 David S. Miller <davem@davemloft.net>
31042
31043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31044
171a70b4
PP
310452012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31046
31047 [BZ #14055]
31048 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31049
0be196ad
AJ
310502012-05-02 Andreas Jaeger <aj@suse.de>
31051
31052 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31053 since we manipulate rounding mode.
31054 (CPPFLAGS-test-idouble.c): Likewise.
31055 (CPPFLAGS-test-ifloat.c): Likewise.
31056 (CFLAGS-test-ldouble.c): Likewise.
31057 (CFLAGS-test-double.c): Likewise.
31058 (CFLAGS-test-float.c): Likewise.
31059 (CFLAGS-test-misc.c): Likewise.
31060 (CFLAGS-test-test-fenv.c): Likewise.
31061
4f9d04aa
AZ
310622012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31063
2b942cb7
RM
31064 [BZ #2550]
31065 [BZ #2570]
31066 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31067 comparisons to determine direction to adjust input.
4f9d04aa 31068
82a79e7d
RM
310692012-05-01 Roland McGrath <roland@hack.frob.com>
31070
f5a01ca9
RM
31071 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31072 output to the target.
31073
90fe4186
RM
31074 * scripts/localplt.awk: New file.
31075 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31076 (check-localplt-CFLAGS): Variable removed.
31077 ($(all-built-dso:=.jmprel)): New static pattern rule.
31078 (generated): Add those targets.
31079 (localplt-built-dso): New variable.
31080 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31081
31082 * elf/check-localplt.c: File removed.
31083
82397ed6
RM
31084 * scripts/check-execstack.awk: New file.
31085 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31086 (check-execstack-CFLAGS): Variable removed.
31087 ($(objpfx)check-execstack.h): Target removed.
31088 ($(objpfx)execstack-default): New target.
31089 (generated): Add that instead of check-execstack.h.
31090 ($(all-built-dso:=.phdr)): New static pattern rule.
31091 (generated): Add those targets.
31092 * elf/check-execstack.c: File removed.
31093
82a79e7d
RM
31094 * scripts/check-textrel.awk: New file.
31095 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31096 (check-textrel-CFLAGS): Variable removed.
31097 (all-built-dso): Use := to define.o
31098 ($(all-built-dso:=.dyn)): New static pattern rule.
31099 (generated): Add those targets.
31100 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31101 * config.make.in (READELF): New substituted variable.
31102 * elf/check-textrel.c: File removed.
31103
62fde54f 311042012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 31105
615605c9
JM
31106 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31107 allow.
31108 * conform/data/ctype.h-data [C99-based standards] (isblank):
31109 Expect function.
31110 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31111 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31112 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31113 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31114 Specify type. Require positive value.
31115 (EILSEQ): Likewise.
31116 (ERANGE): Likewise.
31117 [ISO || POSIX] (EILSEQ): Do not expect.
31118 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31119 Specify type. Require positive value.
31120 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31121 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31122 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31123 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31124 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31125 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31126 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31127 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31128 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31129 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31130 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31131 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31132 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31133 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31134 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31135 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31136 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31137 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31138 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31139 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31140 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31141 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31142 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31143 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31144 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31145 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31146 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31147 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31148 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31149 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31150 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31151 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31152 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31153 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31154 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31155 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31156 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31157 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31158 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31159 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31160 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31161 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31162 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31163 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31164 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31165 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31166 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31167 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31168 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31169 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31170 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31171 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31172 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31173 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31174 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31175 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31176 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31177 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31178 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31179 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31180 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31181 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31182 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31183 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31184 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31185 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31186 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31187 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31188 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31189 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31190 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31191 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31192 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31193 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31194 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31195 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31196 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31197 Require >= 2.
31198 (FLT_ROUNDS): Expect as macro, not constant.
31199 (FLT_MANT_DIG): Use macro-int-constant.
31200 (DBL_MANT_DIG): Likewise.
31201 (LDBL_MANT_DIG): Likewise.
31202 (FLT_DIG): Likewise.
31203 (DBL_DIG): Likewise.
31204 (LDBL_DIG): Likewise.
31205 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31206 (DBL_MIN_EXP): Likewise.
31207 (LDBL_MIN_EXP): Likewise.
31208 (FLT_MAX_EXP): Use macro-int-constant.
31209 (DBL_MAX_EXP): Likewise.
31210 (LDBL_MAX_EXP): Likewise.
31211 (FLT_MAX_10_EXP): Likewise.
31212 (DBL_MAX_10_EXP): Likewise.
31213 (LDBL_MAX_10_EXP): Likewise.
31214 (FLT_MAX): Use macro-constant.
31215 (DBL_MAX): Likewise.
31216 (LDBL_MAX): Likewise.
31217 (FLT_EPSILON): Use macro-constant. Give upper bound.
31218 (DBL_EPSILON): Likewise.
31219 (LDBL_EPSILON): Likewise.
31220 (FLT_MIN): Likewise.
31221 (DBL_MIN): Likewise.
31222 (LDBL_MIN): Likewise.
31223 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31224 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31225 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31226 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31227 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31228 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31229 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31230 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31231 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31232 [ISO11] (FLT_TRUE_MIN): Likewise.
31233 [ISO11] (LDBL_TRUE_MIN): Likewise.
31234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31235 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31236 (SCHAR_MIN): Use macro-int-constant. Specify type.
31237 (SCHAR_MAX): Likewise.
31238 (UCHAR_MAX): Likewise.
31239 (CHAR_MIN): Likewise.
31240 (CHAR_MAX): Likewise.
31241 (MB_LEN_MAX): Use macro-int-constant.
31242 (SHRT_MIN): Use macro-int-constant. Specify type.
31243 (SHRT_MAX): Likewise.
31244 (USHRT_MAX): Likewise.
31245 (INT_MAX): Likewise.
31246 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31247 bound negative.
31248 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31249 bound with "U".
31250 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31251 bound with "L".
31252 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31253 bound negative. Suffix upper bound with "L".
31254 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31255 bound with "UL".
31256 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31257 Specify type.
31258 [C99-based standards] (LLONG_MAX): Likewise.
31259 [C99-based standards] (ULLONG_MAX): Likewise.
31260 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31261 == 0.
31262 [ISO11] (max_align_t): Require type.
31263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31264
c9140a62
JM
31265 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31266 from $CFLAGS, without defining away __attribute__ calls.
31267 (checknamespace): Use $CFLAGS_namespace.
31268
9af0bf29
JM
31269 * conform/conformtest.pl (@keywords): Only include C99 keywords
31270 for standards based on C99 or C11.
31271
343222a2
JM
31272 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31273 Disable tests.
31274 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31275 UNIX98]: Likewise.
31276
661f8cf0
JM
31277 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31278 usability of symbols in #if.
31279
ee74b9cb
JM
31280 * conform/conformtest.pl: If macro or constant types start
31281 "promoted:", expect the symbol to be of the following type
31282 promoted by the integer promotions.
62fde54f 31283
aafc49b3
JM
31284 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31285 in one place. Also handle "macro-constant".
31286
fefdf574
JM
31287 * conform/conformtest.pl: Only accept expected macro values with
31288 "==". Parse all "macro" lines in one place.
31289 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31290
f2d922fe
JM
31291 * conform/conformtest.pl: Handle braced types on "constant" lines
31292 instead of handling "typed-constant".
31293 * conform/data/signal.h-data: Use "constant" instead of
31294 "typed-constant".
31295
d22956c9
JM
31296 * conform/conformtest.pl: Handle "optional-" at start of lines in
31297 one place rather than duplicating several cases. Handle each
31298 format of "macro" line with initial "optional-".
31299
028e2e38
JM
31300 * conform/conformtest.pl: Only accept expected constant or
31301 optional-constant values with "==". Parse all "constant" lines in
31302 one place. Parse all "optional-constant" lines in one place.
31303 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31304 * conform/data/fmtmsg.h-data: Likewise.
31305 * conform/data/netinet/in.h-data: Likewise.
31306 * conform/data/tar.h-data: Likewise.
31307 * conform/data/limits.h-data: Use "==" form on "constant" and
31308 "optional-constant" lines.
31309
1b8f2850
JM
31310 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31311 Use -std=c99 for XOPEN2K.
31312 (@knownproblems): Remove.
31313 (newtoken): Don't check %isknown.
31314
a05a144b
JM
31315 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31316 Do not expect macro.
31317 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31318 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31319 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31320 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31321 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31322 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31323 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31324 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31325 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31326 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31327 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31328 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31329 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31330 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31331 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31332 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31333 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31334 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31335 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31336 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31337 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31338 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31339 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31340 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31341 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31342 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31343 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31344 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31345 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31346 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31347 [XPG3] (acosh): Likewise.
31348 [XPG3] (asinh): Likewise.
31349 [XPG3] (atanh): Likewise.
31350 [XPG3] (cbrt): Likewise.
31351 [XPG3] (expm1): Likewise.
31352 [XPG3] (ilogb): Likewise.
31353 [XPG3] (log1p): Likewise.
31354 [XPG3] (logb): Likewise.
31355 [XPG3] (nextafter): Likewise.
31356 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31357 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31358 [XPG3] (remainder): Likewise.
31359 [XPG3] (rint): Likewise.
31360 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31361 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31362 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31363 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31364 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31365 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31366 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31367 [UNIX98 || XOPEN2K] (scalb): Expect.
31368 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31369 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31370 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31371 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31372 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31373 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31374 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31375 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31376 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31377 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31378 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31379 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31380 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31381 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31382 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31383 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31384 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31385 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31386 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31387 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31388 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31389 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31390 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31391 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31392 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31393 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31394 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31395 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31396 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31397 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31398 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31399 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31400 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31401 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31402 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31403 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31404 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31405 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31406 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31407 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31408 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31409 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31410 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31411 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31412 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31413 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31414 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31415 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31416 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31417 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31418 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31419 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31420 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31421 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31422 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31423 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31424 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31425 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31426 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31427 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31428 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31429 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31430 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31431 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31432 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31433 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31434 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31435 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31436 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31437 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31438 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31439 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31440 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31441 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31442 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31443 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31444 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31445 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31446 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31447 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31448 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31449 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31450 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31451 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31452 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31453 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31454 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31455 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31456 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31457 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31458 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31459 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31460 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31461 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31462 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31463 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31464 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31465 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31466 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31467 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31468 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31469 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31470 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31471 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31472 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31473 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31474 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31475 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31476 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31477 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31478 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31479 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31480 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31481 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31482 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31483 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31484 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31485 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31486 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31487 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31488 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31489 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31490 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31491 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31492 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31493 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31494 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31495 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31496 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31497 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31498 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31499 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31500 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31501 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31502 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31503 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31504 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31505
73c5ebe3
JM
31506 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31507 _XOPEN_SOURCE_EXTENDED for XPG4.
31508
39c33b6c
JM
31509 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31510
62fde54f
JM
31511 * Makeconfig (localtime): Remove variable.
31512 (inst_localtime-file): Likewise.
31513
0741d64c
AS
315142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31515
31516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31517 Update.
31518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31519 Update.
31520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31521 Update.
31522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31523 Update.
31524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31525 Update.
31526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31527 Update.
31528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31529 Update.
31530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31531 Update.
31532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31533 Update.
31534
7cb029ee
JM
315352012-05-01 Joseph Myers <joseph@codesourcery.com>
31536
31537 [BZ #2550]
31538 [BZ #2570]
31539 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31540 comparisons to determine direction to adjust input.
31541 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31542 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31543 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31544 Likewise.
31545 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31546 Likewise.
31547 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31548 Likewise.
31549 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31550 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31551 Likewise.
31552 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31553 Likewise.
31554 * math/libm-test.inc (nexttoward_test): Add more tests.
31555
412bd966
AS
315562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31557
31558 [BZ #14040]
31559 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31560 in version GLIBC_2.1, not GLIBC_2.0.
31561 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31562 Likewise.
31563
9568c0c2
JM
315642012-04-30 Joseph Myers <joseph@codesourcery.com>
31565
adfbc8ac
JM
31566 [BZ #13942]
31567 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31568 (1 - x) * (1 + x).
31569 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31570 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31571 * math/libm-test.inc (acos_test): Add more tests.
31572 (asin_test): Likewise.
31573 * sysdeps/i386/fpu/libm-test-ulps: Update.
31574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31575
5ba3cc69
JM
31576 [BZ #14034]
31577 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31578 of square root.
31579 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31580 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31581 * math/libm-test.inc (acos_test_tonearest): New function.
31582 (acos_test_towardzero): Likewise.
31583 (acos_test_downward): Likewise.
31584 (acos_test_upward): Likewise.
31585 (asin_test_tonearest): Likewise.
31586 (asin_test_towardzero): Likewise.
31587 (asin_test_downward): Likewise.
31588 (asin_test_upward): Likewise.
31589 (main): Call the new functions.
31590 * sysdeps/i386/fpu/libm-test-ulps: Update.
31591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31592
9568c0c2
JM
31593 [BZ #13884]
31594 [BZ #13924]
31595 * math/e_exp10.c: Include <float.h>.
31596 (__ieee754_exp10): Handle underflow here rather than multiplying
31597 large negative argument by M_LN10.
31598 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31599 of __ieee754_expf.
31600 * math/e_exp10l.c: Include <float.h>.
31601 (__ieee754_exp10l): Handle underflow here rather than multiplying
31602 large negative argument by M_LN10l.
31603 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31604 spurious overflow exception on underflow.
31605
5ac3ea17
MP
316062012-04-29 Marek Polacek <polacek@redhat.com>
31607
31608 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31609 (__fortify_function): New macro.
31610 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31611 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31612 __extern_always_inline.
31613 * libio/bits/stdio2.h: Likewise.
31614 * libio/bits/stdio.h: Likewise.
31615 * string/string.h: Likewise.
31616 * string/bits/string3.h: Likewise.
31617 * include/stdio.h: Likewise.
31618 * stdlib/bits/stdlib.h: Likewise.
31619 * stdlib/stdlib.h: Likewise.
31620 * rt/bits/mqueue2.h: Likewise.
31621 * rt/mqueue.h: Likewise.
31622 * posix/bits/unistd.h: Likewise.
31623 * posix/unistd.h: Likewise.
31624 * io/bits/poll2.h: Likewise.
31625 * io/bits/fcntl2.h: Likewise.
31626 * io/fcntl.h: Likewise.
31627 * io/sys/poll.h: Likewise.
31628 * misc/bits/syslog.h: Likewise.
31629 * misc/bits/syslog-ldbl.h: Likewise.
31630 * misc/sys/syslog.h: Likewise.
31631 * socket/bits/socket2.h: Likewise.
31632 * socket/sys/socket.h: Likewise.
31633 * debug/tst-chk1.c: Likewise.
31634 * wcsmbs/bits/wchar2.h: Likewise.
31635 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31636 * wcsmbs/wchar.h: Likewise.
31637
ecf0ebfb
AJ
316382012-04-29 Andreas Jaeger <aj@suse.de>
31639
31640 * Makerules (tests): Remove enable-check-abi protection.
31641 (check-abi-warn): Remove.
31642 (check-abi-%): Remove check-abi-warn usage.
31643
31644 * configure.in: Remove check-abi configure option.
31645 * configure: Regenerated.
31646 * config.make.in (enable-check-abi): Remove.
31647
6d5c57fa
AS
316482012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31649
24c5d07e 31650 [BZ #14033]
ded5180a
AS
31651 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31652 double functions to double *_finite functions.
31653
7e0d315d
AS
31654 [BZ #13941]
31655 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31656 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31657 LDBL_MIN_EXP.
31658 * stdio-common/Makefile (tests): Add tst-sprintf3.
31659 * stdio-common/tst-sprintf3.c: New file.
31660
6d5c57fa
AS
31661 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31662 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31663
0749ff8b
JM
316642012-04-28 Joseph Myers <joseph@codesourcery.com>
31665
31666 * conform/conformtest.pl: Remove duplicate typed-constant
31667 handling.
31668
8dbd5d7b
DM
316692012-04-28 David S. Miller <davem@davemloft.net>
31670
31671 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31672 (check-abi-%): Remove AWK script prerequisite and explicit
31673 abilist directory.
31674 (check-abi): Rewrite to just diff the symlist with the abilist.
31675 (config-tls, config-abi-config): Delete, no longer used.
31676 (update-abi-%): Remove AWK script and explicit abilist directory.
31677 (update-abi): Rewrite to simply compare and conditionally copy the
31678 symlist and the sysdep abilist file. Remove update-abi-config
31679 checks.
31680 * abilist/ld.abilist: Remove.
31681 * abilist/libBrokenLocale.abilist: Remove.
31682 * abilist/libanl.abilist: Remove.
31683 * abilist/libcrypt.abilist: Remove.
31684 * abilist/libdl.abilist: Remove.
31685 * abilist/librt.abilist: Remove.
31686 * abilist/libthread_db.abilist: Remove.
31687 * abilist/libutil.abilist: Remove.
31688 * scripts/extract-abilist.awk: Remove.
31689 * scripts/merge-abilist.awk: Remove.
31690 * sysdeps/generic/libcidn.abilist: New file.
31691 * sysdeps/generic/libnss_compat.abilist: New file.
31692 * sysdeps/generic/libnss_db.abilist: New file.
31693 * sysdeps/generic/libnss_dns.abilist: New file.
31694 * sysdeps/generic/libnss_files.abilist: New file.
31695 * sysdeps/generic/libnss_hesiod.abilist: New file.
31696 * sysdeps/generic/libnss_nis.abilist: New file.
31697 * sysdeps/generic/libnss_nisplus.abilist: New file.
31698 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31699 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31700 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31701 file.
31702 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31703 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31704 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31705 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31706 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31707 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31708 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31709 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31710 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31711 file.
31712 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31713 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31714 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31715 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31716 file.
31717 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31718 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31719 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31720 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31721 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31722 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31723 file.
31724 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31725 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31726 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31727 file.
31728 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31730 New file.
31731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31732 New file.
31733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31734 New file.
31735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31736 New file.
31737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31738 New file.
31739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31740 New file.
31741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31742 New file.
31743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31744 New file.
31745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31746 New file.
31747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31748 New file.
31749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31750 New file.
31751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31752 New file.
31753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31754 New file.
31755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31756 file.
31757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31758 New file.
31759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31760 New file.
31761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31762 file.
31763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31764 New file.
31765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31766 New file.
31767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31768 file.
31769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31770 New file.
31771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31772 New file.
31773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31774 New file.
31775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31776 New file.
31777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31778 New file.
31779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31780 New file.
31781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31783 file.
31784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31785 New file.
31786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31787 file.
31788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31789 file.
31790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31791 file.
31792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31793 file.
31794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31795 file.
31796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31797 New file.
31798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31799 file.
31800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31801 file.
31802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31803 New file.
31804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31805 file.
31806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31808 file.
31809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31810 New file.
31811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31812 file.
31813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31814 file.
31815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31816 file.
31817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31818 file.
31819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31820 file.
31821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31822 New file.
31823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31824 file.
31825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31826 file.
31827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31828 New file.
31829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31830 file.
31831 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31832 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31833 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31834 file.
31835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31836 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31837 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31838 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31839 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31840 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31841 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31842 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31843 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31844 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31847 file.
31848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31849 New file.
31850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31851 file.
31852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31853 file.
31854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31855 file.
31856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31857 file.
31858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31859 file.
31860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31861 New file.
31862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31863 New file.
31864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31865 file.
31866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31867 New file.
31868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31869 file.
31870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31872 file.
31873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31874 New file.
31875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31876 file.
31877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31878 file.
31879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31880 file.
31881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31882 file.
31883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31884 file.
31885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31886 New file.
31887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31888 New file.
31889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31890 file.
31891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31892 New file.
31893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31894 file.
31895
41d73a1b
JM
318962012-04-28 Joseph Myers <joseph@codesourcery.com>
31897
31898 * conform/conformtest.pl: Fix typo in handling typed-constant from
31899 allow-header.
31900
28aeeda4
JM
319012012-04-27 Joseph Myers <joseph@codesourcery.com>
31902
adae8f5e
JM
31903 * README: Cut down references to pre-2.6 Linux kernels and
31904 Linuxthreads. Update lists of configurations in libc and ports
31905 and sort alphabetically. Say "or newer" with Linux kernel version
31906 requirements.
31907
28aeeda4
JM
31908 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31909
a462cb63
RA
319102012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31911
31912 [BZ #887]
31913 * math/libm-test.inc (logb_test_downward): New test to expose
31914 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31915 rounding mode.
31916
6ad3493e
JM
319172012-04-27 Joseph Myers <joseph@codesourcery.com>
31918
31919 [BZ #14027]
31920 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31921 to be done.
31922 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31923 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31924
2ce4f015
JM
319252012-04-26 Joseph Myers <joseph@codesourcery.com>
31926
5aeb141a
JM
31927 * sysdeps/unix/i386/brk.S: Remove file.
31928 * sysdeps/unix/i386/dl-brk.S: Likewise.
31929 * sysdeps/unix/i386/pipe.S: Likewise.
31930 * sysdeps/unix/i386/sigreturn.S: Likewise.
31931 * sysdeps/unix/i386/syscall.S: Likewise.
31932 * sysdeps/unix/i386/vfork.S: Likewise.
31933 * sysdeps/unix/i386/wait.S: Likewise.
31934
7143acae
JM
31935 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31936 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31937
2ce4f015
JM
31938 * configure.in (arm*-none*): Do not allow without
31939 --enable-hacker-mode.
31940 (netbsd*): Remove case setting base_os.
31941 (386bsd*): Likewise.
31942 (freebsd*): Likewise.
31943 (bsdi*): Likewise.
31944 (osf*): Likewise.
31945 (sunos*): Likewise.
31946 (ultrix*): Likewise.
31947 (newsos*): Likewise.
31948 (dynix*): Likewise.
31949 (*bsd*): Likewise.
31950 (sysv*): Likewise.
31951 (isc*): Likewise.
31952 (esix*): Likewise.
31953 (sco*): Likewise.
31954 (minix*): Likewise.
31955 (irix4*): Likewise.
31956 (irix6*): Likewise.
31957 (solaris[2-9]*): Likewise.
31958 (none): Likewise.
31959 * configure: Regenerated.
31960
0ac229c8
AZ
319612012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31962
31963 [BZ #11521]
31964 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31965 overflow or cancellation in calculating denominator.
31966 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31967 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31968 down expression to avoid unexpected rounding in newer GCCs.
31969 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31970
33f244f4
DM
319712012-04-26 David S. Miller <davem@davemloft.net>
31972
31973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31974 long-double compat symbols.
31975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31988
cfa1f3e8
DM
319892012-04-25 David S. Miller <davem@davemloft.net>
31990
31991 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31992 HWCAP_* values only after the memory barriers have been defined.
31993 (atomic_full_barrier): Define.
31994 (atomic_read_barrier): Define.
31995 (atomic_write_barrier): Define.
31996
6e236b92
SP
319972012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31998
31999 * shlib-versions: Add libgcc_s version information.
32000 * sysdeps/generic/libgcc_s.h: Remove.
32001 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32002 libgcc_s.h.
32003 * sysdeps/gnu/unwind-resume.c: Likewise.
32004 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32005
aab39a09
DM
320062012-04-25 David S. Miller <davem@davemloft.net>
32007
32008 * sysdeps/unix/sparc/brk.S: Delete.
32009 * sysdeps/unix/sparc/dl-brk.S: Delete.
32010 * sysdeps/unix/sparc/pipe.S: Delete.
32011 * sysdeps/unix/sparc/sysdep.S: Delete.
32012 * sysdeps/unix/sparc/sysdep.h: Delete.
32013 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32014 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32015 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32016 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32017 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32018 (JUMPTARGET): Remove.
32019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32020 sysdeps/unix/sparc/sysdep.h
32021 (ENTRY, END): Remove.
32022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32023
a3cc4f48
JM
320242012-04-25 Joseph Myers <joseph@codesourcery.com>
32025
2ed8cda2
JM
32026 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32027 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32028 -DIS_IN_build.
32029
35d76d59
JM
32030 * timezone/README: Update upstream location and email address for
32031 tzcode and tzdata.
32032 * timezone/zdump.c: Update from tzcode 2012b.
32033 * timezone/zic.c: Likewise.
32034
a3cc4f48
JM
32035 * configure.in (libc_cv_as_needed): Remove test.
32036 * configure: Regenerated.
32037 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32038 conditional definition.
32039 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32040 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32041 * config.make.in (have-as-needed): Remove variable.
32042
ceab42c3
SP
320432012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32044 Paul Pluzhnikov <ppluzhnikov@google.com>
32045
32046 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32047 strings correctly.
32048
3ce2865f
CLT
320492012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32050
32051 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32052 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32053 * sysdeps/sh/strlen.S: Likewise.
32054
f37e0d68
JM
320552012-04-24 Joseph Myers <joseph@codesourcery.com>
32056
ae186e9a
JM
32057 * sysdeps/unix/fork.S: Remove file.
32058 * sysdeps/unix/i386/fork.S: Likewise.
32059 * sysdeps/unix/sparc/fork.S: Likewise.
32060
b96914af
JM
32061 * sysdeps/unix/system.c: Remove file.
32062 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32063
f37e0d68
JM
32064 * sysdeps/unix/getegid.S: Remove file.
32065 * sysdeps/unix/geteuid.S: Likewise.
32066
87ef29ca
RM
320672012-04-24 Roland McGrath <roland@hack.frob.com>
32068
83bcd236
RM
32069 * scripts/check-localplt.awk: New file.
32070 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32071 of diff.
32072 * scripts/data/localplt-generic.data: Add a comment.
32073
87ef29ca
RM
32074 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32075 NODE when __dir_mkfile failed.
32076 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32077 Reported by Ludovic Courtès <ludo@gnu.org>.
32078
e5a6e567
AJ
320792012-04-24 Andreas Jaeger <aj@suse.de>
32080
32081 * Makerules (common-clean): Also remove gen-as-const-headers
32082 files.
32083
c1820385
JM
320842012-04-24 Joseph Myers <joseph@codesourcery.com>
32085
32086 * Makerules (native-compile): Do not change working directory for
32087 build. Use $(OUTPUT_OPTION) in command.
32088 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32089
94e02fc4
AZ
320902012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32091
32092 [BZ #13886]
32093 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32094 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32095 * math/libm-test.inc (floor_test): Add more tests.
32096 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32097
3a533ca3
JM
320982012-04-24 Joseph Myers <joseph@codesourcery.com>
32099
940ab4b3
JM
32100 * sysdeps/unix/getdents.c: Remove file.
32101 * sysdeps/unix/sysv/getdents.c: Likewise.
32102 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32103
90e037bd
JM
32104 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32105 sysdeps/unix/mman/syscalls.list.
32106 (mmap): Likewise.
32107 (mprotect): Likewise.
32108 (msync): Likewise.
32109 (munmap): Likewise.
32110 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32111 * sysdeps/unix/mman/syscalls.list: Remove.
32112 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32113
3a533ca3
JM
32114 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32115 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32116 * configure: Regenerated.
32117 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32118 $(libgcc_s_suffix).
32119 * config.make.in (libgcc_s_suffix): Remove variable.
32120
1ad743de
JM
321212012-04-23 Joseph Myers <joseph@codesourcery.com>
32122
4ad451e2
JM
32123 * sysdeps/unix/sysv/gethostname.c: Move to ...
32124 * sysdeps/posix/gethostname.c: ... here.
32125
5e37ce39
JM
32126 * sysdeps/unix/execve.S: Remove file.
32127
1ad743de
JM
32128 * sysdeps/unix/_exit.S: Remove file.
32129
4e681b5b
AJ
321302012-04-23 Andreas Jaeger <aj@suse.de>
32131
32132 [BZ #13739]
32133 * manual/Makefile: Remove make dist support, there's no
32134 need for a stand-alone documentation tar ball.
32135 (TEXI2DVI): Define always, it's not in Makeconfig.
32136 (dist): Removed.
32137 (tar-it): Removed.
32138 (edition): Removed.
32139 (glibc-doc-$(edition).tar): Removed
32140 (%.Z): Removed.
32141 (%.gz): Removed.
32142 (%.uu): Removed.
32143 (ETAGS): Remove, it's in Makeconfig.
32144 (move-if-change): Remove, it's in Makeconfig.
32145
38686a03 321462012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
32147
32148 [BZ #13970]
32149 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32150 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32151 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32152 (strtod_l, strtof_l, strtold_l): Remove __wur.
32153 It is not necessarily an error to ignore strtol's return value.
32154 One can reliably look at the stored endptr to decide whether
32155 the number had valid syntax.
32156
7c0616fa
AJ
321572012-04-21 Andreas Jaeger <aj@suse.de>
32158
803cb6b7 32159 [BZ #13739]
7c0616fa
AJ
32160 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32161
b0fe253f
JM
321622012-04-21 Joseph Myers <joseph@codesourcery.com>
32163
32164 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32165 * sysdeps/unix/sysv/Versions: Remove file.
32166
8280f22d
MT
321672012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32168
32169 [BZ #13927]
32170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32171
75ce411f 321722012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
32173
32174 [BZ #7064]
32175 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32176 version from __vm86.
32177
097d59fa
JM
321782012-04-20 Joseph Myers <joseph@codesourcery.com>
32179
a90f3bcb
JM
32180 * sysdeps/unix/common/lxstat.c: Remove file.
32181 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32182
edc7ea78
JM
32183 * sysdeps/unix/sysv/Makefile: Remove file.
32184
cb78c221
JM
32185 * sysdeps/unix/sysv/direct.h: Remove file.
32186
efa6a45f
JM
32187 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32188 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32189 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32190 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32191 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32192 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32193 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32194
9c9f2d0c
JM
32195 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32196
4541c83b
JM
32197 * sysdeps/unix/xmknod.c: Remove file.
32198 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32199
f5d153a0
JM
32200 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32201
aa746595
JM
32202 * sysdeps/unix/sysv/i386/time.S: Remove file.
32203
cce5905e
JM
32204 * sysdeps/unix/fxstat.c: Remove file.
32205 * sysdeps/unix/xstat.c: Likewise.
32206 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32207
37fa3841
JM
32208 * sysdeps/unix/sysv/sigaction.c: Remove file.
32209
ff1962a3
JM
32210 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32211 (sysdep_headers): Remove variable.
32212 [termio.h not in sysdep_headers] (generated): Likewise.
32213 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32214 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32215 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32216 * sysdeps/unix/sysv/tcflow.c: Likewise.
32217 * sysdeps/unix/sysv/tcflush.c: Likewise.
32218 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32219 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32220 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32221 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32222 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32223
e7740d31
JM
32224 * sysdeps/unix/siglist.c: Remove file.
32225
ee06f18b
JM
32226 * sysdeps/unix/getppid.S: Remove file.
32227
097d59fa
JM
32228 * sysdeps/unix/mkdir.c: Remove file.
32229 * sysdeps/unix/rmdir.c: Likewise.
32230
ff3d51ec
AS
322312012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32232
32233 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32234 ERR_MAX value.
32235 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32236 errlist-compat value.
32237
50f81fd7
DM
322382012-04-18 David S. Miller <davem@davemloft.net>
32239
32240 * sysdeps/generic/memcopy.h (reg_char): Delete.
32241 * debug/strcat_chk.c: Use char, not reg_char.
32242 * debug/strcpy_chk.c: Likewise.
32243 * debug/strncat_chk.c: Likewise.
32244 * debug/strncpy_chk.c: Likewise.
32245 * string/memchr.c: Likewise.
32246 * string/memrchr.c: Likewise.
32247 * string/rawmemchr.c: Likewise.
32248 * string/strcat.c: Likewise.
32249 * string/strchr.c: Likewise.
32250 * string/strchrnul.c: Likewise.
32251 * string/strcmp.c: Likewise.
32252 * string/strcpy.c: Likewise.
32253 * string/strncat.c: Likewise.
32254 * string/strncmp.c: Likewise.
32255 * string/strncpy.c: Likewise.
32256
8ff41c46
WS
322572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32258
32259 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32260 __builtin_memcopy is called when src and dest ranges are known to not
32261 overlap.
32262
6b652f46
WS
322632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32264
32265 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32266 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32267 fwd_align_merge macro call.
32268 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32269 bwd_align_merge macro call.
32270 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32271
b282631e
WS
322722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32273
32274 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32275 bwd_align_merge macros.
32276 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32277 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32278 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32279
95aa737c
DM
322802012-04-18 David S. Miller <davem@davemloft.net>
32281
32282 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32283
7a99a614
AJ
322842012-04-18 Andreas Jaeger <aj@suse.de>
32285
32286 [BZ# 6794]
32287 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32288 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32289 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32290
32291 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32292 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32293 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32294
32295 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32296 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32297 Adjust for changed ldbl-128 files.
32298
32299 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32300 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32301 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32302
e5270c23
DM
323032012-04-17 David S. Miller <davem@davemloft.net>
32304
32305 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32306
fb5e92c9
AS
323072012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32308
32309 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32310 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32311 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32312 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32313 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32314 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32315
76da7265
AZ
323162012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32317
32318 [BZ #6794]
32319 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32320 * math/libm-test.inc: Add ilogb errno and exception tests.
32321 * math/w_ilogb.c: New file: ilogb wrapper.
32322 * math/w_ilogbf.c: New file: ilogbf wrapper.
32323 * math/w_ilogbl.c: New file: ilogbl wrapper.
32324 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32325 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32326 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32327 exception being thrown with 0.0 as argument.
32328 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32329 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32330 exception being thrown with 0.0 as argument.
32331 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32332 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32333 exception being thrown with 0.0 as argument.
32334 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32335 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32336 exception being thrown with 0.0 as argument.
32337 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32338 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 32339 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
32340 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32342 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32343 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32344 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32345 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32346
0396e69d
PB
323472012-04-17 Petr Baudis <pasky@ucw.cz>
32348
32349 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32350 with altivec.
32351
750b5926
MP
323522012-04-16 Marek Polacek <polacek@redhat.com>
32353
32354 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32355
751728a1
MP
323562012-04-16 Marek Polacek <polacek@redhat.com>
32357
32358 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32359 operands of fdivp instruction.
32360
34a27407
L
323612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32362
32363 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32364 * elf/tst-auditmod3b.c: Likewise.
32365 * elf/tst-auditmod4b.c: Likewise.
32366 * elf/tst-auditmod5b.c: Likewise.
32367 * elf/tst-auditmod6b.c: Likewise.
32368 * elf/tst-auditmod6c.c: Likewise.
32369 * elf/tst-auditmod7b.c: Likewise.
32370 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32371 * sysdeps/x86_64/preconfigure.in: Likewise.
32372 * sysdeps/x86_64/preconfigure: Regenerated.
32373
7e73e17d
L
323742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32375
32376 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32377 __ILP32__.
32378
c7a6ab72
AB
323792012-04-13 Antoine Balestrat <merkil33@gmail.com>
32380
32381 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32382 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32383
a9e8e0e0
CL
323842012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32385
32386 [BZ #13973]
32387 * locale/iso-639.def: Fix gl language name. Spotted by
32388 Yaron Shahrabani.
32389
ec98af7d
RM
323902012-04-12 Roland McGrath <roland@hack.frob.com>
32391
32392 [BZ #2074]
32393 * libio/libio.h (__io_write_fn): Update comment.
32394
247c3ede
PB
323952012-04-12 Petr Baudis <pasky@ucw.cz>
32396
32397 [BZ #2074]
32398 * stdio.texi (Hook Functions): The user provided writer function
32399 is not allowed to return -1.
32400
55939d6d
DM
324012012-04-11 David S. Miller <davem@davemloft.net>
32402
32403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32404
90020f5a
MF
324052012-04-11 Mike Frysinger <vapier@gentoo.org>
32406
32407 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32408 Add a leading slash to rtkaio.
32409
288f9098
JM
324102012-04-11 Jim Meyering <meyering@redhat.com>
32411
90020f5a
MF
32412 [BZ #11959]
32413 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32414 It is not necessarily an error to ignore fwrite's return
32415 value. One can reliably use ferror to test for errors after
32416 the fact.
288f9098 32417
4be2b570
L
324182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32419
32420 * bits/types.h (__snseconds_t): New type.
32421 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32422
32423 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32425 (__SNSECONDS_T_TYPE): Likewise.
32426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32427 (__SNSECONDS_T_TYPE): Likewise.
32428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32429 (__SNSECONDS_T_TYPE): Likewise.
32430
288f9098 324312012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
32432
32433 [BZ #2636]
32434 * manual/time.texi (Processor Time): Return type of times is
32435 elapsed real time since an arbitrary point in the past.
32436 (CPU Time): Move CLK_TCK from here...
32437 (Processor Time): ...to here. Correct description.
32438 * manual/conf.texi (Constants for Sysconf): Correct description of
32439 _SC_CLK_TCK.
32440
d7dd4413
DM
324412012-04-10 David S. Miller <davem@davemloft.net>
32442
32443 [BZ #13967]
32444 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32445 where the is a gap between DT_REL(A) and DT_JMPREL.
32446
b46068fc
L
324472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32448
32449 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32450 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32451 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32452
73d65cc3
SP
324532012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32454
32455 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32456 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32457 (dl_main): Handle --inhibit-cache.
32458 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32459 _dl_inhibit_cache.
32460 * elf/dl-load.c (_dl_map_object): Use it.
32461 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32462
bcc8d661
JM
324632012-04-09 Joseph Myers <joseph@codesourcery.com>
32464
8f9a2fae
JM
32465 [BZ #13872]
32466 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32467 (__ieee754_powl): Saturate large exponents rather than testing for
32468 overflow of y*log2(x).
32469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32470 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32471 exceptions.
32472
bcc8d661
JM
32473 [BZ #11521]
32474 * math/s_ctan.c: Include <float.h>.
32475 (__ctan): Avoid internal overflow or cancellation in calculating
32476 denominator.
32477 * math/s_ctanf.c: Likewise.
32478 * math/s_ctanl.c: Likewise.
32479 * math/s_ctanh.c: Likewise.
32480 * math/s_ctanhf.c: Likewise.
32481 * math/s_ctanhl.c: Likewise.
32482 * math/libm-test.inc (ctan_test): Add more tests.
32483 (ctanh_test): Likewise.
32484 * sysdeps/i386/fpu/libm-test-ulps: Update.
32485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32486
823fbbb4
AJ
324872012-04-09 Andreas Jaeger <aj@suse.de>
32488
03879793
AJ
32489 [BZ #6894]
32490 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32491 is an optional BSD extension.
32492
823fbbb4
AJ
32493 [BZ #10254]
32494 * manual/stdio.texi (Opening Streams): Document additional fopen
32495 parameters.
32496
8de131cb
RM
324972012-04-09 Roland McGrath <roland@hack.frob.com>
32498
32499 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32500 %eax without telling the compiler.
32501
c0ed9d7d
CD
325022012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32503
32504 [BZ # 13963]
32505 * manual/install.texi: Use sourceware.org.
32506
c483f6b4
JM
325072012-04-09 Joseph Myers <joseph@codesourcery.com>
32508
d7dd9453
JM
32509 [BZ #13873]
32510 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32511 (__ieee754_pow): Generate overflow and underflow using huge*huge
32512 and tiny*tiny rather than just returning constant infinity or zero
32513 for large exponents.
32514 * math/libm-test.inc (pow_test): Require overflow exceptions for
32515 applicable cases of large exponents.
32516
c483f6b4
JM
32517 [BZ #706]
32518 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32519 (__ieee754_pow): Use iterative multiplication algorithm only for
32520 integer exponents with absolute value below 1024. Check for odd
32521 integer exponents when using algorithm for real exponents.
32522 * math/libm-test.inc (pow_test): Add more tests.
32523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32524
d2de7579
JM
325252012-04-08 Joseph Myers <joseph@codesourcery.com>
32526
32527 [BZ #13705]
32528 * math/libm-test.inc (exp_test): Do not allow overflow exception
32529 on underflow test.
32530
f77f1232
AJ
325312012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32532
32533 [BZ #13705]
32534 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32535 instead of __kernel_standard_f.
32536
3884932b
MF
325372012-04-08 Mike Frysinger <vapier@gentoo.org>
32538
32539 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32540 * sysdeps/x86_64/memset_chk.S: Likewise.
32541
54472e9c
AJ
325422012-04-08 Andreas Jaeger <aj@suse.de>
32543
6ab0fbfc
AJ
32544 [BZ #10153]
32545 * manual/startup.texi (Environment Access): Describe return value
32546 for putenv and setenv.
32547
61efba8c
AJ
32548 [BZ #6895]
32549 * manual/filesys.texi (Directory Entries): Add description for
32550 DT_LNK.
32551
95c3f29a
AJ
32552 [BZ #6890]
32553 * manual/filesys.texi (Directory Entries): Clarify that it's file
32554 system not operating system in the description of DT_UNKNOWN.
32555
54472e9c
AJ
32556 [BZ #6578]
32557 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32558
624254b1
SC
325592012-04-08 Stephen Compall <s11@member.fsf.org>
32560
32561 [BZ #6649]
32562 * manual/llio.texi (Opening and Closing Files): Add cross
32563 reference to explain mode argument.
32564
1e4920e0
MF
325652012-04-07 Mike Frysinger <vapier@gentoo.org>
32566
32567 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32568 * sysdeps/x86_64/memset_chk.S: Likewise.
32569
5ed848f3
DM
325702012-04-07 David S. Miller <davem@davemloft.net>
32571
32572 * elf/elf.h (R_SPARC_WDISP10): Define.
32573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32574 R_SPARC_SIZE32.
32575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32576 R_SPARC_SIZE64 and R_SPARC_H34.
32577
96154cd8
CD
325782012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32579
32580 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32581 conditions and remove no longer applicable assertion.
32582
9904dc47
L
325832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32584
32585 * bits/byteswap.h: Include <features.h>.
32586 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32587 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32588
f8887d0a
L
325892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32590
32591 * bits/byteswap.h (__bswap_16): Removed.
32592 Include <bits/byteswap-16.h> to get __bswap_16.
32593 * sysdeps/i386/bits/byteswap.h: Likewise.
32594 * sysdeps/s390/bits/byteswap.h: Likewise.
32595 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32596 * bits/byteswap-16.h: New file.
32597 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32598 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32599 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32600 * string/Makefile (headers): Add bits/byteswap-16.h.
32601
62470f60
PP
326022012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32603
32604 [BZ #13895]
32605 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32606 extra indirection.
32607 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32608 * nss/tst-nss-static.c: New.
32609
4dad7bab
RM
326102012-04-06 Robert Millan <rmh@gnu.org>
32611
32612 [BZ #6486]
32613 * manual/llio.texi (File Position Primitive): lseek
32614 refers to WHENCE when it really means OFFSET.
32615
e9142a17
AJ
326162012-04-06 Andreas Jaeger <aj@suse.de>
32617
2c040eff
AJ
32618 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32619 strncmp declarations.
32620
e9142a17
AJ
32621 * abilist/libc.abilist: Add __poll and __ppoll.
32622
ff9f1c5f
DM
326232012-04-05 David S. Miller <davem@davemloft.net>
32624
dcd2ae90
DM
32625 * scripts/check-local-headers.sh: Accept a host triplet in the
32626 path matched by the exclude regexp.
32627
993eb054
DM
32628 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32629 definition.
32630 * sysdeps/powerpc/powerpc32/dl-machine.h
32631 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32632 * sysdeps/s390/s390-32/dl-machine.h
32633 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32634 * sysdeps/sparc/sparc32/dl-machine.h
32635 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32636 * sysdeps/sparc/sparc64/dl-machine.h
32637 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32638
ff9f1c5f
DM
32639 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32640 lazy binding.
48e2e132 32641 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32642 undefined symbol errors.
32643
48e2e132 32644 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32645 DT_NEEDED entries.
32646
e80d6f94
MM
326472012-04-05 Michael Matz <matz@suse.de>
32648
32649 [BZ #13592]
32650 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32651
349fa79f
AJ
326522012-04-05 Andreas Jaeger <aj@suse.de>
32653
32654 [BZ #13908]
32655 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32656 comment.
32657
f402708f
KK
326582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32659
32660 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32661 which ROUND is no valid rounding mode.
32662
2ecccfc9
KK
326632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32664
32665 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32666 read again.
32667 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32668
8a53f50f
KK
326692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32670
32671 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32672 an exception using FPU order intentionally.
32673
326742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32675
32676 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32677 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32678 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32679 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32680
d653abb7
SJ
326812012-04-05 Simon Josefsson <simon@josefsson.org>
32682
32683 [BZ #12340]
32684 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32685 EINVAL when BUFLEN is too smal.
32686
c3b1bf7d
TS
326872012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32688
32689 [BZ #13553]
32690 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32691 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32692
b1aa60f3
AJ
326932012-04-03 Andreas Jaeger <aj@suse.de>
32694
c3b1bf7d 32695 [BZ #13938]
67f60a26
AJ
32696 * manual/setjmp.texi (System V contexts): Fix sentence.
32697
b1aa60f3
AJ
32698 [BZ #13926]
32699 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32700 New macro for this case.
32701 [!__GNUC__] (__bswap_64): New inline function for this case.
32702 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32703 * bits/byteswap.h: Likewise.
32704 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32705 ull, guard with __GLIBC_HAVE_LONG_LONG.
32706
32707 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32708 __GLIBC_HAVE_LONG_LONG.
32709
32710 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32711 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32712
39c59c35
TMQMF
327132012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32714
32715 [BZ #13691]
32716 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32717 inptr and inend, rather than using last_ch.
32718
135ffda8
DM
327192012-04-02 David S. Miller <davem@davemloft.net>
32720
32721 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32722 * stdio-common/printf-parse.h (read_int): Change return type to
32723 'int', return -1 on INT_MAX overflow.
32724 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32725 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32726 overflows INT_MAX. Check for overflow of in-format-string precision
32727 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32728 SIZE_MAX not INT_MAX for integer overflow test.
32729 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32730 skip the construct in the format string but do not record anything.
32731 * stdio-common/bug22.c: Adjust to test both width/prevision
32732 INT_MAX overflow as well as total length INT_MAX overflow. Check
32733 explicitly for proper errno values.
32734
228c019e
TS
327352012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32736
302cadd3
TS
32737 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32738 CHAR_MAX.
32739 * string/test-strcmp.c [! WIDE]: Likewise.
32740 * time/tst-mktime2.c: Likewise for INT_MAX.
32741 * string/test-string.h: #include <sys/param.h> for MIN.
32742
228c019e
TS
32743 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32744 * sysdeps/i386/init-first.c (init): Likewise.
32745 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32746 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32747 * sysdeps/sh/init-first.c (init): Likewise.
32748
cfa633f5
UD
327492012-04-01 Ulrich Drepper <drepper@gmail.com>
32750
32751 * po/ru.po: Update from translation team.
d1635ef8 32752 * po/vi.po: Likewise.
cfa633f5 32753
6cd0a5ea
SP
327542012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32755
32756 * resolv/nss_dns/dns-host.c: Merge copyright years.
32757
4b43400f
LD
327582012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32759
32760 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32761 Optimize memcpy with prefetch if
32762 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32763 src, dst pointers have unequal 16 byte alignments.
32764
48c41d04
SP
327652012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32766
32767 [BZ #13928]
32768 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32769 from a CNAME entry and return the minimum ttl for the query.
32770 (gaih_getanswer_slice): Likewise.
32771
b8dc394d
JL
327722012-03-30 Jeff Law <law@redhat.com>
32773
32774 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32775 due to long keys.
32776 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32777 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32778
2f5a5ed0
JL
32779 * resolv/nss_dns/dns-host.c: Update copyright year.
32780
1d39e359
UD
327812012-03-30 Ulrich Drepper <drepper@gmail.com>
32782
c030f70c 32783 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32784 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32785
1d39e359
UD
32786 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32787 comments for sendmmsg.
32788
327892012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32790
32791 [BZ #13691]
32792 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32793 with only 1 character between 0x0041 and 0x01b0.
32794 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32795 * wcsmbs/tst-mbsnrtowcs.c: New file.
32796
20fde227
DM
327972012-03-29 David S. Miller <davem@davemloft.net>
32798
32799 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32800 small copies by hand.
32801
984a4237
JL
328022012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32803
32804 [BZ #13761]
57f41c40
AS
32805 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32806 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32807 group memberships.
984a4237 32808
18c9d62b
DM
328092012-03-28 David S. Miller <davem@davemloft.net>
32810
88d85d4f
DM
32811 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32812 that branches into memcpy.
32813 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32814 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32815 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32816 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32818 bits.
32819 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32820 implementation too.
32821 * sysdeps/sparc/mempcpy.S: New file.
32822
e5aa83e1
DM
32823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32824 the IFUNC routine in the libc case.
32825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32826
88570753
DM
32827 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32828 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32829 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32830 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32831 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32832 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32833 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32834 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32835
249d7567
DM
32836 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32837 loop to 256 bytes instead of 64 bytes and fix test signedness.
32838
18c9d62b
DM
32839 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32840 * sysdeps/sparc/sparc32/Makefile: rather than here...
32841 * sysdeps/sparc/sparc64/Makefile: and here.
32842
05f3d1f6
UD
328432012-03-28 Ulrich Drepper <drepper@gmail.com>
32844
32845 * malloc/mallocbug.c: Avoid warnings about unused variables.
32846
86ae07a8
JL
328472012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32848
32849 [BZ #13760]
32850 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32851 in the right place. Discard and retry query if response is
32852 larger than input buffer size.
32853
41bf21a1
JM
328542012-03-28 Joseph Myers <joseph@codesourcery.com>
32855
d6270972
JM
32856 [BZ #369]
32857 [BZ #2678]
32858 [BZ #3866]
32859 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32860 x for large integer exponent.
32861 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32862 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32863 sign of result as needed afterwards.
32864 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32865 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32866 result for underflowing pow the same as for overflow.
32867 (__kernel_standard_l): Handle powl overflow and underflow here
32868 rather than calling __kernel_standard.
32869 * math/libm-test.inc (pow_test): Add more tests.
32870
414fca03 32871 [BZ #3868]
41bf21a1
JM
32872 [BZ #13879]
32873 [BZ #13910]
32874 [BZ #13911]
32875 [BZ #13912]
32876 [BZ #13913]
32877 [BZ #13915]
32878 [BZ #13916]
32879 [BZ #13917]
32880 [BZ #13918]
32881 [BZ #13919]
32882 [BZ #13920]
32883 [BZ #13921]
32884 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32885 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32886 (__kernel_standard_l): New function.
32887 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32888 __kernel_standard.
32889 * math/w_acosl.c (__acosl): Likewise.
32890 * math/w_asinl.c (__asinl): Likewise.
32891 * math/w_atan2l.c (__atan2l): Likewise.
32892 * math/w_atanhl.c (__atanhl): Likewise.
32893 * math/w_coshl.c (__coshl): Likewise.
32894 * math/w_exp10l.c (__exp10l): Likewise.
32895 * math/w_exp2l.c (__exp2l): Likewise.
32896 * math/w_fmodl.c (__fmodl): Likewise.
32897 * math/w_hypotl.c (__hypotl): Likewise.
32898 * math/w_j0l.c (__j0l, __y0l): Likewise.
32899 * math/w_j1l.c (__j1l, __y1l): Likewise.
32900 * math/w_jnl.c (__jnl, __ynl): Likewise.
32901 * math/w_lgammal.c (__lgammal): Likewise.
32902 * math/w_log10l.c (__log10l): Likewise.
32903 * math/w_log2l.c (__log2l): Likewise.
32904 * math/w_logl.c (__logl): Likewise.
32905 * math/w_powl.c (__powl): Likewise.
32906 * math/w_remainderl.c (__remainderl): Likewise.
32907 * math/w_scalbl.c (sysv_scalbl): Likewise.
32908 * math/w_sinhl.c (__sinhl): Likewise.
32909 * math/w_sqrtl.c (__sqrtl): Likewise.
32910 * math/w_tgammal.c (__tgammal): Likewise.
32911 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32912 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32913 * math/libm-test.inc (acos_test): Add more tests.
32914 (acosh_test): Likewise.
32915 (asin_test): Likewise.
32916 (atanh_test): Likewise.
32917 (exp_test): Likewise.
32918 (exp10_test): Likewise.
32919 (exp2_test): Likewise.
32920 (expm1_test): Likewise.
32921 (lgamma_test): Likewise.
32922 (log_test): Likewise.
32923 (log10_test): Likewise.
32924 (log1p_test): Likewise.
32925 (log2_test): Likewise.
32926 (pow_test): Do not allow some spurious overflow exceptions.
32927 (sqrt_test): Add more tests.
32928 (tgamma_test): Likewise.
32929 (y0_test): Likewise.
32930 (y1_test): Likewise.
32931 (yn_test): Likewise.
32932
dd62fda6
AB
329332012-03-27 Anton Blanchard <anton@samba.org>
32934
32935 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32936 MAP_HUGETLB.
32937 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32938 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32939 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32940
1e3cdfda
AJ
329412012-03-27 David S. Miller <davem@davemloft.net>
32942
b855ab85
DM
32943 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32944
1e3cdfda
AJ
32945 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32946 have-as-vis3 check.
32947
329482012-03-27 Andreas Jaeger <aj@suse.de>
32949
32950 * sysdeps/x86_64/elf/configure.in: Moved to ...
32951 * sysdeps/x86_64/configure.in: ... here.
32952 * sysdeps/x86_64/elf/start.S: Moved to ...
32953 * sysdeps/x86_64/start.S: ... here.
32954 * sysdeps/x86_64/elf/configure: Delete.
32955
32956 * sysdeps/x86_64/configure.in: Merge contents from
32957 sysdeps/i386/configure.in (without i686 check).
32958
32959 * sysdeps/i386/elf/Versions: Merge into ...
32960 * sysdeps/i386/Versions: ... this.
32961 * sysdeps/i386/elf/Versions: Delete file.
32962 * sysdeps/i386/elf/start.S: Moved to ...
32963 * sysdeps/i386/start.S: ...here.
32964 * sysdeps/i386/elf/configure.in: Merge into...
32965 * sysdeps/i386/configure.in: ...here.
32966 * sysdeps/i386/elf/configure.in: Delete file.
32967 * sysdeps/i386/elf/configure: Delete file.
32968
32969 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32970 * debug/backtracesyms.c: ... here.
32971 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32972 * debug/backtracesymsfd.c: ... here.
32973 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32974 * sysdeps/generic/ifunc-sel.h: ... here.
32975
32976 * sysdeps/unix/i386/start.c: Delete file.
32977 * sysdeps/unix/sparc/start.c: Delete file.
32978 * sysdeps/unix/start.c: Delete file.
32979
32980 * sysdeps/sh/elf/configure.in: Moved to ...
32981 * sysdeps/sh/configure.in: ... here.
32982 * sysdeps/sh/elf/start.S: Moved to ...
32983 * sysdeps/sh/start.S: ... here.
32984 * sysdeps/sh/elf/configure: Delete file.
32985
32986 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32987 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32988 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32989 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32990 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32991 * sysdeps/powerpc/powerpc64/start.S: here.
32992 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32993 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32994 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32995 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32996 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32997
32998 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32999 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33000 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33001 * sysdeps/powerpc/powerpc32/start.S: ... here.
33002 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33003 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33004 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33005
33006 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33007 * sysdeps/powerpc/ifunc-sel.h: ... here.
33008 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33009 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33010
33011 * sysdeps/sparc/elf/configure.in: Moved to ...
33012 * sysdeps/sparc/configure.in: ... here.
33013 * sysdeps/sparc/elf/configure: Delete file.
33014 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33015 * sysdeps/sparc/sparc32/start.S: ... here.
33016 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33017 * sysdeps/sparc/sparc64/start.S: ... here.
33018 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33019 * sysdeps/sparc/sparc32/Makefile: ... this.
33020 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33021 * sysdeps/sparc/sparc64/Makefile: ... this.
33022
33023 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33024 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33025 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33026 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33027 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33028 * sysdeps/s390/s390-32/setjmp.S: ... here.
33029 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33030 * sysdeps/s390/s390-32/configure.in: ... here.
33031 * sysdeps/s390/s390-32/elf/configure: Delete file.
33032 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33033 * sysdeps/s390/s390-32/start.S: ... here.
33034
33035 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33036 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33037 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33038 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33039 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33040 * sysdeps/s390/s390-64/setjmp.S: ... here.
33041 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33042 * sysdeps/s390/s390-64/configure.in: ... here
33043 * sysdeps/s390/s390-64/elf/configure: Delete file.
33044 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33045 * sysdeps/s390/s390-64/start.S: ... here.
33046 * sysdeps/s390/s390-64/elf/configure: Delete.
33047
33048 * configure.in: Remove support for elf directories in sysdeps.
33049
33050 * configure: Regenerated.
33051 * sysdeps/i386/configure: Regenerated.
33052 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33053 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33054 * sysdeps/s390/s390-32/configure: Regenerated.
33055 * sysdeps/s390/s390-64/configure: Regenerated.
33056 * sysdeps/sh/configure: Regenerated.
33057 * sysdeps/sparc/configure: Regenerated.
33058 * sysdeps/x86_64/configure: Regenerated.
33059
a3f61311
AS
330602012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33061
c876e002
AS
33062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33063
a3f61311
AS
33064 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33065 denormal result into account.
33066
ac4c54f0
RM
330672012-03-25 Roland McGrath <roland@hack.frob.com>
33068
33069 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33070 Reported by Allan McRae <allan@archlinux.org>.
33071
6a9b9c02
JL
330722012-03-23 Jeff Law <law@redhat.com>
33073
33074 * nss/getnssent.c (__nss_getent): Fix typo.
33075
4c42a0c1
DM
330762012-03-23 David S. Miller <davem@davemloft.net>
33077
33078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33079
1532c7ac
L
330802012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33081
33082 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33083 to pad to uint64_t for each field.
33084 (dl_tls_index): Replace unsigned long with uint64_t.
33085
3ff42526
PP
330862012-03-23 Daniel Jacobowitz <dmj@google.com>
33087 Paul Pluzhnikov <ppluzhnikov@google.com>
33088
33089 [BZ #6528]
33090 * grp/Makefile (otherlibs): Don't set it.
33091 * inet/Makefile (otherlibs): Likewise.
33092 * login/Makefile (otherlibs): Likewise.
33093 * nscd/Makefile (otherlibs): Likewise.
33094 * posix/Makefile (otherlibs): Likewise.
33095 * pwd/Makefile (otherlibs): Likewise.
33096 * rt/Makefile (otherlibs): Likewise.
33097 * sunrpc/Makefile (otherlibs): Likewise.
33098 * nss/Makefile (otherlibs): Likewise.
33099 Add libnss_files to routines and static-only-routines.
33100 ($(objpfx)getent): Remove rule.
33101 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33102 static-only-routines.
33103
7c69cd14
JM
331042012-03-22 Joseph Myers <joseph@codesourcery.com>
33105
33106 [BZ #13892]
33107 * math/s_cexp.c: Include <float.h>.
33108 (__cexp): Handle exp result overflowing not necessarily
33109 overflowing both real and imaginary parts of result.
33110 * math/s_cexpf.c: Likewise.
33111 * math/s_cexpl.c: Likewise.
33112 * math/libm-test.inc (cexp_test): Add more tests.
33113 * sysdeps/i386/fpu/libm-test-ulps: Update.
33114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33115
81b035fe
L
331162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33117
33118 * include/link.h (ELFW): New macro.
33119 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33120 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33121
1da7940c
L
331222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33123
33124 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33125 with uint64_t.
33126
b749dbb9
L
331272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33128
33129 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33130 declaration.
33131 (struct La_x32_retval): Likewise.
33132
2ff87f3f
L
331332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33134
33135 * sysdeps/x86_64/preconfigure.in: New file.
33136 * sysdeps/x86_64/preconfigure: New generated file.
33137
c0df8e69
JM
331382012-03-22 Joseph Myers <joseph@codesourcery.com>
33139
48e44791
JM
33140 [BZ #13824]
33141 * math/e_exp2l.c: Include <float.h>.
33142 (__ieee754_exp2l): Handle overflow and underflow cases
33143 separately. Only pass fractional part of argument to
33144 __ieee754_expl.
33145 * math/libm-test.inc (exp2_test): Add more tests.
33146
c0df8e69
JM
33147 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33148 negating x to take absolute value.
33149 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33150 Likewise.
33151 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33153 Likewise.
33154 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33155 computing low part if x was negated.
33156 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33157
c8e43ba7
L
331582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33159
33160 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33161 la_x32_gnu_pltexit.
33162 (pltexit): Cast int_retval to ptrdiff_t.
33163 * elf/tst-auditmod3b.c: Likewise.
33164 * elf/tst-auditmod4b.c: Likewise.
33165 * elf/tst-auditmod5b.c: Likewise.
33166 * elf/tst-auditmod6b.c: Likewise.
33167 * elf/tst-auditmod6c.c: Likewise.
33168 * elf/tst-auditmod7b.c: Likewise.
33169
33170 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33171 and x32_gnu_pltexit.
33172
33173 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33174 __ELF_NATIVE_CLASS.
33175 (La_x32_regs): New macro.
33176 (La_x32_retval): Likewise.
33177 (la_x32_gnu_pltenter): New function prototype.
33178 (la_x32_gnu_pltexit): Likewise.
33179
7998fa78
AS
331802012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33181
dcb33988
AS
33182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33183 exponent.
33184
233fc563
AS
33185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33186
7998fa78
AS
33187 * configure.in (libc_cv_cc_nofma): Check for option to disable
33188 generation of FMA instructions.
33189 * configure: Regenerate.
33190 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33191 * sysdeps/ieee754/dbl-64/Makefile: New file.
33192 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33193 Remove brandred-fma4.
33194 (CFLAGS-brandred-fma4.c): Remove.
33195 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33196 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33197 define.
33198 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33199 define.
33200
8e95c99a
L
332012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33202
33203 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33204 LLONG_MAX != LONG_MAX.
33205 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33206 (_fitoa_word): Likewise.
33207 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33208 LLONG_MAX != LONG_MAX.
33209 * stdio-common/_itowa.h: Include <_itoa.h>.
33210 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33211 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33212 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33213 only if not defined.
33214 (_ITOA_WORD_TYPE): Likewise.
33215 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33216 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33217
6f4db457
DM
332182012-03-21 David S. Miller <davem@davemloft.net>
33219
33220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33221
7785fe5a
L
332222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33223
33224 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33225 of x86_64 when setting libc_cv_slibdir, libdir and
33226 libc_cv_localedir.
33227 * sysdeps/unix/sysv/linux/configure: Regenerated.
33228
4535cd55
JM
332292012-03-21 Joseph Myers <joseph@codesourcery.com>
33230
33231 * manual/lang.texi (Old Varargs): Remove section.
33232 (How Variadic): Update menu.
33233 (va_start): Do not mention varargs.h.
33234
17228132
TS
332352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33236 Joseph Myers <joseph@codesourcery.com>
33237
33238 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33239 link test.
33240 * configure: Regenerated.
33241
8149f976
TS
332422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33243
05f3d1f6
UD
33244 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33245 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33246 conformtest.pl
8149f976 33247
1a4ac776
JM
332482012-03-21 Joseph Myers <joseph@codesourcery.com>
33249
be22ce65
JM
33250 * NOTES: Remove.
33251 * Makefile (files-for-dist): Remove NOTES.
33252 (NOTES): Remove rule.
33253 * README: Don't refer to NOTES.
33254 * manual/creature.texi: Don't include macros.texi.
33255 * manual/intro.texi (creature.texi): Remove comment referring to
33256 NOTES.
33257
40b601fb
JM
33258 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33259 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33260 * configure: Regenerated.
33261 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33262 LIBC_TRY_CC_OPTION.
33263 (libc_cv_as_i686): Likewise.
33264 (libc_cv_cc_avx): Likewise.
33265 (libc_cv_cc_sse2avx): Likewise.
33266 (libc_cv_cc_fma4): Likewise.
33267 (libc_cv_cc_novzeroupper): Likewise.
33268 * sysdeps/i386/configure: Regenerated.
33269
1a4ac776
JM
33270 [BZ #13883]
33271 * sysdeps/i386/fpu/s_cexp.S: Remove.
33272 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33273 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33274 * math/libm-test.inc (cexp_test): Add more tests.
33275 * sysdeps/i386/fpu/libm-test-ulps: Update.
33276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33277
a458e7fe
AM
332782012-03-21 Allan McRae <allan@archlinux.org>
33279
33280 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33281
0cb7efc5
JM
332822012-03-21 Joseph Myers <joseph@codesourcery.com>
33283
33284 [BZ #13871]
33285 * math/w_exp2.c: Do not include <float.h>.
33286 (o_threshold, u_threshold): Remove.
33287 (__exp2): Calculate result before checking finiteness and calling
33288 __kernel_standard.
33289 * math/w_exp2f.c: Likewise.
33290 * math/w_exp2l.c: Likewise.
33291 * math/libm-test.inc (exp2_test): Require overflow exception for
33292 1e6 input.
2460d3aa
JM
33293
33294 [BZ #3866]
33295 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33296 range of signed 64-bit integers before using fistpll. Remove
33297 checks for whether integers fit in mantissa bits.
33298 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33299 the range of signed 32-bit integers before using fistpl. Remove
33300 checks for whether integers fit in mantissa bits.
33301 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33302 (__ieee754_powl): Test for y outside the range of signed 64-bit
33303 integers before using fistpll. Reduce 64-bit values to 63-bit
33304 ones as needed.
33305 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33306 divide-by-zero is raised for zero to large negative powers.
33307 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33308 (__ieee754_powl): Test for y outside the range of signed 64-bit
33309 integers before using fistpll. Reduce 64-bit values to 63-bit
33310 ones as needed.
33311 * math/libm-test.inc (pow_test): Add more tests.
33312
eb96ffb0
L
333132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33314
33315 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33316 <stdio-common/_itoa.h>.
33317 * debug/segfault.c: Likewise.
33318 * elf/dl-cache.c: Likewise.
33319 * elf/dl-minimal.c: Likewise.
33320 * elf/dl-misc.c: Likewise.
33321 * elf/dl-sysdep.c: Likewise.
33322 * elf/dl-version.c: Likewise.
33323 * elf/rtld.c: Likewise.
33324 * hurd/hurdsock.c: Likewise.
33325 * hurd/lookup-retry.c: Likewise.
33326 * malloc/malloc.c: Likewise.
33327 * malloc/mtrace.c: Likewise.
33328 * nscd/nscd_getgr_r.c: Likewise.
33329 * nscd/nscd_getpw_r.c: Likewise.
33330 * nscd/nscd_getserv_r.c: Likewise.
33331 * posix/getopt_init.c: Likewise.
33332 * posix/wordexp.c: Likewise.
33333 * stdio-common/_itoa.c: Likewise.
33334 * stdio-common/printf_fphex.c: Likewise.
33335 * stdio-common/vfprintf.c: Likewise.
33336 * string/_strerror.c: Likewise.
33337 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33338 * sysdeps/i386/i686/hp-timing.h: Likewise.
33339 * sysdeps/mach/_strerror.c: Likewise.
33340 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33341 * sysdeps/mach/hurd/sethostid.c: Likewise.
33342 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33343 * sysdeps/mach/xpg-strerror.c: Likewise.
33344 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33345 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33346 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33347 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33348 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33349 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33350 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33351 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33352 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33353 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33354 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33355 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33356 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33357 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33358 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33359 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33360 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33361 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33362 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33363 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33364 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33365
33366 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33367
33368 * stdio-common/_itoa.h: Moved to ...
33369 * sysdeps/generic/_itoa.h: Here.
33370
33371 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33372
33373 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33374 instead of "_itoa.h" and "_itowa.h".
33375 * stdio-common/vfprintf.: Likewise.
33376
d1af992d
L
333772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33378
33379 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33380 <bits/wordsize.h>.
33381 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33382 (__signbit): Likwise.
33383 (llrintf): Likwise.
33384 (llrint): Likwise.
33385
114883e0
L
333862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33387
33388 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33389 __WORDSIZE != 64.
33390
c135cc1b
JM
333912012-03-20 Joseph Myers <joseph@codesourcery.com>
33392
33393 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33394 OVERFLOW_EXCEPTION_OK.
33395 * math/libm-test.inc ("Philosophy"): Update comment about
33396 exception testing.
33397 (OVERFLOW_EXCEPTION): Define.
33398 (OVERFLOW_EXCEPTION_OK): Likewise.
33399 (INVALID_EXCEPTION_OK): Renumber.
33400 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33401 (IGNORE_ZERO_INF_SIGN): Likewise.
33402 (test_exceptions): Handle FE_OVERFLOW.
33403 (exp10_test): Expect overflow exceptions.
33404 (exp2_test): Likewise.
33405 (expm1_test): Likewise.
33406 (nextafter_test): Likewise.
33407 (pow_test): Likewise.
33408 (scalbn_test): Likewise.
33409 (scalbln_test): Likewise.
33410
95443d88
L
334112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33412
33413 * sysdeps/x86_64/bits/atomic.h
33414 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33415 64bit integer.
33416 (atomic_exchange_acq): Likewise.
33417 (__arch_exchange_and_add_body): Likewise.
33418 (__arch_add_body): Likewise.
33419 (atomic_add_negative): Likewise.
33420 (atomic_add_zero): Likewise.
33421
490df6c4
L
334222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33423
c2722551 33424 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
33425 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33426
5e52b189
L
334272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33428
33429 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33430 Check __x86_64__ instead of __WORDSIZE.
33431
a9879d4c
L
334322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33433
33434 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33435
5df98260
DM
334362012-03-19 David S. Miller <davem@davemloft.net>
33437
e1497744
DM
33438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33439
5df98260
DM
33440 * sysdeps/sparc/fpu/fenv_private.h: New file.
33441 * sysdeps/sparc/fpu/math_private.h: Use it.
33442 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33443 Remove.
57f41c40 33444 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
33445 (libc_feholdexcept_setroundl): Remove.
33446 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33447 Remove.
33448 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33449 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33450
b4c35121
L
334512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33452
33453 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33454 int64_t instead of long int.
33455 (INSERT_WORDS64): Likwise.
33456
56965fd7
L
334572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33458
33459 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33460 _Unwind_GetCFA return to _Unwind_Ptr first.
33461
83d1aec8
JM
334622012-03-19 Joseph Myers <joseph@codesourcery.com>
33463
1897ad44
JM
33464 [BZ #13629]
33465 * math/s_clog.c: Include <float.h>.
33466 (__clog): Scale large or subnormal inputs.
33467 * math/s_clogf.c: Likewise.
33468 * math/s_clogl.c: Likewise.
33469 * math/s_clog10.c: Include <float.h>.
33470 (M_LOG10_2): Define.
33471 (__clog10): Scale large or subnormal inputs.
33472 * math/s_clog10f.c: Likewise.
33473 * math/s_clog10l.c: Likewise.
33474 * math/libm-test.inc (clog_test): Add more tests.
33475 (clog10_test): Likewise.
33476 * sysdeps/i386/fpu/libm-test-ulps: Update.
33477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33478
7726d6a9
JM
33479 [BZ #11451]
33480 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33481 x and y.
33482 * math/libm-test.inc (atan2_test): Add another test.
33483
83d1aec8
JM
33484 * Makerules (common-objdir-compile): Remove.
33485 * sysdeps/unix/Makefile (config-generated): Do not add
33486 $(unix-generated) to variable.
33487 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33488 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33489 Remove rule.
33490 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33491 Likewise.
33492 [generic bits/local_lim.h] (before-compile): Do not append to
33493 variable.
33494 [generic bits/local_lim.h] (common-generated): Likewise.
33495 [generic sys/param.h] (before-compile): Do not append to variable.
33496 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33497 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33498 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33499 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33500 include.
33501 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33502 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33503 [generic sys/param.h] ($(addprefix
33504 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33505 [generic sys/param.h] (common-generated): Do not append to
33506 variable.
33507 [generic sys/param.h] (sysdep_headers): Likewise.
33508 [generic bits/errno.h] (before-compile): Do not append to
33509 variable.
33510 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33511 rule.
33512 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33513 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33514 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33515 [generic bits/errno.h] (common-generated): Do not append to
33516 variable.
33517 [generic bits/ioctls.h] (before-compile): Do not append to
33518 variable.
33519 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33520 rule.
33521 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33522 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33523 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33524 rule.
33525 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33526 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33527 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33528 [generic bits/ioctls.h] (common-generated): Do not append to
33529 variable.
33530 [generic sys/syscall.h] (syscall.h): Remove variable.
33531 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33532 rule.
33533 [generic sys/syscall.h] (before-compile): Do not append to
33534 variable.
33535 [generic sys/syscall.h] (common-generated): Likewise.
33536 * sysdeps/unix/errnos-tmpl.c: Remove file.
33537 * sysdeps/unix/errnos.awk: Likewise.
33538 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33539 * sysdeps/unix/ioctls.awk: Likewise.
33540 * sysdeps/unix/mk-local_lim.c: Likewise.
33541 * sysdeps/unix/snarf-ioctls: Likewise.
33542
4851a949
RH
335432012-03-19 Richard Henderson <rth@twiddle.net>
33544
bd37f2ee
RH
33545 * sysdeps/i386/fpu/fenv_private.h: New file.
33546 * sysdeps/i386/fpu/math_private.h: Use it.
33547 (math_opt_barrier, math_force_eval): Remove.
33548 (libc_feholdexcept_setround_53bit): Remove.
33549 (libc_feupdateenv_53bit): Remove.
33550 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33551 (math_opt_barrier, math_force_eval): Remove.
33552 (libc_feholdexcept): Remove.
33553 (libc_feholdexcept_setround): Remove.
33554 (libc_fetestexcept, libc_fesetenv): Remove.
33555 (libc_feupdateenv_test): Remove.
33556 (libc_feupdateenv, libc_feholdsetround): Remove.
33557 (libc_feresetround): Remove.
33558
d0adc922
RH
33559 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33560 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33561
0fe0f1f8
RH
33562 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33563 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33564 (libc_feupdateenv_testl): New.
33565 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33566 (libc_feupdateenv_testf): New.
33567 (libc_feupdateenv): Use libc_feupdateenv_test.
33568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33569 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33570
eb92c487
RH
33571 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33572 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33573 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33574 (libc_feresetround_noex): New.
33575 (libc_feresetround_noexf): New.
33576 (libc_feresetround_noexl): New.
33577 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33578 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33579 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33580 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33581 SET_RESTORE_ROUND.
33582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33583 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33584 (__cos): Likewise.
33585 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33586 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33587 SET_RESTORE_ROUND_NOEX.
33588 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33589 SET_RESTORE_ROUND_NOEXF.
33590 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33591 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33592 (libc_feholdsetroundf): New.
33593 (libc_feresetround, libc_feresetroundf): New.
33594
7d2e8012
RH
33595 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33596 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33597 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33598
b4dabbb4
RH
33599 * sysdeps/generic/math_private.h: Include <fenv.h>.
33600 (default_libc_feholdexcept): New.
33601 (default_libc_feholdexcept_setround): New.
33602 (default_libc_fesetenv, default_libc_feupdateenv): New.
33603 (libc_feholdexcept): Only define if undefined.
33604 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33605 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33606 (libc_feholdexcept_setroundl): Likewise.
33607 (libc_feholdexcept_setround_53bit): Likewise.
33608 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33609 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33610 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33611 (libc_feupdateenv_53bit): Likewise.
33612 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33613 (libc_feholdexcept): Convert from macro to inline function.
33614 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33615 (libc_fesetenv, libc_feupdateenv): Likewise.
33616
4851a949
RH
33617 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33618 not previously defined.
33619 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33620 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33621 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33622 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33623 * sysdeps/ieee754/flt-32/math_private.h: New file.
33624 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33625 math_private.h below SET_FLOAT_WORD.
33626 (__isnan, __isinf_ns, __finite): Remove.
33627 (__isnanf, __isinf_nsf, __finitef): Remove.
33628
e79d442e
AS
336292012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33630
33631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33632
90b80344
DM
336332012-03-17 David S. Miller <davem@davemloft.net>
33634
33635 [BZ #6471]
33636 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33637 for 2.16.
33638
edc21804
DM
336392012-03-16 David S. Miller <davem@davemloft.net>
33640
77e927af
DM
33641 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33642 warnings.
33643
374976dd
DM
33644 [BZ #6471]
33645 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33646 properly.
33647 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33648 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33649 sysdep_routines when subdir is sysvipc.
33650 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33651 __getshmlba helper.
33652
edc21804
DM
33653 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33654
473c3ef3
L
336552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33656
33657 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33658 [__LP64__].
33659
eb0f39b6
L
336602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33661
33662 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33663 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33664 (__lround): Renamed to ...
33665 (__llround): This. Replace long int with long long int.
33666 Define lround functions as aliases of llround functions.
33667 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33668
6b6cd74b
L
336692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33670
33671 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33672 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33673 adresses to uintptr_t. Replace "long int" and "unsigned long
33674 int" with "greg_t" on va_arg.
33675
f1a77b01
L
336762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33677
33678 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33679 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33680
33681 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33682 Move e_machine check before EI_CLASS check. Handle x32
33683 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33684 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33685 SKIP_EM_IA_64 and include
33686 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33687
33688 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33689 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33690 (add_system_dir): New macro.
33691
33692 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33693 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33694
11b90b9f
JM
336952012-03-16 Joseph Myers <joseph@codesourcery.com>
33696
c36e1d23
JM
33697 [BZ #2551]
33698 [BZ #2552]
33699 [BZ #2553]
33700 [BZ #2554]
33701 [BZ #2562]
33702 [BZ #2563]
33703 [BZ #2565]
33704 [BZ #2566]
33705 [BZ #2576]
33706 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33707 (y0): Likewise.
33708 * math/w_j0f.c (j0f): Likewise.
33709 (y0f): Likewise.
33710 * math/w_j0l.c (__j0l): Likewise.
33711 (__y0l): Likewise.
33712 * math/w_j1.c (j1): Likewise.
33713 (y1): Likewise.
33714 * math/w_j1f.c (j1f): Likewise.
33715 (y1f): Likewise.
33716 * math/w_j1l.c (__j1l): Likewise.
33717 (__y1l): Likewise.
33718 * math/w_jn.c (jn): Likewise.
33719 (yn): Likewise.
33720 * math/w_jnf.c (jnf): Likewise.
33721 (ynf): Likewise.
33722 * math/w_jnl.c (__jnl): Likewise.
33723 (__ynl): Likewise.
33724 * math/libm-test.inc (j0_test): Add more tests.
33725 (j1_test): Likewise.
33726 (jn_test): Likewise. Add trailing semicolon to existing test.
33727 (y0_test): Likewise.
33728 (y1_test): Likewise.
33729 * sysdeps/i386/fpu/libm-test-ulps: Update.
33730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33731
11b90b9f
JM
33732 [BZ #13851]
33733 [BZ #13854]
33734 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33735 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33736 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33737 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33738 (__tanl): Set errno for infinite argument.
33739 * sysdeps/i386/fpu/mptan.c: Remove.
33740 * sysdeps/i386/fpu/s_tan.S: Likewise.
33741 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33742 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33743 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33744 * math/libm-test.inc (tan_test): Add more tests and enable more
33745 tests for double and long double.
33746 * sysdeps/i386/fpu/libm-test-ulps: Update.
33747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33748
6a1bd2a1
JK
337492012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33750
33751 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33752 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33753
10a803e0
RM
337542012-03-16 Roland McGrath <roland@hack.frob.com>
33755
33756 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33757 * configure.in: Use it for both main tree and add-ons.
33758 * configure: Regenerated.
33759
f196c7f7
L
337602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33761
33762 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33763
8848d99d
JM
337642012-03-16 Joseph Myers <joseph@codesourcery.com>
33765
96cbe7f4
JM
33766 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33767 in comment.
33768
8848d99d
JM
33769 [BZ #13851]
33770 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33771 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33775 infinite argument.
33776 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33777 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33778 != 0 for prec == 2.
33779 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33780 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33781 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33782 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33783 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33784 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33785 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33786 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33787 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33788 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33789 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33790 * math/libm-test.inc (cos_test): Add more tests and enable more
33791 tests for long double.
33792 (sin_test): Likewise.
33793 (sincos_test): Likewise.
33794 * sysdeps/i386/fpu/libm-test-ulps: Update.
33795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33796
dd7f4703
DM
337972012-03-16 David S. Miller <davem@davemloft.net>
33798
33799 * sysdeps/sparc/fpu/math_private.h: New file.
33800
006f1daa
DM
338012012-03-15 David S. Miller <davem@davemloft.net>
33802
c0c83bc8
DM
33803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33804 file.
e6a62e18 33805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33807 file.
e6a62e18
DM
33808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33814 sysdep routines.
33815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33816
88cb87d9
DM
33817 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33818 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33819
006f1daa 33820 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33822 sparc-ifunc.h
006f1daa 33823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33825 Likewise.
33826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33827 Likewise.
006f1daa
DM
33828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33832 Likewise.
006f1daa
DM
33833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33838 Likewise.
33839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33840 Likewise.
006f1daa
DM
33841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33864 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33865
11e0098e
AS
338662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33867
33868 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33869 scaling.
33870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33871
e85b09d0
AJ
338722012-03-15 Andreas Jaeger <aj@suse.de>
33873
33874 [BZ #13852]
33875 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33876 ieee754/flt-32 implementation for sin, cos and sincos.
33877 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33878 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33879 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33880 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33881 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33882 ieee754/flt-32 implementation for tan.
33883
33884 * math/libm-test.inc (cos_test): Enable some large input tests for
33885 float as well
33886 (sin_test): Likewise.
33887 (sincos_test): Likewise.
33888 (tan_test): Add tests for large input.
33889
33890 * sysdeps/i386/fpu/libm-test-ulps: Update.
33891
81c64153
AJ
338922012-03-15 Andreas Jaeger <aj@suse.de>
33893
33894 [BZ #13658]
33895 * math/libm-test.inc (cos_test): Add more test cases.
33896 (sin_test): Likewise.
33897 (sincos_test): Likewise.
33898
7bbfa5c6
AJ
338992012-03-15 Andreas Jaeger <aj@suse.de>
33900
33901 [BZ #13837]
33902 * math/libm-test.inc (cos_test): Add a test case for large input
33903 value.
33904 (sin_test): Likewise.
33905 (sincos_test): Likewise.
33906
57f41c40
AS
339072012-03-15 Andreas Jaeger <aj@suse.de>
33908 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33909
33910 [BZ #13658]
0671f479 33911 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33912 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33913 * sysdeps/i386/fpu/branred.c: Likewise.
33914 * sysdeps/i386/fpu/dosincos.c: Likewise.
33915 * sysdeps/i386/fpu/mpa.c: Likewise.
33916 * sysdeps/i386/fpu/s_cos.S: Likewise.
33917 * sysdeps/i386/fpu/s_sin.S: Likewise.
33918 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33919 * sysdeps/i386/fpu/sincos32.c: Likewise.
33920
33921 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33922 Define.
33923 (libc_feupdateenv_53bit): Define.
33924 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33925 Define.
33926 (libc_feupdateenv_53bit): Define.
33927
33928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33929 53 bit (without extend i386 double precision).
33930
33931 * math/libm-test.inc (sincos_test): Add tests for large input.
33932 (sin): Likewise.
33933 (cos): Likewise.
33934
33935 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33936
9cad04ea
AS
339372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33938
33939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33940
f7062b9a
DM
339412012-03-15 David S. Miller <davem@davemloft.net>
33942
33943 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33944 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33945 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33946 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33959 file.
f7062b9a 33960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33962 file.
f7062b9a 33963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33965 file.
f7062b9a 33966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33968 file.
f7062b9a
DM
33969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33971 fmin/fmax sysdep routines.
33972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33973
7bd951ff
DM
339742012-03-14 David S. Miller <davem@davemloft.net>
33975
559398ab
DM
33976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33980 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33981 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33982 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33983 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33996 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33997 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33998 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33999 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34000 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34001 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34002 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34003 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34005 routines.
34006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34007 file.
559398ab 34008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34010 file.
559398ab 34011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34013 file.
559398ab 34014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34016 file.
559398ab 34017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34019 file.
559398ab 34020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34022 file.
34023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34024 file.
34025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34026 file.
34027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34028 file.
34029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34030 New file.
34031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34032 file.
34033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34034 file.
559398ab 34035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34037 file.
559398ab 34038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34040 file.
559398ab 34041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34043 file.
559398ab 34044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34046 VIS3 routines.
559398ab
DM
34047
34048 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34049 New file.
34050
5a1c1e32
DM
34051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34052
eae47a36
DM
34053 * sysdeps/sparc/configure.in: New file.
34054 * sysdeps/sparc/configure: Generate.
34055 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34056 * configure: Regenerate.
34057 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34058 * config.make.in (have-as-vis3): New.
34059 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34060 available use -Av9d instead of -Av9a.
34061 * sysdeps/sparc/sparc64/Makefile: Likewise.
34062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34064 New file.
34065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34066 file.
34067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34068 New file.
34069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34070 file.
eae47a36
DM
34071 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34072 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34073 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34074 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34075 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34076
c0c83bc8
DM
34077 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34078 fzeros/fnegs to load 0x80000000 into a float register instead of
34079 using the stack.
7bd951ff
DM
34080 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34081
bd951ccb
JM
340822012-03-14 Joseph Myers <joseph@codesourcery.com>
34083
34084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34085 bits/syscall.h.
34086 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34087 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34088 ($(inst_includedir)/bits/syscall.h): Remove rule.
34089 ($(objpfx)bits/syscall.d): Include instead of
34090 $(objpfx)syscall-list.d.
34091 (generated): Change syscall-list.h and syscall-list.d to
34092 bits/syscall.h and bits/syscall.d.
34093
bb4e6db2
RM
340942012-03-14 Roland McGrath <roland@hack.frob.com>
34095
34096 [BZ #13846]
34097 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34098
aa4a2ae1
JM
340992012-03-14 Joseph Myers <joseph@codesourcery.com>
34100
e456826d
JM
34101 [BZ #13841]
34102 * math/s_csqrt.c: Include <float.h>.
34103 (__csqrt): Scale large or subnormal inputs.
34104 * math/s_csqrtf.c: Likewise.
34105 * math/s_csqrtl.c: Likewise.
34106 * math/libm-test.inc (csqrt_test): Add more tests.
34107 * sysdeps/i386/fpu/libm-test-ulps: Update.
34108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34109
aa4a2ae1
JM
34110 [BZ #13840]
34111 * math/libm-test.inc (hypot_test): Add more tests.
34112
7c10fd35
DM
341132012-03-13 David S. Miller <davem@davemloft.net>
34114
34115 [BZ #13840]
34116 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34117 double-precision for the calculation instead of scaling.
34118
f453b98b
JM
341192012-03-13 Joseph Myers <joseph@codesourcery.com>
34120
34121 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34122 manipulate bits before adding and subtracting TWO52[sx].
34123 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34124 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34125 Likewise.
34126 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34127
09a3453f
DM
341282012-03-13 David S. Miller <davem@davemloft.net>
34129
8e59da90
DM
34130 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34131 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34133 rtld-global-offsets.h
34134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34135
2a8ab7f2
DM
34136 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34137 large parameters.
34138
10f62770
DM
34139 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34140
5f0bdb18
DM
34141 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34142 'err' in the ifdef scope in which it is actually used.
34143
09a3453f
DM
34144 * nss/nss_db/db-init.c: Include string.h
34145
b4b2eb5e
DM
341462012-03-12 David S. Miller <davem@davemloft.net>
34147
98bb2f1c
DM
34148 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34149 masking out of the most significant byte of random value used.
34150 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34151 Fix coding style in previous change.
34152
b4b2eb5e
DM
34153 * sysdeps/unix/sysv/linux/kernel-features.h
34154 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34155 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34156 expression.
34157 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34158 later.
34159
6e226b09
DM
341602012-03-11 David S. Miller <davem@davemloft.net>
34161
a1bcbd40
DM
34162 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34163 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34164 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34165 for 'resultvar' otherwise things get truncated on 64-bit.
34166
cb9d6174
DM
34167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34168 Fix masking out of the most significant byte of random value used.
34169
6e226b09
DM
34170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34171
058c132d
AS
341722012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34173
34174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34175
2d2cd515
DM
341762012-03-09 David S. Miller <davem@davemloft.net>
34177
34178 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34179 variables with appropriate CPP guards.
57f41c40
AS
34180 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34181 from the frame pointer, not the stack pointer. Correct layout
34182 comments. Fix test on resulting framesize and the management of
34183 the outregs buffer for pltexit. Preserve floating point return
34184 values across _dl_call_pltexit call.
2d2cd515
DM
34185 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34186 framesize and the management of the outregs buffer for pltexit.
34187 Preserve floating point return values across _dl_call_pltexit
34188 call.
57f41c40
AS
34189 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34190 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34191 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
34192 (print_exit): Fix format string for return register value.
34193
9a07f9d0
JM
341942012-03-10 Joseph Myers <joseph@codesourcery.com>
34195
34196 * sunrpc/Makefile (others): Add rpcgen.
34197 ($(objpfx)rpcgen): Remove special build rule and dependency on
34198 libc.
34199 * sunrpc/rpcgen.c: New file.
34200
547b5e30
PE
342012012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34202
c524201a
PE
34203 [BZ #13673]
34204 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34205 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34206 * sysdeps/i386/crti.S: Likewise.
34207 * sysdeps/i386/crtn.S: Likewise.
34208 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34209 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34210 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34211 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34212 * sysdeps/sh/crti.S: Likewise.
34213 * sysdeps/sh/crtn.S: Likewise.
34214 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34215
7b6235f2
PE
34216 [BZ #13673]
34217 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34218 with URL.
34219 * locale/programs/locfile-kw.gperf: Likewise.
34220 * locale/programs/charmap-kw.h: Regenerated.
34221 * locale/programs/locfile-kw.h: Likewise.
34222
547b5e30
PE
34223 [BZ #13673]
34224 * intl/plural.y: Replace FSF snail mail address with URL.
34225 * intl/plural.c: Regenerated.
34226
5f0a5dae
RH
342272012-03-09 Richard Henderson <rth@twiddle.net>
34228
34229 * include/math_private.h: Remove file.
34230 * math/math_private.h: Move file ...
34231 * sysdeps/generic/math_private.h: ... here.
34232
b8c03620
RH
34233 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34234 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34235 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34236
4e234f5d 34237 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
34238 and <math_private.h>.
34239 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34240 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34241 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34242 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34243 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34244 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34245 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34246 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34247 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34248 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34249 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34250 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34251 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34252 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34253 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34254 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34255 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34256 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34257 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34258 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34259 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34260 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34261 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34263 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34264 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34265 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34266 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34268 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34269 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34270 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34271 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34272 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34273 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34274 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34275 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34276 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34277 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34278 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34279 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34280 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34281 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34282 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34283 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34284 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34285 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34286 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34287 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34288 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34289 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34290 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34291 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34292 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34293 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34294 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34295 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34296 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34297 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34298 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34299 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34300 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34301 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34302 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34303 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34304 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34305 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34306 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34307 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34308 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34309 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34310 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34311 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34312 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34313 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34314 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34315 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34317 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34318 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34319 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34320 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34321 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34322 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34323 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34324 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34325 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34326 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34327 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34328 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34329 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34330 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34332 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34333 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34334 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34335 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34336 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34337 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34338 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34339 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34340 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34341 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34342 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34343 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34344 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34345 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34346 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34347 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34348 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34349 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34350 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34351 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34352 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34353 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34354 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34355 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34356 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34357 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34358 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34359 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34360 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34361 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34362 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34363 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34364 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34365 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34366 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34367 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34368 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34369 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34370 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34371 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34372 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34373 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34374 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34375 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34376 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34377 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34378 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34379 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34380 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34381 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34382 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34383 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34384 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34385 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34386 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34387 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34388 * sysdeps/ieee754/k_standard.c: Likewise.
34389 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34390 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34391 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34392 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34393 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34394 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34395 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34396 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34397 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34398 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34399 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34400 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34401 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34402 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34403 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34404 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34405 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34406 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34407 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34408 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34409 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34410 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34411 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34412 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34413 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34414 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34415 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34416 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34417 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34418 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34419 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34420 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34421 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34422 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34423 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34424 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34425 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34426 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34427 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34428 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34430 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34431 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34432 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34433 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34434 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34435 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34436 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34437 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34438 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34439 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34440 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34441 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34442 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34443 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34444 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34445 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34446 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34447 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34448 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34449 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34450 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34451 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34452 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34455 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34456 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34457 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34461 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34462 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34463 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34465 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34466 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34470 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34473 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34476 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34477 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34478 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34479 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34480 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34482 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34483 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34488 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34489 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34491 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34492 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34493 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34494 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34495 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34496 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34497 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34498 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34499 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34500 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34501 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34502 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34503 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34504 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34505 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34506 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34507 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34508 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34509 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34510 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34511 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34512 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34513 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34514 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34515 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34516 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34517 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34518 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34519 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34520 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34521 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34522 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34523 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34524 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34525 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34526 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34527 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34528 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34529 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34530 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34531 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34532 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34533 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34534 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34535 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34536 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34537 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34538 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34539 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34540 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34541 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34542 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34543 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34544 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34545 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34546 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34547 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34548 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34549 * sysdeps/ieee754/s_lib_version.c: Likewise.
34550 * sysdeps/ieee754/s_matherr.c: Likewise.
34551 * sysdeps/ieee754/s_signgam.c: Likewise.
34552 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34553 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34554 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34555 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34556 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34557 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34558 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34559 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34560 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34561 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34562 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34563 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34564 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34565 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34566 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34567 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34568 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34569 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34570 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34571 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34572 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34573
1991fa03
JM
345742012-03-09 Joseph Myers <joseph@codesourcery.com>
34575
34576 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34577 * sunrpc/rpc_main.c: Likewise.
34578 * sunrpc/rpc_svcout.c: Likewise.
34579
60d6f5a6
DM
345802012-03-09 David S. Miller <davem@davemloft.net>
34581
34582 * include/math_private.h: New file.
34583
4962050e
JM
345842012-03-09 Joseph Myers <joseph@codesourcery.com>
34585
02a6f887
JM
34586 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34587 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34588 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34589 from <bits/socket_type.h>.
34590 (enum __socket_type): Don't define here.
34591 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34593 bits/socket_type.h.
34594
c6e013c1
JM
34595 [BZ #13566]
34596 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34597 checking __USE_GNU.
34598
4962050e
JM
34599 * Makerules ($(inst_includedir)/%.h): New rule.
34600 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34601 (install-others): Remove variable setting.
34602 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34603
38842f45
RH
346042012-03-08 Richard Henderson <rth@twiddle.net>
34605
67bb6da6
RH
34606 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34607 from macro to inline function; merge with the
34608 !__LIBC_INTERNAL_MATH_INLINES version.
34609 (__ieee754_sqrtf): Likewise.
34610
15194b4b
RH
34611 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34612 to inline function.
34613 (__rintf, __floor, __floorf): Likewise.
34614
64e21ede
RH
34615 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34616 macro to inline function.
34617 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34618
38842f45
RH
34619 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34620 not <math/math_private.h>.
34621
c64bf5fe
DM
346222012-03-08 David S. Miller <davem@davemloft.net>
34623
34624 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34625 copyright year.
34626 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34627
82d86f28
TS
346282012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34629
34630 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34631 normalization.
34632 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34633 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34634
aea5d727
UD
346352012-03-08 Ulrich Drepper <drepper@gmail.com>
34636
34637 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34638 be defined individually, they must be defined as a block. Define
34639 S for printing a string instead of hidint the different by using a
34640 macro for adding the 'l'.
34641 * stdio-common/tst-fphex-wide.c: Adjust.
34642
70bca0a3
MP
346432012-03-07 Marek Polacek <polacek@redhat.com>
34644
34645 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34646
65b81130
MP
346472012-03-08 Marek Polacek <polacek@redhat.com>
34648
34649 [BZ #13806]
34650 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34651 * stdio-common/tst-fphex.c: Define a few macros to make the
34652 test reusable. Use them.
34653 * stdio-common/tst-fphex-wide.c: New file.
34654
07037eeb
JM
346552012-03-08 Joseph Myers <joseph@codesourcery.com>
34656
a7a93d50
JM
34657 [BZ #6911]
34658 * manual/macros.texi (gnusystems): New macro.
34659 (nongnusystems): Likewise.
34660 (gnulinuxhurdsystems): Likewise.
34661 (gnuhurdsystems): Likewise..
34662 (gnulinuxsystems): Likewise.
34663 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34664 variants of the GNU system, not "GNU system".
34665 * manual/conf.texi: Likewise.
34666 * manual/errno.texi: Likewise. Update example of errno macro
34667 expansion.
34668 * manual/filesys.texi: Likewise.
34669 (getumask): Document as specific to GNU/Hurd.
34670 * manual/install.texi: Likewise. Reword some references to
34671 GNU/Linux.
34672 * manual/intro.texi: Likewise.
34673 * manual/io.texi: Likewise.
34674 (File Name Portability): Detail which constraints are inapplicable
34675 to all GNU systems and which are only inapplicable to GNU/Hurd.
34676 * manual/job.texi: Likewise.
34677 * manual/llio.texi: Likewise.
34678 (O_NOCTTY): Document as present on GNU/Linux.
34679 * manual/maint.texi: Likewise.
34680 * manual/memory.texi: Likewise.
34681 * manual/pattern.texi: Likewise.
34682 * manual/pipe.texi: Likewise.
34683 * manual/process.texi: Likewise.
34684 * manual/resource.texi: Likewise.
34685 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34686 child on GNU/Hurd.
34687 * manual/setjmp.texi: Likewise.
34688 * manual/signal.texi: Likewise.
34689 * manual/startup.texi: Likewise.
34690 * manual/stdio.texi: Likewise.
34691 * manual/terminal.texi: Likewise.
34692 (ONLCR): Document as POSIX.
34693 (OXTABS): Document availability on GNU/Linux as XTABS.
34694 (ONOEOT): Document availability separately from other bits.
34695 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34696 * manual/time.texi: Likewise.
34697 * manual/users.texi: Likewise.
34698 * INSTALL: Regenerated.
34699 * sysdeps/gnu/errlist.c: Regenerated.
34700
07037eeb
JM
34701 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34702 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34703 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34704 puts.
34705 * configure: Regenerated.
34706
d1d3431a
JM
347072012-03-07 Joseph Myers <joseph@codesourcery.com>
34708
af6a1e37
JM
34709 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34710 default includes instead of AC_HEADER_CHECK.
34711 * sysdeps/i386/configure: Regenerated.
34712
d1d3431a
JM
34713 [BZ #10716]
34714 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34715 * math/s_cacoshf.c (__cacoshf): Likewise.
34716 * math/s_cacoshl.c (__cacoshl): Likewise.
34717 * math/s_casinh.c (__casinh): Set signs of result from argument.
34718 * math/s_casinhf.c (__casinhf): Likewise.
34719 * math/s_casinhl.c (__casinhl): Likewise.
34720 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34721 (casinh_test): Add more tests.
34722 * sysdeps/i386/fpu/libm-test-ulps: Update.
34723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34724
482ff4da
UD
347252012-03-07 Ulrich Drepper <drepper@gmail.com>
34726
872fda05
UD
34727 * po/zh_TW.po: Update from translation team.
34728
a4300c7a
UD
34729 * login/Makefile (distribute): Remove variable.
34730 * catgets/Makefile: Likewise.
34731 * mach/Makefile: Likewise.
34732 * malloc/Makefile: Likewise.
34733 * misc/Makefile: Likewise.
34734 * iconv/Makefile: Likewise.
34735 * nscd/Makefile: Likewise.
34736 * hurd/Makefile: Likewise.
34737 * manual/Makefile: Likewise.
34738 * locale/Makefile: Likewise.
34739 * intl/Makefile: Likewise.
34740 * conform/Makefile: Likewise.
34741 * nss/Makefile: Likewise.
34742 * time/Makefile: Likewise.
34743 * soft-fp/Makefile: Likewise.
34744 * dirent/Makefile: Likewise.
34745 * gmon/Makefile: Likewise.
34746 * po/Makefile: Likewise.
34747 * rt/Makefile: Likewise.
34748 * socket/Makefile: Likewise.
34749 * math/Makefile: Likewise.
34750 * signal/Makefile: Likewise.
34751 * debug/Makefile: Likewise.
34752 * elf/Makefile: Likewise.
34753 * timezone/Makefile: Likewise.
34754 * stdlib/Makefile: Likewise.
34755 * iconvdata/Makefile: Likewise.
34756 * sunrpc/Makefile: Likewise.
34757 * io/Makefile: Likewise.
34758 * argp/Makefile: Likewise.
34759 * inet/Makefile: Likewise.
34760 * hesiod/Makefile: Likewise.
34761 * grp/Makefile: Likewise.
34762 * csu/Makefile: Likewise.
34763 * wctype/Makefile: Likewise.
34764 * crypt/Makefile: Likewise.
34765 * libio/Makefile: Likewise.
34766 * string/Makefile: Likewise.
34767 * nis/Makefile: Likewise.
34768 * resolv/Makefile: Likewise.
34769 * stdio-common/Makefile: Likewise.
34770 * wcsmbs/Makefile: Likewise.
34771 * dlfcn/Makefile: Likewise.
34772 * posix/Makefile: Likewise.
34773
3b7c4e74 34774 [BZ #6959]
482ff4da
UD
34775 * timezone/Makefile: Don't install timezone files, just the programs
34776 and scripts.
34777
f72ed77d
UD
347782012-03-06 Ulrich Drepper <drepper@gmail.com>
34779
a000466f
UD
34780 * nss/databases.def: Add missing gshadow entry.
34781
f72ed77d
UD
34782 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34783
a53b7a4e
MP
347842012-03-06 Marek Polacek <polacek@redhat.com>
34785
34786 [BZ #13726]
34787 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34788 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34789 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34790 * stdio-common/tst-long-dbl-fphex.c: New file.
34791
e9258400
DM
347922012-03-06 David S. Miller <davem@davemloft.net>
34793
34794 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34795 (set_obp_int): New function.
34796 (get_obp_int): New function.
34797 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34798 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34799 Avoid unused variable warnings on 'val' and use builtin_expect.
34800 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34801 __builtin_expect.
e9258400
DM
34802 (INLINE_CLONE_SYSCALL): Likewise.
34803
3bd2c723
DM
348042012-03-05 David S. Miller <davem@davemloft.net>
34805
34806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34807
bbb78d03
AS
348082012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34809
884c5db4
AS
34810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34811
bbb78d03
AS
34812 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34813 only for |x| >= 40.
34814 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34815
1c9f702a 348162012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34817
34818 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34819 Replace gettimeofday with __vdso_gettimeofday.
34820
7be16f82
RM
34821 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34822 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34823 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34824
34825 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34826 time with __vdso_time.
34827
ed58a00f
JM
348282012-03-05 Joseph Myers <joseph@codesourcery.com>
34829
34830 * manual/lang.texi (size_t): Note types to which size_t may be
34831 equivalent with the GNU C Library, but do not describe when
34832 differences between them are significant.
34833
30ee4ced
AJ
348342012-03-05 Andreas Jaeger <aj@suse.de>
34835
34836 * sysdeps/i386/fpu/libm-test-ulps: Update.
34837
b7cd39e8
JM
348382012-03-05 Joseph Myers <joseph@codesourcery.com>
34839
34840 [BZ #3976]
34841 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34842 (__ieee754_pow): Save and restore rounding mode and use
34843 round-to-nearest for main computations.
34844 * math/libm-test.inc (pow_test_tonearest): New function.
34845 (pow_test_towardzero): Likewise.
34846 (pow_test_downward): Likewise.
34847 (pow_test_upward): Likewise.
34848 (main): Call the new functions.
34849 * sysdeps/i386/fpu/libm-test-ulps: Update.
34850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34851
34852 [BZ #3976]
34853 * math/libm-test.inc (cosh_test_tonearest): New function.
34854 (cosh_test_towardzero): Likewise.
34855 (cosh_test_downward): Likewise.
34856 (cosh_test_upward): Likewise.
34857 (sinh_test_tonearest): Likewise.
34858 (sinh_test_towardzero): Likewise.
34859 (sinh_test_downward): Likewise.
34860 (sinh_test_upward): Likewise.
34861 (main): Call the new functions.
34862 * sysdeps/i386/fpu/libm-test-ulps: Update.
34863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34864
6c6a98c9
TV
348652012-03-05 Tom de Vries <tom@codesourcery.com>
34866
34867 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34868 default stack guard is set in last bytes.
34869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34870
21bb2d2e 348712012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34872
21bb2d2e 34873 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34874
21bb2d2e
AJ
34875 [BZ #13656]
34876 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34877 possibly allocate from heap instead of stack.
34878 * stdio-common/bug-vfprintf-nargs.c: New file.
34879 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34880
c6922934
AS
348812012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34882
34883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34884
bc957d53
MP
348852012-03-03 Marek Polacek <polacek@redhat.com>
34886
34887 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34888 * math/math_private.h: Likewise.
34889 * stdlib/tst-strtod.c: Likewise.
34890 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34891 * sysdeps/x86_64/bits/atomic.h: Likewise.
34892
6358490d
DM
348932012-03-02 David S. Miller <davem@davemloft.net>
34894
34895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34899 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34900 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34901 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34902 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34903
01ae168d
RM
349042012-03-02 Roland McGrath <roland@hack.frob.com>
34905
d9a17c07
RM
34906 [BZ #13792]
34907 * manual/examples/README: New file, says the example source files
34908 can be used under GPL>=2.
34909 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34910 line containing just "*/".
34911 * manual/examples/add.c: Add copyright header (GPL>=2).
34912 * manual/examples/argp-ex1.c: Likewise.
34913 * manual/examples/argp-ex2.c: Likewise.
34914 * manual/examples/argp-ex3.c: Likewise.
34915 * manual/examples/argp-ex4.c: Likewise.
34916 * manual/examples/atexit.c: Likewise.
34917 * manual/examples/db.c: Likewise.
34918 * manual/examples/dir.c: Likewise.
34919 * manual/examples/dir2.c: Likewise.
34920 * manual/examples/execinfo.c: Likewise.
34921 * manual/examples/filecli.c: Likewise.
34922 * manual/examples/filesrv.c: Likewise.
34923 * manual/examples/fmtmsgexpl.c: Likewise.
34924 * manual/examples/genpass.c: Likewise.
34925 * manual/examples/inetcli.c: Likewise.
34926 * manual/examples/inetsrv.c: Likewise.
34927 * manual/examples/isockad.c: Likewise.
34928 * manual/examples/longopt.c: Likewise.
34929 * manual/examples/memopen.c: Likewise.
34930 * manual/examples/memstrm.c: Likewise.
34931 * manual/examples/mkfsock.c: Likewise.
34932 * manual/examples/mkisock.c: Likewise.
34933 * manual/examples/mygetpass.c: Likewise.
34934 * manual/examples/pipe.c: Likewise.
34935 * manual/examples/popen.c: Likewise.
34936 * manual/examples/rprintf.c: Likewise.
34937 * manual/examples/search.c: Likewise.
34938 * manual/examples/select.c: Likewise.
34939 * manual/examples/setjmp.c: Likewise.
34940 * manual/examples/sigh1.c: Likewise.
34941 * manual/examples/sigusr.c: Likewise.
34942 * manual/examples/stpcpy.c: Likewise.
34943 * manual/examples/strdupa.c: Likewise.
34944 * manual/examples/strftim.c: Likewise.
34945 * manual/examples/strncat.c: Likewise.
34946 * manual/examples/subopt.c: Likewise.
34947 * manual/examples/swapcontext.c: Likewise.
34948 * manual/examples/termios.c: Likewise.
34949 * manual/examples/testopt.c: Likewise.
34950 * manual/examples/testpass.c: Likewise.
34951 * manual/examples/timeval_subtract.c: Likewise.
34952
01ae168d
RM
34953 [BZ #13792]
34954 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34955 function to ...
34956 * manual/timeval_subtract.c.texi: ... here, new file.
34957
49efa33d
DM
349582012-03-02 David S. Miller <davem@davemloft.net>
34959
34960 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34961
28afd92d
JM
349622012-03-02 Joseph Myers <joseph@codesourcery.com>
34963
804360ed
JM
34964 [BZ #3976]
34965 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34966 (__sin): Save and restore rounding mode and use round-to-nearest
34967 for all computations.
34968 (__cos): Save and restore rounding mode and use round-to-nearest
34969 for all computations.
34970 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34971 <fenv.h>.
34972 (tan): Save and restore rounding mode and use round-to-nearest for
34973 all computations.
34974 * math/libm-test.inc (cos_test_tonearest): New function.
34975 (cos_test_towardzero): Likewise.
34976 (cos_test_downward): Likewise.
34977 (cos_test_upward): Likewise.
34978 (sin_test_tonearest): Likewise.
34979 (sin_test_towardzero): Likewise.
34980 (sin_test_downward): Likewise.
34981 (sin_test_upward): Likewise.
34982 (tan_test_tonearest): Likewise.
34983 (tan_test_towardzero): Likewise.
34984 (tan_test_downward): Likewise.
34985 (tan_test_upward): Likewise.
34986 (main): Call the new functions.
34987 * sysdeps/i386/fpu/libm-test-ulps: Update.
34988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34989
a6d06d7b
JM
34990 [BZ #10135]
34991 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34992 small n, then large n, before computing and testing k+n.
34993 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34994 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34995 Likewise.
34996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34997 Likewise.
34998 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34999 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35000 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35001 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35002 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35003 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35004 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35005 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35006 * math/libm-test.inc (scalbn_test): Add more tests.
35007 (scalbln_test): Likewise.
35008
07e12bb3
JM
35009 * manual/filesys.texi (mode_t): Describe constraints on size and
35010 signedness, not exact equivalence to a particular type.
35011 (ino_t): Likewise.
35012 (ino64_t): Likewise.
35013 (dev_t): Likewise.
35014 (nlink_t): Likewise.
35015 (blkcnt_t): Likewise.
35016 (blkcnt64_t): Likewise.
35017 * manual/llio.texi (off_t): Likewise.
35018
28afd92d
JM
35019 [BZ #3976]
35020 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35021 (__ieee754_exp): Save and restore rounding mode and use
35022 round-to-nearest for all computations.
35023 * math/libm-test.inc (exp_test_tonearest): New function.
35024 (exp_test_towardzero): Likewise.
35025 (exp_test_downward): Likewise.
35026 (exp_test_upward): Likewise.
35027 (main): Call the new functions.
35028 * sysdeps/i386/fpu/libm-test-ulps: Update.
35029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35030
b1eeb65d
CD
350312012-03-01 Chris Demetriou <cgd@google.com>
35032
35033 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35034 have predictable order.
35035
53362a4b
DM
350362012-03-01 David S. Miller <davem@davemloft.net>
35037
3c969083
DM
35038 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35039
759707de
DM
35040 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35041 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35042 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35043 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35044
dfdb8ff2
DM
35045 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35046 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35047 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35049 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35050 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35051 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35052 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35053 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35054
ead89f96
DM
35055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35056
7f66bd07
DM
35057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35058 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35059 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35060
53362a4b
DM
35061 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35062 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35063 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35064 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35065 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35066 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35067 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35068 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35069 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35070 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35071 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35072 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35073 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35074 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35075 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35077 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35078 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35079 * sysdeps/sparc/elf/configure: Regenerated.
35080
7b1902cb
JM
350812012-03-01 Joseph Myers <joseph@codesourcery.com>
35082
bec039bc
JM
35083 * configure.in (AS, LD): Require binutils 2.20 or later.
35084 * configure: Regenerated.
35085 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35086 as required minimum version.
35087 * INSTALL: Regenerated.
35088
7b1902cb
JM
35089 [BZ #2541]
35090 [BZ #4108]
35091 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35092 before squaring exponent.
35093 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35094 bottom long double and 27 bits of top long double before squaring
35095 exponent.
35096 * math/libm-test.inc (erfc_test): Add more tests.
35097 * sysdeps/i386/fpu/libm-test-ulps: Update.
35098 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35100
f775c276
KT
351012012-03-01 Kai Tietz <ktietz@redhat.com>
35102
35103 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35104 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35105 containing bit-fields.
35106 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35107 * soft-fp/single.h (_FP_UNION_S): Likewise.
35108 * soft-fp/double.h (_FP_UNION_D): Likewise.
35109
5b8a4d4a
JM
351102012-02-29 Joseph Myers <joseph@codesourcery.com>
35111
0bab47b6
JM
35112 [BZ #13786]
35113 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35114 not include ../strcmp.S.
35115 [USE_AS_STRNCASECMP_L]: Likewise.
35116 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35117 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35118 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35119 (__strncasecmp_l_ia32): Define as alias to
35120 __strncasecmp_l_nonascii.
35121
0fcad3e2
JM
35122 [BZ #5794]
35123 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35124 * sysdeps/i386/fpu/libm-test-ulps: Update.
35125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35126
5b8a4d4a
JM
35127 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35129
8fdceb2e
JL
351302012-02-29 Jeff Law <law@redhat.com>
35131
35132 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35133 out of bounds read.
35134
1f393a11
MP
351352012-02-29 Marek Polacek <polacek@redhat.com>
35136
35137 [BZ #13706]
35138 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35139 * elf/Makefile: Add rules to run tst-unused-dep.out.
35140
8847f037
DM
351412012-02-28 David S. Miller <davem@davemloft.net>
35142
35143 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35144 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35145 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35146 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35147 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35148 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35149
169d7f11
JM
351502012-02-29 Joseph Myers <joseph@codesourcery.com>
35151
35152 * math/libm-test.inc (llround_test): Move one test from
35153 lround_test. Use TEST_f_L in moved test.
35154 (lround_test): Move misplaced test to llround_test. Add testcase
35155 from bug 2561.
35156
39adf059
UD
351572012-02-28 Ulrich Drepper <drepper@gmail.com>
35158
35159 * sysdeps/x86_64/fpu/e_expf.S: New file.
35160 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35161
71b5d1c5
SB
351622012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35163
35164 [BZ #13637]
35165 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35166 of remain_len that may cause incomplete multi-byte character and
35167 false match.
35168 * posix/bug-regex33.c: New file.
35169 * posix/Makefile (tests): Add bug-regex33.
35170
1f77f049
JM
351712012-02-28 Joseph Myers <joseph@codesourcery.com>
35172
35173 * manual/macros.texi: New file.
35174 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35175 * manual/libc.texinfo: Include macros.texi.
35176 * manual/creatute.texi: Likewise.
35177 * manual/install.texi: Likewise.
35178 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35179 @glibcadj{} in references to the GNU C Library.
35180 * manual/charset.texi: Likewise.
35181 * manual/conf.texi: Likewise.
35182 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35183 when not using those macros.
35184 * manual/creature.texi: Likewise.
35185 * manual/crypt.texi: Likewise.
35186 * manual/errno.texi: Likewise.
35187 * manual/filesys.texi: Likewise.
35188 * manual/header.texi: Likewise.
35189 * manual/install.texi: Likewise.
35190 * manual/intro.texi: Likewise.
35191 * manual/io.texi: Likewise.
35192 * manual/job.texi: Likewise.
35193 * manual/lang.texi: Likewise.
35194 * manual/libc.texiinfo: Likewise.
35195 * manual/llio.texi: Likewise.
35196 * manual/locale.texi: Likewise.
35197 * manual/maint.texi: Likewise.
35198 * manual/math.texi: Likewise.
35199 * manual/memory.texi: Likewise.
35200 * manual/message.texi: Likewise.
35201 * manual/nss.texi: Likewise.
35202 * manual/pattern.texi: Likewise.
35203 * manual/process.texi: Likewise.
35204 * manual/resource.texi: Likewise.
35205 * manual/search.texi: Likewise.
35206 * manual/setjmp.texi: Likewise.
35207 * manual/signal.texi: Likewise.
35208 * manual/socket.texi: Likewise.
35209 * manual/startup.texi: Likewise.
35210 * manual/stdio.texi: Likewise.
35211 * manual/string.texi: Likewise.
35212 * manual/sysinfo.texi: Likewise.
35213 * manual/syslog.texi: Likewise.
35214 * manual/terminal.texi: Likewise.
35215 * manual/time.texi: Likewise.
35216 * manual/users.texi: Likewise.
35217 * INSTALL: Regenerated.
35218 * NOTES: Regenerated.
d40c5d54 35219 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 35220
450bf206
AS
352212012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35222
35223 * include/dirent.h: Include <dirstream.h> before
35224 <dirent/dirent.h>.
35225
741a235b
DM
352262012-02-28 David S. Miller <davem@davemloft.net>
35227
35228 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35229 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35230 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35231 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35232
d6b5aa58
DM
352332012-02-27 David S. Miller <davem@davemloft.net>
35234
1aff59a3
DM
35235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35237 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35238 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35239
d6b5aa58
DM
35240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35241 frame pointer instead of stack pointer relative arg slot.
35242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35243 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35244 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35245
433f48bf
CD
352462012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35247
35248 [BZ #3992]
35249 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35250
d674b76d
DM
352512012-02-27 David S. Miller <davem@davemloft.net>
35252
35253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35257 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35258 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35259 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35260 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35261
0e7727f7
JM
352622012-02-27 Joseph Myers <joseph@codesourcery.com>
35263
35264 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35265 later. Allow versions 5-9.
43be4ca2 35266 * configure: Regenerated.
0e7727f7
JM
35267 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35268 required minimum version and 4.6 as recommended version. Do not
35269 mention bugs in GCC 2.7 and 2.8.
43be4ca2 35270 * INSTALL: Regenerated.
0e7727f7 35271
a78bc654
DM
352722012-02-27 David S. Miller <davem@davemloft.net>
35273
428d5830
DM
35274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35278 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35279 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35280 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35281 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35282
a78bc654
DM
35283 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35284 manipulate bits before adding and subtracting TWO112[sx].
35285 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35286
4579f81c
RM
352872012-02-27 Roland McGrath <roland@hack.frob.com>
35288
36c8acb4
RM
35289 [BZ #13775]
35290 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35291 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35292 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35293 being in POSIX, because they are in 1003.1-2008.
35294
84ad622b
RM
35295 * rt/tst-aio.c: Include <fcntl.h>.
35296 * rt/tst-aio7.c: Likewise.
35297 * rt/tst-aio64.c: Likewise.
35298
4579f81c
RM
35299 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35300
abd923db
JM
353012012-02-27 Joseph Myers <joseph@codesourcery.com>
35302
35303 * manual/install.texi (--with-headers): Describe headers as
35304 interface headers, not private headers.
35305 (Specific advice for GNU/Linux systems): Describe use of headers
35306 from "make headers_install", not private headers from older
35307 kernels.
43be4ca2 35308 * INSTALL: Regenerated.
abd923db
JM
35309 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35310 Change to 2.6.19.
35311 * sysdeps/unix/sysv/linux/configure: Regenerated.
35312
6664049b
JM
35313 * manual/llio.texi (fclean): Remove documentation.
35314
bb8b6697
JM
35315 * manual/Makefile (libc-texi-generated): New variable. Include
35316 version.texi.
35317 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35318 $(libc-texi-generated), not duplicated list of files.
35319 (version.texi, stamp-version): New rules.
35320 (realclean): Remove $(libc-texi-generated), not individual files
35321 from that list. Do not remove dir-add.texinfo.
35322 * manual/libc.texinfo: Comment out uses of edition numbers and
35323 references to printed manual. Remove last-updated dates.
35324 (EDITION): Comment out.
35325 (ISBN): Likewise.
35326 (VERSION, UPDATED): Remove.
35327 (version.texi): Include.
35328
12e5c3b9
AS
353292012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35330
35331 * sysdeps/posix/spawni.c: Include <signal.h>.
35332 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35333 * sysdeps/pthread/aio_fsync.c: Likewise.
35334
4efeffc1 353352012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 35336
ba63ba08
UD
35337 * conform/Makefile (tests): Run only when not cross-compiling and
35338 when fast-check is not defined.
35339
d94a4670
UD
35340 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35341 * conform/data/limits.h-data: Fixes for POSIX2008.
35342 * conform/run-conformtest.sh: Run all tests.
35343 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35344 headers.
35345 * include/bits/dlfcn.h: Likewise.
35346 * include/langinfo.h: Likewise.
35347 * include/monetary.h: Likewise.
35348 * include/sys/poll.h: Likewise.
35349
35350 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35351 for __USE_GNU.
35352 * posix/spawn.h: Define __need_sigset_t.
35353 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35354 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35355 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35356 to get sigevent_t only.
35357 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35358 only for __USE_GNU.
35359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35360 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35361 process_vm_writev only for __USE_GNU.
35362 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
35363
35364 * conform/Makefile: For now ignore errors from run-conformtest.
35365 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35366 POSIX to avoid namespace pollution. Don't prepend headers.
35367 * conform/data/aio.h-data: Fixes for POSIX testing.
35368 * conform/data/fcntl.h-data: Likewise.
35369 * conform/data/glob.h-data: Likewise.
35370 * conform/data/grp.h-data: Likewise.
35371 * conform/data/pthread.h-data: Likewise.
35372 * conform/data/pwd.h-data: Likewise.
35373 * conform/data/signal.h-data: Likewise.
35374 * conform/data/spawn.h-data: Likewise.
35375 * conform/data/stdio.h-data: Likewise.
35376 * conform/data/stdlib.h-data: Likewise.
35377 * conform/data/stropts.h-data: Likewise.
35378 * conform/data/sys/mman.h-data: Likewise.
35379 * conform/data/sys/stat.h-data: Likewise.
35380 * conform/data/sys/types.h-data: Likewise.
35381 * conform/data/sys/wait.h-data: Likewise.
35382 * conform/data/time.h-data: Likewise.
35383 * conform/data/unistd.h-data: Likewise.
35384 * conform/data/utime.h-data: Likewise.
35385
35386 * io/sys/stat.h: fchmod was always in POSIX.
35387 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35388 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35389 * rt/aio.h: Define __need_timespec before including <time.h>.
35390 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35391 struct. Add forward declaration of pthread_attr_t and use it in
35392 sigevent.
35393 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35394 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35395 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35396 always remove CLK_TCK definition.
35397
c20105c3
AS
353982012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35399
35400 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35401
7a270350
UD
354022012-02-25 Ulrich Drepper <drepper@gmail.com>
35403
31341567
UD
35404 * conform/run-conformtest.sh: New file.
35405 * conform/Makefile: Run run-conformtest for tests.
35406 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35407 support.
35408
35409 * conform/data/uchar.h-data: New file.
35410 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35411 * conform/data/arpa/inet.h-data: Likewise.
35412 * conform/data/assert.h-data: Likewise.
35413 * conform/data/complex.h-data: Likewise.
35414 * conform/data/cpio.h-data: Likewise.
35415 * conform/data/ctype.h-data: Likewise.
35416 * conform/data/dirent.h-data: Likewise.
35417 * conform/data/dlfcn.h-data: Likewise.
35418 * conform/data/errno.h-data: Likewise.
35419 * conform/data/fcntl.h-data: Likewise.
35420 * conform/data/float.h-data: Likewise.
35421 * conform/data/fmtmsg.h-data: Likewise.
35422 * conform/data/fnmatch.h-data: Likewise.
35423 * conform/data/ftw.h-data: Likewise.
35424 * conform/data/glob.h-data: Likewise.
35425 * conform/data/grp.h-data: Likewise.
35426 * conform/data/iconv.h-data: Likewise.
35427 * conform/data/inttypes.h-data: Likewise.
35428 * conform/data/langinfo.h-data: Likewise.
35429 * conform/data/libgen.h-data: Likewise.
35430 * conform/data/limits.h-data: Likewise.
35431 * conform/data/locale.h-data: Likewise.
35432 * conform/data/math.h-data: Likewise.
35433 * conform/data/monetary.h-data: Likewise.
35434 * conform/data/mqueue.h-data: Likewise.
35435 * conform/data/ndbm.h-data: Likewise.
35436 * conform/data/net/if.h-data: Likewise.
35437 * conform/data/netdb.h-data: Likewise.
35438 * conform/data/netinet/in.h-data: Likewise.
35439 * conform/data/nl_types.h-data: Likewise.
35440 * conform/data/poll.h-data: Likewise.
35441 * conform/data/pthread.h-data: Likewise.
35442 * conform/data/pwd.h-data: Likewise.
35443 * conform/data/regex.h-data: Likewise.
35444 * conform/data/sched.h-data: Likewise.
35445 * conform/data/search.h-data: Likewise.
35446 * conform/data/semaphore.h-data: Likewise.
35447 * conform/data/setjmp.h-data: Likewise.
35448 * conform/data/signal.h-data: Likewise.
35449 * conform/data/spawn.h-data: Likewise.
35450 * conform/data/stdarg.h-data: Likewise.
35451 * conform/data/stdio.h-data: Likewise.
35452 * conform/data/stdlib.h-data: Likewise.
35453 * conform/data/string.h-data: Likewise.
35454 * conform/data/strings.h-data: Likewise.
35455 * conform/data/stropts.h-data: Likewise.
35456 * conform/data/sys/ipc.h-data: Likewise.
35457 * conform/data/sys/mman.h-data: Likewise.
35458 * conform/data/sys/msg.h-data: Likewise.
35459 * conform/data/sys/resource.h-data: Likewise.
35460 * conform/data/sys/select.h-data: Likewise.
35461 * conform/data/sys/sem.h-data: Likewise.
35462 * conform/data/sys/shm.h-data: Likewise.
35463 * conform/data/sys/socket.h-data: Likewise.
35464 * conform/data/sys/stat.h-data: Likewise.
35465 * conform/data/sys/statvfs.h-data: Likewise.
35466 * conform/data/sys/time.h-data: Likewise.
35467 * conform/data/sys/timeb.h-data: Likewise.
35468 * conform/data/sys/times.h-data: Likewise.
35469 * conform/data/sys/types.h-data: Likewise.
35470 * conform/data/sys/uio.h-data: Likewise.
35471 * conform/data/sys/un.h-data: Likewise.
35472 * conform/data/sys/utsname.h-data: Likewise.
35473 * conform/data/sys/wait.h-data: Likewise.
35474 * conform/data/syslog.h-data: Likewise.
35475 * conform/data/tar.h-data: Likewise.
35476 * conform/data/termios.h-data: Likewise.
35477 * conform/data/utime.h-data: Likewise.
35478 * conform/data/utmpx.h-data: Likewise.
35479 * conform/data/varargs.h-data: Likewise.
35480 * conform/data/wchar.h-data: Likewise.
35481 * conform/data/wctype.h-data: Likewise.
35482 * conform/data/wordexp.h-data: Likewise.
35483
35484 * include/stropts.h: New file.
35485 * include/uchar.h: New file.
35486 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35487 * include/assert.h: Likewise.
35488 * include/ctype.h: Likewise.
35489 * include/dirent.h: Likewise.
35490 * include/dlfcn.h: Likewise.
35491 * include/fcntl.h: Likewise.
35492 * include/fnmatch.h: Likewise.
35493 * include/glob.h: Likewise.
35494 * include/grp.h: Likewise.
35495 * include/libio.h: Likewise.
35496 * include/locale.h: Likewise.
35497 * include/math.h: Likewise.
35498 * include/net/if.h: Likewise.
35499 * include/netdb.h: Likewise.
35500 * include/netinet/in.h: Likewise.
35501 * include/pthread.h: Likewise.
35502 * include/pwd.h: Likewise.
35503 * include/regex.h: Likewise.
35504 * include/sched.h: Likewise.
35505 * include/search.h: Likewise.
35506 * include/setjmp.h: Likewise.
35507 * include/signal.h: Likewise.
35508 * include/stdio.h: Likewise.
35509 * include/stdlib.h: Likewise.
35510 * include/string.h: Likewise.
35511 * include/sys/cdefs.h: Likewise.
35512 * include/sys/mman.h: Likewise.
35513 * include/sys/msg.h: Likewise.
35514 * include/sys/resource.h: Likewise.
35515 * include/sys/select.h: Likewise.
35516 * include/sys/socket.h: Likewise.
35517 * include/sys/stat.h: Likewise.
35518 * include/sys/statvfs.h: Likewise.
35519 * include/sys/time.h: Likewise.
35520 * include/sys/times.h: Likewise.
35521 * include/sys/uio.h: Likewise.
35522 * include/sys/utsname.h: Likewise.
35523 * include/sys/wait.h: Likewise.
35524 * include/termios.h: Likewise.
35525 * include/time.h: Likewise.
35526 * include/ulimit.h: Likewise.
35527 * include/unistd.h: Likewise.
35528 * include/utime.h: Likewise.
35529 * include/wchar.h: Likewise.
35530 * include/wctype.h: Likewise.
35531 * include/wordexp.h: Likewise.
35532
35533 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35534
7a270350
UD
35535 * time/time.h: TIME_UTC must be a macro.
35536 Make timespec_get available for ISO C11 only as well.
35537
7724defc
UD
355382012-02-24 Ulrich Drepper <drepper@gmail.com>
35539
35540 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35541 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35542
6b1d1d46
JM
355432012-02-24 Joseph Myers <joseph@codesourcery.com>
35544
35545 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35546
0f8bbd69
JM
355472012-02-24 Joseph Myers <joseph@codesourcery.com>
35548
35549 * manual/texinfo.tex: Update to version 2012-01-19.16.
35550
66ab80bc
JM
355512012-02-24 Joseph Myers <joseph@codesourcery.com>
35552
35553 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35554
74981cc5
RM
355552012-02-24 Roland McGrath <roland@hack.frob.com>
35556
ee968201
RM
35557 [BZ #13738]
35558 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35559 * manual/fdl-1.3.texi: New file.
35560 * manual/fdl-1.1.texi: File removed.
35561
74981cc5
RM
35562 [BZ #13738]
35563 * manual/libc.texinfo (FDL_VERSION): New @set.
35564 Use it for mention of FDL in cover text.
35565 (Documentation License): Use it in @include file name.
35566
7bb764bc
JM
355672012-02-22 Joseph Myers <joseph@codesourcery.com>
35568 Roland McGrath <roland@hack.frob.com>
35569
35570 [BZ #5461]
57f41c40
AS
35571 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35572 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35573 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35574 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35575 name.
35576 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35577
6cbeae47
JM
355782012-02-22 Joseph Myers <joseph@codesourcery.com>
35579
35580 [BZ #2547]
35581 [BZ #11365]
35582 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35583 manipulate bits before adding and subtracting TWO23[sx].
35584 * math/libm-test.inc (nearbyint_test): Add more tests.
35585
fe45ce09
JM
355862012-02-22 Joseph Myers <joseph@codesourcery.com>
35587
35588 [BZ #2548]
35589 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35590 bits before adding and subtracting TWO23[sx].
35591 * math/libm-test.inc (rint_test): Add more tests.
35592 (rint_test_tonearest): Likewise.
35593 (rint_test_towardzero): Likewise.
35594 (rint_test_downward): Likewise.
35595 (rint_test_upward: Likewise.
35596
ff3b3d82
JM
355972012-02-22 Joseph Myers <joseph@codesourcery.com>
35598
35599 [BZ #10110]
35600 * include/stdc-predef.h: New file. Extracted from features.h.
35601 * include/features.h: Include stdc-predef.h.
35602 * Makefile (headers): Add stdc-predef.h.
35603 * CONFORMANCE (Compiler limitations): Update.
35604
ef0aab35
JM
356052012-02-22 Joseph Myers <joseph@codesourcery.com>
35606
35607 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35608
58639409
DM
356092012-02-21 David S. Miller <davem@davemloft.net>
35610
35611 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35612 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35613
c0e70b25
DM
356142012-02-20 David S. Miller <davem@davemloft.net>
35615
35616 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35617 using a normal save/restore sequence, rather than allocating a
35618 dummy stack frame just to store a frame pointer and restore.
35619 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35620
fb06851d
JM
356212012-02-21 Joseph Myers <joseph@codesourcery.com>
35622
35623 * manual/install.texi: Fix stray word in line-wrapped comment.
35624
7a8b71c3
DM
356252012-02-20 David S. Miller <davem@davemloft.net>
35626
d510c123
DM
35627 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35628 both binutils and gcc support GOTDATA.
35629
0722d7c2
DM
35630 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35631 "rd %pc" in the PIC register setup sequences.
35632
3d2b3019
DM
35633 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35634 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35635 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35636 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35637 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35639 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35640 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35642 (SYSCALL_ERROR_HANDLER): Likewise.
35643 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35644 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35645 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35646 (SYSCALL_ERROR_HANDLER): Likewise.
35647
c80098a9
DM
35648 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35649 (HAVE_GCC_GOTDATA): New.
35650 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35651 relocation support in both binutils and gcc.
35652 * sysdeps/sparc/elf/configure: Regenerate.
35653
3a2545a0
DM
35654 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35655 * sysdeps/sparc/sparc32/elf/configure: Delete.
35656 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35657 * sysdeps/sparc/sparc64/elf/configure: Delete.
35658 * sysdeps/sparc/elf/configure.in: New file.
35659 * sysdeps/sparc/elf/configure: Generate.
35660
7a8b71c3
DM
35661 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35662 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35663 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35664 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35665 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35666
f1e86fca
JM
356672012-02-21 Joseph Myers <joseph@codesourcery.com>
35668
35669 * manual/install.texi: Do not mention specific glibc version
35670 numbers.
35671 * manual/libc.texinfo (VERSION, UPDATED): Update.
35672 (@copying): Use @copyright{} and range of years.
35673
0e7dfaef
JM
356742012-02-21 Joseph Myers <joseph@codesourcery.com>
35675
35676 [BZ #13695]
35677 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35678 [crti.S not in sysdirs] (generated): Do not append.
35679 [crti.S not in sysdirs] (omit-deps): Likewise.
35680 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35681 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35682 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35683 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35684 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35685 Likewise.
35686 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35687 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35688 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35689 * csu/defs.awk: Remove file.
35690 * sysdeps/generic/initfini.c: Likewise.
35691 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35692 variable.
35693 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35694 Likewise.
35695
599af3ca
JM
356962012-02-20 Joseph Myers <joseph@codesourcery.com>
35697
35698 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35699 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35700 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35702 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35703 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35704 <bits/epoll.h>.
35705 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35706 (__EPOLL_PACKED): Define to empty if not defined by
35707 <bits/epoll.h>.
35708 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35710 bits/epoll.h.
35711
0e499750
JM
357122012-02-20 Joseph Myers <joseph@codesourcery.com>
35713
35714 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35715 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35716 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35717 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35718 <bits/timerfd.h>.
35719 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35721 bits/timerfd.h.
35722
5ad91f6e
JM
357232012-02-20 Joseph Myers <joseph@codesourcery.com>
35724
35725 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35726 in C locale.
35727 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35728 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35729 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35731
06b99b02
AJ
357322012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35733
35734 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35735 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35736
7638c0fd
AS
357372012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35738
35739 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35740 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35741 defined.
35742 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35743 Likewise.
35744 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35745 entry for 2.16.
35746
92221550
AJ
357472012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35748
35749 * math/w_acos.c: Use non-signaling floating-point comparisons.
35750 * math/w_acosf.c: Likewise.
35751 * math/w_acosh.c: Likewise.
35752 * math/w_acoshf.c: Likewise.
35753 * math/w_acoshl.c: Likewise.
35754 * math/w_acosl.c: Likewise.
35755 * math/w_asin.c: Likewise.
35756 * math/w_asinf.c: Likewise.
35757 * math/w_asinl.c: Likewise.
35758 * math/w_atanh.c: Likewise.
35759 * math/w_atanhf.c: Likewise.
35760 * math/w_atanhl.c: Likewise.
35761 * math/w_exp2.c: Likewise.
35762 * math/w_exp2f.c: Likewise.
35763 * math/w_exp2l.c: Likewise.
35764 * math/w_j0.c: Likewise.
35765 * math/w_j0f.c: Likewise.
35766 * math/w_j0l.c: Likewise.
35767 * math/w_j1.c: Likewise.
35768 * math/w_j1f.c: Likewise.
35769 * math/w_j1l.c: Likewise.
35770 * math/w_jn.c: Likewise.
35771 * math/w_jnf.c: Likewise.
35772 * math/w_log.c: Likewise.
35773 * math/w_log10.c: Likewise.
35774 * math/w_log10f.c: Likewise.
35775 * math/w_log10l.c: Likewise.
35776 * math/w_log2.c: Likewise.
35777 * math/w_log2f.c: Likewise.
35778 * math/w_log2l.c: Likewise.
35779 * math/w_logf.c: Likewise.
35780 * math/w_logl.c: Likewise.
35781 * math/w_sqrt.c: Likewise.
35782 * math/w_sqrtf.c: Likewise.
35783 * math/w_sqrtl.c: Likewise.
35784 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35785 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35787 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35788 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35789
ebaf36eb
JM
357902012-02-19 Joseph Myers <joseph@codesourcery.com>
35791
35792 [BZ #9739]
35793 * manual/string.texi (strnlen): Use correct parameter name in
35794 equivalent expression.
35795
71c254a6
JM
357962012-02-19 Joseph Myers <joseph@codesourcery.com>
35797
35798 [BZ #11174]
35799 * manual/users.texi (seteuid): Consistently use neweuid for
35800 argument name.
35801
16d2c631
JM
358022012-02-19 Joseph Myers <joseph@codesourcery.com>
35803
35804 [BZ #13704]
35805 * manual/nss.texi (Services in the NSS configuration): Correct
35806 list of services in example configuration file.
35807
cd837b09
NB
358082012-02-19 Nick Bowler <nbowler@draconx.ca>
35809
35810 [BZ #11322]
35811 * manual/arith.texi: Remove statements about negative zero
35812 behaving identically to zero.
35813
02c4bbad
JM
358142012-02-18 Joseph Myers <joseph@codesourcery.com>
35815
35816 [BZ #5993]
35817 * manual/install.texi: Do not document upgrading from libc5.
35818
366842e7
JM
358192012-02-18 Joseph Myers <joseph@codesourcery.com>
35820
35821 [BZ #4596]
35822 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35823
dd54084d
DM
358242012-02-18 David S. Miller <davem@davemloft.net>
35825
35826 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35827 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35828 %o7 across the call.
35829 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35830 instead.
35831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35832 SETUP_PIC_REG_LEAF.
35833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35834 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35835 * sysdeps/sparc/crtn.S: Likewise.
35836
2bcc53a3
UD
358372012-02-17 Ulrich Drepper <drepper@gmail.com>
35838
35839 * aout/Makefile: Remove.
35840
09c093b5
RK
358412012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35842
35843 [BZ #13058]
35844 * manual/examples/argp-ex1.c (main): Format definition in GNU
35845 style.
35846 * manual/examples/argp-ex2.c (main): Likewise.
35847 * manual/examples/argp-ex3.c (main): Likewise.
35848 * manual/examples/argp-ex4.c (main): Likewise.
35849 * manual/examples/longopt.c (main): Use new-style prototype
35850 definition.
35851 * manual/examples/strncat.c (main): Specify return type and use
35852 (void) for arguments.
35853 * manual/examples/subopt.c (main): Use char **argv argument.
35854
2ee633a2
JM
358552012-02-17 Joseph Myers <joseph@codesourcery.com>
35856
35857 [BZ #5077]
35858 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35859 rounding modes.
35860
0520adde
FB
358612012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35862
35863 [BZ #6907]
35864 * manual/string.texi (strchr): Change when strchrnul is
35865 recommended.
35866
3f4081cd
DGM
358672012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35868
35869 [BZ #174]
35870 * manual/locale.texi (setlocale): Document LOCPATH.
35871
d1b10e78
JM
358722012-02-17 Joseph Myers <joseph@codesourcery.com>
35873
35874 [BZ #10210]
35875 * manual/process.texi (execle): Move @dots{} before last argument.
35876
79c6869c
PB
358772012-02-17 Paul Bolle <pebolle@tiscali.nl>
35878
35879 [BZ #12047]
35880 * manual/charset.texi (Generic Charset Conversion): Fix typo
35881 (LC_TYPE -> LC_CTYPE).
35882
cc6e48bc
NB
358832012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35884
35885 [BZ #5805]
35886 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35887 (scalbnf): Likewise.
35888 (scalbnl): Likewise.
35889 (scalbln): Likewise.
35890 (scalblnf): Likewise.
35891 (scalblnl): Likewise.
35892 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35893 (vwarnx): Likewise.
35894 (verr): Likewise.
35895 (verrx): Likewise.
35896 * manual/filesys.texi (telldir): Use braces around return type.
35897 * manual/llio.texi (mmap): Add space after comma.
35898 (mmap64): Likewise.
35899 * manual/math.texi (jn): Use @var{} on parameter names.
35900 (jnf): Likewise.
35901 (jnl): Likewise.
35902 (yn): Likewise.
35903 (ynf): Likewise.
35904 (ynl): Likewise.
35905 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35906 line.
35907 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35908 "...".
35909 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35910 (sched_get_priority_max): Likewise.
35911 * manual/signal.texi (sigvec): Add space after comma.
35912 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35913 names.
35914 (if_indextoname): Likewise.
35915 (if_freenameindex): Likewise.
35916 (sendto): Use ',' instead of '.' in prototype.
35917 * manual/startup.texi (syscall): Use @dots{} instead of literal
35918 "...".
35919 * manual/stdio.texi (__fpending): Separate initial words of
35920 paragraph from @deftypefun line.
35921 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35922 "...".
35923 (vsyslog): Use @var{} on parameter names.
35924 * manual/terminal.texi (stty): Use @var{} on parameter names.
35925 * manual/users.texi (getutmp): Use @var{} on parameter names.
35926 (getutmpx): Likewise.
35927
5b23062f
JM
359282012-02-17 Joseph Myers <joseph@codesourcery.com>
35929
35930 [BZ #6884]
35931 * manual/stdio.texi (fopen): Fix typos in description of
35932 ",ccs=STRING".
35933
8dee4833
AJ
359342012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35935
35936 [BZ #4026]
35937 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35938 get clock_id definition.
35939
9078ce93
TS
359402012-02-17 Thomas Schwinge <thomas@schwinge.name>
35941
35942 [BZ #4822]
35943 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35944 (madvise): Cast every argument to void on its own.
35945
3835c55f
JM
359462012-02-17 Joseph Myers <joseph@codesourcery.com>
35947
35948 [BZ #9902]
35949 * manual/startup.texi (Exit Status): Fix typo.
35950
35c47e37
JM
359512012-02-17 Joseph Myers <joseph@codesourcery.com>
35952
35953 [BZ #10140]
35954 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35955 * manual/examples/argp-ex2.c: Likewise.
35956 * manual/examples/argp-ex3.c: Likewise.
35957
e3b69ca7
RH
359582012-02-16 Richard Henderson <rth@redhat.com>
35959
35960 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35961 * sysdeps/s390/s390-32/initfini.c: Remove.
35962 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35963 * sysdeps/s390/s390-64/initfini.c: Remove.
35964
df83af67
KK
359652012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35966
35967 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35968 compiler output for sysdeps/generic/initfini.c.
35969 * sysdeps/sh/elf/initfini.c: Remove file.
35970
f63f3380
DM
359712012-02-16 David S. Miller <davem@davemloft.net>
35972
fb59b3a4
DM
35973 [BZ #11494]
35974 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35975
f63f3380
DM
35976 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35977 * sysdeps/sparc/crti.S: New file.
35978 * sysdeps/sparc/crtn.S: New file.
35979 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35980 * sysdeps/sparc/sparc64/Makefile: Likewise.
35981
df6a4a4a
MF
359822012-02-15 Mike Frysinger <vapier@gentoo.org>
35983
6dd8f3dc 35984 [BZ #3335]
df6a4a4a
MF
35985 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35986
1cac7236
RM
359872012-02-15 Roland McGrath <roland@hack.frob.com>
35988
d2c736f8
RM
35989 [BZ #4822]
35990 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35991
1cac7236
RM
35992 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35993 (write, read, close): Likewise.
35994 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35995
8e475601
JM
359962012-02-15 Joseph Myers <joseph@codesourcery.com>
35997
35998 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35999 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36000 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36001 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36002 <bits/signalfd.h>.
36003 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36005 bits/signalfd.h.
36006
ed656b40
MP
360072012-02-14 Marek Polacek <polacek@redhat.com>
36008
36009 * sysdeps/x86_64/crti.S: New file.
36010 * sysdeps/x86_64/crtn.S: New file.
36011 * sysdeps/x86_64/elf/initfini.c: Remove file.
36012
2a979d3a
JM
360132012-02-13 Joseph Myers <joseph@codesourcery.com>
36014
36015 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36016 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36017 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36018 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36019 <bits/inotify.h>.
36020 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36021 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36022 bits/inotify.h.
36023
2a418ac3
JM
360242012-02-13 Joseph Myers <joseph@codesourcery.com>
36025
36026 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36027 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36028 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36029 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36030 <bits/eventfd.h>.
36031 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36033 bits/eventfd.h.
36034
fb779be7
TS
360352012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36036
e19e83c5
RM
36037 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36038 __feraiseexcept instead of feraiseexcept.
7c35ffed 36039
fb779be7
TS
36040 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36041 nanosleep invocations.
36042 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36043 strings, and add error checking for a nanosleep invocations.
36044
59ba27a6
PE
360452012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36046
36047 Replace FSF snail mail address with URLs, as per GNU coding standards.
36048 Most of the snail mail addresses were wrong anyway, and omitting
36049 them makes the source code easier to maintain. Almost all of the
36050 changes are to license notices and to locale LC_IDENTIFICATION
36051 addresses, except for this one:
36052 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36053 not its snail mail address.
36054
57b957eb
RH
360552012-02-09 Richard Henderson <rth@twiddle.net>
36056
af850b1c
RH
36057 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36058 of kernel-features.h.
36059
57b957eb
RH
36060 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36061
6b73181a
MP
360622012-02-08 Marek Polacek <polacek@redhat.com>
36063
36064 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36065 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36066 * sysdeps/gnu/_G_config.h: Likewise.
36067 * sysdeps/generic/_G_config.h: Likewise.
36068
26ecc33a
AS
360692012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36070
6c6dbc63
AS
36071 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36072 tests.
36073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36074
e216c012
AS
36075 * sysdeps/powerpc/powerpc32/crti.S: New file.
36076 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36077 * sysdeps/powerpc/powerpc64/crti.S: New file.
36078 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36079
26ecc33a
AS
36080 * Makeconfig (have-initfini): Don't set.
36081 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36082 * configure.in (nopic_initfini): Don't substitute.
36083 * config.h.in (HAVE_INITFINI): Don't #undef.
36084 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36085 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36086
3add8e13
JM
360872012-02-08 Joseph Myers <joseph@codesourcery.com>
36088
36089 Support crti.S and crtn.S provided directly by architectures.
36090 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36091 [crti.S in sysdirs] (omit-deps): Likewise.
36092 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36093 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36094 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36095 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36096 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36097 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36098 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36099 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36100 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36101 compiler output for sysdeps/generic/initfini.c.
36102 * sysdeps/i386/elf/Makefile: Remove file.
36103 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36104
a22f12b4
MP
361052012-02-07 Marek Polacek <polacek@redhat.com>
36106
36107 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36108 * sysdeps/gnu/_G_config.h: Likewise.
36109 * sysdeps/mach/hurd/_G_config.h: Likewise.
36110
148cf100
MP
361112012-02-07 Marek Polacek <polacek@redhat.com>
36112
36113 * math/Makefile (tests): Add tst-CMPLX2.
36114 * math/tst-CMPLX2.c: New file.
36115
cfdc0dd7
AS
361162012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36117
84ba42c4
AS
36118 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36119
cfdc0dd7
AS
36120 * math/libm-test.inc (jn_test): Add missing L suffix.
36121
622c86f4
MP
361222012-02-06 Marek Polacek <polacek@redhat.com>
36123
36124 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36125 * sysdeps/i386/fpu/e_powf.S: Likewise.
36126 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36127 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36128 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36129 * sysdeps/i386/fpu/e_pow.S: Likewise.
36130 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36131 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36132 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36133 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36134 * sysdeps/i386/fpu/e_log2.S: Likewise.
36135 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36136 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36137 * sysdeps/i386/fpu/e_powl.S: Likewise.
36138 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36139 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36140 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36141 * sysdeps/i386/fpu/e_logl.S: Likewise.
36142 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36143 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36144 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36145 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36146 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36147 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36148 * sysdeps/i386/fpu/e_log.S: Likewise.
36149 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36150 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36151 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36152 * sysdeps/i386/fpu/e_logf.S: Likewise.
36153 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36154 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36155 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36156 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36157 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36158 * sysdeps/i386/fpu/e_log10.S: Likewise.
36159 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36160 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36161 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36162 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36163 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36164 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36165 * sysdeps/i386/asm-syntax.h: Likewise.
36166 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36167 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36168 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36169 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36170 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36171 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36172 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36173 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36174 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36175 * sysdeps/powerpc/sysdep.h: Likewise.
36176 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36177 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36178
d4a54ac6
JM
361792012-02-06 Joseph Myers <joseph@codesourcery.com>
36180
36181 [BZ #411]
36182 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36183
314054ea
JM
361842012-02-06 Joseph Myers <joseph@codesourcery.com>
36185
36186 * sysdeps/i386/sysdep.h: Include <features.h>.
36187 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36188 version.
36189
d8e0ca50
JM
361902012-02-05 Joseph Myers <joseph@codesourcery.com>
36191
36192 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36193 Define.
36194 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36195 LOAD_PIC_REG_STR.
36196
b1da7dd9
JM
361972012-02-03 Joseph Myers <joseph@codesourcery.com>
36198
36199 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36200 (SETUP_PIC_REG): Use GET_PC_THUNK.
36201 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36202 macro.
36203
9a1d9254
JM
362042012-02-03 Joseph Myers <joseph@codesourcery.com>
36205
36206 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36207 for non-PIC compilation.
36208 (SETUP_PIC_REG): Add .p2align directive.
36209 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36210 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36211 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36212 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36213 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36214 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36215 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36216 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36217 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36218 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36219 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36220 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36221 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36222 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36223 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36224 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36225 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36226 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36227 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36228 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36229 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36230 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36231 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36232 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36233 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36234 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36235 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36236 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36237 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36238 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36239 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36240 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36241 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36242 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36243 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36244 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36245 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36246 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36247 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36248 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36249 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36250
65dc3b75
JM
362512012-02-03 Joseph Myers <joseph@codesourcery.com>
36252
36253 * math/tst-CMPLX.c: Include <stdio.h>.
36254
d55bf177
JM
362552012-01-31 Joseph Myers <joseph@codesourcery.com>
36256
36257 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36258 float.
36259 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36260 * sysdeps/sparc/bits/mathdef.h: Likewise.
36261
69db4f8f
MP
362622012-01-31 Marek Polacek <polacek@redhat.com>
36263
36264 * libio/libio.h: Don't define _PARAMS.
36265 * locale/programs/config.h: Don't define PARAMS.
36266 * stdlib/strtol_l.c: Likewise.
36267 (__strtol_l): Remove PARAMS from the prototype.
36268
41b81892
UD
362692012-01-31 Ulrich Drepper <drepper@gmail.com>
36270
3b49edc0
UD
36271 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36272 names. Just use the correct names. Remove unnecessary wrapper
36273 functions.
36274 * malloc/arena.c: Likewise.
36275 * malloc/hooks.c: Likewise.
36276
41b81892
UD
36277 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36278 ARENA_TEST says not to. Simplify test for creation of a new arena.
36279 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36280
27a25b6e
UD
362812012-01-30 Ulrich Drepper <drepper@gmail.com>
36282
36283 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36284 into tail calls.
36285 (update_get_addr): New function.
36286 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36287 GET_ADDR_MODULE parameter.
36288
c8a89e7d
JM
362892012-01-30 Joseph Myers <joseph@codesourcery.com>
36290
36291 * crypt/cert.c: Remove __STDC__ conditionals.
36292 * crypt/crypt-entry.c: Likewise.
36293 * crypt/crypt_util.c: Likewise.
36294 * libio/filedoalloc.c: Likewise.
36295 * libio/fileops.c: Likewise.
36296 * libio/genops.c: Likewise.
36297 * libio/iofclose.c: Likewise.
36298 * libio/iofdopen.c: Likewise.
36299 * libio/iofopen.c: Likewise.
36300 * libio/iofopen64.c: Likewise.
36301 * libio/iogetdelim.c: Likewise.
36302 * libio/iopopen.c: Likewise.
36303 * libio/obprintf.c: Likewise.
36304 * libio/oldfileops.c: Likewise.
36305 * libio/oldiofclose.c: Likewise.
36306 * libio/oldiofdopen.c: Likewise.
36307 * libio/oldiofopen.c: Likewise.
36308 * libio/oldiopopen.c: Likewise.
36309 * libio/wfiledoalloc.c: Likewise.
36310 * libio/wgenops.c: Likewise.
36311 * locale/programs/xmalloc.c: Likewise.
36312 * misc/syslog.c: Likewise.
36313 * stdio-common/xbug.c: Likewise.
36314 * string/memchr.c: Likewise.
36315 * string/memcmp.c: Likewise.
36316 * string/memrchr.c: Likewise.
36317 * string/rawmemchr.c: Likewise.
36318 * sysdeps/posix/getcwd.c: Likewise.
36319 * time/strftime_l.c: Likewise.
36320
3b100462
JM
363212012-01-30 Joseph Myers <joseph@codesourcery.com>
36322
36323 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
36324 * config.make.in (config-cflags-sse2avx): Define.
36325 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36326 Fix typo.
36327
607998af
CM
363282012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36329
36330 * scripts/config.guess: Update from upstream config git repository.
36331 * scripts/config.sub: Likewise.
36332
3601428f
CM
363332012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36334
3ac8b282
CM
36335 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36336 (EM_NUM): Update.
36337 (R_TILEPRO_*, R_TILEGX_*): New macros.
36338
e034841e
CM
36339 * scripts/firstversions.awk: Fix bug in version range handling.
36340
540d7568
CM
36341 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36342
3601428f
CM
36343 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36344
463de862
CM
36345 * include/sys/epoll.h: New file.
36346 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36347 libc_hidden_def.
36348
73139a76
UD
363492012-01-28 Ulrich Drepper <drepper@gmail.com>
36350
96bc5b45
UD
36351 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36352 Avoid unnecessary __WORDSIZE == 64 test.
36353 (fmaxf): Use VEX format if possible.
36354 (fmax): Likewise.
36355 (fminf): Likewise.
36356 (fmin): Likewise.
36357
56f6f6a2
UD
36358 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36359 * math/math_private.h: Remove libc_fegetround* and
36360 libc_fesetround*.
36361 * sysdeps/i386/configure.in: Check for -msse2avx.
36362 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36363 also if SSE2AVX is defined.
36364 Remove libc_fegetround* and libc_fesetround*.
36365 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36366 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36367 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36368 of HAS_YMM_USABLE.
36369 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36370 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36371 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36372 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36373 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36374
73139a76
UD
36375 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36376
d73f93a4
AZ
363772012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36378
36379 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36380 size is not set.
36381 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36382
6ee65ed6
UD
363832012-01-27 Ulrich Drepper <drepper@gmail.com>
36384
36385 [BZ #13618]
36386 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36387 relocation.
36388 * Makeconfig (libm): Define.
36389 * elf/Makefile: Add rules to build and run tst-relsort1.
36390 * elf/tst-relsort1.c: New file.
36391 * elf/tst-relsort1mod1.c: New file.
36392 * elf/tst-relsort1mod2.c: New file.
36393
8db21882
JM
363942012-01-27 Joseph Myers <joseph@codesourcery.com>
36395
36396 * math/s_ldexp.c: Remove __STDC__ conditionals.
36397 * math/s_ldexpf.c: Likewise.
36398 * math/s_ldexpl.c: Likewise.
36399 * math/s_nextafter.c: Likewise.
36400 * math/s_nexttowardf.c: Likewise.
36401 * math/s_significand.c: Likewise.
36402 * math/s_significandf.c: Likewise.
36403 * math/s_significandl.c: Likewise.
36404 * math/w_jnl.c: Likewise.
36405 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36406 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36407 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36408 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36409 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36410 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36411 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36412 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36413 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36414 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36415 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36416 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36417 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36418 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36419 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36420 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36421 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36422 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36423 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36424 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36425 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36426 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36427 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36428 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36429 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36430 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36431 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36432 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36433 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36434 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36435 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36436 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36437 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36438 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36439 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36440 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36441 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36442 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36443 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36444 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36445 * sysdeps/ieee754/k_standard.c: Likewise.
36446 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36447 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36448 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36449 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36450 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36451 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36452 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36453 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36454 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36455 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36456 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36457 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36458 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36459 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36460 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36461 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36462 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36463 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36464 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36465 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36466 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36467 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36468 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36469 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36470 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36471 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36472 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36473 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36475 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36476 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36477 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36478 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36479 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36480 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36481 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36482 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36483 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36484 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36485 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36486 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36488 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36489 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36490 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36491 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36492 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36493 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36494 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36495 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36496 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36499 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36500 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36501 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36502 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36503 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36504 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36505 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36506 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36507 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36508 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36509 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36510 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36511 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36512 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36513 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36514 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36515 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36516 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36517 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36518 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36519 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36520 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36521 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36522 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36523 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36524 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36525 * sysdeps/ieee754/s_matherr.c: Likewise.
36526 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36527 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36528 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36529 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36530
965a54a4
JM
365312012-01-26 Joseph Myers <joseph@codesourcery.com>
36532
36533 * crypt/md5.h: Remove __STDC__ conditionals.
36534 * libio/libioP.h: Likewise.
36535 * locale/programs/config.h: Likewise.
36536 * sysdeps/generic/sysdep.h: Likewise.
36537 * sysdeps/i386/asm-syntax.h: Likewise.
36538 * sysdeps/s390/asm-syntax.h: Likewise.
36539 * sysdeps/unix/sysdep.h: Likewise.
36540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36542
7071ad79
JM
365432012-01-26 Joseph Myers <joseph@codesourcery.com>
36544
36545 * libio/libio.h: Remove __STDC__ conditionals.
36546 * malloc/obstack.h: Likewise.
36547 * math/complex.h: Likewise.
36548 * math/math.h: Likewise.
36549 * sysdeps/generic/_G_config.h: Likewise.
36550 * sysdeps/gnu/_G_config.h: Likewise.
36551 * sysdeps/mach/hurd/_G_config.h: Likewise.
36552 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36553 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36554 * sysdeps/sparc/bits/mathdef.h: Likewise.
36555
afc5ed09
UD
365562012-01-26 Ulrich Drepper <drepper@gmail.com>
36557
36558 [BZ #13583]
36559 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36560 Clean up HAS_* macros.
afc5ed09 36561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36562 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36563 possible.
36564 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36565 HAS_AVX.
36566 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36567 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36568 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36569 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36570 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36571
bdb6de1d
JM
365722012-01-25 Joseph Myers <joseph@codesourcery.com>
36573
36574 * elf/tst-unique3.cc (gets): Remove declaration.
36575 * elf/tst-unique3lib.cc (gets): Likewise.
36576 * elf/tst-unique3lib2.cc (gets): Likewise.
36577 * elf/tst-unique4.cc (gets): Likewise.
36578
b15549e6
UD
365792012-01-24 Ulrich Drepper <drepper@gmail.com>
36580
36581 * include/stdio.h: Add C++ protection. Add gets declarations and
36582 definitions.
36583 * debug/tst-chk1.c: Don't declare gets here.
36584 * stdio-common/tst-gets.c: Likewise.
36585
a037381f
JM
365862012-01-24 Joseph Myers <joseph@codesourcery.com>
36587
36588 * posix/glob: Remove directory.
36589
f1d4aa75
JM
365902012-01-24 Joseph Myers <joseph@codesourcery.com>
36591
36592 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36593
81c0c964
PT
365942012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36595
36596 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36597 of the non-standard EPFNOSUPPORT.
36598
0ea698ae
ST
365992011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36600
36601 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36602 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36603 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36604
d220b117
UD
366052012-01-21 Ulrich Drepper <drepper@gmail.com>
36606
36607 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36608
3e1aa84e
UD
366092012-01-20 Ulrich Drepper <drepper@gmail.com>
36610
36611 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36612 transient errors.
36613 * nscd/grpcache.c (cache_addgr): Likewise.
36614 * nscd/hstcache.c (cache_addhst): Likewise.
36615 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36616 * nscd/pwdcache.c (cache_addpw): Likewise.
36617 * nscd/servicescache.c (cache_addserv): Likewise.
36618
400aa020
UD
366192012-01-16 Ulrich Drepper <drepper@gmail.com>
36620
d77e7869
UD
36621 * malloc/malloc.c: Various cleanups.
36622 * malloc/hooks.c: Likewise.
36623
400aa020
UD
36624 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36625 * stdlib/bug-fmtmsg1.c: New file.
36626
36627 * stdlib/fmtmsg.c (init): Add missing unlock.
36628 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36629
e0a309cf
MP
366302012-01-12 Marek Polacek <polacek@redhat.com>
36631
36632 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36633 and _GNU_SOURCE.
36634
929d11c7
WS
366352012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36636
36637 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36638 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36639 macro to ensure uniqueness of label name.
36640 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36641 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36642
41d0e869
UD
366432012-01-11 Ulrich Drepper <drepper@gmail.com>
36644
0cc5ed3b
UD
36645 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36646
41d0e869
UD
36647 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36648 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36649 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36651
a47a831a
UD
366522012-01-10 Ulrich Drepper <drepper@gmail.com>
36653
daa891c0
UD
36654 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36655
36656 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36657 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36658 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36659
e58ef0f2
UD
36660 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36661
a47a831a 36662 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36663 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36664 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36665 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36666
36667 * math/bits/math-finite.h: Add ldexp support.
36668
a0bfc9c7
MP
366692012-01-10 Marek Polacek <polacek@redhat.com>
36670
36671 * locale/programs/localedef.h (show_archive_content): Add noreturn
36672 attribute.
36673
d6e97a1d
UD
366742012-01-09 Ulrich Drepper <drepper@gmail.com>
36675
36676 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36677
d5835c26
UD
366782012-01-08 Ulrich Drepper <drepper@gmail.com>
36679
e5f484c6
UD
36680 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36681
d5835c26
UD
36682 * io/Makefile (headers): Add bits/poll2.h.
36683
d1f741e9
WS
366842011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36685
36686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36687 typo #include statement.
36688
ec09c1c4
UD
366892012-01-08 Ulrich Drepper <drepper@gmail.com>
36690
36691 * include/sys/cdefs.h: Define __attribute_alloc_size.
36692 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36693 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36694 * elf/pldd.c: Likewise.
36695 * iconv/iconv_charmap.c: Likewise.
36696 * iconv/iconvconfig.c: Likewise.
36697 * iconv/strtab.c: Likewise.
36698 * locale/programs/locale.c: Likewise.
36699 * locale/programs/localedef.h: Likewise.
36700 * locale/programs/simple-hash.c: Likewise.
36701 * nscd/nscd.h: Likewise.
36702 * nss/makedb.c: Likewise.
36703 * sysdeps/generic/ldconfig.h: Likewise.
36704 * locale/programs/localedef.c: Remove xmalloc prototype.
36705 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36706
20b38e03
PP
367072012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36708
36709 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36710 appropriate.
36711
a0da5fe1
UD
367122012-01-08 Ulrich Drepper <drepper@gmail.com>
36713
1d5a644a 36714 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36715 * math/tst-CMPLX.c: New file.
1d5a644a 36716
8784a6db
UD
36717 * math/complex.h (CMPLXL): Fix typo.
36718
d9a216c0
UD
36719 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36720 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36721 GLIBC_2.16.
36722 * debug/tst-chk1.c: Add poll and ppoll tests.
36723 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36724 * include/sys/poll.h: Add hidden proto for ppoll.
36725 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36726 * sysdeps/mach/hurd/ppoll.c: Likewise.
36727 * io/ppoll.c: Likewise.
36728 * debug/poll_chk.c: New file.
36729 * debug/ppoll_chk.c: New file.
36730 * include/bits/poll2.h: New file.
36731 * io/bits/poll2.h: New file.
36732
ac097f5c
UD
36733 [BZ #1350]
36734 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36735
2119dcfa
UD
36736 * configure.in: static is always set to yes. Remove.
36737 * config.make.in: Don't set build-static.
36738 * Makeconfig: Remove use of build-static.
36739 * dlfcn/Makefile: Likewise.
36740 * elf/Makefile: Likewise.
36741 * math/Makefile: Likewise.
36742 * misc/Makefile: Likewise.
36743 * nptl/Makefile: Likewise.
36744 * sysdeps/mach/hurd/Makefile: Likewise.
36745
121766a9
UD
36746 * configure.in: PWD_P is not used anymore.
36747 * config.make.in: Remove PWD_P entry.
36748
51a1d39c 36749 * configure.in: Remove last remnants of RANLIB.
8720d066 36750 No need to check for signed size_t anymore.
215f4bdc
UD
36751 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36752 and IA-64.
3857022a 36753 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36754 * aclocal.m4: Likewise.
36755
d3ed7225
UD
36756 * wcsmbs/mbrtoc16.c: Implement using towc function.
36757 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36758 * wcsmbs/wcsmbsload.c: Likewise.
36759 * iconv/gconv_simple.c: Likewise.
36760 * iconv/gconv_int.h: Likewise.
36761 * iconv/gconv_builtin.h: Likewise.
36762 * iconv/iconv_prog.c: Remove CHAR16 handling.
36763
36764 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36765
36766 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36767
a0da5fe1
UD
36768 * configure.in: Remove --with-elf and --enable-bounded options.
36769 Dont set base_machine for ia64. More non-ELF conditions removed.
36770 Remove testing and setting of leading underscore information.
36771 * config.make.in (build-bounded): Set to no.
36772 * config.h.in: Remove NO_UNDERSCORES entry.
36773 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36774 them.
36775 * csu/start.c: Remove !NO_UNDERSCORE code.
36776 * locale/localeinfo.h: Likewise.
36777 * sysdeps/generic/machine-gmon.h: Likewise.
36778 * sysdeps/generic/sysdep.h: Likewise.
36779 * sysdeps/i386/sysdep.h: Likewise.
36780 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36781 * sysdeps/mach/sysdep.h: Likewise.
36782 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36783 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36784 * sysdeps/sh/sysdep.h: Likewise.
36785 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36786 * sysdeps/unix/i386/sysdep.S: Likewise.
36787 * sysdeps/unix/sparc/start.c: Likewise.
36788 * sysdeps/unix/sparc/sysdep.S: Likewise.
36789 * sysdeps/unix/sparc/sysdep.h: Likewise.
36790 * sysdeps/unix/start.c: Likewise.
36791 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36792 * sysdeps/x86_64/sysdep.h: Likewise.
36793
df78418a
UD
367942012-01-07 Ulrich Drepper <drepper@gmail.com>
36795
a784e502
UD
36796 [BZ #13553]
36797 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36798 for non-gcc.
36799 * argp/argp-fmtstream.h: Use const instead __const.
36800 * argp/argp.h: Likewise.
36801 * assert/assert.h: Likewise.
36802 * bits/fenv.h: Likewise.
36803 * bits/sched.h: Likewise.
36804 * bits/sigset.h: Likewise.
36805 * bits/sigthread.h: Likewise.
36806 * catgets/nl_types.h: Likewise.
36807 * conform/data/pthread.h-data: Likewise.
36808 * crypt/crypt-private.h: Likewise.
36809 * crypt/crypt.h: Likewise.
36810 * crypt/crypt_util.c: Likewise.
36811 * ctype/ctype.h: Likewise.
36812 * debug/execinfo.h: Likewise.
36813 * debug/mbsnrtowcs_chk.c: Likewise.
36814 * debug/mbsrtowcs_chk.c: Likewise.
36815 * debug/wcsnrtombs_chk.c: Likewise.
36816 * debug/wcsrtombs_chk.c: Likewise.
36817 * debug/wcstombs_chk.c: Likewise.
36818 * dirent/dirent.h: Likewise.
36819 * dlfcn/dlfcn.h: Likewise.
36820 * elf/neededtest4.c: Likewise.
36821 * grp/grp.h: Likewise.
36822 * gshadow/gshadow.h: Likewise.
36823 * iconv/gconv.h: Likewise.
36824 * iconv/gconv_int.h: Likewise.
36825 * iconv/gconv_simple.c: Likewise.
36826 * iconv/iconv.h: Likewise.
36827 * iconv/loop.c: Likewise.
36828 * iconv/skeleton.c: Likewise.
36829 * include/aio.h: Likewise.
36830 * include/aliases.h: Likewise.
36831 * include/argz.h: Likewise.
36832 * include/arpa/inet.h: Likewise.
36833 * include/assert.h: Likewise.
36834 * include/dirent.h: Likewise.
36835 * include/dlfcn.h: Likewise.
36836 * include/execinfo.h: Likewise.
36837 * include/fcntl.h: Likewise.
36838 * include/fenv.h: Likewise.
36839 * include/glob.h: Likewise.
36840 * include/grp.h: Likewise.
36841 * include/libintl.h: Likewise.
36842 * include/mntent.h: Likewise.
36843 * include/netdb.h: Likewise.
36844 * include/pwd.h: Likewise.
36845 * include/rpc/netdb.h: Likewise.
36846 * include/sched.h: Likewise.
36847 * include/search.h: Likewise.
36848 * include/shadow.h: Likewise.
36849 * include/signal.h: Likewise.
36850 * include/stdio.h: Likewise.
36851 * include/stdlib.h: Likewise.
36852 * include/string.h: Likewise.
36853 * include/sys/socket.h: Likewise.
36854 * include/sys/stat.h: Likewise.
36855 * include/sys/statfs.h: Likewise.
36856 * include/sys/statvfs.h: Likewise.
36857 * include/sys/syslog.h: Likewise.
36858 * include/sys/time.h: Likewise.
36859 * include/sys/uio.h: Likewise.
36860 * include/time.h: Likewise.
36861 * include/unistd.h: Likewise.
36862 * include/utmp.h: Likewise.
36863 * include/wchar.h: Likewise.
36864 * include/wctype.h: Likewise.
36865 * inet/aliases.h: Likewise.
36866 * inet/arpa/inet.h: Likewise.
36867 * inet/netinet/ether.h: Likewise.
36868 * inet/netinet/in.h: Likewise.
36869 * intl/libintl.h: Likewise.
36870 * io/bits/fcntl2.h: Likewise.
36871 * io/fcntl.h: Likewise.
36872 * io/ftw.h: Likewise.
36873 * io/sys/poll.h: Likewise.
36874 * io/sys/stat.h: Likewise.
36875 * io/sys/statfs.h: Likewise.
36876 * io/sys/statvfs.h: Likewise.
36877 * io/utime.h: Likewise.
36878 * libio/bits/stdio.h: Likewise.
36879 * libio/bits/stdio2.h: Likewise.
36880 * libio/libio.h: Likewise.
36881 * libio/libioP.h: Likewise.
36882 * libio/stdio.h: Likewise.
36883 * locale/lc-ctype.c: Likewise.
36884 * locale/locale.h: Likewise.
36885 * login/utmp.h: Likewise.
36886 * malloc/arena.c: Likewise.
36887 * malloc/malloc.c: Likewise.
36888 * malloc/malloc.h: Likewise.
36889 * malloc/mcheck.c: Likewise.
36890 * malloc/mtrace.c: Likewise.
36891 * math/bits/mathcalls.h: Likewise.
36892 * math/fenv.h: Likewise.
36893 * math/math_private.h: Likewise.
36894 * misc/bits/error.h: Likewise.
36895 * misc/bits/syslog.h: Likewise.
36896 * misc/err.h: Likewise.
36897 * misc/error.h: Likewise.
36898 * misc/fstab.h: Likewise.
36899 * misc/mntent.h: Likewise.
36900 * misc/regexp.h: Likewise.
36901 * misc/search.h: Likewise.
36902 * misc/sgtty.h: Likewise.
36903 * misc/sys/mman.h: Likewise.
36904 * misc/sys/syslog.h: Likewise.
36905 * misc/sys/uio.h: Likewise.
36906 * misc/sys/xattr.h: Likewise.
36907 * misc/ttyent.h: Likewise.
36908 * nis/rpcsvc/ypclnt.h: Likewise.
36909 * nss/nss.h: Likewise.
36910 * posix/bits/unistd.h: Likewise.
36911 * posix/fnmatch.h: Likewise.
36912 * posix/glob.h: Likewise.
36913 * posix/sched.h: Likewise.
36914 * posix/spawn.h: Likewise.
36915 * posix/sys/wait.h: Likewise.
36916 * posix/unistd.h: Likewise.
36917 * posix/wordexp.h: Likewise.
36918 * pwd/pwd.h: Likewise.
36919 * resolv/netdb.h: Likewise.
36920 * resource/sys/resource.h: Likewise.
36921 * rt/aio.h: Likewise.
36922 * rt/bits/mqueue2.h: Likewise.
36923 * rt/mqueue.h: Likewise.
36924 * shadow/shadow.h: Likewise.
36925 * signal/signal.h: Likewise.
36926 * socket/send.c: Likewise.
36927 * socket/sendto.c: Likewise.
36928 * socket/sys/socket.h: Likewise.
36929 * stdio-common/printf.h: Likewise.
36930 * stdlib/bits/stdlib.h: Likewise.
36931 * stdlib/fmtmsg.h: Likewise.
36932 * stdlib/monetary.h: Likewise.
36933 * stdlib/stdlib.h: Likewise.
36934 * stdlib/ucontext.h: Likewise.
36935 * streams/stropts.h: Likewise.
36936 * string/argz.h: Likewise.
36937 * string/bits/string2.h: Likewise.
36938 * string/string.h: Likewise.
36939 * string/strings.h: Likewise.
36940 * sunrpc/rpc/auth.h: Likewise.
36941 * sunrpc/rpc/auth_des.h: Likewise.
36942 * sunrpc/rpc/clnt.h: Likewise.
36943 * sunrpc/rpc/netdb.h: Likewise.
36944 * sunrpc/rpc/pmap_clnt.h: Likewise.
36945 * sunrpc/rpc/xdr.h: Likewise.
36946 * sysdeps/generic/inttypes.h: Likewise.
36947 * sysdeps/generic/net/if.h: Likewise.
36948 * sysdeps/generic/sys/swap.h: Likewise.
36949 * sysdeps/gnu/net/if.h: Likewise.
36950 * sysdeps/gnu/utmpx.h: Likewise.
36951 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36952 * sysdeps/i386/i486/bits/string.h: Likewise.
36953 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36954 * sysdeps/s390/bits/string.h: Likewise.
36955 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36956 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36957 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36958 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36959 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36960 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36961 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36962 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36963 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36964 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36965 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36966 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36967 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36968 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36969 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36970 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36971 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36973 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36974 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36975 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36976 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36977 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36978 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36979 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36980 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36981 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36982 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36983 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36984 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36985 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36986 * sysvipc/sys/ipc.h: Likewise.
36987 * sysvipc/sys/msg.h: Likewise.
36988 * sysvipc/sys/sem.h: Likewise.
36989 * sysvipc/sys/shm.h: Likewise.
36990 * termios/termios.h: Likewise.
36991 * time/sys/time.h: Likewise.
36992 * time/time.h: Likewise.
36993 * wcsmbs/bits/wchar2.h: Likewise.
36994 * wcsmbs/uchar.h: Likewise.
36995 * wcsmbs/wchar.h: Likewise.
36996 * wctype/wctype.h: Likewise.
36997
0269750c
UD
36998 [BZ #13551]
36999 * Makeconfig: Remove all but ELF support including AIX support.
37000 * Makerules: Likewise.
37001 * config.h.in: Likewise.
37002 * config.make.in: Likewise.
37003 * configure: Likewise.
37004 * configure.in: Likewise.
37005 * csu/Makefile: Likewise.
37006 * csu/version.c: Likewise.
37007 * debug/Makefile: Likewise.
37008 * dlfcn/Makefile: Likewise.
37009 * elf/Makefile: Likewise.
37010 * extra-lib.mk: Likewise.
37011 * iconv/Makefile: Likewise.
37012 * include/libc-symbols.h: Likewise.
37013 * include/shlib-compat.h: Likewise.
37014 * resolv/Makefile: Likewise.
37015 * resolv/res_libc.c: Likewise.
37016 * rt/Makefile: Likewise.
37017 * sysdeps/i386/asm-syntax.h: Likewise.
37018 * sysdeps/i386/sysdep.h: Likewise.
37019 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37020 * sysdeps/mach/sysdep.h: Likewise.
37021 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37022 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37023 * sysdeps/s390/asm-syntax.h: Likewise.
37024 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37025 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37026 * sysdeps/sh/sysdep.h: Likewise.
37027 * sysdeps/unix/sparc/sysdep.h: Likewise.
37028 * sysdeps/wordsize-32/divdi3.c: Likewise.
37029 * sysdeps/x86_64/sysdep.h: Likewise.
37030
00bbd29b
UD
37031 * argp/Versions: Remove _argp_unlock_xxx.
37032
37033 [BZ #13559]
37034 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37035 * abilist/libBrokenLocale.abilist: Likewise.
37036 * abilist/libanl.abilist: Likewise.
37037 * abilist/libc.abilist: Likewise.
37038 * abilist/libcrypt.abilist: Likewise.
37039 * abilist/libdl.abilist: Likewise.
37040 * abilist/libm.abilist: Likewise.
37041 * abilist/libnsl.abilist: Likewise.
37042 * abilist/libpthread.abilist: Likewise.
37043 * abilist/libresolv.abilist: Likewise.
37044 * abilist/librt.abilist: Likewise.
37045 * abilist/libthread_db.abilist: Likewise.
37046 * abilist/libutil.abilist: Likewise.
37047 * abilist/libnss_db.abilist: New file.
37048
37049 * scripts/abilist.awk: Add support for indirect functions.
37050
a2693a0e
UD
37051 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37052
3f05895f
UD
37053 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37054
ecb6fb48
UD
37055 * shlib-versions: Remove entries for ports architectures.
37056
664f8cb9
UD
37057 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37058 files in ports.
37059 * elf/stackguard-macros.h: Remove support for IA-64.
37060 * elf/tst-auditmod1.c: Likewise.
37061 * sysdeps/generic/ldsodefs.h: Likewise.
37062
7ae81d88
UD
37063 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37064 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37065 configure files.
37066
bdeba135
UD
37067 [BZ #13552]
37068 * configure.in: Remove --enable-omitfp support.
37069 * FAQ.in: Adjust.
37070 * config.make.in: Likewise.
37071 * Makeconfig: Likewise.
37072 * manual/install.texi: Likewise.
37073
d75a0a62
UD
37074 In case anyone cares, the IA-64 architecture could move to ports.
37075 * sysdeps/ia64/*: Removed.
37076 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37077 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37078
dcc9756b
UD
37079 [BZ #13555]
37080 * configure.in: Remove entries for unsupported architectures.
37081
d3761ebc 37082 [BZ #13533]
9954432e
UD
37083 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37084 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37085 routines.
37086 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37087 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37088 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37089 fall back to using wcrtomb.
37090 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37091 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37092 renaming.
37093 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37094 * wcsmbs/tst-c16c32-1.c: New file.
37095
37096 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37097 local variable.
37098
c3a87236
UD
37099 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37100
28926a1b
UD
37101 * elf/tst-unique3.cc: Add explicit declaration of gets.
37102 * elf/tst-unique3lib.cc: Likewise.
37103 * elf/tst-unique3lib2.cc: Likewise.
37104 * elf/tst-unique4.cc: Likewise.
37105
df78418a
UD
37106 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37107
8ecd6b2a
JM
371082012-01-06 Joseph Myers <joseph@codesourcery.com>
37109
37110 [BZ #13566]
37111 * assert/assert.h (static_assert): Don't define for C++.
37112 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37113 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37114
9f115170
UD
371152012-01-03 Ulrich Drepper <drepper@gmail.com>
37116
5e0d0300
UD
37117 * iconv/loop.c (single loop): Fix assertion in storing of
37118 remaining bytes.
37119
9f115170
UD
37120 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37121
81fb02b0
UD
371222012-01-01 Ulrich Drepper <drepper@gmail.com>
37123
37124 * posix/getconf.c: Update copyright year.
37125 * nss/getent.c: Likewise.
a316c1f6 37126 * nss/makedb.c: Likewise.
81fb02b0
UD
37127 * iconv/iconvconfig.c: Likewise.
37128 * iconv/iconv_prog.c: Likewise.
37129 * elf/ldconfig.c: Likewise.
a316c1f6
UD
37130 * elf/pldd.c: Likewise.
37131 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
37132 * catgets/gencat.c: Likewise.
37133 * csu/version.c: Likewise.
37134 * elf/ldd.bash.in: Likewise.
37135 * elf/sprof.c (print_version): Likewise.
37136 * locale/programs/locale.c: Likewise.
37137 * locale/programs/localedef.c: Likewise.
a316c1f6 37138 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
37139 * nscd/nscd.c (print_version): Likewise.
37140 * debug/xtrace.sh: Likewise.
37141 * malloc/memusage.sh: Likewise.
37142 * malloc/mtrace.pl: Likewise.
37143 * debug/catchsegv.sh: Likewise.
37144
2ba92745
JJ
371452011-12-30 Jakub Jelinek <jakub@redhat.com>
37146
37147 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37148 pure attribute.
37149
dadebdae
UD
371502011-12-24 Ulrich Drepper <drepper@gmail.com>
37151
d3761ebc 37152 [BZ #13533]
db6af3eb
UD
37153 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37154 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37155 transformations.
37156 * iconv/gconv_int.h: Likewise.
37157 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37158 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37159 from libc for GLIBC_2.16.
37160 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37161 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37162 * wcsmbs/uchar.h: Really define mbstate_t.
37163 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37164 * wcsmbs/c16rtomb.c: New file.
37165 * wcsmbs/mbrtoc16.c: New file.
37166 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37167 for C/POSIX locale.
37168 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37169 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37170
dadebdae
UD
37171 * wcsmbs/wchar.h: Add missing __restrict.
37172
67371b56
UD
371732011-12-23 Ulrich Drepper <drepper@gmail.com>
37174
74033a25
UD
37175 [BZ #13532]
37176 * time/Makefile (routines): Add timespec_get.
37177 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37178 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37179 timespec for ISO C11.
37180 * time/timespec_get.c: New file.
37181 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37182 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37183
380d7e87
UD
37184 [BZ #13531]
37185 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37186 * stdlib/stdlib.h: Declare aligned_alloc.
37187 * Versions.def: Add GLIBC_2.16 for libc.
37188 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37189
4e9e7a35
UD
37190 [BZ 13527]
37191 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37192 ISO C11.
37193
380d7e87 37194 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
37195 code.
37196
03a71829
UD
37197 [BZ #13528]
37198 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37199
839e283e
UD
37200 [BZ #13529]
37201 * assert/assert.h (static_assert): Define.
37202
ce5294e2 37203 * version.h: Update for 2.16 development version.
90fa7312 37204
8d44e150 37205 [BZ #13526]
d7809905
UD
37206 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37207 _ISOC11_SOURCE.
37208
c0da14cd
UD
37209 * version.h (RELEASE): Bump for 2.15 release.
37210 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37211
530a3249
MP
37212 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37213 Patch by Marek Polacek <mpolacek@redhat.com>.
37214
67371b56
UD
37215 * bits/byteswap.h: Protect long long constants with __extension__.
37216 * sysdeps/i386/bits/byteswap.h: Likewise.
37217 * sysdeps/ia64/bits/byteswap.h: Likewise.
37218 * sysdeps/s390/bits/byteswap.h: Likewise.
37219 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37220
15db4de1
LD
372212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37222
37223 [BZ #13540]
bbe315ea
LD
37224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37225 destination buffer.
15db4de1
LD
37226 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37227
2b2596b1
MP
372282011-12-23 Marek Polacek <polacek@redhat.com>
37229
37230 * elf/dl-addr.c (determine_info): Add inline keyword.
37231 * elf/tst-auditmod4b.c (check_avx): Likewise.
37232 * elf/tst-auditmod6b.c (check_avx): Likewise.
37233 * elf/tst-auditmod6c.c (check_avx): Likewise.
37234 * elf/tst-auditmod7b.c (check_avx): Likewise.
37235
70c6c246
UD
372362011-12-23 Ulrich Drepper <drepper@gmail.com>
37237
37238 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37239 !__SSE_MATH__.
37240
c044cf14
LD
372412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37242
15db4de1 37243 [BZ #13540]
c044cf14
LD
37244 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37245 processing for last bytes.
37246
6b13d9d9
BH
372472011-08-06 Bruno Haible <bruno@clisp.org>
37248
d455f537
BH
37249 [BZ #13061]
37250 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37251 U+0385, not to U+1FEE.
37252
6b13d9d9
BH
37253 [BZ #13062]
37254 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37255 entry for U+00A5 U+0301.
37256
db910efd
UD
372572011-12-22 Ulrich Drepper <drepper@gmail.com>
37258
27deeafc
UD
37259 [BZ #13166]
37260 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37261 buffer for the output is too small.
37262
aed9d171
UD
37263 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37264 optimization.
37265
db910efd
UD
37266 [BZ #13185]
37267 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37268 SSE flags if possible.
37269
2bd779ae
LD
372702011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37271
e7f9dac3 37272 [BZ #13540]
2bd779ae
LD
37273 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37274 processing for last bytes.
37275
154bfc16
JM
372762011-12-22 Joseph Myers <joseph@codesourcery.com>
37277
37278 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37279 (syscall-list-default-options, syscall-list-default-condition)
37280 (syscall-list-includes): Define.
37281 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37282 list of ABIs and options and #if conditions for each ABI. Do not
37283 handle common syscalls between ABIs specially.
37284 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37285 Remove.
37286 (syscall-list-variants, syscall-list-32bit-options)
37287 (syscall-list-32bit-condition, syscall-list-64bit-options)
37288 (syscall-list-64bit-condition): Define.
37289 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37290 (syscall-list-variants, syscall-list-32bit-options)
37291 (syscall-list-32bit-condition, syscall-list-64bit-options)
37292 (syscall-list-64bit-condition): Define.
37293 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37294 Remove.
37295 (syscall-list-variants, syscall-list-32bit-options)
37296 (syscall-list-32bit-condition, syscall-list-64bit-options)
37297 (syscall-list-64bit-condition): Define.
37298 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37299 Remove.
37300 (syscall-list-variants, syscall-list-32bit-options)
37301 (syscall-list-32bit-condition, syscall-list-64bit-options)
37302 (syscall-list-64bit-condition): Define.
37303
21eaf3a5
UD
373042011-12-22 Ulrich Drepper <drepper@gmail.com>
37305
16c6f992
UD
37306 * locale/iso-639.def: Add brx entry.
37307
41043168
UD
37308 [BZ #13328]
37309 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37310 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37311
21eaf3a5
UD
37312 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37313 __feraiseexcept_renamed.
37314
e3a851a2
UD
373152011-12-21 Ulrich Drepper <drepper@gmail.com>
37316
4920765e
UD
37317 [BZ #13538]
37318 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37319 EPOLLET with unsigned values.
37320 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37321 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37322
e3a851a2
UD
37323 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37324 to large cancellation.
37325 * math/s_cacoshf.c: Likewise.
37326 * math/s_cacoshl.c: Likewise.
37327
b27e24b8
RK
373282011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37329
37330 [BZ #13305]
aebefeee 37331 [BZ #12786]
b27e24b8
RK
37332 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37333 * math/s_cacoshf.c: Likewise.
37334 * math/s_cacoshl.c: Likewise.
37335
ee190f67
UD
373362011-12-21 Ulrich Drepper <drepper@gmail.com>
37337
37338 [BZ #13439]
37339 * iconv/gconv.h: Define __GCONV_SWAP.
37340 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37341 * iconvdata/utf-16.c: Likewise.
37342 * iconvdata/utf-32.c: Likewise.
37343
707f25df
AS
373442011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37345
37346 [BZ #13524]
37347 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37348 numerator after shifting it by one limb.
37349
d2daaa1e
RÁE
373502011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37351
37352 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37353 under [__USE_EXTERN_INLINES].
37354
a4647e72
UD
373552011-12-17 Ulrich Drepper <drepper@gmail.com>
37356
37357 [BZ #13446]
37358 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37359
f0b264f1
AZ
373602011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37361
37362 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37363 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37364 optimized code.
37365 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37366 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37367 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37368 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37369 for strncasecmp/strncasecmp_l compilation.
37370 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37371 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37372
8ef4f244
MP
373732011-12-08 Marek Polacek <mpolacek@redhat.com>
37374
37375 [BZ #13484]
37376 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37377 of __asm__.
37378
97ac2654
UD
373792011-12-17 Ulrich Drepper <drepper@gmail.com>
37380
37381 [BZ #13506]
37382 * time/tzfile.c (__tzfile_read): Check values from file header.
37383
91d2a845
WS
373842011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37385
37386 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37387 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37388 * powerpc/powerpc32/dl-start.S: Likewise.
37389 * powerpc/powerpc32/elf/start.S: Likewise.
37390 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37391 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37392 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37393 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37394 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37395 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37396 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37397 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37398 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37399 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37400 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37401 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37402 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37403 * powerpc/powerpc32/memset.S: Likewise.
37404 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37405 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37406 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37407 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37408 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37409 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37410 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37411 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37412 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37413 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37414 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37415 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37416 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37417
a1267ba1
AZ
374182011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37419
37420 * math/libm-test.inc: Added more nearbyint tests.
37421 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37422 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37423 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37424 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37425
ad8ac1bd
RL
374262011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37427
37428 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37429 FD_CLOEXEC.
37430
1d3e4b61
UD
374312011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37432
37433 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37434 Add wcscpy-ssse3 wcscpy-c.
37435 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37436 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37437 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37438 * sysdeps/x86_64/wcschr.S: New file.
37439 * sysdeps/x86_64/wcsrchr.S: New file.
37440 * string/test-strcmp.c: Remove checking of wcscmp function for
37441 wrong alignments.
37442 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37443 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37444 wcsrchr-sse2 wcsrchr-c.
37445 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37446 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37447 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37448 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37449 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37450 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37451 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37452 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37453 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37454 * wcsmbc/wcschr.c (WCSCHR): New macro.
37455
5b330a2d
UD
374562011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37457
37458 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37459 * wcsmbs/test-wcsrchr.c: New file.
37460 * string/test-strrchr.c: Add wcsrchr support.
37461 (WIDE): New macro.
37462 * wcsmbs/test-wcscpy.c: New file.
37463 * string/test-strcpy.c: Add wcscpy support.
37464 (WIDE): New macro.
26428b7c 37465
f039c043
UD
374662011-12-10 Ulrich Drepper <drepper@gmail.com>
37467
37468 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37469 the inner loop.
37470
850fb039
AS
374712011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37472
37473 [BZ #13472]
37474 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37475
4efbd5cb
UD
374762011-12-04 Ulrich Drepper <drepper@gmail.com>
37477
52ff5dd0 37478 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37479 Minor optimizations.
52ff5dd0 37480
4efbd5cb
UD
37481 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37482 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37483 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37484
8a426e12
UD
374852011-12-03 Ulrich Drepper <drepper@gmail.com>
37486
aff2453d
UD
37487 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37488 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37489 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37490 for gcc to avoid warnings.
37491 * inet/Makefile (tests): Add tst-checks.
37492 * inet/tst-checks.c: New file.
37493
37494 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37495 warning.
37496
37497 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37498 __wmemcmp_sse2.
37499
37500 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37501 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37502
8a426e12
UD
37503 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37504
9bea3473
UD
375052011-12-02 Ulrich Drepper <drepper@gmail.com>
37506
3a965496
UD
37507 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37508 problem.
37509
9bea3473
UD
37510 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37511
f101631b
UD
375122011-11-29 Joseph Myers <joseph@codesourcery.com>
37513
37514 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37515 conditional on GCC version.
37516 (__arch_compare_and_exchange_val_8_acq)
37517 (__arch_compare_and_exchange_val_16_acq)
37518 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37519 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37520 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37521
a98275aa
UD
375222011-12-02 Joseph Myers <joseph@codesourcery.com>
37523
37524 * sysdeps/sh/backtrace.c: New file.
37525
d4cc29a2
AS
375262011-12-02 Andreas Schwab <schwab@redhat.com>
37527
37528 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37529 parenthesis.
37530
6257af2d
AS
375312011-12-01 Andreas Schwab <schwab@redhat.com>
37532
37533 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37534 falling back to utime.
37535
b5f44c1a
AS
375362011-11-30 Andreas Schwab <schwab@redhat.com>
37537
37538 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37539 expectations for float.
37540
f3a6cc0a
AS
375412011-11-29 Andreas Schwab <schwab@redhat.com>
37542
37543 * locale/weight.h (findidx): Add parameter len.
37544 * locale/weightwc.h (findidx): Likewise.
37545 * posix/fnmatch_loop.c (FCT): Adjust caller.
37546 * posix/regcomp.c (build_equiv_class): Likewise.
37547 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37548 * posix/regexec.c (check_node_accept_bytes): Likewise.
37549 * string/strcoll_l.c (STRCOLL): Likewise.
37550 * string/strxfrm_l.c (STRXFRM): Likewise.
37551
9d65ea3a
UD
375522011-11-17 Ulrich Drepper <drepper@gmail.com>
37553
37554 * Makefile.in: Remove CVSOPT handling.
37555 * configure.in: Remove use of AC_REVISION.
37556 * iconvdata/Makefile (distribute): No need to filter out CVS.
37557 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37558 handling.
37559
5583a086
AS
375602011-11-16 Andreas Schwab <schwab@redhat.com>
37561
37562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37563 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37564 [USE_AS_STRNCASECMP_L]: Likewise.
37565 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37566 NO_TLS_DIRECT_SEG_REFS.
37567 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37568 Fix argument offsets for non-PIC.
37569 [USE_AS_STRNCASECMP_L]: Likewise.
37570 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37571 NO_TLS_DIRECT_SEG_REFS.
37572
d62a8200
UD
375732011-11-15 Ulrich Drepper <drepper@gmail.com>
37574
9d65ea3a 37575 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37576 O_CLOEXEC.
37577 * locale/loadlocale.c (_nl_load_locale): Likewise.
37578
09f93bd3
AS
375792011-11-15 Andreas Schwab <schwab@redhat.com>
37580
446514f9
AS
37581 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37582 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37584 (SYSCALL_GETTIME): Set errno on error.
37585
09f93bd3
AS
37586 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37587 count references to noai6ai_cached.
37588
312be3f9
UD
375892011-11-15 Ulrich Drepper <drepper@gmail.com>
37590
37591 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37592
37593 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37594 FD_CLOEXEC for /proc/self/maps.
37595
37596 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37597 FD_CLOEXEC for /proc/meminfo.
37598
37599 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37600 gai.conf.
37601
37602 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37603 FD_CLOEXEC for given file.
37604
37605 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37606
37607 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37608 FD_CLOEXEC for /etc/hosts.
37609 (_gethtent): Likewise.
37610
37611 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37612
37613 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37614 cancellation and set FD_CLOEXEC for /etc/netgroup.
37615
37616 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37617 reading /etc/publickey.
37618
37619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37620 allow cancellation when reading /etc/group.
37621
37622 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37623 cancellation.
37624 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37625
37626 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37627 when using data file.
37628
37629 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37630
37631 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37632 (write_nis_obj): Use "c" and "e" in fopen.
37633
37634 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37635
37636 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37637
37638 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37639
37640 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37641
37642 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37643 locale.alias.
37644
37645 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37646
37647 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37648
37649 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37650
37651 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37652 file parsing and set FD_CLOEXEC.
37653
82af0fa8
UD
376542011-11-14 Ulrich Drepper <drepper@gmail.com>
37655
37656 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37657
a5fb313c
AS
376582011-11-14 Andreas Schwab <schwab@redhat.com>
37659
37660 * malloc/arena.c (arena_get2): Don't call reused_arena when
37661 _int_new_arena failed.
37662
6abf3465
UD
376632011-11-14 Ulrich Drepper <drepper@gmail.com>
37664
37665 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37666 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37667 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37668 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37669 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37670 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37671 to compile strcasecmp and strncasecmp.
37672 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37673 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37674
37675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37676
76e3966e
UD
376772011-11-13 Ulrich Drepper <drepper@gmail.com>
37678
37679 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37680 locale-defines.sym to gen-as-const-headers.
37681 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37682 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37684 to compile strcasecmp and strncasecmp.
37685 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37686 strcasecmp_l and strncasecmp_l.
37687 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37688 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37689 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37690 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37691 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37692 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37693 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37694 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37695 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37696 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37697 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37698
ab26144e
UD
376992011-11-12 Ulrich Drepper <drepper@gmail.com>
37700
7edb22ef
UD
37701 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37702 result of SYSDEP_GETTIME_CPU to retval.
37703 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37704 parameter list to macro. Remove trailing semicolon. Adjust users.
37705
9694fc44
UD
37706 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37707 variable.
37708
8ad89ef8
UD
37709 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37710 mantissa words.
37711 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37712
0c822ef9
UD
37713 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37714 from unused variable.
37715
874e0564
UD
37716 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37717 DWARF definitions.
37718 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37719 for assembling.
37720
3a2edc79
UD
37721 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37722 over namespaces.
37723
f3c2577f
UD
37724 * sunrpc/rpc_prot.c (rejected): Fix case value.
37725
294ce126
UD
37726 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37727 unsigned long long int to avoid warnings in shift.
37728
5e2b63c6
UD
37729 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37730 of use of trans.
37731 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37732 variable tmp.
37733
e7f4b08e
UD
37734 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37735 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37736 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37737
ab26144e
UD
37738 * nis/nis_table.c (nis_list): Use variable of correct type for
37739 result of __follow_path call.
37740
8a6d5255
AZ
377412011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37742
37743 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37744 of math functions ceil, trunc, floor, round, and sqrt, when
37745 avaliable on the platform.
37746 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37747 name clash.
37748 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37749 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37750 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37751
aaddc98c
MP
377522011-10-30 Marek Polacek <mpolacek@redhat.com>
37753
37754 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37755 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37756
95b7042b
RM
377572011-11-11 Roland McGrath <roland@hack.frob.com>
37758
37759 * include/unistd.h: Fix __readlink return type.
37760 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37761
57769839
UD
377622011-11-11 Ulrich Drepper <drepper@gmail.com>
37763
37764 * stdlib/ucontext.h: Undo last change for makecontext.
37765
edc5984d
AS
377662011-11-11 Andreas Schwab <schwab@redhat.com>
37767
98591e58
AS
37768 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37769
edc5984d
AS
37770 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37771 * setjmp/setjmp.h: Mark functions as non-leaf.
37772 * setjmp/bits/setjmp2.h: Likewise.
37773 * stdlib/ucontext.h: Likewise.
37774
77cdc054
AS
377752011-11-10 Andreas Schwab <schwab@redhat.com>
37776
37777 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37778 (reused_arena): Don't check arena limit.
37779 (arena_get2): Atomically check arena limit.
37780
fe72eebd
UD
377812011-11-08 Ulrich Drepper <drepper@gmail.com>
37782
5f078c32
UD
37783 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37784 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37785
fe72eebd
UD
37786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37787 instructions.
37788
ae1bc2fa
AS
377892011-11-07 Andreas Schwab <schwab@redhat.com>
37790
7583a88d
AS
37791 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37792 handler when locking.
37793
ae1bc2fa
AS
37794 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37795 Fix size of allocated buffer.
37796
10fb0bfa
AS
377972011-11-04 Andreas Schwab <schwab@redhat.com>
37798
998832a4
AS
37799 [BZ #10103]
37800 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37801 declarations for long double functions.
37802 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37803
10fb0bfa
AS
37804 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37805
3d7ba52b
AS
378062011-11-03 Andreas Schwab <schwab@redhat.com>
37807
a9ae54a1
AS
37808 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37809 installed.
37810
3d7ba52b
AS
37811 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37812 is disabled.
37813
bc8db248
ST
378142011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37815
37816 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37817
45b96dd6
AS
378182011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37819
647776f6
AS
37820 * include/alloca.h (stackinfo_alloca_round): Define.
37821 (extend_alloca): Use it.
37822 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37823 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37824 here.
37825
d91a8b93
AS
37826 * scripts/check-local-headers.sh: Ignore libaudit.h.
37827
45b96dd6
AS
37828 * nscd/Makefile (extra-objs): Make recursively expanded.
37829
432d41ce
UD
378302011-11-01 Ulrich Drepper <drepper@gmail.com>
37831
34372fc6
UD
37832 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37833 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37834
fadb59f8
UD
37835 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37836 * posix/tst-rfc3484-2.c: Likewise.
37837 * posix/tst-rfc3484-3.c: Likewise.
37838
78239589
UD
37839 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37840 process_vm_writev.
37841 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37842 process_vm_writev.
37843 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37844 process_vm_writev from libc using GLIBC_2.15 version.
37845
432d41ce
UD
37846 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37847
02f9c6cf
PP
378482011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37849
37850 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37851 stack usage.
37852
3a2c0242
UD
378532011-10-31 Ulrich Drepper <drepper@gmail.com>
37854
f4ec4833
UD
37855 [BZ #13367]
37856 * nss/getent.c (initgroups_keys): Show error message in case no group
37857 names are given.
37858
3a2c0242
UD
37859 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37860 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37861 __bump_nl_timestamp.
37862 * nscd/connections (nscd_init): When host database is served open
37863 netlink socket and request notification about configuration changes.
37864 (main_loop_poll): Track netlink file descriptor and bump timestamp
37865 in case data becomes available.
37866 (main_loop_epoll): Likewise.
37867 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37868 (database_pers_head): Add extra_data fileds.
37869 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37870 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37871 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37872 Adjust caller.
37873 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37874 in6ai data, call __free_in6ai.
37875 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37876 Add -DHAVE_NETLINK.
37877 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37878 interface information. Reuse previous data if netlink timestamp
37879 is not changed.
37880 (__bump_nl_timestamp): New function.
37881 (__free_in6ai): New function.
37882
636064eb
UD
378832011-10-30 Ulrich Drepper <drepper@gmail.com>
37884
37885 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37886 close_not_cancel_no_status here.
37887 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37888
9beb2334
UD
378892011-10-29 Ulrich Drepper <drepper@gmail.com>
37890
6ef76f3b
UD
37891 [BZ #13276]
37892 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37893 return value.
37894
0ffc4f3e 37895 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37896 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37897 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37898
cb95113e
UD
378992011-07-03 Andreas Jaeger <aj@suse.de>
37900
37901 [BZ #10709]
37902 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37903 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37904 * math/libm-test.inc (sin_test): Add test case.
37905
a1b560ff
UD
379062011-10-29 Ulrich Drepper <drepper@gmail.com>
37907
c9aaface
UD
37908 [BZ #13337]
37909 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37910 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37911
d272e7f1
UD
37912 * elf/chroot_canon.c (chroot_canon): Cleanups.
37913
1bc33071
UD
37914 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37915
1760874d
TJ
37916 [BZ #13335]
37917 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37918 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37919
51d91b18
UD
37920 * string/test-strchr.c: Make usable for strchrnul testing.
37921 * string/test-strchrnul.c: New file.
37922 * string/Makefile (strop-tests): Add strchrnul.
37923
a1b560ff 37924 * po/it.po: Update from translation team.
b611fb81 37925 * po/es.po: Likewise.
a1b560ff 37926
a5b81e1f
UD
379272011-10-28 Ulrich Drepper <drepper@gmail.com>
37928
fd52bc6d
UD
37929 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37930 the three constants needed as parameters. Drop the others.
37931 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37932 __m128i_strloadu_tolower.
52e4b9eb
UD
37933 Create and initialize variable zero and use it in all the places
37934 where _mm_setzero_si128 was used.
fd52bc6d 37935
a5b81e1f
UD
37936 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37937 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37938 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37939 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37940 anymore.
37941 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37942 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37943 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37944 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37945 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37946 __mpranred, __mptan.
37947 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37948 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37949 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37950 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37951 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37952 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37953 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37954 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37955 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37956
b4343346
AS
379572011-10-28 Andreas Schwab <schwab@redhat.com>
37958
0c92d8a8
AS
37959 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37960 redefine if SHARED.
37961 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37962
b4343346
AS
37963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37964 wide char related routines to wcsmbs subdir.
37965
3871f58f
AS
379662011-10-27 Andreas Schwab <schwab@redhat.com>
37967
37968 [BZ #13344]
37969 * misc/sys/cdefs.h (__THROWNL): Define.
37970 * posix/unistd.h: Use __THREADNL instead of __THREAD
37971 for memory synchronization functions.
37972
94d44d9f
RM
379732011-10-26 Roland McGrath <roland@hack.frob.com>
37974
21b64b15 37975 [BZ #13349]
94d44d9f
RM
37976 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37977 doesn't exist.
37978 * manual/stdio.texi (Obstack Streams): Node removed.
37979
f6ce9294
AS
379802011-10-26 Andreas Schwab <schwab@redhat.com>
37981
80479147
AS
37982 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37983 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37984 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37985
f6ce9294
AS
37986 * math/math_private.h (math_force_eval): Allow non-addressable
37987 arguments.
37988 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37989
618280a1
UD
379902011-10-25 Ulrich Drepper <drepper@gmail.com>
37991
e0016b11
UD
37992 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37993 file is not needed.
37994
37995 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37996 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37997 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37998 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37999 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38000 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38001 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38002 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38003 Add AVX variants.
38004 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38005 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38006 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38007 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38008 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38009 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38010 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38011 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38012 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38013 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38014 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38015 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38016 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38017 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38018 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38019 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38020 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38021 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38022 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38023
38024 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38025 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38026
618280a1
UD
38027 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38028 place. Use VEX encoding when compiling for AVX.
38029
37822576
AS
380302011-10-25 Andreas Schwab <schwab@redhat.com>
38031
1f1e1947
AS
38032 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38033 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38034
37822576
AS
38035 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38036
31ea014d
UD
380372011-10-25 Ulrich Drepper <drepper@gmail.com>
38038
d7826aa1 38039 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38040 useless if() expression.
d7826aa1
UD
38041 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38042 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38043 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38044 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38045 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38046 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38047 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38049 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38050 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38051 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38052 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38053 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38054 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38055 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38056 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38057 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38058 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38059 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38060
31ea014d
UD
38061 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38062
16437fec
AS
380632011-10-25 Andreas Schwab <schwab@redhat.com>
38064
38065 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38066 condition.
38067 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38068
31d3cc00
UD
380692011-10-25 Ulrich Drepper <drepper@gmail.com>
38070
38071 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38072 .text section. Avoid duplicate constants.
38073 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38075 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38077 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38078 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38079 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38080 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38082 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38083 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38084 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38085 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38086 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38087 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38088 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38089 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38090 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38091 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38092 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38093 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38094 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38095 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38096 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38097 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38098 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38099 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38100 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38101 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38102 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38103 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38104 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38105 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38106 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38107 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38108 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38109 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38110 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38111 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38112 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38113 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38114 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38115 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38116 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38117 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38118
58985aa9
UD
381192011-10-24 Ulrich Drepper <drepper@gmail.com>
38120
202c9deb
UD
38121 * sysdeps/x86_64/dla.h: Move to ...
38122 * sysdeps/x86_64/fpu/dla.h: ...here.
38123 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38124 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 38125
af968f62
UD
38126 * config.make.in: Add have-mfma4 entry.
38127 * configure.in: Substitute libc_cv_cc_fma4.
38128 * math/Makefile (dbl-only-routines): Add sincostab.
38129 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38130 Use __sincostab not sincos.
38131 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38132 name is a macro.
38133 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38137 using __copysign.
38138 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38139 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38140 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38141 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38142 and __inv.
38143 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38144 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38145 __copysign.
38146 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38147 define aliases when function name is a macro.
38148 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38149 sysdeps/ieee754/dbl-64/sincos.tbl.
38150 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38151 fma4-enabled routines.
38152 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38153 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38154 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38155 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38156 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38157 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38158 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38159 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38160 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38161 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38162 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38163 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38164 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38165 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38166 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38167 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38168 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38169 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38170 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38172 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38173 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38174 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38175 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38176 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38177 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38178 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38179 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38180 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38181 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38182
58985aa9
UD
38183 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38184 rename.
38185 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38188 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38191 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38192 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38193
a201fbcf
AS
381942011-10-24 Andreas Schwab <schwab@redhat.com>
38195
38196 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38197
fc2ee42a
LD
381982011-10-23 Ulrich Drepper <drepper@gmail.com>
38199
bb3129bd
UD
38200 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38201
0275fff8
UD
38202 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38203 prediction.
38204 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38205
2fa2ae85
UD
38206 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38207 Remove unused variable magic_bits.
38208 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38209
fc2ee42a
LD
38210 * string/strnlen.c: Define and use STRNLEN macro.
38211 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38212 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38213 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38214 * wcsmbs/wcslen.c: Define and use WCSLEN.
38215 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38216 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38217 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38218 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38219 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38220 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38221 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38222
ce7dd29f
LD
382232011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38224
38225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38226 strnlen-sse2-no-bsf.
38227 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38228 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38229 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38230 Add strnlen support.
38231 (USE_AS_STRNLEN): New macro.
38232 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38233 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38234 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38235 * sysdeps/x86_64/wcslen.S: New file.
38236
979c70a3
MZ
382372011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38238
38239 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38240 XMM-moves are used for copying on small sizes.
38241
2d09f82f
LD
382422011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38243
38244 * wcsmbs/Makefile (strop-tests): Add wcschr.
38245 * wcsmbs/test-wcschr.c: New file.
38246 * string/test-strchr.c: Update.
38247 Add wcschr support.
38248 (WIDE): New macro.
38249
619fccca
LD
382502011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38251
2d09f82f 38252 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
38253 * wcsmbs/test-wcslen.c: New file.
38254 * string/test-strlen.c: Update.
38255 Add wcslen support.
38256 (WIDE): New macro.
38257
09f699ea
UD
382582011-10-23 Ulrich Drepper <drepper@gmail.com>
38259
38260 * po/it.po: Update from translation team.
38261
95584d3b
LD
382622011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38263
38264 * sysdeps/x86_64/wcscmp.S: Update.
38265 Fix wrong comparison semantics.
38266 wcscmp shall use signed comparison not unsigned.
38267 Don't use substraction to avoid overflow bug.
38268 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38269 * wcsmbc/wcscmp.c: Likewise.
38270 * string/test-strcmp.c: Likewise.
38271 Add new tests to check cases with negative values.
38272
c8b3296b
UD
382732011-10-23 Ulrich Drepper <drepper@gmail.com>
38274
38275 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38276 * sysdeps/x86_64/dla.h: ...here. New file.
38277 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38282 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38286
246ad57a
AS
382872011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38288
38289 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38290 __ynl_finite aliases.
38291
a1a87169
UD
382922011-10-22 Ulrich Drepper <drepper@gmail.com>
38293
0d355eb7
UD
38294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38295
a1a87169
UD
38296 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38297 define DLA_FMA.
38298 [DLA_FMA] (EMULV): Use DLA_FMA.
38299 [DLA_FMA] (MUL12): Use EMULV.
38300 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38301 that are not needed.
38302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38303 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38307 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38308 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38309
ee2aafe0
AS
383102011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38311
38312 * math/s_nan.c: Undef __nan.
38313 * math/s_nanf.c: Undef __nanf.
38314 * math/s_nanl.c: Undef __nanl.
38315 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38316 "math_private.h".
38317
bc62c2fb
UD
383182011-10-22 Ulrich Drepper <drepper@gmail.com>
38319
77425c63
UD
38320 * math/s_catan.c: Add branch predictions.
38321 * math/s_catanf.c: Likewise.
38322 * math/s_catanh.c: Likewise.
38323 * math/s_catanhf.c: Likewise.
38324 * math/s_catanhl.c: Likewise.
38325 * math/s_catanl.c: Likewise.
38326 * math/s_cexp.c: Likewise.
38327 * math/s_cexpf.c: Likewise.
38328 * math/s_cexpl.c: Likewise.
38329 * math/s_clog.c: Likewise.
38330 * math/s_clog10.c: Likewise.
38331 * math/s_clog10f.c: Likewise.
38332 * math/s_clog10l.c: Likewise.
38333 * math/s_clogf.c: Likewise.
38334 * math/s_clogl.c: Likewise.
38335 * math/s_csqrt.c: Likewise.
38336 * math/s_csqrtf.c: Likewise.
38337 * math/s_csqrtl.c: Likewise.
38338 * math/s_ctanf.c: Likewise.
38339 * math/s_ctanh.c: Likewise.
38340 * math/s_ctanhf.c: Likewise.
38341 * math/s_ctanhl.c: Likewise.
38342 * math/s_ctanl.c: Likewise.
38343
bc62c2fb
UD
38344 * math/math_private.h: Define __nan, __nanf, __nanl.
38345 * math/s_cacosh.c: Include <math_private.h>.
38346 * math/s_cacoshl.c: Likewise.
38347 * math/s_casinh.c: Likewise.
38348 * math/s_casinhf.c: Likewise.
38349 * math/s_casinhl.c: Likewise.
38350 * math/s_ccos.c: Rely entire on ccosh.
38351 * math/s_ccosf.c: Rely entire on ccoshf.
38352 * math/s_ccosl.c: Rely entirely on ccoshl.
38353 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38354 Remove tests for FE_INVALID.
38355 * math/s_ccoshf.c: Likewise.
38356 * math/s_ccoshl.c: Likewise.
38357 * math/s_csin.c: Likewise.
38358 * math/s_csinf.c: Likewise.
38359 * math/s_csinh.c Likewise.
38360 * math/s_csinhf.c: Likewise.
38361 * math/s_csinhl.c: Likewise.
38362 * math/s_csinl.c: Likewise.
38363 * math/s_ctan.c: Likewise.
38364 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38365 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38366 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38367
8ec250a4
UD
383682011-10-21 Ulrich Drepper <drepper@gmail.com>
38369
c196fed8
UD
38370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38371 compilation problems.
38372
8ec250a4
UD
38373 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38374 __builtin_expect.
38375
8d4f46c6
UD
383762011-10-20 Ulrich Drepper <drepper@gmail.com>
38377
ed72b654
UD
38378 * sysdeps/i386/configure.in: Test for -mfma4 option.
38379 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38380 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38381 COMMON_CPUID_INDEX_80000001.
38382 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38383 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38384 use it if FMA3 is not supported.
38385 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38386
8d4f46c6
UD
38387 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38388 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38389
d45c60c2
AS
383902011-10-20 Andreas Schwab <schwab@redhat.com>
38391
38392 [BZ #12892]
38393 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38394 it would create a cycle with a link time dependency.
38395
d9a4d2ab
UD
383962011-10-19 Ulrich Drepper <drepper@gmail.com>
38397
855d1560
UD
38398 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38399 instruction.
38400 * string/Makefile (strop-tests): Add rawmemchr.
38401 * string/test-rawmemchr.c: New file.
38402
d9a4d2ab
UD
38403 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38404 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38405 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38406 when compiling str{,n}casecmp and when AVX is available. Hook up
38407 new optimized code in initializers.
38408
8f3b1ffe
AS
384092011-10-19 Andreas Schwab <schwab@redhat.com>
38410
38411 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38412 __feraiseexcept instead of feraiseexcept.
38413
d38f1dba
UD
384142011-10-18 Ulrich Drepper <drepper@gmail.com>
38415
d9a8d0ab
UD
38416 * math/math_private.h: Define defaults for libc_fetestexcept and
38417 libc_feupdateenv.
38418 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38419 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38420 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38421 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38422 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38423 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38424 libc_fetestexcept and libc_feupdateenv.
38425
4855e3dd
UD
38426 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38427 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38428 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38429 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38430 libc_feholdexcept_setround.
38431
581d30e3
UD
38432 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38433 Add s_nearbyint-c and s_nearbyintf-c.
38434 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38435 nearbyintf inlines.
38436 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38437 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38438 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38439 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38440
d38f1dba
UD
38441 * math/math_private.h: Define defaults for libc_fegetround,
38442 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38443 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38444 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38445 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38446 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38447 standard functions.
38448 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38449 Remove comments and hacks for old compiler versions.
38450 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38451 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38452 libc_feholdexceptl.
38453
caa6c9d8
AS
384542011-10-18 Andreas Schwab <schwab@redhat.com>
38455
38456 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38457 (__feraiseexcept_renamed): Add __NTH.
38458 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38459 namespace violations.
38460
97c066e6
UD
384612011-10-17 Ulrich Drepper <drepper@gmail.com>
38462
99ce7b04
UD
38463 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38464
1004d182
UD
38465 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38466
228a984d
UD
38467 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38468 recently added interfaces.
38469 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38470
c8553a6a
UD
38471 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38472 about macro parameter expansion.
38473
ed22dcf6
UD
38474 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38475 __NO_MATH_INLINES is defined. Cleanups.
38476
38477 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38478 and __floorf is target has SSE4.1.
38479 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38480 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38481 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38482 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38483
b171c137
UD
38484 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38485 name.
38486 (floorf): Likewise.
38487
97c066e6
UD
38488 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38489
629f62ef
AS
384902011-10-17 Andreas Schwab <schwab@redhat.com>
38491
49a43d80
AS
38492 * misc/sys/cdefs.h: Fix last change.
38493
629f62ef
AS
38494 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38495 database lookup.
38496
e453f6cd
UD
384972011-10-16 Ulrich Drepper <drepper@gmail.com>
38498
aa78043a
UD
38499 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38500
ad0f5cad
UD
38501 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38502 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38503 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38504 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38505 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38506 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38507 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38508 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38509 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38510 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38511 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38512 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38513 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38514 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38515 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38516 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38517 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38518 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38519 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38520 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38521 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38522 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38523
38524 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38525 ceil, ceilf, floor, floorf.
38526
38527 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38528 Perform IRELATIVE relocations last.
38529
e453f6cd
UD
38530 * elf/do-rel.h: Add another parameter nrelative, replacing the
38531 local variable with the same name. Change name of the function
38532 to end in Rel or Rela (uppercase).
38533 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38534 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38535 elf_dynamic_do_##reloc function.
38536
fd5bdc09
UD
385372011-10-15 Ulrich Drepper <drepper@gmail.com>
38538
79b195b5
UD
38539 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38540 is sufficient, at least on modern CPUs.
38541
d4a28569
UD
38542 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38543
b61099b5
UD
38544 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38545 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38546
bcf01e6d
UD
38547 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38548 __expl_finite.
38549 * math/bits/math-finite.h: Add entries for exp.
38550 * math/e_expl.c: Add __*_finite alias.
38551 * sysdeps/i386/fpu/e_exp.S: Likewise.
38552 * sysdeps/i386/fpu/e_expf.S: Likewise.
38553 * sysdeps/i386/fpu/e_expl.c: Likewise.
38554 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38555 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38556 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38557 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38558 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38559 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38560 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38561
ba1a0d59
UD
38562 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38563 is sufficient, at least on modern CPUs.
38564
fd5bdc09
UD
38565 * ctype/ctype-info.c (__ctype_init): Define.
38566 * include/ctype.h (__ctype_init): Declare.
38567 (__ctype_b_loc): The variable is always initialized.
38568 (__ctype_toupper_loc): Likewise.
38569 (__ctype_tolower_loc): Likewise.
38570 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38571 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38572
7872cfb0
AS
385732011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38574
b468825a
AS
38575 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38576
7872cfb0
AS
38577 * configure.in: Also look in $cxxmachine/include for C++ system
38578 headers.
38579
be13f7bf
LD
385802011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38581
38582 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38583 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38584 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38585 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38586 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38587 (USE_AS_WMEMCMP): New macro.
38588 Fixing indents.
38589 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38590 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38591 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38592 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38594 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38595 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38596 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38597 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38598 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38599 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38600 (USE_AS_WMEMCMP): New macro.
38601 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38602 * sysdeps/string/test-memcmp.c: Update.
38603 Fix simple_wmemcmp.
38604 Add new tests.
38605 * wcsmbs/wmemcmp.c: Update.
38606 (WMEMCMP): New macro.
38607 Fix overflow bug.
38608
556a2007
AJ
386092011-10-12 Andreas Jaeger <aj@suse.de>
38610
38611 [BZ #13268]
38612 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38613
538faaa7
UD
386142011-10-15 Ulrich Drepper <drepper@gmail.com>
38615
ab6737ff
UD
38616 * libio/iofwide.c (do_length): Avoid warning.
38617
538faaa7
UD
38618 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38619
396a21b1
UD
386202011-10-14 Ulrich Drepper <drepper@gmail.com>
38621
cdf2901f
UD
38622 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38623
38ad40ce
UD
38624 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38625 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38626 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38627 * sysdeps/i386/i686/fpu/e_log.S: New file.
38628 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38629 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38630
396a21b1
UD
38631 * ctype/ctype.h: Add support for inlined isXXX functions when
38632 compiling C++ code.
38633
6b1f68c9
AS
386342011-10-14 Andreas Schwab <schwab@redhat.com>
38635
349290c0
AS
38636 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38637
6b1f68c9
AS
38638 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38639
f2282d42
RM
386402011-10-13 Roland McGrath <roland@hack.frob.com>
38641
38642 [BZ #13291]
38643 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38644
5298ffa8
AS
386452011-10-13 Andreas Schwab <schwab@redhat.com>
38646
714fad23
AS
38647 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38648 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38649 feraiseexcept.
38650
81dcc7fb
AS
38651 * sysdeps/x86_64/memrchr.S: Check for zero size.
38652
5298ffa8
AS
38653 * string/stratcliff.c: Add memrchr tests.
38654
951fbcec
LD
386552011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38656
38657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38658 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38659 rawmemchr-sse2 rawmemchr-sse2-bsf.
38660 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38661 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38662 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38663 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38664 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38665 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38666 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38667 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38668 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38669 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38670 * string/memrchr.c (MEMRCHR): New macro.
38671
0ac5ae23
UD
386722011-10-12 Ulrich Drepper <drepper@gmail.com>
38673
38674 Add integration with gcc's -ffinite-math-only and optimize wrapper
38675 functions in libm.
38676 * Versions.def: Define GLIBC_2.15 version for libm.
38677 * math/Makefile (headers): Add bits/math-finite.h.
38678 * math/bits/math-finite.h: New file.
38679 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38680 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38681 * math/e_acoshl.c: Add __*_finite alias.
38682 * math/e_acosl.c: Likewise.
38683 * math/e_asinl.c: Likewise.
38684 * math/e_atan2l.c: Likewise.
38685 * math/e_atanhl.c: Likewise.
38686 * math/e_coshl.c: Likewise.
38687 * math/e_exp10.c: Likewise.
38688 * math/e_exp10f.c: Likewise.
38689 * math/e_exp10l.c: Likewise.
38690 * math/e_exp2l.c: Likewise.
38691 * math/e_fmodl.c: Likewise.
38692 * math/e_gammal_r.c: Likewise.
38693 * math/e_hypotl.c: Likewise.
38694 * math/e_j0l.c: Likewise.
38695 * math/e_j1l.c: Likewise.
38696 * math/e_jnl.c: Likewise.
38697 * math/e_lgammal_r.c: Likewise.
38698 * math/e_log10l.c: Likewise.
38699 * math/e_log2l.c: Likewise.
38700 * math/e_logl.c: Likewise.
38701 * math/e_powl.c: Likewise.
38702 * math/e_sinhl.c: Likewise.
38703 * math/e_sqrtl.c: Likewise.
38704 * math/e_scalb.c: Completely rewritten and optimized.
38705 * math/e_scalbf.c: Likewise.
38706 * math/e_scalbl.c: Likewise.
38707 * math/w_acos.c: Likewise.
38708 * math/w_acosf.c: Likewise.
38709 * math/w_acosl.c: Likewise.
38710 * math/w_acosh.c: Likewise.
38711 * math/w_acoshf.c: Likewise.
38712 * math/w_acoshl.c: Likewise.
38713 * math/w_asin.c: Likewise.
38714 * math/w_asinf.c: Likewise.
38715 * math/w_asinl.c: Likewise.
38716 * math/w_atan2.c: Likewise.
38717 * math/w_atan2f.c: Likewise.
38718 * math/w_atan2l.c: Likewise.
38719 * math/w_atanh.c: Likewise.
38720 * math/w_atanhf.c: Likewise.
38721 * math/w_atanhl.c: Likewise.
38722 * math/w_exp10.c: Likewise.
38723 * math/w_exp10f.c: Likewise.
38724 * math/w_exp10l.c: Likewise.
38725 * math/w_fmod.c: Likewise.
38726 * math/w_fmodf.c: Likewise.
38727 * math/w_fmodl.c: Likewise.
38728 * math/w_j0.c: Likewise.
38729 * math/w_j0f.c: Likewise.
38730 * math/w_j0l.c: Likewise.
38731 * math/w_j1.c: Likewise.
38732 * math/w_j1f.c: Likewise.
38733 * math/w_j1l.c: Likewise.
38734 * math/w_jn.c: Likewise.
38735 * math/w_jnf.c: Likewise.
38736 * math/w_log.c: Likewise.
38737 * math/w_logf.c: Likewise.
38738 * math/w_logl.c: Likewise.
38739 * math/w_log10.c: Likewise.
38740 * math/w_log10f.c: Likewise.
38741 * math/w_log10l.c: Likewise.
38742 * math/w_log2.c: Likewise.
38743 * math/w_log2f.c: Likewise.
38744 * math/w_log2l.c: Likewise.
38745 * math/w_pow.c: Likewise.
38746 * math/w_powf.c: Likewise.
38747 * math/w_powl.c: Likewise.
38748 * math/w_remainder.c: Likewise.
38749 * math/w_remainderf.c: Likewise.
38750 * math/w_remainderl.c: Likewise.
38751 * math/w_scalb.c: Likewise.
38752 * math/w_scalbf.c: Likewise.
38753 * math/w_scalbl.c: Likewise.
38754 * math/w_sqrt.c: Likewise.
38755 * math/w_sqrtf.c: Likewise.
38756 * math/w_sqrtl.c: Likewise.
38757 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38758 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38759 used.
38760 * math/math_private.h: Declare __kernel_standard_f.
38761 * math/w_cosh.c: Remove cruft and optimize a bit.
38762 * math/w_coshf.c: Likewise.
38763 * math/w_coshl.c: Likewise.
38764 * math/w_exp2.c: Likewise.
38765 * math/w_exp2f.c: Likewise.
38766 * math/w_exp2l.c: Likewise.
38767 * math/w_hypot.c: Likewise.
38768 * math/w_hypotf.c: Likewise.
38769 * math/w_hypotl.c: Likewise.
38770 * math/w_lgamma.c: Likewise.
38771 * math/w_lgamma_r.c: Likewise.
38772 * math/w_lgammaf.c: Likewise.
38773 * math/w_lgammaf_r.c: Likewise.
38774 * math/w_lgammal.c: Likewise.
38775 * math/w_lgammal_r.c: Likewise.
38776 * math/w_sinh.c: Likewise.
38777 * math/w_sinhf.c: Likewise.
38778 * math/w_sinhl.c: Likewise.
38779 * math/w_tgamma.c: Likewise.
38780 * math/w_tgammaf.c: Likewise.
38781 * math/w_tgammal.c: Likewise.
38782 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38783 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38784 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38785 Minor optimizations. Pretty printing. Remove cruft.
38786 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38787 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38788 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38789 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38790 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38791 * sysdeps/i386/fpu/e_asin.S: Likewise.
38792 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38793 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38794 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38795 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38796 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38797 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38798 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38799 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38800 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38801 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38802 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38803 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38804 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38805 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38806 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38807 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38808 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38809 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38810 * sysdeps/i386/fpu/e_log.S: Likewise.
38811 * sysdeps/i386/fpu/e_log10.S: Likewise.
38812 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38813 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38814 * sysdeps/i386/fpu/e_log2.S: Likewise.
38815 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38816 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38817 * sysdeps/i386/fpu/e_logf.S: Likewise.
38818 * sysdeps/i386/fpu/e_logl.S: Likewise.
38819 * sysdeps/i386/fpu/e_pow.S: Likewise.
38820 * sysdeps/i386/fpu/e_powf.S: Likewise.
38821 * sysdeps/i386/fpu/e_powl.S: Likewise.
38822 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38823 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38824 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38825 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38826 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38827 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38828 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38829 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38830 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38831 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38832 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38834 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38835 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38836 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38837 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38838 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38839 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38840 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38848 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38851 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38852 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38853 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38854 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38855 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38856 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38857 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38858 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38859 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38860 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38861 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38862 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38863 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38864 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38865 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38866 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38867 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38868 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38869 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38870 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38871 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38872 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38873 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38875 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38876 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38877 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38879 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38880 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38881 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38882 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38883 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38884 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38885 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38886 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38890 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38891 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38896 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38897 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38898 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38899 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38910 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38911 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38914 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38916 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38917 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38919 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38922 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38923 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38924 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38925 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38926 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38927 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38928 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38929 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38930 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38931 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38932 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38933 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38934 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38935 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38936 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38937 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38938 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38939 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38940 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38941 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38942 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38943 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38944 (__isnanf): Likewise.
38945 (__isinf_ns): Likewise.
38946 (__isinf_nsf): Likewise.
38947 (__finite): Likewise.
38948 (__finitef): Likewise.
38949 (__ieee754_sqrt): Define as macro.
38950 (__ieee754_sqrtf): Define as macro.
38951 (__ieee754_sqrtl): Define as macro.
38952 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38953 inlined copy.
38954 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38955 __FINITE_MATH_ONLY__ consistent.
38956 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38957
12cc2fcd
AS
389582011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38959
a843a204
AS
38960 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38961 of rawmemchr.
38962
12cc2fcd
AS
38963 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38964
c853acd5
UD
389652011-10-09 Ulrich Drepper <drepper@gmail.com>
38966
38967 * po/ja.po: Update from translation team.
38968
c658d255
RM
389692011-10-08 Roland McGrath <roland@hack.frob.com>
38970
110946e4
RM
38971 * locale/programs/locarchive.c (prepare_address_space): New function.
38972 (create_archive, enlarge_archive, open_archive): Use it.
38973
50604220
RM
38974 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38975 inside [SHARED], where it is used.
38976
c658d255
RM
38977 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38978
38979 * nss/getent.c (netgroup_keys): Remove unused variable.
38980 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38981
6a621eb7
UD
389822011-10-08 Ulrich Drepper <drepper@gmail.com>
38983
7edb55ce
UD
38984 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38985 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38986 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38987 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38988 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38989 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38990 * math/Makefile (libm-calls): Add s_isinf_ns.
38991 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38992 * math/multc3.c: Likewise.
38993 * math/s_casin.c: Likewise.
38994 * math/s_casinf.c: Likewise.
38995 * math/s_casinl.c: Likewise.
38996 * math/s_ccos.c: Likewise.
38997 * math/s_ccosf.c: Likewise.
38998 * math/s_ccosl.c: Likewise.
38999 * math/s_ctan.c: Likewise.
39000 * math/s_ctanf.c: Likewise.
39001 * math/s_ctanh.c: Likewise.
39002 * math/s_ctanhf.c: Likewise.
39003 * math/s_ctanhl.c: Likewise.
39004 * math/s_ctanl.c: Likewise.
39005 * math/w_fmod.c: Likewise.
39006 * math/w_fmodf.c: Likewise.
39007 * math/w_fmodl.c: Likewise.
39008 * math/w_remainder.c: Likewise.
39009 * math/w_remainderf.c: Likewise.
39010 * math/w_remainderl.c: Likewise.
39011 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39012 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39013 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39014 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39015 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39016 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39017 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39018 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39019
187da0ae
UD
39020 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39021 of the number.
39022 * stdio-common/printf_fphex.c: Likewise.
39023 * stdio-common/printf_size.c: Likewise.
39024
9277c064
UD
39025 * math/e_exp10.c: Include math_private.h using <...> not "...".
39026 * math/e_exp10f.c: Likewise.
39027 * math/e_exp10l.c: Likewise.
39028 * math/e_exp2l.c: Likewise.
39029 * math/e_j0l.c: Likewise.
39030 * math/e_j1l.c: Likewise.
39031 * math/e_jnl.c: Likewise.
39032 * math/e_lgammal_r.c: Likewise.
39033 * math/e_rem_pio2l.c: Likewise.
39034 * math/e_scalb.c: Likewise.
39035 * math/e_scalbf.c: Likewise.
39036 * math/e_scalbl.c: Likewise.
39037 * math/k_cosl.c: Likewise.
39038 * math/k_sinl.c: Likewise.
39039 * math/k_tanl.c: Likewise.
39040 * math/s_cacoshf.c: Likewise.
39041 * math/s_catan.c: Likewise.
39042 * math/s_catanf.c: Likewise.
39043 * math/s_catanh.c: Likewise.
39044 * math/s_catanhf.c: Likewise.
39045 * math/s_catanhl.c: Likewise.
39046 * math/s_catanl.c: Likewise.
39047 * math/s_ccosh.c: Likewise.
39048 * math/s_ccoshf.c: Likewise.
39049 * math/s_ccoshl.c: Likewise.
39050 * math/s_cexp.c: Likewise.
39051 * math/s_cexpf.c: Likewise.
39052 * math/s_cexpl.c: Likewise.
39053 * math/s_clog.c: Likewise.
39054 * math/s_clog10.c: Likewise.
39055 * math/s_clog10f.c: Likewise.
39056 * math/s_clog10l.c: Likewise.
39057 * math/s_clogf.c: Likewise.
39058 * math/s_clogl.c: Likewise.
39059 * math/s_csin.c: Likewise.
39060 * math/s_csinf.c: Likewise.
39061 * math/s_csinh.c: Likewise.
39062 * math/s_csinhf.c: Likewise.
39063 * math/s_csinhl.c: Likewise.
39064 * math/s_csinl.c: Likewise.
39065 * math/s_csqrt.c: Likewise.
39066 * math/s_csqrtf.c: Likewise.
39067 * math/s_csqrtl.c: Likewise.
39068 * math/s_ctan.c: Likewise.
39069 * math/s_ctanf.c: Likewise.
39070 * math/s_ctanh.c: Likewise.
39071 * math/s_ctanhf.c: Likewise.
39072 * math/s_ctanhl.c: Likewise.
39073 * math/s_ctanl.c: Likewise.
39074 * math/s_ldexp.c: Likewise.
39075 * math/s_ldexpf.c: Likewise.
39076 * math/s_ldexpl.c: Likewise.
39077 * math/s_significand.c: Likewise.
39078 * math/s_significandf.c: Likewise.
39079 * math/s_significandl.c: Likewise.
39080 * math/w_acos.c: Likewise.
39081 * math/w_acosf.c: Likewise.
39082 * math/w_acosh.c: Likewise.
39083 * math/w_acoshf.c: Likewise.
39084 * math/w_acoshl.c: Likewise.
39085 * math/w_acosl.c: Likewise.
39086 * math/w_asin.c: Likewise.
39087 * math/w_asinf.c: Likewise.
39088 * math/w_asinl.c: Likewise.
39089 * math/w_atan2.c: Likewise.
39090 * math/w_atan2f.c: Likewise.
39091 * math/w_atan2l.c: Likewise.
39092 * math/w_atanh.c: Likewise.
39093 * math/w_atanhf.c: Likewise.
39094 * math/w_atanhl.c: Likewise.
39095 * math/w_cosh.c: Likewise.
39096 * math/w_coshf.c: Likewise.
39097 * math/w_coshl.c: Likewise.
39098 * math/w_dremf.c: Likewise.
39099 * math/w_exp10.c: Likewise.
39100 * math/w_exp10f.c: Likewise.
39101 * math/w_exp10l.c: Likewise.
39102 * math/w_exp2.c: Likewise.
39103 * math/w_exp2f.c: Likewise.
39104 * math/w_fmod.c: Likewise.
39105 * math/w_fmodf.c: Likewise.
39106 * math/w_fmodl.c: Likewise.
39107 * math/w_hypot.c: Likewise.
39108 * math/w_hypotf.c: Likewise.
39109 * math/w_hypotl.c: Likewise.
39110 * math/w_j0.c: Likewise.
39111 * math/w_j0f.c: Likewise.
39112 * math/w_j0l.c: Likewise.
39113 * math/w_j1.c: Likewise.
39114 * math/w_j1f.c: Likewise.
39115 * math/w_j1l.c: Likewise.
39116 * math/w_jn.c: Likewise.
39117 * math/w_jnf.c: Likewise.
39118 * math/w_jnl.c: Likewise.
39119 * math/w_lgamma.c: Likewise.
39120 * math/w_lgamma_r.c: Likewise.
39121 * math/w_lgammaf.c: Likewise.
39122 * math/w_lgammaf_r.c: Likewise.
39123 * math/w_lgammal.c: Likewise.
39124 * math/w_lgammal_r.c: Likewise.
39125 * math/w_log.c: Likewise.
39126 * math/w_log10.c: Likewise.
39127 * math/w_log10f.c: Likewise.
39128 * math/w_log10l.c: Likewise.
39129 * math/w_log2.c: Likewise.
39130 * math/w_log2f.c: Likewise.
39131 * math/w_log2l.c: Likewise.
39132 * math/w_logf.c: Likewise.
39133 * math/w_logl.c: Likewise.
39134 * math/w_pow.c: Likewise.
39135 * math/w_powf.c: Likewise.
39136 * math/w_powl.c: Likewise.
39137 * math/w_remainder.c: Likewise.
39138 * math/w_remainderf.c: Likewise.
39139 * math/w_remainderl.c: Likewise.
39140 * math/w_scalb.c: Likewise.
39141 * math/w_scalbf.c: Likewise.
39142 * math/w_scalbl.c: Likewise.
39143 * math/w_sinh.c: Likewise.
39144 * math/w_sinhf.c: Likewise.
39145 * math/w_sinhl.c: Likewise.
39146 * math/w_sqrt.c: Likewise.
39147 * math/w_sqrtf.c: Likewise.
39148 * math/w_sqrtl.c: Likewise.
39149 * math/w_tgamma.c: Likewise.
39150 * math/w_tgammaf.c: Likewise.
39151 * math/w_tgammal.c: Likewise.
39152
6a621eb7
UD
39153 * po/ja.po: Update from translation team.
39154
bf582445
AJ
391552011-09-29 Andreas Jaeger <aj@suse.de>
39156
f9efbf3a
AJ
39157 [BZ #13179]
39158 * sunrpc/netname.c (netname2host): Fix logic.
39159
bf582445
AJ
39160 [BZ #6779]
39161 [BZ #6783]
39162 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39163 correctly.
39164 * math/w_remainder.c (__remainder): Likewise.
39165 * math/w_remainderf.c (__remainderf): Likewise.
39166 * math/libm-test.inc (remainder_test): Add test cases.
39167
48693bea
AK
391682011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39169
39170 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39171 sdiv_qrnnd.
39172
42622229
LD
391732011-10-07 Ulrich Drepper <drepper@gmail.com>
39174
39175 * string/test-memcmp.c: Avoid unncessary #defines.
39176 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39177
093ecf92
LD
391782011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39179
39180 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39181 Use new sse2 version for core i3 - i7 as it's faster
39182 than sse42 version.
39183 (bit_Prefer_PMINUB_for_stringop): New.
39184 * sysdeps/x86_64/rawmemchr.S: Update.
39185 Replace with faster SSE2 version.
39186 * sysdeps/x86_64/memrchr.S: New file.
39187 * sysdeps/x86_64/memchr.S: Update.
39188 Replace with faster SSE2 version.
39189
fde56e5c
MP
391902011-09-12 Marek Polacek <mpolacek@redhat.com>
39191
39192 * elf/dl-load.c (lose): Add cast to avoid warning.
39193
21fd49a9
UD
391942011-10-07 Ulrich Drepper <drepper@gmail.com>
39195
5a06e643
UD
39196 * po/ca.po: Update from translation team.
39197
684ae515
UD
39198 * inet/getnetgrent_r.c: Hook up nscd.
39199 * nscd/Makefile (routines): Add nscd_netgroup.
39200 (nscd-modules): Add netgroupcache.
39201 (CFLAGS-netgroupcache.c): Define.
39202 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39203 (cache_search): Add const to second parameter.
39204 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39205 INNETGR.
39206 (dbs): Add netgrdb entry.
39207 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39208 (verify_persistent_db): Handle netgrdb.
39209 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39210 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39211 GETFDNETGR.
39212 (netgroup_response_header): Define.
39213 (innetgroup_response_header): Define.
39214 (datahead): Add netgroup_response_header and innetgroup_response_header
39215 elements.
39216 * nscd/nscd.conf: Add entries for netgroup cache.
39217 * nscd/nscd.h (dbtype): Add netgrdb.
39218 (_PATH_NSCD_NETGROUP_DB): Define.
39219 (netgroup_iov_disabled): Declare.
39220 (xmalloc, xcalloc, xrealloc): Move declarations here.
39221 (cache_search): Adjust prototype.
39222 Add netgroup-related prototypes.
39223 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39224 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39225 (__nscd_innetgr): Declare.
39226 * nscd/selinux.c (perms): Use access_vector_t as element type and
39227 add netgroup-related initializers.
39228 * nscd/netgroupcache.c: New file.
39229 * nscd/nscd_netgroup.c: New file.
39230 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39231 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39232 For four parameters use innetgr.
39233 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39234 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39235 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39236 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39237
21fd49a9
UD
39238 * nscd/connections.c (register_traced_file): Don't register file
39239 for disabled databases.
39240
054c0457
UD
392412011-10-06 Ulrich Drepper <drepper@gmail.com>
39242
32b63198
UD
39243 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39244
054c0457
UD
39245 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39246 from tree and freeing node.
39247
64031225
JO
392482011-09-25 Jiri Olsa <jolsa@redhat.com>
39249
39250 * nss/nsswitch.c (__nss_database_lookup): Handle
39251 nss_parse_service_list out of memory case.
39252
0490345c
JO
392532011-09-15 Jiri Olsa <jolsa@redhat.com>
39254
39255 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39256 out of memory case.
39257
3a62d00d
AS
392582011-10-04 Andreas Schwab <schwab@redhat.com>
39259
39260 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39261 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39262 pass it down.
39263 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39264 elf_machine_rela, elf_machine_lazy_rel.
39265 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39266 (ELF_DYNAMIC_DO_REL): Likewise.
39267 (ELF_DYNAMIC_DO_RELA): Likewise.
39268 (ELF_DYNAMIC_RELOCATE): Likewise.
39269 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39270 to ELF_DYNAMIC_DO_REL.
39271 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39272 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39273 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39274 elf_machine_rela.
39275 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39276 skip_ifunc, don't call ifunc function if non-zero.
39277 (elf_machine_rela): Likewise.
39278 (elf_machine_lazy_rel): Likewise.
39279 (elf_machine_lazy_rela): Likewise.
39280 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39281 (elf_machine_lazy_rel): Likewise.
39282 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39283 Likewise.
39284 (elf_machine_lazy_rel): Likewise.
39285 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39286 Likewise.
39287 (elf_machine_lazy_rel): Likewise.
39288 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39289 (elf_machine_lazy_rel): Likewise.
39290 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39291 (elf_machine_lazy_rel): Likewise.
39292 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39293 (elf_machine_lazy_rel): Likewise.
39294 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39295 (elf_machine_lazy_rel): Likewise.
39296 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39297 (elf_machine_lazy_rel): Likewise.
39298 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39299 (elf_machine_lazy_rel): Likewise.
39300
68577918
UD
393012011-09-28 Ulrich Drepper <drepper@gmail.com>
39302
39303 * nss/nss_files/files-init.c (_nss_files_init): Use static
39304 initialization for all the *_traced_file variables.
39305
68822d74
AS
393062011-09-28 Andreas Schwab <schwab@redhat.com>
39307
39308 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39309
2056100b
RM
393102011-09-27 Roland McGrath <roland@hack.frob.com>
39311
39312 [BZ #13226]
39313 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39314
32c76b63
AS
393152011-09-27 Andreas Schwab <schwab@redhat.com>
39316
39317 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39318 Reread the line before reparsing it.
39319
bf972c9d
AS
393202011-09-26 Andreas Schwab <schwab@redhat.com>
39321
39322 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39323
e057a1b5
JM
393242011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39325 Maxim Kuvyrkov <maxim@codesourcery.com>
39326 Joseph Myers <joseph@codesourcery.com>
39327
39328 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39329 if needed for __stack_chk_guard.
39330
bc7e1c36
RM
393312011-09-19 Roland McGrath <roland@hack.frob.com>
39332
ecb1482f
RM
39333 * sysdeps/posix/spawni.c (script_execute): Always define it.
39334 It will be optimized away if unused.
39335 (maybe_script_execute): New function.
39336 (__spawni): Call it.
39337
bc7e1c36
RM
39338 * Makerules: Don't include tls.make.
39339 (config-tls): Always set to thread.
39340 * tls.make.c: File removed.
39341
1c3b002b
MF
393422011-09-19 Mike Frysinger <vapier@gentoo.org>
39343
39344 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39345 * config.make.in (CPPFLAGS-config): New substituted variable.
39346
2840865d
UD
393472011-09-15 Ulrich Drepper <drepper@gmail.com>
39348
88738eb6
UD
39349 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39350
cbf645a6 39351 [BZ #13192]
2840865d
UD
39352 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39353 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39354
b402e91a
RM
393552011-09-15 Roland McGrath <roland@hack.frob.com>
39356
39357 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39358 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39360 (CALL_FAIL): Likewise.
39361 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39362 (CALL_FAIL): Macro removed.
39363 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39364
4c1a1f71
UD
393652011-09-15 Ulrich Drepper <drepper@gmail.com>
39366
39367 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39368 for __FINITE_MATH_ONLY__ == 1.
39369
edc121be
AS
393702011-09-15 Andreas Schwab <schwab@redhat.com>
39371
39372 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39373 __ieee754_sqrt instead of sqrt.
39374 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39375 __ieee754_sqrtf instead of sqrtf.
39376 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39377 __floorf instead of floorf.
39378 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39379 __floorf, __truncf instead of floorf, truncf.
39380
cd205654
UD
393812011-09-14 Ulrich Drepper <drepper@gmail.com>
39382
ee4d0315
UD
39383 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39384
cd205654
UD
39385 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39386 __extern_always_inline.
39387 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39388 32-bit.
39389
48b67d71
AS
393902011-09-14 Andreas Schwab <schwab@redhat.com>
39391
39392 * elf/rtld.c (dl_main): Also relocate in dependency order when
39393 doing symbol dependency testing.
39394
1ae12c75
AS
393952011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39396
39397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39398 Always define `refsym'.
39399
995a80df
AS
394002011-09-13 Andreas Schwab <schwab@redhat.com>
39401
e529793b
AS
39402 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39403 (__FD_ELT): Renamed from __FDELT.
39404 * misc/bits/select2.h (__FD_ELT): Likewise.
39405 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39406 __FD_MASK instead of __FDELT, __FDMASK.
39407 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39408 Likewise.
39409 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39410 Likewise.
39411
52d4fef8
AS
39412 * elf/Makefile (gen-ldd): Fix pattern.
39413
995a80df
AS
39414 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39415 (init_tls): Likewise.
39416
8682f8b0
UD
394172011-09-12 Ulrich Drepper <drepper@gmail.com>
39418
39419 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39420
de82006d
AS
394212011-09-12 Andreas Schwab <schwab@redhat.com>
39422
a7c8e6a1
AS
39423 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39424 `struct cmsghdr *' instead of `void *'.
39425 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39426 Likewise.
39427
0f31fe77
AS
394282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39429
39430 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39431 if non-absolute.
39432 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39433 ldd_rewrite_script.
0f31fe77 39434
32b4c839
UD
394352011-09-11 Ulrich Drepper <drepper@gmail.com>
39436
83cd1420
UD
39437 * configure.in: Remove --with-tls option.
39438 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39439 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39440 out in case it is missing.
39441 * sysdeps/ia64/elf/configure.in: Likewise.
39442 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39443 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39444 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39445 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39446 * sysdeps/sh/elf/configure.in: Likewise.
39447 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39448 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39449 * sysdeps/x86_64/elf/configure.in: Likewise.
39450 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39451 * sysdeps/mach/hurd/tls.h: Likewise.
39452
633f745d
UD
39453 [BZ #13067]
39454 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39455
f318beb8
UD
39456 [BZ #13090]
39457 * configure.in: Fix use of AC_INIT.
39458
32b4c839
UD
39459 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39460
3ce1f295
UD
394612011-09-10 Ulrich Drepper <drepper@gmail.com>
39462
bb016596
UD
39463 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39464 __set_errno.
8e58439c
UD
39465 * malloc/hooks.c: Likewise.
39466
aebae053 39467 [BZ #11929]
02d46fc4
UD
39468 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39469 variables statically.
39470 (narenas): Initialize.
39471 (list_lock): Initialize.
bb016596
UD
39472 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39473 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39474 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39475 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39476 Add initializers to main_arena and mp_.
39477 (malloc_state): Remove pagesize member. Change all users to use
39478 GLRO(dl_pagesize).
39479
39480 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39481 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39482 is always initialized.
39483
22a89187
UD
39484 * malloc/malloc.c: Removed unused configurations and dead code.
39485 * malloc/arena.c: Likewise.
39486 * malloc/hooks.c: Likewise.
02d46fc4 39487 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39488
d063d164
UD
39489 * include/tls.h: Removed. USE___THREAD must always be defined.
39490 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39491 * elf/dl-libc.c: Likewise.
39492 * elf/dl-tsd.c: Likewise.
39493 * include/errno.h: Likewise.
39494 * include/netdb.h: Likewise.
39495 * include/resolv.h: Likewise.
39496 * inet/herrno-loc.c: Likewise.
39497 * inet/herrno.c: Likewise.
39498 * malloc/arena.c: Likewise.
39499 * malloc/hooks.c: Likewise.
39500 * malloc/malloc.c: Likewise.
39501 * resolv/res-state.c: Likewise.
39502 * resolv/res_libc.c: Likewise.
39503 * sysdeps/i386/dl-machine.h: Likewise.
39504 * sysdeps/ia64/dl-machine.h: Likewise.
39505 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39506 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39507 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39508 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39509 * sysdeps/sh/dl-machine.h: Likewise.
39510 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39511 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39512 * sysdeps/unix/i386/sysdep.S: Likewise.
39513 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39514 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39516 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39517 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39519 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39520 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39522 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39523 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39524 * sysdeps/x86_64/dl-machine.h: Likewise.
39525 * tls.make.c: Likewise.
39526
3ce1f295
UD
39527 * configure.in: Remove --with-__thread option. Make tests for
39528 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39529 tls_model attribute fail if no support is available. Remove
39530 USE_IN_LIBIO.
39531 * Makeconfig: Adjust for dropped configure option. All features are
39532 now mandatory.
39533 * Makerules: Likewise.
39534 * Versions.def: Likewise.
39535 * argp/argp-fmtstream.c: Likewise.
39536 * argp/argp-fmtstream.h: Likewise.
39537 * argp/argp-help.c: Likewise.
39538 * assert/assert.c: Likewise.
39539 * config.h.in: Likewise.
39540 * config.make.in: Likewise.
39541 * configure: Likewise.
39542 * configure.in: Likewise.
39543 * csu/Versions: Likewise.
39544 * csu/init.c: Likewise.
39545 * elf/tst-audit2.c: Likewise.
39546 * elf/tst-tls10.c: Likewise.
39547 * elf/tst-tls10.h: Likewise.
39548 * elf/tst-tls11.c: Likewise.
39549 * elf/tst-tls12.c: Likewise.
39550 * elf/tst-tls14.c: Likewise.
39551 * elf/tst-tlsmod11.c: Likewise.
39552 * elf/tst-tlsmod12.c: Likewise.
39553 * elf/tst-tlsmod13.c: Likewise.
39554 * elf/tst-tlsmod13a.c: Likewise.
39555 * elf/tst-tlsmod14a.c: Likewise.
39556 * elf/tst-tlsmod15b.c: Likewise.
39557 * elf/tst-tlsmod16a.c: Likewise.
39558 * elf/tst-tlsmod16b.c: Likewise.
39559 * elf/tst-tlsmod7.c: Likewise.
39560 * elf/tst-tlsmod8.c: Likewise.
39561 * elf/tst-tlsmod9.c: Likewise.
39562 * gmon/gmon.c: Likewise.
39563 * grp/fgetgrent_r.c: Likewise.
39564 * grp/putgrent.c: Likewise.
39565 * hurd/fopenport.c: Likewise.
39566 * include/libc-symbols.h: Likewise.
39567 * include/tls.h: Likewise.
39568 * intl/gettextP.h: Likewise.
39569 * intl/loadinfo.h: Likewise.
39570 * locale/global-locale.c: Likewise.
39571 * locale/localeinfo.h: Likewise.
39572 * mach/devstream.c: Likewise.
39573 * malloc/arena.c: Likewise.
39574 * malloc/set-freeres.c: Likewise.
39575 * misc/err.c: Likewise.
39576 * misc/getttyent.c: Likewise.
39577 * misc/mntent_r.c: Likewise.
39578 * posix/getopt.c: Likewise.
39579 * posix/wordexp.c: Likewise.
39580 * pwd/fgetpwent_r.c: Likewise.
39581 * resolv/Versions: Likewise.
39582 * resolv/res_hconf.c: Likewise.
39583 * shadow/fgetspent_r.c: Likewise.
39584 * shadow/putspent.c: Likewise.
39585 * stdio-common/printf_fphex.c: Likewise.
39586 * stdio-common/tmpfile.c: Likewise.
39587 * stdlib/abort.c: Likewise.
39588 * stdlib/fmtmsg.c: Likewise.
39589 * sunrpc/auth_unix.c: Likewise.
39590 * sunrpc/clnt_perr.c: Likewise.
39591 * sunrpc/clnt_tcp.c: Likewise.
39592 * sunrpc/clnt_udp.c: Likewise.
39593 * sunrpc/clnt_unix.c: Likewise.
39594 * sunrpc/openchild.c: Likewise.
39595 * sunrpc/svc_simple.c: Likewise.
39596 * sunrpc/svc_tcp.c: Likewise.
39597 * sunrpc/svc_udp.c: Likewise.
39598 * sunrpc/svc_unix.c: Likewise.
39599 * sunrpc/xdr.c: Likewise.
39600 * sunrpc/xdr_array.c: Likewise.
39601 * sunrpc/xdr_rec.c: Likewise.
39602 * sunrpc/xdr_ref.c: Likewise.
39603 * sunrpc/xdr_stdio.c: Likewise.
39604
1248c1c4
PB
396052011-09-09 Ulrich Drepper <drepper@gmail.com>
39606
39607 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39608
396092011-07-03 Andreas Jaeger <aj@suse.de>
39610
39611 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39612 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39613 regenerate with gen-libm-tests.pl.
39614
396152010-05-12 Petr Baudis <pasky@suse.cz>
39616
39617 [BZ #11589]
39618 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39619 around j0() zero points by switching to j1().
39620 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39621 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39622 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39623 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39624
f22e1074
UD
396252011-09-09 Ulrich Drepper <drepper@gmail.com>
39626
f19009c1
UD
39627 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39628 instead of 0.
39629 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39630 instead of 0.
f19009c1
UD
39631 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39632 Patch in part by Pavel Roskin <proski@gnu.org>.
39633
3f8cc204
UD
39634 [BZ #13138]
39635 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39636 realloc.
39637 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39638 Free memory block if necessary.
39639
f22e1074
UD
39640 [BZ #12847]
39641 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39642 be NULL. Don't lock in this case.
39643
0a2349f9
RM
396442011-09-09 Roland McGrath <roland@hack.frob.com>
39645
39646 * elf/elf.h (ELFOSABI_GNU): New macro.
39647 (ELFOSABI_LINUX): Define to that.
39648
f3cdd467
DZ
396492011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39650
39651 * string/strncat.c (strncat): Undef the symbol in case it has been
39652 defined in bits/string.h.
39653
74718d13
UD
396542011-09-09 Ulrich Drepper <drepper@gmail.com>
39655
633e9e0f
UD
39656 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39657
0a2349f9 39658 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39659 link map.
39660
f9924780
AJ
396612011-08-17 Andreas Jaeger <aj@suse.de>
39662
39663 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39664
7f5517aa
PP
396652011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39666 Ian Lance Taylor <iant@google.com>
39667
39668 * math/libm-test.inc (lround_test): New testcase.
39669 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39670
762011fe
UD
396712011-09-08 Ulrich Drepper <drepper@gmail.com>
39672
92963737
UD
39673 * Makefile: Remove support for automatic cvs check-ins.
39674 * Makerules: Likewise.
39675 * config.make.in: Likewise.
39676 * configure.in: Likewise.
39677 * intl/Makefile: Likewise.
39678 * locale/Makefile: Likewise.
39679 * po/Makefile: Likewise.
39680 * posix/Makefile: Likewise.
39681 * sysdeps/gnu/Makefile: Likewise.
39682 * sysdeps/mach/hurd/Makefile: Likewise.
39683 * sysdeps/sparc/sparc32/Makefile: Likewise.
39684
b0727fd8
JS
39685 [BZ #13118]
39686 * posix/Makefile (bug-regex32-ENV): Define.
39687 Patch by John Stanley <jpsinthemix@verizon.net>.
39688
a0f33f99
UD
39689 * misc/Makefile (headers): Add bits/select2.h.
39690 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39691 * misc/bits/select2.h: New file.
39692 * include/bits/select2.h: New file.
39693 * debug/Makefile (routines): Add fdelt_chk.
39694 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39695 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39696 FD_ISSET.
39697 * debug/fdelt_chk.c: New file.
39698
762011fe
UD
39699 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39700 * wcsmbs/test-wmemcmp.c: Likewise.
39701 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39702 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39703
397042011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39705
39706 * string/Makefile (strop-tests): Add memcmp.
39707 * string/test-wmemcmp.c: New file.
39708 * string/test-memcmp.c: Add wmemcmp support.
39709
7f513ec8
RM
397102011-09-08 Roland McGrath <roland@hack.frob.com>
39711
0442afb4
RM
39712 [BZ #13153]
39713 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39714 2011-07-19 change.
39715
7f513ec8
RM
39716 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39717 garbage value in a __mach_port_mod_refs call in the cases of the
39718 task-self and thread-self ports.
39719
a12b2239
ST
397202011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39721
39722 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39723
610f9ab4
AS
397242011-09-08 Andreas Schwab <schwab@redhat.com>
39725
7f513ec8 39726 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39727
48882a1a
LD
397282011-09-07 Ulrich Drepper <drepper@gmail.com>
39729
b49865be
UD
39730 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39731
fdc86bc9
UD
39732 * elf/dl-libc.c (dlerror_run): Pass back error code from
39733 dl_catch_error.
39734
c966526a
UD
39735 [BZ #13123]
39736 * elf/dl-load.c (lose): Free l_origin if it is valid.
39737
48882a1a
LD
39738 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39739 names.
39740 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39741 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39742 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39743 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39744 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39745 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39746
77a2a8b4
AZ
397472011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39748
39749 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39750 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39751 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39752 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39753 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39754 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39755 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39756 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39757 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39758 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39759
24f579d8
AM
397602011-08-15 Alan Modra <amodra@gmail.com>
39761
39762 [BZ #13092]
39763 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39764 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39765 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39766 ppc_mcount to static-only-routines.
39767 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39768 __mcount_internal.
39769 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39770 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39771
3d4837df
UD
397722011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39773
39774 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39775 for finite and infinity parameters.
39776
22700377
WS
397772011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39778
39779 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39780 and add nop instructions for throughput optimization.
39781 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39782
5025581e
WS
397832011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39784
39785 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39786 aligned copy for power7 with vector-scalar instructions.
39787 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39788
08a300c9
L
397892011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39790
39791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39792 AVX check.
39793
59178ef9
AS
397942011-09-07 Andreas Schwab <schwab@redhat.com>
39795
39796 [BZ #13144]
39797 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39798 last change.
39799
e38ba7ab
UD
398002011-09-07 Ulrich Drepper <drepper@gmail.com>
39801
39802 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39803 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39804 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39805 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39806 clock_gettime.
39807
d53a73ac
UD
398082011-09-06 Ulrich Drepper <drepper@gmail.com>
39809
fc8bffcc
UD
39810 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39811 Forgot to demangle the pointer.
39812
ceaa0c5d
UD
39813 * sysdeps/i386/sysdep.h: Define atom_text_section.
39814 * sysdeps/x86_64/sysdep.h: Likewise.
39815 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39816 section with atom_text_section.
39817 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39818 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39819 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39821 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39822
a77d3c17
UD
39823 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39824 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39825 already be defined. Change to take two parameters and don't assign
39826 result to variable. Adjust all users.
39827 Define INTERNAL_GETTIME if not already defined.
39828 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39829 call.
39830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39831 HAVE_CLOCK_GETTIME_VSYSCALL.
39832 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39833
d53a73ac
UD
39834 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39835 gettimeofday vsyscall, just use time.
39836
a8f84144
AS
398372011-09-06 Andreas Schwab <schwab@redhat.com>
39838
39839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39840 <errno.h>.
39841
ef606249
UD
398422011-09-06 Ulrich Drepper <drepper@gmail.com>
39843
39844 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39845 syscall on x86-64.
39846 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39847 syscall.
39848 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39849 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39850 syscall if possible.
39851
6585cb60
UD
398522011-09-05 Ulrich Drepper <drepper@gmail.com>
39853
39854 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39855 e_ident. Don't pass to find_mapsXX.
39856 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39857
a5f524e4
LD
398582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39859
39860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39861 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39862 * sysdeps/x86_64/multiarch/strchr.S: Update.
39863 Check bit_slow_BSF bit.
39864 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39865 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39866 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39867
554881ef
UD
398682011-09-05 Ulrich Drepper <drepper@gmail.com>
39869
d96de963
UD
39870 [BZ #13134]
39871 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39872 before glibc 2.15.
39873 (tryshell): Define.
39874 (__spawni): Change last parameter to be flag. Test
39875 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39876 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39877 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39878 * posix/spawni.c: Likewise.
39879 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39880 * posix/spawnp.c: Likewise. Change normal version to use
39881 SPAWN_XFLAGS_USE_PATH.
39882 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39883 SPAWN_XFLAGS_TRY_SHELL.
39884
d48e5868
UD
39885 [BZ #13150]
39886 * posix/glob.h: Remove gcc 1.x support.
39887
554881ef
UD
39888 [BZ #13068]
39889 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39890
693fb948
LD
398912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39892
39893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39894 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39895 strrchr-sse2-bsf
39896 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39897 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39898 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39899 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39900 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39901 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39902
1b48c537
UD
399032011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39904
49d42c37
UD
39905 * sysdeps/x86_64/wcscmp.S: New file.
39906
1b48c537
UD
39907 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39908 wcscmp-c wcscmp-sse2
39909 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39910 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39911 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39912 * wcsmbs/wcscmp.c: Allow renaming.
39913
15c95c5d
DM
399142011-09-05 David S. Miller <davem@davemloft.net>
39915
39916 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39917 stack slot, rather than the struct return pointer slot.
39918 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39919 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39921 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39922
2f0ad8f3
UD
399232011-09-05 Ulrich Drepper <drepper@gmail.com>
39924
d88ae418
UD
39925 * po/ja.po: Update from translation team.
39926
2f0ad8f3
UD
39927 [BZ #13144]
39928 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39929 kernel in 64-bit binaries.
39930
5f4318d1
DM
399312011-09-01 David S. Miller <davem@davemloft.net>
39932
39933 * elf/elf.h (HWCAP_SPARC_*): Move to..
39934 * sysdeps/sparc/sysdep.h: this new file and add new values.
39935 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39936 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39937 _DL_HWCAP_COUNT to 24.
39938 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39939 entries.
39940 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39941 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39942 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39943 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39944 instead of magic constants.
39945 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39946
3ba57516
DM
399472011-08-31 David S. Miller <davem@davemloft.net>
39948
39949 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39951 Reimplement to do errno handling inline.
39952 (SYSCALL_ERROR_HANDLER): New macro.
39953 (__SYSCALL_STRING): Do not do errno handling in asm.
39954 (__CLONE_SYSCALL_STRING): Delete.
39955 (__INTERNAL_SYSCALL_STRING): Delete.
39956 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39957 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39958 (PSEUDO): Reimplement to do errno handling inline.
39959 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39960 (SYSCALL_ERROR_HANDLER): New macro.
39961 (__SYSCALL_STRING): Do not do errno handling in asm.
39962 (__CLONE_SYSCALL_STRING): Delete.
39963 (__INTERNAL_SYSCALL_STRING): Delete.
39964 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39965 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39966 i386.
39967 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39968 (inline_syscall*): Add 'err' argument.
39969 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39970 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39971 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39972 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39973
39974 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39975 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39976
2bc17433
AS
399772011-08-30 Andreas Schwab <schwab@redhat.com>
39978
39979 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39980
fbeb5f4d
JO
399812011-08-29 Jiri Olsa <jolsa@redhat.com>
39982
39983 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39984 directive.
39985
ad69cc26
DM
399862011-08-24 David S. Miller <davem@davemloft.net>
39987
39988 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39989
39dd69df
AS
399902011-08-24 Andreas Schwab <schwab@redhat.com>
39991
39992 * elf/Makefile: Add rules to build and run unload8 test.
39993 * elf/unload8.c: New file.
39994 * elf/unload8mod1.c: New file.
39995 * elf/unload8mod1x.c: New file.
39996 * elf/unload8mod2.c: New file.
39997 * elf/unload8mod3.c: New file.
39998
39999 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40000 it wasn't used.
40001
2c0b250a
DM
400022011-08-23 David S. Miller <davem@davemloft.net>
40003
40004 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40005 subtract stack bias.
40006 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40007 %sp not %fp in calculations.
40008 (_JMPBUF_UNWINDS_ADJ): Likewise.
40009
22044b48
DM
40010 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40011 (aio_suspend): Call it to force an exception region around the
40012 AIO_MISC_WAIT() invocation.
40013
2cae4995
AS
400142011-08-23 Andreas Schwab <schwab@redhat.com>
40015
40016 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40017 backslash.
40018
873a772e
AJ
400192011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40020
40021 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40022 protection macro.
40023 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40024 and <dl-machine.h>.
40025 (Elf64_FuncDesc): Remove.
40026
25ad0df1
DM
400272011-08-22 David S. Miller <davem@davemloft.net>
40028
40029 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40030 sigaltstack check, add missing cfi directives.
40031 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40032 missing cfi directives, and sigaltstack handling.
40033
e888bcbe
AS
400342011-08-16 Andreas Schwab <schwab@redhat.com>
40035
40036 [BZ #11724]
40037 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40038 object is seen twice.
40039 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40040
40041 * elf/Makefile (distribute): Add tst-initorder2.c.
40042 (tests): Add tst-initorder2.
40043 (modules-names): Add tst-initorder2a tst-initorder2b
40044 tst-initorder2c tst-initorder2d. Add rules to build them.
40045 ($(objpfx)tst-initorder2.out): New rule.
40046 * elf/tst-initorder2.c: New file.
40047 * elf/tst-initorder2.exp: New file.
40048
87162f46
AS
400492011-08-22 Andreas Schwab <schwab@redhat.com>
40050
70538b7f
AS
40051 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40052
f55ffe58
AS
40053 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40054 dependencies back to end of function.
40055
87162f46
AS
40056 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40057 $(elfobjdir)/ld.so.
40058
91b392a4
UD
400592011-08-21 Ulrich Drepper <drepper@gmail.com>
40060
40061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40062 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40063 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40064 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40065 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40066 of __vdso_gettimeofday.
40067 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40068 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40069 attribute_hidden.
40070 (_libc_vdso_platform_setup): Remove initialization of
40071 __vdso_gettimeofday and __vdso_time.
40072
5c43483f
UD
400732011-08-20 Ulrich Drepper <drepper@gmail.com>
40074
775a77e7
UD
40075 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40076 and fgetc_unlocked.
40077 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40078 getc_unlocked.
89f447ed 40079
49c74ba9
UD
40080 * elf/dl-open.c (add_to_global): Report additions to the global scope
40081 for LD_DEBUG=scopes.
40082 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 40083 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 40084
5c43483f
UD
40085 [BZ #13114]
40086 * stdio-common/Makefile (tests): Add bug24.
40087 * stdio-common/bug24.c: New file.
40088
a101b025
AJ
400892011-08-19 Andreas Jaeger <aj@suse.de>
40090
40091 [BZ #13114]
40092 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40093 non-existant file when using close-on-exec mode.
40094
c88f1766
UD
400952011-08-20 Ulrich Drepper <drepper@gmail.com>
40096
0276a718
UD
40097 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40098 the very first instruction.
40099
c88f1766
UD
40100 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40101 the CFI state in the end.
40102 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40103 inclusion of dl-trampoline.h.
40104 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40105
51ccffa0
AS
401062011-08-19 Andreas Schwab <schwab@redhat.com>
40107
94d7165f
AS
40108 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40109 expectations for long double.
40110
51ccffa0
AS
40111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40112 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40113
fd708658 401142011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
40115
40116 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40117 artificual limit depends upon the system page size.
40118
44f0a71e
UD
401192011-08-17 Ulrich Drepper <drepper@gmail.com>
40120
40121 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40122 * resolv/Makefile: Define CFLAGS-libresolv.
40123
8de79a24
AS
401242011-08-17 Andreas Schwab <schwab@redhat.com>
40125
40126 * nss/makedb.c (compute_tables): Make variables used in nested
40127 function static.
40128
27724598
UD
401292011-08-17 Ulrich Drepper <drepper@gmail.com>
40130
c5305d88
UD
40131 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40132 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40133 if buffer was too small.
40134
27724598
UD
40135 * elf/pldd.c (main): Attach to all threads in the process.
40136 Rewrite /proc handling to use *at functions.
40137
076fe015
UD
401382011-08-16 Ulrich Drepper <drepper@gmail.com>
40139
174baab3
UD
40140 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40141 specifies first scope to show.
40142 (dl_open_worker): Update callers. Move printing scope of new
40143 object to before the relocation.
44f0a71e 40144 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
40145 * sysdeps/generic/ldsodefs.h: Update declaration.
40146
076fe015
UD
40147 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40148 string for the scope number.
40149
a60df2c3
UD
401502011-08-14 Ulrich Drepper <drepper@gmail.com>
40151
40152 * nscd/servicescache.c (cache_addserv): Make sure written is always
40153 initialized.
40154
5e4287d1
RM
401552011-08-14 Roland McGrath <roland@hack.frob.com>
40156
85ae0589
RM
40157 * sysdeps/i386/i486/bits/atomic.h
40158 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40159 statement expression, so as to suppress "set but not used" warning.
40160 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40161
69f63097
RM
40162 * string/strncat.c (STRNCAT): Use prototype definition.
40163
675456ef
RM
40164 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40165 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40166 -Iprograms here.
40167 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40168 (localedef-modules): Add localedef.
40169 (locale-modules): Add locale.
40170
5e4287d1
RM
40171 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40172 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40173 to avoid a warning.
40174
9c96ff23
DM
401752011-08-14 David S. Miller <davem@davemloft.net>
40176
40177 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40178 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40179
f9ddf089
UD
401802011-08-13 Ulrich Drepper <drepper@gmail.com>
40181
44f0a71e 40182 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
40183 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40184 * elf/rtld.c (dl_main): Set l_name of vDSO.
40185 Call _dl_show_scope when DL_DEBUG_SCOPES.
40186 (process_dl_debug): Recognize scopes flag and also set it for all.
40187 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40188 Declare _dl_show_scope.
40189
1dc27704
UD
40190 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40191 (do_dlopen): Pass caller_dlopen to dl_open.
40192 (__libc_dlopen_mode): Initialize caller_dlopen.
40193
f9ddf089
UD
40194 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40195 of libc. Make tolower call locale-independent. Optimize a bit by
40196 using isdigit instead of isalnum.
40197 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40198
9ac533d3
UD
401992011-08-12 Ulrich Drepper <drepper@gmail.com>
40200
40201 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40202 was a dependency or dynamically loaded.
40203
89edf2e9
UD
402042011-08-11 Ulrich Drepper <drepper@gmail.com>
40205
8e999d29
UD
40206 * intl/l10nflist.c: Allow architecture-specific pop function.
40207 * sysdeps/x86_64/l10nflist.c: New file.
40208
89edf2e9
UD
40209 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40210 classification.
40211
14d96785
AS
402122011-08-10 Andreas Schwab <schwab@redhat.com>
40213
40214 * include/dirent.h: Add libc_hidden_proto for scandirat and
40215 scandirat64. Don't declare __scandirat64.
40216 * dirent/scandirat.c: Add libc_hidden_def.
40217 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40218 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40219
6761ac04
DM
402202011-08-10 David S. Miller <davem@davemloft.net>
40221
40222 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40223 enum.
40224 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40225 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40226 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40227
c55fbd1e
UD
402282011-08-09 Ulrich Drepper <drepper@gmail.com>
40229
40230 * Versions.def [libc]: Add GLIBC_2.15.
40231 * dirent/Makefile (routines): Add scandirat and scandirat64.
40232 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40233 GLIBC_2.15.
40234 * dirent/dirent.h: Declare scandirat and scandirat64.
40235 * dirent/scandirat.c: New file.
40236 * dirent/scandirat64.c: New file.
40237 * sysdeps/wordsize-64/scandirat.c: New file.
40238 * sysdeps/wordsize-64/scandirat64.c: New file.
40239 * dirent/opendir.c: Define opendirat.
40240 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40241 using scandirat.
40242 * dirent/scandir64.c: Adjust for scandir.c change.
40243 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40244 __scandirat64, and __scandir_cancel_handler.
40245 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40246 additional parameter and use openat instead of open (outside of ld.so).
40247 Add new __opendir as wrapper around __opendirat.
40248 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40249 here without requiring old scandirat implementation.
40250
879165f2
UD
402512011-08-08 Ulrich Drepper <drepper@gmail.com>
40252
40253 * dirent/scandir.c (cancel_handler): Renamed to
40254 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40255 defined. Adjust users.
40256 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40257 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40258
cb7e923b
UD
402592011-08-04 Ulrich Drepper <drepper@gmail.com>
40260
16292edd
UD
40261 * string/test-string.h (IMPL): Use __STRING to expand name and then
40262 stringify it.
40263
cb7e923b
UD
40264 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40265 of cleanups.
40266
cff82933
LD
402672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40268
40269 * string/Makefile: Update.
40270 (strop-tests): Append strncat.
40271 * string/test-wcscmp.c: New file.
40272 New comprehensive test for wcscmp.
40273 * string/test-strcmp.c: Update.
40274 (WIDE): New define.
40275
9be9bfcc
AS
402762011-07-22 Andreas Schwab <schwab@redhat.com>
40277
40278 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40279 line.
40280
2e96f1c7
AS
402812011-07-26 Andreas Schwab <schwab@redhat.com>
40282
40283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40284 encoding to ACE if AI_IDN.
40285
85188888
JJ
402862011-08-01 Jakub Jelinek <jakub@redhat.com>
40287
40288 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40289 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40290
5fa16e9b
LD
402912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40292
40293 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40294 Fix overflow bug in strncat.
40295 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40296
40297 * string/test-strncat.c: Update.
40298 Add new tests for checking overflow bugs.
40299
403002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40301
40302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40303 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40304 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40305 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40306 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40307 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40308 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40309 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40310 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40311
40312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40313 (USE_AS_STRCAT): Define.
40314 Add strcat and strncat support.
40315 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40316
8c1a459f
AS
403172011-07-25 Andreas Schwab <schwab@redhat.com>
40318
40319 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40320 __n bigger than INT_MAX+1.
40321 (__strncmp_g): Likewise.
40322
bba33c28
UD
403232011-07-23 Ulrich Drepper <drepper@gmail.com>
40324
798be72d
UD
40325 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40326 * libio/stido.h: Likewise.
40327
8accd4dc
UD
40328 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40329 (AF_NFC): Define.
40330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40331 (AF_NFC): Define.
40332
cbff0d96
UD
40333 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40334 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40335 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40336 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40338
9191c04a
UD
40339 [BZ #13021]
40340 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40341 installed.
40342
bba33c28
UD
40343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40344 typo.
40345 (_dl_x86_64_save_sse): Likewise.
40346
90f139dd
UD
403472011-07-22 Ulrich Drepper <drepper@gmail.com>
40348
1aae088a
UD
40349 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40350 OSXSAVE.
40351 (_dl_x86_64_save_sse): Likewise.
40352
8e2045f5
UD
40353 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40354
90f139dd
UD
40355 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40356
1d002f25
AS
403572011-07-21 Andreas Schwab <schwab@redhat.com>
40358
40359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40360 change.
40361 (_dl_x86_64_save_sse): Use correct AVX check.
40362
21137f89
UD
403632011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40364
40365 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40366 bug in strncpy/strncat.
40367 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40368
a65c0b7a
UD
403692011-07-21 Ulrich Drepper <drepper@gmail.com>
40370
40371 * string/tester.c (test_strcat): Add tests for different alignments
40372 of source and destination.
40373 (test_strncat): Likewise.
40374
6986b98a
UD
403752011-07-20 Ulrich Drepper <drepper@gmail.com>
40376
90bb2039
UD
40377 [BZ #12852]
40378 * posix/glob.c (glob): Check passed in values before using them in
40379 expressions to avoid some overflows.
40380 (glob_in_dir): Likewise.
40381
5644ef54
UD
40382 [BZ #13007]
40383 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40384 check for AVX enablement so that we don't crash with old kernels and
40385 new hardware.
40386 * elf/tst-audit4.c: Add same checks here.
40387 * elf/tst-audit6.c: Likewise.
40388
40389 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 40390
bfc9dc9b
AS
403912011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40392
40393 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40394
702e64bb
UD
403952011-07-20 Ulrich Drepper <drepper@gmail.com>
40396
40397 * po/cs.po: Update from translation team.
40398 * po/bg.po: Likewise.
40399
295e904f
MP
404002011-07-12 Marek Polacek <mpolacek@redhat.com>
40401
40402 * misc/sys/cdefs.h: Add support for const attribute.
40403 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40404 to gnu_dev_{major,minor,makedev} functions.
40405
3ff94596
MP
404062011-07-20 Marek Polacek <mpolacek@redhat.com>
40407
40408 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40409
28b59fca
AS
404102011-07-20 Andreas Schwab <schwab@redhat.com>
40411
40412 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40413 strlen results.
40414
19df733e
AK
404152011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40416
40417 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40418 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40419 register in order to avoid conflicts with the soft frame pointer
40420 being held in r11 when necessary.
40421 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40422 (INTERNAL_VSYSCALL_NCS): Likewise.
40423
c8835729
MP
404242011-07-14 Marek Polacek <mpolacek@redhat.com>
40425
40426 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40427 * elf/dl-fini.c (_dl_fini): Adjust caller.
40428 * elf/dl-close.c (_dl_close_worker): Likewise.
40429 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40430
b902330c
MP
404312011-07-15 Marek Polacek <mpolacek@redhat.com>
40432
8991e135
MP
40433 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40434 "aux_cache->nlibs < 0".
40435
b902330c
MP
40436 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40437 in the reload-count case.
40438
99710781
LD
404392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40440
40441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40442 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40443 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40444 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40445 * sysdeps/x86_64/multiarch/strcat.S: New file.
40446 * sysdeps/x86_64/multiarch/strncat.S: New file.
40447 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40448 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40449 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40450 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40451 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40452 (USE_AS_STRCAT): Define.
40453 Add strcat and strncat support.
40454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40455 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40456 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40457 * string/strncat.c: Update.
40458 (USE_AS_STRNCAT): Define.
40459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40460 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40461 and i7.
40462 * sysdeps/x86_64/multiarch/init-arch.h
40463 (bit_Prefer_PMINUB_for_stringop): New.
40464 (index_Prefer_PMINUB_for_stringop): Likewise.
40465 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40466 bit_Prefer_PMINUB_for_stringop.
40467
7dc6bd90
UD
404682011-07-19 Ulrich Drepper <drepper@gmail.com>
40469
40470 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40471 buffer64.
40472 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40473 of casting of buffer.
40474 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40475 buffer32 and buffer64.
40476 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40477 writes instead of casting of buffer.
40478 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40479 buffer32.
40480 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40481 casting of buffer.
40482
e0e72284
AS
404832011-07-19 Andreas Schwab <schwab@redhat.com>
40484
40485 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40486
feb1eb0b
UD
404872011-07-19 Ulrich Drepper <drepper@gmail.com>
40488
40489 * nscd/nscd.c (termination_handler): Don't do anything for a database
40490 if it has not yet been initialized.
40491
298711ff
UD
404922011-07-18 Ulrich Drepper <drepper@gmail.com>
40493
40494 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40495
404962011-07-15 Marek Polacek <mpolacek@redhat.com>
40497
40498 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40499
f9d68389
UD
405002011-07-18 Ulrich Drepper <drepper@gmail.com>
40501
40502 * po/nl.po: Update from translation team.
40503 * po/sv.po: Likewise.
40504
db290cf5
RM
405052011-07-16 Roland McGrath <roland@hack.frob.com>
40506
40507 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40508 now disallowed by GCC.
5c550700 40509
fd5e21c7
RM
40510 * configure.in (use-default-link): Default to yes if a test -shared
40511 link meets our qualifications.
40512 * configure: Regenerated.
40513
5c550700
RM
40514 * config.make.in (output-format): New variable.
40515 * configure.in: Check for ld --print-output-format support.
40516 * configure: Regenerated.
40517 * Makerules ($(common-objpfx)format.lds)
40518 [$(output-format) != unknown]: Just use $(output-format),
40519 instead of the linker-script munging.
40520
9fa2c032
RM
405212011-07-14 Roland McGrath <roland@hack.frob.com>
40522
a6928d51
RM
40523 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40524 of $(common-objpfx)shlib.lds.
40525 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40526
661607b3
RM
40527 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40528 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40529
9fa2c032
RM
40530 * configure.in (-z relro check): Adjust test code to add a large
40531 writable data section after it.
40532 * configure: Regenerated.
40533
defe9061
RM
405342011-07-11 Roland McGrath <roland@hack.frob.com>
40535
40536 * configure.in (-z relro check): Fix test code to make the variable
40537 truly const.
40538 * configure: Regenerated.
40539
319b9ad4
UD
405402011-07-11 Ulrich Drepper <drepper@gmail.com>
40541
40542 * nscd/nscd.h (struct traced_file): Define.
40543 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40544 elements. Add traced_files.
40545 (inotify_fd): Declare.
40546 (register_traced_file): Declare.
40547 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40548 (inotify_fd): Export.
40549 (resolv_conf_descr): Remove.
40550 (nscd_init): Move inotify descriptor creation to main.
40551 Don't register files for notification here.
40552 (register_traced_file): New function.
40553 (invalidate_cache): Don't use reset_res to determine whether to call
40554 res_init, go through the list of registered files.
40555 (main_loop_poll): The inotify descriptors are now stored in the
40556 structures for the traced files.
40557 (main_loop_epoll): Likewise
40558 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40559 to __nss_disable_nscd.
40560 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40561 for a database anymore. Check the records for all the registered
40562 files instead.
40563 * nss/Makefile (libnss_files-routines): Add files-init.
40564 (libnss_db-routines): Add db-init.
40565 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40566 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40567 * nss/nss_db/db-init.c: New file.
40568 * nss/nss_files/files-init.c: New file.
40569 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40570 __nss_lookup_function.
40571 (__nss_lookup_function): Call nss_load_library.
40572 (nss_load_all_libraries): New function.
40573 (__nss_disable_nscd): Take parameter with callback function for files
40574 to register. Set is_nscd. Load all the DSOs for the NSS modules
40575 used for the cached services.
40576 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40577 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40578 options for features to all the files in nscd.
40579
40580 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40581
23bee3e8
RM
405822011-07-10 Roland McGrath <roland@hack.frob.com>
40583
40584 * csu/elf-init.c (__libc_csu_init): Comment typo.
40585
46a5b7f0
UD
405862011-07-09 Ulrich Drepper <drepper@gmail.com>
40587
40588 * po/pl.po: Update from translation team.
40589 * po/ja.po: Likewise.
40590 * po/ru.po: Likewise.
40591 * po/ko.po: Likewise.
40592 * po/fr.po: Likewise.
40593
d30cf5bb
RM
405942011-07-09 Roland McGrath <roland@hack.frob.com>
40595
113ddea4
RM
40596 * configure.in (.ctors/.dtors header and trailer check):
40597 Use an empirical test on a built program.
40598 * configure: Regenerated.
40599
574920b4
RM
40600 * configure.in (-z relro check): Use an empirical test on a built DSO.
40601 Detect, but do not require, on ia64.
40602 * configure: Regenerated.
40603
d30cf5bb
RM
40604 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40605 Update tests that use readelf to use $READELF instead.
40606 * configure: Regenerated.
40607
8538fdb3
UD
406082011-07-08 Ulrich Drepper <drepper@gmail.com>
40609
40610 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40611 if the result is not used.
40612
04d08991
AJ
406132011-07-05 Andreas Jaeger <aj@suse.de>
40614
40615 [BZ#9696]
40616 * stdlib/tst-strtod.c: Add testcase.
40617
de283087
AD
406182011-07-07 Ulrich Drepper <drepper@gmail.com>
40619
4e5f31c8 40620 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40621 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40622 The latter has a higher limit. Take additional parameter to pass to
40623 the new function.
40624 (__pathconf): Pass file to __statfs_link_max.
40625 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40626 __statfs_link_max.
40627 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40628 __statfs_link_max.
40629
de283087
AD
40630 [BZ #12868]
40631 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40632 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40633 Handle Lustre.
40634 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40635 (__statfs_filesize_max): Likewise.
40636 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40637
c75fa153
AJ
406382011-07-05 Andreas Jaeger <aj@suse.de>
40639
40640 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40641
1a544854
UD
406422011-07-06 Marek Polacek <mpolacek@redhat.com>
40643
40644 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40645 `status' variable.
40646 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40647 Likewise.
40648
6f0eec67
UD
406492011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40650
40651 * Makefile (strop-tests): Add strncat.
40652 * string/test-strncat.c: New file.
40653
aae30307
UD
406542011-06-30 Marek Polacek <mpolacek@redhat.com>
40655
40656 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40657
c0cfb5eb
UD
406582011-06-21 Andreas Jaeger <aj@suse.de>
40659
40660 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40661 Copy rule from iconvdata/Makefile.
40662
01636b21
UD
406632011-07-06 Ulrich Drepper <drepper@gmail.com>
40664
40665 [BZ #12922]
40666 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40667 but no long options are defined, just return 'W'.
40668
9895c8bc
UD
406692011-06-22 Marek Polacek <mpolacek@redhat.com>
40670
40671 [BZ #9696]
40672 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40673
5d4cf042
UD
406742011-07-06 Ulrich Drepper <drepper@gmail.com>
40675
40676 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40677 netgroups to read.
960e5535 40678 (innetgr): Likewise.
5d4cf042 40679
751eb97e
RM
406802011-07-05 Roland McGrath <roland@hack.frob.com>
40681
40682 * config.make.in (install_root): Default to $(DESTDIR).
40683
f15f1e45
UD
406842011-07-05 Ulrich Drepper <drepper@gmail.com>
40685
40686 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40687
4e34ac6a
RM
406882011-07-02 Roland McGrath <roland@hack.frob.com>
40689
5e9b6af4
RM
40690 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40691
84f9ea0f
RM
40692 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40693 containing directory rather than embedding absolute directory names.
40694
ea5ee9f7
RM
40695 * scripts/check-local-headers.sh: Rewritten using awk.
40696 Match by word, not by line. Print error messages for matches.
40697 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40698
1b74661a
RM
40699 * Makerules [shlib-lds-flags empty]:
40700 ($(common-objpfx)libc_pic.opts): New target.
40701 ($(common-objpfx)libc_pic.os.clean): New target.
40702 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40703
40704 * config.make.in (OBJCOPY): New variable.
40705 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40706 * configure: Regenerated.
40707
f781ef40
RM
40708 * config.make.in (use-default-link): New variable.
40709 * configure.in (use_default_link): Grok --with-default-link to set it.
40710 * configure: Regenerated.
40711 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40712 (shlib-lds, shlib-lds-flags): Define to empty.
40713
2d4fa81e
RM
40714 * Makerules (shlib-lds): New variable.
40715 (shlib-lds-flags): New variable.
40716 (build-shlib, build-moduile, build-module-asneeded): Use it.
40717 ($(common-objpfx)libc.so): Use $(shlib-lds).
40718 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40719 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40720
31fffa6b
RM
40721 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40722 DT_FLAGS/DT_FLAGS_1 with zero flags.
40723
4e34ac6a
RM
40724 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40725 linker script munging.
40726
fcfc776b
UD
407272011-07-02 Ulrich Drepper <drepper@gmail.com>
40728
40729 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40730 as 128-bit value.
40731 * crypt/sha512.c (sha512_process_block): Perform total addition using
40732 128-bit if possible.
40733 (__sha512_finish_ctx): Likewise.
40734 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40735 as 64-bit value.
40736 * crypt/sha256.c (SWAP64): Define.
40737 (sha256_process_block): Perform total addition using 64-bit if
40738 possible.
40739 (__sha256_finish_ctx): Likewise.
40740
99231d9a
UD
407412011-07-01 Ulrich Drepper <drepper@gmail.com>
40742
40743 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40744 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40745 * nscd/hstcache.c (cache_addhst): Likewise.
40746 * nscd/grpcache.c (cache_addgr): Likewise.
40747 * nscd/aicache.c (addhstaiX): Likewise
40748 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40749
445b4a53
TK
407502011-07-01 Thorsten Kukuk <kukuk@suse.de>
40751
40752 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40753 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40754 * nscd/hstcache.c (cache_addhst): Likewise.
40755 * nscd/grpcache.c (cache_addgr): Likewise.
40756 * nscd/aicache.c (addhstaiX): Likewise
40757
6d4d8e8e
AS
407582011-07-01 Andreas Schwab <schwab@redhat.com>
40759
40760 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40761 domain only when needed.
40762
89f654c5
AS
407632011-06-30 Andreas Schwab <schwab@redhat.com>
40764
40765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40766 is always restored.
40767
cf3b23ff
UD
407682011-06-29 Ulrich Drepper <drepper@gmail.com>
40769
40770 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40771 are re-adding the entry.
40772 * nscd/servicescache.c (cache_addserv): Likewise.
40773
751626f9
AJ
407742011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40775
40776 * sysdeps/generic/dl-irel.h: fix protection against multiple
40777 inclusions.
40778 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40779
9113ea1f
UD
407802011-06-28 Ulrich Drepper <drepper@gmail.com>
40781
5c0b8d90
UD
40782 [BZ #12935]
40783 * malloc/memusage.sh: Fix quoting in message.
40784 * debug/xtrace.sh: Likewise.
40785
9113ea1f
UD
40786 * configure.in: Remove support for --experimental-malloc option, make
40787 it the default.
40788 * config.make.in: Likewise.
40789 * malloc/Makefile: Likewise.
40790
a4172181
AS
407912011-06-27 Andreas Schwab <schwab@redhat.com>
40792
40793 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40794 two-byte characters.
40795
78a7eee7
RM
407962011-06-27 Roland McGrath <roland@hack.frob.com>
40797
62bede13
RM
40798 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40799 AC_CACHE_CHECK invocation.
40800 * configure: Regenerated.
40801
78a7eee7
RM
40802 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40803
5ce33a62
UD
408042011-06-27 Ulrich Drepper <drepper@gmail.com>
40805
034807a9
UD
40806 [BZ #12350]
40807 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40808 bit from old_res_options.
40809
4902da17
UD
40810 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40811
5ce33a62
UD
40812 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40813 value type for setfct.
40814
c2344f56
L
408152011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40816
40817 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40818 __gettimeofday instead of gettimeofday.
40819
68468076
UD
408202011-06-26 Ulrich Drepper <drepper@gmail.com>
40821
40822 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40823
acb0d739
L
408242011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40825
40826 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40827
40828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40829 info.
40830
8912479f
L
408312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40832
40833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40834 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40835 strcpy-sse2-unaligned strncpy-sse2-unaligned
40836 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40837 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40838 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40839 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40840 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40841 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40842 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40843 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40844 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40845 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40846 (STRCPY): Support SSE2 and SSSE3 versions.
40847
d5495a11
UD
408482011-06-24 Ulrich Drepper <drepper@gmail.com>
40849
40850 [BZ #12874]
40851 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40852 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40853 kernels which artificially limit size of requests.
40854
0b1cbaae
L
408552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40856
40857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40858 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40859 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40860 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40861 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40862 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40863 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40864 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40865 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40866 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40867 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40868 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40869 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40870 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40871 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40873 Enable unaligned load optimization for Intel Core i3, i5 and i7
40874 processors.
40875 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40876 Define.
40877 (index_Fast_Unaligned_Load): Define.
40878 (HAS_FAST_UNALIGNED_LOAD): Define.
40879
07f494a0
MP
408802011-06-23 Marek Polacek <mpolacek@redhat.com>
40881
40882 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40883
fa3fc0fe
UD
408842011-06-22 Ulrich Drepper <drepper@gmail.com>
40885
40886 [BZ #12907]
40887 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40888 until it is clear that the information is realy needed.
40889 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40890
e12df166
AS
408912011-06-22 Andreas Schwab <schwab@redhat.com>
40892
40893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40894
852eb34d
UD
408952011-06-22 Ulrich Drepper <drepper@gmail.com>
40896
84e2a551
UD
40897 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40898 /sys/devices/system/cpu/online if it is usable.
40899
852eb34d
UD
40900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40901 reading the information from the /proc filesystem to once a second.
40902
6e502e19
UD
409032011-06-21 Andreas Jaeger <aj@suse.de>
40904
40905 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40906 NULL after inclusion of kernel headers.
40907
75d39ff2
UD
409082011-06-21 Ulrich Drepper <drepper@gmail.com>
40909
51f9aa6a
UD
40910 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40911 calls to internal_setent.
40912
c0244a9d
UD
40913 [BZ #12885]
40914 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40915 addresses using gethostbyname4_r ignore IPv4 addresses.
40916
c5e3c2ae
UD
40917 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40918 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40919
75d39ff2
UD
40920 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40921
42675c6f
DM
409222011-06-20 David S. Miller <davem@davemloft.net>
40923
40924 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40925 inclusions.
40926 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40927
40928 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40929 (elf_irel): Use it.
40930 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40931 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40932 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40933 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40934 * sysdeps/x86_64/dl-irel.h: Likewise.
40935
40936 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40937 * elf/dl-sym.c: Likewise.
40938
57912a71
UD
409392011-06-15 Ulrich Drepper <drepper@gmail.com>
40940
40941 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40942 need to dereference resplen2.
40943
ee22793d
AS
409442011-06-14 Andreas Schwab <schwab@redhat.com>
40945
40946 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40947
a9e836b0
UD
409482011-06-15 Ulrich Drepper <drepper@gmail.com>
40949
77fb9117
UD
40950 * Makeconfig: Define vardbdir and inst_vardbdir.
40951 * nss/Makefile: Add rules to install db-Makefile.
40952
40c1b22c
UD
40953 * nss/nss_db/db-XXX.c: Cleanup.
40954
9f2da732
UD
40955 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40956 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40957 GLIBC_PRIVATE.
40958 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40959 * nss/makedb.c: Implement -g option to specify that value strings
40960 are generated and should not be added to table iterated over for
40961 get*ent calls.
40962 * nss/nss_db/db-initgroups.c: New file.
40963
82e9a1f7
UD
40964 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40965 interface.
40966
c41af17e
UD
40967 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40968 (internal_getgrouplist): Adjust to name change.
40969 Update use_initgroups_entry if this is not the first call.
40970 * nss/databases.def: Add initgroups entry.
40971
a9e836b0
UD
40972 * nss/makedb.c (compute_tables): Check result of multiple hash table
40973 sizes to minimize maximum chain length.
40974
2666d441
UD
409752011-06-14 Ulrich Drepper <drepper@gmail.com>
40976
40977 * Versions.def: Add entry for libnss_db.
40978 * shlib-versions: Likewise.
40979 * nss/Makefile: Add rules to build libnss_db.
40980 * nss/Versions: Add libnss_db information. Organize libnss_files
40981 entries better.
40982 * nss/db-Makefile: Add gshadow support. Change rules for the new
40983 makedb progra. Some minor improvements to generate smaller files.
40984 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40985 here from...
40986 * nss/makedb.c: ...here.
40987 Improve database format to be smaller and require less memory at
40988 runtime.
40989 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40990 db anymore.
40991 * nss/nss_db/db-netgrp.c: Likewise.
40992 * nss/nss_db/db-open.c: Likewise.
40993 * nss/nss_files/flies-XXX.x: Adjust comments.
40994 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40995 * nss/nss_files/files-grp.c: Likewise.
40996 * nss/nss_files/files-hosts.c: Likewise.
40997 * nss/nss_files/files-network.c: Likewise.
40998 * nss/nss_files/files-proto.c: Likewise.
40999 * nss/nss_files/files-pwd.c: Likewise.
41000 * nss/nss_files/files-rpc.c: Likewise.
41001 * nss/nss_files/files-service.c: Likewise.
41002 * nss/nss_files/files-sgrp.c: Likewise.
41003 * nss/nss_files/files-spwd.c: Likewise.
41004 * nss/nss_db/db-alias.c: Removed.
41005 * nss/nss_db/dummy-db.h: Removed.
41006
9ee76b5a
UD
410072011-06-02 Ulrich Drepper <drepper@gmail.com>
41008
41009 * nss/makedb.c: Rewritten to not use database library.
41010 * nss/Makefile: Update to build new makedb program.
41011
c71ca1f8
AJ
410122011-06-14 Andreas Jaeger <aj@suse.de>
41013
41014 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41015 memset declaration.
41016
3154bfb8
UD
410172011-06-10 Andreas Schwab <schwab@redhat.com>
41018
41019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41020 tmpbuf.
41021
b350afab
RM
410222011-06-10 Roland McGrath <roland@hack.frob.com>
41023
decd4e50
RM
41024 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41025 * elf/Makefile ($(objpfx)ld.so): Likewise.
41026
5615eaf2
RM
41027 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41028 Don't list ld.so twice in dependencies.
41029
41030 * posix/bug-regex31.c: Include <stdlib.h>.
41031
41032 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41033
41034 * nis/nss_compat/compat-spwd.c
41035 (getspent_next_nss_netgr): Remove unused variable.
41036 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41037
41038 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41039 nonmembers" output to use the right array.
41040
41041 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41042
41043 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41044
41045 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41046 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41047 * catgets/gencat.c (read_input_file): Likewise.
41048 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41049
41050 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41051 variable definition inside #if's controlling its use.
41052
41053 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41054
41055 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41056
41057 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41058
41059 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41060 unreachable code.
41061
41062 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41063
b68e08db
RM
41064 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41065 * configure: Regenerated.
41066
b350afab
RM
41067 * Makerules: Revert last change.
41068 * elf/Makefile: Likewise.
41069
28368601
RM
410702011-06-09 Roland McGrath <roland@hack.frob.com>
41071
41072 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41073 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41074 (reloc-link): Likewise.
41075
11988f8f
UD
410762011-06-09 Ulrich Drepper <drepper@gmail.com>
41077
41078 * elf/Makefile: Add rules to build pldd.
41079 * elf/pldd.c: New file.
41080 * elf/pldd-xx.c: New file.
41081
e80fab37
UD
410822011-06-07 Ulrich Drepper <drepper@gmail.com>
41083
41084 * version.h: Update for 2.15 development version.
41085
9b849836
DM
410862011-06-07 David S. Miller <davem@davemloft.net>
41087
41088 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41089 ifuncs.
41090 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41091 elf_machine_lazy_rel): Likewise.
41092 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41093 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41094 elf_machine_lazy_rel): Likewise.
41095 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41096 dl_hwcap via passed in argument.
41097 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41098 Likewise.
41099
5a31b283
AK
411002011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41101
41102 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41103
069e52f8
RM
411042011-06-06 Roland McGrath <roland@hack.frob.com>
41105
41106 [BZ #12849]
41107 * manual/fdl-1.1.texi: New file, verbatim from:
41108 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41109 * manual/lgpl-2.1.texi: New file, verbatim from:
41110 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41111 * manual/Makefile (licenses): New variable, list those new file names.
41112 (texis): Use it.
41113 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41114
41115 * manual/fdl.texi: File removed.
41116 * manual/lesser.texi: File removed.
41117 * manual/libc.texinfo (Copying, Documentation License):
41118 Use new @include file names, put @appendix directive before @include.
41119
f16846a5
JJ
411202011-06-04 Jakub Jelinek <jakub@redhat.com>
41121
41122 [BZ #12841]
41123 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41124 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41125 (mq_open): Add __NTH.
41126
3d29045b
L
411272011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41128
41129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41130 Assume Intel Core i3/i5/i7 processor if AVX is available.
41131
8c297311
UD
411322011-05-31 Ulrich Drepper <drepper@gmail.com>
41133
41134 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41135 typo.
41136
c8fc0c91
UD
411372011-05-31 Andreas Schwab <schwab@redhat.com>
41138
41139 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41140 memory. Use alloca_account. Fix memory leak when retrying.
41141
5b27a807
UD
411422011-05-31 Ulrich Drepper <drepper@gmail.com>
41143
356f8bc6
UD
41144 * version.h (RELEASE): Bump for 2.14 release.
41145 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41146
5b27a807
UD
41147 * config.make.in (RANLIB): Remove entry.
41148
01f16ab0
UD
411492011-05-30 Ulrich Drepper <drepper@gmail.com>
41150
41fce8bd
UD
41151 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41152 (libc.pot): Work around missing support for .ksh extension in xgettext.
41153
4769ae77
UD
41154 [BZ #12684]
41155 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41156 if both request failed.
41157 (send_dg): In case of server errors clear resplen or *resplen2.
41158
6b1e7d19
UD
41159 [BZ #12454]
41160 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41161 when there are multiple maps.
41162 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41163 (_dl_fini): Remove test here.
41164
01f16ab0
UD
41165 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41166
b1ebd700
UD
411672011-05-29 Ulrich Drepper <drepper@gmail.com>
41168
7ae22829
UD
41169 [BZ #12350]
41170 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41171 bit from old_res_options.
41172 (gaih_inet): Likewise.
41173
553149f6 41174 [BZ #11099]
18a84741 41175 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
41176 as signed.
41177
652ffab1
UD
41178 * resolv/res_init.c (res_setoptions): Make the code more compact.
41179
16985fd0
UD
41180 [BZ #11558]
41181 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41182 set RES_USEVC.
41183
0464f746
UD
41184 [BZ #11634]
41185 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41186
7d17596c
UD
41187 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41188
cf6bbbd7
UD
41189 [BZ #11781]
41190 * malloc/malloc.h: Declare malloc hook variables as volatile.
41191
13f1ab36
UD
41192 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41193 in last patch.
41194
b1ebd700
UD
41195 [BZ #11799]
41196 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 41197 raise in the comment.
80e2212d
UD
41198 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41199 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41200 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 41201
ce67228d
UD
412022011-05-28 Ulrich Drepper <drepper@gmail.com>
41203
8887a920
UD
41204 [BZ #12811]
41205 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41206 grow the buffers more if it already has to be sufficient.
41207 (build_wcs_upper_buffer): Likewise.
41208 * posix/regexec.c (check_matching): Likewise.
41209 (clean_state_log_if_needed): Likewise.
41210 (extend_buffers): Don't enlarge buffers beyond size of the input
41211 buffer.
41212 Patches mostly by Emil Wojak <emil@wojak.eu>.
41213 * posix/bug-regex32.c: New file.
41214 * posix/Makefile (tests): Add bug-regex32.
41215
4f031072
UD
41216 * locale/findlocale.c (_nl_find_locale): Return right away if
41217 _nl_explode_name failed.
41218 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41219
d0478f0c
UD
41220 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41221
de81b246
UD
41222 * debug/xtrace.sh: Unify messages.
41223 * malloc/memusage.sh: Likewise.
41224
c738465a
UD
41225 [BZ #12813]
41226 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41227 time symbol from vDSO. Substitute with vsyscall if not available.
41228 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41229 __vdso_time.
41230
f1f929d7
UD
41231 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41232 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41233 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41234 Add sendmmsg and internal_sendmmsg.
41235 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41236 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41237 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41238
ce67228d
UD
41239 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41240 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41241 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41242
e57420c6
UD
412432011-05-27 Ulrich Drepper <drepper@gmail.com>
41244
a8509ca5
UD
41245 [BZ #12813]
41246 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41247 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41248 available.
41249 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41250 __vdso_getcpu.
41251
e57420c6
UD
41252 [BZ #12814]
41253 * iconvdata/Makefile (tests): Add bug-iconv9.
41254 * iconvdata/bug-iconv9.c: New file.
41255
4d07db15
AS
412562011-05-27 Andreas Schwab <schwab@redhat.com>
41257
41258 [BZ #12814]
41259 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41260
ea486f69
JJ
412612011-05-25 Jakub Jelinek <jakub@redhat.com>
41262
41263 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41264 (struct user_regs_struct): Change intcs field back to cs.
41265
6f038433
UD
412662011-05-25 Ulrich Drepper <drepper@gmail.com>
41267
41268 * po/ja.po: Update from translation team.
41269
67f86a25
UD
412702011-05-23 Ulrich Drepper <drepper@gmail.com>
41271
41272 [BZ #12795]
41273 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41274 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41275
def7fbd6
AS
412762011-05-20 Andreas Schwab <schwab@redhat.com>
41277
41278 * stdlib/longlong.h: Update from GCC.
41279
f50ef8f1
AS
412802011-05-23 Andreas Schwab <schwab@redhat.com>
41281
41282 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41283 parameter name.
41284 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41285 Add parameter name.
41286 (__sysconf): Pass it down.
41287
de7ce8f1
UD
412882011-05-22 Ulrich Drepper <drepper@gmail.com>
41289
f2962a71
UD
41290 [BZ #12671]
41291 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41292 some situations.
41293 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41294 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41295 add in in __libc_use_alloca calls. Adjust callers.
41296 (glob): Use malloc in some situations.
41297
de7ce8f1
UD
41298 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41299 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41300 pltexit.
41301
aec84f53
UD
413022011-05-21 Ulrich Drepper <drepper@gmail.com>
41303
05bb4a68
UD
41304 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41305 and CLOCK_BOOTTIME_ALARM.
41306
7ea72f99
UD
41307 [BZ #12782]
41308 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41309 is returned.
41310
7e4afad5
UD
41311 * string/_strerror.c (__strerror_r): Print negative errors as signed
41312 numbers.
41313
8e211fec
UD
41314 [BZ #12777]
41315 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41316 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41317 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41318
f7d82dc9
UD
41319 * configure.in: Fix typo in redirection and correct removal of test
41320 files in two cases.
41321
cc9e536d
UD
41322 [BZ #12788]
41323 * locale/setlocale.c (new_composite_name): Fix test to check for
41324 identical name of all categories.
41325
aec84f53
UD
41326 [BZ #12792]
41327 * libio/filedoalloc.c (local_isatty): New function.
41328 (_IO_file_doallocate): Use local_isatty.
41329 * stdio-common/perror.c (perror): In case a new stream is used
41330 forward the stream error.
41331 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41332 error flag.
41333
78e64fdc
RT
413342011-05-20 Ulrich Drepper <drepper@gmail.com>
41335
34a9094f
UD
41336 [BZ #11869]
41337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41338 alloca.
41339 * include/alloca.h (extend_alloca_account): Define.
41340
78e64fdc
RT
41341 [BZ #11857]
41342 * posix/regex.h: Fix comments with documentation of user-accessible
41343 fields after compilation and describe correct free'ing of pattern
41344 after re_compile_pattern.
41345 Patch by Reuben Thomas <rrt@sc3d.org>.
41346
457bddfc
RA
413472011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41348
41349 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41350 and -mno-altivec to prevent the compiler from using Altivec and/or
41351 VSX instructions when the corresponding registers are not available.
41352
a4527b51
AS
413532011-05-19 Andreas Schwab <schwab@redhat.com>
41354
41355 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41356
ed690b2f
UD
413572011-05-19 Ulrich Drepper <drepper@gmail.com>
41358
41359 * libio/freopen.c (freopen): Use __dup2, not dup2.
41360 * libio/freopen64.c (freopen64): Likewise.
41361
8db73634
L
413622011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41363
41364 [BZ #12775]
41365 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41366 * math/Makefile (tests): Add test-powl.
41367 (CFLAGS-test-powl.c): Define.
41368 * math/test-powl.c: New file.
41369
0a197a9d
L
413702011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41371
41372 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41373
ee30c380
UD
413742011-05-17 Ulrich Drepper <drepper@gmail.com>
41375
41376 [BZ #11837]
41377 * iconvdata/gb18030.c: Update to GB18020-2005.
41378
6ce75379
UD
413792011-05-16 Ulrich Drepper <drepper@gmail.com>
41380
a4b89fd8
AR
41381 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41382 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41383 Patch by Aharon Robbins <arnold@skeeve.com>.
41384
ea389b12
UD
41385 [BZ #11892]
41386 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41387 on the stack.
41388
68a3f91f
UD
41389 [BZ #11895]
41390 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41391 through underflows.
41392
15cc7dd1
UD
41393 [BZ #12766]
41394 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41395 point to strings before performing equality test for error_one_per_line
41396 mode.
41397
f3799213
UD
41398 [BZ #11697]
41399 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41400
d79a9c94
UD
41401 [BZ #11820]
41402 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41403 (struct user_fpregs_struct): Avoid __uint*_t types.
41404
56e5eb46
UD
41405 [BZ #6420]
41406 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41407 symbol info. Use it instead of calling _dl_addr locally.
41408 (lock_and_info): New function.
41409 (tr_freehook): Call lock_and_info and pass symbol info as additional
41410 parameter to tr_where.
41411 (tr_mallochook): Likewise.
41412 (tr_reallochook): Likewise.
41413 (tr_memalignhook): Likewise.
41414
6ce75379
UD
41415 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41416 used and couldn't be at all thread-safe.
41417
f8a3b5bf
UD
414182011-05-15 Ulrich Drepper <drepper@gmail.com>
41419
94b7cc37
UD
41420 * libio/freopen.c (freopen): Don't close old file descriptor
41421 before the new one is opened. Instead dup the new file descriptor
41422 to the old one after the new stream is created.
41423 * libio/freopen64.c (freopen64): Likewise.
41424 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41425 * libio/fileops.c (_IO_new_file_close_it): Handle new
41426 _IO_FLAGS2_NOCLOSE flag.
41427 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41428 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41429 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41430 _IO_FLAGS2_NOCLOSE flag.
41431 * include/unistd.h: Add hidden_proto for dup3.
41432 Define __have_dup3.
41433 * io/dup3.c: Define hidden symbol.
41434 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41435
bd25564e
UD
41436 [BZ #7101]
41437 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41438 when an incomplete long option is used.
41439 * posix/tst-getopt_long1.c: New file.
41440 * posix/Makefile (tests): Add tst-getopt_long1.
41441
c84cfef4
UD
41442 [BZ #10138]
41443 * scripts/config.guess: Update from autoconf-2.68.
41444 * scripts/config.sub: Likewise.
41445
3b85df27
UD
41446 [BZ #10157]
41447 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41448 tests into ...
41449 (has_cpuclock): ...this. New function.
41450 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41451 macro here based on has_cpuclock code.
41452
15a856b1
UD
41453 [BZ #10149]
41454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41455 First byte (not low byte) is now always NUL.
41456 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41457
05f399e6
UD
41458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41459 Use non-cancelable interfaces.
41460
10a52685 41461 [BZ #9809]
94ecc67d
UD
41462 * locale/iso-639.def: Add entry for Sorani.
41463
f8a3b5bf
UD
41464 [BZ #11901]
41465 * include/stdlib.h: Move include protection to the right place.
41466 Define abort_msg_s. Declare __abort_msg with it.
41467 * stdlib/abort.c (__abort_msg): Adjust type.
41468 * assert/assert.c (__assert_fail_base): New function. Majority
41469 of code from __assert_fail. Allocate memory for __abort_msg with
41470 mmap.
41471 (__assert_fail): Now call __assert_fail_base.
41472 * assert/assert-perr.c: Remove bulk of implementation. Use
41473 __assert_fail_base.
41474 * include/assert.hL Declare __assert_fail_base.
41475 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41476 mmap.
41477 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41478
1af4e298
UD
414792011-05-14 Ulrich Drepper <drepper@gmail.com>
41480
f8a3b5bf 41481 [BZ #11952]
d26dfc60
MG
41482 [BZ #12453]
41483 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41484 until all modules are registered in the DTV.
41485 * elf/Makefile: Add rules to build and run tst-tls19.
41486 * elf/tst-tls19.c: New file.
41487 * elf/tst-tls19mod1.c: New file.
41488 * elf/tst-tls19mod2.c: New file.
41489 * elf/tst-tls19mod3.c: New file.
41490 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41491
2fc54d6f
UD
41492 [BZ #12083]
41493 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41494 correctly.
41495
98d76b46
UD
41496 [BZ #12601]
41497 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41498 two-byte sequence errors.
41499 * iconvdata/Makefile (tests): Add bug-iconv8.
41500 * iconvdata/bug-iconv8.c: New file.
41501
da3c19ef
UD
41502 [BZ #12626]
41503 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41504 buf2 definition.
41505
ca408c15
UD
41506 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41507
d6f67f7d
UD
41508 [BZ #12432]
41509 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41510 (dummy_getcfa): New function.
41511 (init): Get _Unwind_GetCFA address, use dummy if not found.
41512 (backtrace_helper): In recursion check, also check whether CFA changes.
41513 (__backtrace): Completely initialize arg.
41514
1af4e298 41515 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41516 storing incomplete byte sequence in state object. Avoid testing for
41517 guaranteed too small input if we know there is enough data available.
1af4e298 41518
da62f81b
AS
415192011-05-11 Andreas Schwab <schwab@redhat.com>
41520
41521 * Makeconfig (+link-pie): Indent.
41522 * Rules (binaries-pie): Define if $(have-fpie) and
41523 $(build-shared).
41524 (binaries-shared): Also filter out $(binaries-pie).
41525 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41526 * nscd/Makefile (others-pie): Add nscd.
41527 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41528 ($(objpfx)nscd): Remove command override.
41529 * login/Makefile (others-pie): Add pt_chown.
41530 ($(objpfx)pt_chown): Remove command override.
41531 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41532 remove command overrides.
41533
fcabc0f8
UD
415342011-05-13 Ulrich Drepper <drepper@gmail.com>
41535
20030ae6
UD
41536 * libio/tst_putwc.c: Fix error messages.
41537
fcabc0f8
UD
41538 [BZ #12724]
41539 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41540 currently writing and seek to current position when not.
41541 * libio/Makefile (tests): Add bug-fclose1.
41542 * libio/bug-fclose1.c: New file.
41543
320a5dc0
PB
415442011-05-12 Ulrich Drepper <drepper@gmail.com>
41545
41546 [BZ #12511]
41547 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41548 don't set DF_1_NODELETE here.
41549 (do_lookup_x): When entering new entry test for copy relocation
41550 and if necessary set DF_1_NODELETE flag.
41551 * elf/tst-unique4.cc: New file.
41552 * elf/tst-unique4.h: New file.
41553 * elf/tst-unique4lib.cc: New file.
41554 * elf/Makefile: Add rules to build and run tst-unique4.
41555 Patch by Piotr Bury <pbury@goahead.com>.
41556
22836f52
UD
415572011-05-11 Ulrich Drepper <drepper@gmail.com>
41558
f574184a
UD
41559 [BZ #12052]
41560 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41561
e1fb097f
UD
41562 [BZ #12625]
41563 * misc/mntent_r.c (addmntent): Flush the stream after the output
41564
22836f52
UD
41565 [BZ #12393]
41566 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41567 (is_trusted_path_normalize): Skip initial colon. Append slash
41568 to empty buffer. Duplicate is_trusted_path code but allow
41569 constructed patch to be prefix.
41570 (is_dst): Allow $ORIGIN followed by /.
41571 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41572 Correct testing of result of is_trusted_path_normalize
41573 (decompose_rpath): Fix warning.
41574
7b3b0b2a
UD
415752011-05-10 Ulrich Drepper <drepper@gmail.com>
41576
41577 [BZ #11257]
41578 * grp/initgroups.c (internal_getgrouplist): When we found the service
41579 list through the initgroups entry in nsswitch.conf do not always
41580 continue on a successful lookup. Don't always use the
eac80ce2 41581 __nss_group_database value if it is set.
7b3b0b2a
UD
41582 * nss/nsswitch.conf (initgroups): Change action for successful db
41583 lookup to continue for compatibility.
41584
2a81eaa5
UD
415852011-05-09 Ulrich Drepper <drepper@gmail.com>
41586
be97a69e
UD
41587 [BZ #11532]
41588 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41589 and CP774 modules.
41590 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41591 and CP774 modules.
41592 * iconvdata/tst-tables.sh: Likewise.
41593 * iconvdata/cp770.c: New file.
41594 * iconvdata/cp771.c: New file.
41595 * iconvdata/cp772.c: New file.
41596 * iconvdata/cp773.c: New file.
41597 * iconvdata/cp774.c: New file.
41598 * iconvdata/testdata/CP770: New file.
41599 * iconvdata/testdata/CP770..UTF8: New file.
41600 * iconvdata/testdata/CP771: New file.
41601 * iconvdata/testdata/CP771..UTF8: New file.
41602 * iconvdata/testdata/CP772: New file.
41603 * iconvdata/testdata/CP772..UTF8: New file.
41604 * iconvdata/testdata/CP773: New file.
41605 * iconvdata/testdata/CP773..UTF8: New file.
41606 * iconvdata/testdata/CP774: New file.
41607 * iconvdata/testdata/CP774..UTF8: New file.
41608
41609 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41610 END CHARMAP line.
41611 * iconvdata/gen-8bit-gap.sh: Likewise.
41612 * iconvdata/gen-8bit.sh: Likewise.
41613
c1e9e399
UD
41614 * locale/iso-639.def: Add ary entry.
41615
24c55fb3 41616 [BZ #11258]
96b4b1b0
UD
41617 * locale/C-translit.h.in: Add U20A1 transliteration.
41618
bdc2f971
KB
41619 [BZ #12178]
41620 * locale/iso-639.def: Add wae entry.
41621 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41622
2952b117
UD
41623 [BZ #12545]
41624 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41625 for n.
41626
2a81eaa5
UD
41627 [BZ #12711]
41628 * locale/C-translit.h.in: Add entry for U20B9.
41629 Patch by pravin.d.s@gmail.com.
41630
28377d1b
UD
416312011-05-08 Ulrich Drepper <drepper@gmail.com>
41632
7fb90fb8
UD
41633 [BZ #12713]
41634 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41635 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41636 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41637 in rtld. Use *stat64.
7fb90fb8 41638 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41639 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41640 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41641 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41642 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41643 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41644 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41645 __fstatat64 macros.
7fb90fb8
UD
41646 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41647 * dirent/rewinddir.c: Add libc_hidden_def.
41648 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41649 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41650
28377d1b
UD
41651 * include/dirent.h (__alloc_dir): Add flags parameter.
41652 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41653 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41654 __alloc_dir.
41655 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41656 from fdopendir if O_CLOEXEC is already set.
41657
66bdbaa4
AM
416582011-03-15 Alan Modra <amodra@gmail.com>
41659
41660 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41661 l_tls_firstbyte_offset non-zero. Save padding offset in
41662 l_tls_firstbyte_offset for later use.
41663 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41664 freeing static tls block.
41665
95721191
JN
416662011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41667
41668 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41669 where #ifdef was intended. The intent is to prevent ARG_MAX from
41670 being defined by the kernel headers.
41671
f87dfb1f
UD
416722011-05-07 Ulrich Drepper <drepper@gmail.com>
41673
41674 [BZ #12734]
41675 * resolv/resolv.h: Define RES_NOTLDQUERY.
41676 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41677 no-tld-query and set RES_NOTLDQUERY.
41678 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41679 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41680 modern BIND to search name as TLD unless forbidden.
41681
47c3cd7a
UD
416822011-05-07 Petr Baudis <pasky@suse.cz>
41683 Ulrich Drepper <drepper@gmail.com>
41684
41685 [BZ #12393]
41686 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41687 (is_trusted_path): ...to here.
c1e9ea35 41688 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41689 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41690 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41691
8a35c912
PP
416922011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41693
41694 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41695 __BEGIN/__END_DECLS.
41696
acd41f47
UD
416972011-05-06 Ulrich Drepper <drepper@gmail.com>
41698
41699 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41700 NSS_STATUS_NOTFOUND if no record was found.
41701
597df647
AS
417022011-05-05 Andreas Schwab <schwab@redhat.com>
41703
41704 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41705 (headers-not-in-tirpc): Remove rpc/netdb.h
41706 * resolv/netdb.h: Revert last change.
41707
b9af1301
PP
417082011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41709
41710 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41711 circular dependency between libgcc.a and libc.a.
41712
4e34d5f5
AS
417132011-05-05 Andreas Schwab <schwab@redhat.com>
41714
41715 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41716 * nis/Makefile: Don't install rpcsvc/*.
41717 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41718 instead of <rpc/types.h>.
41719 (MAXHOSTNAMELEN): Define.
41720
00ee369c
AS
417212011-05-03 Andreas Schwab <schwab@redhat.com>
41722
41723 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41724
0b592a30
MB
417252011-04-28 Maciej Babinski <mbabinski@google.com>
41726
41727 [BZ #12714]
41728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41729 gethostbyname4_r when IPv6 results are possible.
41730
6e04cbbe
UD
417312011-05-02 Ulrich Drepper <drepper@gmail.com>
41732
41733 [BZ #12723]
41734 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41735 _PC_PIPE_BUF handling.
41736
e4ecafe0
BH
417372011-04-30 Bruno Haible <bruno@clisp.org>
41738
41739 [BZ #12717]
41740 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41741 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41742 to 'int'.
41743 * inet/getnameinfo.c (getnameinfo): Likewise.
41744
125ee683
UD
417452011-04-29 Ulrich Drepper <drepper@gmail.com>
41746
41747 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41748 to groups setting in database lookup.
41749 * nss/nsswitch.conf: Add initgroups entry.
41750
b722481a
EB
417512011-04-22 Ulrich Drepper <drepper@gmail.com>
41752
41753 [BZ #12685]
41754 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41755 mode string.
41756 Patch by Eric Blake <eblake@redhat.com>.
41757
4df46dbd
L
417582011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41759
41760 * sunrpc/Makefile (need-export-routines): Add svc_run.
41761 (routines): Remove svc_run.
41762 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41763 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41764 * sunrpc/svc_run.c (svc_run): Likewise.
41765 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41766
e84142d2
UD
417672011-04-21 Ulrich Drepper <drepper@gmail.com>
41768
41769 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41770 problem in reallocation in last patch.
41771
877175d8
UD
417722011-04-20 Ulrich Drepper <drepper@gmail.com>
41773
41774 * sunrpc/Makefile: Move inclusion of Rules.
41775
ab8eed78
UD
417762011-04-19 Ulrich Drepper <drepper@gmail.com>
41777
41778 * nss/nss_files/files-initgroups.c: New file.
41779 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41780 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41781 _nss_files_initgroups_dyn.
41782
e3d8f584
RS
417832011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41784
41785 * elf/elf.h (R_ARM_IRELATIVE): Define.
41786
af190f45
UD
417872011-04-19 Ulrich Drepper <drepper@gmail.com>
41788
41789 * po/ru.po: Update from translation team.
41790
53cf59ef
UD
417912011-04-17 Ulrich Drepper <drepper@gmail.com>
41792
41793 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41794 dependencies.
41795
4c559bcd
MF
417962011-02-06 Mike Frysinger <vapier@gentoo.org>
41797
41798 [BZ #12653]
41799 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41800 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41801 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41802 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41803 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41804
4420675c
AS
418052011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41806
41807 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41808 differing bytes.
41809 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41810 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41812
75ea32ab
UD
418132011-04-17 Ulrich Drepper <drepper@gmail.com>
41814
41815 [BZ #12420]
41816 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41817 storing it.
41818 * stdlib/bug-getcontext.c: New file.
41819 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41820
27390476
AK
418212011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41822
41823 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41824 instructions into .machine "z9-109".
41825 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41826 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41827
10442705
AK
418282011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41829
41830 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41831 between environment variables and auxiliary vector.
41832
7b57bfe5
UD
418332011-04-16 Ulrich Drepper <drepper@gmail.com>
41834
41835 * Makefile: Add rules to build linkobj/libc.so.
41836 * include/libc-symbols.h: Define libc_hidden_nolink.
41837 * include/rpc/auth.h: Mark functions which are to be hidden.
41838 * include/rpc/auth_des.h: Likewise.
41839 * include/rpc/auth_unix.h: Likewise.
41840 * include/rpc/clnt.h: Likewise.
41841 * include/rpc/des_crypt.h: Likewise.
41842 * include/rpc/key_prot.h: Likewise.
41843 * include/rpc/pmap_clnt.h: Likewise.
41844 * include/rpc/pmap_prot.h: Likewise.
41845 * include/rpc/pmap_rmt.h: Likewise.
41846 * include/rpc/rpc_msg.h: Likewise.
41847 * include/rpc/svc.h: Likewise.
41848 * include/rpc/svc_auth.h: Likewise.
41849 * include/rpc/xdr.h: Likewise.
41850 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41851 * nss/Makefile: Likewise.
41852 * sunrpc/Makefile: Don't install headers. Build library with normal
41853 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41854 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41855 for the compat linking library. Remove use of INTDEF/INTUSE.
41856 * sunrpc/auth_none.c: Likewise.
41857 * sunrpc/auth_unix.c: Likewise.
41858 * sunrpc/authdes_prot.c: Likewise.
41859 * sunrpc/authuxprot.c: Likewise.
41860 * sunrpc/clnt_gen.c: Likewise.
41861 * sunrpc/clnt_perr.c: Likewise.
41862 * sunrpc/clnt_raw.c: Likewise.
41863 * sunrpc/clnt_simp.c: Likewise.
41864 * sunrpc/clnt_tcp.c: Likewise.
41865 * sunrpc/clnt_udp.c: Likewise.
41866 * sunrpc/clnt_unix.c: Likewise.
41867 * sunrpc/des_crypt.c: Likewise.
41868 * sunrpc/des_soft.c: Likewise.
41869 * sunrpc/get_myaddr.c: Likewise.
41870 * sunrpc/key_call.c: Likewise.
41871 * sunrpc/key_prot.c: Likewise.
41872 * sunrpc/netname.c: Likewise.
41873 * sunrpc/pm_getmaps.c: Likewise.
41874 * sunrpc/pm_getport.c: Likewise.
41875 * sunrpc/pmap_clnt.c: Likewise.
41876 * sunrpc/pmap_prot.c: Likewise.
41877 * sunrpc/pmap_prot2.c: Likewise.
41878 * sunrpc/pmap_rmt.c: Likewise.
41879 * sunrpc/publickey.c: Likewise.
41880 * sunrpc/rpc_cmsg.c: Likewise.
41881 * sunrpc/rpc_common.c: Likewise.
41882 * sunrpc/rpc_dtable.c: Likewise.
41883 * sunrpc/rpc_prot.c: Likewise.
41884 * sunrpc/rpc_thread.c: Likewise.
41885 * sunrpc/rtime.c: Likewise.
41886 * sunrpc/svc.c: Likewise.
41887 * sunrpc/svc_auth.c: Likewise.
41888 * sunrpc/svc_authux.c: Likewise.
41889 * sunrpc/svc_raw.c: Likewise.
41890 * sunrpc/svc_run.c: Likewise.
41891 * sunrpc/svc_simple.c: Likewise.
41892 * sunrpc/svc_tcp.c: Likewise.
41893 * sunrpc/svc_udp.c: Likewise.
41894 * sunrpc/svc_unix.c: Likewise.
41895 * sunrpc/svcauth_des.c: Likewise.
41896 * sunrpc/xcrypt.c: Likewise.
41897 * sunrpc/xdr.c: Likewise.
41898 * sunrpc/xdr_array.c: Likewise.
41899 * sunrpc/xdr_float.c: Likewise.
41900 * sunrpc/xdr_intXX_t.c: Likewise.
41901 * sunrpc/xdr_mem.c: Likewise.
41902 * sunrpc/xdr_rec.c: Likewise.
41903 * sunrpc/xdr_ref.c: Likewise.
41904 * sunrpc/xdr_sizeof.c: Likewise.
41905 * sunrpc/xdr_stdio.c: Likewise.
41906
e6c61494
UD
419072011-04-10 Ulrich Drepper <drepper@gmail.com>
41908
41909 [BZ #12650]
41910 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41911 * sysdeps/ia64/dl-tls.h: Likewise.
41912 * sysdeps/powerpc/dl-tls.h: Likewise.
41913 * sysdeps/s390/dl-tls.h: Likewise.
41914 * sysdeps/sh/dl-tls.h: Likewise.
41915 * sysdeps/sparc/dl-tls.h: Likewise.
41916 * sysdeps/x86_64/dl-tls.h: Likewise.
41917 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41918
34fe483e
AS
419192011-03-14 Andreas Schwab <schwab@redhat.com>
41920
41921 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41922 rpath element also skip the following colon.
41923 (expand_dynamic_string_token): Add is_path parameter and pass
41924 down to DL_DST_REQUIRED and _dl_dst_substitute.
41925 (decompose_rpath): Call expand_dynamic_string_token with
41926 non-zero is_path. Ignore empty rpaths.
41927 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41928 with zero is_path.
41929
f12a32e6
AS
419302011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41931
41932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41933 Make cancelable.
41934
38a7d692
UD
419352011-04-09 Ulrich Drepper <drepper@gmail.com>
41936
41937 [BZ #12655]
41938 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41939 Patch by Filipe David Manana <fdmanana@apache.org>.
41940
e451d22b
AS
419412011-04-07 Andreas Schwab <schwab@redhat.com>
41942
41943 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41944 Maintain aligned stack.
41945 (CHECK_RSP): Remove unused macro.
41946
dedc7c7b
UD
419472011-04-03 Ulrich Drepper <drepper@gmail.com>
41948
41949 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41950 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41951
94521213
UD
419522011-04-02 Ulrich Drepper <drepper@gmail.com>
41953
41954 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41955
8cb700c0 41956 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41957
0354e355
L
419582011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41959
41960 [BZ #12518]
41961 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41962 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41963 * sysdeps/x86_64/memmove.c: New file.
41964 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41965 (memcpy): Renamed to ...
41966 (__new_memcpy): This.
41967 (memcpy): Provide GLIBC_2_14 memcpy.
41968 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41969 (memcpy): Provide GLIBC_2_2_5 memcpy.
41970
8593482f
UD
419712011-04-01 Ulrich Drepper <drepper@gmail.com>
41972
41973 [BZ #12631]
41974 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41975
81a5726b
AS
419762011-03-30 Andreas Schwab <schwab@redhat.com>
41977
41978 * misc/syncfs.c: New file.
41979 * misc/Makefile (routines): Add syncfs.
41980 * posix/unistd.h: Declare syncfs.
41981 * sysdeps/unix/syscalls.list: Add syncfs.
41982
00e5419f
AS
419832011-04-01 Andreas Schwab <schwab@redhat.com>
41984
41985 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41986 open_by_handle_at.
41987 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41988 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41990 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41992 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41993 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41994
748876bf
UD
419952011-04-01 Ulrich Drepper <drepper@gmail.com>
41996
658e451d
UD
41997 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41998 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41999 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42000 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42001 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42002 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42003 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42004
748876bf
UD
42005 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42006 sync_file_range.c with -fexceptions.
42007 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42008 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42009 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42010 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42011 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42012 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42013 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42014 sync_file_range as cancellation point
42015 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42016 now a wrapper around __call_sync_file_range with cancellation handling.
42017 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42018 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42019 function name to __call_sync_file_range.
42020 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42021 Add call_sync_file_range.
748876bf 42022
6e63d5e1
AS
420232011-04-01 Andreas Schwab <schwab@redhat.com>
42024
42025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42026 bits/timex.h.
6e63d5e1 42027
46998f74
UD
420282011-04-01 Ulrich Drepper <drepper@gmail.com>
42029
4c1423ed
UD
42030 * iconv/iconv.h: Fix typo in comment.
42031 * io/fcntl.h: Likewise.
42032 * libio/stdio.h: Likewise.
42033 * posix/spawn.h: Likewise.
42034 * posix/unistd.h: Likewise.
42035 * stdlib/stdlib.h: Likewise.
42036 * time/time.h: Likewise.
42037 * wcsmbs/wchar.h: Likewise.
42038
158648c0
UD
42039 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42040 open_by_handle): Add.
42041 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42042 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42043 Augment a few comments.
42044 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42046 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42048 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42049 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42050 open_by_handle.
42051
46998f74
UD
42052 * io/fcntl.h (AT_EMPTY_PATH): Define.
42053
83fe108b
UD
420542011-03-30 Ulrich Drepper <drepper@gmail.com>
42055
42056 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42057 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42058 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42059 to...
42060 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42061 * Versions.def: Add GLIBC_2.14.
42062 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42063 Export.
83fe108b 42064
bb242059
UD
420652011-03-22 Ulrich Drepper <drepper@gmail.com>
42066
42067 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42068 round counter.
42069 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42070
c97a1282
L
420712011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42072
42073 [BZ #12597]
42074 * string/test-strncmp.c (do_page_test): New function.
42075 (check2): Likewise.
42076 (test_main): Call check2.
42077 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42078
2a115601
UD
420792011-03-20 Ulrich Drepper <drepper@gmail.com>
42080
42081 [BZ #12587]
42082 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42083 Handle cache information in CPU leaf 4.
42084 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42085
8126d904
UD
420862011-03-18 Ulrich Drepper <drepper@gmail.com>
42087
042c49c6 42088 [BZ #12583]
8126d904
UD
42089 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42090 character representation.
42091 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42092
ccfe366e
RA
420932011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42094
42095 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42096 END(__isnan) to END(__isnanf) to match function entry point/label
42097 EALIGN(__isnanf,...).
42098
c6e13027
JJ
420992011-03-10 Jakub Jelinek <jakub@redhat.com>
42100
42101 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42102
33f85a3f
UD
421032011-03-10 Ulrich Drepper <drepper@gmail.com>
42104
028478fa
UD
42105 [BZ #12510]
42106 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42107 copy from the symbol referenced in the relocation to initialize the
42108 used variable.
42109 Patch by Piotr Bury <pbury@goahead.com>.
42110 * elf/Makefile: Add rules to build and tst-unique3.
42111 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42112 * elf/tst-unique3.cc: New file.
42113 * elf/tst-unique3.h: New file.
42114 * elf/tst-unique3lib.cc: New file.
42115 * elf/tst-unique3lib2.cc: New file.
42116
33f85a3f
UD
42117 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42118
03592fc7
MF
421192011-03-10 Mike Frysinger <vapier@gentoo.org>
42120
42121 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42122 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42123 to _start.
03592fc7 42124
6a5ee102
UD
421252011-03-06 Ulrich Drepper <drepper@gmail.com>
42126
42127 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42128 to-be-loaded object along a path to loader is ld.so.
42129
7e4ba49c
HJ
421302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42131 Ulrich Drepper <drepper@gmail.com>
42132
42133 * sysdeps/x86_64/memset.S: After aligning destination, code
42134 branches to different locations depending on the value of
42135 misalignment, when multiarch is enabled. Fix this.
42136
421372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42138
42139 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42140 Set _x86_64_preferred_memory_instruction for AMD processsors.
42141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42142 Set bit_Prefer_SSE_for_memop for AMD processors.
42143
13a804de
UD
421442011-03-04 Ulrich Drepper <drepper@gmail.com>
42145
42146 * libio/fmemopen.c (fmemopen): Optimize a bit.
42147
9d25c392
AS
421482011-03-03 Andreas Schwab <schwab@redhat.com>
42149
42150 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42151
a5543c6a
RM
421522011-03-03 Roland McGrath <roland@redhat.com>
42153
42154 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42155
012d35f7
DM
421562011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42157
7e4ba49c 42158 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
42159 __bzero_ultra1 instead of __memset_ultra1.
42160
4bff6e01
AS
421612011-02-23 Andreas Schwab <schwab@redhat.com>
42162 Ulrich Drepper <drepper@gmail.com>
42163
42164 [BZ #12509]
42165 * include/link.h (struct link_map): Add l_orig_initfini.
42166 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42167 returning unsuccessfully.
42168 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42169 close of a file loaded at startup, restore the original l_initfini
42170 list.
42171 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42172 list, store the pointer.
42173 * elf/Makefile ($(objpfx)noload-mem): New rule.
42174 (noload-ENV): Define.
42175 (tests): Add $(objpfx)noload-mem.
42176 * elf/noload.c: Include <memcheck.h>.
42177 (main): Call mtrace. Close all opened handles.
42178
f2092faf
AS
421792011-02-17 Andreas Schwab <schwab@redhat.com>
42180
42181 [BZ #12454]
42182 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42183 dependencies are missing.
42184
6c8a2e88
ST
421852011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42186
f2092faf 42187 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
42188 Hurd needs munmap.
42189 * sysdeps/mach/hurd/ifreq.h: New file.
42190
84a42118
PB
421912011-01-27 Petr Baudis <pasky@suse.cz>
42192 Ulrich Drepper <drepper@gmail.com>
42193
071f805e 42194 [BZ 12445]#
84a42118
PB
42195 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42196 to extend_alloca().
42197 * stdio-common/bug23.c: New file.
42198 * stdio-common/Makefile (tests): Add bug23.
42199
e23fe25b
AS
422002010-09-28 Andreas Schwab <schwab@redhat.com>
42201 Ulrich Drepper <drepper@gmail.com>
42202
42203 [BZ #12489]
42204 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42205 before performing relro protection. At old place add assertion
42206 to make sure nothing changed.
42207
d3f02e10
NS
422082011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42209 Glauber de Oliveira Costa <glommer@gmail.com>
42210
42211 * elf/elf.h: Add new ARM TLS relocs.
42212
d55fd7a5
RA
422132011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42214
42215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42216 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42217 cast from r3.
42218 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42219 'tests' variable.
42220 * sysdeps/wordsize-64/tst-writev.c: New file.
42221
2206397e
RA
422222011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42223
42224 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42225 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42226 insns in _dl_start to prevent a TOC reference before relocs are
42227 resolved.
42228
e9433893
UD
422292011-02-15 Ulrich Drepper <drepper@gmail.com>
42230
42231 [BZ #12469]
42232 * Makeconfig: Remove RANLIB definition.
42233 * Makerules: Don't use RANLIB.
42234 * aclocal.m4: Remove ranlib test.
42235 * configure.in: No need to check for ranlib.
42236 * elf/rtld-Rules: Don't use RANLIB.
42237
f75286c6
ST
422382011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42239
8e31c82d
ST
42240 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42241 protection macro.
42242 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42243 inclusion protection macro.
42244
f75286c6
ST
42245 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42246 SIGRTMIN and SIGRTMAX and print information in that case only when
42247 SIGRTMIN is defined.
42248
c1d0e639
JJ
422492011-02-11 Jakub Jelinek <jakub@redhat.com>
42250
42251 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42252 arginfo fn returning -1.
42253
42254 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42255 and thousands string is zero terminated.
42256
edf9294e
AS
422572011-02-03 Andreas Schwab <schwab@redhat.com>
42258
42259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42260 sysdeps/unix/sysv/linux/bits/socket.h.
42261
2b7e92df
ST
422622011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42263
edf9294e
AS
42264 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42265 (__CPU_COUNT): Remove old macros.
42266 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42267 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42268 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
42269 (__sched_cpualloc, __sched_cpufree): Add declarations.
42270
a4c7ea7b
UD
422712011-02-05 Ulrich Drepper <drepper@gmail.com>
42272
42273 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42274 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42275 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42276 (readdhstai): Return value of addhstaiX call.
42277 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42278 (addgrbyX): Return value returned by cache_addgr.
42279 (readdgrbyname): Return value returned by addgrbyX.
42280 (readdgrbygid): Likewise.
42281 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42282 (addpwbyX): Return value returned by cache_addpw.
42283 (readdpwbyname): Return value returned by addhstbyX.
42284 (readdpwbyuid): Likewise.
42285 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42286 (addservbyX): Return value returned by cache_addserv.
42287 (readdservbyname): Return value returned by addservbyX:
42288 (readdservbyport): Likewise.
42289 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42290 (addhstbyX): Return value returned by cache_addhst.
42291 (readdhstbyname): Return value returned by addhstbyX.
42292 (readdhstbyaddr): Likewise.
42293 (readdhstbynamev6): Likewise.
42294 (readdhstbyaddrv6): Likewise.
42295 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42296 (readdinitgroups): Return value returned by addinitgroupsX.
42297 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42298 (prune_cache): Keep track of timeout value of re-added entries.
42299 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42300 * nscd/nscd.h: Adjust prototypes of readd* functions.
42301
a0bf67cc
RM
423022011-02-04 Roland McGrath <roland@redhat.com>
42303
42304 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42305 (nis_stats): Likewise.
42306 * nis/nis_modify.c (nis_modify): Likewise.
42307 * nis/nis_remove.c (nis_remove): Likewise.
42308 * nis/nis_add.c (nis_add): Likewise.
42309
42310 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42311
42312 * posix/fnmatch_loop.c: Add some consts.
42313
42314 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42315
435b95eb
L
423162011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42317
42318 [BZ #12460]
42319 * config.make.in (config-cflags-novzeroupper): Define.
42320 * configure.in: Substitute libc_cv_cc_novzeroupper.
42321 * elf/Makefile (AVX-CFLAGS): Define.
42322 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42323 (CFLAGS-tst-auditmod4a.c): Likewise.
42324 (CFLAGS-tst-auditmod4b.c): Likewise.
42325 (CFLAGS-tst-auditmod6b.c): Likewise.
42326 (CFLAGS-tst-auditmod6c.c): Likewise.
42327 (CFLAGS-tst-auditmod7b.c): Likewise.
42328 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42329
8517b15e
UD
423302011-02-02 Ulrich Drepper <drepper@gmail.com>
42331
42332 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42333 function to the callback.
42334 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42335
10a656fe
AS
423362011-02-02 Andreas Schwab <schwab@redhat.com>
42337
42338 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42339 of errno.
42340
968dad0a
UD
423412011-01-19 Ulrich Drepper <drepper@gmail.com>
42342
9f94d2ea 42343 [BZ #11724]
968dad0a
UD
42344 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42345 of constructors.
42346 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42347 of destructors.
42348 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42349
42350 [BZ #11724]
42351 * elf/Makefile: Add rules to build and run new test.
42352 * elf/tst-initorder.c: New file.
42353 * elf/tst-initorder.exp: New file.
42354 * elf/tst-initordera1.c: New file.
42355 * elf/tst-initordera2.c: New file.
42356 * elf/tst-initordera3.c: New file.
42357 * elf/tst-initordera4.c: New file.
42358 * elf/tst-initorderb1.c: New file.
42359 * elf/tst-initorderb2.c: New file.
42360 * elf/tst-order-a1.c: New file.
42361 * elf/tst-order-a2.c: New file.
42362 * elf/tst-order-a3.c: New file.
42363 * elf/tst-order-a4.c: New file.
42364 * elf/tst-order-b1.c: New file.
42365 * elf/tst-order-b2.c: New file.
42366 * elf/tst-order-main.c: New file.
42367 New test case by George Gensure <werkt0@gmail.com>.
42368
86e92359
UD
423692010-10-01 Andreas Schwab <schwab@redhat.com>
42370
42371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42372 decoding ACE if AI_CANONIDN.
42373
5d5732b0
UD
423742011-01-18 Ulrich Drepper <drepper@gmail.com>
42375
42376 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42377
a77e8cbc
UD
423782011-01-17 Ulrich Drepper <drepper@gmail.com>
42379
6392473f
UD
42380 * version.h (RELEASE): Bump for 2.13 release.
42381 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42382
620a0529
UD
42383 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42384
18ba70a5
UD
42385 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42386 MADV_NOHUGEPAGE.
32465c3e
UD
42387 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42388 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42389 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42390 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42391 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42392 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42393
c0dafcf1
UD
42394 * posix/getconf.c: Update copyright year.
42395 * catgets/gencat.c: Likewise.
42396 * csu/version.c: Likewise.
42397 * debug/catchsegv.sh: Likewise.
42398 * debug/xtrace.sh: Likewise.
42399 * elf/ldconfig.c: Likewise.
42400 * elf/ldd.bash.in: Likewise.
42401 * elf/sprof.c (print_version): Likewise.
42402 * iconv/iconv_prog.c: Likewise.
42403 * iconv/iconvconfig.c: Likewise.
42404 * locale/programs/locale.c: Likewise.
42405 * locale/programs/localedef.c: Likewise.
42406 * malloc/memusage.sh: Likewise.
42407 * malloc/mtrace.pl: Likewise.
42408 * nscd/nscd.c (print_version): Likewise.
42409 * nss/getent.c: Likewise.
42410
a77e8cbc
UD
42411 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42412 PF_CAIF, and PF_ALG.
42413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42414
77e8bddf
AS
424152011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42416
1f20b93a
AS
42417 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42418 (modules-names): Use them.
42419 (ifunc-test-modules, ifunc-pie-tests): Define.
42420 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42421 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42422 (test-extras): Likewise.
42423 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42424 $(compile-command.c).
42425 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42426 (all-built-dso): Define.
42427 (check-textrel.out, check-execstack.out): Depend on it.
42428
77e8bddf
AS
42429 * configure.in: Don't override --enable-multi-arch.
42430
bc425b33
UD
424312011-01-15 Ulrich Drepper <drepper@gmail.com>
42432
42433 [BZ #6812]
42434 * nscd/hstcache.c (tryagain): Define.
42435 (cache_addhst): Return tryagain not notfound for temporary errors.
42436 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42437 failed.
42438
794c3ad3
UD
424392011-01-14 Ulrich Drepper <drepper@gmail.com>
42440
70181fdd
UD
42441 [BZ #10563]
42442 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42443 to make the syscall.
42444 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42445
794c3ad3
UD
42446 [BZ #12378]
42447 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42448 and fall back to matching as normal character if the string ends before
42449 the matching ']' is found. This is what POSIX requires.
42450 * posix/testfnm.c: Adjust test result.
42451 * posix/globtest.sh: Adjust test result. Add new test.
42452 * posix/tst-fnmatch.input: Likewise.
42453 * posix/tst-fnmatch2.c: Add new test.
42454
68dc9497
AS
424552010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42456
42457 * elf/Makefile (check-execstack): Revert last change. Depend on
42458 check-execstack.h.
42459 (check-execstack.h): New target.
42460 (generated): Add check-execstack.h.
42461 * elf/check-execstack.c: Include "check-execstack.h".
42462 (main): Revert last change.
42463 (handle_file): Return zero if GNU_STACK is absent and
42464 DEFAULT_STACK_PERMS doesn't include PF_X.
42465
451f001b
UD
424662011-01-13 Ulrich Drepper <drepper@gmail.com>
42467
cfa28e56
UD
42468 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42469 in child fails because the descriptor is already closed.
8cf8ce17
UD
42470 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42471 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42472 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42473
1086d70d
UD
42474 [BZ #12397]
42475 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42476 syscall.
42477
451f001b
UD
42478 [BZ #10484]
42479 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42480 temporary buffer used to handle multi lookups locally.
a85b5cb4 42481 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42482
08769175
UD
424832011-01-12 Ulrich Drepper <drepper@gmail.com>
42484
42485 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42486 loader is ld.so.
42487
5e49c52e
UD
424882011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42489
42490 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42491 alignment for SSE2.
42492
60522a5f
UD
424932011-01-12 Ulrich Drepper <drepper@gmail.com>
42494
42495 [BZ #12394]
42496 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42497 characters. When rounding increased number of integer digits recompute
42498 number of groups.
42499 * stdio-common/tst-grouping.c: New file.
42500 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42501
f257bbd7
UD
425022011-01-09 Ulrich Drepper <drepper@gmail.com>
42503
42504 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42505 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42506
42507 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42508 void.
42509 * bits/select.h: Likewise.
42510
fa9c15cb
UD
425112011-01-08 Ulrich Drepper <drepper@gmail.com>
42512
42513 * po/ja.po: Update from translation team.
42514
16c2895f
DM
425152011-01-04 David S. Miller <davem@sunset.davemloft.net>
42516
42517 [BZ #11155]
42518 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42519 implementation just like for lxstat, fxstatat, et al.
42520
2543fef2
JM
425212010-12-27 Jim Meyering <meyering@redhat.com>
42522
42523 [BZ #12348]
42524 * posix/regexec.c (build_trtable): Return failure indication upon
42525 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42526
98727dbe
UD
425272010-12-25 Ulrich Drepper <drepper@gmail.com>
42528
5bd6dc5c
UD
42529 [BZ #12201]
42530 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42531 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42532 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42533 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42534
97983464
UD
42535 [BZ #12207]
42536 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42537
98727dbe
UD
42538 [BZ #12204]
42539 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42540 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42541
4a531bb0
L
425422010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42543
42544 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42545 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42546 script has SORT_BY_INIT_PRIORITY.
42547 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42548 NO_CTORS_DTORS_SECTIONS is defined.
42549 * elf/soinit.c: Likewise.
42550 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42551 NO_CTORS_DTORS_SECTIONS is defined.
42552 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42553 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42554 * sysdeps/sh/init-first.c: Likewise.
42555 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42556
07eb4b71
UD
425572010-12-24 Ulrich Drepper <drepper@gmail.com>
42558
42559 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42560 always use the slow path.
42561
30950a5f
RA
425622010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42563
42564 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42565 similar rule which adds the sysdep directories to the header search in
42566 order to pick up the correct platform stackinfo.h.
42567 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42568 perform test if it is, otherwise return successfully without testing.
42569 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42570 DEFAULT_STACK_PERMS define in stackinfo.h.
42571 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42572 defined in stackinfo.h.
42573 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42574 DEFAULT_STACK_PERMS defined in stackinfo.h.
42575 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42576 * sysdeps/ia64/stackinfo.h: Likewise.
42577 * sysdeps/s390/stackinfo.h: Likewise.
42578 * sysdeps/sh/stackinfo.h: Likewise.
42579 * sysdeps/sparc/stackinfo.h: Likewise.
42580 * sysdeps/x86_64/stackinfo.h: Likewise.
42581 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42582 PF_X for powerpc64. Retain PF_X for powerpc32.
42583
db753e2c
UD
425842010-12-19 Ulrich Drepper <drepper@gmail.com>
42585
14b697f7
UD
42586 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42587 accurately.
db753e2c
UD
42588 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42589 GETDENTS_64BIT_ALIGNED.
42590
28300719
UD
425912010-12-14 Ulrich Drepper <dreper@gmail.com>
42592
14b697f7 42593 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42594
4f197237
AS
425952010-12-10 Andreas Schwab <schwab@redhat.com>
42596
dbb0472f
AS
42597 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42598 _GNU_SOURCE.
42599
4f197237
AS
42600 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42601 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42602 Remove __restrict.
42603 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42604 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42605
fb88ac72
UD
426062010-12-09 Ulrich Drepper <drepper@gmail.com>
42607
42608 [BZ #11655]
42609 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42610 are initialized.
42611
42acbb92
JJ
426122010-12-09 Jakub Jelinek <jakub@redhat.com>
42613
42614 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42615
c038d98d
UD
426162010-12-03 Ulrich Drepper <drepper@gmail.com>
42617
42618 * po/it.po: Update from translation team.
42619
3a4a2499
L
426202010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42621
42622 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42623 unused codes.
42624
1e24cf6e
UD
426252010-11-30 Ulrich Drepper <drepper@gmail.com>
42626
42627 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42628
a7690819
AS
426292010-11-24 Andreas Schwab <schwab@redhat.com>
42630
42631 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42632 specially.
42633 (gaih_getanswer_slice): Likewise.
42634
3bf8d1b1
JJ
426352010-10-20 Jakub Jelinek <jakub@redhat.com>
42636
42637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42638
6db52fbb
PB
426392010-05-31 Petr Baudis <pasky@suse.cz>
42640
42641 [BZ #11149]
42642 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42643 silently even in the chroot mode.
42644
eaca7569
UD
426452010-11-22 Ulrich Drepper <drepper@gmail.com>
42646
42647 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42648 last patch a bit. Pretty printing
42649
3056dcdb
UD
426502010-05-31 Petr Baudis <pasky@suse.cz>
42651
42652 [BZ #10085]
42653 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42654 initialization of skip_initgroups_dyn.
42655
cf7c9078
UD
426562010-11-19 Ulrich Drepper <drepper@gmail.com>
42657
42658 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42659 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42660
a1fb5e3e
UD
426612010-11-16 Ulrich Drepper <drepper@gmail.com>
42662
42663 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42664
3540d66b
AS
426652010-11-11 Andreas Schwab <schwab@redhat.com>
42666
42667 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42668 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42669 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42670 ($(objpfx)tst-fnmatch-mem): New rule.
42671 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42672 * posix/tst-fnmatch.c (main): Call mtrace.
42673
13b69574
L
426742010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42675
42676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42677 Support Intel processor model 6 and model 0x2c.
42678
da93d214
LM
426792010-11-10 Luis Machado <luisgpm@br.ibm.com>
42680
42681 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42682 signed comparison.
42683
8ca52c6e
L
426842010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42685
42686 [BZ #12205]
42687 * string/test-strncasecmp.c (check_result): New function.
42688 (do_one_test): Use it.
42689 (check1): New function.
42690 (test_main): Use it.
42691 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42692 Support strcasecmp and strncasecmp.
42693
69da074d
UD
426942010-11-08 Ulrich Drepper <drepper@gmail.com>
42695
42696 [BZ #12194]
42697 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42698 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42699
ff02d528
L
427002010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42701
42702 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42703 IFUNC support.
42704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42705 memset-x86-64.
42706 * sysdeps/x86_64/multiarch/bzero.S: New file.
42707 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42708 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42709 * sysdeps/x86_64/multiarch/memset.S: New file.
42710 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42712 Set bit_Prefer_SSE_for_memop for Intel processors.
42713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42714 Define.
42715 (index_Prefer_SSE_for_memop): Define.
42716 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42717
344d0b54
LM
427182010-11-04 Luis Machado <luisgpm@br.ibm.com>
42719
42720 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42721 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42722
c0dde15b
UD
427232010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42724
42725 [BZ #12191]
42726 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42727 (__x86_64_raw_data_cache_size_half): Likewise.
42728 (__x86_64_raw_shared_cache_size): Likewise.
42729 (__x86_64_raw_shared_cache_size_half): Likewise.
42730
42731 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42732 (__x86_64_raw_data_cache_size_half): Likewise.
42733 (__x86_64_raw_shared_cache_size): Likewise.
42734 (__x86_64_raw_shared_cache_size_half): Likewise.
42735 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42736 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42737 and __x86_64_raw_shared_cache_size_half. Round
42738 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42739 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42740 to multiple of 256 bytes.
42741
0e516e0e
MS
427422010-11-03 Ulrich Drepper <drepper@gmail.com>
42743
42744 [BZ #12167]
42745 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42746 of inacessible symlinks. Verify result of symlink before returning it.
42747 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42748 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42749
0e012e87
ER
427502010-10-28 Erich Ritz <erichritz@gmail.com>
42751
42752 * math/math.h (isinf): Fix typo in comment.
42753
de0ff7bc
UD
427542010-11-01 Ulrich Drepper <drepper@gmail.com>
42755
42756 * po/da.po: Update from translation team.
42757
fa41c84d
UD
427582010-10-26 Ulrich Drepper <drepper@gmail.com>
42759
42760 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42761 is added to the list.
42762
f0967738
AK
427632010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42764 Ulrich Drepper <drepper@gmail.com>
42765
42766 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42767 the global list here. Move code to...
42768 (_dl_add_to_namespace_list): ...here. New function.
42769 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42770 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42771 * elf/dl-load.c (lose): Don't remove the element from the list.
42772 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42773 (_dl_map_object): Likewise.
42774
427752010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42776
42777 [BZ #12159]
42778 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42779 into all bytes of SSE register.
42780 Patch by Richard Li <richardpku@gmail.com>.
42781
f0967738 427822010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42783
42784 [BZ #12140]
42785 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42786 perturbing.
42787
d0b9e94f
MB
427882010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42789
42790 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42791 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42792 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42793 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42795 submachine.
42796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42797
8e9f92e9
AS
427982010-10-22 Andreas Schwab <schwab@redhat.com>
42799
42800 * include/dlfcn.h (__RTLD_SECURE): Define.
42801 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42802 mode & __RTLD_SECURE instead.
42803 (open_path): Rename preloaded parameter to secure.
42804 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42805 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42806 * elf/dl-deps.c (openaux): Likewise.
42807 * elf/rtld.c (struct map_args): Remove is_preloaded.
42808 (map_doit): Don't use it.
42809 (dl_main): Likewise.
42810 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42811 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42812
bc96fbda
AS
428132010-09-09 Andreas Schwab <schwab@redhat.com>
42814
42815 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42816 (sysd-rules-targets): Remove duplicates.
42817 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42818 rtld-%.$o dependency.
42819
22cd1c9b
AS
428202010-10-18 Andreas Schwab <schwab@redhat.com>
42821
42822 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42823 _dl_map_object do it.
42824
18edac48
UD
428252010-10-19 Ulrich Drepper <drepper@gmail.com>
42826
42827 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42828 fast fma builtins, define the macros in the C99 standard.
42829 (FP_FAST_FMAF): Likewise.
42830 (FP_FAST_FMAL): Likewise.
42831 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42832
42833 * bits/mathdef.h: Update copyright year.
42834 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42835
d2050124
MM
428362010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42837
42838 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42839 builtins, define the macros in the C99 standard.
42840 (FP_FAST_FMAF): Likewise.
42841 (FP_FAST_FMAL): Likewise.
42842 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42843 multiply/add.
42844 (FP_FAST_FMAF): Likewise.
42845
475facd1
JJ
428462010-10-15 Jakub Jelinek <jakub@redhat.com>
42847
42848 [BZ #3268]
42849 * math/libm-test.inc (fma_test): Some new testcases.
42850 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42851 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42852 y and infinite z. Do multiplication by C already in long double.
42853 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42855 y and infinite z. Do bitwise or of inexact bit into u.d.
42856 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42857 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42858 * sysdeps/i386/fpu/s_fma.S: Removed.
42859 * sysdeps/i386/fpu/s_fmal.S: Removed.
42860
7c08a05c
JJ
428612010-10-16 Jakub Jelinek <jakub@redhat.com>
42862
42863 [BZ #3268]
42864 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42866 computation is not scheduled after fetestexcept. Fix value
42867 of minimum denormal long double.
42868
f3f7372d
JJ
428692010-10-14 Jakub Jelinek <jakub@redhat.com>
42870
42871 [BZ #3268]
42872 * math/libm-test.inc (fma_test): Add some more tests.
42873 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42874 correctly.
42875
14d43591
AS
428762010-10-15 Andreas Schwab <schwab@redhat.com>
42877
42878 * scripts/data/localplt-s390-linux-gnu.data: New file.
42879 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42880
5e908464
JJ
428812010-10-13 Jakub Jelinek <jakub@redhat.com>
42882
42883 [BZ #3268]
42884 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42885 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42886 instead of dbl-64.
42887 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42888 inlines.
42889 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42891 if one of x and y is very large and the other is subnormal.
42892 * sysdeps/s390/fpu/s_fmaf.c: New file.
42893 * sysdeps/s390/fpu/s_fma.c: New file.
42894 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42895 * sysdeps/powerpc/fpu/s_fma.S: New file.
42896 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42897 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42898 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42899
429002010-10-12 Jakub Jelinek <jakub@redhat.com>
42901
42902 [BZ #3268]
42903 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42904 fma tests.
42905 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42906 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42907 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42908 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42909 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42910 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42911 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42912
b833d51f
UD
429132010-10-12 Ulrich Drepper <drepper@redhat.com>
42914
42915 [BZ #12078]
42916 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42917 * posix/bug-regex31.input: Add test case.
42918
1751705d
UD
429192010-10-11 Ulrich Drepper <drepper@gmail.com>
42920
e9b9cbf5
UD
42921 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42922 * posix/bug-regex31.input: New file.
42923
42924 [BZ #12078]
42925 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42926 (parse_sub_exp): Fix last change, use postorder.
42927
ef06edbe
UD
42928 * posix/bug-regex31.c: New file.
42929 * posix/Makefile: Add rules to build and run bug-regex31.
42930
a129c80d
UD
42931 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42932
42933 [BZ #12078]
42934 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42935
b76b818e
UD
42936 [BZ #12108]
42937 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42938 to have entries in sys_siglist.
42939
1751705d
UD
42940 [BZ #12093]
42941 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42942 be NULL.
42943
9ff8d36f
JJ
429442010-10-07 Jakub Jelinek <jakub@redhat.com>
42945
42946 [BZ #3268]
42947 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42948 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42949 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42950 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42951 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42952 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42953 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42954 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42955 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42956 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42957 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42958 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42959 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42960 * math/ftestexcept.c (fetestexcept): Likewise.
42961 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42962 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42963 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42964 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42965 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42966 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42967 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42968
af325969
UD
429692010-10-11 Ulrich Drepper <drepper@gmail.com>
42970
c579b202 42971 [BZ #12107]
af325969
UD
42972 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42973 newline.
42974
67a67b95
UD
429752010-10-06 Ulrich Drepper <drepper@gmail.com>
42976
42977 * string/bug-strstr1.c: New file.
42978 * string/Makefile: Add rules to build and run bug-strstr1.
42979
5fb308bc
EB
429802010-10-05 Eric Blake <eblake@redhat.com>
42981
42982 [BZ #12092]
42983 * string/str-two-way.h (two_way_long_needle): Always clear memory
42984 when skipping input due to the shift table.
42985
45db99c7
UD
429862010-10-03 Ulrich Drepper <drepper@gmail.com>
42987
3b111893
UD
42988 [BZ #12005]
42989 * malloc/mcheck.c: Handle large requests.
42990
45db99c7
UD
42991 [BZ #12077]
42992 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42993 for strncmp and strncasecmp.
42994 * string/stratcliff.c: Add tests for strcmp and strncmp.
42995 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42996
cf7a1eb8
NI
429972010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42998
42999 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43000 __set_fpscr.
43001
6484ba5e
AJ
430022010-09-30 Andreas Jaeger <aj@suse.de>
43003
43004 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43005 (CGROUP_SUPER_MAGIC): Define.
43006 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43007 Handle btrfs and cgroup file systems.
43008 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43009 Likewise.
43010
91c42559
LM
430112010-09-27 Luis Machado <luisgpm@br.ibm.com>
43012
43013 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43014 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43015
87a97932
AK
430162010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43017
43018 [BZ #12067]
43019 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43020 trying to locate the ELF header.
43021
c21cc9bc
AS
430222010-09-27 Andreas Schwab <schwab@redhat.com>
43023
43024 [BZ #11611]
43025 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43026 Mask out sign-bit copies when constructing f_fsid.
43027
315970f6
PB
430282010-09-24 Petr Baudis <pasky@suse.cz>
43029
43030 * debug/stack_chk_fail_local.c: Add missing licence exception.
43031 * debug/warning-nop.c: Likewise.
43032
1ac7a2c7
JM
430332010-09-15 Joseph Myers <joseph@codesourcery.com>
43034
43035 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43036 implementing getdents64 using getdents syscall, set d_type if
43037 __ASSUME_GETDENTS32_D_TYPE.
43038
56801c50
AS
430392010-09-16 Andreas Schwab <schwab@redhat.com>
43040
43041 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43042 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43043
dda51327
UD
430442010-09-21 Ulrich Drepper <drepper@redhat.com>
43045
43046 [BZ #12037]
43047 * posix/unistd.h: Undo change of feature selection for ftruncate from
43048 2010-01-11.
43049
8ffcee4a
UD
430502010-09-20 Ulrich Drepper <drepper@redhat.com>
43051
a545ecd9 43052 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43053 detection.
43054
e24f0a8b
AS
430552010-09-20 Andreas Schwab <schwab@redhat.com>
43056
43057 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43058 fanotify_mark.
43059 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43060
7291c56f
AS
430612010-09-14 Andreas Schwab <schwab@redhat.com>
43062
43063 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43064 variables after CHECK_SP call.
43065 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43066
bc5fb037
AS
430672010-09-13 Andreas Schwab <schwab@redhat.com>
43068 Ulrich Drepper <drepper@redhat.com>
43069
43070 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43071 re-relocationg ld.so.
43072 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43073 _dl_init_paths call.
43074 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43075 here anymore.
43076
e66e7419
UD
430772010-09-14 Ulrich Drepper <drepper@redhat.com>
43078
43079 * resolv/res_init.c (__res_vinit): Count the default server we added.
43080
c044aa75
CLT
430812010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43082 Ulrich Drepper <drepper@redhat.com>
43083
43084 [BZ #11968]
43085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43086 (____longjmp_chk): Use %ebx for saving value across system call.
43087 Add unwind info.
43088
32cf4069
AS
430892010-09-06 Andreas Schwab <schwab@redhat.com>
43090
43091 * manual/Makefile: Don't mix pattern rules with normal rules.
43092
817328ee
AS
430932010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43094
43095 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43096 operation.
43097 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43098 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43099 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43100 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43101 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43102 Likewise.
43103
29fddf61
UD
431042010-09-04 Ulrich Drepper <drepper@redhat.com>
43105
43106 [BZ #11979]
43107 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43108 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43109
0959ffc9
UD
431102010-09-02 Ulrich Drepper <drepper@redhat.com>
43111
43112 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43113 * sysdeps/x86_64/addmul_1.S: Likewise.
43114 * sysdeps/x86_64/lshift.S: Likewise.
43115 * sysdeps/x86_64/mul_1.S: Likewise.
43116 * sysdeps/x86_64/rshift.S: Likewise.
43117 * sysdeps/x86_64/sub_n.S: Likewise.
43118 * sysdeps/x86_64/submul_1.S: Likewise.
43119
ece29840
ST
431202010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43121
0959ffc9
UD
43122 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43123 Define __sched_param instead of SCHED_* and sched_param when
ece29840 43124 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 43125 * bits/sched.h [__need_schedparam]
ece29840 43126 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
43127 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43128 (__defined_schedparam): Define to 1.
ece29840
ST
43129 (__sched_param): New structure, identical to sched_param.
43130 (__need_schedparam): Undefine.
43131
e53a31fe
MF
431322010-08-31 Mike Frysinger <vapier@gentoo.org>
43133
fdc0c10d
MF
43134 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43135 (epoll_create1): Declare.
43136
e53a31fe
MF
43137 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43138
a726d796
AS
431392010-08-31 Andreas Schwab <schwab@redhat.com>
43140
43141 [BZ #7066]
43142 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43143 shifting retval into place.
43144
2f3e3dc7
UD
431452010-09-01 Ulrich Drepper <drepper@redhat.com>
43146
f2933da9
UD
43147 * nis/rpcsvc/nis.h: Update copyright notice.
43148 * nis/rpcsvc/nis.x: Likewise.
43149 * nis/rpcsvc/nis_callback.h: Likewise.
43150 * nis/rpcsvc/nis_callback.x: Likewise.
43151 * nis/rpcsvc/nis_object.x: Likewise.
43152 * nis/rpcsvc/nis_tags.h: Likewise.
43153 * nis/rpcsvc/yp.h: Likewise.
43154 * nis/rpcsvc/yp.x: Likewise.
43155 * nis/rpcsvc/ypupd.h: Likewise.
43156 * nis/yp_xdr.c: Likewise.
43157 * nis/ypupdate_xdr.c: Likewise.
43158
2f3e3dc7
UD
43159 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43160 mainly the body of pmap_getport. Add parameters to specify timeouts.
43161 (pmap_getport): Use __libc_rpc_getport.
43162 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43163 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43164 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43165
f3dcc2f9
AS
431662010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43167
43168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43169 fanotify_mark.
43170
6d34eb5b
RM
431712010-08-27 Roland McGrath <roland@redhat.com>
43172
43173 * sysdeps/i386/i686/multiarch/Makefile
43174 (CFLAGS-varshift.c): New variable.
43175
9ea3de11
UD
431762010-08-27 Ulrich Drepper <drepper@redhat.com>
43177
c96d23fc
UD
43178 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43179 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43180
9ea3de11
UD
43181 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43182
43183 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43184
623aac7f
L
431852010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43186
43187 * sysdeps/x86_64/strlen.S: Unroll the loop.
43188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43189 strlen-sse2 strlen-sse2-bsf.
43190 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43191 __strlen_no_bsf if bit_Slow_BSF is set.
43192 (__strlen_sse42): Removed.
43193 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43194 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43195
8b2b7715
RM
431962010-08-25 Roland McGrath <roland@redhat.com>
43197
43198 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43199 * sysdeps/x86_64/multiarch/varshift.c: New file.
43200 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43201 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43202 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43203 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43204
e73015f2
L
432052010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43206
43207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43208 strlen-sse2 strlen-sse2-bsf.
43209 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43210 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43211 (__strlen_sse2): Removed.
43212 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43213 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43215 bit_Slow_BSF for Atom.
43216 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43217 (index_Slow_BSF): Define.
43218 (HAS_SLOW_BSF): Define.
43219
df24a73e
UD
432202010-08-25 Ulrich Drepper <drepper@redhat.com>
43221
43222 [BZ #10851]
43223 * resolv/res_init.c (__res_vinit): When no server address at all
43224 is given default to loopback.
43225
f2ac4868
RM
432262010-08-24 Roland McGrath <roland@redhat.com>
43227
09055553
RM
43228 * configure.in: Remove config-name.h generation.
43229 * configure: Regenerated.
43230 * config-name.in: File removed.
43231 * scripts/config-uname.sh: New file.
43232 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43233 ($(objdir)config-name.h): New target.
43234
f2ac4868
RM
43235 * sunrpc/rpc_parse.h: Avoid nested comment.
43236
73f27d5e
RH
432372010-08-24 Richard Henderson <rth@redhat.com>
43238 Ulrich Drepper <drepper@redhat.com>
43239 H.J. Lu <hongjiu.lu@intel.com>
43240
43241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43243 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43244 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43245 _mm_alignr_epi8 with _mm_loadu_si128.
43246 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43247 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43248 (__m128i_shift_right): Removed.
43249 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43250 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43251 * sysdeps/x86_64/multiarch/varshift.h: New file.
43252 * sysdeps/x86_64/multiarch/varshift.S: New file.
43253
84b9230c
MF
432542010-08-21 Mike Frysinger <vapier@gentoo.org>
43255
43256 * configure.in: Move assembler checks to before sysdep dir checking.
43257
9bbd0ddc
PB
432582010-08-20 Petr Baudis <pasky@suse.cz>
43259
43260 * LICENSES: Sync the sunrpc license.
43261
9da4bb31
UD
432622010-08-19 Ulrich Drepper <drepper@redhat.com>
43263
a7ab6ec8
UD
43264 * sunrpc/auth_des.c: Update copyright notice once again.
43265 * sunrpc/auth_none.c: Likewise.
43266 * sunrpc/auth_unix.c: Likewise.
43267 * sunrpc/authdes_prot.c: Likewise.
43268 * sunrpc/authuxprot.c: Likewise.
43269 * sunrpc/bindrsvprt.c: Likewise.
43270 * sunrpc/clnt_gen.c: Likewise.
43271 * sunrpc/clnt_perr.c: Likewise.
43272 * sunrpc/clnt_raw.c: Likewise.
43273 * sunrpc/clnt_simp.c: Likewise.
43274 * sunrpc/clnt_tcp.c: Likewise.
43275 * sunrpc/clnt_udp.c: Likewise.
43276 * sunrpc/clnt_unix.c: Likewise.
43277 * sunrpc/des_crypt.c: Likewise.
43278 * sunrpc/des_soft.c: Likewise.
43279 * sunrpc/get_myaddr.c: Likewise.
43280 * sunrpc/getrpcport.c: Likewise.
43281 * sunrpc/key_call.c: Likewise.
43282 * sunrpc/key_prot.c: Likewise.
43283 * sunrpc/openchild.c: Likewise.
43284 * sunrpc/pm_getmaps.c: Likewise.
43285 * sunrpc/pm_getport.c: Likewise.
43286 * sunrpc/pmap_clnt.c: Likewise.
43287 * sunrpc/pmap_prot.c: Likewise.
43288 * sunrpc/pmap_prot2.c: Likewise.
43289 * sunrpc/pmap_rmt.c: Likewise.
43290 * sunrpc/rpc/auth.h: Likewise.
43291 * sunrpc/rpc/auth_unix.h: Likewise.
43292 * sunrpc/rpc/clnt.h: Likewise.
43293 * sunrpc/rpc/des_crypt.h: Likewise.
43294 * sunrpc/rpc/key_prot.h: Likewise.
43295 * sunrpc/rpc/netdb.h: Likewise.
43296 * sunrpc/rpc/pmap_clnt.h: Likewise.
43297 * sunrpc/rpc/pmap_prot.h: Likewise.
43298 * sunrpc/rpc/pmap_rmt.h: Likewise.
43299 * sunrpc/rpc/rpc.h: Likewise.
43300 * sunrpc/rpc/rpc_des.h: Likewise.
43301 * sunrpc/rpc/rpc_msg.h: Likewise.
43302 * sunrpc/rpc/svc.h: Likewise.
43303 * sunrpc/rpc/svc_auth.h: Likewise.
43304 * sunrpc/rpc/types.h: Likewise.
43305 * sunrpc/rpc/xdr.h: Likewise.
43306 * sunrpc/rpc_clntout.c: Likewise.
43307 * sunrpc/rpc_cmsg.c: Likewise.
43308 * sunrpc/rpc_common.c: Likewise.
43309 * sunrpc/rpc_cout.c: Likewise.
43310 * sunrpc/rpc_dtable.c: Likewise.
43311 * sunrpc/rpc_hout.c: Likewise.
43312 * sunrpc/rpc_main.c: Likewise.
43313 * sunrpc/rpc_parse.c: Likewise.
43314 * sunrpc/rpc_parse.h: Likewise.
43315 * sunrpc/rpc_prot.c: Likewise.
43316 * sunrpc/rpc_sample.c: Likewise.
43317 * sunrpc/rpc_scan.c: Likewise.
43318 * sunrpc/rpc_scan.h: Likewise.
43319 * sunrpc/rpc_svcout.c: Likewise.
43320 * sunrpc/rpc_tblout.c: Likewise.
43321 * sunrpc/rpc_util.c: Likewise.
43322 * sunrpc/rpc_util.h: Likewise.
43323 * sunrpc/rpcinfo.c: Likewise.
43324 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43325 * sunrpc/rpcsvc/key_prot.x: Likewise.
43326 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43327 * sunrpc/rpcsvc/mount.x: Likewise.
43328 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43329 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43330 * sunrpc/rpcsvc/rex.x: Likewise.
43331 * sunrpc/rpcsvc/rstat.x: Likewise.
43332 * sunrpc/rpcsvc/rusers.x: Likewise.
43333 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43334 * sunrpc/rpcsvc/spray.x: Likewise.
43335 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43336 * sunrpc/rtime.c: Likewise.
43337 * sunrpc/svc.c: Likewise.
43338 * sunrpc/svc_auth.c: Likewise.
43339 * sunrpc/svc_authux.c: Likewise.
43340 * sunrpc/svc_raw.c: Likewise.
43341 * sunrpc/svc_run.c: Likewise.
43342 * sunrpc/svc_simple.c: Likewise.
43343 * sunrpc/svc_tcp.c: Likewise.
43344 * sunrpc/svc_udp.c: Likewise.
43345 * sunrpc/svc_unix.c: Likewise.
43346 * sunrpc/svcauth_des.c: Likewise.
43347 * sunrpc/xcrypt.c: Likewise.
43348 * sunrpc/xdr.c: Likewise.
43349 * sunrpc/xdr_array.c: Likewise.
43350 * sunrpc/xdr_float.c: Likewise.
43351 * sunrpc/xdr_mem.c: Likewise.
43352 * sunrpc/xdr_rec.c: Likewise.
43353 * sunrpc/xdr_ref.c: Likewise.
43354 * sunrpc/xdr_sizeof.c: Likewise.
43355 * sunrpc/xdr_stdio.c: Likewise.
43356
9da4bb31
UD
43357 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43358 handling.
43359
bdaa77bc
AS
433602010-08-19 Andreas Schwab <schwab@redhat.com>
43361
43362 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43363
fe2f79db
LM
433642010-08-19 Luis Machado <luisgpm@br.ibm.com>
43365
43366 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43367 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43368 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43369 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43370 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43371 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43372 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43373 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43374 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43375 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43376 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43377 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43378 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43379 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43380
b9b42ee0
AB
433812010-07-26 Anton Blanchard <anton@samba.org>
43382
43383 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43384 * malloc/arena.c (heap_trim): Likewise.
43385
1c06ba31
UD
433862010-08-16 Ulrich Drepper <drepper@redhat.com>
43387
43388 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43389 here. Not...
43390 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43391 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43392
f8392f40
L
433932010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43394
43395 * sysdeps/i386/elf/Makefile: New file.
43396
3162f12e
AS
433972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43398
43399 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43400 from fanotify_init.
43401 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43402 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43403
28c90b2c
UD
434042010-08-15 Ulrich Drepper <drepper@redhat.com>
43405
43406 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43407 of strncasecmp_l.
1feccb6c 43408 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 43409
ca6bb004
UD
434102010-08-14 Ulrich Drepper <drepper@redhat.com>
43411
e9f82e0d
UD
43412 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43413 strncase_l-nonascii.
43414 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43415 Add strncase_l-ssse3.
43416 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43417 * sysdeps/x86_64/strcmp.S: Likewise.
43418 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43419 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43420 * sysdeps/x86_64/strncase.S: New file.
43421 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43422 * sysdeps/x86_64/strncase_l.S: New file.
43423 * string/Makefile (strop-tests): Add strncasecmp.
43424 * string/test-strncasecmp.c: New file.
43425
43426 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43427 warning.
43428
ca6bb004
UD
43429 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43430 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43431
052fa7b3
AS
434322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43433
43434 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43435
962dba78
UD
434362010-08-12 Ulrich Drepper <drepper@redhat.com>
43437
43438 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43439 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43440 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43441
bebff237
AM
434422010-05-01 Alan Modra <amodra@gmail.com>
43443
43444 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43445 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43446 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43447 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43448 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43449 tidying. Don't tail-call __sigjmp_save for static lib.
43450 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43451 save location.
43452 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43453 (CALL_MCOUNT): Add eh info, and nop after bl.
43454 (TAIL_CALL_SYSCALL_ERROR): New macro.
43455 (PSEUDO_RET): Use it.
43456 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43457 Correct save location of integer regs and cr.
43458 (_dl_profile_resolve): Correct cr save location. Delete nops
43459 after bl when SHARED. Reduce cfi size a little by better
43460 placement of cfi directives.
43461 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43462 make a stack frame. Instead use parm save area as a temp.
43463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43464 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43466 Don't make a stack frame for parent, use parm save area.
43467 Increase child stack frame to 112 bytes. Don't save unused reg,
43468 and adjust reg usage. Set up cfi on error recovery and
43469 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43471 (__makecontext): Add dummy nop after jump to exit.
43472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43473 Use correct parm save area and cr save, reduce stack frame.
43474 Correct cfi for possible PSEUDO_RET frame setup.
43475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43476 Branch to local label emitted by PSEUDO_RET rather than
43477 __syscall_error.
43478
02637374
AS
434792010-08-12 Andreas Schwab <schwab@redhat.com>
43480
43481 [BZ #11904]
43482 * locale/programs/locale.c (print_assignment): New function.
43483 (show_locale_vars): Use it.
43484
c3e2f19b
UD
434852010-08-11 Ulrich Drepper <drepper@redhat.com>
43486
3cdaa6ad
UD
43487 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43488 field.
43489 (struct statfs64): Likewise.
43490 (_STATFS_F_FLAGS): Define.
43491 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43493 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43494 (ST_VALID): Define locally.
43495 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43496 __statvfs_getflags, use the provided value.
43497 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43498 __ASSUME_STATFS_F_FLAGS.
43499
754f7da3
UD
43500 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43501
10b3bedc
UD
43502 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43503 Add sys/fanotify.h.
43504 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43505 fanotify_mask for GLIBC_2.13.
43506 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43507 fanotify_init and fanotify_mark.
43508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43509 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43510
c08fb0d7
UD
43511 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43512 Add prlimit.
43513 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43514 prlimit64 for GLIBC_2.13.
43515 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43516 prlimit64.
43517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43518 syscall.
43519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43520 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43521 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43522 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43523 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43524 add prlimit alias.
43525 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43526
15bac72b
UD
43527 [BZ #11903]
43528 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43529 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43530
c3e2f19b
UD
43531 * nss/Makefile: Add rules to build and run tst-nss-test1.
43532 * shlib-versions: Add entry for libnss_test1.
43533 * nss/nss_test1.c: New file.
43534 * nss/tst-nss-test1.c: New file.
43535
43536 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43537 (__nss_configure_lookup): Set appropriate entry in
43538 __nss_configure_lookup to true.
43539 * nss/nsswitch.h: Define enum with indeces of databases in
43540 databases and __nss_database_custom arrays. Declare
43541 __nss_database_custom.
43542 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43543 to avoid using nscd when custom rules are installed.
43544 * nss/getXXbyYY_r.c: Likewise.
43545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43546
43547 * nss/nss_files/files-parse.c: Whitespace fixes.
43548
f15ce4d8
UD
435492010-08-09 Ulrich Drepper <drepper@redhat.com>
43550
43551 [BZ #11883]
43552 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43553 * posix/fnmatch_loop.c: Likewise.
43554
d22e4cc9
AK
435552010-07-17 Andi Kleen <ak@linux.intel.com>
43556
43557 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43558 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43559 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43560 * Versions.def [GLIBC_2.13]: Add.
43561
805bc17d
UD
435622010-08-06 Ulrich Drepper <drepper@redhat.com>
43563
43564 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43565 Also fail if tpwd after pwuid call is NULL.
43566
5a42321d
ST
435672010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43568
43569 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43570 when converting to ms.
43571
fd3ebeda
ST
435722010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43573
43574 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43575 EOPNOTSUPP errors with ENOTTY.
43576 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43577 EOPNOTSUPP errors with ENOTTY.
43578
73507d3a
UD
435792010-07-31 Ulrich Drepper <drepper@redhat.com>
43580
43581 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43582 Add strcasecmp_l-ssse3.
43583 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43584 strcasecmp.
43585 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43586 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43587 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43588
fe36dd02
UD
435892010-07-30 Ulrich Drepper <drepper@redhat.com>
43590
66f6765a
UD
43591 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43592
42e08a54
UD
43593 * string/Makefile (strop-tests): Add strcasecmp.
43594 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43595 strcasecmp_l-nonascii.
43596 (gen-as-const-headers): Add locale-defines.sym.
43597 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43598 * sysdeps/x86_64/strcasecmp.S: New file.
43599 * sysdeps/x86_64/strcasecmp_l.S: New file.
43600 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43601 * sysdeps/x86_64/locale-defines.sym: New file.
43602 * string/test-strcasecmp.c: New file.
43603
fe36dd02
UD
43604 * string/test-strcasestr.c: Test both ends of the range of characters.
43605 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43606
48cbc0d6
RM
436072010-07-29 Roland McGrath <roland@redhat.com>
43608
76e6d6bc 43609 [BZ #11856]
48cbc0d6
RM
43610 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43611
880113d9
UD
436122010-07-27 Ulrich Drepper <drepper@redhat.com>
43613
43614 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43615 for ld.so.
43616
deb9cabb
AS
436172010-07-27 Andreas Schwab <schwab@redhat.com>
43618
43619 * manual/memory.texi (Malloc Tunable Parameters): Document
43620 M_PERTURB.
43621
1c7570ff
RM
436222010-07-26 Roland McGrath <roland@redhat.com>
43623
43624 [BZ #11840]
43625 * configure.in (-fgnu89-inline check): Set and substitute
43626 gnu89_inline, not libc_cv_gnu89_inline.
43627 * configure: Regenerated.
43628 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43629
24fb0f88
UD
436302010-07-26 Ulrich Drepper <drepper@redhat.com>
43631
43632 * string/test-strnlen.c: New file.
43633 * string/Makefile (strop-tests): Add strnlen.
43634 * string/tester.c (test_strnlen): Add a few more test cases.
43635 * string/tst-strlen.c: Better error reporting.
43636
43637 * sysdeps/x86_64/strnlen.S: New file.
43638
8e96b93a
UD
436392010-07-24 Ulrich Drepper <drepper@redhat.com>
43640
43641 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43642 lower-latency instructions.
43643
dbc676d4
UD
436442010-07-23 Ulrich Drepper <drepper@redhat.com>
43645
43646 * string/test-strcasestr.c: New file.
43647 * string/test-strstr.c: New file.
43648 * string/Makefile (strop-tests): Add strstr and strcasestr.
43649 * string/str-two-way.h: Don't undefine MAX.
43650 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43651
f6a31e0e
AS
436522010-07-21 Andreas Schwab <schwab@redhat.com>
43653
43654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43655 strcasestr-nonascii.
43656 (CFLAGS-strcasestr-nonascii.c): Define.
43657 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43658 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43659 Remove unused attribute.
43660
5dbc3b6c
RM
436612010-07-20 Roland McGrath <roland@redhat.com>
43662
43663 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43664 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43665 ld.so.cache was broken. With it, there is no way to disable dsocaps
43666 like LD_HWCAP_MASK can disable hwcaps.
43667
23d101d8
EPM
436682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43669
43670 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43671
cc9f2e47
UD
436722010-07-16 Ulrich Drepper <drepper@redhat.com>
43673
43674 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43675 call in strcasestr.
43676 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43677 __strcasestr_sse42_nonascii.
43678 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43679 strcasestr-nonascii.c.
43680 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43681
77c1b069
LM
436822010-06-15 Luis Machado <luisgpm@br.ibm.com>
43683
43684 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43685 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43686 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43687 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43688
440566c3
UD
436892010-07-09 Ulrich Drepper <drepper@redhat.com>
43690
43691 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43692 fcntl.
43693
5be9d05d
AS
436942010-07-06 Andreas Schwab <schwab@redhat.com>
43695
c30b7ee2 43696 [BZ #11577]
5be9d05d
AS
43697 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43698 dl_signal_cerror.
43699
8a492a67
UD
437002010-07-06 Ulrich Drepper <drepper@redhat.com>
43701
43702 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43703 _PC_PIPE_BUF using F_GETPIPE_SZ.
43704
713df3d5
RM
437052010-07-05 Roland McGrath <roland@redhat.com>
43706
43707 * manual/arith.texi (Rounding Functions): Fix rint description
43708 implicit in round description.
43709
702e8f14
UD
437102010-07-02 Ulrich Drepper <drepper@redhat.com>
43711
43712 * elf/Makefile: Fix linking for a few tests to make recent linker
43713 happy.
43714
52ed8be9
AS
437152010-06-30 Andreas Schwab <schwab@redhat.com>
43716
43717 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43718 $(common-objpfx)libc_nonshared.a.
43719
f47c9a11
LM
437202010-06-21 Luis Machado <luisgpm@br.ibm.com>
43721
43722 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43723 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43724 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43725 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43726 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43727 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43728 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43729 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43744 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43745 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43746 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43747 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43748 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43749 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43750 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43751 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43752 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43753 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43754 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43755 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43770
6fb8cbcb
L
437712010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43772
43773 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43774 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43775 * string/memmove.c (memmove): Renamed to ...
43776 (MEMMOVE): ...this. Default to memmove.
43777 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43778 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43779 (END_CHK): Define.
43780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43781 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43782 mempcpy-ssse3-back memmove-ssse3-back.
43783 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43785 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43786 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43787 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43788 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43789 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43790 * sysdeps/x86_64/multiarch/memmove.c: New file.
43791 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43792 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43793 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43794 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43795 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43797 Define.
43798 (index_Fast_Copy_Backward): Define.
43799 (HAS_ARCH_FEATURE): Define.
43800 (HAS_FAST_REP_STRING): Define.
43801 (HAS_FAST_COPY_BACKWARD): Define.
43802
4e733bac 438032010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43804
43805 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43806 Restore proper fallback handling.
43807
63c4ed22
UD
438082010-06-19 Ulrich Drepper <drepper@redhat.com>
43809
ac2b484c
UD
43810 [BZ #11701]
43811 * posix/group_member.c (__group_member): Correct checking loop.
43812
63c4ed22
UD
43813 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43814 OOM in getpwuid_r correctly. Return error number when the caller
43815 should return, otherwise -1.
43816 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43817 call returning > 0 value.
43818 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43819
765ade4b
AS
438202010-06-07 Andreas Schwab <schwab@redhat.com>
43821
43822 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43823 libc_nonshared.a from targets in modules-names.
43824
80da2e09
KS
438252010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43826
43827 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43828 requires it.
43829
158db122
LM
438302010-06-10 Luis Machado <luisgpm@br.ibm.com>
43831
43832 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43833 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43834 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43835 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43836
caa78cf8
AS
438372010-06-02 Andreas Schwab <schwab@redhat.com>
43838
43839 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43840
b2ef2c01
UD
438412010-06-14 Ulrich Drepper <drepper@redhat.com>
43842
43843 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43844 and F_GETPIPE_SZ.
43845 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43846 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43849 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43850 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43851
fbd643b6
RM
438522010-06-14 Roland McGrath <roland@redhat.com>
43853
43854 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43855
f32f2869
JJ
438562010-06-07 Jakub Jelinek <jakub@redhat.com>
43857
43858 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43859 __REDIRECT followed by __THROW.
43860 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43861 * posix/getopt.h (getopt): Likewise.
43862
2a50c078
EPM
438632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43864
43865 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43866 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43867 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43868 in AT_FLAGS.
43869 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43870 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43871
eb5ad2eb
LM
438722010-05-28 Luis Machado <luisgpm@br.ibm.com>
43873
43874 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43875
3c88fe1e
L
438762010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43877
43878 [BZ #11640]
43879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43880 Properly check family and model.
43881
d2f73151
TY
438822010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43883
43884 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43885
ebd2e13d
LM
438862010-05-24 Luis Machado <luisgpm@br.ibm.com>
43887
43888 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43889
b32b8b45
UD
438902010-05-21 Ulrich Drepper <drepper@redhat.com>
43891
43892 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43893 symbol reference.
43894
9acbe24d
AS
438952010-05-19 Andreas Schwab <schwab@redhat.com>
43896
43897 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43898 symbol reference.
43899
f0ccf6ea
AS
439002010-05-21 Andreas Schwab <schwab@redhat.com>
43901
3d04ff3a
AS
43902 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43903 and internal_recvmmsg.
43904 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43905 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43906 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43907 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43908
f0ccf6ea
AS
43909 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43910 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43911 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43912
5b08ac57
AS
439132010-05-20 Andreas Schwab <schwab@redhat.com>
43914
43915 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43916
4828935d
LM
439172010-05-17 Luis Machado <luisgpm@br.ibm.com>
43918
43919 POWER7 optimizations.
43920 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43921 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43922
373d545e
UD
439232010-05-19 Ulrich Drepper <drepper@redhat.com>
43924
43925 * version.h: Update for 2.13 development version.
43926
21a2b1ae
AS
439272010-05-12 Andrew Stubbs <ams@codesourcery.com>
43928
43929 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43930 exceptions. Return 0.
43931
3f7dcb2b
RM
439322010-05-07 Roland McGrath <roland@redhat.com>
43933
43934 * elf/ldconfig.c (main): Add a const.
43935
5f24d53a 439362010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43937
a160f8d8
UD
43938 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43939 (args_options): Add no-idn option.
43940 (ahosts_keys_int): Add idn_flags to ai_flags.
43941 (parse_option): Handle 'i' option to clear idn_flags.
43942
5f24d53a
UD
43943 * malloc/malloc.c (_int_free): Possible race in the most recently
43944 added check. Only act on the data if no current modification
43945 happened.
265bb1ce
UD
43946
43947See ChangeLog.17 for earlier changes.
This page took 6.107435 seconds and 5 git commands to generate.