]> sourceware.org Git - glibc.git/blame - ChangeLog
Revert "aarch64: Add hp-timing.h"
[glibc.git] / ChangeLog
CommitLineData
23329dca
AS
12014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4
9c82da17
MR
52014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6
7 [BZ #17078]
8 * sysdeps/arm/dl-machine.h (elf_machine_rela)
9 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11
29c4f53e
JM
122014-07-17 Joseph Myers <joseph@codesourcery.com>
13
831b9896
JM
14 [BZ #17088]
15 * math/fesetenv.c (__fesetenv)
16 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17 * math/feupdateenv.c (__feupdateenv)
18 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
19
b21c2d50
JM
20 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22 (__ASSUME_SOCKETCALL): Do not define.
23
067764ef
JM
24 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
25 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26 (__ASSUME_SOCKETCALL): Do not define.
27 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
33 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35
642530c1
JM
36 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
37 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
38 (__ASSUME_SOCKETCALL): Do not define.
39 (__ASSUME_IPC64): Define unconditionally.
40 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
45 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47 Likewise.
48
03f77315
JM
49 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
50 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
51 (__ASSUME_SOCKETCALL): Do not define.
52 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
53 (__ASSUME_FUTEX_LOCK_PI): Likewise.
54 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
55 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56 (__ASSUME_REQUEUE_PI): Define unconditionally.
57 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
58 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
59 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
60 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
61 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
62 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
63
083b1f7c
JM
64 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
65 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
66 (__ASSUME_SOCKETCALL): Do not define.
67 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
68 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
69 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
70 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
71 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
72 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
73
5be44ea6
JM
74 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
75 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
76 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
77 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
78 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
79 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
80 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
81 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
82 (__ASSUME_GETCPU_SYSCALL): Likewise.
83
d95ffd4c
JM
84 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
85 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
86 cases for individual architectures.
87 * sysdeps/gnu/configure: Regenerated.
88 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
89 LIBC_SLIBDIR_RTLDDIR.
90 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
91 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
92 LIBC_SLIBDIR_RTLDDIR.
93 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
94 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
95 LIBC_SLIBDIR_RTLDDIR.
96 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
97 Regenerated.
98 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
99 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
100 file.
101 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
102 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
103 file.
104 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
105 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
106 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
107 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
108
29c4f53e
JM
109 * sysdeps/aarch64/shlib-versions: Move to ...
110 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
111 * sysdeps/alpha/shlib-versions: Move to ...
112 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
113 * sysdeps/arm/shlib-versions: Move to ...
114 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
115 * sysdeps/hppa/shlib-versions: Move all contents except for
116 libgcc_s entry to ...
117 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
118 entry from ...
119 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
120 * sysdeps/ia64/shlib-versions: Move to ...
121 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
122 entry from ...
123 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
124 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
125 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
126 * sysdeps/microblaze/shlib-versions: Move to ...
127 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
128 * sysdeps/mips/shlib-versions: Move to ...
129 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
130 entry from ...
131 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
132 * sysdeps/tile/shlib-versions: Move to ...
133 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
134 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
135 from ...
136 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
137 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
138 entry from ...
139 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
140
32bead5b
WN
1412014-07-17 Will Newton <will.newton@linaro.org>
142
57977c4b
WN
143 * sysdeps/arm/bits/atomic.h
144 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
145 (__arch_compare_and_exchange_bool_16_int): Likewise.
146 (__arch_compare_and_exchange_bool_64_int): Likewise.
147
32bead5b
WN
148 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
149 into an #else block.
150
37fccd41
RM
1512014-07-16 Roland McGrath <roland@hack.frob.com>
152
153 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
154 just Linux configurations. Test empirically that the compiler sets
155 __ARM_EABI__, rather than using the tuple to decide.
156 * sysdeps/arm/preconfigure: Regenerated.
157 * sysdeps/unix/sysv/linux/arm/configure: File removed.
158 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
159 contents appended ...
160 * sysdeps/arm/configure.ac: ... here.
161 * sysdeps/arm/configure: Regenerated.
162
b365f3ec
RM
1632014-07-15 Roland McGrath <roland@hack.frob.com>
164
8badf496
RM
165 * nptl/pthread_kill.c: New file.
166 * nptl/pthread_sigmask.c: New file.
167 * nptl/pthread_sigqueue.c: New file.
168
3df6f22e
RM
169 * sysdeps/nptl/lowlevellock.h: New file.
170 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
171 * sysdeps/nptl/lowlevellock-futex.h: New file.
172
b365f3ec
RM
173 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
174 Remove dead declarations.
175
f2fef657
L
1762014-07-14 H.J. Lu <hongjiu.lu@intel.com>
177
178 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
179 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
180 config-cflags-avx2.
181 * sysdeps/x86_64/configure.ac: Likewise.
182 * sysdeps/i386/configure: Regenerated.
183 * sysdeps/x86_64/configure: Likewise.
184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
185 memset-avx2 only if config-cflags-avx2 is yes.
186 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
187 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
188 defined.
189 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
190 only if HAVE_AVX2_SUPPORT is defined.
191 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
192
f6c44d47
AM
1932014-07-14 Alan Modra <amodra@gmail.com>
194
195 [BZ #17153]
196 * elf/elf.h (DT_PPC64_NUM): Correct value.
197 * NEWS: Add to fixed bug list.
198
7ee03f00
JM
1992014-07-13 Jim Meyering <meyering@fb.com>
200
201 [BZ 17150]
202 regex: don't deref NULL upon heap allocation failure
203 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
204 failure in one more place.
205 To trigger the segfault, configure grep -with-included-regex,
206 build it, and run these commands:
207 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
208
9d39d517
AS
2092014-07-13 Andreas Schwab <schwab@linux-m68k.org>
210
211 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
212
a75b89b7
RH
2132014-07-11 Richard Henderson <rth@redhat.com>
214
215 * sysdeps/aarch64/libm-test-ulps: Update.
216
771eb141
FW
2172014-07-10 Florian Weimer <fweimer@redhat.com>
218
219 [BZ #17135]
220 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
221 * nptl/allocatestack.c (__nptl_setxid_error): New function.
222 (__nptl_setxid): Initialize error member. Call
223 __nptl_setxid_error.
224 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
225 * nptl/descr.h (struct xid_command): Add error member.
226 * nptl/tst-setuid3.c: New file.
227 * nptl/Makefile (tests): Add it.
228
bc1da176
AZ
2292014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
230
231 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
232 New define.
233 (__lll_trylock): Use __lll_base_trylock.
234 (__lll_cond_trylock): Likewise.
235
887865fc
RM
2362014-07-10 Roland McGrath <roland@hack.frob.com>
237
c0c6bac9
RM
238 * nptl/pthread_create.c (start_thread): Use atomic_or and
239 lll_futex_wake directly rather than lll_robust_dead.
240 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
241 (lll_robust_dead): Macro removed.
6a42be57 242 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
243 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
244 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
245 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
246 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
247 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
248 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
249 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
250 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
251 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
252 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
253 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
254 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
255 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
256 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
257
887865fc
RM
258 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
259 Use atomic_compare_and_exchange_val_acq directly rather than
260 lll_robust_trylock.
261 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
262 (__lll_robust_trylock, lll_robust_trylock): Removed.
263 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
264 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
265 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
266 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
267 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
268 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
269 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
270 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
271 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
272 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
273 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
274 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
275 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
276 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
277
58536726
FW
2782014-07-02 Florian Weimer <fweimer@redhat.com>
279
280 * manual/locale.texi (Locale Names): New section documenting
281 locale name syntax. Adjust menu and node chaining accordingly.
282 (Choosing Locale): Reference Locale Names, Locale Categories.
283 Mention setting LC_ALL=C. Reflect that name syntax is now
284 documented.
285 (Locale Categories): New section title. Reference Locale Names.
286 LC_ALL is an environment variable, but not a category.
287 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
288 description, now in Locale Name. Reference that section. Locale
289 name syntax is now documented.
290
4e8f95a0
FW
2912014-07-02 Florian Weimer <fweimer@redhat.com>
292
293 [BZ #17137]
294 * locale/findlocale.c (name_present, valid_locale_name): New
295 functions.
296 (_nl_find_locale): Use the loc_name variable to store name
297 candidates. Call name_present and valid_locale_name to check and
298 validate locale names. Return an error if the locale is invalid.
299
d1836456
FW
3002014-07-02 Florian Weimer <fweimer@redhat.com>
301
302 * locale/setlocale.c (setlocale): Use strdup for allocating
303 composite name copy.
304
d69b7f5a
SP
3052014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
306
888c679b
SP
307 Sync up with gnulib.
308 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
309 [!_LIBC && ENABLE_NLS]: Include gettext.h.
310 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
311 and _GL_ARG_NONNULL.
312 [USE_UNLOCKED_IO]: Include unlocked-io.h.
313 [!_LIBC]: Include code for Windows and Cygwin.
314 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
315 Include prototype for int strerror_r.
316 [!_LIBC] (is_open): New function.
317 (flush_stdout): New function.
318 (print_errno_message): Use it.
319 (error): Likewise.
320 (error_at_line): Likewise.
321 (error_tail) Add function attribute macros. Use
322 __builtin_expect.
323
180e0e4b
SP
324 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
325
d22f1fe2
SP
326 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
327
12f2254b
SP
328 * io/ftw.c: Include sys/param.h unconditionally.
329
c3c7c360
SP
330 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
331
d62aa75a
SP
332 [BZ #17125]
333 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
334 libc_freeres_ptr.
335 (freecache): New function to free CACHE on exit.
336
d69b7f5a
SP
337 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
338 initialization.
339
5efe06a1
DM
3402014-07-09 David S. Miller <davem@davemloft.net>
341
342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
343
7000d82e
DM
344 * sysdeps/sparc/nptl/internaltypes.h: Delete.
345 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
346 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
347 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
348 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
349 * sysdeps/sparc/nptl/sem_init.c: Likewise.
350 * sysdeps/sparc/nptl/sem_post.c: Likewise.
351 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
352 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
353 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
354 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
355 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
356 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
357
c213442d
AS
3582014-07-09 Andreas Schwab <schwab@suse.de>
359
4a2552c3
AS
360 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
361 output.
362 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
363 (do_test): Likewise.
364
c213442d
AS
365 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
366
82374e65
WN
3672014-07-09 Will Newton <will.newton@linaro.org>
368
369 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
370 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
371 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
372 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
373 * sysdeps/hppa/start.S (_start): Likewise.
374
6680738a
SP
3752014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
376
6ee3eab4
SP
377 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
378
6680738a
SP
379 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
380 defined.
381
80b5c505
SP
3822014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
383
e35c53e3
SP
384 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
385 after checking that it is non-NULL.
386
80b5c505
SP
387 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
388
91f4b564
AZ
3892014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
390
27b75f56
AZ
391 * sysdeps/powerpc/memmove.c: Remove file.
392 * sysdeps/powerpc/powerpc32/power4/memcopy.h
393 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
394 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
395 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
396 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
397 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
398 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
399 string memmove instead of removed powerpc one.
400
e7f95bb5
AZ
401 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
402 [weak_alias]: Fix compiler warning due trailing data.
403 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
404 [weak_alias]: Likewise.
405 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
406 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
407
91f4b564
AZ
408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
409 (__libc_ifunc_impl_list): Add memmove functions.
410
7c33f1e5
SP
4112014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
412
413 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
414 Remove code.
415 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
416 Likewise
417 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
418 Likewise
419 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
420 Likewise
421 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
422 Likewise
423 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
424 Likewise
425 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
426 Likewise
427 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
428 Likewise
429 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
430 Likewise
431 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
432 Likewise
433 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
434 Likewise
435 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
436 Likewise
437 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
438 Likewise
439 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
440 Likewise
441 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
442 Likewise
443 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
444 Likewise
445 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
446 Likewise
447
3f17b03b
AZ
4482014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449
87868c24
AZ
450 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
451 to avoid alignment traps in non-cacheable memory.
452 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
453
07aedd78
AZ
454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
455 multiarch objects.
456 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
457 file: multiarch power7 memmove.
458 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
459 multiarch default memmove.
460 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
461 multiarch memove for powerpc32/power4.
462
17762f66
AZ
463 * string/bcopy.c: Use full path to include memmove.c.
464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
465 multiarch objects.
466 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
467 bcopy for powerpc64.
468 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
469 bcopy for powerpc64.
470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
471 and memmove implementations.
472 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
473 optimized multiarch memmove for POWER7/powerpc64.
474 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
475 default multiarch memmove for powerpc64.
476 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
477 multiarch for powerpc64.
478 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
479 for POWER7/powerpc64.
480 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
481 memmove for POWER7/powerpc64.
482
d6f68bbe
AZ
483 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
484 glibc default one.
485
3f17b03b
AZ
486 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
487 __ELF_NATIVE_CLASS equal to 64.
488
08192659
RM
4892014-07-07 Roland McGrath <roland@hack.frob.com>
490
f4c4021b
RM
491 * sysdeps/nptl/lowlevellock.h: File removed.
492
f083450f
RM
493 * NEWS: NPTL is no longer an add-on!
494 * nptl/internaltypes.h: Moved ...
495 * sysdeps/nptl/internaltypes.h: ... here.
496 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
497 * sysdeps/nptl/fork.c: Likewise.
498 * sysdeps/nptl/gai_misc.h: Likewise.
499 * sysdeps/nptl/librt-cancellation.c: Likewise.
500 * sysdeps/nptl/jmp-unwind.c: Likewise.
501 * sysdeps/nptl/setxid.h: Likewise.
502 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
503 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
504 * sysdeps/unix/sysv/linux/arm/Implies: New file.
505 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
506 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
507 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
508 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
509 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
510 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
511 * sysdeps/unix/sysv/linux/mips/Implies: New file.
512 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
513 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
514 * sysdeps/unix/sysv/linux/sh/Implies: New file.
515 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
516 * sysdeps/unix/sysv/linux/tile/Implies: New file.
517 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
518 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
519 * nptl/Makeconfig: Moved ...
520 * sysdeps/nptl/Makeconfig: ... here.
521 * nptl/configure: File removed.
522 * nptl/ANNOUNCE: File removed.
523 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
524 * sysdeps/unix/sysv/linux/configure: Regenerated.
525
08192659
RM
526 * nptl/Makefile (routines): Add libc_pthread_init,
527 libc_multiple_threads, register-atfork and unregister-atfork.
528 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
529 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
530 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
531 pthread-pi-defines.sym, structsem.sym.
532 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
533 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
534 [$(subdir) = nptl] (tests): Add tst-setgetname.
535 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
536 * sysdeps/unix/sysv/linux/sigaction.c: Just include
537 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
538 [!LIBC_SIGACTION]: Remove aliases.
539 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
540 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
541 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
542 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
543 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
544 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
545 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
546 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
547 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
548 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
549 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
550 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
551 __libc_allocate_rtsig_private.
552 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
553 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
554 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
555 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
556 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
557 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
558 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
559 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
560 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
561 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
562 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
563 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
564 * nptl/internaltypes.h: ... here.
565 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
566 * sysdeps/nptl/jmp-unwind.c: ... here.
567 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
568 * nptl/libc-lowlevellock.c: ... here.
569 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
570 * nptl/libc_multiple_threads.c: ... here.
571 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
572 * nptl/libc_pthread_init.c: ... here.
573 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
574 * nptl/lowlevelbarrier.sym: ... here.
575 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
576 * nptl/lowlevelcond.sym: ... here.
577 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
578 * nptl/lowlevellock.c: ... here.
579 * nptl/lowlevellock.h: Moved ...
580 * sysdeps/nptl/lowlevellock.h: ... here.
581 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
582 * nptl/lowlevelrobustlock.c: ... here.
583 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
584 * nptl/lowlevelrobustlock.sym: ... here.
585 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
586 * nptl/lowlevelrwlock.sym: ... here.
587 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
588 * nptl/pt-fork.c: ... here.
589 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
590 * nptl/pthread-pi-defines.sym: ... here.
591 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
592 * nptl/pthread_attr_getaffinity.c: ... here.
593 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
594 * nptl/pthread_attr_setaffinity.c: ... here.
595 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
596 * nptl/pthread_mutex_cond_lock.c: ... here.
597 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
598 Update #include.
599 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
600 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
601 * nptl/pthread_once.c: ... here, replacing old file.
602 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
603 * nptl/pthread_yield.c: ... here.
604 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
605 * nptl/register-atfork.c: ... here.
606 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
607 * nptl/sem_post.c: ... here.
608 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
609 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
610 * nptl/sem_timedwait.c: ... here.
611 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
612 * nptl/sem_trywait.c: ... here.
613 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
614 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
615 * nptl/sem_wait.c: ... here.
616 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
617 * nptl/structsem.sym: ... here.
618 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
619 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
620 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
621 * nptl/unregister-atfork.c: ... here.
622 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
623 * nptl/unwindbuf.sym: ... here.
624 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
625 * sysdeps/nptl/fork.c: ... here.
626 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
627 * sysdeps/nptl/fork.h: ... here.
628 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
629 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
630 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
631 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
632 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
633 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
634 * sysdeps/unix/sysv/linux/getpid.c: ... here.
635 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
636 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
637 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
638 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
639 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
640 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
641 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
642 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
643 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
644 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
645 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
646 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
647 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
648 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
649 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
650 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
651 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
652 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
653 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
654 * sysdeps/unix/sysv/linux/raise.c: ... here.
655 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
656 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
657 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
658 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
659 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
660 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
661 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
662 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
663 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
664 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
665 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
666 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
667 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
668 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
669 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
670
96baf6ff
SP
6712014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
672
673 * sysdeps/generic/memcopy.h: Add comment for
674 MEMCPY_OK_FOR_FWD_MEMMOVE.
675
6b7b14b2
WN
6762014-07-04 Will Newton <will.newton@linaro.org>
677
1570a72b
WN
678 * string/memchr.c: Merge from gnulib.
679 [_LIBC]: Remove conditionals.
680 (__ptr_t): Remove define.
681 (LONG_MAX_32_BITS): Likewise.
682 (LONG_MAX): Likewise.
683 (MEMCHR): Use ANSI prototype and optimize algorithm.
684
6b7b14b2
WN
685 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
686
38851324
SP
6872014-07-03 Roland McGrath <roland@hack.frob.com>
688
3d9eb57c
RM
689 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
690 (lll_futex_timed_wait_bitset): Fix syscall argument count.
691
78b984ae
RM
692 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
693 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
694 in a bare environment with no <stdlib.h> installed.
695 * sysdeps/nptl/configure: Regenerated.
696
2d5976a5
RM
697 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
698
c1f5acd4
RM
699 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
700 AC_EGREP_CPP for kernel header checks, so they only succeed if
701 including <linux/version.h> actually works right.
702 * sysdeps/unix/sysv/linux/configure: Regenerated.
703
4d614fe5
RM
704 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
705 value so it's not diagnosed as unused.
706
38851324
SP
707 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
708 thing) with "ifeq ($(subdir),rt)".
709
b3ec00e5
RH
7102014-07-03 Richard Henderson <rth@redhat.com>
711
69862e25
RH
712 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
713 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
714 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
715
d5e16ade
RH
716 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
717 (math_force_eval): New.
718
ca7b945c
RH
719 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
720 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
721
cd1175a3
RH
722 * sysdeps/alpha/fpu/s_round.c: Remove file.
723 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
724
b3ec00e5
RH
725 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
726 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
727 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
728 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
729 (_dl_start, print_statistics): Likewise.
730 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
731 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
732
733 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
734 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
735 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
736 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
737 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
738 (HP_SMALL_TIMING_AVAIL): Define.
739 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
740 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
741 (HP_SMALL_TIMING_AVAIL): Define.
742 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
743 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
744
745 * sysdeps/aarch64/hp-timing.h: New file.
746
747 * sysdeps/generic/hp-timing.h: Remove dead comment.
748 * sysdeps/generic/hp-timing-common.h: New file.
749 * sysdeps/alpha/hp-timing.h: Include it.
750 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
751 * sysdeps/i386/i686/hp-timing.h: Likewise.
752 * sysdeps/ia64/hp-timing.h: Likewise.
753 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
754 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
755 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
756 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
757 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
758 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
759 (hp_timing_t): New.
760
761 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
762 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
763 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
764 * elf/rtld.c (_dl_start_final): Likewise.
765 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
766 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
767 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
768 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
769 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
770 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
771 (HP_TIMING_DIFF_INIT): Remove.
772 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
773 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
774 (HP_TIMING_DIFF_INIT): Remove.
775 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
776 * sysdeps/i386/i686/hp-timing.c: Remove file.
777 * sysdeps/x86_64/hp-timing.c: Remove file.
778 * sysdeps/ia64/hp-timing.c: Remove file.
779 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
780 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
781 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
782 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
783
784 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
785 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
786 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
787 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
788 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
789 (HP_TIMING_ACCUM): Remove.
790 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
791 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
792 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
793
794 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
795 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
796 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
797 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
798 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
799 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
800 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
801 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
802
803 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
804
225f410f
MR
8052014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
806
807 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
808
3247f285
SP
8092014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
810
811 Sync up with gettext.
812 * intl/loadmsgcat.c: Define O_BINARY if not defined.
813 [_MSC_VER]: Include malloc.h
814 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
815 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
816 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
817 TEMP_FAILURE_RETRY. Cast return of alloca.
818 [!_LIBC] Call gl_rwlock_init.
819 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
820
d12704c7
SP
8212014-07-02 Roland McGrath <roland@hack.frob.com>
822
823 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
824 before checking its value.
825
99f8dc92
SP
8262014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
827
05fdac77
SP
828 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
829
99f8dc92
SP
830 * debug/memcpy_chk.c: Don't include pagecopy.h.
831 * debug/mempcpy_chk.c: Likewise.
832 * string/memcpy.c: Likewise.
833 * string/memmove.c: Likewise.
834 * sysdeps/powerpc/memmove.c: Likewise.
835 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
836 definition of PAGE_COPY_FWD_MAYBE here...
837 * sysdeps/generic/pagecopy.h: ... from here.
838 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
839
bc8ea385
VR
8402014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
841 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
842
843 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
844 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
845 optimizations.
846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
847 (__libc_ifunc_impl_list): Likewise.
848 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
849 multiarch strcat for PPC64.
850 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
851 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
852
fe5f34e4
RM
8532014-07-02 Roland McGrath <roland@hack.frob.com>
854
855 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
856
256aa665
SP
8572014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
858
d4eb8195
SP
859 * intl/loadmsgcat.c: Remove declaration of
860 get_sysdep_segment_value.
861 (get_sysdep_segment_value): Use ISO C style.
862 (_nl_load_domain): Use ISO C style. Get rid of redundant
863 semicolon. Fix typo and formatting in comment.
864 (_nl_unload_domain): Use ISO C style.
865
256aa665
SP
866 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
867
b100f9aa
WN
8682014-07-02 Will Newton <will.newton@linaro.org>
869
870 * malloc/obstack.c: Merge from gnulib master.
871 [HAVE_CONFIG_H]: Remove conditional code.
872 [!_LIBC]: Include config.h.
873 [!ELIDE_CODE]: Don't include inttypes.h, include
874 stdint.h unconditionally.
875 (print_and_abort): Mark as _Noreturn.
876 (_obstack_allocated_p): Mark as __attribute_pure__.
877 (obstack_free): Rename to __obstack_free.
878 [!__attribute__]: Remove conditional code.
879 * malloc/obstack.h: Merge from gnulib master.
880 [__cplusplus]: Move conditional down.
881 [!__attribute_pure__]: Define __attribute_pure__ here
882 if it is not already defined.
883 (_obstack_memory_used): Mark as __attribute_pure__.
884 [!__obstack_free]: Define as obstack_free.
885 [__GNUC__]: Remove check for ancient NeXT gcc.
886
c4c41244
PE
8872014-07-02 Will Newton <will.newton@linaro.org>
888 Paul Eggert <eggert@cs.ucla.edu>
889
890 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
891
e1e041c4
SP
8922014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
893
894 * resolv/gethnamaddr.c: Add comment warning that the file is
895 not maintained.
896
ccf431ff
CD
8972014-07-01 Carlos O'Donell <carlos@redhat.com>
898
d34570a6
CD
899 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
900 entries.
901
ccf431ff
CD
902 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
903 entry for aio_cancel and aio_cancel64.
904 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
905 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
906 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
907 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
908 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
909 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
910 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
911 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
912 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
913 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
914 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
915 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
916 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
917
ca06321d
RM
9182014-07-01 Roland McGrath <roland@hack.frob.com>
919
920 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
921 * nptl/pthread_mutex_lock.c: Likewise.
922 * nptl/pthread_mutex_timedlock.c: Likewise.
923 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
924
a1ac3184
RH
9252014-07-01 Richard henderson <rth@redhat.com>
926
631021e0
RH
927 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
928 (__isnan, __isnanl): Remove.
929 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
930
a1ac3184
RH
931 * sysdeps/alpha/fpu/libm-test-ulps: Update.
932
0c1d731f
SL
9332014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
934
935 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
936
76985d3e
SP
9372014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
938
939 * resolv/nss_dns/dns-host.c (getanswer_r)
940 [MULTI_PTRS_ARE_ALIASES]: Remove code.
941
b0cb3096
JM
9422014-07-01 Joseph Myers <joseph@codesourcery.com>
943
944 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
945 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
946 undefine.
947 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
948 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
949
4d76cb39
RM
9502014-07-01 Roland McGrath <roland@hack.frob.com>
951
952 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
953 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
954
955 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
956 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
957
958 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
959 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
960 ... here.
961 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
962 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
963
964 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
965 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
966 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
967 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
968
969 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
970 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
971 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
972 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
973 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
974 Moved ...
975 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
976 ... here.
977 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
978 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
979 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
980 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
981 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
982 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
983 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
984 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
985 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
986 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
987 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
988 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
989 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
990 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
991 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
992 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
993 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
994 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
995 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
996 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
997 ... here.
998 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
999 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1000 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1001 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1002 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1003 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1004 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1005 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1006
0cdcad17
DH
10072014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1008
1009 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1010 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1011 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1012 Add sysdep.
1013
9b71d0e3
AZ
10142014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1015
1016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1017
665390c2
JM
10182014-06-30 Joseph Myers <joseph@codesourcery.com>
1019
ae05a9d7
JM
1020 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1021 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1022
a7672a2f
JM
1023 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1024
665390c2
JM
1025 * sysdeps/arm/libm-test-ulps: Regenerated.
1026
d7a05d07
MR
10272014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1028 Roland McGrath <roland@hack.frob.com>
1029
1030 * test-skeleton.c (signal_handler): Kill the whole process group
1031 before killing the child individually.
1032 (main): Report any failure on `setpgid'.
1033
46f1d8a6
RM
10342014-06-30 Roland McGrath <roland@hack.frob.com>
1035
1036 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1037 from _TLS_H to _ARM_NPTL_TLS_H.
1038 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1039 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1040
9c37ec0b
JM
10412014-06-30 Joseph Myers <joseph@codesourcery.com>
1042
ce9c5b3e
JM
1043 [BZ #16539]
1044 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1045 (__expm1l): Return argument unchanged when small but not
1046 subnormal.
1047
3a6e9887
JM
1048 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1049 include macro name.
1050 (_FP_UNPACK_RAW_1_P): Likewise.
1051 (_FP_PACK_RAW_1): Likewise.
1052 (_FP_PACK_RAW_1_P): Likewise.
1053 (_FP_MUL_MEAT_1_wide): Likewise.
1054 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1055 (_FP_MUL_MEAT_1_hard): Likewise.
1056 (_FP_DIV_MEAT_1_imm): Likewise.
1057 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1058 (_FP_DIV_MEAT_1_udiv): Likewise.
1059 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1060 (_FP_UNPACK_RAW_2): Likewise.
1061 (_FP_UNPACK_RAW_2_P): Likewise.
1062 (_FP_PACK_RAW_2): Likewise.
1063 (_FP_PACK_RAW_2_P): Likewise.
1064 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1065 (_FP_MUL_MEAT_2_wide): Likewise.
1066 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1067 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1068 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1069 (_FP_MUL_MEAT_2_gmp): Likewise.
1070 (_FP_DIV_MEAT_2_udiv): Likewise.
1071 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1072 (_FP_FRAC_SRL_4): Likewise.
1073 (_FP_FRAC_SRST_4): Likewise.
1074 (_FP_FRAC_SRS_4): Likewise.
1075 (_FP_UNPACK_RAW_4): Likewise.
1076 (_FP_UNPACK_RAW_4_P): Likewise.
1077 (_FP_PACK_RAW_4): Likewise.
1078 (_FP_PACK_RAW_4_P): Likewise.
1079 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1080 (_FP_MUL_MEAT_4_wide): Likewise.
1081 (_FP_MUL_MEAT_4_gmp): Likewise.
1082 (umul_ppppmnnn): Likewise.
1083 (_FP_DIV_MEAT_4_udiv): Likewise.
1084 (__FP_FRAC_ADD_4): Likewise.
1085 (__FP_FRAC_SUB_3): Likewise.
1086 (__FP_FRAC_SUB_4): Likewise.
1087 (__FP_FRAC_DEC_3): Likewise.
1088 (__FP_FRAC_DEC_4): Likewise.
1089 (__FP_FRAC_ADDI_4): Likewise.
1090 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1091 (_FP_FRAC_SRL_8): Likewise.
1092 (_FP_FRAC_SRS_8): Likewise.
1093
9c37ec0b
JM
1094 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1095 include macro name.
1096 (FP_UNPACK_RAW_EP): Likewise.
1097 (FP_PACK_RAW_E): Likewise.
1098 (FP_PACK_RAW_EP): Likewise.
1099 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1100 (_FP_ISSIGNAN): Likewise.
1101 (_FP_ADD_INTERNAL): Likewise.
1102 (_FP_FMA): Likewise.
1103 (_FP_CMP): Likewise.
1104 (_FP_SQRT): Likewise.
1105 (_FP_TO_INT): Likewise.
1106 (_FP_FROM_INT): Likewise.
1107 (FP_EXTEND): Likewise.
1108 (_FP_DIV_MEAT_N_loop): Likewise.
1109
2125f674
MR
11102014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1111
1112 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1113 throughout.
1114
edea4028
JM
11152014-06-29 Joseph Myers <joseph@codesourcery.com>
1116
1117 [BZ #17097]
1118 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1119 result with correct sign in case of exponents that produce
1120 overflow except for X very close to 1.
1121
dd0ba018
PE
11222014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1123
1124 mktime: merge #if/#ifdef usage from glibc
1125 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1126 as that works with both Glibc's and Gnulib's style.
1127 See thread starting at Siddhesh Poyarekar's bug report at:
1128 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1129
64df73c2
SP
11302014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1131
1132 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1133 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1134 * sysdeps/tile/tilegx/memmove.c: Remove file.
1135
f1eafb41
JM
11362014-06-27 Joseph Myers <joseph@codesourcery.com>
1137
1138 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1139 abi-name definition.
1140 * scripts/soversions.awk: Do not handle or generate ABI lines.
1141 * shlib-versions: Remove ABI entries.
1142 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1143 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1144
58eb0862
RM
11452014-06-27 Roland McGrath <roland@hack.frob.com>
1146
37caf178
RM
1147 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1148 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1149 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1150 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1154 Moved ...
1155 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1156 ... here.
1157 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1158 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1159 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1160 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1161 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1162 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1163 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1166 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1167 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1168 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1169 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1170 Moved ...
1171 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1177 Moved ...
1178 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1179 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1180 Moved ...
1181 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1185 Moved ...
1186 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1190 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1191 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1192 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1193 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1194 Moved ...
1195 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1196 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1197 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1198 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1199 Moved ...
1200 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1201 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1202 Moved ...
1203 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1204 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1205 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1206 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1207 Moved ...
1208 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1209 ... here.
1210 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1211 Identical file removed.
1212 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1213 Moved ...
1214 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1215 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1216 Identical file removed.
1217 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1218 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1219 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1220 Moved ...
1221 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1222 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1223 Identical file removed.
1224 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1225 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1226 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1227 Identical file removed.
1228 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1229 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1230 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1231 Identical file removed.
1232 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1233 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1234 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1235 Identical file removed.
1236 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1237 Moved ...
1238 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1239 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1240 Identical file removed.
1241 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1242 Moved ...
1243 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1244 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1245 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1246 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1247 Identical file removed.
1248 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1249 Moved ...
1250 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1251 ... here.
1252 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1253 Identical file removed.
1254 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1255 Moved ...
1256 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1257 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1258 Identical file removed.
1259 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1260 Moved ...
1261 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1262 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1263 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1264 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1265 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1266 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1267 Moved ...
1268 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1269 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1270 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1271
58eb0862
RM
1272 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1273 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1274 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1275 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1276 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1277
6f12d062
AS
12782014-06-27 Arjun Shankar <arjun.is@lostca.se>
1279
1280 [BZ #17092]
1281 * nscd/nscd.c (monitor_child): Return exit status of child
1282 instead of return value from wait syscall.
1283
be254932
JM
12842014-06-27 Joseph Myers <joseph@codesourcery.com>
1285
cb403c34
JM
1286 * configure.ac (libc_commonpagesize): Remove variable.
1287 (libc_relro_required): Likewise.
1288 (libc_cv_z_relro): Remove configure test.
1289 * configure: Regenerated.
1290 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1291 variable.
1292 (libc_relro_required): Likewise.
1293 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1294 (libc_relro_required): Likewise.
1295 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1296 (libc_relro_required): Likewise.
1297 * sysdeps/arm/preconfigure: Regenerated.
1298 * sysdeps/ia64/preconfigure: Remove file.
1299 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1300 variable.
1301 (libc_relro_required): Likewise.
1302
be254932
JM
1303 [BZ #16561]
1304 [BZ #16562]
1305 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1306 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1307 recompute overflowing results in original rounding mode.
1308 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1309 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1310 recompute overflowing results in original rounding mode.
1311 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1312 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1313 recompute overflowing results in original rounding mode.
1314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1315 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1316 recompute overflowing results in original rounding mode.
1317 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1318 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1319 recompute overflowing results in original rounding mode.
1320 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1321 (libc_feholdsetround_ctx): New macro.
1322 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1323 * sysdeps/i386/fpu/libm-test-ulps: Update.
1324 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1325
b351d85a
JM
13262014-06-26 Joseph Myers <joseph@codesourcery.com>
1327
1328 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1329 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1330 corresponding .cpsetup call.
1331
3cb4de47
RM
13322014-06-26 Roland McGrath <roland@hack.frob.com>
1333
1334 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1335 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1336 * sysdeps/arm/Makefile [$(subdir) = csu]
1337 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1338 (static-only-routines): Add aeabi_read_tp here.
1339 (shared-only-routines): Add libc-aeabi_read_tp here.
1340 (CFLAGS-libc-start.c): Add -fexceptions here.
1341 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1342 (sysdep_routines, static-only-routines, shared-only-routines):
1343 Don't add to these here.
1344 (CFLAGS-libc-start.c): Likewise.
1345
1346 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1347 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1348 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1349 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1350 * sysdeps/arm/Makefile [$(subdir) = rt]
1351 (librt-sysdep_routines, librt-shared-only-routines):
1352 Append rt-aeabi_unwind_cpp_pr1 here.
1353 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1354 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1355 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1356 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1357 Append nptl-aeabi_unwind_cpp_pr1 here.
1358 (tests): Filter out tst-cleanupx4 here.
1359 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1360 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1361 Don't do those here.
1362
354426bb
JM
13632014-06-26 Joseph Myers <joseph@codesourcery.com>
1364
1365 * scripts/list-sources.sh: Do not handle ports specially.
1366
28b0a8c9
RM
13672014-06-26 Roland McGrath <roland@hack.frob.com>
1368
a3dd035d
RM
1369 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1370 * sysdeps/arm/feupdateenv.c: Likewise.
1371
28b0a8c9
RM
1372 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1373
e66a8203
JM
13742014-06-26 Joseph Myers <joseph@codesourcery.com>
1375
1376 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1377 trailing whitespace removed.
1378 * scripts/config.guess: Update to version 2014-03-23.
1379 * scripts/config.sub: Update to version 2014-05-01
1380 * scripts/install-sh: Update to version 2013-12-25.23.
1381 * scripts/move-if-change: Update from gnulib.
1382
74171115
SP
13832014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1384
b97c9ce5
SP
1385 * debug/memmove_chk.c: Remove pagecopy.h include.
1386
4000f892
SP
13872014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1388
74171115
SP
1389 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1390 identical to gnulib mktime.
1391
a8779c28
JM
13922014-06-26 Joseph Myers <joseph@codesourcery.com>
1393
e64708de
JM
1394 * configure.ac: Do not test for machine being rs6000. Do not test
1395 for powerpc*-*soft.
1396 * configure: Regenerated.
1397
a8779c28
JM
1398 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1399 test.
1400 * configure: Regenerated.
1401 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1402 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1403 Remove configure test.
1404 * sysdeps/arm/configure: Regenerated.
1405 * sysdeps/nptl/configure.ac: Do not check
1406 libc_cv_asm_cfi_directives.
1407 * sysdeps/nptl/configure: Regenerated.
1408 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1409 * sysdeps/x86_64/nptl/configure: Remove generated file.
1410 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1411 unconditional.
1412 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1413
2aac0a86
SP
14142014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1415
059bf913
SP
1416 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1417 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1418 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1419 it is defined.
1420
4cf5b6d0
SP
1421 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1422 instead of whether it is defined.
1423 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1424 * sysdeps/hppa/dl-machine.h: Likewise.
1425 * sysdeps/ia64/dl-machine.h: Likewise.
1426 * sysdeps/m68k/dl-machine.h: Likewise.
1427 * sysdeps/microblaze/dl-machine.h: Likewise.
1428 * sysdeps/mips/dl-machine.: Likewise.
1429 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1430 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1431 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1432 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1433 * sysdeps/sh/dl-machine.h: Likewise.
1434 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1435 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1436 * sysdeps/tile/dl-machine.h: Likewise.
1437 * sysdeps/x86_64/dl-machine.h: Likewise.
1438
2aac0a86
SP
1439 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1440 code.
1441 (verify_persistent_db): Likewise.
1442
6ad2df0b
RM
14432014-06-26 Roland McGrath <roland@hack.frob.com>
1444
d8a483f3
RM
1445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1446 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1448 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1450 Moved ...
1451 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1452 ... here.
1453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1454 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1456 Identical file removed.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1458 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1460 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1462 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1464 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1466 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1468 Moved ...
1469 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1471 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1473 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1475 Moved ...
1476 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1478 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1480 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1482 Identical file removed.
1483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1484 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1486 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1488 Moved ...
1489 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1490 ... here.
1491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1492 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1494 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1496 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1498 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1500 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1502 Moved ...
1503 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1505 Moved ...
1506 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1508 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1510 Moved ...
1511 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1513 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1514
52ae23b4
RM
1515 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1516 folded into ...
1517 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1518 * sysdeps/unix/sysv/linux/s390/Versions
1519 (libpthread: GLIBC_2.19): New version set.
1520 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1521 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1522 (librt: GLIBC_2.3.3): New version set.
1523 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1524 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1525 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1526 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1527 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1528 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1529 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1530 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1531 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1532 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1533 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1534 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1535 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1536 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1537 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1538 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1539 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1540 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1541 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1542 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1543 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1544 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1545 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1546 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1547 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1548 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1549 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1550 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1551 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1552 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1553 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1554 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1555 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1556 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1557 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1558 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1559 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1560 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1561 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1562 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1563 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1564 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1565 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1566 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1567 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1568
39507e4a
RM
1569 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1570 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1571 (__libc_vfork): Define the function under this name.
1572 [!NOT_IN_libc] (__vfork): Make this an alias.
1573 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1574 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1575 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1576 (__libc_vfork): Define the function under this name.
1577 [!NOT_IN_libc] (__vfork): Make this an alias.
1578 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1579 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1580 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1581 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1582 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1583 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1584
e549ee56
RM
1585 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1586 code that was previously under [RESET_PID].
1587 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1588 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1589 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1590
6ad2df0b
RM
1591 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1592 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1593 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1594 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1595 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1596 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1597 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1598 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1599 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1600 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1601 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1602 Moved ...
1603 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1605 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1606 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1607 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1608 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1609 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1610 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1611 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1612 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1613 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1615 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1616 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1617 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1618 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1619 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1620 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1621 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1622 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1623 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1625 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1626 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1627 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1628 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1629 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1630 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1631 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1632
7c1c1d8e
RM
16332014-06-25 Roland McGrath <roland@hack.frob.com>
1634
1635 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1636 that was previously under [RESET_PID].
1637 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1638
3e239be6
JM
16392014-06-25 Joseph Myers <joseph@codesourcery.com>
1640
74385da5
JM
1641 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1642 not undefine and redefine.
1643 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1644 [O_CLOEXEC]: Make code unconditional.
1645 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1646 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1647 <kernel-features.h>.
1648 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1649 conditional variable definition.
1650 (shm_open) [O_CLOEXEC]: Make code unconditional.
1651 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1652 code.
1653
c2570a0b
JM
1654 * configure.ac (USE_REGPARMS): Don't define here.
1655 * configure: Regenerated.
1656 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1657 * sysdeps/i386/configure: Regenerated.
1658
11b076bb
JM
1659 * nptl/createthread.c: Don't include kernel-features.h.
1660 * nptl/pthread_cancel.c: Likewise.
1661 * nptl/pthread_condattr_setclock.c: Likewise.
1662 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1663 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1664 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1665 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1666 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1667 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1668 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1669 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1670 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1671 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1672 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1673 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1674 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1675 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1676 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1677 * nscd/gai.c: Likewise.
1678 * nss/nss_db/db-open.c: Likewise.
1679 * sysdeps/generic/ldsodefs.h: Likewise.
1680 * sysdeps/sh/nptl/tls.h: Likewise.
1681 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1682 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1683 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1684 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1685 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1686 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1687 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1688 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1689 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1690 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1691 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1692 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1693 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1694 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1695 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1696 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1697 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1698 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1699 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1700 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1701 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1702 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1703 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1704 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1705 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1706 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1707 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1708 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1709 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1710 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1711 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1712 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1713 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1714 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1715 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1716 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1717 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1718 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1719 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1720 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1721 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1722 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1723 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1724 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1725 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1726 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1727 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1728 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1729 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1730 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1731 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1732 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1733 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1734 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1735 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1736 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1737 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1738 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1761 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1762 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1763 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1764 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1765 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1766 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1767 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1768 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1769 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1770 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1771 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1772 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1773 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1774 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1775 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1776 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1777 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1778 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1779 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1780 * sysdeps/unix/sysv/linux/system.c: Likewise.
1781 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1782 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1783 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1784 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1785 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1786 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1787 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1788
92072d57
JM
1789 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1790 * configure: Regenerated.
1791 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1792
3e239be6
JM
1793 * configure.ac (base_machine): Do not set specially for particular
1794 machines here.
1795 * configure: Regenerated.
1796 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1797 settings from configure.ac.
1798 * sysdeps/i386/preconfigure: New file.
1799 * sysdeps/s390/preconfigure: Likewise.
1800 * sysdeps/sh/preconfigure: Likewise.
1801 * sysdeps/sparc/preconfigure: Likewise.
1802
06d50baa
RM
18032014-06-25 Roland McGrath <roland@hack.frob.com>
1804
74836003
RM
1805 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1806 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1807 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1808 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1809 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1810 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1811 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1812 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1813 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1814 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1815 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1816 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1817 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1818 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1819 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1820 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1821 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1822 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1823 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1824
1825 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1826 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1827 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1828 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1829 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1830 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1831 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1832 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1833 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1834 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1835 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1836 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1837 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1838 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1839 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1840 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1841 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1842 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1843 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1844 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1845 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1846 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1847 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1848 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1849 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1850 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1851 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1852 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1853 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1854 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1855 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1856 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1857 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1858 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1859 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1860 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1861 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1862 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1863
06d50baa
RM
1864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1865 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1867 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1869 Moved ...
1870 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1871 ... here.
1872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1873 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1875 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1877 Moved ...
1878 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1880 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1882 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1884 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1886 Moved ...
1887 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1889 Moved ...
1890 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1892 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1894 Moved ...
1895 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1897 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1899 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1901 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1903 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1905 Moved ...
1906 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1907 ... here.
1908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1909 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1911 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1913 Moved ...
1914 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1916 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1918 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1920 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1922 Moved ...
1923 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1925 Moved ...
1926 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1928 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1930 Moved ...
1931 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1935 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1936
a4ccbc9b
JM
19372014-06-25 Joseph Myers <joseph@codesourcery.com>
1938
0828edbf
JM
1939 * timezone/checktab.awk: Update from tzcode 2014e.
1940 * timezone/private.h: Likewise.
1941 * timezone/tzfile.h: Likewise.
1942 * timezone/zdump.c: Likewise.
1943 * timezone/zic.c: Likewise.
1944
a4ccbc9b
JM
1945 * sysdeps/unix/sysv/linux/kernel-features.h
1946 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1947 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1948 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1949 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1950 Remove conditional code.
1951
9aea0cb8
WN
19522014-06-25 Will Newton <will.newton@linaro.org>
1953
1954 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1955 (_dl_arm_cap_flags): Add HWCAP2 values.
1956 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1957 (_DL_HWCAP_COUNT): Increase to 37.
1958 (_DL_HWCAP_LAST): New define.
1959 (_DL_HWCAP2_LAST): New define.
1960 (_dl_procinfo): Add support for printing
1961 AT_HWCAP2 entries.
1962 (_dl_string_hwcap): Use _dl_hwcap_string.
1963
6eaa65ce
AZ
19642014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1965
1966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1967
0f5b7185
JM
19682014-06-25 Joseph Myers <joseph@codesourcery.com>
1969
cfd2ea50
JM
1970 * README: Do not mention ports directory.
1971
cecf2ed4
JM
1972 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1973 Remove macro.
1974 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1975 <kernel-features.h>.
1976 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1977 conditional variable definition.
1978 (__futimes): Update comment.
1979 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1980 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1981
a638de82
JM
1982 [BZ #16560]
1983 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1984 arguments close to 0.
1985 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1986 Likewise.
1987 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1988 Likewise.
1989 * math/auto-libm-test-in: Add more tests of exp10.
1990 * math/auto-libm-test-out: Regenerated.
1991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1992
0f5b7185
JM
1993 * sysdeps/unix/sysv/linux/kernel-features.h
1994 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1995 * sysdeps/unix/sysv/linux/readv.c: Do not include
1996 <kernel-features.h>.
1997 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1998 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1999 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2000 unconditional.
2001 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2002 conditional code.
2003 * sysdeps/unix/sysv/linux/writev.c: Do not include
2004 <kernel-features.h>.
2005 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2006 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2007 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2008 unconditional.
2009 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2010 conditional code.
2011
c7aec4be
WN
20122014-06-25 Will Newton <will.newton@linaro.org>
2013
2014 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2015 comment changes throughout the file. Remove checks
2016 for HAVE_*_H definitions that are not required.
2017 (__gen_tempname): Call abort if an unknown kind value is
2018 passed.
2019
c5241f95
AS
20202014-06-25 Andreas Schwab <schwab@suse.de>
2021
2022 [BZ #17086]
2023 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2024 scalbln, scalblnf, scalblnl in libc.
2025
911422da
SP
20262014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2027
2028 [BZ #17086]
2029 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2030 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2031 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2032
0d749bbe
RM
20332014-06-24 Roland McGrath <roland@hack.frob.com>
2034
2035 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2036 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2037 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2038 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2039 Update #include.
2040 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2041 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2042 Update #include.
2043 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2044 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2045 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2046 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2047 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2048 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2049 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2050 * sysdeps/x86/bits/semaphore.h: ... here.
2051 * sysdeps/x86/nptl/elide.h: Moved ...
2052 * sysdeps/x86/elide.h: ... here.
2053 * sysdeps/x86_64/nptl/Implies: File removed.
2054 * sysdeps/i386/nptl/Implies: File removed.
2055
0ea5d373
JM
20562014-06-24 Joseph Myers <joseph@codesourcery.com>
2057
4060283d
JM
2058 [BZ #16539]
2059 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2060 return the argument for normal arguments with exponent below -64.
2061 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2062 Likewise.
2063 * math/auto-libm-test-in: Add another test of expm1.
2064 * math/auto-libm-test-out: Regenerated.
2065
e7dd3c8c
JM
2066 [BZ #16287]
2067 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2068 calling __erfcl for arguments at least 16.
2069 * math/auto-libm-test-in: Add more tests of erf.
2070 * math/auto-libm-test-out: Regenerated.
2071
0ea5d373
JM
2072 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2073 individual architectures.
2074 * sysdeps/unix/sysv/linux/configure: Regenerated.
2075 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2076 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2077 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2078 (ldd_rewrite_script): Define variable.
2079 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2081 file.
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2083 generated file.
2084 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2085 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2086 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2087 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2088 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2089 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2090 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2091 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2092
2307e126
SP
20932014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2094
2095 [BZ #17084]
2096 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2097 Rename member __data.d to __data.__elision_data.
2098
c0a4ed77
W
20992014-06-24 Wilco <wdijkstr@arm.com>
2100
2101 * NEWS: Add 16918 to fixed bug list.
2102
b8c00573
W
21032014-06-24 Wilco <wdijkstr@arm.com>
2104
2105 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2106
b5570d92
W
21072014-06-24 Wilco <wdijkstr@arm.com>
2108
2109 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2110 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2111 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2112 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2113 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2114 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2115 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2116 Use _FPU_MASK_RM.
2117
947bdca2
W
21182014-06-24 Wilco <wdijkstr@arm.com>
2119
2120 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2121
00f669ed
W
21222014-06-24 Wilco <wdijkstr@arm.com>
2123
2124 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2125 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2126 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2127 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2128
db59bad3
W
21292014-06-24 Wilco <wdijkstr@arm.com>
2130
2131 [BZ #16918]
2132 * sysdeps/arm/feupdateenv.c (feupdateenv):
2133 Rewrite to reduce FPSCR accesses and fix return value.
2134
001f7b77
W
21352014-06-24 Wilco <wdijkstr@arm.com>
2136
2137 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2138 Optimize to avoid unnecessary FPSCR writes.
2139 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2140 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2141 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2142 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2143
4841e6a6
W
21442014-06-24 Wilco <wdijkstr@arm.com>
2145
2146 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2147 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2148 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2149 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2150 Call libc_fetestexcept_vfp.
2151 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2152 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2153 __SOFTFP__ ifdef so that they can be built for softfp.
2154
0813022c
SP
21552014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2156
08e5862f
SP
2157 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2158 argument type signed char.
2159
0813022c
SP
2160 * Makerules (check-abi): Dump diff of symlist if the test
2161 fails.
2162
3fc7236a
RM
21632014-06-23 Roland McGrath <roland@hack.frob.com>
2164
aba8ef95
RM
2165 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2166 using abort.
2167
3fc7236a
RM
2168 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2169 Remove unused variable ST.
2170
4da6db51
JM
21712014-06-23 Joseph Myers <joseph@codesourcery.com>
2172
4648909d
JM
2173 [BZ #16354]
2174 [BZ #17061]
2175 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2176 small arguments before calling __expm1.
2177 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2178 small arguments before calling __expm1f.
2179 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2180 small arguments before calling __expm1l.
2181 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2182 Likewise.
2183 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2184 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2185 spurious underflow for some cosh tests.
2186 * math/auto-libm-test-out: Regenerated.
2187 * sysdeps/i386/fpu/libm-test-ulps: Update.
2188
46a3d3c7
JM
2189 [BZ #17050]
2190 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2191 (__ieee754_y1): Set errno if return value overflows.
2192 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2193 (__ieee754_y1f): Set errno if return value overflows.
2194 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2195 (__ieee754_y1l): Set errno if return value overflows.
2196 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2197 (__ieee754_y1l): Set errno if return value overflows.
2198 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2199 * math/auto-libm-test-out: Regenerated.
2200
863893ec
JM
2201 * math/gen-auto-libm-tests.c: Document use of
2202 ignore-zero-inf-sign.
2203 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2204 (input_flags): Add ignore-zero-inf-sign.
2205 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2206 * math/gen-libm-test.pl (generate_testfile): Handle
2207 ignore-zero-inf-sign.
2208 * math/auto-libm-test-in: Mark some cpow tests with
2209 ignore-zero-inf-sign and some with xfail-rounding.
2210 * math/auto-libm-test-out: Regenerated.
2211 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2212 * sysdeps/i386/fpu/libm-test-ulps: Update.
2213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2214
4da6db51
JM
2215 [BZ #16315]
2216 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2217 overflowing or underflowing operations take place with sign of
2218 result.
2219 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2220 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2221 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2222 (__ieee754_pow): Recompute overflowing and underflowing results in
2223 original rounding mode.
2224 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2225 (__powl_helper): Allow negative argument X and scale negated value
2226 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2227 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2228 overflowing or underflowing operations take place with sign of
2229 result.
2230 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2231 Include <math.h>.
2232 * math/auto-libm-test-in: Add more tests of pow.
2233 * math/auto-libm-test-out: Regenerated.
2234 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2235 (pow_tonearest_test_data): Remove.
2236 (pow_test_tonearest): Likewise.
2237 (pow_towardzero_test_data): Likewise.
2238 (pow_test_towardzero): Likewise.
2239 (pow_downward_test_data): Likewise.
2240 (pow_test_downward): Likewise.
2241 (pow_upward_test_data): Likewise.
2242 (pow_test_upward): Likewise.
2243 (main): Don't call removed functions.
2244 * sysdeps/i386/fpu/libm-test-ulps: Update.
2245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2246
5686b236
RM
22472014-06-23 Roland McGrath <roland@hack.frob.com>
2248
2249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2250 Moved ...
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2253 Moved ...
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2256 Moved ...
2257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2259 Moved ...
2260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2262 File removed.
2263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2264 File removed.
2265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2266 File removed.
2267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2268 File removed.
2269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2270 File removed.
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2272 File removed.
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2274 File removed.
2275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2276 File removed.
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2278 File removed.
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2280 File removed.
2281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2282 File removed.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2284 File removed.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2286 Moved ...
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2289 Moved ...
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2291 ... here.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2293 Moved ...
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2296 Moved ...
2297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2299 Moved ...
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2302 Moved ...
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2305 Moved ...
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2308 Moved ...
2309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2311 Moved ...
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2315 ... here.
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2317 Moved ...
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2320 Moved ...
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2322 ... here.
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2324 Moved ...
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2326 ... here.
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2328 Moved ...
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2330 ... here.
2331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2332 Moved ...
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2335 Moved ...
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2340 Moved ...
2341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2342 ... here.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2344 Moved ...
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2346 ... here.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2348 Moved ...
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2351 Moved ...
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2354 Moved ...
2355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2357 Moved ...
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2360 Moved ...
2361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2362 ... here.
2363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2364 Moved ...
2365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2367 Moved ...
2368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2370 Moved ...
2371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2373 Moved ...
2374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2378 Moved ...
2379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2381 Moved ...
2382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2384 Moved ...
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2386 ... here.
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2388 Moved ...
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2390 ... here.
2391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2392 Moved ...
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2394 ... here.
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2396 Moved ...
2397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2399 Moved ...
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2402 Moved ...
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2405 Moved ...
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2407 ... here.
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2409 Moved ...
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2411 ... here.
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2413 Moved ...
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2415 ... here.
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2417 Moved ...
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2420 Moved ...
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2422
e6d90d67
WD
24232014-06-23 Will Newton <will.newton@linaro.org>
2424 Wilco <wdijkstr@arm.com>
2425
2426 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2427 implementation. Include get-rounding-mode.h.
2428 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2429 [!libc_feholdsetround_noex_ctx]: Define
2430 libc_feholdsetround_noex_ctx.
2431 [!libc_feholdsetround_noexf_ctx]: Define
2432 libc_feholdsetround_noexf_ctx.
2433 [!libc_feholdsetround_noexl_ctx]: Define
2434 libc_feholdsetround_noexl_ctx.
2435 (libc_feholdsetround_ctx): New function.
2436 (libc_feresetround_ctx): New function.
2437 (libc_feholdsetround_noex_ctx): New function.
2438 (libc_feresetround_noex_ctx): New function.
2439
d42df555
RM
24402014-06-23 Roland McGrath <roland@hack.frob.com>
2441
88a46474
RM
2442 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2443 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2444 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2445 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2446 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2447 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2448
15bed472
RM
2449 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2450 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2451 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2452 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2453 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2454 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2455 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2456 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2457 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2458 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2459 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2460 Moved ...
2461 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2462 ... here.
2463 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2464 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2465 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2466 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2467 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2468 Moved ...
2469 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2470 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2471 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2472 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2473 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2474 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2475 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2476 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2477 Moved ...
2478 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2479 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2480 Moved ...
2481 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2482 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2483 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2484 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2485 Moved ...
2486 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2487 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2488 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2489 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2490 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2491 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2492 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2493 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2494 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2495 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2496 Moved ...
2497 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2498 ... here.
2499 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2500 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2501 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2502 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2503 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2504 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2505 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2506 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2507 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2508 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2509 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2510 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2512 Moved ...
2513 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2514 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2515 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2516 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2517 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2518 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2519 Moved ...
2520 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2521 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2522 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2523 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2524 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2525
d42df555
RM
2526 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2527 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2528 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2529 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2530 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2531 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2532 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2533 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2534 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2535 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2536 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2537 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2538 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2539 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2540 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2541 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2542 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2543 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2544 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2545 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2546 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2547 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2548 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2549 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2550 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2551 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2552 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2553 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2554
76e5216e
JM
25552014-06-23 Joseph Myers <joseph@codesourcery.com>
2556
2557 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2558 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2559 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2560 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2561 (IPV6_PMTUDISC_INTERFACE): Likewise.
2562 (IPV6_PMTUDISC_OMIT): Likewise.
2563
7a81cbcc
AS
25642014-06-23 Andreas Schwab <schwab@suse.de>
2565
2566 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2567 Remove unused errout label.
2568
db224009
AZ
25692014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2570
2571 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2572 macro: hardware supports Vector Crypto instructions.
2573
f393b4aa
WN
25742014-06-23 Will Newton <will.newton@linaro.org>
2575
cc7d0447
WN
2576 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2577 rather than __builtin_expect.
2578
d6d06225
WN
2579 * elf/dl-lookup.c (undefined_msg): Remove variable.
2580 (_dl_lookup_symbol_x): Replace undefined_msg with string
2581 literal.
2582
f393b4aa
WN
2583 * elf/dl-lookup.c (do_lookup_unique): New function.
2584 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2585 to a separate function.
2586
ac60763e
AS
25872014-06-23 Andreas Schwab <schwab@suse.de>
2588
2589 [BZ #17079]
2590 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2591 before reading the next line.
2592
c5c13355
WN
25932014-06-23 Will Newton <will.newton@linaro.org>
2594
2595 * test-skeleton.c (signal_handler): Use printf and %m
2596 rather than perror. Use printf rather than fprintf to
2597 stderr. Use puts rather than fputs to stderr.
2598 (main): Likewise.
2599
bd3675f9
LC
26002014-06-22 Ludovic Courtès <ludo@gnu.org>
2601
2602 * nscd/nscd.c (thread_info_t): Remove typedef.
2603 (thread_info): Remove variable.
2604
d03efb2f
AM
26052014-06-21 Allan McRae <allan@archlinux.org>
2606
2607 * NEWS: Mention CVE-2014-4043.
2608
bc4a86fa
RM
26092014-06-20 Roland McGrath <roland@hack.frob.com>
2610
dc9a54f8
RM
2611 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2612 * nptl/smp.h: ... here.
2613
bd7022c4
RM
2614 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2615
26ffd5e6
RM
2616 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2617 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2618 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2619 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2620
93a6d082
RM
2621 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2622 * nptl/stack-aliasing.h: New file.
2623 * sysdeps/i386/i686/stack-aliasing.h: New file.
2624 * sysdeps/i386/i686/nptl/Makefile: File removed.
2625 * sysdeps/x86_64/stack-aliasing.h: New file.
2626 * sysdeps/x86_64/nptl/Makefile
2627 (CFLAGS-pthread_create.c): Variable removed.
2628
bc4a86fa
RM
2629 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2630 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2631 old file.
2632 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2633 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2634 old file.
2635
2272ffc1
JM
26362014-06-21 Joseph Myers <joseph@codesourcery.com>
2637
2638 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2639 (__ASSUME_SIGFRAME_V2): Remove macro.
2640 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2641 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2642 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2643 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2644 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2645 Declare as function. Remove conditional macro definitions.
2646 (__default_rt_sa_restorer): Likewise.
2647 (__default_sa_restorer_v1): Remove declaration.
2648 (__default_sa_restorer_v2): Likewise.
2649 (__default_rt_sa_restorer_v1): Likewise.
2650 (__default_rt_sa_restorer_v2): Likewise.
2651 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2652 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2653 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2654
4b88139b
RM
26552014-06-20 Roland McGrath <roland@hack.frob.com>
2656
2657 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2658 (libpthread-routines): Add sysdep.
2659 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2660 * sysdeps/unix/sysv/linux/sparc/Versions
2661 (libpthread: GLIBC_2.3.3): New version set.
2662 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2663 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2664 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2665 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2666 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2667 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2668 Moved ...
2669 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2670 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2671 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2672 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2673 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2674 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2675 * sysdeps/sparc/nptl/sem_init.c: ... here.
2676 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2677 * sysdeps/sparc/nptl/sem_post.c: ... here.
2678 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2679 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2680 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2681 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2682 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2683 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2684 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2685 (libpthread-routines): Add cpu_relax.
2686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2687 File removed.
2688 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2689 (librt: GLIBC_2.3.3): New version set.
2690 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2691 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2692 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2693 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2696 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2698 Moved ...
2699 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2701 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2703 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2705 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2707 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2709 Moved ...
2710 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2711 Update #include.
2712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2713 Moved ...
2714 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2715 Update #include.
2716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2717 Moved ...
2718 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2719 Update #include.
2720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2721 Moved ...
2722 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2723 Update #include.
2724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2725 Moved ...
2726 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2727 Update #include.
2728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2729 Moved ...
2730 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2731 Update #include.
2732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2733 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2739 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2741 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2743 Moved ...
2744 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2746 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2748 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2749
d7109027
JM
27502014-06-20 Joseph Myers <joseph@codesourcery.com>
2751
9bc6103d
JM
2752 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2753 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2754 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2755 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2756 * nscd/nscd.c: Likewise.
2757 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2758 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2759 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2760 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2761
d7109027
JM
2762 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2763 <kernel-features.h>.
2764 (init_mq_netlink): Remove conditional have_sock_cloexec
2765 definitions. Remove code conditional on have_sock_cloexec < 0.
2766 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2767 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2768 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2769 <kernel-features.h>.
2770 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2771 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2772
d92d8f8a
L
27732014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2774
2775 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2776 Add tests for memset_chk and memset.
2777
2778 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2779 with AVX2_Usable.
2780
4e6d2347
MR
27812014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2782
257ce712
MR
2783 [BZ #16046]
2784 * elf/tst-dl-iter-static.c: New file.
2785 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2786
4e6d2347
MR
2787 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2788 error.
2789
a2a76afe
JM
27902014-06-20 Joseph Myers <joseph@codesourcery.com>
2791
7fd00f99
JM
2792 * sysdeps/unix/sysv/linux/kernel-features.h
2793 (__ASSUME_F_GETOWN_EX): Remove macro.
2794 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2795 <kernel-features.h>.
2796 (miss_F_GETOWN_EX): Remove variable or macro.
2797 (do_fcntl): Do not check miss_F_GETOWN_EX.
2798 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2799
4a103975
JM
2800 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2801 Remove macro.
2802 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2803 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2804 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2805
a2a76afe
JM
2806 * sysdeps/unix/sysv/linux/kernel-features.h
2807 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2808 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2809 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2810 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2811
90e5dd48
MR
28122014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2813
2814 [BZ #17075]
2815 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2816 Fix calculation of the symbol's value.
2817 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2818 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2819 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2820 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2821 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2822 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2823 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2824 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2825 (modules-names): Add `tst-armtlsdescmod',
2826 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2827 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2828 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2829 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2830 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2831 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2832 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2833 ($(objpfx)tst-armtlsdescloc): New dependency.
2834 ($(objpfx)tst-armtlsdescextnow): Likewise.
2835 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2836 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2837 TLS scheme support.
2838 * sysdeps/arm/configure: Regenerate.
2839
809fdf0d
JM
28402014-06-20 Joseph Myers <joseph@codesourcery.com>
2841
2842 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2843 (__atfct_seterrno_2): Likewise.
2844 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2845 <kernel-features.h>.
2846 (__ASSUME_ATFCTS): Do not undefine and redefine.
2847 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2848 (__have_atfcts): Remove conditional definition.
2849 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2850 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2851 unreachable if [__ASSUME_ATFCTS].
2852 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2853 not undefine and redefine.
2854 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2855 <kernel-features.h>.
2856 (faccessat) [__NR_faccessat]: Make code unconditional.
2857 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2858 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2859 <kernel-features.h>.
2860 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2861 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2862 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2863 <kernel-features.h>.
2864 (fchownat) [__NR_fchownat]: Make code unconditional.
2865 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2866 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2867 <kernel-features.h>.
2868 (futimesat) [__NR_futimesat]: Make code unconditional.
2869 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2870 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2871 <kernel-features.h>.
2872 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2873 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2874 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2875 <kernel-features.h>.
2876 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2877 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2878 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2879 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2880 <kernel-features.h>.
2881 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2882 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2883 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2884 <kernel-features.h>.
2885 (linkat) [__NR_linkat]: Make code unconditional.
2886 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2887 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2888 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2889 <kernel-features.h>.
2890 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2891 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2892 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2893 <kernel-features.h>.
2894 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2895 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2896 * sysdeps/unix/sysv/linux/openat.c: Do not include
2897 <kernel-features.h>.
2898 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2899 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2900 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2901 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2902 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2903 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2904 <kernel-features.h>.
2905 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2906 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2907 result of INLINE_SYSCALL directly, not via int variable.
2908 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2909 <kernel-features.h>.
2910 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2911 (renameat) [__NR_renameat]: Make code unconditional.
2912 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2913 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2914 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2915 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2916 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2917 (__ASSUME_ATFCTS): Do not undefine and redefine.
2918 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2919 <kernel-features.h>.
2920 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2921 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2922 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2923 <kernel-features.h>.
2924 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2925 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2926 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2927 (__ASSUME_ATFCTS): Do not undefine and redefine.
2928 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2929 <kernel-features.h>.
2930 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2931 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2932 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2933 <kernel-features.h>.
2934 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2935 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2936
224c6c51
L
29372014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2938
2939 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2940
aa6ec754
AS
29412014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2942
2943 [BZ #17069]
2944 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2945 constructed tree before returning error.
2946 * posix/bug-regexp36.c: Expand test case.
2947
d8c2869d
SL
29482014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2949
3ef6b850
SL
2950 [BZ #6803]
2951 * math/libm-test.inc (scalbln_test_date):
2952 Add errno expectations.
2953 * math/w_scalblnf.c: New File.
2954 Add wrapper which checks for setting errno to ERANGE.
2955 Add weak_alias for corresponding scalbln function.
2956 * math/w_scalbln.c: Likewise.
2957 * math/w_scalblnl.c: Likewise.
2958 * math/Makefile (libm-calls): Add w_scalbln.
2959 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2960 Remove weak_alias for corresponding scalbln function.
2961 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2963 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2964 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2965 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2966 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2967 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2968 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2969 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2970 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2971 Remove long_double_symbol for scalblnl function in libm, libc.
2972 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2973 Add wrapper which checks for setting errno to ERANGE.
2974 Add long_double_symbol for scalblnl function in libm, libc.
2975 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2976 Remove long_double_symbol for scalblnl in libm.
2977 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2978 Add wrapper which checks for setting errno to ERANGE.
2979 Add long_double_symbol for scalblnl function in libm.
2980 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2981 Do not use wrapper because of own implementation.
2982
c8daec5c
L
29832014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2984
2985 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2986 3 bytes for __pad1 for x32.
2987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2988
5c74e47c
LM
29892014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2990 H.J. Lu <hongjiu.lu@intel.com>
2991
2992 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2993 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2994 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2995 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2996 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2997
4d43ef1e
AS
29982014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2999
3000 [BZ #17069]
3001 * posix/regcomp.c (parse_expression): Deallocate partially
3002 constructed tree before returning error.
3003 * posix/Makefile.c (tests): Add bug-regex36.
3004 (generated): Add bug-regex36.mtrace.
3005 (tests-special): Add $(objpfx)bug-regex36-mem.out
3006 (bug-regex36-ENV): New variable.
3007 ($(objpfx)bug-regex36-mem.out): New rule.
3008 * posix/bug-regex36.c: New file.
3009
51a7380b
WN
30102014-06-19 Will Newton <will.newton@linaro.org>
3011
3012 * malloc/malloc.c (systrim): If extra is zero then return
3013 early.
3014
91b84fe5
SP
30152014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3016
3017 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3018
f940b965
RE
30192014-06-19 Richard Earnshaw <rearnsha@arm.com>
3020
3021 * sysdeps/aarch64/strchr.S: New file.
3022
4ba7a00f
JM
30232014-06-18 Joseph Myers <joseph@codesourcery.com>
3024
3025 [BZ #17022]
3026 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3027 from arguments -2 or below.
3028 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3029 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3030
b3a9f56b
AS
30312014-06-18 Andreas Schwab <schwab@suse.de>
3032
3033 [BZ #17062]
3034 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3035 of a bracket expr not to run off the end of the string.
3036 * posix/Makefile (tests): Add tst-fnmatch3.
3037 * posix/tst-fnmatch3.c: New file.
3038
85d89278
JM
30392014-06-18 Joseph Myers <joseph@codesourcery.com>
3040
3041 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3042 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3043 [$(cross-compiling) = no]: Likewise.
3044 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3045 [$(cross-compiling) = no]: Likewise.
3046
754c5a08
RS
30472014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3048
3049 [BZ #17031]
3050 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3051 double, adjusted for any remainder from the high double.
3052 * math/libm-test.inc (nearbyint): Add tests.
3053 (rint): Likewise.
3054
556f529d
AZ
30552014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3056
3057 * nptl/sysdeps/powerpc/Makefile: Moved ...
3058 * sysdeps/powerpc/nptl/Makefile: ... here.
3059 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3060 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3061 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3062 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3063 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3064 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3065 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3066 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3067 * nptl/sysdeps/powerpc/tls.h: Moved ...
3068 * sysdeps/powerpc/nptl/tls.h: ... here.
3069
91c03c53
JM
30702014-06-16 Joseph Myers <joseph@codesourcery.com>
3071
3072 [BZ #16681]
3073 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3074 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3075 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3076 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3077 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3078 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3079 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3080 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3081 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3082
a76e63c5
AS
30832014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3084
3085 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3086
f2f6d82f
AS
30872014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3088
ea8a15f6
AS
3089 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3090 defined operator.
3091
f2f6d82f
AS
3092 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3093 $TIMEOUTFACTOR.
3094
a7291117
FW
30952014-06-16 Florian Weimer <fweimer@redhat.com>
3096
3097 [BZ #17058]
3098 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3099 non-executed part of the test.
3100
3d7c00e3
AS
31012014-06-16 Andreas Schwab <schwab@suse.de>
3102
3103 * string/bits/string2.h (strdup, strndup): Update feature guard.
3104
6957fb31
DM
31052014-06-14 David S. Miller <davem@davemloft.net>
3106
3107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3108
11b9e55b
AS
31092014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3110
1d2a0492
AS
3111 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3112 that was previously under [RESET_PID].
3113 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3114
11b9e55b
AS
3115 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3116 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3117 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3118 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3119 (__libc_vfork): New strong alias.
3120 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3121
0f6901d0
AK
31222014-06-14 Andi Kleen <ak@linux.intel.com>
3123
3124 * sysdeps/generic/elide.h: New file.
3125
38bbbb9f
SL
31262014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3127
3128 * Makefile (installed-headers): Adjust path of pthread.h header.
3129
45193bb8
RM
31302014-06-13 Roland McGrath <roland@hack.frob.com>
3131
9a25fd1e
RM
3132 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3133 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3134 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3135 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3136
4004f7e4
RM
3137 * nptl/sysdeps/s390/Makefile: Moved ...
3138 * sysdeps/s390/nptl/Makefile: ... here.
3139 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3140 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3141 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3142 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3143 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3144 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3145 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3146 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3147 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3148 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3149 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3150 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3151 * nptl/sysdeps/s390/tls.h: Moved ...
3152 * sysdeps/s390/nptl/tls.h: ... here.
3153
45193bb8
RM
3154 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3155 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3156
f6fdf533
DM
31572014-06-13 David S. Miller <davem@davemloft.net>
3158
3159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3162 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3166 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3167 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3168 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3169 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3170 Remove RESET_PID cpp guards.
3171 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3172 Remove RESET_PID cpp guards.
3173 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3174
f5d71e14
AS
31752014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3176
3177 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3178 __sp to uintptr_t.
3179
b7aa8caa
AK
31802014-06-13 Andi Kleen <ak@linux.intel.com>
3181
4b266200
AZ
3182 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3183 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3184 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3185 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3186 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3187 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3188 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3189 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3190 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3191 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3192 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3193 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3194 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3195 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3196 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3197 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3198 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3199 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3200 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3201 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
3202
3203 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
3204 (pthread_rwlock_rdlock): Add elision.
3205 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3206 (pthread_rwlock_wrlock): Add elision.
3207 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3208 (pthread_rwlock_trywrlock): Add elision.
3209 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3210 (pthread_rwlock_tryrdlock): Add elision.
3211 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3212 (pthread_rwlock_tryrdlock): Add elision unlock.
3213 * nptl/sysdeps/pthread/pthread.h:
3214 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3215 (PTHREAD_RWLOCK_INITIALIZER,
3216 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3217 Handle new elision field.
3218 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3219 * sysdeps/arm/nptl/bits/pthreadtypes.h
3220 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3221 * sysdeps/sh/nptl/bits/pthreadtypes.h
3222 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3223 * sysdeps/tile/nptl/bits/pthreadtypes.h
3224 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3225 * sysdeps/a/nptl/bits/pthreadtypes.h
3226 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3227 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3228 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3229 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3230 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3231 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3232 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3233 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3234 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3235 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3236 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3237 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3238 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3239 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3240 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3241 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3242 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3243 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3244 (elision_init): Set try_xbegin to zero when no RTM.
3245 * sysdeps/x86/nptl/bits/pthreadtypes.h
3246 (pthread_rwlock_t): Change __pad1 to __rwelision.
3247 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 3248
a832bdd3
AK
32492014-06-13 Andi Kleen <ak@linux.intel.com>
3250
3251 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3252 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3253 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3254 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3255
995a46bb
MI
32562014-06-13 Meador Inge <meadori@codesourcery.com>
3257
3258 [BZ #16996]
03ed7738 3259 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
3260 that the cached result has been set before returning it.
3261
45262aee
RM
32622014-06-12 Roland McGrath <roland@hack.frob.com>
3263
febf6cc5
RM
3264 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3265 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3266 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3267 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3268 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3269 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3270
e2682246
RM
3271 * nptl/sysdeps/sparc/Makefile: Moved ...
3272 * sysdeps/sparc/nptl/Makefile: ... here.
3273 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3274 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3275 * nptl/sysdeps/sparc/tls.h: Moved ...
3276 * sysdeps/sparc/nptl/tls.h: ... here.
3277 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3278 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3279 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3280 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3281 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3282 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3283 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3284 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3285 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3286 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3287 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3288 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3289 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3290 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3291 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3292 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3293 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3294 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3295 Update #include.
3296 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3297 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3298 Update #include.
3299 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3300 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3301 Update #include.
3302 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3303 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3304 Update #include.
3305
b0725f43
RM
3306 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3307
b14368b8
RM
3308 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3309 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3310
c5620eb3
RM
3311 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3312 (struct list_links): Type removed.
3313 (struct thread_node, struct timer_node): Replace struct list_links
3314 with struct list_head.
3315 (list_unlink_ip): Likewise.
3316 * sysdeps/pthread/timer_routines.c
3317 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3318 (list_append, list_insbefore): Likewise.
3319 (list_init): Function removed.
3320 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3321 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3322 * sysdeps/pthread/Makefile: ... here, new file.
3323
3324 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3325 * sysdeps/nptl/Implies: ... here.
3326 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3327 * nptl/sysdeps/pthread/list.h: Moved ...
3328 * include/list.h: ... here.
3329 * nptl/sysdeps/pthread/createthread.c: Moved ...
3330 * nptl/createthread.c: ... here.
3331 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3332 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3333 * nptl/pt-longjmp.c: ... here.
3334 * nptl/sysdeps/pthread/Makefile: Moved ...
3335 * sysdeps/nptl/Makefile: ... here.
3336 * nptl/sysdeps/pthread/Subdirs: Moved ...
3337 * sysdeps/nptl/Subdirs: ... here.
3338 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3339 * sysdeps/nptl/aio_misc.h: ... here.
3340 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3341 * sysdeps/nptl/bits/libc-lock.h: ... here.
3342 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3343 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3344 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3345 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3346 * nptl/sysdeps/pthread/configure: Moved ...
3347 * sysdeps/nptl/configure: ... here.
3348 * nptl/sysdeps/pthread/configure.ac: Moved ...
3349 * sysdeps/nptl/configure.ac: ... here.
3350 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3351 * sysdeps/nptl/gai_misc.h: ... here.
3352 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3353 * sysdeps/nptl/librt-cancellation.c: ... here.
3354 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3355 * sysdeps/nptl/malloc-machine.h: ... here.
3356 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3357 * sysdeps/nptl/pthread-functions.h: ... here.
3358 * nptl/sysdeps/pthread/pthread.h: Moved ...
3359 * sysdeps/nptl/pthread.h: ... here.
3360 * nptl/sysdeps/pthread/setxid.h: Moved ...
3361 * sysdeps/nptl/setxid.h: ... here.
3362 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3363 * sysdeps/nptl/sigfillset.c: ... here.
3364 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3365 * sysdeps/nptl/tcb-offsets.h: ... here.
3366 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3367 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3368 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3369 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3370 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3371 * sysdeps/pthread/allocalim.h: ... here.
3372 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3373 * sysdeps/pthread/bits/sigthread.h: ... here.
3374 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3375 * sysdeps/pthread/flockfile.c: ... here.
3376 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3377 * sysdeps/pthread/ftrylockfile.c: ... here.
3378 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3379 * sysdeps/pthread/funlockfile.c: ... here.
3380 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3381 * sysdeps/pthread/posix-timer.h: ... here.
3382 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3383 * sysdeps/pthread/timer_create.c: ... here.
3384 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3385 * sysdeps/pthread/timer_delete.c: ... here.
3386 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3387 * sysdeps/pthread/timer_getoverr.c: ... here.
3388 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3389 * sysdeps/pthread/timer_gettime.c: ... here.
3390 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3391 * sysdeps/pthread/timer_routines.c: ... here.
3392 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3393 * sysdeps/pthread/timer_settime.c: ... here.
3394 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3395 * sysdeps/pthread/tst-timer.c: ... here.
3396 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3397 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3398
e876b090
RM
3399 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3400 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3401
f6b07b3d
RM
3402 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3403 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3404 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3405 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3406 Update #include target.
3407 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3408 * sysdeps/i386/i686/nptl/Makefile: ... here.
3409 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3410 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3411 Update #include target.
3412 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3413 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3414 * nptl/sysdeps/i386/Makefile: Moved ...
3415 * sysdeps/i386/nptl/Makefile: ... here.
3416 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3417 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3418 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3419 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3420 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3421 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3422 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3423 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3424 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3425 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3426 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3427 * nptl/sysdeps/i386/tls.h: Moved ...
3428 * sysdeps/i386/nptl/tls.h: ... here.
3429
45262aee
RM
3430 * sysdeps/sh/Makefile [$(subdir) = csu]
3431 (gen-as-const-headers): Add tcb-offsets.sym.
3432 * nptl/sysdeps/sh/Makefile: File removed.
3433 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3434 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3435 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3436 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3437 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3438 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3439 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3440 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3441 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3442 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3443 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3444 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3445 * nptl/sysdeps/sh/tls.h: Moved ...
3446 * sysdeps/sh/nptl/tls.h: ... here.
3447 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3448 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3449 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3450 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3451 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3452 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3453 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3454 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3455 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3456 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3457 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3458 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3459 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3460 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3461 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3462 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3463 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3464 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3465 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3466 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3467 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3468 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3469 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3470 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3471 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3472 Moved ...
3473 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3474 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3475 Moved ...
3476 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3477 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3478 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3479 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3480 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3481 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3482 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3483 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3484 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3486 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3487 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3488 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3489 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3490 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3491 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3492 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3493 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3494 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3495
35a5e3e3
SL
34962014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3497
3498 * posix/spawn_faction_addopen.c: Include string.h.
3499
14642b85
RM
35002014-06-11 Roland McGrath <roland@hack.frob.com>
3501
3502 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3503 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3504 * nptl/sysdeps/x86_64/Makefile: Moved ...
3505 * sysdeps/x86_64/nptl/Makefile: ... here.
3506 * nptl/sysdeps/x86_64/configure: Moved ...
3507 * sysdeps/x86_64/nptl/configure: ... here.
3508 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3509 * sysdeps/x86_64/nptl/configure.ac: ... here.
3510 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3511 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3512 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3513 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3514 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3515 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3516 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3517 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3518 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3519 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3520 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3521 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3522 * nptl/sysdeps/x86_64/tls.h: Moved ...
3523 * sysdeps/x86_64/nptl/tls.h: ... here.
3524 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3525 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3526 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3527 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3528
3529 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3530
31c44fea
AZ
35312014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3532
3533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3534
e81a4f9a
JM
35352014-06-11 Joseph Myers <joseph@codesourcery.com>
3536
3537 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3538 type.
3539 [POSIX] (off_t): Likewise.
3540 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3541 [POSIX] (S_ISBLK): Require macro.
3542 [POSIX] (S_ISCHR): Likewise.
3543 [POSIX] (S_ISDIR): Likewise.
3544 [POSIX] (S_ISFIFO): Likewise.
3545 [POSIX] (S_ISREG): Likewise.
3546 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3547 optional-macro.
3548 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3549 type.
3550 [POSIX] (time_t): Likewise.
3551 [POSIX] (timer_t): Likewise.
3552
89e435f3
FW
35532014-06-11 Florian Weimer <fweimer@redhat.com>
3554
3555 [BZ #17048]
3556 * posix/spawn_int.h (struct __spawn_action): Make the path string
3557 non-const to support deallocation.
3558 * posix/spawn_faction_addopen.c
3559 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3560 * posix/spawn_faction_destroy.c
3561 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3562 path in all spawn_do_open actions.
3563 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3564 posix_spawn_file_actions_addopen.
3565
c3a2ebe1
CM
35662014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3567
3568 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3569 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3570 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3571 conditional code always true.
3572 (__libc_vfork): New alias.
3573
9503784a
RM
35742014-06-11 Roland McGrath <roland@hack.frob.com>
3575
c9cab3d2
RM
3576 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3577 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3578
d3996c79
RM
3579 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3580
ba5ec611
RM
3581 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3582 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3583
f12b4814
RM
3584 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3585 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3586
9503784a
RM
3587 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3588 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3589
e23d3d26
VR
35902014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3591
3592 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3593 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3594 multiarch strcmp for PPC64.
3595 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3596 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3598 multiarch optimizations.
3599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3600 (__libc_ifunc_impl_list): Likewise.
3601
42b1161e
SP
36022014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3603
3604 * benchtests/scripts/validate_benchout.py: New script.
3605 * benchtests/Makefile (bench-func): Call it.
3606 * benchtests/scripts/benchout.schema.json: New file.
3607
2d0fc4dc
CM
36082014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3609
4a594c34
AZ
3610 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3611 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3612 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3613 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3614 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3615 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3616 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3617 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3618 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3619 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3620 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3621 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3622 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3623 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3624 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3625 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 3627 Moved ...
4a594c34 3628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 3629 ... here.
4a594c34 3630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 3631 Moved ...
4a594c34
AZ
3632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 3634 Moved ...
4a594c34 3635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 3636 ... here.
4a594c34 3637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 3638 Moved ...
4a594c34 3639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 3640 ... here.
4a594c34 3641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 3642 Moved ...
4a594c34
AZ
3643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 3645 Moved ...
4a594c34 3646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 3647 ... here.
4a594c34 3648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 3649 Moved ...
4a594c34 3650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 3651 ... here.
4a594c34 3652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 3653 Moved ...
4a594c34
AZ
3654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 3656 Moved ...
4a594c34 3657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 3658 ... here.
4a594c34 3659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 3660 Moved ...
4a594c34 3661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 3662 ... here.
4a594c34 3663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 3664 Moved ...
4a594c34 3665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 3666 ... here.
4a594c34 3667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 3668 Moved ...
4a594c34
AZ
3669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 3671 Moved ...
4a594c34 3672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 3673 ... here.
4a594c34 3674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 3675 Moved ...
4a594c34 3676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 3677 ... here.
4a594c34 3678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 3679 Moved ...
4a594c34 3680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 3681 ... here.
4a594c34 3682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 3683 Moved ...
4a594c34
AZ
3684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 3686 Moved ...
4a594c34 3687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 3688 ... here.
4a594c34 3689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 3690 Moved ...
4a594c34 3691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 3692 ... here.
4a594c34 3693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 3694 Moved ...
4a594c34
AZ
3695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 3697 Moved ...
4a594c34 3698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 3699 ... here.
4a594c34 3700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 3701 Moved ...
4a594c34
AZ
3702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 3704 Moved ...
4a594c34
AZ
3705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 3707 Moved ...
4a594c34 3708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 3709 ... here.
4a594c34 3710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 3711 Moved ...
4a594c34 3712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 3713 ... here.
4a594c34 3714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 3715 Moved ...
4a594c34 3716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 3717 ... here.
4a594c34 3718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 3719 Moved ...
4a594c34
AZ
3720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 3722 Moved ...
4a594c34 3723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 3724 ... here.
4a594c34 3725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 3726 Moved ...
4a594c34 3727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 3728 ... here.
4a594c34
AZ
3729 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3730 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3731 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3732 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3733 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 3734 Moved ...
4a594c34 3735 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 3736 ... here.
4a594c34
AZ
3737 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3738 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3739 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3740 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3741 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3742 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3743 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3744 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3745 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3746 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3747 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3748 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3749 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 3750 Moved ...
4a594c34
AZ
3751 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3752 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 3753 Moved ...
4a594c34
AZ
3754 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3755 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3756 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3757 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 3758 Moved ...
4a594c34
AZ
3759 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3760 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3761 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3762 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3763 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3764 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3765 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 3766
0570cfed
W
37672014-06-10 Wilco <wdijkstr@arm.com>
3768
3769 * math/test-fenv-return.c: New file.
3770 * math/Makefile: Add new test test-fenv-return.
3771
f8ba1b56
JM
37722014-06-10 Joseph Myers <joseph@codesourcery.com>
3773
3774 [BZ #17042]
3775 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3776 when x - 1 is zero.
3777 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3778 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3779 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3780 0.0L for an argument of 1.0L.
3781 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3782 Likewise.
3783 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3784 value when x - 1 is zero.
3785 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3786 * sysdeps/i386/fpu/libm-test-ulps: Update.
3787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3788
2c3520d9
BO
37892014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3790
3791 [BZ #15119]
3792 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3793
acaa4d24
RM
37942014-06-09 Roland McGrath <roland@hack.frob.com>
3795
3796 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3797 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3798
962b744d
RM
37992014-06-09 Roland McGrath <roland@hack.frob.com>
3800
d752f0cc
RM
3801 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3802 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3803
34eda6d1
RM
3804 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3805 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3806
50f0a637
RM
3807 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3808 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3809
08f41f04
RM
3810 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3811 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3812
962b744d
RM
3813 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3814 if not already defined.
3815 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3816 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3817 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3818 (TLS_INIT_TP): Use it.
3819 (TLS_DEFINE_INIT_TP): New macro.
3820 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3821
09f19b05
JM
38222014-06-09 Joseph Myers <joseph@codesourcery.com>
3823
3824 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3825 constant.
3826 [POSIX] (IXANY): Likewise.
3827 [POSIX] (OLCUC): Likewise.
3828 [POSIX || POSIX2008] (CBAUD): Do not allow.
3829 [POSIX || POSIX2008] (DEFECHO): Likewise.
3830 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3831 [POSIX || POSIX2008] (ECHOKE): Likewise.
3832 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3833 [POSIX || POSIX2008] (EXTA): Likewise.
3834 [POSIX || POSIX2008] (EXTB): Likewise.
3835 [POSIX || POSIX2008] (FLUSHO): Likewise.
3836 [POSIX || POSIX2008] (LOBLK): Likewise.
3837 [POSIX || POSIX2008] (PENDIN): Likewise.
3838 [POSIX || POSIX2008] (SWTCH): Likewise.
3839 [POSIX || POSIX2008] (VDISCARD): Likewise.
3840 [POSIX || POSIX2008] (VDSUSP): Likewise.
3841 [POSIX || POSIX2008] (VLNEXT): Likewise.
3842 [POSIX || POSIX2008] (VREPRINT): Likewise.
3843 [POSIX || POSIX2008] (VSTATUS): Likewise.
3844 [POSIX || POSIX2008] (VWERASE): Likewise.
3845 (B*): Change to B[0123456789]*.
3846 * conform/data/time.h-data [POSIX || UNIX98]
3847 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3848 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3849 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3850 [POSIX] (tm_*): Do not allow.
3851
686554bf
JM
38522014-06-07 Joseph Myers <joseph@codesourcery.com>
3853
3854 * Makefile (install): Don't set LANGUAGE.
3855 * Makefile.in (install): Likewise.
3856 * assert/Makefile (test-assert-ENV): Remove variable.
3857 (test-assert-perr-ENV): Likewise.
3858 * elf/Makefile (neededtest4-ENV): Likewise.
3859 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3860 [$(cross-compiling) = no]: Don't set LANGUAGE.
3861 * io/ftwtest-sh (LANG): Remove variable.
3862 * libio/Makefile (tst-widetext-ENV): Likewise.
3863 * manual/install.texi (Running make install): Don't refer to
3864 environment settings for make install.
3865 * INSTALL: Regenerated.
3866 * nptl/tst-tls6.sh: Don't set LANG.
3867 * posix/globtest.sh (LANG): Remove variable.
3868 * string/Makefile (tester-ENV): Likewise.
3869 (inl-tester-ENV): Likewise.
3870 (noinl-tester-ENV): Likewise.
3871 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3872 [$(cross-compiling) = no]: Don't set LANGUAGE.
3873 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3874 without explicit environment settings.
3875
68e6b6b1
RM
38762014-06-06 Roland McGrath <roland@hack.frob.com>
3877
3878 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3879 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3880 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3881 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3882
4d3ae034
CM
38832014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3884
3885 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3886 other files in the crypt directory.
3887 * crypt/crypt.c: Remove duplicate includes.
3888 * crypt/crypt-entry.c: Likewise.
3889 * crypt/crypt_util.c: Likewise.
3890
8540f6d2
JM
38912014-06-06 Joseph Myers <joseph@codesourcery.com>
3892
3893 * Makeconfig (run-program-env): New variable.
3894 (run-program-prefix-before-env): Likewise.
3895 (run-program-prefix-after-env): Likewise.
3896 (run-program-prefix): Define in terms of new variables.
3897 (built-program-cmd-before-env): New variable.
3898 (built-program-cmd-after-env): Likewise.
3899 (built-program-cmd): Define in terms of new variables.
3900 (test-program-prefix-before-env): New variable.
3901 (test-program-prefix-after-env): Likewise.
3902 (test-program-prefix): Define in terms of new variables.
3903 (test-program-cmd-before-env): New variable.
3904 (test-program-cmd-after-env): Likewise.
3905 (test-program-cmd): Define in terms of new variables.
3906 * Rules (make-test-out): Use $(run-program-env).
3907 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3908 (help): Do not mention environment variables. Mention
3909 --timeoutfactor option.
3910 (timeoutfactor): New variable.
3911 (blacklist_exports): Remove function.
3912 (exports): Remove variable.
3913 (command): Do not include ${exports}.
3914 * manual/install.texi (Configuring and compiling): Do not mention
3915 test wrappers preserving environment variables. Mention that last
3916 assignment to a variable must take precedence.
3917 * INSTALL: Regenerated.
3918 * benchtests/Makefile (run-bench): Use $(run-program-env).
3919 * catgets/Makefile ($(objpfx)test1.cat): Use
3920 $(built-program-cmd-before-env), $(run-program-env) and
3921 $(built-program-cmd-after-env).
3922 ($(objpfx)test2.cat): Do not specify environment variables
3923 explicitly.
3924 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3925 $(run-program-env) and $(built-program-cmd-after-env).
3926 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3927 $(run-program-env) and $(test-program-cmd-after-env).
3928 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3929 explicitly.
3930 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3931 run_program_env and test_program_cmd_after_env arguments.
3932 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3933 * elf/tst-pathopt.sh: Use run_program_env argument.
3934 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3935 $(test-wrapper-env) and $(run-program-env).
3936 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3937 run_program_env arguments.
3938 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3939 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3940 $(test-program-prefix-before-env), $(run-program-env) and
3941 $(test-program-prefix-after-env).
3942 ($(objpfx)tst-gettext2.out): Likewise.
3943 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3944 run_program_env and test_program_prefix_after_env arguments.
3945 * intl/tst-gettext2.sh: Likewise.
3946 * intl/tst-gettext4.sh: Do not set environment variables
3947 explicitly.
3948 * intl/tst-gettext6.sh: Likewise.
3949 * intl/tst-translit.sh: Likewise.
3950 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3951 $(test-program-prefix-before-env), $(run-program-env) and
3952 $(test-program-prefix-after-env).
3953 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3954 run_program_env and test_program_prefix_after_env arguments.
3955 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3956 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3957 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3958 explicitly with each use of ${test_wrapper_env}.
3959 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3960 $(test-program-prefix-before-env), $(run-program-env) and
3961 $(test-program-prefix-after-env).
3962 * posix/tst-getconf.sh: Do not set environment variables
3963 explicitly.
3964 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3965 run_program_env and test_program_prefix_after_env arguments.
3966 * stdio-common/tst-printf.sh: Do not set environment variables
3967 explicitly.
3968 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3969 $(test-program-prefix-before-env), $(run-program-env) and
3970 $(test-program-prefix-after-env).
3971 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3972 run_program_env and test_program_prefix_after_env arguments.
3973 Split $test calls into $test_pre and $test.
3974 * timezone/Makefile (build-testdata): Use
3975 $(built-program-cmd-before-env), $(run-program-env) and
3976 $(built-program-cmd-after-env).
3977
ed36bfa1
AZ
39782014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3979
3980 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3981 strlen for non SHARED builds.
3982
fc75bf46
SP
39832014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3984
3985 * nptl/allocatestack.c (check_list): Inlined function...
3986 (__reclaim_stacks): ... here.
3987
d89b3d80
OB
39882014-06-05 Ondřej Bílka <neleai@seznam.cz>
3989
3990 [BZ #15698]
3991 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3992 memory overrun.
3993
2bf18041
JM
39942014-06-05 Joseph Myers <joseph@codesourcery.com>
3995
3996 * Rules (make-test-out): Include
3997 LOCPATH=$(common-objpfx)localedata in default environment.
3998 * debug/Makefile (tst-chk1-ENV): Remove variable.
3999 (tst-chk2-ENV): Likewise.
4000 (tst-chk3-ENV): Likewise.
4001 (tst-chk4-ENV): Likewise.
4002 (tst-chk5-ENV): Likewise.
4003 (tst-chk6-ENV): Likewise.
4004 (tst-lfschk1-ENV): Likewise.
4005 (tst-lfschk2-ENV): Likewise.
4006 (tst-lfschk3-ENV): Likewise.
4007 (tst-lfschk4-ENV): Likewise.
4008 (tst-lfschk5-ENV): Likewise.
4009 (tst-lfschk6-ENV): Likewise.
4010 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4011 (tst-iconv7-ENV): Likewise.
4012 * intl/Makefile (LOCPATH-ENV): Likewise.
4013 (tst-codeset-ENV): Likewise.
4014 (tst-gettext3-ENV): Likewise.
4015 (tst-gettext5-ENV): Likewise.
4016 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4017 (tst-fopenloc-ENV): Likewise.
4018 (tst-fgetws-ENV): Remove variable.
4019 (tst-ungetwc1-ENV): Likewise.
4020 (tst-ungetwc2-ENV): Likewise.
4021 (bug-ungetwc2-ENV): Likewise.
4022 (tst-swscanf-ENV): Likewise.
4023 (bug-ftell-ENV): Likewise.
4024 (tst-fgetwc-ENV): Likewise.
4025 (tst-fseek-ENV): Likewise.
4026 (tst-ftell-partial-wide-ENV): Likewise.
4027 (tst-ftell-active-handler-ENV): Likewise.
4028 (tst-ftell-append-ENV): Likewise.
4029 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4030 (tst-regexloc-ENV): Likewise.
4031 (bug-regex1-ENV): Likewise.
4032 (tst-regex-ENV): Likewise.
4033 (tst-regex2-ENV): Likewise.
4034 (bug-regex5-ENV): Likewise.
4035 (bug-regex6-ENV): Likewise.
4036 (bug-regex17-ENV): Likewise.
4037 (bug-regex18-ENV): Likewise.
4038 (bug-regex19-ENV): Likewise.
4039 (bug-regex20-ENV): Likewise.
4040 (bug-regex22-ENV): Likewise.
4041 (bug-regex23-ENV): Likewise.
4042 (bug-regex25-ENV): Likewise.
4043 (bug-regex26-ENV): Likewise.
4044 (bug-regex30-ENV): Likewise.
4045 (bug-regex32-ENV): Likewise.
4046 (bug-regex33-ENV): Likewise.
4047 (bug-regex34-ENV): Likewise.
4048 (bug-regex35-ENV): Likewise.
4049 (tst-rxspencer-ENV): Likewise.
4050 (tst-rxspencer-no-utf8-ENV): Likewise.
4051 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4052 (tst-sscanf-ENV): Likewise.
4053 (tst-swprintf-ENV): Likewise.
4054 (tst-swscanf-ENV): Likewise.
4055 (test-vfprintf-ENV): Likewise.
4056 (scanf13-ENV): Likewise.
4057 (bug14-ENV): Likewise.
4058 (tst-grouping-ENV): Likewise.
4059 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4060 (tst-strtod3-ENV): Likewise.
4061 (tst-strtod4-ENV): Likewise.
4062 (tst-strtod5-ENV): Likewise.
4063 (testmb2-ENV): Likewise./
4064 * string/Makefile (tst-strxfrm-ENV): Likewise.
4065 (tst-strxfrm2-ENV): Likewise.
4066 (bug-strcoll1-ENV): Likewise.
4067 (test-strcasecmp-ENV): Likewise.
4068 (test-strncasecmp-ENV): Likewise.
4069 * time/Makefile (tst-strptime-ENV): Likewise.
4070 (tst-ftime_l-ENV): Likewise.
4071 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4072 (tst-mbrtowc-ENV): Likewise.
4073 (tst-wcrtomb-ENV): Likewise.
4074 (tst-mbrtowc2-ENV): Likewise.
4075 (tst-c16c32-1-ENV): Likewise.
4076 (tst-mbsnrtowcs-ENV): Likewise.
4077
cd1fb604
OB
40782014-06-05 Ondřej Bílka <neleai@seznam.cz>
4079
4080 * manual/resource.texi (How to get information about the memory
4081 subsystem?): Fix typo.
4082 Reported by Peon de la Parra Ivan <peon@keba.com>
4083
b42eca7d
GY
40842014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4085
4086 [BZ #16882]
4087 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4088 (pthread_spin_lock): Branch out of spin loop to proper location.
4089 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4090 (pthread_spin_lock): Likewise.
4091
902b71f9
DM
4092 * nptl/tst-spin4.c: New test.
4093 * nptl/Makefile (tests): Add tst-spin4.
4094
f9d2d032
AS
40952014-06-03 Andreas Schwab <schwab@suse.de>
4096
4097 [BZ #15946]
4098 * resolv/res_send.c (send_dg): Reload file descriptor after
4099 calling reopen.
4100
cf7bfd28
SL
41012014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4102
4103 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4104
111cc714
RH
41052014-06-03 Richard Henderson <rth@redhat.com>
4106
89b4bd6b
RH
4107 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4108 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4109 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4110 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4111 in the SAVE_PID block.
4112 (__libc_vfork): New alias.
71840409 4113 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 4114
111cc714
RH
4115 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4116 child in registers, not on the stack. Remove RESET_PID conditionals.
4117 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4118
ccc39911
MS
41192014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4120
4121 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4122
693096cc
W
41232014-06-03 Wilco <wdijkstr@arm.com>
4124
4125 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4126 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4127 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4128 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4129 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4130 Likewise.
4131
0b4366bc
W
41322014-06-03 Wilco <wdijkstr@arm.com>
4133
4134 * sysdeps/aarch64/fpu/math_private.h
4135 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4136 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4137 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4138 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4139 Fix declarations.
4140
8747cd03
KS
41412014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4142
4143 * crypt/crypt-private.h: Include ufc-crypt.h.
4144 (__b64_from_24bit): Declare extern.
4145 * crypt/crypt_util.c(__b64_from_24bit): New function.
4146 (b64t): New static const variable.
4147 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4148 (b64t): Remove variable.
4149 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4150 * crypt/sha256-crypt.c: Include crypt-private.h.
4151 (b64t): Remove variable.
4152 (__sha256_crypt_r): Remove b64_from_24bit and replace
4153 with __b64_from_24bit.
4154 * crypt/sha512-crypt.c: Likewise.
4155
d936d379
RM
41562014-06-02 Roland McGrath <roland@hack.frob.com>
4157
4158 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4159 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4160 Label the code __libc_vfork rather than __vfork.
4161 [!NOT_IN_libc] (vfork): Define as weak alias.
4162 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4163 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4164 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4165
9fa76613
SP
41662014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4167
4168 * malloc/malloc.c (malloc_info): Fix format specifier for
4169 n_mmaps.
4170
a88dadbe
W
41712014-06-02 Wilco <wdijkstr@arm.com>
4172
4173 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4174 FPCR write.
4175
c95b3011
W
41762014-06-02 Wilco <wdijkstr@arm.com>
4177
4178 [BZ #17009]
4179 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4180 Rewrite to reduce FPCR/FPSR accesses.
4181
6b4d7a90
DM
41822014-06-01 David S. Miller <davem@davemloft.net>
4183
4184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4185
30f3d07c
DM
41862014-05-31 David S. Miller <davem@davemloft.net>
4187
4188 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4189 to occur in round to nearest mode when |x| >= 2.0
4190
74f31c18
RH
41912014-05-30 Richard Henderson <rth@twiddle.net>
4192
f0712b54
RH
4193 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4194 (PSEUDO_RET_NOERRNO): Remove.
4195 (ret): Don't redefine.
4196 (ret_NOERRNO): Define in terms of ret.
4197 (ret_ERRVAL): Likewise.
4198
74f31c18
RH
4199 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4200 use of PSEUDO_RET; perform the error check directly.
4201
30477995
MM
42022014-05-30 Marko Myllynen <myllynen@redhat.com>
4203
4204 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4205 with __int128_t.
4206
62a58816
SP
42072014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4208
4209 * malloc/malloc (malloc_info): Fix formatting.
4210
4d653a59
SP
42112014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4212 Roland McGrath <roland@hack.frob.com>
4213
4214 * malloc/malloc (malloc_info): Also print mmapped statistics.
4215
5190c17f
RM
42162014-05-30 Roland McGrath <roland@hack.frob.com>
4217
4218 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4219 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4220
987c0269
OB
42212014-05-30 Ondřej Bílka <neleai@seznam.cz>
4222
4223 * malloc/malloc.c (malloc_info): Inline mi_arena.
4224
af4e8ef9
RH
42252014-05-29 Richard Henderson <rth@twiddle.net>
4226
1670e207
RH
4227 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4228 Remove comma before expanding ASM_ARGS_##nr.
4229 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4230 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4231 of ASM_ARGS_##nr.
4232 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4233 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4234 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4235 (ASM_ARGS_1): Add leading comma.
4236
11a28aee
RH
4237 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4238 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4239 to __errno_location.
4240 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4241 Remove the expected plt for __errno_location.
4242
a17e5ffb 4243 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 4244 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
4245 call to __read_tp.
4246
b5be4597
RH
4247 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4248 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4249 it and break it down.
4250 (DOCARGS_0, DOCARGS_1): Do nothing.
4251 (DOCARGS_2): Update to store into the new stack frame.
4252 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4253 (UNDOCARGS_1): Update to restore from the new stack frame.
4254 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4255 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4256
645d44ab
RH
4257 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4258 (SINGLE_THREAD_P): New parameter for result regno.
4259 (PSEUDO): Update to match; use cbz instead of beq.
4260
a8b4f04a
RH
4261 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4262 Use ENTRY to define the _nocancel entry point. Share the syscall
4263 and syscall error check paths with the cancel path.
4264 (PSEUDO_END): New.
4265
af4e8ef9
RH
4266 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4267 whitespace; tabs before and after asm mnemonics.
4268
26b0d2e1
EW
42692014-05-29 Eric Wong <normalperson@yhbt.net>
4270
4271 [BZ #15132]
4272 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4273 Call fstat64 or stat64 internally, depending on arguments passed.
4274 Replace stat buffer argument with file descriptor argument.
4275 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4276 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4277 Pass fd to __internal_statvfs instead of calling fstat64.
4278 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4279 Pass fd to __internal_statvfs64 instead of calling fstat64.
4280 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4281 Pass -1 to __internal_statvfs instead of calling stat64.
4282 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4283 Pass -1 to __internal_statvfs64 instead of calling stat64.
4284
1efe2bd9
RM
42852014-05-28 Roland McGrath <roland@hack.frob.com>
4286
0d3b7a19
RM
4287 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4288 that was previously under [RESET_PID].
4289 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4290
1efe2bd9
RM
4291 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4292 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4293
a6bea3ca
RM
42942014-05-27 Roland McGrath <roland@hack.frob.com>
4295
30b6629e
RM
4296 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4297
a6bea3ca
RM
4298 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4299 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4300
3dfb9a5c
OB
43012014-05-27 Ondřej Bílka <neleai@seznam.cz>
4302
4303 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4304
774f9285
AS
43052014-05-27 Andreas Schwab <schwab@suse.de>
4306
4307 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4308 TLS_INIT_TP macro.
4309 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4310 * elf/rtld.c (init_tls, dl_main): Likewise.
4311 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4312 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4313 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4314 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4315 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4316 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4317 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4318 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4319 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4320 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4321 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4322 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4323 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4324 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4325 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4326 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4327 * sysdeps/generic/tls.h: Update description.
4328
36ffe739
WN
43292014-05-27 Will Newton <will.newton@linaro.org>
4330
4331 [BZ #16990]
4332 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4333 and restore r2 rather than just restoring.
4334
2482ae43
SP
43352014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4336
4337 [BZ #16724]
4338 * libio/tst-ftell-append.c: New test case.
4339 * libio/Makefile (tests): Add test case.
4340 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4341 append mode.
4342 * libio/wfileops.c (do_ftell_wide): Likewise.
4343
3d1024e8
AZ
43442014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4345
bab90016
AZ
4346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4347
c7a8d667
AZ
4348 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4349 ...
4350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4352 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4353 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4354 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4355 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4356 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4357 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4358 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4359 Moved ...
4360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4361 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4362 Moved ...
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4364 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4365 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4366 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4367 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4368 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4369 ...
4370 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4371 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4372 Moved ...
4373 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4374 here.
4375 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4376 ...
4377 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4378 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4379 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4380
daee7851
AZ
4381 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4382 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4383 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4384 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4385
50a40819
AZ
4386 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4387 merge into ...
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4390 ...
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4392 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4393 ...
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4395 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4396 Moved ...
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4398 here.
4399 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4400 Moved ...
4401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4402 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4403 Moved ...
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4405
8464c2a1
AZ
4406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4407 conditional [RESET_PID].
4408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4409 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4410 removed.
4411 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4412 removed.
4413
3d1024e8
AZ
4414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4415 <tcb-offsets.h>.
4416 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4417 (__libc_vfork): New strong alias.
4418 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4419 removed.
4420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4421 Removed.
4422
4423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4424 <tcb-offsets.h>.
4425 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4426 (__libc_vfork): New strong alias.
4427 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4428 removed.
4429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4430 removed.
4431
fdfd175d
CD
44322014-05-26 Carlos O'Donell <carlos@redhat.com>
4433
4434 * malloc/malloc.c (mi_arena): New function.
4435 (malloc_info): Remove nested function mi_arena. Call non-nosted
4436 function mi_arena.
4437
d298c416
AZ
44382014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4439
4440 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4441 by insrwi.
4442 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4443 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4444 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4445 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4446 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4447 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4448 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4449
b60ea6ff
AS
44502014-05-26 Andreas Schwab <schwab@suse.de>
4451
4452 [BZ #16984]
4453 * locale/programs/repertoire.c (repertoire_read): Add slash
4454 between I18NPATH element and file name.
4455 * locale/programs/locfile.c (locfile_read): Likewise.
4456
67365926
SL
44572014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4458
4459 * nptl/pthread_mutexattr_settype.c
4460 (__pthread_mutexattr_settype):
4461 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4462
f8bdf1f0
SL
44632014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4464
4465 * nptl/tst-mutex5 (do_test):
4466 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4467
15eaf6ff
SP
44682014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4469
4470 * benchtests/README: Document 'init' directive.
4471 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4472 BENCH_INIT.
4473 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4474 (parse_file): Recognize 'init' directive.
4475
75f11331
KM
44762014-05-26 Kyle McMartin <kyle@redhat.com>
4477
4478 [BZ #16796]
4479 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4480 alignment of struct pthread.
4481
c3ec475c
SP
44822014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4483
4484 [BZ #16878]
4485 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4486 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4487 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4488 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4489
82aab97c
RH
44902014-05-25 Richard Henderson <rth@twiddle.net>
4491
aa2f176d
RH
4492 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4493 (SINGLE_THREAD_P_PIC): Remove.
4494 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4495 (SINGLE_THREAD_P_PIC): Remove.
4496
ca3cfa40
RH
4497 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4498 branch to syscall error ...
4499 (PSEUDO): ... here.
4500 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4501 from __local_syscall_error to .Lsyscall_error.
4502 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4503 (SYSCALL_ERROR): Update label name.
4504
6e6c2d01
RH
4505 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4506 Do not use DOARGS/UNDOARGS.
4507 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4508 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4509 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4510 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4511 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4512
c69abcee
RH
4513 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4514 block comment.
4515
82aab97c
RH
4516 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4517 define if !NOT_IN_libc.
4518 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4519 define with non-default symbol versions.
4520
8820e3ac
RH
45212014-05-23 Richard Henderson <rth@twiddle.net>
4522
900e445f
RH
4523 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4524 (vfork, __vfork): Define via compat_symbol.
4525
8820e3ac
RH
4526 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4527 [!HAVE_IFUNC] (vfork_compat): Remove.
4528 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4529
e59252a5
JM
45302014-05-23 Joseph Myers <joseph@codesourcery.com>
4531
4532 [BZ #16978]
4533 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4534 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4535 variable.
4536
132c7f5f
RH
45372014-05-23 Richard Henderson <rth@twiddle.net>
4538
bc89e962
RH
4539 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4540 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4541 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4542 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4543
4544 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4545 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4546 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4547 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4548 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4549 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4550 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4551 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4552 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4553 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4554 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4555 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4556 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4557 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4558 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4559 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4560 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4561 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4562 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4563 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4564 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4565 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4566 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4567 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4568 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4569 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4570 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4571 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4572 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4573 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4574 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4575 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4576 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4577 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4578 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4579 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4580 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4581 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4582 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4583 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4584 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4585 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4586 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4587 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4588 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4589 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4590 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4591 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4592 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4593 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4594 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4595 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4596 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4597 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4598 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4599 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4600
e2fa4bc2
RH
4601 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4602 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4603 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4604 before exiting on error.
4605 (__libc_vfork): New strong alias.
4606 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4607 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4608
279b24e2
RH
4609 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4610 that was previously under [RESET_PID].
4611 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4612
132c7f5f
RH
4613 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4614
b72592e7
JM
46152014-05-23 Joseph Myers <joseph@codesourcery.com>
4616
4617 [BZ #16977]
4618 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4619 value when x - 1 is zero.
4620 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4621 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4622 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4623 0.0L for an argument of 1.0L.
4624 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4625 Likewise.
4626 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4627 value when x - 1 is zero.
4628 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4629 * sysdeps/i386/fpu/libm-test-ulps: Update.
4630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4631
2302d679
RV
46322014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4633
4634 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4635 alphasort and versionsort.
4636
32999d63
AZ
46372014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4638
4639 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4640 macro.
4641 [copysignf]: Likewise.
4642
019324d0
SP
46432014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4644
4645 * crypt/md5-crypt.c: Fix formatting.
4646
34fff5c2
KS
46472014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4648
4649 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4650 (b64_from_24bit): New function.
4651
3d2badac
AZ
46522014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4653
4654 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4655 libc_hidden_builtin_def to ifunc.
4656 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4657 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4658
f7bb179f 46592014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
4660
4661 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4662 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4663
4134b50d
JM
46642014-05-21 Joseph Myers <joseph@codesourcery.com>
4665
bb7d0337
JM
4666 * nscd/Depend (linuxthreads): Remove.
4667 (nptl): Add.
4668 * resolv/Depend (linuxthreads): Remove.
4669 * rt/Depend (linuxthreads): Remove.
4670
4134b50d
JM
4671 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4672 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4673 $(common-objpfx)elf/.
4674 (link-libc-before-gnulib): Likewise.
4675 (elfobjdir): Remove variable.
4676 * Makefile (install): Use $(elf-objpfx) instead of
4677 $(common-objpfx)elf/.
4678 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4679 $(elfobjdir)/.
4680 (link-libc-deps): Likewise.
4681 ($(common-objpfx)libc.so): Likewise.
4682 ($(common-objpfx)linkobj/libc.so): Likewise.
4683 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4684 instead of $(common-objpfx)elf/.
4685 (symbolic-link-list): Likewise.
4686 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4687 [$(cross-compiling) = no]: Likewise.
4688 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4689 $(elfobjdir)/.
4690 (static-gnulib-arch): Likewise.
4691 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4692 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4693 $(common-objpfx)elf/.
4694
3612eb8f
RH
46952014-05-21 Richard Henderson <rth@redhat.com>
4696
a6b3657b
RH
4697 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4698 (SINGLE_THREAD_P): Use the correct width load. Fold
4699 into the ldr offset.
4700
3612eb8f
RH
4701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4702 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4703
175cef41
JM
47042014-05-20 Joseph Myers <joseph@codesourcery.com>
4705
4706 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4707 (libgcc_s_resume): Use __attribute_used__.
4708 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4709 Likewise.
4710
e13bccd3
AZ
47112014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4712
4713 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4714 optimization when used with float constants.
4715
7c112a38
AZ
4716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4717
ae75a883
AJ
47182014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4719
4720 [BZ #16915]
4721 * locale/nl_langinfo_l.c: Make direct reference to every
4722 _nl_current_CATEGORY symbol.
4723 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4724 (tests-static): Add tst-langinfo-static.
4725 (tests-special): Add tst-langinfo-static.out.
4726 ($(objpfx)tst-langinfo.out): Redirect output.
4727 ($(objpfx)tst-langinfo-static.out): New.
4728 * localedata/tst-langinfo.sh: Send output to stdout.
4729 * localedata/tst-langinfo-static.c: New file.
4730
4406c41c
AJ
4731 [BZ #16965]
4732 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4733 when the shift amount is modulo the limb size.
4734
4c0a1e63
RH
47352014-05-20 Richard Henderson <rth@redhat.com>
4736
de9d8f20
RH
4737 [BZ #16967]
4738 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4739 Change type of sa_flags from unsigned int to int.
4740
4c0a1e63
RH
4741 [BZ #16966]
4742 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
4743
4744 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4745
a60339aa
WN
47462014-05-20 Will Newton <will.newton@linaro.org>
4747
4748 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4749 Test the return value of the system call in the nocancel case.
4750
7d05a816
YR
47512014-05-20 Will Newton <will.newton@linaro.org>
4752 Yvan Roux <yvan.roux@linaro.org>
4753
4754 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4755 #include of asm/ptrace.h.
4756 (PTRACE_GET_THREAD_AREA): Remove #undef.
4757 (PTRACE_GETHBPREGS): Likewise.
4758 (PTRACE_SETHBPREGS): Likewise.
4759 (struct user_regs_struct): New structure.
4760 (struct user_fpsimd_struct): New structure.
4761 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4762 #include of asm/ptrace.h and second #include of sys/user.h.
4763 (PTRACE_GET_THREAD_AREA): Remove #undef.
4764 (PTRACE_GETHBPREGS): Likewise.
4765 (PTRACE_SETHBPREGS): Likewise.
4766 (ELF_NGREG): Use new struct user_regs_struct.
4767 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4768
af121e37
AZ
47692014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4770
4771 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4772 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4773
834caf06
JM
47742014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4775
4776 [BZ #16958]
4777 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4778 membar to avoid block loads/stores to overlap previous stores.
4779
e184a918
RH
47802014-05-17 Richard Henderson <rth@redhat.com>
4781
4782 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4783 Create the __##syscall_name##_nocancel entry point.
4784 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4785 Remove; let the sysdep-cancel.h code create it.
4786
f56c7a6a
DM
47872014-05-17 David S. Miller <davem@davemloft.net>
4788
4789 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4790 Protect with __USE_GNU.
4791 (TIOCSET_TEMPT): Likewise.
4792 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4793 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4794 these are already provided in bits/ioctl-types.h
4795
f75616b2
RM
47962014-05-16 Roland McGrath <roland@hack.frob.com>
4797
3edeca86
RM
4798 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4799 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4800
f75616b2
RM
4801 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4802 Use wait4 regardless of [__NR_waitpid].
4803
deb0f7f6
MR
48042014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4805
4806 PR libgcc/60166
4807 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4808 (_FP_NANSIGN_Q): Set the quiet bit.
4809
79520f4b
JM
48102014-05-16 Joseph Myers <joseph@codesourcery.com>
4811
4812 * benchtests/Makefile
4813 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4814 not $(common-objpfx)math/libm.so.
4815 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4816 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4817 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4818 $(common-objpfx)dlfcn/libdl.so.
4819 ($(objpfx)tst-audit8): Depend on $(libm), not
4820 $(common-objpfx)math/libm.so.
4821 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4822 not $(common-objpfx)dlfcn/libdl.so.
4823 * math/Makefile
4824 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4825 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4826 [$(build-shared) = yes].
4827 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4828 $(common-objpfx)nptl/libpthread.so.
4829 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4830 $(common-objpfx)math/libm.so$(libm.so-version) or
4831 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4832 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4833 $(common-objpfx)dlfcn/libdl.so.
4834 * setjmp/Makefile (link-libm): Remove variable.
4835 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4836 * stdio-common/Makefile (link-libm): Remove variable.
4837 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4838 * stdlib/Makefile (link-libm): Remove variable.
4839 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4840 ($(objpfx)tst-strtod-round): Likewise.
4841 ($(objpfx)tst-tininess): Likewise.
4842 ($(objpfx)tst-strtod-underflow): Likewise.
4843 ($(objpfx)tst-strtod6): Likewise.
4844 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4845 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4846 $(common-objpfx)dlfcn/libdl.so.
4847
026b0fe4
AZ
48482014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4849
4850 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4851 BSD terminal modes definitions.
4852
def4bcb2
RM
48532014-05-16 Roland McGrath <roland@hack.frob.com>
4854
fe39b021
RM
4855 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4856 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4857
1d1fc46e 4858 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
4859 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4860 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4861 Don't do #include_next.
4862 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4863 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4864 Don't do #include_next.
4865 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4866 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4867 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4868 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4869
c72399fb
AM
48702014-05-16 Allan McRae <allan@archlinux.org>
4871
d51d659d
AM
4872 * po/sv.po: Update Swedish translation from translation project.
4873
c72399fb
AM
4874 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4875 in sed expression.
4876
d0583c40
AJ
48772014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4878
4879 [BZ #16917]
4880 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4881 errno if the TIOCGPTN ioctl fails with an error different than
4882 EINVAL.
4883 * login/tst-ptsname.c: New file.
4884 * login/Makefile (tests): Add tst-ptsname.
4885
d16e6ec7
AJ
4886 [BZ #16943]
4887 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4888 and prlimit64.
4889
cf26a0cb
SP
48902014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4891
4892 [BZ #16849]
4893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4894 herrno to return EAI_AGAIN.
4895
5675da1e
RM
48962014-05-14 Roland McGrath <roland@hack.frob.com>
4897
a5d87b3d
RM
4898 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4899 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4900 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4901 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4902 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4903 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4904 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4905 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4906 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4907 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4908 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4909 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4910 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4911 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4912 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4913 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4914 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4915 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4916 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4917 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4918 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4919 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4920 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4921 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4922 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4923 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4924 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4925 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4926 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4927 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4929 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4931 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4933 Moved ...
4934 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4936 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4938 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4940 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4942 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4944 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4946 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4948 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4950 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4952 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4954 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4956 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4958 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4960 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4962 Moved ...
4963 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4965 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4967 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4969 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4971 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4973 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4975 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4977 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4979 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4981 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4983 Moved ...
4984 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4986 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4987
039890a6
RM
4988 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4989 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4990 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4991 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4992 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4993 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4994 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4995 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4996 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4997 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4998 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4999 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5000 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5001 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5002 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5003 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5004 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5005 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5006 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5007 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5008 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5009 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5010 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5011 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5012 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5013 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5014 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5015 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5016 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5017 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5018 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5019
65c89320
RM
5020 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5021 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5022
348f8e8c
RM
5023 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5024 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5025 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5026 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5027 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5028 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5029 Moved ...
5030 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5031 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5032 Moved ...
5033 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5034 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5035 Moved ...
5036 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5037 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5038 Moved ...
5039 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5040 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5041 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5042 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5043 Moved ...
5044 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5045 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5046 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5047 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5048 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5049 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5050 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5051 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5052 Moved ...
5053 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5054 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5055 Moved ...
5056 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5057 ... here.
5058 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5059 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5060 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5061 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5062 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5063 Moved ...
5064 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5065 ... here.
5066 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5067 Moved ...
5068 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5069 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5070 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5071 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5072 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5073 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5074 Moved ...
5075 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5076 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5077 Moved ...
5078 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5079 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5080 Moved ...
5081 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5082 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5083 Moved ...
5084 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5085 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5086 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5087 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5088 Moved ...
5089 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5090 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5091 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5092 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5093 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5094 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5095 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5096 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5097 Moved ...
5098 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5099 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5100 Moved ...
5101 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5102 ... here.
5103 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5104 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5105 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5106 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5107 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5108 Moved ...
5109 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5110 ... here.
5111 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5112 Moved ...
5113 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5114 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5115 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5116 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5117 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5118 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5119 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5120 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5121 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5122 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5123 Moved ...
5124 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5125 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5126 Moved ...
5127 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5128 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5129 Moved ...
5130 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5131 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5132 Moved ...
5133 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5134 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5135 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5136 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5137 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5138 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5139 Moved ...
5140 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5141 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5142 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5143 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5144 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5145 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5146 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5147 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5148 Moved ...
5149 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5150 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5151 Moved ...
5152 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5153 ... here.
5154 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5155 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5156 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5157 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5158 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5159 Moved ...
5160 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5161 ... here.
5162 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5163 Moved ...
5164 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5165 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5166 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5167 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5168 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5169 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5170 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5171 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5172 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5173 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5174 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5175
5085af05
RM
5176 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5177 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5178
708f0813
RM
5179 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5180 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5181
c96067bc
RM
5182 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5183 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5184 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5185 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5186 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5187 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5188 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5189 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5190 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5191 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5192 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5193 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5194 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5195 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5196 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5197 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5198 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5199 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5200 Moved ...
5201 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5202 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5203 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5204 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5205 Moved ...
5206 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5207 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5208 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5209 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5210 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5211 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5212 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5213 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5214 Moved ...
5215 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5216 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5217 Moved ...
5218 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5219 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5220 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5221 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5222 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5223 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5224 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5225 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5226 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5227 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5228 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5229 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5230 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5231 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5232 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5233 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5234 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5235
ec136444
RM
5236 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5237 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5238 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5239 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5240 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5241
2fbdf533
RM
5242 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5243 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5244 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5245 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5246 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5247 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5248 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5249 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5250 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5251 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5252
4c68138b
RM
5253 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5254 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5255
4eaae765
RM
5256 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5257 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
5258 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5259 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5260 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5261 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5262 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5263 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5264 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5265 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5266 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5267 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5268 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5269 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5270 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5271 Update #include.
5272 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5273 Likewise.
5274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5275 Likewise.
5276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5277 Likewise.
5278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5279 Likewise.
5280 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5281 Likewise.
5282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5283 Likewise.
5284 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5285 Likewise.
5286 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5287 Likewise.
5288 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5289 Likewise.
4ef6befa
RM
5290 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5291 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5292 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5293 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5294 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5295 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5296 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5297 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5298 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5299 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5300 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5301 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5302 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5303 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5304 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5305
941d7dfd
RM
5306 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5307 that was previously under [RESET_PID].
5308 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5309 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5310 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5311
1b731c35
RM
5312 * sysdeps/i386/nptl/Implies: New file.
5313 * sysdeps/x86_64/nptl/Implies: New file.
5314 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5315 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5316 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5317 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5318
e2787137
RM
5319 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5320 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5321 (__libc_vfork): New strong alias.
5322 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5323 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5324
5325 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5326 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5327 (__libc_vfork): New strong alias.
5328 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5329 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5330
5675da1e
RM
5331 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5332 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5333 (__libc_vfork): New strong alias.
5334 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5335 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5336 * nptl/pt-vfork.c: New file.
5337 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5338 (libpthread: GLIBC_2.20): New version set (empty).
5339
4f02e2b8
WN
53402014-05-14 Will Newton <will.newton@linaro.org>
5341
5342 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5343 rather than #if.
5344
0bf061d3
JM
53452014-05-14 Joseph Myers <joseph@codesourcery.com>
5346
1a84c3d6
JM
5347 [BZ #16564]
5348 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5349 arguments with exponent 65 or above.
5350 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5351 arguments 0x1p113L or above.
5352 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5353 to arguments 0x1p107L or above.
5354 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5355 positive arguments with exponent 65 or above.
5356 * math/auto-libm-test-in: Add more tests of log1p.
5357 * math/auto-libm-test-out: Regenerated.
5358
01dbacd2
JM
5359 [BZ #16928]
5360 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5361 non-finite arguments is +0.
5362 * math/s_cacosf.c (__cacosf): Likewise.
5363 * math/s_cacosl.c (__cacosl): Likewise.
5364 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5365 * sysdeps/i386/fpu/libm-test-ulps: Update.
5366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5367
913d03c8
JM
5368 [BZ #16927]
5369 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5370 value.
5371 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5372 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5373 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5374 for explicit high bit of mantissa when testing for argument equal
5375 to 1.
5376 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5377 * sysdeps/i386/fpu/libm-test-ulps: Update.
5378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5379
0bf061d3
JM
5380 [BZ #16516]
5381 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5382 (__erf): Scale by 16 instead of 8 in potentially underflowing
5383 case. Ensure exception if result actually underflows.
5384 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5385 (__erff): Scale by 16 instead of 8 in potentially underflowing
5386 case. Ensure exception if result actually underflows.
5387 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5388 (efx8): Remove variable.
5389 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5390 case. Ensure exception if result actually underflows.
5391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5392 (efx8): Remove variable.
5393 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5394 case. Ensure exception if result actually underflows.
5395 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5396 (efx8): Remove variable.
5397 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5398 case. Ensure exception if result actually underflows.
5399 * math/auto-libm-test-in: Add more tests of erf.
5400 * math/auto-libm-test-out: Regenerated.
5401
73ba67cb
AS
54022014-05-14 Andreas Schwab <schwab@suse.de>
5403
3d8c8bff
AS
5404 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5405 Remove code conditionalized on USE___THREAD.
5406
73ba67cb
AS
5407 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5408 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5409 not definedness.
5410
5c521ecd
JM
54112014-05-14 Joseph Myers <joseph@codesourcery.com>
5412
5e7698c6
JM
5413 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5414 Define unconditionally.
5415 (__ASSUME_O_CLOEXEC): Likewise.
5416 (__ASSUME_SOCK_CLOEXEC): Likewise.
5417 (__ASSUME_IN_NONBLOCK): Likewise.
5418 (__ASSUME_PIPE2): Likewise.
5419 (__ASSUME_EVENTFD2): Likewise.
5420 (__ASSUME_SIGNALFD4): Likewise.
5421 (__ASSUME_DUP3): Likewise.
5422 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5423 (__ASSUME_DUP3): Do not define.
5424 (__ASSUME_EVENTFD2): Likewise.
5425 (__ASSUME_IN_NONBLOCK): Likewise.
5426 (__ASSUME_O_CLOEXEC): Likewise.
5427 (__ASSUME_PIPE2): Likewise.
5428 (__ASSUME_SIGNALFD4): Likewise.
5429 (__ASSUME_SOCK_CLOEXEC): Likewise.
5430 (__ASSUME_UTIMES): Undefine.
5431 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5432 (__ASSUME_UTIMES): Do not define.
5433 (__ASSUME_O_CLOEXEC): Likewise.
5434 (__ASSUME_SOCK_CLOEXEC): Likewise.
5435 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5436 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5437 0x020621].
5438 (__ASSUME_PIPE2): Likewise.
5439 (__ASSUME_EVENTFD2): Likewise.
5440 (__ASSUME_SIGNALFD4): Likewise.
5441 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5442 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5443 Do not define.
5444 (__ASSUME_EVENTFD2): Likewise.
5445 (__ASSUME_SIGNALFD4): Likewise.
5446 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5447 (__ASSUME_32BITUIDS): Likewise.
5448 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5449 (__ASSUME_IPC64): Likewise.
5450 (__ASSUME_ST_INO_64_BIT): Likewise.
5451 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5452 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5453 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5454 (__ASSUME_UTIMES): Do not define.
5455 (__ASSUME_PSELECT): Likewise.
5456 (__ASSUME_PPOLL): Likewise.
5457 (__ASSUME_O_CLOEXEC): Likewise.
5458 (__ASSUME_SOCK_CLOEXEC): Likewise.
5459 (__ASSUME_IN_NONBLOCK): Likewise.
5460 (__ASSUME_PIPE2): Likewise.
5461 (__ASSUME_EVENTFD2): Likewise.
5462 (__ASSUME_SIGNALFD4): Likewise.
5463 (__ASSUME_DUP3): Likewise.
5464 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5465 (__ASSUME_UTIMES): Likewise.
5466 (__ASSUME_O_CLOEXEC): Likewise.
5467 (__ASSUME_SOCK_CLOEXEC): Likewise.
5468 (__ASSUME_IN_NONBLOCK): Likewise.
5469 (__ASSUME_PIPE2): Likewise.
5470 (__ASSUME_EVENTFD2): Likewise.
5471 (__ASSUME_SIGNALFD4): Likewise.
5472 (__ASSUME_DUP3): Likewise.
5473 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5474 (__ASSUME_UTIMES): Likewise.
5475 (__ASSUME_O_CLOEXEC): Likewise.
5476 (__ASSUME_SOCK_CLOEXEC): Likewise.
5477 (__ASSUME_IN_NONBLOCK): Likewise.
5478 (__ASSUME_PIPE2): Likewise.
5479 (__ASSUME_EVENTFD2): Likewise.
5480 (__ASSUME_SIGNALFD4): Likewise.
5481 (__ASSUME_DUP3): Likewise.
5482 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5483 Likewise.
5484 (__ASSUME_UTIMES): Likewise.
5485 (__ASSUME_EVENTFD2): Likewise.
5486 (__ASSUME_SIGNALFD4): Likewise.
5487 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5488 (__ASSUME_O_CLOEXEC): Likewise.
5489 (__ASSUME_SOCK_CLOEXEC): Likewise.
5490 (__ASSUME_IN_NONBLOCK): Likewise.
5491 (__ASSUME_PIPE2): Likewise.
5492 (__ASSUME_EVENTFD2): Likewise.
5493 (__ASSUME_SIGNALFD4): Likewise.
5494 (__ASSUME_DUP3): Likewise.
5495 (__ASSUME_UTIMES): Undefine.
5496
5c521ecd
JM
5497 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5498 feclearexcept. Remove symbol versioning code.
5499 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5500 symbol versioning code.
5501 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5502 symbol versioning code.
5503 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5504 feupdateenv. Remove symbol versioning code.
5505 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5506 fegetexceptflag. Remove symbol versioning code.
5507 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5508 fesetexceptflag. Remove symbol versioning code.
5509 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5510 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5511 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5512 (__posix_fadvise64_l32): Remove prototype.
5513 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5514 code.
5515
5da9dfad
RM
55162014-05-13 Roland McGrath <roland@hack.frob.com>
5517
5518 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5519 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5520 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5521 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5522
893b4f37
SK
55232014-05-13 Sami Kerola <kerolasa@iki.fi>
5524
5525 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5526 current working directory
5527
e0db6517
RM
55282014-05-13 Roland McGrath <roland@hack.frob.com>
5529
58aa195d
RM
5530 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5531 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5532 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5533 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5534 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5535 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5536 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5537 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5538 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5539 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5540 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5541 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5542 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5543 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5544 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5545 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5546 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5547 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5548 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5549 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5550 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5551 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5552 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5553 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5554 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5555 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5556 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5557 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5558 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5559 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5560 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5561 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5562 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5563 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5564 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5565 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5566 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5567 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5568 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5569 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5570 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5571 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5572
8c6d01f0
RM
5573 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5574 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5575
5576 * sysdeps/unix/sysv/linux/arm/Makefile
5577 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5578 Add rt-aeabi_unwind_cpp_pr1.
5579 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5580 Add nptl-aeabi_unwind_cpp_pr1.
5581 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5582 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5583 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5584 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5585 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5586 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5587
5588 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5589 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5590 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5591 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5592
bba6da4e
RM
5593 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5594 Deconditionalize the code that was previously under [RESET_PID].
5595 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5596
e0db6517
RM
5597 * sysdeps/generic/exit-thread.h: New file.
5598 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5599 * include/unistd.h (__exit_thread): Remove declaration.
5600 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5601 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5602 * csu/libc-start.c: Include <exit-thread.h>.
5603 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5604 * nptl/pthread_create.c: Include <exit-thread.h>.
5605 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5606 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5607 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5608 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5609 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5610 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5611 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5612 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5613 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5614 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5615 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5616 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5617 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5618 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5619 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5620 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5621 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5622
01eb16fd
AS
56232014-05-13 Andreas Schwab <schwab@suse.de>
5624
5625 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5626
637461d9
JM
56272014-05-12 Joseph Myers <joseph@codesourcery.com>
5628
5629 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5630 (__ASSUME_UTIMES): Do not condition on kernel version.
5631 (__ASSUME_PSELECT): Define unconditionally.
5632 (__ASSUME_PPOLL): Likewise.
5633 (__ASSUME_ATFCTS): Likewise.
5634 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5635 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5636 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5637 (__ASSUME_UTIMENSAT): Define unconditionally.
5638 (__ASSUME_PRIVATE_FUTEX): Likewise.
5639 (__ASSUME_FALLOCATE): Likewise.
5640 (__ASSUME_O_CLOEXEC): Likewise.
5641 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5642 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5643 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5644 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5645 (__ASSUME_IN_NONBLOCK): Likewise.
5646 (__ASSUME_PIPE2): Likewise.
5647 (__ASSUME_EVENTFD2): Likewise.
5648 (__ASSUME_SIGNALFD4): Likewise.
5649 (__ASSUME_DUP3): Likewise.
5650 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5651 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5652 (__ASSUME_AT_RANDOM): Likewise.
5653 (__ASSUME_PREADV): Likewise.
5654 (__ASSUME_PWRITEV): Likewise.
5655 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5656 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5657 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5658 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5659 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5660 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5661 (__ASSUME_O_CLOEXEC): Define unconditionally.
5662 (__ASSUME_PSELECT): Do not undefine conditionally.
5663 (__ASSUME_PPOLL): Likewise.
5664 (__ASSUME_ATFCTS): Likewise.
5665 (__ASSUME_SET_ROBUST_LIST): Likewise.
5666 (__ASSUME_UTIMENSAT): Likewise.
5667 (__ASSUME_FDATASYNC): Define unconditionally.
5668 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5669 (__ASSUME_SIGFRAME_V2): Likewise.
5670 )__ASSUME_EVENTFD2): Likewise.
5671 (__ASSUME_SIGNALFD4): Likewise.
5672 (__ASSUME_PSELECT): Do not undefine conditionally.
5673 (__ASSUME_PPOLL): Likewise.
5674 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5675 (__ASSUME_PSELECT): Define unconditionally.
5676 (__ASSUME_PPOLL): Likewise.
5677 (__ASSUME_O_CLOEXEC): Likewise.
5678 (__ASSUME_SOCK_CLOEXEC): Likewise.
5679 (__ASSUME_IN_NONBLOCK): Likewise.
5680 (__ASSUME_PIPE2): Likewise.
5681 (__ASSUME_EVENTFD2): Likewise.
5682 (__ASSUME_SIGNALFD4): Likewise.
5683 (__ASSUME_DUP3): Likewise.
5684 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5685 (__ASSUME_O_CLOEXEC): Likewise.
5686 (__ASSUME_SOCK_CLOEXEC): Likewise.
5687 (__ASSUME_IN_NONBLOCK): Likewise.
5688 (__ASSUME_PIPE2): Likewise.
5689 (__ASSUME_EVENTFD2): Likewise.
5690 (__ASSUME_SIGNALFD4): Likewise.
5691 (__ASSUME_DUP3): Likewise.
5692 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5693 (__ASSUME_EVENTFD2): Likewise.
5694 (__ASSUME_SIGNALFD4): Likewise.
5695 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5696
315eb1d8
AS
56972014-05-12 Andreas Schwab <schwab@suse.de>
5698
5699 [BZ #16932]
5700 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5701 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5702 than maximum RPC packet size.
5703 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5704 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5705 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5706 (_nss_nis_getservbyport_r): Likewise.
5707
91df99f7
WN
57082014-05-12 Will Newton <will.newton@linaro.org>
5709
5710 * malloc/Makefile (tests): Add tst-mallopt.
5711 * malloc/tst-mallopt.c: New file.
5712
0a982a29
RM
57132014-05-09 Roland McGrath <roland@hack.frob.com>
5714
5715 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5716 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5717
0ded08a5
AZ
57182014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5719
5720 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5721 (tst-tlsmod6.so): Likewise.
5722
55d4d550
RM
57232014-05-09 Roland McGrath <roland@hack.frob.com>
5724
5725 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5726
77d08aca
JM
57272014-05-09 Joseph Myers <joseph@codesourcery.com>
5728
5729 [BZ #16064]
5730 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5731 and <dl-procinfo.h>.
5732 (__fegetenv): Save SSE state in envp->__eip if supported.
5733 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5734 envp->__eip if supported.
5735 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5736 and <dl-procinfo.h>.
5737 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5738 __data_offset and __data_selector in environment to 0. Set SSE
5739 state if supported.
5740 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5741 test-fenv-sse.
5742 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5743 -mfpmath=sse.
5744 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5745
28162f4d
WN
57462014-05-09 Will Newton <will.newton@linaro.org>
5747
5748 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5749 and libc_relro_required for ARM.
5750 * sysdeps/arm/preconfigure: Regenerate.
5751
5a414ff7
DV
57522014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5753 Stefan Liebler <stli@linux.vnet.ibm.com>
5754
5755 * config.make.in (enable-lock-elision): New Makefile variable.
5756 * configure.ac: Likewise.
5757 * configure: Regenerate.
5758 * sysdeps/s390/configure.ac:
5759 Add check for gcc transactions support.
5760 * sysdeps/s390/configure: Regenerate.
5761 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5762 Build elision files if enabled.
5763 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5764 Add lock elision support for s390.
5765 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5766 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5767 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5768 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5769 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5770 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5771 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5772 Likewise.
5773 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5774 Likewise.
5775 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5776 Likewise.
5777 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5778 Likewise.
5779 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5780 (__lll_timedlock_elision, __lll_lock_elision)
5781 (__lll_unlock_elision, __lll_trylock_elision)
5782 (lll_timedlock_elision, lll_lock_elision)
5783 (lll_unlock_elision, lll_trylock_elision): Add.
5784 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5785 (pthread_mutex_t): Add lock elision support for s390.
5786
1a2f40e5
W
57872014-05-14 Wilco <wdijkstr@arm.com>
5788
5789 * sysdeps/arm/fclrexcpt.c: Cleanup.
5790 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5791 * sysdeps/arm/feenablxcpt.c: Cleanup.
5792 * sysdeps/arm/fegetenv.c: Cleanup.
5793 * sysdeps/arm/fegetexcept.c: Cleanup.
5794 * sysdeps/arm/fegetround.c: Cleanup.
5795 * sysdeps/arm/feholdexcpt.c: Cleanup.
5796 * sysdeps/arm/fesetenv.c: Cleanup.
5797 * sysdeps/arm/fesetround.c: Cleanup.
5798 * sysdeps/arm/feupdateenv.c: Cleanup.
5799 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5800 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5801 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5802 * sysdeps/arm/ftestexcept.c: Cleanup.
5803 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5804 * sysdeps/arm/setfpucw.c: Cleanup.
5805
f63c86fe
WN
58062014-05-09 Will Newton <will.newton@linaro.org>
5807
5808 * sysdeps/arm/armv7/strcmp.S: New file.
5809 * NEWS: Mention addition of ARMv7 optimized strcmp.
5810
7a1a51b5
RM
58112014-05-08 Roland McGrath <roland@hack.frob.com>
5812
95afbbe5
RM
5813 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5814 look for %.ac rather than %.in.
5815
5816 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5817 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5818 * sysdeps/mach/hurd/configure: Regenerated.
5819 * sysdeps/unix/sysv/linux/configure: Regenerated.
5820
7a1a51b5
RM
5821 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5822
5057ad3b
SE
58232014-05-07 Steve Ellcey <sellcey@mips.com>
5824
5825 [BZ# 16922]
5826 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5827 (LONG_SUB): Ditto.
5828 (PTR_SUB): Ditto.
5829
8dc97517
AS
58302014-05-07 Andreas Schwab <schwab@suse.de>
5831
5832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5833 when skipping over non-matching result from nscd.
5834
ce0c5b8f
OB
58352014-05-07 Ondřej Bílka <neleai@seznam.cz>
5836
5837 [BZ #16876]
5838 * nptl/sockperf.c (client): Check socket return value.
8dc97517 5839
a1189263
OB
5840 [BZ #16877]
5841 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5842 nscd security class.
ce0c5b8f 5843
0f58d252
RM
58442014-05-06 Roland McGrath <roland@hack.frob.com>
5845
5846 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5847 * sysdeps/arm/unwind.h: ... here.
5848
83df9ad0
AJ
58492014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5850
ce0c5b8f
OB
5851 [BZ# 16916]
5852 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5853 Define.
83df9ad0 5854
f360f94a
VR
58552014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5856
5857 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5858 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5859 multiarch strncpy for PPC64.
5860 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5861 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5863 multiarch optimizations.
5864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5865 (__libc_ifunc_impl_list): Likewise.
5866 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5867 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5868 multiarch stpncpy for PPC64.
5869 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5870 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5871
978a41c3
AS
58722014-05-06 Andreas Schwab <schwab@suse.de>
5873
5874 [BZ #16912]
5875 * gmon/mcount.c (_MCOUNT_DECL): Use
5876 atomic_compare_and_exchange_bool_acq instead of
5877 catomic_compare_and_exchange_bool_acq.
5878
eb1ed03d
RM
58792014-05-05 Roland McGrath <roland@hack.frob.com>
5880
fe658845
RM
5881 * elf/Makefile (others, install-bin): Remove pldd.
5882 (pldd-modules): Variable removed.
5883 ($(objpfx)pldd): Target removed.
5884 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5885 (others, install-bin): Append pldd here.
5886 ($(objpfx)pldd): New target.
5887
eb1ed03d
RM
5888 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5889 to 0, so the first #if test emitted later doesn't see it undefined.
5890 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5891 * sysdeps/gnu/errlist.c: Regenerated.
5892
19c4bec0
AZ
58932014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5894
5895 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5896 [libc_hidden_builtin_def]: Define to empty value.
5897 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5898 [libc_hidden_builtin_def]: Likewise.
5899 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5900 [libc_hidden_builtin_def]: Likewise.
5901 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5902 [libc_hidden_builtin_def]: Likewise.
5903 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5904 __redirect_memcpy and define ifunc as default hidden symbol.
5905 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5906 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5907
7776e669
AC
59082014-05-04 Adam Conrad <adconrad@0c3.net>
5909
5910 * locale/iso-4217.def: Reintroduce XDR currency.
5911
d69aeb12
AM
59122014-05-04 Allan McRae <allan@archlinux.org>
5913
5914 * po/eo.po: Update Esperanto translation from translation project.
5915
8f1df5cf
CD
59162014-05-02 Carlos O'Donell <carlos@redhat.com>
5917
5918 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5919 and FEATURE_INDEX_MAX to 1.
5920 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5921
13e402e7
SE
59222014-05-01 Steve Ellcey <sellcey@mips.com>
5923
5924 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5925 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5926 * iconvdata/big5.c (ONE_DIRECTION): Define.
5927 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5928 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5929 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5930 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5931 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5932 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5933 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5934 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5935 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5936 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5937 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5938 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5939 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5940 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5941 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5942 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5943 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5944 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5945 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5946 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5947 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5948 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5949 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5950 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5951 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5952 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5953 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5954 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5955 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5956 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5957 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5958 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5959 * iconvdata/johab.c (ONE_DIRECTION): Define.
5960 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5961 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5962 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5963 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5964 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5965 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5966 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5967 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5968 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5969 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5970
c727f032
RM
59712014-05-01 Roland McGrath <roland@hack.frob.com>
5972
8f2f08d0
RM
5973 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5974 (_IO_JUMPS_OFFSET): Define to 0.
5975
c727f032
RM
5976 * nptl/sysdeps/pthread/bits/libc-lock.h
5977 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5978 (__libc_lock_define_initialized_recursive): Always define using
5979 initializer. Modern compilers treat uninitialized (implicit zero) and
5980 explicit zero initializers the same (i.e. put the datum in bss).
5981
a849e800
AS
59822014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5983
5984 * nscd/nscd-client.h: Include <string.h>.
5985
5331255b
DM
59862014-05-01 David S. Miller <davem@davemloft.net>
5987
5988 [BZ #16885]
5989 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5990 multiple zero bytes exist at the end of a string.
5991 Reported by Aurelien Jarno <aurelien@aurel32.net>
5992
5993 * string/test-strcmp.c (check): Add explicit test for situations where
5994 there are multiple zero bytes after the first.
5995
4fdfe821
AS
59962014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5997
5998 [BZ #16890]
5999 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6000 when compiling wprintf.
6001 * stdio-common/tstdiomisc.c (t3): New function.
6002 (main): Call it.
6003
0cdddc25
SE
60042014-05-01 Steve Ellcey <sellcey@mips.com>
6005
6006 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6007 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6008 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6009 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6010
6426d77e
SE
60112014-05-01 Steve Ellcey <sellcey@mips.com>
6012
6013 * stdlib/longlong.h: Updated from GCC.
6014
6d96f5e4
WN
60152014-05-01 Will Newton <will.newton@linaro.org>
6016 Bernard Ogden <bernie.ogden@linaro.org>
6017
7470db0c
WN
6018 * NEWS: Update fixed bug list.
6019
6d96f5e4
WN
6020 [BZ #15119]
6021 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6022
211d653c
DM
60232014-04-30 David S. Miller <davem@davemloft.net>
6024
4fa262fa
DM
6025 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6026 (libc_feholdexcept_setround_sparc_ctx): New function.
6027 (libc_fesetenv_sparc_ctx): Likewise.
6028 (libc_feupdateenv_sparc_ctx): Likewise.
6029 (libc_feholdsetround_sparc_ctx): Likewise.
6030 (libc_feholdexcept_setround_ctx): Define.
6031 (libc_feholdexcept_setroundf_ctx): Likewise.
6032 (libc_feholdexcept_setroundl_ctx): Likewise.
6033 (libc_fesetenv_ctx): Likewise.
6034 (libc_fesetenvf_ctx): Likewise.
6035 (libc_fesetenvl_ctx): Likewise.
6036 (libc_feupdateenv_ctx): Likewise.
6037 (libc_feupdateenvf_ctx): Likewise.
6038 (libc_feupdateenvl_ctx): Likewise.
6039 (libc_feresetround_ctx): Likewise.
6040 (libc_feresetroundf_ctx): Likewise.
6041 (libc_feresetroundl_ctx): Likewise.
6042 (libc_feholdsetround_ctx): Likewise.
6043 (libc_feholdsetroundf_ctx): Likewise.
6044 (libc_feholdsetroundl_ctx): Likewise.
6045
1d3d93ef
DM
6046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6047 with __USE_GNU instead of XOPEN cpp guards.
6048
8aa583c3
DM
6049 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6050 0.
6051
211d653c
DM
6052 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6053 with XOPEN cpp guards.
6054
60c8f1f6
JB
60552014-04-30 Julian Brown <julian@codesourcery.com>
6056
6057 [BZ #16888]
6058 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6059 handling.
6060
9a461d46
JM
60612014-04-30 Joseph Myers <joseph@codesourcery.com>
6062
d0f5b3f8
JM
6063 [BZ #9894]
6064 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6065 Change to 2.6.32.
6066 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6067 * sysdeps/unix/sysv/linux/configure: Regenerated.
6068 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6069 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6070 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6071 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6072 * README: Update reference to required Linux kernel version.
6073 * manual/install.texi (Linux): Update reference to required Linux
6074 kernel headers version.
6075 * INSTALL: Regenerated.
6076
9a461d46
JM
6077 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6078 header inclusion.
6079 [POSIX] (limits.h): Likewise.
6080 [POSIX] (math.h): Likewise.
6081 [POSIX] (sys/wait.h): Likewise.
6082 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6083 function.
6084 [POSIX] (stddef.h): Do not allow header inclusion.
6085
1775babf
AZ
60862014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6087
57f41c40 6088 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 6089
8f630cca
YY
60902014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6091
6092 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6093 Return immediately after lll_futex_wake.
6094
1cdeb237
SP
60952014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6096
bc8f194c
SP
6097 [BZ #16791]
6098 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6099 structure.
6100 (datahead_init_pos): Call datahead_init_common early.
6101 (datahead_init_neg): Likewise.
6102
1cdeb237
SP
6103 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6104 datahead_init_neg): New functions.
6105 * nscd/aicache.c (addhstaiX): Use them.
6106 * nscd/grpcache.c (cache_addgr): Likewise.
6107 * nscd/hstcache.c (cache_addhst): Likewise.
6108 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6109 * nscd/netgroupcache.c (do_notfound): Likewise.
6110 (addgetnetgrentX): Likewise.
6111 (addinnetgrX): Likewise.
6112 * nscd/pwdcache.c (cache_addpw): Likewise.
6113 * nscd/servicescache.c (cache_addserv): Likewise.
6114
16b293a7
SP
61152014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6116 Atsushi Onoe <atsushi@onoe.org>
6117
6118 [BZ #14308]
6119 [BZ #12994]
6120 [BZ #13651]
6121 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6122 one response is valid.
6123 * resolv/res_send.c (send_dg): Check for validity of other
6124 response if the current response is a referral.
6125
a28a9b94
SE
61262014-04-29 Steve Ellcey <sellcey@mips.com>
6127
6128 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6129
2ca180e9
SL
61302014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6131
6132 [BZ #16823]
6133 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6134 Always divide by positive zero when computing -Inf result.
6135 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6136 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6137
18f2945a
AZ
61382014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6139
6140 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6141 FPSCR if value do not change.
6142 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6143 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6144 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6145 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6146 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6147 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6148 function.
6149
5abebba4
CD
61502014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6151
6152 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6153 * sysdeps/unix/sysv/linux/hppa: Move directory from
6154 ports/systeps/unix/sysv/linux/hppa.
6155 * README: Update listing for hppa-*-linux-gnu.
6156
f7ed60c2
OB
61572014-04-28 Ondřej Bílka <neleai@seznam.cz>
6158
fff763a5
OB
6159 [BZ #16754]
6160 * manual/stdio.texi (Hook functions): Fix types of stream hook
6161 functions.
f7ed60c2
OB
6162 [BZ #16854]
6163 * socket/sys/socket.h: Fix typo in comment.
6164
df639d73
WD
61652014-04-28 Wilco <wdijkstr@arm.com>
6166
f7ed60c2 6167 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
6168 * sysdeps/arm/math_private.h: New file.
6169 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6170
48332d82
L
61712014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6172
6173 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6174 with __int128_t.
6175 (La_x86_64_retval): Likewise.
6176
e5e0d9a4
IB
61772014-04-24 Ian Bolton <ian.bolton@arm.com>
6178
6179 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6180 fpsr if value didn't change.
6181 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6182 to fpcr if value didn't change.
6183 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6184 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6185 fpsr or fpcr if value didn't change.
6186 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6187 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6188 fpcr if value didn't change.
6189 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6190 to fpsr if value didn't change.
6191
bacc75f7
SP
61922014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6193
6194 * nptl/tst-sem3.c: Use test-skeleton.c
6195 (main): Rename to do_test. Use return instead of
6196 exit.
6197 * nptl/tst-sem4.c: Use test-skeleton.c
6198 (main): Rename to do_test.
6199
a059d359
DM
62002014-04-22 David S. Miller <davem@davemloft.net>
6201
6202 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6203 (struct sigaction): New struct member __glibc_reserved0, change
6204 type of sa_flags to int.
6205
ea6c92f3
YZ
62062014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6207
6208 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6209 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6210
766c4a36
SP
62112014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6212
6213 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6214 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6215
140cc7ab
VK
62162014-04-22 Will Newton <will.newton@linaro.org>
6217 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6218
6219 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6220 (__longjmp): Add longjmp and longjmp_target SystemTap
6221 probes.
6222 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6223 (__sigsetjmp): Add setjmp SystemTap probe.
6224
c54e5cf7
CD
62252014-04-17 Carlos O'Donell <carlos@redhat.com>
6226
6227 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6228 match manual order.
6229
75ffb047
AZ
62302014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6231
6232 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6233
2cd925f7
AZ
6234 * sysdeps/powerpc/fpu/fenv_private.h
6235 (libc_feholdexcept_setroundl_ctx): Define to
6236 libc_feholdexcept_setround_ppc_ctx.
6237 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6238 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6239 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6240 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6241
39e6cd8d
IB
62422014-04-17 Ian Bolton <ian.bolton@arm.com>
6243
6244 * sysdeps/aarch64/math-tests.h: New file.
6245
f9281df9
SY
62462014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6247
6248 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6249 New.
6250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6251 Check and set bit_AVX2_Usable.
6252 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6253 macro.
6254 (bit_AVX2): Likewise.
6255 (index_AVX2_Usable): Likewise.
6256 (CPUID_AVX2): Likewise.
6257 (HAS_AVX2): Likewise.
6258
37d35007
WN
62592014-04-17 Will Newton <will.newton@linaro.org>
6260
7c677662
WN
6261 * manual/setjmp.texi (System V contexts): Add note that
6262 calling setcontext on a context created by a call to a
6263 signal handler is undefined. Update text to note that
6264 setcontext from a signal handler is possible but not
6265 recommended.
6266
37d35007 6267 [BZ #16629]
e04a4e9d
WN
6268 * stdlib/tst-setcontext.c: Include signal.h.
6269 (main): Check that the signal stack before and
6270 after swapcontext is the same.
6271
37d35007
WN
6272 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6273 Re-implement to restore registers in user code and avoid
6274 rt_sigreturn system call.
6275
423a7160
W
62762014-04-17 Wilco <wdijkstr@arm.com>
6277
6278 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6279 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6280 * math/test-fenv.c: Skip exception trap tests on targets which only
6281 support non-stop mode.
6282
bc93ab29
IB
62832014-04-17 Ian Bolton <ian.bolton@arm.com>
6284 Wilco Dijkstra <wilco.dijkstra@arm.com>
6285
6286 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6287 (libc_feholdsetround_aarch64_ctx)
6288 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6289 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6290 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6291 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6292 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6293 (libc_feresetround_noexl_ctx): Define.
6294
95fc5fa3
RH
62952014-04-16 Richard Henderson <rth@redhat.com>
6296
ddb04724
RH
6297 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6298
d77c0899
RH
6299 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6300 unwind tables.
6301
a3df56fc
RH
6302 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6303 const from the non-libc, non-ldso copy.
6304
95fc5fa3
RH
6305 * sysdeps/alpha/libm-test-ulps: Regenerate.
6306
7e0b6763
IB
63072014-04-16 Ian Bolton <ian.bolton@arm.com>
6308 Wilco Dijkstra <wilco.dijkstra@arm.com>
6309
6310 * sysdeps/aarch64/fpu/math_private.h: New file.
6311
a9ea2e0c
MS
63122014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6313
6314 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6315
ea8ba7cd
IZ
63162014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6317
6318 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6319 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6321 Intel MPX bound registers before _dl_profile_fixup.
6322 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6323 registers after _dl_profile_fixup. Save and restore bound
6324 registers bnd0/bnd1 when calling _dl_call_pltexit.
6325 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6326 (LR_BND_OFFSET): Likewise.
6327 (LRV_BND0_OFFSET): Likewise.
6328 (LRV_BND1_OFFSET): Likewise.
6329
9f2a4fbc
ST
63302014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6331
6332 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6333 to...
6334 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6335 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6336 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6337 fields.
9f2a4fbc 6338
fd15a59b
ST
63392014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6340
6341 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6342
f19dfa0a
SL
63432014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6344
6345 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6346
4fa8bc3b
SL
63472014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6348
6349 [BZ #14770]
6350 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6351 * sysdeps/s390/configure: Regenerate.
6352
8ea587db
SL
6353 [BZ #16824]
6354 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6355 Set round-to-nearest internally to reduce error accumulation.
6356
aa5f0ff1
AM
63572014-04-16 Alan Modra <amodra@gmail.com>
6358
6359 [BZ #16740]
6360 [BZ #16619]
6361 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6362 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6363 * NEWS: Update fixed bug list.
aa5f0ff1 6364
bb9c256f
SP
63652014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6366
6367 * benchtests/Makefile: Depend on libraries in build directory.
6368 (bench-math): Separate out math tests.
6369 (bench-pthread): Separate out pthread tests.
6370 (bench): Include math and pthread tests.
6371
f737dfd0
CD
63722014-04-14 Carlos O'Donell <carlos@redhat.com>
6373
6374 [BZ #16831]
6375 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6376 _dl_debug_initialize.
6377
0699f766
CD
6378 * configure.ac: Remove SELinux header check.
6379 * configure: Regenerate.
6380 * nscd/selinux.c (perms): Array of const char* to permission names.
6381 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6382 default policy. Call string_to_security_class and string_to_av_perm to
6383 translate strings. Enforce default policy and call avs_has_perm with
6384 results of translated strings.
6385
809bd45f
DM
63862014-04-13 David S. Miller <davem@davemloft.net>
6387
6388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6389
89e691f2
AM
63902014-04-12 Allan McRae <allan@archlinux.org>
6391
6392 [BZ #16838]
6393 * manual/string.texi (Collation Functions): Fix qsort argument
6394 order in example.
6395 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6396
9c9daaeb
CM
63972014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6398
6399 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6400 Make the test a no-op if there are no exceptions defined.
6401
95561fb9
PP
64022014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6403
fe8d072c 6404 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6405 enable-hardcoded-path-in-tests
6406
970c602a
WN
64072014-04-11 Will Newton <will.newton@linaro.org>
6408
6409 * benchtests/Makefile (extra-objs): Add json-lib.o.
6410 (bench-func): Tidy up JSON output.
6411 * benchtests/bench-skeleton.c: Include json-lib.h.
6412 (main): Use JSON library functions to do output of
6413 benchmark results.
6414 * benchtests/bench-timing-type.c (main): Output the
6415 timing type simply, leaving formatting to the user.
6416 * benchtests/json-lib.c: New file.
6417 * benchtests/json-lib.h: Likewise.
6418
36875b06
TR
64192014-04-11 Torvald Riegel <triegel@redhat.com>
6420
6421 [BZ #15215]
6422 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6423 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6424 memory barriers. Add comments.
6425 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6426 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6427 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6428 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6429 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6430 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6431
579db35a
SL
64322014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6433
6434 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6435 * sysdeps/s390/s390-64/configure.ac: ... this ...
6436 * sysdeps/s390/configure.ac: ... to here.
6437 * sysdeps/s390/s390-32/configure: Delete file.
6438 * sysdeps/s390/s390-64/configure: Delete file.
6439 * sysdeps/s390/configure: Regenerate.
6440
c12e9f37
JAPH
64412014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6442
6443 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6444
439bda32
WN
64452014-04-11 Will Newton <will.newton@linaro.org>
6446
6447 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6448 to zero if it is not defined elsewhere. (mtrim): Test
6449 the value of MALLOC_DEBUG with #if rather than #ifdef.
6450
6a5d6ea1
TR
64512014-04-10 Torvald Riegel <triegel@redhat.com>
6452
6453 * benchtests/pthread_once-inputs: New file.
6454 * benchtests/pthread_once-source.c: New file.
6455 * benchtests/README: Update documentation.
6456
a4c75cfd
IZ
64572014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6458 H.J. Lu <hongjiu.lu@intel.com>
6459
6460 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6461 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6462 * sysdeps/x86_64/configure: Regenerated.
6463 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6464 macro.
6465 (REGISTER_SAVE_RAX): Likewise.
6466 (REGISTER_SAVE_RCX): Likewise.
6467 (REGISTER_SAVE_RDX): Likewise.
6468 (REGISTER_SAVE_RSI): Likewise.
6469 (REGISTER_SAVE_RDI): Likewise.
6470 (REGISTER_SAVE_R8): Likewise.
6471 (REGISTER_SAVE_R9): Likewise.
6472 (REGISTER_SAVE_BND0): Likewise.
6473 (REGISTER_SAVE_BND1): Likewise.
6474 (REGISTER_SAVE_BND2): Likewise.
6475 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6476 bound registers when calling _dl_fixup.
6477
27822ce6
AZ
64782014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6479
6480 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6481 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6482 of its definition.
27822ce6
AZ
6483 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6484 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6485 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6486 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6487 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6488 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6489 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6490
a88ddc90
PTB
64912014-04-09 Peter Brett <peter@peter-b.co.uk>
6492
6493 [BZ #15514]
6494 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6495 pathconf(_PC_NAME_MAX).
6496
01f8eac2
AZ
64972014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6498
6499 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6500 Remove macro usage.
6501 (__PTHREAD_SPINS): Move definition to ...
6502 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6503 (__PTHREAD_SPINS): ... here.
6504 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6505 (__PTHREAD_SPIN): Likewise.
6506 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6507 (__PTHREAD_SPIN): Likewise.
6508 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6509 (__PTHREAD_SPIN): Likewise.
6510 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6511 (__PTHREAD_SPIN): Likewise.
6512 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6513 (__PTHREAD_SPIN): Likewise.
6514 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6515 (__PTHREAD_SPIN): Likewise.
6516 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6517 (__PTHREAD_SPIN): Likewise.
6518 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6519 (__PTHREAD_SPIN): Likewise.
6520 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6521 (__PTHREAD_SPIN): Likewise.
6522 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6523 (__PTHREAD_SPIN): Likewise.
6524 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6525 (__PTHREAD_SPIN): Likewise.
6526 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6527 (__PTHREAD_SPIN): Likewise.
6528
de21c33c
AZ
6529 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6530 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6531 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6532 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6533 imply folder.
6534 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6535 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6536 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6537 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6538 correct imply path.
6539 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6540 strlen symbol for non multi-arch builds.
6541 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6542 missing hidden_def and weak_alias.
6543
862c472e
CD
65442014-04-08 Carlos O'Donell <carlos@redhat.com>
6545
6546 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6547
8667f90e
WN
65482014-04-07 Will Newton <will.newton@linaro.org>
6549
6550 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6551 and contents. [!_LIBC] Remove #ifndef and contents.
6552 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6553 * string/memccpy.c (__memccpy): Use ANSI prototype.
6554 * string/memfrob.c (memfrob): Likewise.
6555 * string/strcoll.c (STRCOLL): Likewise.
6556 * string/strlen.c (strlen): Likewise.
6557 * string/strtok.c (STRTOK): Likewise.
6558 * string/strcat.c: Remove unused #include of memcopy.h.
6559 (strcat): Use ANSI prototype.
6560 * string/strchr.c: Remove unused #include of memcopy.h.
6561 (strchr): Use ANSI prototype.
6562 * string/strcmp.c: Remove unused #include of memcopy.h.
6563 (strcmp): Use ANSI prototype.
6564 * string/strcpy.c: Remove unused #include of memcopy.h.
6565 (strcpy): Use ANSI prototype.
6566
7ffa9423
AZ
65672014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6568
6569 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6570 * config.make.in (config-extra-cppflags): Set it from
6571 libc_extra_cppflags.
6572 * configure.ac (libc_extra_cflags): Make it accumulate over
6573 configure fragments.
6574 (libc_extra_cppflags): New flag.
6575 * configure. Regenerate.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
6577 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6578 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6580
8bd70862
AZ
6581 [BZ #16815]
6582 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6583 result for FE_DOWNWARD rounding mode.
6584 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6585 Likewise.
6586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6587
d42f3448
CM
65882014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6589
6590 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6591 in function argument name.
6592
1c21d115
DS
65932014-04-03 David Svoboda <svoboda@cert.org>
6594
6595 [BZ #5666]
6596 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6597 explicitly.
6598
fcccd512
RM
65992014-04-03 Roland McGrath <roland@hack.frob.com>
6600
6601 * elf/dl-unmap-segments.h: New file.
6602 * sysdeps/generic/ldsodefs.h
6603 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6604 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6605 * elf/dl-fptr.c: Likewise.
6606 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6607 * sysdeps/aarch64/tlsdesc.c: Likewise.
6608 * sysdeps/arm/tlsdesc.c: Likewise.
6609 * sysdeps/i386/tlsdesc.c: Likewise.
6610 * sysdeps/tile/dl-runtime.c: Likewise.
6611 * sysdeps/x86_64/tlsdesc.c: Likewise.
6612 * elf/dl-load.h: New file.
6613 * elf/dl-load.c: Include it.
6614 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6615 Macros moved to dl-load.h.
6616 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6617 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6618 Use _dl_unmap_segments in place of __munmap.
6619 Break out segment-mapping loop into ...
6620 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6621
f6488e2b
WN
66222014-04-03 Will Newton <will.newton@linaro.org>
6623
6624 * elf/dl-lookup.c (do_lookup_x): Remove comment
6625 referring to nested function and move variable
6626 declarations down to before first use.
6627
6f05bafe
JM
66282014-04-02 Joseph Myers <joseph@codesourcery.com>
6629
a84e78c8
JM
6630 [BZ #16799]
6631 [BZ #16800]
6632 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6633 with 0 numerator.
6634 * math/s_catanf.c (__catanf): Likewise.
6635 * math/s_catanh.c (__catanh): Likewise.
6636 * math/s_catanhf.c (__catanhf): Likewise.
6637 * math/s_catanhl.c (__catanhl): Likewise.
6638 * math/s_catanl.c (__catanl): Likewise.
6639 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6640 by positive zero when computing -Inf result.
6641 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6642 (catanh_test): Likewise.
6643 * sysdeps/i386/fpu/libm-test-ulps: Update.
6644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6645
6f05bafe
JM
6646 [BZ #16789]
6647 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6648 instead of using underflowing value in computing result.
6649 * math/s_clog10.c (__clog10): Likewise.
6650 * math/s_clog10f.c (__clog10f): Likewise.
6651 * math/s_clog10l.c (__clog10l): Likewise.
6652 * math/s_clogf.c (__clogf): Likewise.
6653 * math/s_clogl.c (__clogl): Likewise.
6654 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6655 (clog10_test): Likewise.
6656 * sysdeps/i386/fpu/libm-test-ulps: Update.
6657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6658
b0abbc21
AM
66592014-04-02 Alan Modra <amodra@gmail.com>
6660
6661 [BZ #16739]
6662 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6663 output when value is near a power of two. Use int64_t for lx and
6664 remove casts. Use decimal rather than hex exponent constants.
6665 Don't use long double multiplication when double will suffice.
6666 * math/libm-test.inc (nextafter_test_data): Add tests.
6667 * NEWS: Add 16739 and 16786 to bug list.
6668
af6b1797
AM
6669 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6670
483818d7
AM
6671 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6672
f6c55796
WN
66732014-04-01 Will Newton <will.newton@linaro.org>
6674
6675 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6676 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6677
13f7fe35
FW
66782014-04-01 Florian Weimer <fweimer@redhat.com>
6679
6680 [BZ #13347]
6681 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6682 * nptl/tst-setuid2.c: New file.
6683 * nptl/Makefile (xtests): Add tst-setuid2.
6684
c859b32e
AM
66852014-04-01 Alan Modra <amodra@gmail.com>
6686
6687 [BZ #16786]
6688 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6689
54fa2475
JM
66902014-03-31 Joseph Myers <joseph@codesourcery.com>
6691
8795b4a4
JM
6692 [BZ #6803]
6693 [BZ #6804]
6694 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6695 set errno as appropriate.
6696 * math/w_scalbf.c (__scalbf): Likewise.
6697 * math/w_scalbl.c (__scalbl): Likewise.
6698 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6699 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6700 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6701 Add more NaN tests.
6702
54fa2475
JM
6703 [BZ #16349]
6704 * math/w_atan2.c: Include <errno.h>.
6705 (__atan2): Set errno for result underflowing to zero.
6706 * math/w_atan2f.c: Include <errno.h>.
6707 (__atan2f): Set errno for result underflowing to zero.
6708 * math/w_atan2l.c: Include <errno.h>.
6709 (__atan2l): Set errno for result underflowing to zero.
6710 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6711 tests.
6712 * math/auto-libm-test-out: Regenerated.
6713
757d9dd5
AZ
67142014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6715
6716 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6717 Encode instruction correctly in little endian.
6718 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6719 Likewise.
6720 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6721 Likewise.
6722 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6723 Likewise.
6724 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6725 Likewise.
6726
d7a68734
JM
67272014-03-31 Joseph Myers <joseph@codesourcery.com>
6728
47c5adeb
JM
6729 [BZ #9894]
6730 * sysdeps/unix/sysv/linux/kernel-features.h
6731 [__sparc__ && !__arch64__ && !__sparc_v9__]
6732 (__ASSUME_SET_ROBUST_LIST): Do not define.
6733 [__sparc__ && !__arch64__ && !__sparc_v9__]
6734 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6735 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6736 Likewise.
6737 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6738 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6739 (__ASSUME_REQUEUE_PI): Likewise.
6740 (__ASSUME_SET_ROBUST_LIST): Likewise.
6741 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6742 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6743 Undefine.
6744 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6745 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6746 Likewise.
6747 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6748 Likewise.
6749 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6750 Likewise.
6751 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6752 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6753 Undefine.
6754 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6755 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6756 Likewise.
6757
d7a68734
JM
6758 [BZ #16648]
6759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6760 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6761 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6762
c760f5c2
WN
67632014-03-31 Will Newton <will.newton@linaro.org>
6764
6765 * benchtests/Makefile (bench): Add ffs and ffsll to list
6766 of tests.
6767 * benchtests/ffs-inputs: New file.
6768 * benchtests/ffsll-inputs: Likewise.
6769
ea6029b1
JM
67702014-03-29 Joseph Myers <joseph@codesourcery.com>
6771
6772 [BZ #16770]
6773 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6774 too large before casting to int.
6775 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6776 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6777 * math/libm-test.inc (scalb_test_data): Add more tests.
6778
cf806aff
SP
67792014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6780
56737508
SP
6781 * benchtests/Makefile (DETAILED_OPT): New make option.
6782 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6783 set.
6784 * benchtests/bench-skeleton.c: Include stdbool.h.
6785 (main): Store and print timings per input.
6786 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6787 member to each argument value.
6788 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6789 (_print_arg_data): Initialize per-input timing to 0.
6790
cb5e4aad
SP
6791 * benchtests/Makefile (timing-type): New binary.
6792 (bench-clean): Also remove bench-timing-type.
6793 (bench): New target for timing-type.
6794 (bench-func): Print output in JSON format.
6795 * benchtests/bench-skeleton.c (main): Print output in JSON
6796 format.
6797 * benchtests/bench-timing-type.c: New file.
6798 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6799 (TIMING_PRINT_STATS): Remove.
6800 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6801 name separately.
6802
cf806aff
SP
6803 * benchtests/bench-modf.c: Remove.
6804 * benchtests/modf-inputs: New inputs file.
6805
289e0779
JM
68062014-03-28 Joseph Myers <joseph@codesourcery.com>
6807
6808 [BZ #16362]
6809 * math/s_clog10.c (M_PI_LOG10E): New macro.
6810 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6811 imaginary parts are 0.
6812 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6813 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6814 imaginary parts are 0.
6815 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6816 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6817 imaginary parts are 0.
6818 * math/libm-test.inc (clog10_test_data): Update expected results
6819 for when real and imaginary parts are 0.
6820
277ae3f1
PP
68212014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6822
6823 * elf/dl-load.c: Finish conversion of __builtin_expect into
6824 __glibc_{un}likely.
6825
03a7091f
JM
68262014-03-27 Joseph Myers <joseph@codesourcery.com>
6827
6828 [BZ #16348]
6829 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6830 1+x for argument with exponent below -67.
6831 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6832 Likewise.
6833 * math/auto-libm-test-in: Add more tests of exp.
6834 * math/auto-libm-test-out: Regenerated.
6835
ea7d8b95
SP
68362014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6837
dd3022d7
SP
6838 [BZ #16759]
6839 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6840 (nscd_getnetgrent): Use it.
6841
ea7d8b95
SP
6842 [BZ #16760]
6843 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6844 of stpcpy.
6845
df5b85da
AK
68462014-03-27 Andi Kleen <ak@linux.intel.com>
6847
57f41c40
AS
6848 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6849 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6850 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6851 (lll_robust_unlock): Remove out of line section. Use cfi
6852 intrinsics.
df5b85da 6853 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
6854 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6855 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6856 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6857 (lll_robust_unlock): Remove out of line section. Use cfi
6858 intrinsics.
df5b85da
AK
6859 (LLL_STUB_UNWIND_INFO*): Remove.
6860
fbd6b5a4
SP
68612014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6862
6863 [BZ #16758]
6864 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6865 blank values.
6866
1b26b855
PP
68672014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6868
6869 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6870
9be36fb8
JM
68712014-03-26 Joseph Myers <joseph@codesourcery.com>
6872
6873 [BZ #16198]
6874 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6875 fnstenv.
6876 * math/test-fenv-preserve.c: New file.
6877 * math/Makefile (tests): Add test-fenv-preserve.
6878
60a2f3c1
WN
68792014-03-26 Will Newton <will.newton@linaro.org>
6880
6881 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6882
a5e5f1e2
RM
68832014-03-25 Roland McGrath <roland@hack.frob.com>
6884
6885 * scripts/versionlist.awk: Partition the version sets and emit all
6886 GLIBC_* (sorted) before all others (sorted).
6887
00f4012a
JM
68882014-03-25 Joseph Myers <joseph@codesourcery.com>
6889
6890 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6891 GLIBC_2.2.5 version.
6892
7bc5a741
AZ
68932014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6894
6895 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6896 calls.
6897
7578473b
AZ
6898 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6899 previous change.
6900
f3f1dab3
AZ
6901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6902
6da36183
AS
69032014-03-25 Andreas Schwab <schwab@suse.de>
6904
6905 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6906 label to be used after in6ailist is initialized.
6907
f3f1dab3 69082014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 6909
7578473b 6910 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
6911 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6912
046651c1
JM
69132014-03-25 Joseph Myers <joseph@codesourcery.com>
6914
6915 [BZ #16357]
6916 [BZ #16599]
6917 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6918 min_plus_half.
6919 (fp_formats): Update initializers.
6920 (init_fp_formats): Initialize new field.
6921 (output_for_one_input_case): Allow underflow for results up to
6922 min_plus_half.
6923 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6924 * math/auto-libm-test-in: Don't mark some underflows from asin and
6925 atanh as spurious.
6926 * math/auto-libm-test-out: Regenerated.
6927 * sysdeps/i386/fpu/libm-test-ulps: Update.
6928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6929
003e49ed
AS
69302014-03-25 Andreas Schwab <schwab@suse.de>
6931
6932 * libio/Makefile (tst-ftell-partial-wide-ENV)
6933 (tst-ftell-active-handler-ENV): Define.
6934
de031874
SL
69352014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6936
6937 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6938
55a81e3b
PP
69392014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6940
6941 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6942
f3426898
JM
69432014-03-24 Joseph Myers <joseph@codesourcery.com>
6944
6945 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6946 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6947 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6948
a42faf59
PP
69492014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6950
6951 [BZ #16634]
a42faf59 6952 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6953 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6954 (open_path): Change from boolean 'secure' to complete flag 'mode'
6955 (_dl_map_object): Adjust.
a42faf59
PP
6956 * elf/Makefile (tests): Add tst-dlopen-aout.
6957 * elf/tst-dlopen-aout.c: New test.
6958
50936127
SL
69592014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6960
6961 [BZ #16714]
6962 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6963 (struct stat): Rename member pad0 to __glibc_reserved0.
6964
26011b5c
SL
6965 [BZ #16712]
6966 * sysdeps/s390/s390-32/bits/wordsize.h
6967 (__WORDSIZE32_SIZE_ULONG): New define.
6968 * sysdeps/s390/s390-64/bits/wordsize.h
6969 (__WORDSIZE32_SIZE_ULONG): Likewise.
6970 * sysdeps/generic/stdint.h (SIZE_MAX):
6971 Define as UL if __WORDSIZE32_SIZE_ULONG.
6972
a2d86bf1
SL
6973 [BZ #16713]
6974 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6975 (__glibc_reserved0): New variable.
6976 (sa_flags): Change type to int.
6977
78b6eebc
SL
6978 * posix/Makefile (before-compile): Use += before-compile instead
6979 of a :=.
6980
f1399b5a
SL
6981 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6982 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6983
a071766e
AS
69842014-03-20 Andreas Schwab <schwab@suse.de>
6985
6986 [BZ #16743]
6987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6988 non-matching result from nscd.
6989
27c673b8
SP
69902014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6991
6992 * scripts/bench.py: Moved to ...
6993 * benchtests/scripts/bench.py: ... here.
6994 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6995
44152e4b
AS
69962014-03-24 Andreas Schwab <schwab@suse.de>
6997
6998 [BZ #16002]
6999 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7000 alloca_account and account alloca use for struct in6ailist.
7001
b376a11a
JM
70022014-03-24 Joseph Myers <joseph@codesourcery.com>
7003
7004 [BZ #16284]
7005 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7006 rounding mode to recompute results that overflow to infinity or
7007 underflow to zero.
7008 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7009 bug 16284.
7010 * math/auto-libm-test-out: Regenerated.
7011 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7012 (ccosh_test): Likewise.
7013 (csin_test_data): Use plus_oflow.
7014 (csin_test): Use ALL_RM_TEST.
7015 (csinh_test_data): Use plus_oflow.
7016 (csinh_test): Use ALL_RM_TEST.
7017 * sysdeps/i386/fpu/libm-test-ulps: Update.
7018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7019
f7be7376
JM
70202014-03-21 Joseph Myers <joseph@codesourcery.com>
7021
1ca2d03e
JM
7022 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7023 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7024 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7025
f7be7376
JM
7026 [BZ #16731]
7027 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7028 when x - 1 is zero.
7029 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7030 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7031 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7032 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7033 argument is 1.
7034 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7035 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7036 zero.
7037 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7038 * sysdeps/i386/fpu/libm-test-ulps: Update.
7039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7040
fdf4534d
SP
70412014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7042
df26ea53
SP
7043 * scripts/bench.pl: Remove file.
7044 * scripts/bench.py: New benchmark script.
7045 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7046 * benchtests/README: Mention python dependency.
7047 * scripts/pylintrc: New file.
7048 * scripts/pylint: New file.
7049
fdf4534d
SP
7050 * bits/mathdef.h: Use #ifdef instead of #if.
7051 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7052 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7053 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7054 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7055 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7056 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7057
6f23d093
AZ
70582014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7059 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7060
7061 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7063 and strpbrk-ppc64 objects.
7064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7065 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7066 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7067 multiarch strpbrk for POWER7.
7068 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7069 multiarch strpbrk for PPC64.
7070 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7071 ifunc selector.
7072 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7073 strpbrk for POWER7.
7074
8c92dfff
JM
70752014-03-20 Joseph Myers <joseph@codesourcery.com>
7076
7077 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7078 (atan_test): Likewise.
7079 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7080 (atanh_test): Use ALL_RM_TEST.
7081 (atan2_test_data): Likewise.
7082 (cabs_test): Likewise.
7083 (cacosh_test): Likewise.
7084 (carg_test): Likewise.
7085 (casin_test): Likewise.
7086 (casinh_test): Likewise.
7087 (cbrt_test): Likewise.
7088 (csqrt_test): Likewise.
7089 (erf_test): Likewise.
7090 (erfc_test): Likewise.
7091 (pow10_test): Likewise.
7092 (exp2_test): Likewise.
7093 (hypot_test): Likewise.
7094 (j0_test): Likewise.
7095 (j1_test): Likewise.
7096 (lgamma_test): Likewise.
7097 (gamma_test): Likewise.
7098 (sincos_test): Likewise.
7099 (tanh_test): Likewise.
7100 (y0_test): Likewise.
7101 (y1_test): Likewise.
7102 * sysdeps/i386/fpu/libm-test-ulps: Update.
7103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7104
6eaf95cb
AZ
71052014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7106
a387428c
SP
7107 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
7109 and strcspn-ppc64 objects.
7110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7111 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7112 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7113 multiarch strcspn for POWER7.
7114 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7115 multiarch strcspn for PPC64.
7116 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7117 ifunc selector.
7118 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7119 strcspn for POWER7.
7120
ae3a5dff
JM
71212014-03-20 Joseph Myers <joseph@codesourcery.com>
7122
7123 * math/gen-libm-test.pl (generate_testfile): Expect only function
7124 name as argument to AUTO_TESTS_* and pass results for all rounding
7125 modes to parse_args.
7126 (parse_auto_input): Separate inputs of automatic tests from
7127 outputs before storing in %auto_tests.
7128 * math/libm-test.inc (acos_test_data): Update call to
7129 AUTO_TESTS_f_f.
7130 (acos_test): Use ALL_RM_TEST.
7131 (acos_tonearest_test_data): Remove.
7132 (acos_test_tonearest): Likewise.
7133 (acos_towardzero_test_data): Likewise.
7134 (acos_test_towardzero): Likewise.
7135 (acos_downward_test_data): Likewise.
7136 (acos_test_downward): Likewise.
7137 (acos_upward_test_data): Likewise.
7138 (acos_test_upward): Likewise.
7139 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7140 (asin_test_data): Likewise.
7141 (asin_test): Use ALL_RM_TEST.
7142 (asin_tonearest_test_data): Remove.
7143 (asin_test_tonearest): Likewise.
7144 (asin_towardzero_test_data): Likewise.
7145 (asin_test_towardzero): Likewise.
7146 (asin_downward_test_data): Likewise.
7147 (asin_test_downward): Likewise.
7148 (asin_upward_test_data): Likewise.
7149 (asin_test_upward): Likewise.
7150 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7151 (atan_test_data): Likewise.
7152 (atanh_test_data): Likewise.
7153 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7154 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7155 (carg_test_data): Likewise.
7156 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7157 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7158 (ccosh_test_data): Likewise.
7159 (cexp_test_data): Likewise.
7160 (clog_test_data): Likewise.
7161 (clog10_test_data): Likewise.
7162 (cos_test_data): Update call to AUTO_TESTS_f_f.
7163 (cos_test): Use ALL_RM_TEST.
7164 (cos_tonearest_test_data): Remove.
7165 (cos_test_tonearest): Likewise.
7166 (cos_towardzero_test_data): Likewise.
7167 (cos_test_towardzero): Likewise.
7168 (cos_downward_test_data): Likewise.
7169 (cos_test_downward): Likewise.
7170 (cos_upward_test_data): Likewise.
7171 (cos_test_upward): Likewise.
7172 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7173 (cosh_test): Use ALL_RM_TEST.
7174 (cosh_tonearest_test_data): Remove.
7175 (cosh_test_tonearest): Likewise.
7176 (cosh_towardzero_test_data): Likewise.
7177 (cosh_test_towardzero): Likewise.
7178 (cosh_downward_test_data): Likewise.
7179 (cosh_test_downward): Likewise.
7180 (cosh_upward_test_data): Likewise.
7181 (cosh_test_upward): Likewise.
7182 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7183 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7184 (ctan_test_data): Likewise.
7185 (ctan_test): Use ALL_RM_TEST.
7186 (ctan_tonearest_test_data): Remove.
7187 (ctan_test_tonearest): Likewise.
7188 (ctan_towardzero_test_data): Likewise.
7189 (ctan_test_towardzero): Likewise.
7190 (ctan_downward_test_data): Likewise.
7191 (ctan_test_downward): Likewise.
7192 (ctan_upward_test_data): Likewise.
7193 (ctan_test_upward): Likewise.
7194 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7195 (ctanh_test): Use ALL_RM_TEST.
7196 (ctanh_tonearest_test_data): Remove.
7197 (ctanh_test_tonearest): Likewise.
7198 (ctanh_towardzero_test_data): Likewise.
7199 (ctanh_test_towardzero): Likewise.
7200 (ctanh_downward_test_data): Likewise.
7201 (ctanh_test_downward): Likewise.
7202 (ctanh_upward_test_data): Likewise.
7203 (ctanh_test_upward): Likewise.
7204 (erf_test_data): Update call to AUTO_TESTS_f_f.
7205 (erfc_test_data): Likewise.
7206 (exp_test_data): Likewise.
7207 (exp_test): Use ALL_RM_TEST.
7208 (exp_tonearest_test_data): Remove.
7209 (exp_test_tonearest): Likewise.
7210 (exp_towardzero_test_data): Likewise.
7211 (exp_test_towardzero): Likewise.
7212 (exp_downward_test_data): Likewise.
7213 (exp_test_downward): Likewise.
7214 (exp_upward_test_data): Likewise.
7215 (exp_test_upward): Likewise.
7216 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7217 (exp10_test): Use ALL_RM_TEST.
7218 (exp10_tonearest_test_data): Remove.
7219 (exp10_test_tonearest): Likewise.
7220 (exp10_towardzero_test_data): Likewise.
7221 (exp10_test_towardzero): Likewise.
7222 (exp10_downward_test_data): Likewise.
7223 (exp10_test_downward): Likewise.
7224 (exp10_upward_test_data): Likewise.
7225 (exp10_test_upward): Likewise.
7226 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7227 (expm1_test_data): Likewise.
7228 (expm1_test): Use ALL_RM_TEST.
7229 (expm1_tonearest_test_data): Remove.
7230 (expm1_test_tonearest): Likewise.
7231 (expm1_towardzero_test_data): Likewise.
7232 (expm1_test_towardzero): Likewise.
7233 (expm1_downward_test_data): Likewise.
7234 (expm1_test_downward): Likewise.
7235 (expm1_upward_test_data): Likewise.
7236 (expm1_test_upward): Likewise.
7237 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7238 (fma_test): Use ALL_RM_TEST.
7239 (fma_towardzero_test_data): Remove.
7240 (fma_test_towardzero): Likewise.
7241 (fma_downward_test_data): Likewise.
7242 (fma_test_downward): Likewise.
7243 (fma_upward_test_data): Likewise.
7244 (fma_test_upward): Likewise.
7245 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7246 (j0_test_data): Update call to AUTO_TESTS_f_f.
7247 (j1_test_data): Likewise.
7248 (jn_test_data): Update call to AUTO_TESTS_if_f.
7249 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7250 (log_test_data): Update call to AUTO_TESTS_f_f.
7251 (log10_test_data): Likewise.
7252 (log1p_test_data): Likewise.
7253 (log2_test_data): Likewise.
7254 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7255 (pow_tonearest_test_data): Likewise.
7256 (sin_test_data): Update call to AUTO_TESTS_f_f.
7257 (sin_test): Use ALL_RM_TEST.
7258 (sin_tonearest_test_data): Remove.
7259 (sin_test_tonearest): Likewise.
7260 (sin_towardzero_test_data): Likewise.
7261 (sin_test_towardzero): Likewise.
7262 (sin_downward_test_data): Likewise.
7263 (sin_test_downward): Likewise.
7264 (sin_upward_test_data): Likewise.
7265 (sin_test_upward): Likewise.
7266 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7267 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7268 (sinh_test): Use ALL_RM_TEST.
7269 (sinh_tonearest_test_data): Remove.
7270 (sinh_test_tonearest): Likewise.
7271 (sinh_towardzero_test_data): Likewise.
7272 (sinh_test_towardzero): Likewise.
7273 (sinh_downward_test_data): Likewise.
7274 (sinh_test_downward): Likewise.
7275 (sinh_upward_test_data): Likewise.
7276 (sinh_test_upward): Likewise.
7277 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7278 (sqrt_test): Use ALL_RM_TEST.
7279 (sqrt_tonearest_test_data): Remove.
7280 (sqrt_test_tonearest): Likewise.
7281 (sqrt_towardzero_test_data): Likewise.
7282 (sqrt_test_towardzero): Likewise.
7283 (sqrt_downward_test_data): Likewise.
7284 (sqrt_test_downward): Likewise.
7285 (sqrt_upward_test_data): Likewise.
7286 (sqrt_test_upward): Likewise.
7287 (tan_test_data): Update call to AUTO_TESTS_f_f.
7288 (tan_test): Use ALL_RM_TEST.
7289 (tan_tonearest_test_data): Remove.
7290 (tan_test_tonearest): Likewise.
7291 (tan_towardzero_test_data): Likewise.
7292 (tan_test_towardzero): Likewise.
7293 (tan_downward_test_data): Likewise.
7294 (tan_test_downward): Likewise.
7295 (tan_upward_test_data): Likewise.
7296 (tan_test_upward): Likewise.
7297 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7298 (tgamma_test_data): Likewise.
7299 (y0_test_data): Likewise.
7300 (y1_test_data): Likewise.
7301 (yn_test_data): Update call to AUTO_TESTS_if_f.
7302 (main): Do not call removed functions.
7303
d71aeee8
JM
73042014-03-19 Joseph Myers <joseph@codesourcery.com>
7305
7306 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7307 (ldexp_test_data): Remove.
7308 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7309 scalbn_test_data.
7310 (scalb_test): Use ALL_RM_TEST.
7311
baaf1ded
AS
73122014-03-19 Andreas Schwab <schwab@suse.de>
7313
7314 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7315
b1115e91
JM
73162014-03-19 Joseph Myers <joseph@codesourcery.com>
7317
7318 [BZ #16649]
7319 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7320 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7321 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7322 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7323 (__ASSUME_PREADV): Undefine.
7324 (__ASSUME_PWRITEV): Likewise.
7325
0283ecca
RM
73262014-03-18 Roland McGrath <roland@hack.frob.com>
7327
7d375303
RM
7328 * bits/mman-linux.h: Add comment about non-Linux use.
7329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7330 bits/mman-linux.h resting place.
7331
0283ecca
RM
7332 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7333 * bits/mman-linux.h: ... here.
7334
aebe1003
AZ
73352014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7336
7337 * conform/conformtest.pl: Add standard definition when calling C
7338 preprocessor on data files.
7339 (checknamespace): Remove unused variable.
7340
b29b6bb8
JM
73412014-03-18 Joseph Myers <joseph@codesourcery.com>
7342
7343 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7344 minus_oflow, plus_uflow and minus_uflow in expected results.
7345 * math/libm-test.inc (scalbn_test_data): Add more tests of
7346 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7347 minus_uflow.
7348 (scalbn_test): Use ALL_RM_TEST.
7349 (scalbln_test_data): Add more tests of negative arguments. Use
7350 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7351 (scalbln_test): Use ALL_RM_TEST.
7352
c8f8fa15
RM
73532014-03-18 Roland McGrath <roland@hack.frob.com>
7354
7355 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7356
fede7a5f
WN
73572014-03-18 Will Newton <will.newton@linaro.org>
7358
7359 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7360 inaccurate comment.
7361
80cf0a58
JM
73622014-03-18 Joseph Myers <joseph@codesourcery.com>
7363
7364 * Makerules [!subdir] (check-abi): Exit with error status if a
7365 test failed.
7366
b3620862
JM
73672014-03-17 Joseph Myers <joseph@codesourcery.com>
7368
7369 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7370 for rint. Include results for all rounding modes.
7371 (nearbyint_test): Use ALL_RM_TEST.
7372 (rint_test_data): Include all tests used for nearbyint.
7373
788bba36
WN
73742014-03-17 Will Newton <will.newton@linaro.org>
7375
04ec140a
WN
7376 * nptl/sysdeps/pthread/pthread.h: Revert previous
7377 change.
7378
7579d8d5
WN
7379 * sysdeps/generic/ldsodefs.h: Revert previous
7380 change.
7381
c15cf13a
WN
7382 * libio/genops.c: Revert previous change.
7383 * libio/libioP.h: Likewise.
7384 * stdio-common/vfprintf.c: Likewise.
7385
d0ac1324
WN
7386 * sysdeps/generic/math_private.h: Revert previous
7387 change.
7388
9290130a
WN
7389 * sysdeps/generic/math_private.h: Check whether
7390 HAVE_RM_CTX is defined with #ifdef rather
7391 than #if.
7392
afb466fc
WN
7393 * argp/argp-fmtstream.h: Check whether
7394 __STRICT_ANSI__ is defined with #ifdef rather
7395 than #if.
7396 * argp/argp.h: Likewise.
7397
f7efd7c3
WN
7398 * libio/genops.c: Check whether
7399 _IO_JUMPS_OFFSET is defined with #ifdef rather
7400 than #if.
7401 * libio/libioP.h: Likewise.
7402 * stdio-common/vfprintf.c: Likewise.
7403
53f1bed3
WN
7404 * sysdeps/generic/ldsodefs.h: Check whether
7405 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7406 than #if.
7407
788bba36
WN
7408 * nptl/sysdeps/pthread/pthread.h: Check
7409 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7410 its value.
7411
fcd89ebe
SP
74122014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7413
ae42bbc5
SP
7414 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7415 setting O_APPEND.
7416 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7417 test case.
7418
ea33158c
SP
7419 [BZ #16680]
7420 * libio/fileops.c (_IO_file_open): Seek to end of file but
7421 don't cache the offset.
7422 (get_file_offset): Remove function.
7423 (do_ftell): Use cached offset when available.
7424 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7425 don't cache the offset.
7426 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7427 case.
7428 (do_one_test): Call it.
7429 (do_ftell_test): Fix up expected old offset for a+ mode.
7430 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7431 available.
7432
b1dbb426
SP
7433 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7434 up test status with function return status.
7435 (do_write_test): Likewise.
7436 (do_append_test): Likewise.
7437
fcd89ebe
SP
7438 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7439 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7440 Remove.
7441
9962a2d3
JM
74422014-03-17 Joseph Myers <joseph@codesourcery.com>
7443
7444 * math/gen-libm-test.pl (parse_args): Handle results specified for
7445 each rounding mode separately.
7446 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7447 tests and results from lrint_tonearest_test_data,
7448 lrint_towardzero_test_data, lrint_downward_test_data and
7449 lrint_upward_test_data.
7450 (lrint_test): Use ALL_RM_TEST.
7451 (lrint_tonearest_test_data): Remove.
7452 (lrint_test_tonearest): Likewise.
7453 (lrint_towardzero_test_data): Likewise.
7454 (lrint_test_towardzero): Likewise.
7455 (lrint_downward_test_data): Likewise.
7456 (lrint_test_downward): Likewise.
7457 (lrint_upward_test_data): Likewise.
7458 (lrint_test_upward): Likewise.
7459 (llrint_test_data): Merge in per-rounding-mode tests and results
7460 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7461 llrint_downward_test_data and llrint_upward_test_data.
7462 (llrint_test): Use ALL_RM_TEST.
7463 (llrint_tonearest_test_data): Remove.
7464 (llrint_test_tonearest): Likewise.
7465 (llrint_towardzero_test_data): Likewise.
7466 (llrint_test_towardzero): Likewise.
7467 (llrint_downward_test_data): Likewise.
7468 (llrint_test_downward): Likewise.
7469 (llrint_upward_test_data): Likewise.
7470 (llrint_test_upward): Likewise.
7471 (rint_test_data): Merge in per-rounding-mode tests and results
7472 from rint_tonearest_test_data, rint_towardzero_test_data,
7473 rint_downward_test_data and rint_upward_test_data. Add
7474 per-rounding-mode results for tests not in those arrays.
7475 (rint_test): Use ALL_RM_TEST.
7476 (rint_tonearest_test_data): Remove.
7477 (rint_test_tonearest): Likewise.
7478 (rint_towardzero_test_data): Likewise.
7479 (rint_test_towardzero): Likewise.
7480 (rint_downward_test_data): Likewise.
7481 (rint_test_downward): Likewise.
7482 (rint_upward_test_data): Likewise.
7483 (rint_test_upward): Likewise.
7484 (main): Don't call removed functions.
7485
5006148e
RM
74862014-03-14 Roland McGrath <roland@hack.frob.com>
7487
7488 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7489 "Compiled on ..." crapola. It is anti-useful.
7490
d6fe5e58
JM
74912014-03-14 Joseph Myers <joseph@codesourcery.com>
7492
7493 * scripts/evaluate-test.sh: Handle fourth argument to determine
7494 whether test run should stop on failure.
7495 * Makeconfig (stop-on-test-failure): New variable.
7496 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7497 $(stop-on-test-failure).
7498 * Makefile (tests): Give a summary of results from testing and
7499 exit with failure status if they include an ERROR or FAIL.
7500 (xtests): Likewise.
7501 * manual/install.texi (Configuring and compiling): Mention
7502 stop-on-test-failure=y.
7503 * INSTALL: Regenerated.
7504
498a2233
RM
75052014-03-14 Roland McGrath <roland@hack.frob.com>
7506
22dbc19d
RM
7507 * scripts/versionlist.awk: New file.
7508 * Makerules [$(build-shared) = yes]
7509 (postclean-generated): Add Versions.def, not Versions.def.v and
7510 Versions.def.v.i.
7511 ($(common-objpfx)Versions.def.v.i): Target removed.
7512 ($(common-objpfx)Versions.def): New target.
7513 ($(common-objpfx)Versions.all): Depend on that rather that
7514 $(common-objpfx)Versions.def.v.
7515 * Versions.def: File removed.
7516
498a2233
RM
7517 * Makeconfig (+gccwarn): Add -Wundef.
7518 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7519 a dl-sysdep.h breaking its contract.
7520 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7521 * include/stackinfo.h: New file.
7522 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7523 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7524 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7525 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7526 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7527 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7528 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7529 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7530 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7531 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7532 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7533 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7534 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7535 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7536 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7537
c7de5025
AZ
75382014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7539
7540 [BZ #16707]
7541 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7542 implementation.
7543 * math/libm-test.inc (round_test_data): Add more tests.
7544
98fb27a3
AZ
7545 [BZ #16706]
7546 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7547 implementation.
7548 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7549
374f7f61
AZ
7550 [BZ #16701]
7551 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7552 implementation.
7553 * math/libm-test.inc (ceil_test_data): Add more tests.
7554
4655c291
AZ
7555 * math/libm-test.inc (trunc_test_data): Add more tests related to
7556 BZ#16414.
7557
d7329d4b
RM
75582014-03-14 Roland McGrath <roland@hack.frob.com>
7559
7560 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7561 with #if rather than #ifdef.
7562 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7563
aa4de9ce
L
75642014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7565
7566 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7567 first. Disable AVX-512 GCC support if assembler doesn't support
7568 it.
7569 * sysdeps/x86_64/configure: Regenerated.
7570
2e03fae7
CD
75712014-03-13 Carlos O'Donell <carlos@redhat.com>
7572
7573 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7574 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7575 (__old_pthread_attr_setstack): Likewise.
7576 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7577 [!_STACK_GROWS_DOWN]: Likewise.
7578
43ca83ec
MF
75792014-03-13 Mike Frysinger <vapier@gentoo.org>
7580
7581 * config.make.in (have-bash2): Delete.
7582 * configure.ac (libc_cv_have_bash2): Delete.
7583 * configure: Regenerate.
7584 * elf/Makefile (common-ldd-rewrite): Rename to ...
7585 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7586 (sh-ldd-rewrite): Delete.
7587 (bash-ldd-rewrite): Delete.
7588 (have-bash2): Delete checks.
57f41c40
AS
7589 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7590 ldd-rewrite.
c66e48b4
MF
7591
7592 * config.make.in (have-ksh): Delete.
7593 (KSH): Delete.
7594 * configure.ac (libc_cv_have_ksh): Delete.
7595 * configure: Regenerate.
7596
b93834ef
MF
7597 * elf/Makefile: Delete $(have-ksh) check.
7598 ($(objpfx)sotruss): Change KSH to BASH.
7599 * elf/sotruss.ksh: Rename to ...
7600 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7601 function style to match POSIX. Drop ksh vim mode setting.
7602
f3a4632a
MF
7603 * manual/time.texi (Specifying the Time Zone with TZ): Change
7604 Tuesday to Thursday.
7605
5896c8bd
MF
7606 * debug/tst-longjmp_chk2.c: Update header comment.
7607 (stackoverflow_handler): Add comment. Call assert on pass value.
7608
2d63a517
IZ
76092014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7610
7611 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7612 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7613 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7614 (La_x86_64_vector): Add zmm.
7615 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7616 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7617 ($(objpfx)tst-audit10): New target.
7618 ($(objpfx)tst-audit10.out): Likewise.
7619 (tst-audit10-ENV): New.
7620 (AVX512-CFLAGS): Likewise.
7621 (CFLAGS-tst-audit10.c): Likewise.
7622 (CFLAGS-tst-auditmod10a.c): Likewise.
7623 (CFLAGS-tst-auditmod10b.c): Likewise.
7624 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7625 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7626 * sysdeps/x86_64/configure: Regenerated.
7627 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7628 AVX-512 zmm register support.
7629 (_dl_x86_64_save_sse): Likewise.
7630 (_dl_x86_64_restore_sse): Likewise.
7631 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7632 size vector registers.
7633 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7634 (ZMM_SIZE): Likewise.
7635 * sysdeps/x86_64/tst-audit10.c: New file.
7636 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7637 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7638
44c4e5d5
RM
76392014-03-13 Roland McGrath <roland@hack.frob.com>
7640
7641 * configure.ac (HAVE_EHDR_START): New check.
7642 * configure: Regenerated.
7643 * config.h.in (HAVE_EHDR_START): New #undef.
7644 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7645 assuming the lowest-addressed segment maps the start of the file.
7646
acd6e389
JM
76472014-03-13 Joseph Myers <joseph@codesourcery.com>
7648
7649 * INSTALL: Regenerated.
7650
6f918f36
WN
76512014-03-13 Will Newton <will.newton@linaro.org>
7652
7653 * manual/setjmp.texi (System V contexts): Improve
7654 clarity and grammar of documentation.
7655
798212a0
PP
76562014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7657
7658 [BZ #16381]
798212a0 7659 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 7660 (tests-pie): Add tst-pie2.
798212a0
PP
7661 * elf/tst-pie2.c: New file.
7662 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7663 for ET_EXEC.
7664 * elf/rtld.c (map_doit): Load executable as lt_executable.
7665 (dl_main): Likewise.
7666
abe6d90c
JM
76672014-03-12 Joseph Myers <joseph@codesourcery.com>
7668
7669 [BZ #16642]
7670 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7671 (__ASSUME_PSELECT): Undefine.
7672
dd3946c6
AZ
76732014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7674
7675 [BZ #16689]
7676 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7677 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7678 static build.
7679 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7680 selector for static builds.
7681
c44496df
SP
76822014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7683
7684 [BZ #16695]
7685 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7686 key in the buffer.
7687
27c7220a
AZ
76882014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7689
57f41c40
AS
7690 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7691 IFUNC selector for static builds.
27c7220a 7692
600fa361
JM
76932014-03-11 Joseph Myers <joseph@codesourcery.com>
7694
76c96cf7
JM
7695 * sysdeps/mips/math_private.h [__mips_hard_float]
7696 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7697 libc_feresetround_mips_ctx.
7698 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7699 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7700 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7701
600fa361
JM
7702 [BZ #16677]
7703 * math/s_nextafter.c (__nextafter): Do not return value from
7704 overflowing computation.
7705 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7706 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7707 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7708 Likewise.
7709 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7710 Likewise.
7711 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7712 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7713
d7706c32
RM
77142014-03-11 Roland McGrath <roland@hack.frob.com>
7715
7716 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7717 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7718 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7719 the new mov targetting sp.
7720
4facea47
AZ
77212014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7722
7723 [BZ #16683]
7724 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7725 Define it for static builds as well.
7726 (NO_BZERO_IMPL): Likewise.
7727
e65caf1f
VR
77282014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7729
7730 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7731 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7732 multiarch strspn for PPC64.
7733 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7734 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7736 (__libc_ifunc_impl_list): Likewise.
7737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7738 multiarch optimizations
7739 * string/strspn.c (strspn): Using macro to redefine symbol name.
7740
ba9cc071
AZ
77412014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7742 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7743
7744 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7745 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7746 multiarch strncat for PPC64.
7747 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7748 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7750 (__libc_ifunc_impl_list): Likewise.
7751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7752 multiarch optimizations
7753
8b4ff974
SP
77542014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7755
7756 [BZ #16639]
7757 * nscd/nscd.service: Make service type forking.
7758
54b46a4b
AZ
77592014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7760
7761 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7762 sign in non default rounding modes.
7763 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7764
e9996ef7
JM
77652014-03-08 Joseph Myers <joseph@codesourcery.com>
7766
7767 * math/libm-test.inc (ALL_RM_TEST): New macro.
7768 (ceil_test): Use ALL_RM_TEST.
7769 (cimag_test): Likewise.
7770 (conj_test): Likewise.
7771 (copysign_test): Likewise.
7772 (cproj_test): Likewise.
7773 (creal_test): Likewise.
7774 (fabs_test): Likewise.
7775 (floor_test): Likewise.
7776 (fmax_test): Likewise.
7777 (fmin_test): Likewise.
7778 (fmod_test): Likewise.
7779 (fpclassify_test): Likewise.
7780 (frexp_test): Likewise.
7781 (ilogb_test): Likewise.
7782 (isfinite_test): Likewise.
7783 (finite_test): Likewise.
7784 (isgreater_test): Likewise.
7785 (isgreaterequal_test): Likewise.
7786 (isinf_test): Likewise.
7787 (isless_test): Likewise.
7788 (islessequal_test): Likewise.
7789 (islessgreater_test): Likewise.
7790 (isnan_test): Likewise.
7791 (isnormal_test): Likewise.
7792 (issignaling_test): Likewise.
7793 (isunordered_test): Likewise.
7794 (logb_test): Likewise.
7795 (logb_downward_test_data): Remove.
7796 (logb_test_downward): Likewise.
7797 (lround_test): Use ALL_RM_TEST.
7798 (llround_test): Likewise.
7799 (modf_test): Likewise.
7800 (nexttoward_test): Likewise.
7801 (remainder_test): Likewise.
7802 (drem_test): Likewise.
7803 (remainder_tonearest_test_data): Likewise.
7804 (remainder_test_tonearest): Likewise.
7805 (drem_test_tonearest): Likewise.
7806 (remainder_towardzero_test_data): Likewise.
7807 (remainder_test_towardzero): Likewise.
7808 (drem_test_towardzero): Likewise.
7809 (remainder_downward_test_data): Likewise.
7810 (remainder_test_downward): Likewise.
7811 (drem_test_downward): Likewise.
7812 (remainder_upward_test_data): Likewise.
7813 (remainder_test_upward): Likewise.
7814 (drem_test_upward): Likewise.
7815 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7816 (round_test): Use ALL_RM_TEST.
7817 (signbit_test): Likewise.
7818 (trunc_test): Likewise.
7819 (significand_test): Likewise.
7820 (main): Don't call removed functions.
7821
bc61d27c
JM
78222014-03-07 Joseph Myers <joseph@codesourcery.com>
7823
5c780849
JM
7824 [BZ #16674]
7825 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7826 || __USE_XOPEN2K8].
7827 (ILL_ILLOPN): Likewise.
7828 (ILL_ILLADR): Likewise.
7829 (ILL_ILLTRP): Likewise.
7830 (ILL_PRVOPC): Likewise.
7831 (ILL_PRVREG): Likewise.
7832 (ILL_COPROC): Likewise.
7833 (ILL_BADSTK): Likewise.
7834 (FPE_INTDIV): Likewise.
7835 (FPE_INTOVF): Likewise.
7836 (FPE_FLTDIV): Likewise.
7837 (FPE_FLTOVF): Likewise.
7838 (FPE_FLTUND): Likewise.
7839 (FPE_FLTRES): Likewise.
7840 (FPE_FLTINV): Likewise.
7841 (FPE_FLTSUB): Likewise.
7842 (SEGV_MAPERR): Likewise.
7843 (SEGV_ACCERR): Likewise.
7844 (BUS_ADRALN): Likewise.
7845 (BUS_ADRERR): Likewise.
7846 (BUS_OBJERR): Likewise.
7847 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7848 (TRAP_TRACE): Likewise.
7849 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7850 __USE_XOPEN2K8].
7851 (CLD_KILLED): Likewise.
7852 (CLD_DUMPED): Likewise.
7853 (CLD_TRAPPED): Likewise.
7854 (CLD_STOPPED): Likewise.
7855 (CLD_CONTINUED): Likewise.
7856 (POLL_IN): Likewise.
7857 (POLL_OUT): Likewise.
7858 (POLL_MSG): Likewise.
7859 (POLL_ERR): Likewise.
7860 (POLL_PRI): Likewise.
7861 (POLL_HUP): Likewise.
7862 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7863 Likewise.
7864 (ILL_ILLOPN): Likewise.
7865 (ILL_ILLADR): Likewise.
7866 (ILL_ILLTRP): Likewise.
7867 (ILL_PRVOPC): Likewise.
7868 (ILL_PRVREG): Likewise.
7869 (ILL_COPROC): Likewise.
7870 (ILL_BADSTK): Likewise.
7871 (FPE_INTDIV): Likewise.
7872 (FPE_INTOVF): Likewise.
7873 (FPE_FLTDIV): Likewise.
7874 (FPE_FLTOVF): Likewise.
7875 (FPE_FLTUND): Likewise.
7876 (FPE_FLTRES): Likewise.
7877 (FPE_FLTINV): Likewise.
7878 (FPE_FLTSUB): Likewise.
7879 (SEGV_MAPERR): Likewise.
7880 (SEGV_ACCERR): Likewise.
7881 (BUS_ADRALN): Likewise.
7882 (BUS_ADRERR): Likewise.
7883 (BUS_OBJERR): Likewise.
7884 (BUS_MCEERR_AR): Likewise.
7885 (BUS_MCEERR_AO): Likewise.
7886 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7887 (TRAP_TRACE): Likewise.
7888 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7889 __USE_XOPEN2K8].
7890 (CLD_KILLED): Likewise.
7891 (CLD_DUMPED): Likewise.
7892 (CLD_TRAPPED): Likewise.
7893 (CLD_STOPPED): Likewise.
7894 (CLD_CONTINUED): Likewise.
7895 (POLL_IN): Likewise.
7896 (POLL_OUT): Likewise.
7897 (POLL_MSG): Likewise.
7898 (POLL_ERR): Likewise.
7899 (POLL_PRI): Likewise.
7900 (POLL_HUP): Likewise.
7901 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7902 (ILL_ILLOPN): Likewise.
7903 (ILL_ILLADR): Likewise.
7904 (ILL_ILLTRP): Likewise.
7905 (ILL_PRVOPC): Likewise.
7906 (ILL_PRVREG): Likewise.
7907 (ILL_COPROC): Likewise.
7908 (ILL_BADSTK): Likewise.
7909 (FPE_INTDIV): Likewise.
7910 (FPE_INTOVF): Likewise.
7911 (FPE_FLTDIV): Likewise.
7912 (FPE_FLTOVF): Likewise.
7913 (FPE_FLTUND): Likewise.
7914 (FPE_FLTRES): Likewise.
7915 (FPE_FLTINV): Likewise.
7916 (FPE_FLTSUB): Likewise.
7917 (SEGV_MAPERR): Likewise.
7918 (SEGV_ACCERR): Likewise.
7919 (BUS_ADRALN): Likewise.
7920 (BUS_ADRERR): Likewise.
7921 (BUS_OBJERR): Likewise.
7922 (BUS_MCEERR_AR): Likewise.
7923 (BUS_MCEERR_AO): Likewise.
7924 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7925 (TRAP_TRACE): Likewise.
7926 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7927 __USE_XOPEN2K8].
7928 (CLD_KILLED): Likewise.
7929 (CLD_DUMPED): Likewise.
7930 (CLD_TRAPPED): Likewise.
7931 (CLD_STOPPED): Likewise.
7932 (CLD_CONTINUED): Likewise.
7933 (POLL_IN): Likewise.
7934 (POLL_OUT): Likewise.
7935 (POLL_MSG): Likewise.
7936 (POLL_ERR): Likewise.
7937 (POLL_PRI): Likewise.
7938 (POLL_HUP): Likewise.
7939 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7940 Likewise.
7941 (ILL_ILLOPN): Likewise.
7942 (ILL_ILLADR): Likewise.
7943 (ILL_ILLTRP): Likewise.
7944 (ILL_PRVOPC): Likewise.
7945 (ILL_PRVREG): Likewise.
7946 (ILL_COPROC): Likewise.
7947 (ILL_BADSTK): Likewise.
7948 (ILL_BADIADDR): Likewise.
7949 (ILL_BREAK): Likewise.
7950 (FPE_INTDIV): Likewise.
7951 (FPE_INTOVF): Likewise.
7952 (FPE_FLTDIV): Likewise.
7953 (FPE_FLTOVF): Likewise.
7954 (FPE_FLTUND): Likewise.
7955 (FPE_FLTRES): Likewise.
7956 (FPE_FLTINV): Likewise.
7957 (FPE_FLTSUB): Likewise.
7958 (FPE_DECOVF): Likewise.
7959 (FPE_DECDIV): Likewise.
7960 (FPE_DECERR): Likewise.
7961 (FPE_INVASC): Likewise.
7962 (FPE_INVDEC): Likewise.
7963 (SEGV_MAPERR): Likewise.
7964 (SEGV_ACCERR): Likewise.
7965 (SEGV_PSTKOVF): Likewise.
7966 (BUS_ADRALN): Likewise.
7967 (BUS_ADRERR): Likewise.
7968 (BUS_OBJERR): Likewise.
7969 (BUS_MCEERR_AR): Likewise.
7970 (BUS_MCEERR_AO): Likewise.
7971 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7972 (TRAP_TRACE): Likewise.
7973 (TRAP_BRANCH): Likewise.
7974 (TRAP_HWBKPT): Likewise.
7975 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7976 __USE_XOPEN2K8].
7977 (CLD_KILLED): Likewise.
7978 (CLD_DUMPED): Likewise.
7979 (CLD_TRAPPED): Likewise.
7980 (CLD_STOPPED): Likewise.
7981 (CLD_CONTINUED): Likewise.
7982 (POLL_IN): Likewise.
7983 (POLL_OUT): Likewise.
7984 (POLL_MSG): Likewise.
7985 (POLL_ERR): Likewise.
7986 (POLL_PRI): Likewise.
7987 (POLL_HUP): Likewise.
7988 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7989 (ILL_ILLOPN): Likewise.
7990 (ILL_ILLADR): Likewise.
7991 (ILL_ILLTRP): Likewise.
7992 (ILL_PRVOPC): Likewise.
7993 (ILL_PRVREG): Likewise.
7994 (ILL_COPROC): Likewise.
7995 (ILL_BADSTK): Likewise.
7996 (FPE_INTDIV): Likewise.
7997 (FPE_INTOVF): Likewise.
7998 (FPE_FLTDIV): Likewise.
7999 (FPE_FLTOVF): Likewise.
8000 (FPE_FLTUND): Likewise.
8001 (FPE_FLTRES): Likewise.
8002 (FPE_FLTINV): Likewise.
8003 (FPE_FLTSUB): Likewise.
8004 (SEGV_MAPERR): Likewise.
8005 (SEGV_ACCERR): Likewise.
8006 (BUS_ADRALN): Likewise.
8007 (BUS_ADRERR): Likewise.
8008 (BUS_OBJERR): Likewise.
8009 (BUS_MCEERR_AR): Likewise.
8010 (BUS_MCEERR_AO): Likewise.
8011 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8012 (TRAP_TRACE): Likewise.
8013 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8014 __USE_XOPEN2K8].
8015 (CLD_KILLED): Likewise.
8016 (CLD_DUMPED): Likewise.
8017 (CLD_TRAPPED): Likewise.
8018 (CLD_STOPPED): Likewise.
8019 (CLD_CONTINUED): Likewise.
8020 (POLL_IN): Likewise.
8021 (POLL_OUT): Likewise.
8022 (POLL_MSG): Likewise.
8023 (POLL_ERR): Likewise.
8024 (POLL_PRI): Likewise.
8025 (POLL_HUP): Likewise.
8026 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8027 (ILL_ILLOPN): Likewise.
8028 (ILL_ILLADR): Likewise.
8029 (ILL_ILLTRP): Likewise.
8030 (ILL_PRVOPC): Likewise.
8031 (ILL_PRVREG): Likewise.
8032 (ILL_COPROC): Likewise.
8033 (ILL_BADSTK): Likewise.
8034 (FPE_INTDIV): Likewise.
8035 (FPE_INTOVF): Likewise.
8036 (FPE_FLTDIV): Likewise.
8037 (FPE_FLTOVF): Likewise.
8038 (FPE_FLTUND): Likewise.
8039 (FPE_FLTRES): Likewise.
8040 (FPE_FLTINV): Likewise.
8041 (FPE_FLTSUB): Likewise.
8042 (SEGV_MAPERR): Likewise.
8043 (SEGV_ACCERR): Likewise.
8044 (BUS_ADRALN): Likewise.
8045 (BUS_ADRERR): Likewise.
8046 (BUS_OBJERR): Likewise.
8047 (BUS_MCEERR_AR): Likewise.
8048 (BUS_MCEERR_AO): Likewise.
8049 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8050 (TRAP_TRACE): Likewise.
8051 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8052 __USE_XOPEN2K8].
8053 (CLD_KILLED): Likewise.
8054 (CLD_DUMPED): Likewise.
8055 (CLD_TRAPPED): Likewise.
8056 (CLD_STOPPED): Likewise.
8057 (CLD_CONTINUED): Likewise.
8058 (POLL_IN): Likewise.
8059 (POLL_OUT): Likewise.
8060 (POLL_MSG): Likewise.
8061 (POLL_ERR): Likewise.
8062 (POLL_PRI): Likewise.
8063 (POLL_HUP): Likewise.
8064 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8065 (ILL_ILLOPN): Likewise.
8066 (ILL_ILLADR): Likewise.
8067 (ILL_ILLTRP): Likewise.
8068 (ILL_PRVOPC): Likewise.
8069 (ILL_PRVREG): Likewise.
8070 (ILL_COPROC): Likewise.
8071 (ILL_BADSTK): Likewise.
8072 (FPE_INTDIV): Likewise.
8073 (FPE_INTOVF): Likewise.
8074 (FPE_FLTDIV): Likewise.
8075 (FPE_FLTOVF): Likewise.
8076 (FPE_FLTUND): Likewise.
8077 (FPE_FLTRES): Likewise.
8078 (FPE_FLTINV): Likewise.
8079 (FPE_FLTSUB): Likewise.
8080 (SEGV_MAPERR): Likewise.
8081 (SEGV_ACCERR): Likewise.
8082 (BUS_ADRALN): Likewise.
8083 (BUS_ADRERR): Likewise.
8084 (BUS_OBJERR): Likewise.
8085 (BUS_MCEERR_AR): Likewise.
8086 (BUS_MCEERR_AO): Likewise.
8087 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8088 (TRAP_TRACE): Likewise.
8089 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8090 __USE_XOPEN2K8].
8091 (CLD_KILLED): Likewise.
8092 (CLD_DUMPED): Likewise.
8093 (CLD_TRAPPED): Likewise.
8094 (CLD_STOPPED): Likewise.
8095 (CLD_CONTINUED): Likewise.
8096 (POLL_IN): Likewise.
8097 (POLL_OUT): Likewise.
8098 (POLL_MSG): Likewise.
8099 (POLL_ERR): Likewise.
8100 (POLL_PRI): Likewise.
8101 (POLL_HUP): Likewise.
8102 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8103 (ILL_ILLOPN): Likewise.
8104 (ILL_ILLADR): Likewise.
8105 (ILL_ILLTRP): Likewise.
8106 (ILL_PRVOPC): Likewise.
8107 (ILL_PRVREG): Likewise.
8108 (ILL_COPROC): Likewise.
8109 (ILL_BADSTK): Likewise.
8110 (ILL_DBLFLT): Likewise.
8111 (ILL_HARDWALL): Likewise.
8112 (FPE_INTDIV): Likewise.
8113 (FPE_INTOVF): Likewise.
8114 (FPE_FLTDIV): Likewise.
8115 (FPE_FLTOVF): Likewise.
8116 (FPE_FLTUND): Likewise.
8117 (FPE_FLTRES): Likewise.
8118 (FPE_FLTINV): Likewise.
8119 (FPE_FLTSUB): Likewise.
8120 (SEGV_MAPERR): Likewise.
8121 (SEGV_ACCERR): Likewise.
8122 (BUS_ADRALN): Likewise.
8123 (BUS_ADRERR): Likewise.
8124 (BUS_OBJERR): Likewise.
8125 (BUS_MCEERR_AR): Likewise.
8126 (BUS_MCEERR_AO): Likewise.
8127 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8128 (TRAP_TRACE): Likewise.
8129 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8130 __USE_XOPEN2K8].
8131 (CLD_KILLED): Likewise.
8132 (CLD_DUMPED): Likewise.
8133 (CLD_TRAPPED): Likewise.
8134 (CLD_STOPPED): Likewise.
8135 (CLD_CONTINUED): Likewise.
8136 (POLL_IN): Likewise.
8137 (POLL_OUT): Likewise.
8138 (POLL_MSG): Likewise.
8139 (POLL_ERR): Likewise.
8140 (POLL_PRI): Likewise.
8141 (POLL_HUP): Likewise.
8142 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8143 (ILL_ILLOPN): Likewise.
8144 (ILL_ILLADR): Likewise.
8145 (ILL_ILLTRP): Likewise.
8146 (ILL_PRVOPC): Likewise.
8147 (ILL_PRVREG): Likewise.
8148 (ILL_COPROC): Likewise.
8149 (ILL_BADSTK): Likewise.
8150 (FPE_INTDIV): Likewise.
8151 (FPE_INTOVF): Likewise.
8152 (FPE_FLTDIV): Likewise.
8153 (FPE_FLTOVF): Likewise.
8154 (FPE_FLTUND): Likewise.
8155 (FPE_FLTRES): Likewise.
8156 (FPE_FLTINV): Likewise.
8157 (FPE_FLTSUB): Likewise.
8158 (SEGV_MAPERR): Likewise.
8159 (SEGV_ACCERR): Likewise.
8160 (BUS_ADRALN): Likewise.
8161 (BUS_ADRERR): Likewise.
8162 (BUS_OBJERR): Likewise.
8163 (BUS_MCEERR_AR): Likewise.
8164 (BUS_MCEERR_AO): Likewise.
8165 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8166 (TRAP_TRACE): Likewise.
8167 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8168 __USE_XOPEN2K8].
8169 (CLD_KILLED): Likewise.
8170 (CLD_DUMPED): Likewise.
8171 (CLD_TRAPPED): Likewise.
8172 (CLD_STOPPED): Likewise.
8173 (CLD_CONTINUED): Likewise.
8174 (POLL_IN): Likewise.
8175 (POLL_OUT): Likewise.
8176 (POLL_MSG): Likewise.
8177 (POLL_ERR): Likewise.
8178 (POLL_PRI): Likewise.
8179 (POLL_HUP): Likewise.
8180 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8181 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8182
bc61d27c
JM
8183 [BZ #16670]
8184 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8185 before #include of <time.h>.
8186 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8187 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8188 (test-xfail-UNIX98/sched.h/conform): Likewise.
8189
302949e2
MS
81902014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8191
8192 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8193 error absence of trapping exception support.
8194 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8195
a00f522a
JM
81962014-03-07 Joseph Myers <joseph@codesourcery.com>
8197
6f99f280
JM
8198 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8199 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8200 * timezone/Makefile (testdata): Move definition above include of
8201 Rules.
8202 (test-zones): New variable.
8203 (tests-special): Add zone files.
8204 (build-testdata): Use $(evaluate-test).
8205
0b20a9e8
JM
8206 * elf/Makefile (tests-special): Rename tests to end with .out.
8207 ($(objpfx)noload-mem): Likewise.
8208 ($(objpfx)tst-leaks1-mem): Likewise.
8209 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8210 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8211 $(objpfx)test-iconvconfig.out.
8212 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8213 set -e inside subshell and redirect output to file.
8214 * iconvdata/Makefile (generated): Rename tests to end with .out.
8215 Correct type.
8216 (tests-special): Rename tests to end with .out.
8217 ($(objpfx)mtrace-tst-loading): Likewise.
8218 * intl/Makefile (generated): Likewise.
8219 (tests-special): Likewise.
8220 ($(objpfx)mtrace-tst-gettext): Likewise.
8221 * misc/Makefile (generated): Likewise.
8222 (tests-special): Likewise.
8223 ($(objpfx)tst-error1-mem): Likewise.
8224 * nptl/Makefile (tests-special): Likewise.
8225 ($(objpfx)tst-stack3-mem): Likewise.
8226 (generated): Likewise.
8227 * posix/Makefile (generated): Likewise.
8228 (tests-special): Likewise.
8229 (xtests-special): Likewise.
8230 ($(objpfx)tst-fnmatch-mem): Likewise.
8231 ($(objpfx)bug-regex2-mem): Likewise.
8232 ($(objpfx)bug-regex14-mem): Likewise.
8233 ($(objpfx)bug-regex21-mem): Likewise.
8234 ($(objpfx)bug-regex31-mem): Likewise.
8235 ($(objpfx)tst-vfork3-mem): Likewise.
8236 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8237 ($(objpfx)tst-pcre-mem): Likewise.
8238 ($(objpfx)tst-boost-mem): Likewise.
8239 ($(objpfx)bug-ga2-mem): Likewise.
8240 ($(objpfx)bug-glob2-mem): Likewise.
8241 * resolv/Makefile (generate): Likewise.
8242 (tests-special): Likewise.
8243 (xtests-special): Likewise.
8244 (generated): Likewise.
8245 ($(objpfx)mtrace-tst-leaks): Likewise.
8246 ($(objpfx)mtrace-tst-leaks2): Likewise.
8247
265d52ab
JM
8248 * scripts/merge-test-results.sh: New file.
8249 * Makefile (tests-special-notdir): New variable.
8250 (tests): Run merge-test-results.sh.
8251 (xtests): Likewise.
8252 * Rules (tests-special-notdir): New variable.
8253 (xtests-special-notdir): Likewise.
8254 (tests): Run merge-test-results.sh
8255 (xtests): Likewise.
8256
54ee292d
JM
8257 * Makeconfig (test-xfail-name): New variable.
8258 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8259 compute variable name for expected failures.
8260 * conform/Makefile (conformtest-headers-data): New variable.
8261 (conformtest-standards): Likewise.
8262 (conformtest-headers-ISO): Likewise.
8263 (conformtest-headers-ISO99): Likewise.
8264 (conformtest-headers-ISO11): Likewise.
8265 (conformtest-headers-POSIX): Likewise.
8266 (conformtest-headers-XPG3): Likewise.
8267 (conformtest-headers-XPG4): Likewise.
8268 (conformtest-headers-UNIX98): Likewise.
8269 (conformtest-headers-XOPEN2K): Likewise.
8270 (conformtest-headers-POSIX2008): Likewise.
8271 (conformtest-headers-XOPEN2K8): Likewise.
8272 (conformtest-header-list-base): Likewise.
8273 (conformtest-header-list-tests): Likewise.
8274 (conformtest-header-base): Likewise.
8275 (conformtest-header-tests): Likewise.
8276 (tests-special): Add $(conformtest-header-list-tests). If
8277 [$(fast-check) && !$(cross-compiling)], add
8278 $(conformtest-header-tests) instead of
8279 $(objpfx)run-conformtest.out.
8280 (generated): Add $(conformtest-header-list-base). If
8281 [$(fast-check) && !$(cross-compiling)], add
8282 $(conformtest-header-base). Remove previous setting.
8283 ($(conformtest-header-list-tests)): New target.
8284 (test-xfail-run-conformtest): Remove variable.
8285 ($(objpfx)run-conformtest.out): Remove target.
8286 (test-xfail-ISO11/complex.h/conform): New variable.
8287 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8288 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8289 (test-xfail-XPG3/varargs.h/conform): Likewise.
8290 (test-xfail-XPG4/varargs.h/conform): Likewise.
8291 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8292 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8293 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8294 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8295 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8296 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8297 (test-xfail-XPG3/ftw.h/conform): Likewise.
8298 (test-xfail-XPG3/grp.h/conform): Likewise.
8299 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8300 (test-xfail-XPG3/limits.h/conform): Likewise.
8301 (test-xfail-XPG3/pwd.h/conform): Likewise.
8302 (test-xfail-XPG3/search.h/conform): Likewise.
8303 (test-xfail-XPG3/signal.h/conform): Likewise.
8304 (test-xfail-XPG3/stdio.h/conform): Likewise.
8305 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8306 (test-xfail-XPG3/string.h/conform): Likewise.
8307 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8308 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8309 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8310 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8311 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8312 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8313 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8314 (test-xfail-XPG3/termios.h/conform): Likewise.
8315 (test-xfail-XPG3/time.h/conform): Likewise.
8316 (test-xfail-XPG3/unistd.h/conform): Likewise.
8317 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8318 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8319 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8320 (test-xfail-XPG4/netdb.h/conform): Likewise.
8321 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8322 (test-xfail-XPG4/signal.h/conform): Likewise.
8323 (test-xfail-XPG4/stdio.h/conform): Likewise.
8324 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8325 (test-xfail-XPG4/stropts.h/conform): Likewise.
8326 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8327 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8328 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8329 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8330 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8331 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8332 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8333 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8334 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8335 (test-xfail-XPG4/termios.h/conform): Likewise.
8336 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8337 (test-xfail-XPG4/unistd.h/conform): Likewise.
8338 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8339 (test-xfail-POSIX/sched.h/conform): Likewise.
8340 (test-xfail-POSIX/signal.h/conform): Likewise.
8341 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8342 (test-xfail-POSIX/tar.h/conform): Likewise.
8343 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8344 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8345 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8346 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8347 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8348 (test-xfail-UNIX98/sched.h/conform): Likewise.
8349 (test-xfail-UNIX98/signal.h/conform): Likewise.
8350 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8351 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8352 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8353 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8354 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8355 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8356 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8357 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8358 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8359 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8360 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8361 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8362 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8363 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8364 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8365 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8366 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8367 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8368 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8369 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8370 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8371 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8372 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8373 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8374 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8375 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8376 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8377 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8378 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8379 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8380 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8381 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8382 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8383 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8384 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8385 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8386 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8387 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8388 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8389 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8390 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8391 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8392 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8393 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8394 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8395 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8396 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8397 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8398 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8399 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8400 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8401 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8402 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8403 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8404 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8405 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8406 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8407 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8408 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8409 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8410 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8411 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8412 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8413 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8414 (conformtest-cc-flags): Likewise.
8415 ($(conformtest-header-tests): New target.
8416 * conform/check-header-lists.sh: New file.
8417 * conform/run-conformtest.sh: Remove.
8418
a00f522a
JM
8419 * conform/conformtest.pl: Allow ' and \ in values given for
8420 constants.
8421 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8422 inclusion.
8423 [POSIX] (sys/types.h): Likewise.
8424 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8425 inclusion.
8426 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8427 inclusion.
8428 * conform/data/signal.h-data (SIGIO): Remove expectation.
8429 [XPG3] (SIGBUS): Do not expect.
8430 [POSIX || XPG3] (SIGPOLL): Likewise.
8431 [POSIX || XPG3] (SIGPROF): Likewise.
8432 [POSIX || XPG3] (SIGSYS): Likewise.
8433 [XPG3] (SIGTRAP): Likewise.
8434 [POSIX || XPG3] (SIGURG): Likewise.
8435 [POSIX || XPG3] (SIGVTALRM): Likewise.
8436 [POSIX || XPG3] (SIGXCPU): Likewise.
8437 [POSIX || XPG3] (SIGXFSZ): Likewise.
8438 [POSIX] (SA_SIGINFO): Expect.
8439 [XPG3] (siginfo_t): Do not expect type or contents.
8440 [POSIX] (si_pid): Do not expect element.
8441 [POSIX] (si_uid): Likewise.
8442 [POSIX] (si_addr): Likewise.
8443 [POSIX] (si_status): Likewise.
8444 [POSIX] (si_band): Likewise.
8445 [XPG4] (si_value): Likewise.
8446 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8447 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8448 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8449 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8450 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8451 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8452 [POSIX || XPG3] (ILL_COPROC): Likewise.
8453 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8454 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8455 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8456 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8457 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8458 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8459 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8460 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8461 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8462 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8463 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8464 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8465 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8466 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8467 [POSIX || XPG3] (CLD_EXITED): Likewise.
8468 [POSIX || XPG3] (CLD_KILLED): Likewise.
8469 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8470 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8471 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8472 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8473 [POSIX || XPG3] (POLL_IN): Likewise.
8474 [POSIX || XPG3] (POLL_OUT): Likewise.
8475 [POSIX || XPG3] (POLL_MSG): Likewise.
8476 [POSIX || XPG3] (POLL_ERR): Likewise.
8477 [POSIX || XPG3] (POLL_PRI): Likewise.
8478 [POSIX || XPG3] (POLL_HUP): Likewise.
8479 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8480 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8481 (SIG*): Do not allow.
8482 [XPG3] (si_*): Likewise.
8483 [XPG3] (SI_*): Likewise.
8484 [XPG3 || XPG4] (sigev_*): Likewise.
8485 [XPG3 || XPG4] (SIGEV_*): Likewise.
8486 [XPG3 || XPG4] (sival_*): Likewise.
8487 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8488 [POSIX || XPG3] (BUS_*): Likewise.
8489 [POSIX || XPG3] (CLD_*): Likewise.
8490 [POSIX || XPG3] (FPE_*): Likewise.
8491 [POSIX || XPG3] (ILL_*): Likewise.
8492 [POSIX || XPG3] (POLL_*): Likewise.
8493 [POSIX || XPG3] (SEGV_*): Likewise.
8494 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8495 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8496 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8497 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8498 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8499 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8500 Specify type and value.
8501 (TVERSLEN): Likewise.
8502 (REGTYPE): Likewise.
8503 (AREGTYPE): Likewise.
8504 (LNKTYPE): Likewise.
8505 (SYMTYPE): Likewise.
8506 (CHRTYPE): Likewise.
8507 (BLKTYPE): Likewise.
8508 (DIRTYPE): Likewise.
8509 (FIFOTYPE): Likewise.
8510 (CONTTYPE): Likewise.
8511 (TSUID): Likewise.
8512 (TSGID): Likewise.
8513 (TSVTX): Likewise.
8514 (TUREAD): Likewise.
8515 (TUWRITE): Likewise.
8516 (TUEXEC): Likewise.
8517 (TGREAD): Likewise.
8518 (TGWRITE): Likewise.
8519 (TGEXEC): Likewise.
8520 (TOREAD): Likewise.
8521 (TOWRITE): Likewise.
8522 (TOEXEC): Likewise.
8523 [POSIX] (TSVTX): Expect constant.
8524
aa97dee1
JM
85252014-03-06 Joseph Myers <joseph@codesourcery.com>
8526
f214606a
JM
8527 * Makefile (tests): Change dependencies to ....
8528 (tests-special): ... additions to this variable.
8529 (tests): Depend on $(tests-special).
8530 * Makerules (check-abi-list): New variable.
8531 (check-abi): Depend on $(check-abi-list).
8532 [$(subdir) = elf] (tests-special): Add
8533 $(objpfx)check-abi-libc.out.
8534 [$(build-shared) = yes && subdir] (tests-special): Add
8535 $(check-abi-list).
8536 [$(build-shared) = yes && subdir] (tests): Do not depend on
8537 check-abi.
8538 * Rules (tests): Depend on $(tests-special).
8539 (xtests): Depend on $(xtests-special).
8540 * catgets/Makefile (tests): Change dependencies to ....
8541 (tests-special): ... additions to this variable.
8542 * conform/Makefile (tests): Change dependencies to ....
8543 (tests-special): ... additions to this variable.
8544 * elf/Makefile (tests): Change dependencies to ....
8545 (tests-special): ... additions to this variable.
8546 * grp/Makefile (tests): Change dependencies to ....
8547 (tests-special): ... additions to this variable.
8548 * iconv/Makefile (xtests): Change dependencies to ....
8549 (xtests-special): ... additions to this variable.
8550 * iconvdata/Makefile (tests): Change dependencies to ....
8551 (tests-special): ... additions to this variable.
8552 * intl/Makefile (tests): Change dependencies to ....
8553 (tests-special): ... additions to this variable. Also add
8554 $(objpfx)tst-gettext.out.
8555 * io/Makefile (tests): Change dependencies to ....
8556 (tests-special): ... additions to this variable.
8557 * libio/Makefile (tests): Change dependencies to ....
8558 (tests-special): ... additions to this variable.
8559 * malloc/Makefile (tests): Change dependencies to ....
8560 (tests-special): ... additions to this variable.
8561 * misc/Makefile (tests): Change dependencies to ....
8562 (tests-special): ... additions to this variable.
8563 * nptl/Makefile (tests): Change dependencies to ....
8564 (tests-special): ... additions to this variable.
8565 * nptl_db/Makefile (tests): Change dependencies to ....
8566 (tests-special): ... additions to this variable.
8567 * posix/Makefile (tests): Change dependencies to ....
8568 (tests-special): ... additions to this variable.
8569 (xtests): Change dependencies to ....
8570 (xtests-special): ... additions to this variable.
8571 * resolv/Makefile (tests): Change dependencies to ....
8572 (tests-special): ... additions to this variable.
8573 (xtests): Change dependencies to ....
8574 (xtests-special): ... additions to this variable.
8575 * stdio-common/Makefile (tests): Change dependencies to ....
8576 (tests-special): ... additions to this variable.
8577 (do-tst-unbputc): Remove target.
8578 (do-tst-printf): Likewise.
8579 * stdlib/Makefile (tests): Change dependencies to ....
8580 (tests-special): ... additions to this variable.
8581 * string/Makefile (tests): Change dependencies to ....
8582 (tests-special): ... additions to this variable.
8583 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8584 (tests-special): ... additions to this variable.
8585
81700b53
JM
8586 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8587 whole file.
8588 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8589 whole file.
8590 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8591 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8592
2ea18461
JM
8593 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8594 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8595 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8596 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8597 * conform/data/libgen.h-data [XPG3]: Likewise.
8598 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8599 * conform/data/ndbm.h-data [XPG3]: Likewise.
8600 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8601 * conform/data/netdb.h-data [XPG3]: Likewise.
8602 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8603 * conform/data/poll.h-data [XPG3]: Likewise.
8604 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8605 * conform/data/strings.h-data [XPG3]: Likewise.
8606 * conform/data/stropts.h-data [XPG3]: Likewise.
8607 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8608 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8609 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8610 Likewise.
8611 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8612 * conform/data/sys/time.h-data [XPG3]: Likewise.
8613 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8614 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8615 * conform/data/sys/un.h-data [XPG3]: Likewise.
8616 * conform/data/syslog.h-data [XPG3]: Likewise.
8617 * conform/data/ucontext.h-data [XPG3]: Likewise.
8618 * conform/data/utmpx.h-data [XPG3]: Likewise.
8619 * conform/data/varargs.h-data [UNIX98]: Enable file.
8620
355bc986
JM
8621 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8622
215db402
JM
8623 * math/libm-test.inc (struct test_f_f_data): Move expected results
8624 into structure for each rounding mode.
8625 (struct test_ff_f_data): Likewise.
8626 (struct test_ff_f_data_nexttoward): Likewise.
8627 (struct test_fi_f_data): Likewise.
8628 (struct test_fl_f_data): Likewise.
8629 (struct test_if_f_data): Likewise.
8630 (struct test_fff_f_data): Likewise.
8631 (struct test_c_f_data): Likewise.
8632 (struct test_f_f1_data): Likewise.
8633 (struct test_fF_f1_data): Likewise.
8634 (struct test_ffI_f1_data): Likewise.
8635 (struct test_c_c_data): Likewise.
8636 (struct test_cc_c_data): Likewise.
8637 (struct test_f_i_data): Likewise.
8638 (struct test_ff_i_data): Likewise.
8639 (struct test_f_l_data): Likewise.
8640 (struct test_f_L_data): Likewise.
8641 (struct test_fFF_11_data): Likewise.
8642 (RM_): New macro.
8643 (RM_FE_DOWNWARD): Likewise.
8644 (RM_FE_TONEAREST): Likewise.
8645 (RM_FE_TOWARDZERO): Likewise.
8646 (RM_FE_UPWARD): Likewise.
8647 (RUN_TEST_LOOP_f_f): Update references to expected results.
8648 (RUN_TEST_LOOP_2_f): Likewise.
8649 (RUN_TEST_LOOP_fff_f): Likewise.
8650 (RUN_TEST_LOOP_c_f): Likewise.
8651 (RUN_TEST_LOOP_f_f1): Likewise.
8652 (RUN_TEST_LOOP_fF_f1): Likewise.
8653 (RUN_TEST_LOOP_fI_f1): Likewise.
8654 (RUN_TEST_LOOP_ffI_f1): Likewise.
8655 (RUN_TEST_LOOP_c_c): Likewise.
8656 (RUN_TEST_LOOP_cc_c): Likewise.
8657 (RUN_TEST_LOOP_f_i): Likewise.
8658 (RUN_TEST_LOOP_f_i_tg): Likewise.
8659 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8660 (RUN_TEST_LOOP_f_b): Likewise.
8661 (RUN_TEST_LOOP_f_b_tg): Likewise.
8662 (RUN_TEST_LOOP_f_l): Likewise.
8663 (RUN_TEST_LOOP_f_L): Likewise.
8664 (RUN_TEST_LOOP_fFF_11): Likewise.
8665 * math/gen-libm-test.pl (parse_args): Output four copies of
8666 expected results for each test.
8667
67737b8f
JM
8668 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8669 (__ASSUME_UTIMES): Remove.
8670 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8671 (__ASSUME_UTIMES): Likewise.
8672
aa97dee1
JM
8673 * math/gen-auto-libm-tests.c: Update comment on output format.
8674 (output_for_one_input_case): Generate before-rounding and
8675 after-rounding information as conditions on output flags not
8676 floating-point format.
8677 * math/auto-libm-test-out: Regenerated.
8678 * math/gen-libm-test.pl (cond_value): New function.
8679 (or_cond_value): Use cond_value.
8680 (generate_testfile): Handle conditional exceptions.
8681
e6b6a857
JM
86822014-03-05 Joseph Myers <joseph@codesourcery.com>
8683
2f0a0f44
JM
8684 * math/libm-test.inc (max_valid_error): New variable.
8685 (init_max_error): Take new argument specifying whether function
8686 results are exactly determined. Set max_valid_error and bound
8687 other variables for errors based on this argument.
8688 (set_max_error): Do not record results above max_valid_error.
8689 (check_float_internal): Only accept errors of up to 0.5ulps if
8690 also at most max_valid_error.
8691 (START): Take new argument EXACT and pass it to init_max_error.
8692 (acos_test): Update call to START.
8693 (acos_test_tonearest): Likewise.
8694 (acos_test_towardzero): Likewise.
8695 (acos_test_downward): Likewise.
8696 (acos_test_upward): Likewise.
8697 (acosh_test): Likewise.
8698 (asin_test): Likewise.
8699 (asin_test_tonearest): Likewise.
8700 (asin_test_towardzero): Likewise.
8701 (asin_test_downward): Likewise.
8702 (asin_test_upward): Likewise.
8703 (asinh_test): Likewise.
8704 (atan_test): Likewise.
8705 (atanh_test): Likewise.
8706 (atan2_test): Likewise.
8707 (cabs_test): Likewise.
8708 (cacos_test): Likewise.
8709 (cacosh_test): Likewise.
8710 (carg_test): Likewise.
8711 (casin_test): Likewise.
8712 (casinh_test): Likewise.
8713 (catan_test): Likewise.
8714 (catanh_test): Likewise.
8715 (cbrt_test): Likewise.
8716 (ccos_test): Likewise.
8717 (ccosh_test): Likewise.
8718 (ceil_test): Likewise.
8719 (cexp_test): Likewise.
8720 (cimag_test): Likewise.
8721 (clog_test): Likewise.
8722 (clog10_test): Likewise.
8723 (conj_test): Likewise.
8724 (copysign_test): Likewise.
8725 (cos_test): Likewise.
8726 (cos_test_tonearest): Likewise.
8727 (cos_test_towardzero): Likewise.
8728 (cos_test_downward): Likewise.
8729 (cos_test_upward): Likewise.
8730 (cosh_test): Likewise.
8731 (cosh_test_tonearest): Likewise.
8732 (cosh_test_towardzero): Likewise.
8733 (cosh_test_downward): Likewise.
8734 (cosh_test_upward): Likewise.
8735 (cpow_test): Likewise.
8736 (cproj_test): Likewise.
8737 (creal_test): Likewise.
8738 (csin_test): Likewise.
8739 (csinh_test): Likewise.
8740 (csqrt_test): Likewise.
8741 (ctan_test): Likewise.
8742 (ctan_test_tonearest): Likewise.
8743 (ctan_test_towardzero): Likewise.
8744 (ctan_test_downward): Likewise.
8745 (ctan_test_upward): Likewise.
8746 (ctanh_test): Likewise.
8747 (ctanh_test_tonearest): Likewise.
8748 (ctanh_test_towardzero): Likewise.
8749 (ctanh_test_downward): Likewise.
8750 (ctanh_test_upward): Likewise.
8751 (erf_test): Likewise.
8752 (erfc_test): Likewise.
8753 (exp_test): Likewise.
8754 (exp_test_tonearest): Likewise.
8755 (exp_test_towardzero): Likewise.
8756 (exp_test_downward): Likewise.
8757 (exp_test_upward): Likewise.
8758 (exp10_test): Likewise.
8759 (exp10_test_tonearest): Likewise.
8760 (exp10_test_towardzero): Likewise.
8761 (exp10_test_downward): Likewise.
8762 (exp10_test_upward): Likewise.
8763 (pow10_test): Likewise.
8764 (exp2_test): Likewise.
8765 (expm1_test): Likewise.
8766 (expm1_test_tonearest): Likewise.
8767 (expm1_test_towardzero): Likewise.
8768 (expm1_test_downward): Likewise.
8769 (expm1_test_upward): Likewise.
8770 (fabs_test): Likewise.
8771 (fdim_test): Likewise.
8772 (floor_test): Likewise.
8773 (fma_test): Likewise.
8774 (fma_test_towardzero): Likewise.
8775 (fma_test_downward): Likewise.
8776 (fma_test_upward): Likewise.
8777 (fmax_test): Likewise.
8778 (fmin_test): Likewise.
8779 (fmod_test): Likewise.
8780 (fpclassify_test): Likewise.
8781 (frexp_test): Likewise.
8782 (hypot_test): Likewise.
8783 (ilogb_test): Likewise.
8784 (isfinite_test): Likewise.
8785 (finite_test): Likewise.
8786 (isgreater_test): Likewise.
8787 (isgreaterequal_test): Likewise.
8788 (isinf_test): Likewise.
8789 (isless_test): Likewise.
8790 (islessequal_test): Likewise.
8791 (islessgreater_test): Likewise.
8792 (isnan_test): Likewise.
8793 (isnormal_test): Likewise.
8794 (issignaling_test): Likewise.
8795 (isunordered_test): Likewise.
8796 (j0_test): Likewise.
8797 (j1_test): Likewise.
8798 (jn_test): Likewise.
8799 (ldexp_test): Likewise.
8800 (lgamma_test): Likewise.
8801 (gamma_test): Likewise.
8802 (lrint_test): Likewise.
8803 (lrint_test_tonearest): Likewise.
8804 (lrint_test_towardzero): Likewise.
8805 (lrint_test_downward): Likewise.
8806 (lrint_test_upward): Likewise.
8807 (llrint_test): Likewise.
8808 (llrint_test_tonearest): Likewise.
8809 (llrint_test_towardzero): Likewise.
8810 (llrint_test_downward): Likewise.
8811 (llrint_test_upward): Likewise.
8812 (log_test): Likewise.
8813 (log10_test): Likewise.
8814 (log1p_test): Likewise.
8815 (log2_test): Likewise.
8816 (logb_test): Likewise.
8817 (logb_test_downward): Likewise.
8818 (lround_test): Likewise.
8819 (llround_test): Likewise.
8820 (modf_test): Likewise.
8821 (nearbyint_test): Likewise.
8822 (nextafter_test): Likewise.
8823 (nexttoward_test): Likewise.
8824 (pow_test): Likewise.
8825 (pow_test_tonearest): Likewise.
8826 (pow_test_towardzero): Likewise.
8827 (pow_test_downward): Likewise.
8828 (pow_test_upward): Likewise.
8829 (remainder_test): Likewise.
8830 (drem_test): Likewise.
8831 (remainder_test_tonearest): Likewise.
8832 (drem_test_tonearest): Likewise.
8833 (remainder_test_towardzero): Likewise.
8834 (drem_test_towardzero): Likewise.
8835 (remainder_test_downward): Likewise.
8836 (drem_test_downward): Likewise.
8837 (remainder_test_upward): Likewise.
8838 (drem_test_upward): Likewise.
8839 (remquo_test): Likewise.
8840 (rint_test): Likewise.
8841 (rint_test_tonearest): Likewise.
8842 (rint_test_towardzero): Likewise.
8843 (rint_test_downward): Likewise.
8844 (rint_test_upward): Likewise.
8845 (round_test): Likewise.
8846 (scalb_test): Likewise.
8847 (scalbn_test): Likewise.
8848 (scalbln_test): Likewise.
8849 (signbit_test): Likewise.
8850 (sin_test): Likewise.
8851 (sin_test_tonearest): Likewise.
8852 (sin_test_towardzero): Likewise.
8853 (sin_test_downward): Likewise.
8854 (sin_test_upward): Likewise.
8855 (sincos_test): Likewise.
8856 (sinh_test): Likewise.
8857 (sinh_test_tonearest): Likewise.
8858 (sinh_test_towardzero): Likewise.
8859 (sinh_test_downward): Likewise.
8860 (sinh_test_upward): Likewise.
8861 (sqrt_test): Likewise.
8862 (sqrt_test_tonearest): Likewise.
8863 (sqrt_test_towardzero): Likewise.
8864 (sqrt_test_downward): Likewise.
8865 (sqrt_test_upward): Likewise.
8866 (tan_test): Likewise.
8867 (tan_test_tonearest): Likewise.
8868 (tan_test_towardzero): Likewise.
8869 (tan_test_downward): Likewise.
8870 (tan_test_upward): Likewise.
8871 (tanh_test): Likewise.
8872 (tgamma_test): Likewise.
8873 (trunc_test): Likewise.
8874 (y0_test): Likewise.
8875 (y1_test): Likewise.
8876 (yn_test): Likewise.
8877 (significand_test): Likewise.
8878
e6b6a857
JM
8879 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8880 individual tests in comment.
8881 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8882 (prev_max_error): New variable.
8883 (prev_real_max_error): Likewise.
8884 (prev_imag_max_error): Likewise.
8885 (compare_ulp_data): Don't refer to test names in comment.
8886 (find_test_ulps): Remove function.
8887 (find_function_ulps): Likewise.
8888 (find_complex_function_ulps): Likewise.
8889 (init_max_error): Take function name as argument. Look up ulps
8890 for that function.
8891 (print_ulps): Remove function.
8892 (print_max_error): Use prev_max_error instead of calling
8893 find_function_ulps.
8894 (print_complex_max_error): Use prev_real_max_error and
8895 prev_imag_max_error instead of calling find_complex_function_ulps.
8896 (check_float_internal): Take max_ulp parameter instead of calling
8897 find_test_ulps. Don't call print_ulps.
8898 (check_float): Update call to check_float_internal.
8899 (check_complex): Update calls to check_float_internal.
8900 (START): Pass argument to init_max_error.
8901 * math/gen-libm-test.pl (%results): Don't include "kind"
8902 information.
8903 (parse_ulps): Don't handle ulps of individual tests.
8904 (print_ulps_file): Likewise.
8905 (output_ulps): Likewise.
8906 * math/README.libm-test: Update.
8907 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8908 individual tests.
8909 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8910 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8911 * sysdeps/arm/libm-test-ulps: Likewise.
8912 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8913 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8914 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8915 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8916 * sysdeps/microblaze/libm-test-ulps: Likewise.
8917 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8918 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8919 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8920 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8921 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8922 * sysdeps/sh/libm-test-ulps: Likewise.
8923 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8924 * sysdeps/tile/libm-test-ulps: Likewise.
8925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8926
45adef3c
JM
89272014-03-04 Joseph Myers <joseph@codesourcery.com>
8928
8929 * math/libm-test.inc (print_complex_max_error): Check separately
8930 whether real and imaginary errors are within allowed range and
8931 pass 0 to print_complex_function_ulps instead of value within
8932 allowed range.
8933
000232b9
SP
89342014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8935
d4b17258
SP
8936 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8937 formatting.
8938 (get_handles_fopen): Likewise.
8939 (do_write_test): Likewise.
8940
091eff71
SP
8941 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8942
fa3cd248
SP
8943 * libio/fileops.c (do_ftell): Use cached offset when
8944 available.
8945 * libio/iofwide.c (do_ftell_wide): Likewise.
8946 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8947 _IO_file_attach.
8948 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8949
000232b9
SP
8950 [BZ #16532]
8951 * libio/libioP.h (get_file_offset): New function.
8952 * libio/fileops.c (get_file_offset): Likewise.
8953 (do_ftell): Likewise.
8954 (_IO_new_file_seekoff): Split out ftell logic.
8955 * libio/wfileops.c (do_ftell_wide): Likewise.
8956 (_IO_wfile_seekoff): Split out ftell logic.
8957 * libio/tst-ftell-active-handler.c: New test case.
8958 * libio/Makefile (tests): Add it.
8959
116f4d1a
RM
89602014-03-03 Roland McGrath <roland@hack.frob.com>
8961
8962 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8963 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8964
532a6035
SP
89652014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8966
8967 [BZ #16639]
8968 * nscd/connections.c (nscd_init): Call do_exit.
8969 (start_threads): Call do_exit and notify_parent.
8970 (begin_drop_privileges): Call do_exit.
8971 (finish_drop_privileges): Likewise.
8972 * nscd/selinux.c (preserve_capabilities): Likewise.
8973 (install_real_capabilities): Likewise.
8974 (nscd_selinux_enabled): Likewise.
8975 (avc_create_thread): Likewise.
8976 (avc_alloc_lock): Likewise.
8977 (nscd_avc_init): Likewise.
8978 * nscd/nscd.c (parent_fd): New static variable.
8979 (main): Create a pipe between parent and child processes.
8980 Skip closing parent_fd.
8981 (monitor_child): New function.
8982 (do_exit): Likewise.
8983 (notify_parent): Likewise.
8984 * nscd/nscd.h (notify_parent): Likewise.
8985 (do_exit): Likewise.
8986
d6285c9f
CD
89872014-03-03 Carlos O'Donell <carlos@redhat.com>
8988
8989 * malloc/malloc.c (__libc_calloc): Revert last change.
8990
2b85d2a0
AZ
89912014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8992
8993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8994
c7debbdf
RS
89952014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8996
8997 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8999 implementation.
9000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9001 (__libc_ifunc_impl_list): Likewise.
9002 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9003 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9004 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9005 * string/strrchr.c: Define STRRCHR.
9006
235eed86
OB
90072014-02-28 Ondřej Bílka <neleai@seznam.cz>
9008
9009 * benchtest/bench-strtok.c (simple_strtok): Delete.
9010 (strtok_string): Use as benchmark.
9011 * string/strtok (STRTOK): New macro.
9012
8e25d1e7
CD
90132014-02-28 Carlos O'Donell <carlos@redhat.com>
9014
ef563f92
CD
9015 * manual/threads.texi: Add header and standard comments to all
9016 functions.
9017
8e25d1e7
CD
9018 * elf/dl-lookup.c (check_match): New function.
9019 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9020 (do_lookup_x): Remove nested function check_match. Use non-nested
9021 function check_match.
9022
ff71cc37
RM
90232014-02-28 Roland McGrath <roland@hack.frob.com>
9024
f08e9a26
RM
9025 * csu/Makefile (generated, before-compile): Use += rather than =.
9026 * catgets/Makefile (generated, generated-dirs): Likewise.
9027 * debug/Makefile (generated): Likewise.
9028 * dlfcn/Makefile (generated): Likewise.
9029 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9030 * iconvdata/Makefile (before-compile, generated): Likewise.
9031 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9032 * libio/Makefile (generated): Likewise.
9033 * malloc/Makefile (generated): Likewise.
9034 * manual/Makefile (generated, generated-dirs): Likewise.
9035 * misc/Makefile (generated): Likewise.
9036 * posix/Makefile (generated): Likewise.
9037 * resolv/Makefile (generated): Likewise.
9038 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9039 * timezone/Makefile (generated, generated-dirs): Likewise.
9040
ff71cc37
RM
9041 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9042
fe13a20c
AZ
90432014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9044
57f41c40
AS
9045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9046 power8 implementation.
9047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9048 file: POWER8 llround ifunc implementation.
9049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9050 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
9051 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9052 POWER8 llround implementation.
9053
57f41c40
AS
9054 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9055 power8 implementation.
9056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9057 file: POWER8 llrint ifunc implementation.
9058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9059 Add POWER8 implementation.
1ad8950a
AZ
9060 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9061 POWER8 llrint implementation.
9062
57f41c40
AS
9063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9064 power8 implementation.
9065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9066 file: POWER8 finite ifunc implementation.
9067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9068 Add POWER8 implementation.
cac626d6
AZ
9069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9070 Likewise.
9071 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9072 POWER8 finite implementation.
9073 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9074
57f41c40
AS
9075 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9076 power8 implementation.
9077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9078 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
9079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9080 POWER8 implementation.
9081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9082 Likewise.
57f41c40
AS
9083 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9084 isinf implementation.
4393fc11
AZ
9085 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9086
57f41c40
AS
9087 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9088 (INIT_ARCH): Add hwcap2 initialization.
9089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9090 power8 implementation.
9091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9092 file: POWER8 isnan ifunc implementation.
487972ae
AZ
9093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9094 POWER8 implementation.
9095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9096 Likewise.
57f41c40
AS
9097 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9098 isnan implementation.
487972ae
AZ
9099 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9100
7d92b787
JY
91012014-02-27 Joey Ye <joey.ye@arm.com>
9102
9103 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9104 (_FP_NANFRAC_Q): Set to zero.
9105
1cadc858
SP
91062014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9107
9108 [BZ #16623]
9109 * math/auto-libm-test-in: New test inputs.
9110 * math/auto-libm-test-out: Regenerate.
9111 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9112 and DA.
9113 (__cos): Likewise.
9114 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9115
f8c17e79
JM
91162014-02-27 Joseph Myers <joseph@codesourcery.com>
9117
9118 * scripts/evaluate-test.sh: Take new argument indicating whether
9119 failure is expected.
9120 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9121 indicating whether failure is expected.
9122 * conform/Makefile (test-xfail-run-conformtest): New variable.
9123 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9124 level.
9125 * posix/Makefile (test-xfail-annexc): New variable.
9126 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9127
a5f891ac
JM
91282014-02-26 Joseph Myers <joseph@codesourcery.com>
9129
9130 * argp/Makefile: Include Makeconfig immediately after defining
9131 subdir.
9132 * assert/Makefile: Likewise.
9133 * benchtests/Makefile: Likewise.
9134 * catgets/Makefile: Likewise.
9135 * conform/Makefile: Likewise.
9136 * crypt/Makefile: Likewise.
9137 * csu/Makefile: Likewise.
9138 (all): Remove target.
9139 * ctype/Makefile: Include Makeconfig immediately after defining
9140 subdir.
9141 * debug/Makefile: Likewise.
9142 * dirent/Makefile: Likewise.
9143 * dlfcn/Makefile: Likewise.
9144 * gmon/Makefile: Likewise.
9145 * gnulib/Makefile: Likewise.
9146 * grp/Makefile: Likewise.
9147 * gshadow/Makefile: Likewise.
9148 * hesiod/Makefile: Likewise.
9149 * hurd/Makefile: Likewise.
9150 (all): Remove target.
9151 * iconvdata/Makefile: Include Makeconfig immediately after
9152 defining subdir.
9153 * inet/Makefile: Likewise.
9154 * intl/Makefile: Likewise.
9155 * io/Makefile: Likewise.
9156 * libio/Makefile: Likewise.
9157 (all): Remove target.
9158 * locale/Makefile: Include Makeconfig immediately after defining
9159 subdir.
9160 * login/Makefile: Likewise.
9161 * mach/Makefile: Likewise.
9162 (all): Remove target.
9163 * malloc/Makefile: Include Makeconfig immediately after defining
9164 subdir.
9165 (all): Remove target.
9166 * manual/Makefile: Include Makeconfig immediately after defining
9167 subdir.
9168 * math/Makefile: Likewise.
9169 * misc/Makefile: Likewise.
9170 * nis/Makefile: Likewise.
9171 * nss/Makefile: Likewise.
9172 * po/Makefile: Likewise.
9173 (all): Remove target.
9174 * posix/Makefile: Include Makeconfig immediately after defining
9175 subdir.
9176 * pwd/Makefile: Likewise.
9177 * resolv/Makefile: Likewise.
9178 * resource/Makefile: Likewise.
9179 * rt/Makefile: Likewise.
9180 * setjmp/Makefile: Likewise.
9181 * shadow/Makefile: Likewise.
9182 * signal/Makefile: Likewise.
9183 * socket/Makefile: Likewise.
9184 * soft-fp/Makefile: Likewise.
9185 * stdio-common/Makefile: Likewise.
9186 * stdlib/Makefile: Likewise.
9187 * streams/Makefile: Likewise.
9188 * string/Makefile: Likewise.
9189 * sunrpc/Makefile: Likewise.
9190 (all): Remove target.
9191 * sysvipc/Makefile: Include Makeconfig immediately after defining
9192 subdir.
9193 * termios/Makefile: Likewise.
9194 * time/Makefile: Likewise.
9195 * timezone/Makefile: Likewise.
9196 (all): Remove target.
9197 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9198 subdir.
9199 * wctype/Makefile: Likewise.
9200
5b456e9d
SE
92012014-02-26 Steve Ellcey <sellcey@mips.com>
9202
9203 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9204 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9205 (libc_feholdexcept_setround_mips): Ditto.
9206 (libc_feholdsetround): New.
9207 (libc_feholdsetroundf): New.
9208 (libc_feholdsetroundl): New.
9209 (libc_feupdateenv_test_mips): New.
9210 (libc_feupdateenv_test): New.
9211 (libc_feupdateenv_testf): New.
9212 (libc_feupdateenv_testl): New.
9213 (libc_feresetround): New.
9214 (libc_feresetroundf): New.
9215 (libc_feresetroundl): New.
9216 (libc_fetestexcept_mips): New.
9217 (libc_fetestexcept): New.
9218 (libc_fetestexceptf): New.
9219 (libc_fetestexceptl): New.
9220 (HAVE_RM_CTX): New.
9221 (libc_feholdexcept_setround_mips_ctx): New.
9222 (libc_feholdexcept_setround_ctx): New.
9223 (libc_feholdexcept_setroundf_ctx): New.
9224 (libc_feholdexcept_setroundl_ctx): New.
9225 (libc_fesetenv_mips_ctx): New.
9226 (libc_fesetenv_ctx): New.
9227 (libc_fesetenv_ctxf): New.
9228 (libc_fesetenv_ctxl): New.
9229 (libc_feupdateenv_mips_ctx): New.
9230 (libc_feupdateenv_ctx): New.
9231 (libc_feupdateenvf_ctx): New.
9232 (libc_feupdateenvl_ctx): New.
9233 (libc_feholdsetround_mips_ctx): New.
9234 (libc_feholdsetround_ctx): New.
9235 (libc_feholdsetroundf_ctx): New.
9236 (libc_feholdsetroundl_ctx): New.
9237 (libc_feresetround_mips_ctx): New.
9238 (libc_feresetround_ctx): New.
9239 (libc_feresetroundf_ctx): New.
9240 (libc_feresetroundl_ctx): New.
9241
085d0e35
CD
92422014-02-26 Carlos O'Donell <carlos@redhat.com>
9243
f067bf1f
CD
9244 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9245
085d0e35
CD
9246 * manual/ipc.texi: New file.
9247 * manual/Makefile (chapters): Add ipc.
9248 * manual/job.texi: Add "Inter-Process Communication" to next.
9249 * manual/process.texi: Add "Inter-Process Communication" to prev.
9250
86e58c08
AZ
92512014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9252
9253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9254
4248f0da
OB
92552014-02-26 Ondřej Bílka <neleai@seznam.cz>
9256
9257 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9258
cf822e3c
OB
9259 * manual/arith.texi: Fix spaces after sentences.
9260 * manual/charset.texi: Likewise.
9261 * manual/errno.texi: Likewise.
9262 * manual/install.texi: Likewise.
9263 * manual/llio.texi: Likewise.
9264 * manual/locale.texi: Likewise.
9265 * manual/maint.texi: Likewise.
9266 * manual/math.texi: Likewise.
9267 * manual/memory.texi: Likewise.
9268 * manual/message.texi: Likewise.
9269 * manual/probes.texi: Likewise.
9270 * manual/resource.texi: Likewise.
9271 * manual/signal.texi: Likewise.
9272 * manual/socket.texi: Likewise.
9273 * manual/stdio.texi: Likewise.
9274 * manual/string.texi: Likewise.
9275 * manual/time.texi: Likewise.
9276 * manual/users.texi: Likewise.
9277
ade40b10
CD
92782014-02-25 Carlos O'Donell <carlos@redhat.com>
9279
9280 [BZ #16632]
9281 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9282 _DEFAULT_SOURCE is defined.
9283
d0503676
CD
92842014-02-25 Ulrich Drepper <drepper@gmail.com>
9285 Carlos O'Donell <carlos@redhat.com>
9286
9287 [BZ #16613]
9288 * elf/dl-tls.c (_dl_count_modids): New function.
9289 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9290 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9291 audit library and increment generation counter.
9292 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9293 * elf/tst-audit9.c: New file.
9294 * elf/tst-auditmod9a.c: New file.
9295 * elf/tst-auditmod9b.c: New file.
9296 * elf/Makefile: Add rules to build and run tst-audit9.
9297
4cbf380c
FW
92982014-02-25 Florian Weimer <fweimer@redhat.com>
9299
9300 [BZ #15347]
9301 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9302
80a56cc3
WN
93032014-02-25 Will Newton <will.newton@linaro.org>
9304
9305 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9306 (__longjmp): Restore sp and lr before restoring callee
9307 saved registers. Add longjmp and longjmp_target
9308 SystemTap probe point.
9309 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9310 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9311 Define to zero to match jmpbuf layout.
9312 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9313 (__sigsetjmp): Save sp and lr before saving callee
9314 saved registers. Add setjmp SystemTap probe point.
9315
3ea0f74e
SL
93162014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9317
9318 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9319
b04acb26
AS
93202014-02-24 Andreas Schwab <schwab@suse.de>
9321
9322 [BZ #15804]
9323 * elf/pldd.c (wait_for_ptrace_stop): New function.
9324 (main): Call it after attaching.
9325
098ad55c
RM
93262014-02-22 Roland McGrath <roland@hack.frob.com>
9327
d4ec6ae1
RM
9328 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9329 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9330 Versions files is now verboten.
9331 * hurd/Versions (libc: GLIBC_2.0):
9332 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9333 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9334 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9335 * mach/Versions: Likewise.
9336
098ad55c
RM
9337 * csu/Versions: Remove unused %include.
9338 * resolv/Versions: Likewise.
9339
acd7f096
JM
93402014-02-21 Joseph Myers <joseph@codesourcery.com>
9341
f0881698
JM
9342 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9343 ($(objpfx)check-local-headers.out): Likewise.
9344 ($(objpfx)begin-end-check.out): Likewise.
9345 * Makerules (check-abi-%.out): Likewise.
9346 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9347 ($(objpfx)test2.cat): Likewise.
9348 ($(objpfx)de/libc.cat): Likewise.
9349 ($(objpfx)test-gencat.out): Likewise.
9350 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9351 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9352 ($(objpfx)noload-mem): Likewise.
9353 ($(objpfx)tst-pathopt.out): Likewise.
9354 ($(objpfx)tst-rtld-load-self.out): Likewise.
9355 ($(objpfx)tst-array1-cmp.out): Likewise.
9356 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9357 ($(objpfx)tst-array2-cmp.out): Likewise.
9358 ($(objpfx)tst-array3-cmp.out): Likewise.
9359 ($(objpfx)tst-array4-cmp.out): Likewise.
9360 ($(objpfx)tst-array5-cmp.out): Likewise.
9361 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9362 ($(objpfx)check-textrel.out): Likewise.
9363 ($(objpfx)check-execstack.out): Likewise.
9364 ($(objpfx)check-localplt.out): Likewise.
9365 ($(objpfx)order2-cmp.out): Likewise.
9366 ($(objpfx)tst-leaks1-mem): Likewise.
9367 ($(objpfx)tst-leaks1-static-mem): Likewise.
9368 ($(objpfx)tst-initorder-cmp.out): Likewise.
9369 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9370 ($(objpfx)tst-unused-dep.out): Likewise.
9371 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9372 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9373 * iconv/Makefile (test-iconvconfig): Likewise.
9374 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9375 ($(objpfx)iconv-test.out): Likewise.
9376 ($(objpfx)tst-tables.out): Likewise.
9377 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9378 ($(objpfx)tst-gettext.out): Likewise.
9379 ($(objpfx)tst-translit.out): Likewise.
9380 ($(objpfx)tst-gettext2.out): Likewise.
9381 ($(objpfx)tst-gettext4.out): Likewise.
9382 ($(objpfx)tst-gettext6.out): Likewise.
9383 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9384 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9385 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9386 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9387 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9388 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9389 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9390 ($(objpfx)wordexp-tst.out): Likewise.
9391 ($(objpfx)annexc.out): Likewise.
9392 ($(objpfx)tst-fnmatch-mem): Likewise.
9393 ($(objpfx)bug-regex2-mem): Likewise.
9394 ($(objpfx)bug-regex14-mem): Likewise.
9395 ($(objpfx)bug-regex21-mem): Likewise.
9396 ($(objpfx)bug-regex31-mem): Likewise.
9397 ($(objpfx)tst-vfork3-mem): Likewise.
9398 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9399 ($(objpfx)tst-pcre-mem): Likewise.
9400 ($(objpfx)tst-boost-mem): Likewise.
9401 ($(objpfx)tst-getconf.out): Likewise.
9402 ($(objpfx)bug-ga2-mem): Likewise.
9403 ($(objpfx)bug-glob2-mem): Likewise.
9404 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9405 ($(objpfx)mtrace-tst-leaks2): Likewise.
9406 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9407 ($(objpfx)tst-printf.out): Likewise.
9408 ($(objpfx)tst-setvbuf1.out): Likewise.
9409 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9410 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9411 ($(objpfx)tst-fmtmsg.out): Likewise.
9412 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9413 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9414
acd7f096
JM
9415 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9416 * bits/sigaction.h [__USE_MISC]: Likewise.
9417 * bits/waitstatus.h: Update #endif comments.
9418 * ctype/ctype.h: Likewise.
9419 * dirent/dirent.h: Likewise.
9420 [__USE_MISC]: Remove redundant conditionals.
9421 * grp/grp.h: Update #endif comments.
9422 [__USE_GNU]: Remove redundant conditionals.
9423 [__USE_MISC]: Likewise.
9424 * inet/netinet/in.h [__USE_GNU]: Likewise.
9425 * io/sys/stat.h [__USE_MISC]: Likewise.
9426 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9427 * libio/bits/stdio.h: Update #endif comments.
9428 [__USE_MISC]: Remove redundant conditionals.
9429 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9430 * libio/stdio.h: Update #endif comments.
9431 [__USE_MISC]: Remove redundant conditionals.
9432 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9433 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9434 * math/math.h: Update #else and #endif comments.
9435 [__USE_MISC]: Remove redundant conditionals.
9436 * misc/sys/uio.h: Update #endif comments.
9437 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9438 * posix/glob.h [__USE_MISC]: Likewise.
9439 * posix/sys/types.h: Update #endif comments.
9440 [__USE_MISC]: Remove redundant conditionals.
9441 * posix/sys/wait.h: Update #endif comments.
9442 [__USE_MISC]: Remove redundant conditionals.
9443 * posix/unistd.h: Update #endif comments.
9444 [__USE_MISC]: Remove redundant conditionals.
9445 * pwd/pwd.h [__USE_GNU]: Likewise.
9446 [__USE_MISC]: Likewise.
9447 * resolv/netdb.h [__USE_GNU]: Likewise.
9448 * signal/signal.h: Update #endif comments.
9449 [__USE_MISC]: Remove redundant conditionals.
9450 * stdlib/stdlib.h: Update #else and #endif comments.
9451 [__USE_MISC]: Remove redundant conditionals.
9452 [__USE_GNU]: Likewise.
9453 * string/bits/string2.h [__USE_MISC]: Likewise.
9454 * string/string.h: Update #endif comments.
9455 [__USE_MISC]: Remove redundant conditionals.
9456 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9457 Likewise.
9458 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9459 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9460 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9461 Likewise.
9462 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9463 Likewise.
9464 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9465 comments.
9466 [__USE_MISC]: Remove redundant conditionals.
9467 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9468 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9469 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9470 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9471 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9472 Likewise.
9473 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9474 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9475 Likewise.
9476 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9477 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9478 Likewise.
9479 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9480 Likewise.
9481 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9482 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9483 Likewise.
9484 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9485 Likewise.
9486 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9487 * sysdeps/x86/bits/string.h: Update #endif comments.
9488 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9489 conditionals.
9490 * time/sys/time.h: Update #endif comments.
9491 * time/time.h: Likewise.
9492 [__USE_MISC]: Remove redundant conditionals.
9493
a5d82e4e
YG
94942014-02-21 Yury Gribov <y.gribov@samsung.com>
9495
9496 [BZ #16600]
9497 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9498
9a80491d
AS
94992014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9500
9501 * Versions.def (librt): Add GLIBC_2.17.
9502
105fa381
AC
95032014-02-21 Adam Conrad <adconrad@0c3.net>
9504
9505 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9506 synonym for _SYS_AUXV_H to allow direct inclusion.
9507 * sysdeps/sparc/bits/hwcap.h: Likewise.
9508 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9509 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9510 * sysdeps/sparc/sysdep.h: Likewise.
9511
b8cd1c4e
SP
95122014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9513
9514 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9515
bd939d23
RS
95162014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9517
9518 * benchtests/bench-strrchr.c: Print length instead of position.
9519
5d7b57ca
JM
95202014-02-20 Joseph Myers <joseph@codesourcery.com>
9521
bc688c10
JM
9522 [BZ #16611]
9523 * sysdeps/unix/sysv/linux/kernel-features.h
9524 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9525 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9526 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9527 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9528 Likewise.
9529 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9530 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9531 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9532 (__ASSUME_SENDMMSG): Define instead of using previous
9533 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9534 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9535 (__ASSUME_SENDMMSG_SYSCALL): Define.
9536 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9537 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9538 Likewise.
9539 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9540 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9541 Likewise.
9542 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9543 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9544 Likewise.
9545 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9546 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9547 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9548 [__ASSUME_SENDMMSG]: Change conditionals to
9549 [__ASSUME_SENDMMSG_SOCKETCALL].
9550 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9551 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9552 Define.
9553 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9554 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9555 Likewise.
9556 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9557 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9558 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9559 [!__ASSUME_SENDMMSG]: Change conditional to
9560 [!__ASSUME_SENDMMSG_SOCKETCALL].
9561 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9562 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9563 Define.
9564
0e31b18c
JM
9565 [BZ #16610]
9566 * sysdeps/unix/sysv/linux/kernel-features.h
9567 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9568 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9569 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9570 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9571 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9572 [__i386__ || __sparc__]
9573 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9574 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9575 (__ASSUME_RECVMMSG): Define instead of using previous
9576 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9577 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9578 (__ASSUME_RECVMMSG_SYSCALL): Define.
9579 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9580 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9581 Likewise.
9582 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9583 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9584 Likewise.
9585 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9586 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9587 Likewise.
9588 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9589 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9590 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9591 [__ASSUME_RECVMMSG]: Change condition to
9592 [__ASSUME_RECVMMSG_SOCKETCALL].
9593 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9594 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9595 Define.
9596 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9597 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9598 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9599 Likewise.
9600 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9601 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9602 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9603 [!__ASSUME_RECVMMSG]: Change condition to
9604 [!__ASSUME_RECVMMSG_SOCKETCALL].
9605 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9606 (__ASSUME_RECVMMSG_SYSCALL): Define.
9607
dd481ccf
JM
9608 [BZ #16609]
9609 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9610 __powerpc__ || __s390__ || __sh__ || __sparc__]
9611 (__ASSUME_SOCKETCALL): Define.
9612 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9613 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9614 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9615 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9616 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9617 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9618 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9619 (__ASSUME_ACCEPT4): Define instead of using previous
9620 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9621 __powerpc__ || __sparc__ || __s390__)] condition.
9622 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9623 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9624 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9625 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9626 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9627 [!__ASSUME_ACCEPT4]: Change condition to
9628 [!__ASSUME_ACCEPT4_SOCKETCALL].
9629 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9630 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9631 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9632 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9633 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9634 __ASSUME_ACCEPT4_SYSCALL.
9635 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9636 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9637 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9638 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9639 __ASSUME_ACCEPT4_SYSCALL.
9640 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9641 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9642 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9643 [__ASSUME_ACCEPT4]: Change condition to
9644 [__ASSUME_ACCEPT4_SOCKETCALL].
9645 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9646 (__ASSUME_SOCKETCALL): Define.
9647 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9648 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9649 (__ASSUME_SOCKETCALL): Define.
9650 (__ASSUME_ACCEPT4): Remove.
9651 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9652 Define.
9653 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9654 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9655 Likewise.
9656 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9657 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9658
5d7b57ca
JM
9659 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9660 macro.
9661 (HWCAP_ARM_LPAE): Likewise.
9662 (HWCAP_ARM_EVTSTRM): Likewise.
9663 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9664 Add vpfd32, lpae and evtstrm.
9665 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9666 Increase to 22.
9667
63689d61
JM
96682014-02-19 Joseph Myers <joseph@codesourcery.com>
9669
9670 * math/auto-libm-test-in: Add tests of clog10.
9671 * math/auto-libm-test-out: Regenerated.
9672 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9673 * sysdeps/i386/fpu/libm-test-ulps: Update.
9674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9675
ab09bf61
AS
96762014-02-18 Andreas Schwab <schwab@suse.de>
9677
9678 [BZ #16574]
9679 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9680 Store non-zero if the second buffer was newly allocated.
9681 (send_dg): Likewise.
9682 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9683 to send_vc and send_dg.
9684 (res_nsend): Pass NULL for ansp2_malloced.
9685 * resolv/res_query.c (__libc_res_nquery): Add parameter
9686 answerp2_malloced and pass it down to __libc_res_nsend.
9687 (res_nquery): Pass additional NULL to __libc_res_nquery.
9688 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9689 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9690 second answer buffer if answerp2_malloced was set.
9691 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9692 (__libc_res_nquerydomain): Add parameter
9693 answerp2_malloced and pass it down to __libc_res_nquery.
9694 (res_nquerydomain): Pass additional NULL to
9695 __libc_res_nquerydomain.
9696 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9697 additional NULL to __libc_res_nsend and __libc_res_nquery.
9698 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9699 additional NULL to __libc_res_nsearch.
9700 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9701 parameter of __libc_res_nsearch to check for separately allocated
9702 second buffer.
9703 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9704 __libc_res_nquery.
9705 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9706 additional NULL to __libc_res_nquery.
9707 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9708 __libc_res_nsearch.
9709 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9710 * include/resolv.h: Update prototypes of __libc_res_nquery,
9711 __libc_res_nsearch, __libc_res_nsend.
9712
a4fb7861
JM
97132014-02-18 Joseph Myers <joseph@codesourcery.com>
9714
c6af2d89
JM
9715 * math/auto-libm-test-in: Add tests of fma.
9716 * math/auto-libm-test-out: Regenerated.
9717 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9718 (fma_towardzero_test_data): Likewise.
9719 (fma_downward_test_data): Likewise.
9720 (fma_upward_test_data): Likewise.
9721 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9722 mpc_mode.
9723 (rounding_modes): Add values for new field.
9724 (func_calc_method): Add value mpfr_fff_f.
9725 (func_calc_desc): Add mpfr_fff_f union field.
9726 (test_function): Add field exact_args.
9727 (FUNC): Add macro argument EXACT_ARGS.
9728 (FUNC_mpfr_f_f): Update call to FUNC.
9729 (FUNC_mpfr_f_f): Likewise.
9730 (FUNC_mpfr_ff_f): Likewise.
9731 (FUNC_mpfr_if_f): Likewise.
9732 (FUNC_mpc_c_f): Likewise.
9733 (FUNC_mpc_c_c): Likewise.
9734 (test_functions): Add fma. Update calls to FUNC.
9735 (handle_input_arg): Add argument exact_args.
9736 (add_test): Update call to handle_input_arg.
9737 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9738 (output_for_one_input_case): Update call to calc_generic_results.
9739 Recalculate exact zero results in each rounding mode.
9740
a4fb7861
JM
9741 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9742 non-negative before setting low bit.
9743 * math/auto-libm-test-in: Mark one asin test possibly having
9744 spurious underflow.
9745 * math/auto-libm-test-out: Regenerated.
9746 * sysdeps/i386/fpu/libm-test-ulps: Update.
9747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9748
ef114eaf
DH
97492014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9750
2b7f4f2c
SP
9751 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9752 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9753 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
9754 * README: Add missing listing for microblaze*-*-linux-gnu.
9755
c70a4b1d
MF
97562014-02-16 Mike Frysinger <vapier@gentoo.org>
9757
9758 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9759 * sysdeps/unix/sysv/linux/ia64: Move directory from
9760 ports/sysdeps/unix/sysv/linux/ia64.
9761 * README: Update listing for ia64-*-linux-gnu.
9762
591aeaf7
TD
97632014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9764 Joseph Myers <joseph@codesourcery.com>
9765
9766 * Makeconfig (test-name): New variable.
9767 (evaluate-test): Likewise.
9768 * Makerules (do-test-clean): Remove .test-result files.
9769 (common-mostlyclean): Likewise.
9770 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9771 * scripts/evaluate-test.sh: New file.
9772
6e89caf1
JM
97732014-02-14 Joseph Myers <joseph@codesourcery.com>
9774
7f98f180
JM
9775 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9776 separate $(objpfx)tst-fopenloc-cmp.out and
9777 $(objpfx)tst-fopenloc-mem.out targets.
9778 (tests): Update dependencies.
9779 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9780 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9781 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9782 (tst-rxspencer-no-utf8-ARGS): New variable.
9783 (tst-rxspencer-no-utf8-ENV): Likewise.
9784 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9785 instead of $(objpfx)tst-rxspencer-mem.
9786 ($(objpfx)tst-rxspencer-mem): Change target to
9787 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9788 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9789 * posix/tst-rxspencer-no-utf8.c: New file.
9790
6e89caf1
JM
9791 * elf/Makefile ($(objpfx)order.out): Remove rule.
9792 [$(run-built-tests) = yes] (tests): Depend on
9793 $(objpfx)order-cmp.out.
9794 ($(objpfx)order-cmp.out): New rule.
9795 [$(run-built-tests) = yes] (tests): Depend on
9796 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9797 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9798 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9799 $(objpfx)tst-array5-static-cmp.out.
9800 ($(objpfx)tst-array1.out): Remove rule.
9801 ($(objpfx)tst-array1-cmp.out): New rule.
9802 ($(objpfx)tst-array1-static.out): Remove rule.
9803 ($(objpfx)tst-array1-static-cmp.out): New rule.
9804 ($(objpfx)tst-array2.out): Remove rule.
9805 ($(objpfx)tst-array2-cmp.out): New rule.
9806 ($(objpfx)tst-array3.out): Remove rule.
9807 ($(objpfx)tst-array3-cmp.out): New rule.
9808 ($(objpfx)tst-array4.out): Remove rule.
9809 ($(objpfx)tst-array4-cmp.out): New rule.
9810 ($(objpfx)tst-array5.out): Remove rule.
9811 ($(objpfx)tst-array5-cmp.out): New rule.
9812 ($(objpfx)tst-array5-static.out): Remove rule.
9813 ($(objpfx)tst-array5-static-cmp.out): New rule.
9814 [$(run-built-tests) = yes] (tests): Depend on
9815 $(objpfx)order2-cmp.out.
9816 ($(objpfx)order2.out): Remove rule.
9817 ($(objpfx)order2-cmp.out): New rule.
9818 ($(objpfx)tst-initorder.out): Remove rule.
9819 [$(run-built-tests) = yes] (tests): Depend on
9820 $(objpfx)tst-initorder-cmp.out.
9821 ($(objpfx)tst-initorder-cmp.out): New rule.
9822 ($(objpfx)tst-initorder2.out): Remove rule.
9823 [$(run-built-tests) = yes] (tests): Depend on
9824 $(objpfx)tst-initorder2-cmp.out.
9825 ($(objpfx)tst-initorder2-cmp.out): New rule.
9826 [$(run-built-tests) = yes] (tests): Depend on
9827 $(objpfx)tst-unused-dep-cmp.out.
9828 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9829 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9830 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9831 on $(objpfx)tst-setvbuf1-cmp.out.
9832 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9833 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9834 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9835 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9836 ($(objpfx)tst-svc.out): Remove rule.
9837 ($(objpfx)tst-svc-cmp.out): New rule.
9838
ed9a38e2
JM
98392014-02-13 Joseph Myers <joseph@codesourcery.com>
9840
9841 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9842 * ctype/ctype.h [__USE_MISC]: Likewise.
9843 * dirent/dirent.h [__USE_MISC]: Likewise.
9844 * grp/grp.h [__USE_MISC]: Likewise.
9845 * io/fcntl.h [__USE_MISC]: Likewise.
9846 * io/sys/stat.h [__USE_MISC]: Likewise.
9847 * libio/stdio.h [__USE_MISC]: Likewise.
9848 * posix/unistd.h [__USE_MISC]: Likewise.
9849 * pwd/pwd.h [__USE_MISC]: Likewise.
9850 * stdlib.h [__USE_MISC]: Likewise.
9851 * string/bits/string2.h [__USE_MISC]: Likewise.
9852 * string/string.h [__USE_MISC]: Likewise.
9853 * time/time.h [__USE_MISC]: Likewise.
9854
d6680619
AS
98552014-02-13 Andreas Schwab <schwab@suse.de>
9856
9857 [BZ #16574]
9858 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9859 second answer buffer if it was separately allocated.
9860
ace614b8
JM
98612014-02-12 Joseph Myers <joseph@codesourcery.com>
9862
743151ae
JM
9863 * sysdeps/mips/math-tests.h: Include <features.h>.
9864 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9865 (ROUNDING_TESTS_long_double): Do not define.
9866 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9867 (EXCEPTION_TESTS_long_double): Likewise.
9868 * sysdeps/mips/mips64/libm-test-ulps: Update.
9869
498afc54
JM
9870 * include/features.h (__USE_BSD): Remove macro definitions.
9871 (__USE_SVID): Likewise.
9872 (_BSD_SOURCE): Likewise.
9873 (_SVID_SOURCE): Likewise.
9874 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9875 from definition of _DEFAULT_SOURCE.
9876 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9877 [_DEFAULT_SOURCE].
9878 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9879 * bits/mman.h [__USE_BSD]: Likewise.
9880 * bits/termios.h [__USE_BSD]: Likewise.
9881 * bits/waitstatus.h [__USE_BSD]: Likewise.
9882 * ctype/ctype.h [__USE_SVID]: Likewise.
9883 * dirent/dirent.h [__USE_BSD]: Likewise.
9884 * grp/grp.h [__USE_SVID]: Likewise.
9885 [__USE_BSD]: Likewise.
9886 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9887 * io/fcntl.h [__USE_BSD]: Likewise.
9888 * io/ftw.h [__USE_BSD]: Likewise.
9889 * io/sys/stat.h [__USE_BSD]: Likewise.
9890 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9891 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9892 * libio/stdio.h [__USE_SVID]: Likewise.
9893 [__USE_BSD]: Likewise.
9894 * math/math.h [__USE_SVID]: Likewise.
9895 [__USE_BSD]: Likewise.
9896 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9897 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9898 * misc/search.h [__USE_SVID]: Likewise.
9899 * misc/sys/mman.h [__USE_BSD]: Likewise.
9900 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9901 * misc/sys/uio.h [__USE_BSD]: Likewise.
9902 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9903 * posix/glob.h [__USE_BSD]: Likewise.
9904 * posix/regex.h [__USE_BSD]: Likewise.
9905 * posix/sys/types.h [__USE_BSD]: Likewise.
9906 [__USE_SVID]: Likewise.
9907 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9908 * posix/sys/wait.h [__USE_BSD]: Likewise.
9909 [__USE_SVID]: Likewise.
9910 * posix/unistd.h [__USE_BSD]: Likewise.
9911 [__USE_SVID]: Likewise.
9912 * pwd/pwd.h [__USE_SVID]: Likewise.
9913 * resolv/netdb.h [__USE_BSD]: Likewise.
9914 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9915 * signal/signal.h [__USE_BSD]: Likewise.
9916 [__USE_SVID]: Likewise.
9917 * socket/sys/socket.h [__USE_BSD]: Likewise.
9918 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9919 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9920 [__USE_SVID]: Likewise.
9921 * string/bits/string2.h [__USE_BSD]: Likewise.
9922 [__USE_SVID]: Likewise.
9923 * string/bits/string3.h [__USE_BSD]: Likewise.
9924 * string/endian.h [__USE_BSD]: Likewise.
9925 * string/string.h [__USE_SVID]: Likewise.
9926 [__USE_BSD]: Likewise.
9927 * string/strings.h [__USE_BSD]: Likewise.
9928 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9929 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9930 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9931 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9932 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9933 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9934 Likewise.
9935 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9936 Likewise.
9937 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9938 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9939 Likewise.
9940 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9941 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9942 Likewise.
9943 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9944 Likewise.
9945 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9946 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9947 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9948 Likewise.
9949 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9950 Likewise.
9951 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9952 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9953 * termios/termios.h [__USE_BSD]: Likewise.
9954 * time/sys/time.h [__USE_BSD]: Likewise.
9955 * time/time.h [__USE_BSD]: Likewise.
9956 [__USE_SVID]: Likewise.
9957
dd7b064c
JM
9958 * Makefile (subdir_targets): Remove subdir_lint.out.
9959
a2c4c199
JM
9960 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9961 (do-tst-printf): Likewise.
9962 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9963 $(objpfx)tst-printf.out.
9964
8756f740
JM
9965 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9966
1b6dd3f1
JM
9967 * Makerules (check-abi-%): Change target to
9968 $(objpfx)check-abi-%.out.
9969 (check-abi target): Update dependencies.
9970 (check-abi-pattern variable): Redirect output of diff to $@.
9971 (check-abi variable): Likewise.
9972 * elf/Makefile (check-abi): Update dependencies.
9973
ace614b8
JM
9974 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9975 unused.
9976 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9977 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9978 subnormal range.
9979 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9980 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9981 value has largest subnormal exponent.
9982 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9983 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9984 * sysdeps/aarch64/soft-fp/sfp-machine.h
9985 (_FP_TININESS_AFTER_ROUNDING): New macro.
9986 * sysdeps/alpha/soft-fp/sfp-machine.h
9987 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9988 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9989 Likewise.
9990 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9991 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9992 * sysdeps/mips/soft-fp/sfp-machine.h
9993 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9994 * sysdeps/powerpc/soft-fp/sfp-machine.h
9995 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9996 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9997 Likewise.
9998 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9999 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10001 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10002 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10003 Likewise.
10004
fbfdf9cb
DAS
100052014-02-12 Dylan Alex Simon <dylan@dylex.net>
10006
10007 [BZ #16545]
10008 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10009 model 1.
10010
68b7efaa
RH
100112014-02-12 Richard Henderson <rth@redhat.com>
10012
c70a4b1d 10013 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
10014 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10015 * sysdeps/unix/sysv/linux/alpha: Move directory from
10016 ports/sysdeps/unix/sysv/linux/alpha.
10017 * README: Update listing for alpha-*-linux-gnu.
10018
cb4a2928
JM
100192014-02-11 Joseph Myers <joseph@codesourcery.com>
10020
c941736c
JM
10021 * include/features.h: Update comment documenting feature test
10022 macros.
10023 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10024 _DEFAULT_SOURCE.
10025 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10026 (_SVID_SOURCE): Likewise.
10027 (_DEFAULT_SOURCE): Update description of default features.
10028 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10029 with _GNU_SOURCE.
10030 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10031 (S_ISVTX): Likewise.
10032 * manual/math.texi (Mathematical Constants): Likewise.
10033 * manual/signal.texi (Interrupted Primitives): Likewise.
10034 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10035 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10036 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10037 Don't refer to _SVID_SOURCE in warning text.
10038
e8d8d7ec
JM
10039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10040
cb4a2928
JM
10041 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10042 already defined.
10043 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10044 * sysdeps/mips/dl-lookup.c: Remove.
10045 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10046
7e6424e3
AK
100472014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10048
10049 [BZ #16447]
10050 * math/auto-libm-test-in: Add testcase for expl.
10051 * math/auto-libm-test-out: Regenerate.
10052 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10053 calculation of unsafe.
10054 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10055
75eff3fe
MS
100562014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10057
10058 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10059 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10060 ports/sysdeps/unix/sysv/linux/aarch64.
10061 * README: Update listing for aarch64*-*-linux-gnu.
10062
d35f1e80
WN
100632014-02-11 Will Newton <will.newton@linaro.org>
10064
10065 * manual/probes.texi (Mathematical Function Probes): Use
10066 "triggered" instead of "hit".
10067
7b3436d4
WN
10068 * manual/probes.texi (Internal Probes): Add documentation
10069 of setjmp, longjmp and longjmp_target probes.
10070
b4f12ca3
WN
10071 * include/stap-probe.h: Add comment about probe argument
10072 format.
10073
c13a72b7
WN
10074 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10075 definition. (tr_where, tr_freehook, tr_mallochook,
10076 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10077
195b8165
DM
100782014-02-11 David S. Miller <davem@davemloft.net>
10079
10080 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10081 processing int_tests.
10082
2ad7600b
JM
100832014-02-10 Joseph Myers <joseph@codesourcery.com>
10084
10085 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10086 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10087 * sysdeps/unix/sysv/linux/mips: Move directory from
10088 ports/sysdeps/unix/sysv/linux/mips.
10089 * README: Update listing for mips-*-linux-gnu and
10090 mips64-*-linux-gnu.
10091
73588a72
AS
100922014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10093
10094 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10095 * sysdeps/unix/sysv/linux/m68k: Move directory from
10096 ports/sysdeps/unix/sysv/linux/m68k.
10097 * README: Update listing for m68k-*-linux-gnu.
10098
4372980f
CM
100992014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10100
10101 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10102 * sysdeps/unix/sysv/linux/generic: Move directory from
10103 ports/sysdeps/unix/sysv/linux/generic.
10104 * sysdeps/unix/sysv/linux/tile: Move directory from
10105 ports/sysdeps/unix/sysv/linux/tile.
10106 * README: Update listing for tile*-*-linux-gnu.
10107
a1ffb40e
OB
101082014-02-10 Ondřej Bílka <neleai@seznam.cz>
10109
57f41c40
AS
10110 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10111 __builtin_expect.
a1ffb40e
OB
10112 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10113 * catgets/open_catalog.c (__open_catalog): Likewise.
10114 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10115 * debug/confstr_chk.c: Likewise.
10116 * debug/fread_chk.c (__fread_chk): Likewise.
10117 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10118 * debug/getgroups_chk.c: Likewise.
10119 * debug/mbsnrtowcs_chk.c: Likewise.
10120 * debug/mbsrtowcs_chk.c: Likewise.
10121 * debug/mbstowcs_chk.c: Likewise.
10122 * debug/memcpy_chk.c: Likewise.
10123 * debug/memmove_chk.c: Likewise.
10124 * debug/mempcpy_chk.c: Likewise.
10125 * debug/memset_chk.c: Likewise.
10126 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10127 * debug/strcat_chk.c (__strcat_chk): Likewise.
10128 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10129 * debug/strncat_chk.c (__strncat_chk): Likewise.
10130 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10131 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10132 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10133 * debug/wcpncpy_chk.c: Likewise.
10134 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10135 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10136 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10137 * debug/wcsncpy_chk.c: Likewise.
10138 * debug/wcsnrtombs_chk.c: Likewise.
10139 * debug/wcsrtombs_chk.c: Likewise.
10140 * debug/wcstombs_chk.c: Likewise.
10141 * debug/wmemcpy_chk.c: Likewise.
10142 * debug/wmemmove_chk.c: Likewise.
10143 * debug/wmempcpy_chk.c: Likewise.
10144 * debug/wmemset_chk.c: Likewise.
10145 * dirent/scandirat.c (SCANDIRAT): Likewise.
10146 * dlfcn/dladdr1.c (dladdr1): Likewise.
10147 * dlfcn/dladdr.c (dladdr): Likewise.
10148 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10149 * dlfcn/dlerror.c (__dlerror): Likewise.
10150 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10151 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10152 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10153 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10154 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10155 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10156 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10157 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10158 Likewise.
10159 * elf/dl-conflict.c: Likewise.
10160 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10161 * elf/dl-dst.h: Likewise.
10162 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10163 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10164 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10165 * elf/dl-init.c (call_init, _dl_init): Likewise.
10166 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
10167 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10168 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10169 Likewise.
a1ffb40e
OB
10170 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10171 Likewise.
10172 * elf/dl-minimal.c (__libc_memalign): Likewise.
10173 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10174 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10175 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10176 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
10177 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10178 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
10179 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10180 * elf/dl-writev.h (_dl_writev): Likewise.
10181 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
10182 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10183 (dl_main): Likewise.
a1ffb40e
OB
10184 * elf/setup-vdso.h (setup_vdso): Likewise.
10185 * grp/compat-initgroups.c (compat_call): Likewise.
10186 * grp/fgetgrent.c (fgetgrent): Likewise.
10187 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10188 * grp/putgrent.c (putgrent): Likewise.
10189 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10190 Likewise.
10191 * hurd/hurdinit.c: Likewise.
10192 * iconvdata/8bit-gap.c (struct): Likewise.
10193 * iconvdata/ansi_x3.110.c : Likewise.
10194 * iconvdata/big5.c : Likewise.
10195 * iconvdata/big5hkscs.c : Likewise.
10196 * iconvdata/cp1255.c: Likewise.
10197 * iconvdata/cp1258.c : Likewise.
10198 * iconvdata/cp932.c : Likewise.
10199 * iconvdata/euc-cn.c: Likewise.
10200 * iconvdata/euc-jisx0213.c : Likewise.
10201 * iconvdata/euc-jp.c: Likewise.
10202 * iconvdata/euc-jp-ms.c : Likewise.
10203 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10204 * iconvdata/gb18030.c : Likewise.
10205 * iconvdata/gbbig5.c (const): Likewise.
10206 * iconvdata/gbgbk.c: Likewise.
10207 * iconvdata/gbk.c : Likewise.
10208 * iconvdata/ibm1364.c : Likewise.
10209 * iconvdata/ibm930.c : Likewise.
10210 * iconvdata/ibm932.c: Likewise.
10211 * iconvdata/ibm933.c : Likewise.
10212 * iconvdata/ibm935.c : Likewise.
10213 * iconvdata/ibm937.c : Likewise.
10214 * iconvdata/ibm939.c : Likewise.
10215 * iconvdata/ibm943.c: Likewise.
10216 * iconvdata/iso_11548-1.c: Likewise.
10217 * iconvdata/iso-2022-cn.c : Likewise.
10218 * iconvdata/iso-2022-cn-ext.c : Likewise.
10219 * iconvdata/iso-2022-jp-3.c: Likewise.
10220 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10221 * iconvdata/iso-2022-kr.c : Likewise.
10222 * iconvdata/iso646.c (gconv_end): Likewise.
10223 * iconvdata/iso_6937-2.c : Likewise.
10224 * iconvdata/iso_6937.c : Likewise.
10225 * iconvdata/iso8859-1.c: Likewise.
10226 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10227 * iconvdata/shift_jisx0213.c : Likewise.
10228 * iconvdata/sjis.c : Likewise.
10229 * iconvdata/t.61.c : Likewise.
10230 * iconvdata/tcvn5712-1.c : Likewise.
10231 * iconvdata/tscii.c: Likewise.
10232 * iconvdata/uhc.c : Likewise.
10233 * iconvdata/unicode.c (gconv_end): Likewise.
10234 * iconvdata/utf-16.c (gconv_end): Likewise.
10235 * iconvdata/utf-32.c (gconv_end): Likewise.
10236 * iconvdata/utf-7.c (base64): Likewise.
10237 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10238 * iconv/gconv_close.c (__gconv_close): Likewise.
10239 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
10240 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10241 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10242 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10243 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10244 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
10245 * iconv/iconv.c (iconv): Likewise.
10246 * iconv/iconv_close.c: Likewise.
10247 * iconv/loop.c (SINGLE): Likewise.
10248 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10249 * include/atomic.h: Likewise.
10250 * inet/inet6_option.c (option_alloc): Likewise.
10251 * intl/bindtextdom.c (set_binding_values): Likewise.
10252 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10253 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10254 * intl/localealias.c (read_alias_file): Likewise.
10255 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
10256 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10257 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
10258 * libio/fmemopen.c (fmemopen): Likewise.
10259 * libio/iofgets.c (_IO_fgets): Likewise.
10260 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10261 * libio/iofgetws.c (fgetws): Likewise.
10262 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10263 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
10264 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10265 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
10266 * locale/findlocale.c (_nl_find_locale): Likewise.
10267 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10268 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10269 Likewise.
10270 * locale/setlocale.c (setlocale): Likewise.
10271 * login/programs/pt_chown.c (main): Likewise.
10272 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10273 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
10274 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10275 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
10276 * math/e_exp2l.c: Likewise.
10277 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10278 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10279 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10280 * math/s_catan.c (__catan): Likewise.
10281 * math/s_catanf.c (__catanf): Likewise.
10282 * math/s_catanh.c (__catanh): Likewise.
10283 * math/s_catanhf.c (__catanhf): Likewise.
10284 * math/s_catanhl.c (__catanhl): Likewise.
10285 * math/s_catanl.c (__catanl): Likewise.
10286 * math/s_ccosh.c (__ccosh): Likewise.
10287 * math/s_ccoshf.c (__ccoshf): Likewise.
10288 * math/s_ccoshl.c (__ccoshl): Likewise.
10289 * math/s_cexp.c (__cexp): Likewise.
10290 * math/s_cexpf.c (__cexpf): Likewise.
10291 * math/s_cexpl.c (__cexpl): Likewise.
10292 * math/s_clog10.c (__clog10): Likewise.
10293 * math/s_clog10f.c (__clog10f): Likewise.
10294 * math/s_clog10l.c (__clog10l): Likewise.
10295 * math/s_clog.c (__clog): Likewise.
10296 * math/s_clogf.c (__clogf): Likewise.
10297 * math/s_clogl.c (__clogl): Likewise.
10298 * math/s_csin.c (__csin): Likewise.
10299 * math/s_csinf.c (__csinf): Likewise.
10300 * math/s_csinh.c (__csinh): Likewise.
10301 * math/s_csinhf.c (__csinhf): Likewise.
10302 * math/s_csinhl.c (__csinhl): Likewise.
10303 * math/s_csinl.c (__csinl): Likewise.
10304 * math/s_csqrt.c (__csqrt): Likewise.
10305 * math/s_csqrtf.c (__csqrtf): Likewise.
10306 * math/s_csqrtl.c (__csqrtl): Likewise.
10307 * math/s_ctan.c (__ctan): Likewise.
10308 * math/s_ctanf.c (__ctanf): Likewise.
10309 * math/s_ctanh.c (__ctanh): Likewise.
10310 * math/s_ctanhf.c (__ctanhf): Likewise.
10311 * math/s_ctanhl.c (__ctanhl): Likewise.
10312 * math/s_ctanl.c (__ctanl): Likewise.
10313 * math/w_pow.c: Likewise.
10314 * math/w_powf.c: Likewise.
10315 * math/w_powl.c: Likewise.
10316 * math/w_scalb.c (sysv_scalb): Likewise.
10317 * math/w_scalbf.c (sysv_scalbf): Likewise.
10318 * math/w_scalbl.c (sysv_scalbl): Likewise.
10319 * misc/error.c (error_tail): Likewise.
10320 * misc/pselect.c (__pselect): Likewise.
10321 * nis/nis_callback.c (__nis_create_callback): Likewise.
10322 * nis/nis_call.c (__nisfind_server): Likewise.
10323 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10324 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10325 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10326 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10327 * nis/nis_lookup.c (nis_lookup): Likewise.
10328 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10329 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10330 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10331 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10332 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10333 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10334 * nis/nss_compat/compat-initgroups.c (add_group)
10335 (internal_getgrent_r): Likewise.
10336 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10337 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10338 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10339 (internal_getspnam_r): Likewise.
10340 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10341 (_nss_nis_getaliasbyname_r): Likewise.
10342 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10343 (_nss_nis_getntohost_r): Likewise.
10344 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10345 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10346 (_nss_nis_getgrgid_r): Likewise.
10347 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10348 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10349 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10350 (_nss_nis_gethostbyname4_r): Likewise.
10351 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10352 (initgroups_netid): Likewise.
a1ffb40e 10353 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10354 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10355 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10356 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10357 (_nss_nis_getprotobynumber_r): Likewise.
10358 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10359 (_nss_nis_getsecretkey): Likewise.
10360 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10361 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10362 (_nss_nis_getpwuid_r): Likewise.
10363 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10364 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10365 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10366 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10367 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10368 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10369 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10370 Likewise.
57f41c40
AS
10371 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10372 (_nss_nisplus_getntohost_r): Likewise.
10373 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10374 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10375 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10376 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10377 Likewise.
57f41c40
AS
10378 * nis/nss_nisplus/nisplus-initgroups.c
10379 (_nss_nisplus_initgroups_dyn): Likewise.
10380 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10381 (_nss_nisplus_getnetbyaddr_r): Likewise.
10382 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10383 (_nss_nisplus_getprotobynumber_r): Likewise.
10384 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10385 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10386 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10387 Likewise.
57f41c40
AS
10388 * nis/nss_nisplus/nisplus-service.c
10389 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10390 (_nss_nisplus_getservbyport_r): Likewise.
10391 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10392 (_nss_nisplus_getspnam_r): Likewise.
10393 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10394 Likewise.
a1ffb40e
OB
10395 * nscd/aicache.c (addhstaiX): Likewise.
10396 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10397 * nscd/connections.c (register_traced_file, send_ro_fd)
10398 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10399 (main_loop_epoll): Likewise.
a1ffb40e
OB
10400 * nscd/grpcache.c (addgrbyX): Likewise.
10401 * nscd/hstcache.c (addhstbyX): Likewise.
10402 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10403 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10404 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10405 (addinnetgrX): Likewise.
10406 * nscd/nscd-client.h (__nscd_acquire_maplock)
10407 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10408 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10409 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10410 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10411 Likewise.
10412 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10413 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10414 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10415 (__nscd_get_map_ref): Likewise.
a1ffb40e 10416 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10417 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10418 Likewise.
a1ffb40e
OB
10419 * nscd/pwdcache.c (addpwbyX): Likewise.
10420 * nscd/selinux.c (preserve_capabilities): Likewise.
10421 * nscd/servicescache.c (addservbyX): Likewise.
10422 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10423 * posix/fnmatch.c (fnmatch): Likewise.
10424 * posix/getopt.c (_getopt_internal_r): Likewise.
10425 * posix/glob.c (glob, glob_in_dir): Likewise.
10426 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10427 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10428 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10429 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10430 * resolv/res_init.c: Likewise.
10431 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10432 * resolv/res_query.c (__libc_res_nquery): Likewise.
10433 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10434 Likewise.
10435 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10436 * stdio-common/perror.c (perror): Likewise.
10437 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10438 * stdio-common/tmpnam.c (tmpnam): Likewise.
10439 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10440 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10441 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10442 Likewise.
a1ffb40e
OB
10443 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10444 * stdlib/putenv.c (putenv): Likewise.
10445 * stdlib/setenv.c (__add_to_environ): Likewise.
10446 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10447 * stdlib/strtol_l.c (INTERNAL): Likewise.
10448 * string/memmem.c (memmem): Likewise.
10449 * string/strerror.c (strerror): Likewise.
10450 * string/strnlen.c (__strnlen): Likewise.
10451 * string/test-memmem.c (simple_memmem): Likewise.
10452 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10453 * sunrpc/pm_getport.c (__get_socket): Likewise.
10454 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10455 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10456 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10457 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10458 Likewise.
10459 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10460 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10461 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10462 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10463 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10464 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10465 Likewise.
10466 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10467 Likewise.
a1ffb40e
OB
10468 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10469 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10470 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10471 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10472 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10474 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10475 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10476 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10477 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10478 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10479 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10480 Likewise.
10481 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10482 Likewise.
10483 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10484 Likewise.
10485 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10486 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10487 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10488 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10489 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10490 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10491 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10492 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10493 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10494 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10495 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10497 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10498 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10500 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10501 Likewise.
a1ffb40e
OB
10502 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10503 Likewise.
10504 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10505 Likewise.
10506 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10507 Likewise.
10508 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10510 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10511 Likewise.
10512 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10513 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10514 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10515 * sysdeps/posix/sleep.c: Likewise.
10516 * sysdeps/posix/tempname.c: Likewise.
10517 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10518 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10519 Likewise.
57f41c40
AS
10520 * sysdeps/powerpc/powerpc32/dl-machine.h
10521 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10522 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10523 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10524 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10525 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10526 Likewise.
10527 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10528 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10529 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10530 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10531 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10532 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10533 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10534 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10535 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10536 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10537 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10538 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10539 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10540 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10541 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10542 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10543 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10544 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10545 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10546 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10547 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10548 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10549 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10550 Likewise.
10551 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10552 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10553 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10554 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10555 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10556 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10557 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10558 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10559 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10560 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10561 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10562 Likewise.
10563 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10564 (__posix_fallocate64_l64): Likewise.
10565 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10566 (posix_fallocate): Likewise.
57f41c40
AS
10567 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10568 Likewise.
a1ffb40e 10569 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
10570 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10571 (getifaddrs_internal): Likewise.
a1ffb40e
OB
10572 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10573 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10574 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10575 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10576 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10577 (__posix_fallocate64_l64): Likewise.
10578 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10579 Likewise.
10580 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
10581 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10582 (__get_clockfreq): Likewise.
a1ffb40e
OB
10583 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10584 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10585 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10586 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10587 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10588 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10589 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10590 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10591 Likewise.
10592 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10593 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10594 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10595 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10596 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10597 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10598 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10599 Likewise.
10600 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10601 (posix_fallocate): Likewise.
10602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10603 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10604 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10605 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10606 (elf_machine_rela, elf_machine_rela_relative)
10607 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10608 * time/asctime.c (asctime_internal): Likewise.
10609 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10610 * time/tzset.c (__tzset_parse_tz): Likewise.
10611 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10612 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10613 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10614 * wcsmbs/wcsmbsload.h: Likewise.
10615
f3d338c9
OB
10616 [BZ #15894]
10617 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10618
57f41c40
AS
10619 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10620 (arena_get2): Remove THREAD_STATS conditionals.
10621 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10622 (__malloc_stats, int): Likewise.
bdfe308a 10623
d674667c
MF
106242014-02-08 Mike Frysinger <vapier@gentoo.org>
10625
10626 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10627 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10628
6349768c
MF
10629 * manual/setjmp.texi: Fix typos/grammar errors.
10630
0b7c7473
MF
10631 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10632 Only return early when n is <= 0. Delete unused return statement.
10633
ac8cc9e3
MF
10634 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10635 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10636 * debug/tst-longjmp_chk3.c: New file.
10637
c5bb8e23
MF
10638 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10639 (test_main): Replace code with set_fortify_handler call.
10640 * debug/test-strcpy_chk.c: Likewise.
10641 * debug/tst-chk1.c: Likewise.
10642 * debug/tst-longjmp_chk.c: Likewise.
10643 * test-skeleton.c: Include fcntl.h & paths.h
10644 (set_fortify_handler): Define.
10645
10444e42
MF
10646 * debug/tst-longjmp_chk.c: Add header comment and include
10647 ../test-skeleton.c.
10648 (do_test): Mark static.
10649 (TEST_FUNCTION): Define.
10650
1e805e8d
MF
10651 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10652 (IP_PMTUDISC_INTERFACE): Likewise.
10653 (IP_MULTICAST_IF): Likewise.
10654 (IP_MULTICAST_TTL): Likewise.
10655 (IP_MULTICAST_LOOP): Likewise.
10656 (IP_ADD_MEMBERSHIP): Likewise.
10657 (IP_DROP_MEMBERSHIP): Likewise.
10658 (IP_UNBLOCK_SOURCE): Likewise.
10659 (IP_BLOCK_SOURCE): Likewise.
10660 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10661 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10662 (IP_MSFILTER): Likewise.
10663 (MCAST_JOIN_GROUP): Likewise.
10664 (MCAST_BLOCK_SOURCE): Likewise.
10665 (MCAST_UNBLOCK_SOURCE): Likewise.
10666 (MCAST_LEAVE_GROUP): Likewise.
10667 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10668 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10669 (MCAST_MSFILTER): Likewise.
10670 (IP_MULTICAST_ALL): Likewise.
10671 (IP_UNICAST_IF): Likewise.
10672
73f79bb7
MF
10673 * timezone/Makefile: Delete $(have-ksh) check.
10674 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10675 * timezone/tzselect.ksh: Add +x mode bits.
10676
8da79b60
MF
10677 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10678 (ANON_INODE_FS_MAGIC): Likewise.
10679 (BDEVFS_MAGIC): Likewise.
10680 (BINFMTFS_MAGIC): Likewise.
10681 (BTRFS_TEST_MAGIC): Likewise.
10682 (CRAMFS_MAGIC_WEND): Likewise.
10683 (DEBUGFS_MAGIC): Likewise.
10684 (ECRYPTFS_SUPER_MAGIC): Likewise.
10685 (EXT3_SUPER_MAGIC): Likewise.
10686 (EXT4_SUPER_MAGIC): Likewise.
10687 (FUTEXFS_SUPER_MAGIC): Likewise.
10688 (HOSTFS_SUPER_MAGIC): Likewise.
10689 (HUGETLBFS_MAGIC): Likewise.
10690 (MINIX3_SUPER_MAGIC): Likewise.
10691 (MTD_INODE_FS_MAGIC): Likewise.
10692 (NILFS_SUPER_MAGIC): Likewise.
10693 (OPENPROM_SUPER_MAGIC): Likewise.
10694 (PIPEFS_MAGIC): Likewise.
10695 (PSTOREFS_MAGIC): Likewise.
10696 (QNX6_SUPER_MAGIC): Likewise.
10697 (RAMFS_MAGIC): Likewise.
10698 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10699 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10700 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10701 (SECURITYFS_MAGIC): Likewise.
10702 (SELINUX_MAGIC): Likewise.
10703 (SMACK_MAGIC): Likewise.
10704 (SOCKFS_MAGIC): Likewise.
10705 (SQUASHFS_MAGIC): Likewise.
10706 (STACK_END_MAGIC): Likewise.
10707 (TMPFS_MAGIC): Likewise.
10708 (USBDEVICE_SUPER_MAGIC): Likewise.
10709 (V9FS_MAGIC): Likewise.
10710 (XENFS_SUPER_MAGIC): Likewise.
10711 (CRAMFS_MAGIC): Fix typo in comment.
10712 (EXT2_SUPER_MAGIC): Update comment.
10713 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10714
464263cc
JM
107152014-02-08 Joseph Myers <joseph@codesourcery.com>
10716
c6bfe5c4
JM
10717 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10718 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10719 * sysdeps/unix/sysv/linux/arm: Move directory from
10720 ports/sysdeps/unix/sysv/linux/arm.
10721 * README: Update listing for arm-*-linux-gnueabi.
10722
464263cc
JM
10723 * README: Remove mention of am33.
10724
32749f6c
RM
107252014-02-07 Roland McGrath <roland@hack.frob.com>
10726
10727 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10728 than the comma operator, to avoid "rhs of comma has no effect"
10729 compiler warnings.
10730 (__sigfillset, __sigandset, __sigorset): Likewise.
10731 * include/signal.h (__sigemptyset): Likewise.
10732 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10733
d5b396c1
AM
107342014-02-07 Allan McRae <allan@archlinux.org>
10735
10736 * version.h (RELEASE): Set to "development".
10737 (VERSION): Set to "2.19.90"
10738 * NEWS: Add 2.20 section.
10739
3bfff2ed
CD
107402014-02-06 Carlos O'Donell <carlos@redhat.com>
10741
10742 [BZ #16529]
10743 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10744
ee7cc385
SP
107452014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10746
10747 * manual/contrib.texi: Update entry for Carlos O'Donell,
10748 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10749
f877c4f2
CD
107502014-02-05 Carlos O'Donell <carlos@rehdat.com>
10751
27e839f6
CD
10752 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10753
f877c4f2
CD
10754 * sysdeps/unix/sysv/linux/kernel-features.h
10755 [__LINUX_KERNEL_VERSION >= 0x020621]
10756 (__ASSUME_PROC_PID_TASK_COMM): Define.
10757
68159946
SP
107582014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10759
ba17cdbd
SP
10760 [BZ #16398]
10761 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10762 conversion when destination buffer does not have enough space.
10763 * libio/tst-ftell-partial-wide.c: New test case.
10764 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10765
68159946
SP
10766 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10767 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10768 Leonard and Allan McRae.
10769
2b528732
DM
107702014-02-04 David S. Miller <davem@davemloft.net>
10771
10772 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10773 32-bit.
10774
0ff82463
AZ
107752014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10776
57f41c40
AS
10777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10778 New file
c01603f7
AZ
10779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10780 New file
57f41c40
AS
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10782 New file.
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10784 New file.
c01603f7
AZ
10785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10786 New file.
57f41c40
AS
10787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10788 New file.
10789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10790 New file.
c01603f7
AZ
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10792 New file.
10793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10794 New file.
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10796 New file.
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10798 New file.
10799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10800 New file.
10801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10802 New file.
10803
108042014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10805
0ff82463
AZ
10806 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10807 * shlib-versions: Likewise.
10808
1695c773
AZ
108092014-02-04 Roland McGrath <roland@hack.frob.com>
10810 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10811
10812 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10813 (abilist-pattern): New variable, set to %-le.abilist.
10814
10815 * Makerules (abilist-pattern): New variable.
10816 (vpath): Use $(abilist-pattern) in place of %.abilist.
10817 (check-abi-% pattern rule): Likewise.
10818 (check-abi, update-abi): Likewise.
10819
6c0ce4b4
EW
108202014-02-04 Eric Wong <normalperson@yhbt.net>
10821
10822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10823
481e3524
CD
108242014-02-03 Carlos O'Donell <carlos@redhat.com>
10825
10826 * manual/startup.texi: Add next, previous, and top entries for
10827 the `Program Arguments' and `Environment Variables' nodes.
10828
375592d3
AO
108292014-02-03 Alexandre Oliva <aoliva@redhat.com>
10830
10831 * manual/macros.texi: Add comments before MTASC-safety macros.
10832
f54838ba
AO
10833 * manual/users.texi: Document MTASC-safety properties.
10834
57f41c40
AS
10835 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10836 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
10837 @deftypefun, and add @safety note.
10838 * manual/signal.texi: Move comments that analyze the above
10839 functions to their home place.
10840
fd3daba4
AM
108412014-02-03 Allan McRae <allan@archlinux.org>
10842
10843 * po/sl.po: Update Slovenian translation from translation project.
10844
597636d7
AO
108452014-02-02 Alexandre Oliva <aoliva@redhat.com>
10846
10847 * manual/time.texi (timegm): Add missing blank after @c.
10848 Reported by Joseph Myers <joseph@codesourcery.com>.
10849
ee196e3c
AO
108502014-02-01 Alexandre Oliva <aoliva@redhat.com>
10851
10852 * manual/check-safety.sh: New.
10853 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10854
f8d529d5
AO
10855 * manual/terminal.texi: Document MTASC-safety properties.
10856
de55fdf4
AO
10857 * manual/filesys.texi: Document MTASC-safety properties.
10858
c3299c08
AO
10859 * manual/errno.texi: Document MTASC-safety properties.
10860
06e90b14
AO
10861 * manual/intro.texi: Document safety identifiers and
10862 conditionals.
10863
1acd4371
AO
10864 * manual/string.texi (wcstok): Fix prototype.
10865 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10866
23e5b8cb
AO
10867 * manual/time.texi: Document MTASC-safety properties.
10868
11087373
AO
10869 * manual/string.texi: Document MTASC-safety properties.
10870
5da2c93d
AO
10871 * manual/threads.texi: Document MTASC-safety properties.
10872
171e9210
AO
10873 * manual/stdio.texi: Document MTASC-safety properties.
10874
d9e02532
AO
10875 * manual/syslog.texi: Document MTASC-safety properties.
10876
6af8bab7
AO
10877 * manual/sysinfo.texi: Document MTASC-safety properties.
10878
663b02d7
AO
10879 * manual/startup.texi: Document MTASC-safety properties.
10880
973f180b
AO
10881 * manual/socket.texi: Document MTASC-safety properties.
10882
8f3c25c8
AO
10883 * manual/signal.texi: Document MTASC-safety properties.
10884
542210fb
AO
108852014-01-31 Alexandre Oliva <aoliva@redhat.com>
10886
10887 * manual/setjmp.texi: Document MTASC-safety properties.
10888
433c45a2
AO
10889 * manual/search.texi: Document MTASC-safety properties.
10890
c8ce789c
AO
10891 * manual/resource.texi: Document MTASC-safety properties.
10892
19f5d29c
AO
10893 * manual/process.texi: Document MTASC-safety properties.
10894
e2dfb7f4
AO
10895 * manual/platform.texi: Document MTASC-safety properties.
10896
8c1413f5
AO
10897 * manual/pipe.texi: Document MTASC-safety properties.
10898
03483ada
AO
10899 * manual/pattern.texi: Document MTASC-safety properties.
10900
29e7e2df
AO
10901 * manual/message.texi: Document MTASC-safety properties.
10902
9f529d7c
AO
10903 [BZ #12751]
10904 * manual/memory.texi: Document MTASC-safety properties.
10905
27aaa791
AO
10906 * manual/math.texi: Document MTASC-safety properties.
10907
f2d58726
AO
10908 * manual/locale.texi: Document MTASC-safety properties.
10909
2cc3615c
AO
10910 * manual/llio.texi: Document MTASC-safety properties.
10911
d9f0ec97
AO
10912 * manual/libdl.texi: New.
10913
e7c4409a
AO
10914 * manual/lang.texi: Document MTASC-safety properties.
10915
27bdc63c
AO
10916 * manual/job.texi: Document MTASC-safety properties.
10917
a7b90ea9
AO
10918 * manual/getopt.texi: Document MTASC-safety properties.
10919
c49130e3
AO
10920 * manual/ctype.texi: Document MTASC-safety properties.
10921
0d23a5c1
MR
109222014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10923
10924 [BZ #16046]
10925 * csu/libc-tls.c (static_map): Remove variable.
10926 (__libc_setup_tls): Use main executable's link map for TLS data.
10927 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10928 casing for LM_ID_BASE and GL(dl_nns).
10929 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10930 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10931 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10932 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10933 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10934 member.
10935 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10936 l_phnum members.
10937
0037bb60
AO
109382014-01-30 Alexandre Oliva <aoliva@redhat.com>
10939
10940 * manual/debug.texi: Document MTASC-safety properties.
10941
409e00bd
L
109422014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10943
10944 [BZ #16510]
10945 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10946 of __x86_64__ when disabling x87 inline functions.
10947
86e60666
AO
109482014-01-29 Alexandre Oliva <aoliva@redhat.com>
10949
10950 * manual/charset.texi: Document MTASC-safety properties.
10951
76167637
AO
10952 * manual/crypt.texi: Document MTASC-safety properties.
10953
e567f2a0
AO
10954 * manual/conf.texi: Document MTASC-safety properties.
10955
b719dafd
AO
10956 * manual/arith.texi: Document MTASC-safety properties.
10957
4a16c662
AO
10958 * manual/argp.texi: Document MTASC-safety properties.
10959
0a57b83e
AO
10960 * manual/macros.texi: Introduce macros to document multi
10961 thread, asynchronous signal and asynchronous cancellation
10962 safety properties.
10963 * manual/intro.texi: Introduce the properties themselves.
10964
feab2397
KK
109652014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10966
10967 * sysdeps/sh/sh4/Makefile: New file.
10968
1c0d11bc
AS
109692014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10970
10971 * math/gen-libm-test.pl ($srcdir): New variable.
10972 ($auto_input): Use it.
10973
af37a8a3
SP
109742014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10975
d7b00f98
SP
10976 [BZ #16506]
10977 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10978 access beyond array bounds when parsing netgroups file.
10979
af37a8a3
SP
10980 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10981 the old buffer before realloc.
10982
0c00f062
AM
109832014-01-27 Allan McRae <allan@archlinux.org>
10984
10985 * po/fr.po: Update French translation from translation project.
10986
7d69a1b0
KK
109872014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10988
10989 * sysdeps/sh/libm-test-ulps: Regenerate.
10990
6e697ff7
DM
109912014-01-24 David S. Miller <davem@davemloft.net>
10992
10993 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10994
9cadb35c
KK
109952014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10996
10997 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10998 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10999
5d41dadf
SP
110002013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11001
11002 [BZ #16474]
11003 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11004 string pointers after reallocation.
11005
0bad441c
KK
110062014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11007
11008 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11009 __SH4A__ instead of __SH_FPU_ANY__.
11010
7007c661
KK
110112014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11012
11013 * sysdeps/sh/fpu_control.h: New file.
11014 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11015 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11016 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11017 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11018 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11019 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11020 * sysdeps/sh/sys/ucontext.h: Remove.
11021 * sysdeps/sh/sys: Remove directory.
11022
0f0c35e4
AK
110232014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11024
11025 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11026 s390/sys/ucontext.h.
11027 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11028 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11029
4959e284
L
110302014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11031
11032 [BZ #15605]
11033 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11034
d98720e0
AZ
110352014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11036
11037 [BZ#16431]
11038 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11039 Adjust the vDSO correctly for internal calls.
11040 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11041
91cbd0bc
AM
110422014-01-20 Allan McRae <allan@archlinux.org>
11043
11044 * po/ca.po: Update Catalan translation from translation project.
11045
7a02cfad
MF
110462014-01-16 Mike Frysinger <vapier@gentoo.org>
11047
11048 * sysdeps/s390/sotruss-lib.c: New file.
11049
736c304a
AZ
110502014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11051
11052 [BZ#16430]
6e077ee5 11053 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
11054 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11055 local calls issues by not having a PLT stub required for IFUNC calls.
11056 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11057
94d0cea0
JM
110582014-01-16 Joseph Myers <joseph@codesourcery.com>
11059
11060 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11061 * math/test-fpucw-static.c: Likewise.
11062
980cb518
SP
110632013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11064
11065 [BZ #16453]
11066 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11067
2393fc01
AZ
110682014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11069
11070 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11071 implementation for powerpc.
11072
d359bcc2
OB
110732014-01-15 Ondřej Bílka <neleai@seznam.cz>
11074
11075 [BZ #14782]
11076 * sysdeps/posix/system.c (__libc_system): Do not enable
11077 asynchronous cancellation.
11078
7beb48cb
AK
110792014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11080
11081 [BZ #16427]
11082 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11083 handling only for numbers special also in the IEEE case.
11084
c20d5bf5
AK
110852014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11086
11087 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11088
e83bd4ee
AM
110892014-01-11 Allan McRae <allan@archlinux.org>
11090
76d0ea69
AM
11091 * po/bg.po: Update Bulgarian translation from translation project.
11092
e83bd4ee
AM
11093 * po/de.po: Update German translation from translation project.
11094
bc2ba20a
RM
110952014-01-10 Roland McGrath <roland@hack.frob.com>
11096
11097 * sysdeps/generic/gcc-compat.h: New file.
11098
649ecea2
SP
110992014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11100
11101 * benchtests/asin-inputs: Correct slow inputs.
11102 * benchtests/acos-inputs: Likewise.
11103
1b19c006
AM
111042014-01-10 Allan McRae <allan@archlinux.org>
11105
a46dab08
AM
11106 * po:sv.po: Update Swedish translation from translation project.
11107
421df74a
AM
11108 * po/vi.po: Update Vietnamese translation from translation project.
11109
d61c51a7
AM
11110 * po/eo.po: Update Esperanto translation from translation project.
11111
0339a319
AM
11112 * po/cs.po: Update Czech translation from translation project.
11113
94ad3e99
AM
11114 * po/nl.po: Update Dutch translation from translation project.
11115
e349ca71
AM
11116 * po/pl.po: Update Polish translation from translation project.
11117
ddf930c1
AM
11118 * po/ru.po: Update Russian translation from translation project.
11119
1b19c006
AM
11120 * po/uk.po: Update Ukrainian translation from translation project.
11121
9f236c49
BM
111222014-01-08 Brooks Moses <bmoses@google.com>
11123
11124 * elf/dl-load.c: Fix comment typo.
11125
cd6701cf
CD
111262014-01-08 Carlos O'Donell <carlos@redhat.com>
11127
11128 * po/header.pot: Rename to...
11129 * po/pot.header: ... this.
11130 * po/Makefile: Use pot.header.
11131
66671c84
YK
111322014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11133 Maxim Kuvyrkov <maxim@kugelworks.com>
11134
11135 [BZ #16394]
cd6701cf
CD
11136 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11137 SRC and DEST against LEN.
66671c84 11138
38f34581
AZ
111392014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11140
11141 [BZ #16414]
11142 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11143 implementation.
11144 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11145
111462014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
11147
11148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11149
4c327f2a
JM
111502014-01-08 Joseph Myers <joseph@codesourcery.com>
11151
11152 [BZ #16408]
11153 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11154 for large positive arguments.
11155
b821f414
JM
111562014-01-07 Joseph Myers <joseph@codesourcery.com>
11157
1f0f2067
JM
11158 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11159
a5a326f6
JM
11160 * math/auto-libm-test-in: Mark various tests with
11161 xfail-rounding:ldbl-128ibm.
11162 * math/auto-libm-test-out: Regenerated.
11163
b821f414
JM
11164 [BZ #16407]
11165 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11166 Increase overflow threshold.
11167
94c8a4bc
OB
111682014-01-07 Ondřej Bílka <neleai@seznam.cz>
11169
11170 [BZ #14286]
11171 * stdio-common/vfprintf.c: Check for integer overflow.
11172
87ded0c3
AK
111732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11174
11175 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11176 the first argument and return value of __tls_get_addr_internal.
11177
c5eebdd0
AK
111782014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11179
11180 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11181 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11182
05d138ef
AK
111832014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11184
11185 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11186 * sysdeps/s390/rtld-global-offsets.sym: New file.
11187 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11188 GLIBC_2.19 symbol.
11189 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11190 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11191 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11192 ... this.
11193 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11194 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11195 ... this.
11196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11197 Regenerate.
11198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11199 Regenerate.
11200 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11201 halfs of GPRs for high_gprs contexts.
11202 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11203 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11204 field.
11205 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11206 uc_flags field.
11207 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11208 64 bit versions:
11209 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11210 for high GPRs (uc_high_gprs) and for future extensions
11211 (__reserved).
11212 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11213 for future extensions (__reserved).
11214 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11215 64 bit versions:
11216 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11217 SC_HIGHGPRS offset definition.
11218 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11219 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11220
93a45ff1
AK
11221 * Versions.def: Add GLIBC_2.19 for libpthread.
11222 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11223 siglongjmp for libpthread with GLIBC_2.19 symver.
11224 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11225 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11226 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11227 * sysdeps/s390/__longjmp.c: New file.
11228 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11229 * sysdeps/s390/longjmp.c: New file.
11230 * sysdeps/s390/setjmp.S: New file.
11231 * sysdeps/s390/sigjmp.S: New file.
11232 * sysdeps/s390/v1-longjmp.c: New file.
11233 * sysdeps/s390/v1-setjmp.h: New file.
11234 * sysdeps/s390/v1-sigjmp.c: New file.
11235 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11236 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11237 GLIBC_2.19 version.
11238 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11239 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11240 versioned symbols for ____longjmp_chk.
11241 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11242 Likewise.
11243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11244 Regenerate.
11245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11246 Regenerate.
11247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11248 Regenerate.
11249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11250 Regenerate.
11251 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11252 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11253 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11254 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11255 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11256 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11257 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11258 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11259 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11260 * sysdeps/s390/rtld-__longjmp.c: New file.
11261 * sysdeps/s390/rtld-setjmp.S: New file.
11262
eb3fc44b
JM
112632014-01-06 Joseph Myers <joseph@codesourcery.com>
11264
11265 [BZ #16400]
11266 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11267 Return -__logl (x) for small positive arguments without evaluating
11268 a polynomial.
11269
9341dde4
MF
112702014-01-06 Mike Frysinger <vapier@gentoo.org>
11271
11272 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11273 Rename to ...
11274 (__ptrace_peeksiginfo_args): ... this.
11275 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11276 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11277 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11278
4cff0293
AM
112792014-01-06 Allan McRae <allan@archlinux.org>
11280
11281 * inet/netinet/in.h: Fix typo in comment.
11282
75595dcf
AJ
112832014-01-05 Andreas Jaeger <aj@suse.de>
11284
11285 * sysdeps/i386/fpu/libm-test-ulps: Update.
11286
79c1e109
AM
112872014-01-05 Allan McRae <allan@archlinux.org>
11288
dd804818
AM
11289 * po/libc.pot: Regenerated.
11290
79c1e109
AM
11291 * malloc/memusagestat.c: Fix gettext call formatting.
11292
0c813d1f
SK
112932014-01-04 Sami Kerola <kerolasa@iki.fi>
11294
11295 * nscd/nscd.c: Improve usage() output.
11296
20f4a8d9
MF
112972014-01-04 Mike Frysinger <vapier@gentoo.org>
11298
11299 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11300 * sysdeps/unix/sysv/linux/configure: Regenerated.
11301 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11302 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11303
22562bb2
JM
113042014-01-03 Joseph Myers <joseph@codesourcery.com>
11305
11306 [BZ #16390]
11307 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11308 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11309
d7ad2d9b
AZ
113102014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11311
11312 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11313 extra tokens at end of #undef directive.
11314 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11315 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11316 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11317
7dd009d8
JM
113182014-01-03 Joseph Myers <joseph@codesourcery.com>
11319
24db925a
JM
11320 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11321
7dd009d8
JM
11322 * math/auto-libm-test-in: Mark various tests with
11323 xfail-rounding:ldbl-128ibm.
11324 * math/auto-libm-test-out: Regenerated.
11325
396e3ecf
JM
113262014-01-02 Joseph Myers <joseph@codesourcery.com>
11327
819e5d50
JM
11328 [BZ #16386]
11329 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11330 numbers with subnormal high part when calculating exponent.
11331
90b6a1e5
JM
11332 [BZ #16385]
11333 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11334 fabs.
11335
396e3ecf
JM
11336 [BZ #16384]
11337 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11338 M_LN2l.
11339 (__ieee754_acoshl): Use __log1pl not __log1p.
11340
6c8dbf00
OB
113412013-01-02 Ondřej Bílka <neleai@seznam.cz>
11342
57f41c40
AS
11343 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11344 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11345 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11346 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11347 (reused_arena, arena_get2): Convert to GNU style.
11348 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11349 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11350 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11351 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11352 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11353 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11354 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11355 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11356 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11357 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11358 * malloc/malloc.h: Likewise.
57f41c40
AS
11359 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11360 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11361 * malloc/mcheck.h: Likewise.
57f41c40
AS
11362 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11363 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11364 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11365 * malloc/morecore.c (__default_morecore): Likewise.
11366 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11367 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11368 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11369 (print_and_abort): Likewise.
6c8dbf00
OB
11370 * malloc/obstack.h: Likewise.
11371 * malloc/set-freeres.c (__libc_freeres): Likewise.
11372 * malloc/tst-mallocstate.c (main): Likewise.
11373 * malloc/tst-mtrace.c (main): Likewise.
11374 * malloc/tst-realloc.c (do_test): Likewise.
11375
d4124212
SP
113762013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11377
9a3c6a6f
SP
11378 [BZ #16366]
11379 * nscd/netgroupcache.c (do_notfound): New function.
11380 (addgetnetgrentX): Use it.
11381
d4124212
SP
11382 [BZ # 16365]
11383 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11384 NSS_STATUS_NOTFOUND.
11385
97b9a009
JM
113862014-01-01 Joseph Myers <joseph@codesourcery.com>
11387
11388 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11390
d4697bc9
AM
113912014-01-01 Allan McRae <allan@archlinux.org>
11392
ddb3687f
AM
11393 * scripts/update-copyrights: Update configure input file suffix.
11394
88726d48
AM
11395 * NEWS: Update copyright year.
11396 * catgets/gencat.c: Likewise.
11397 * csu/version.c: Likewise.
11398 * debug/catchsegv.sh: Likewise.
11399 * debug/pcprofiledump.c: Likewise.
11400 * debug/xtrace.sh: Likewise.
11401 * elf/ldconfig.c: Likewise.
11402 * elf/ldd.bash.in: Likewise.
11403 * elf/pldd.c: Likewise.
11404 * elf/sotruss.ksh: Likewise.
11405 * elf/sprof.c: Likewise.
11406 * iconv/iconv_prog.c: Likewise.
11407 * iconv/iconvconfig.c: Likewise.
11408 * locale/programs/locale.c: Likewise.
11409 * locale/programs/localedef.c: Likewise.
11410 * login/programs/pt_chown.c: Likewise.
11411 * malloc/memusage.sh: Likewise.
11412 * malloc/memusagestat.c: Likewise.
11413 * malloc/mtrace.pl: Likewise.
11414 * manual/libc.texinfo: Likewise.
11415 * nscd/nscd.c: Likewise.
11416 * nss/getent.c: Likewise.
11417 * nss/makedb.c: Likewise.
11418 * posix/getconf.c: Likewise.
11419 * scripts/test-installation.pl: Likewise.
11420
d4697bc9
AM
11421 * All files with FSF copyright notices: Update copyright dates
11422 using scripts/update-copyrights.
11423 * intl/plural.c: Regenerated.
11424 * locale/programs/charmap-kw.h: Likewise.
11425 * locale/programs/locfile-kw.h: Likewise.
11426
c8590f9d
MF
114272013-12-31 Mike Frysinger <vapier@gentoo.org>
11428
11429 * sysdeps/unix/sysv/linux/configure: Regenerated.
11430 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11431 the linux/fanotify.h header.
11432 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11433 HAVE_LINUX_FANOTIFY_H is defined.
11434
b19221b9
SP
114352013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11436
dd1d85e5
SP
11437 * benchtests/cos-inputs: New inputs.
11438 * benchtests/sin-inputs: Likewise.
11439
1acbb90f
SP
11440 * benchtests/atan-inputs: New inputs. Fix name of multiple
11441 precision fallback inputs.
11442
4c012ed3
SP
11443 * benchtests/atanh-inputs: New inputs.
11444 * benchtests/tanh-inputs: Likewise.
11445
eff98324
SP
11446 * benchtests/acosh-inputs: New inputs.
11447 * benchtests/asinh-inputs: Likewise.
11448
ce641152
SP
11449 * benchtests/cosh-inputs: New inputs.
11450 * benchtests/sinh-inputs: Likewise.
11451
b19221b9
SP
11452 * benchtests/acos-inputs: Add more inputs.
11453 * benchtests/asin-inputs: Likewise.
11454
030a4976 114552013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11456
030a4976 11457 [BZ #16375]
9dcc8f11
VS
11458 * manual/arith.texi: Fix spelling.
11459 * manual/charset.texi: Likewise.
11460 * manual/errno.texi: Likewise.
11461 * manual/filesys.texi: Likewise.
11462 * manual/lang.texi: Likewise.
11463 * manual/llio.texi: Likewise.
11464 * manual/locale.texi: Likewise.
11465 * manual/message.texi: Likewise.
11466 * manual/resource.texi: Likewise.
11467 * manual/search.texi: Likewise.
11468 * manual/setjmp.texi: Likewise.
11469 * manual/stdio.texi: Likewise.
11470 * manual/string.texi: Likewise.
11471 * manual/sysinfo.texi: Likewise.
11472 * manual/time.texi: Likewise.
11473
11520a57
CD
114742013-12-27 Carlos O'Donell <carlos@redhat.com>
11475
11476 * po/sl.po: New file.
11477
471103ae
MF
114782013-12-27 Mike Frysinger <vapier@gentoo.org>
11479
11480 * .gitignore: Add core/.gdbinit/.gdb_history.
11481
6c9642ed
AM
114822013-12-27 Allan McRae <allan@archlinux.org>
11483
11484 [BZ #16369]
11485 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11486 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11487
3f637079
BM
114882013-12-24 Brooks Moses <bmoses@google.com>
11489
11490 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11491 all compilers that claim C++98 compliance, not just GCC.
11492 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11493 Likewise.
11494
abc26e99
MK
114952013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11496
11497 * NEWS: Restore accidentally deleted bug-fix entries.
11498
362b47fe
MK
114992013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11500 Ondřej Bílka <neleai@seznam.cz>
11501
11502 [BZ #15073]
11503 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11504 have_lock.
362b47fe 11505
b9bcbbcb
OB
115062013-12-23 Ondřej Bílka <neleai@seznam.cz>
11507
11508 [BZ #12986]
11509 * manual/stdio.texi (String Input Conversions): Clarify that character
11510 classes are not supported.
11511
fb55fcd2
AZ
115122013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11513
11514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11515
ef7344f0
JM
115162013-12-22 Joseph Myers <joseph@codesourcery.com>
11517
4f40e4b3
JM
11518 [BZ #16337]
11519 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11520 Calculate results for small negative arguments directly rather
11521 than using reflection formula with special underflow handling.
11522
ef7344f0
JM
11523 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11524 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11525 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11526 (fchflags): Likewise.
11527 (revoke): Likewise.
11528 (setlogin): Likewise.
11529 (sigaltstack): Likewise.
11530 (wait4): Likewise.
11531 (sigblock): Remove.
11532 (sigsetmask): Likewise.
11533 (wait3): Likewise.
11534 (waitpid): Likewise.
11535 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11536 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11537 file.
11538 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11539 * sysdeps/unix/bsd/Makefile: ... here.
11540 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11541 * sysdeps/unix/bsd/Versions: ... here.
11542 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11543 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11544 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11545 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11546 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11547 * sysdeps/unix/bsd/sigblock.c: ... here.
11548 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11549 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11550 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11551 * sysdeps/unix/bsd/sigvec.c: ... here.
11552 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11553 * sysdeps/unix/bsd/tcdrain.c: ... here.
11554 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11555 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11556 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11557 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11558 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11559 * sysdeps/unix/bsd/wait.c: ... here.
11560 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11561 * sysdeps/unix/bsd/wait3.c: ... here.
11562 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11563 * sysdeps/unix/bsd/waitpid.c: ... here.
11564
5b0626b9
JM
115652013-12-21 Joseph Myers <joseph@codesourcery.com>
11566
11567 [BZ #16356]
11568 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11569 round-to-nearest for [!USE_AS_EXPM1L].
11570 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11571 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11572 more tests of exp and exp10. Expect some exp10 tests to miss
11573 exceptions or fail in directed rounding modes.
11574 * math/auto-libm-test-out: Regenerated.
11575 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11576 (exp10_test_tonearest): New function.
11577 (exp10_towardzero_test_data): New array.
11578 (exp10_test_towardzero): New function.
11579 (exp10_downward_test_data): New array.
11580 (exp10_test_downward): New function.
11581 (exp10_upward_test_data): New array.
11582 (exp10_test_upward): New function.
11583 (main): Call the new functions.
11584 * sysdeps/i386/fpu/libm-test-ulps: Update.
11585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11586
7fda5682
JM
115872013-12-20 Joseph Myers <joseph@codesourcery.com>
11588
31e3a405
JM
11589 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11590 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11591 * math/auto-libm-test-out: Regenerated.
11592 * math/libm-test.inc (acosh_test_data): Add more tests.
11593 (atanh_test_data): Likewise.
11594 (ceil_test_data): Likewise.
11595 (copysign_test_data): Likewise.
11596 * sysdeps/i386/fpu/libm-test-ulps: Update.
11597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11598
85bff96a
JM
11599 * timezone/checktab.awk: Update from tzcode 2013i.
11600 * timezone/private.h: Likewise.
11601 * timezone/scheck.c: Likewise.
11602 * timezone/tzfile.h: Likewise.
11603 * timezone/tzselect.ksh: Likewise.
11604 * timezone/zdump.c: Likewise.
11605 * timezone/zic.c: Likewise.
11606
b7867a3b
JM
11607 * math/auto-libm-test-in: Add tests of cpow.
11608 * math/auto-libm-test-out: Regenerated.
11609 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 11610 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
11611 mpc_cc_c.
11612 (func_calc_desc): Add mpc_cc_c union field.
11613 (test_functions): Add cpow.
11614 (special_fill_2pi): New function.
11615 (special_real_inputs): Add 2pi.
11616 (calc_generic_results): Handle mpc_cc_c.
11617 * sysdeps/i386/fpu/libm-test-ulps: Update.
11618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11619
7fda5682
JM
11620 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11621 csqrt, ctan and ctanh.
11622 * math/auto-libm-test-out: Regenerated.
11623 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11624 (TEST_COND_x86): Likewise.
11625 (ccos_test_data): Use AUTO_TESTS_c_c.
11626 (ccosh_test_data): Likewise.
11627 (cexp_test_data): Likewise.
11628 (clog_test_data): Likewise.
11629 (csqrt_test_data): Likewise.
11630 (ctan_test_data): Likewise.
11631 (ctan_tonearest_test_data): Likewise.
11632 (ctan_towardzero_test_data): Likewise.
11633 (ctan_downward_test_data): Likewise.
11634 (ctan_upward_test_data): Likewise.
11635 (ctanh_test_data): Likewise.
11636 (ctanh_tonearest_test_data): Likewise.
11637 (ctanh_towardzero_test_data): Likewise.
11638 (ctanh_downward_test_data): Likewise.
11639 (ctanh_upward_test_data): Likewise.
11640 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11641 mpc_c_c.
11642 (func_calc_desc): Add mpc_c_c union field.
11643 (FUNC_mpc_c_c): New macro.
11644 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11645 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11646 ctanh.
11647 (special_fill_min_subnorm_p120): New function.
11648 (special_real_inputs): Add min_subnorm_p120.
11649 (calc_generic_results): Handle mpc_c_c.
11650 * sysdeps/i386/fpu/libm-test-ulps: Update.
11651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11652
5ff8d60e
SP
116532013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11654
57f41c40
AS
11655 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11656 (do_sin_slow): New functions.
11657 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11658 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 11659
84ba214c
SP
11660 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11661 Use M to change sign of result instead of X. Assume X is
11662 positive.
11663 (csloww1): Likewise.
11664 (__sin): Adjust.
11665 (__cos): Adjust.
11666
975195e4
SP
11667 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11668 arguments A and DA.
11669 (__sin): Adjust.
11670 (__cos): Likewise.
11671
5ff8d60e
SP
11672 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11673 (__cos): Likewise.
11674 (sloww1): Don't adjust sign of DX.
11675 (csloww1): Likewise.
11676 (sloww2): Use X directly and don't adjust sign of DX.
11677 (csloww2): Likewise.
11678
eb983568
JM
116792013-12-19 Joseph Myers <joseph@codesourcery.com>
11680
64a17f1a
JM
11681 * math/auto-libm-test-in: Add tests of cabs and carg.
11682 * math/auto-libm-test-out: Regenerated.
11683 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11684 (carg_test_data): Likewise.
11685 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11686 mpc_c_f.
11687 (func_calc_desc): Add mpc_c_f union field.
11688 (test_functions): Add cabs and carg.
11689 (calc_generic_results): Handle mpc_c_f.
11690
eb983568
JM
11691 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11692 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11693 as a macro and a compat symbol.
11694 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11695 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11696 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11697 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11698 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11699 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11700 not use .hidden.
11701 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11702 Likewise.
11703 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11704 Likewise.
11705 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11706 Likewise.
11707 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11708 Likewise.
11709 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11710 Likewise.
11711 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11712 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11713 from GLIBC_2.3.2.
11714
6eeb678a
AZ
117152013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11716
11717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11718
6f6fc482
JM
117192013-12-19 Joseph Myers <joseph@codesourcery.com>
11720
21fea2e2
JM
11721 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11722 trailing whitespace removed.
11723 * scripts/config.guess: Update to version 2013-11-29.
11724 * scripts/config.sub: Update to version 2013-10-01.
11725
6f6fc482
JM
11726 * math/auto-libm-test-in: Add tests of sincos.
11727 * math/auto-libm-test-out: Regenerated.
11728 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11729 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11730 mpfr_f_11.
11731 (func_calc_desc): Add mpfr_f_11 union field.
11732 (test_functions): Add sincos.
11733 (calc_generic_results): Handle mpfr_f_11.
11734 * sysdeps/i386/fpu/libm-test-ulps: Update.
11735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11736
83f5c32d
AS
117372013-12-19 Andreas Schwab <schwab@suse.de>
11738
11739 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11740 CALL_MCOUNT.
11741 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11742 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11743 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11744
c688b419
JM
117452013-12-19 Joseph Myers <joseph@codesourcery.com>
11746
335ee092
JM
11747 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11748 * sysdeps/i386/fpu/libm-test-ulps: Update.
11749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11750
f88acd39
JM
11751 [BZ #16293]
11752 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11753 round-to-nearest mode when using frndint.
11754 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11755 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11756 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11757 Likewise.
11758 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11759 sinh test to fail.
11760 * math/auto-libm-test-out: Regenerated.
11761 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11762 (TEST_COND_x86): Likewise.
11763 (expm1_tonearest_test_data): New array.
11764 (expm1_test_tonearest): New function.
11765 (expm1_towardzero_test_data): New array.
11766 (expm1_test_towardzero): New function.
11767 (expm1_downward_test_data): New array.
11768 (expm1_test_downward): New function.
11769 (expm1_upward_test_data): New array.
11770 (expm1_test_upward): New function.
11771 (main): Run the new test functions.
11772 * sysdeps/i386/fpu/libm-test-ulps: Update.
11773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11774
c688b419
JM
11775 * include/features.h: Update comment documenting feature test
11776 macros. Mention _DEFAULT_SOURCE in comment.
11777 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11778 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11779 _BSD_SOURCE and _SVID_SOURCE.
11780 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11781 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11782 !_SVID_SOURCE]: Likewise.
11783 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11784 (__USE_POSIX_IMPLICITLY): Define.
11785 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11786 (_POSIX_SOURCE): Undefine and redefine.
11787 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11788 (_POSIX_C_SOURCE): Likewise.
11789 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11790 (Feature Test Macros): Update documentation of default features.
11791
9f6e964c
RS
117922013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11793
11794 * benchtests/Makefile: Add bench-strtok.
11795 * benchtests/bench-strtok.c: New file: strtok benchtest.
11796
ee0a148a
AM
117972013-12-19 Allan McRae <allan@archlinux.org>
11798
11799 * manual/install.texi: Suppress menu for plain text output.
11800 * INSTALL: Regenerated.
11801
b9ab448f
BM
118022013-12-18 Brooks Moses <bmoses@google.com>
11803
11804 [BZ #15846]
11805 * misc/getauxval.c: Include errno.h.
11806 (__getauxval): Set errno to ENOENT if the requested type is not
11807 found.
11808 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11809 don't declare with __attribute_const__.
11810 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11811 * manual/startup.texi: Document that getauxval sets errno.
11812
23776487
JM
118132013-12-18 Joseph Myers <joseph@codesourcery.com>
11814
f889953b
JM
11815 * math/auto-libm-test-in: Add tests of jn and yn.
11816 * math/auto-libm-test-out: Regenerated.
11817 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11818 (yn_test_data): Likewise.
11819 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11820 mpfr_if_f.
11821 (func_calc_desc): Add mpfr_if_f union field.
11822 (FUNC_mpfr_if_f): New macro.
11823 (test_functions): Add jn and yn.
11824 (calc_generic_results): Assert type of second input for
11825 mpfr_ff_f. Handle mpfr_if_f.
11826 (output_for_one_input_case): Disable all checking for arguments
11827 fitting floating-point types in case of an integer argument.
11828 * sysdeps/i386/fpu/libm-test-ulps: Update.
11829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11830
23776487
JM
11831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11832 Don't expect fegetround reference in libm.so.
11833
cb756c6d
MS
118342013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11835
11836 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11837 $(config-cflags-nofma).
11838
2dec468f
JM
118392013-12-18 Joseph Myers <joseph@codesourcery.com>
11840
5953eb3a
JM
11841 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11842 * math/auto-libm-test-out: Regenerated.
11843
2dec468f
JM
11844 [BZ #16338]
11845 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11846 to determine exponent and adjust argument to have exponent of -1.
11847 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11848 log2.
11849 * math/auto-libm-test-out: Regenerated.
11850 * sysdeps/i386/fpu/libm-test-ulps: Update.
11851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11852
4d84e6ad
OB
118532013-12-18 Ondřej Bílka <neleai@seznam.cz>
11854
11855 * manual/probes.texi: Remove cases when per-thread arenas are
11856 disabled.
11857
1818483b
AS
118582013-12-18 Andreas Schwab <schwab@suse.de>
11859
11860 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11861 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11862 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11863 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11864 * sysdeps/i386/i686/multiarch/Makefile: Update.
11865 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11866
25de95bf
JM
118672013-12-17 Joseph Myers <joseph@codesourcery.com>
11868
11869 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11870 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11871
674762d9
PE
118722013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11873
ed27ed83 11874 [BZ #15968]
0748546f
PE
11875 Support TZ transition times < 00:00:00.
11876 This is needed for version-3 tz-format files; it supports time
11877 stamps past 2037 for America/Godthab (the only entry in the tz
11878 database for which this change is relevant).
11879 * manual/time.texi (TZ Variable): Document transition times
11880 from -167:59:59 through -00:00:01.
11881 * time/tzset.c (tz_rule): Time of day is now signed.
11882 (__tzset_parse_tz): Parse negative time of day.
11883
4480e934
PE
11884 Document TZ transition times >= 25:00:00.
11885 * manual/time.texi (TZ Variable): Document transition times from
11886 25:00:00 through 167:59:59. These are already supported, and this
11887 support will help with version-3 tz-format files.
11888
69947401
PE
11889 * manual/time.texi (TZ Variable): Modernize North America example
11890 to reflect current (i.e., 2007-and-later) daylight saving rules.
11891
674762d9
PE
11892 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11893
7011c262
JM
118942013-12-17 Joseph Myers <joseph@codesourcery.com>
11895
2fc6557e
JM
11896 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11897 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11898 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11900 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11901 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11902 * sysdeps/unix/bsd/clock.c: Likewise.
11903 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11904 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11905 * sysdeps/unix/bsd/init-posix.c: Likewise.
11906 * sysdeps/unix/bsd/poll.c: Likewise.
11907 * sysdeps/unix/bsd/ptsname.c: Likewise.
11908 * sysdeps/unix/bsd/seekdir.c: Likewise.
11909 * sysdeps/unix/bsd/setegid.c: Likewise.
11910 * sysdeps/unix/bsd/seteuid.c: Likewise.
11911 * sysdeps/unix/bsd/setgid.c: Likewise.
11912 * sysdeps/unix/bsd/setrgid.c: Likewise.
11913 * sysdeps/unix/bsd/setruid.c: Likewise.
11914 * sysdeps/unix/bsd/setsid.c: Likewise.
11915 * sysdeps/unix/bsd/setuid.c: Likewise.
11916 * sysdeps/unix/bsd/sigaction.c: Likewise.
11917 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11918 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11919 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11920 * sysdeps/unix/bsd/telldir.c: Likewise.
11921 * sysdeps/unix/bsd/times.c: Likewise.
11922 * sysdeps/unix/bsd/usleep.c: Likewise.
11923
029c7b25
JM
11924 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11925 ($(objpfx)libbsd-compat.a): Remove rule.
11926
7011c262
JM
11927 * include/features.h (__FAVOR_BSD): Do not define.
11928 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11929 features conflicting with POSIX.
11930 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11931 (_BSD_SOURCE): Remove description of not being a subset of other
11932 feature test macros.
11933 * manual/job.texi (getpgrp): Do not document BSD version.
11934 (getpgid): Do not document by reference to BSD getpgrp.
11935 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11936 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11937 * signal/signal.h [__FAVOR_BSD]: Likewise.
11938 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11939 instead of making contents conditional on [__FAVOR_BSD].
11940 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11941
affb6f78
AZ
119422013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11943
11944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11945
c88769dd
JM
119462013-12-17 Joseph Myers <joseph@codesourcery.com>
11947
6432a540
JM
11948 [BZ #16314]
11949 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11950 values below 2**-450, not 2**-500.
11951 * math/auto-libm-test-in: Don't allow spurious underflow from
11952 hypot.
11953 * math/auto-libm-test-out: Regenerated.
11954
c88769dd
JM
11955 [BZ #16316]
11956 [BZ #16330]
11957 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11958 values of ha and hb and sort them after adjusting subnormal
11959 arguments.
11960 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11961 Likewise.
11962 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11963 values of ea and eb and sort them after adjusting subnormal
11964 arguments.
11965 * math/auto-libm-test-in: Do not expect some hypot tests of
11966 subnormals to fail. Add more hypot tests.
11967 * math/auto-libm-test-out: Regenerated.
11968
29618f6b
KK
119692013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11970
11971 [BZ #13304]
11972 * sysdeps/sh/s_fma.c: New file.
11973 * sysdeps/sh/s_fmaf.c: New file.
11974 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11975 version.
11976 * sysdeps/sh/Implies: Add sh/soft-fp.
11977
eacfdfbf
RM
119782013-12-16 Roland McGrath <roland@hack.frob.com>
11979
11980 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11981 level of indirection to members `objname', `errstring', `malloced'.
11982 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11983 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11984 it as the __longjmp argument (just pass 1 instead).
11985 (_dl_catch_error): Initialize C with argument pointers and address of
11986 volatile local ERRCODE rather than copying values out of C at return.
11987
ff362e5b
JM
119882013-12-16 Joseph Myers <joseph@codesourcery.com>
11989
11990 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11991 * math/auto-libm-test-out: Regenerated.
11992 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11993 (hypot_test_data): Likewise.
11994 (pow_test_data): Likewise.
11995 (pow_tonearest_test_data): Likewise.
11996 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11997 mpfr_ff_f.
11998 (func_calc_desc): Add mpfr_ff_f union field.
11999 (FUNC_mpfr_ff_f): New macro.
12000 (test_functions): Add atan2, hypot and pow.
12001 (special_fill_min): New function.
12002 (special_fill_minus_min): Likewise.
12003 (special_fill_min_subnorm): Likewise.
12004 (special_fill_minus_min_subnorm): Likewise.
12005 (special_real_inputs): Add min, -min, min_subnorm and
12006 -min_subnorm.
12007 (calc_generic_results): Handle mpfr_ff_f.
12008 * sysdeps/i386/fpu/libm-test-ulps: Update.
12009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12010
5764c27f
WN
120112013-12-16 Will Newton <will.newton@linaro.org>
12012
12013 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12014 (Aligned Memory Blocks): Add documentation for aligned_alloc
12015 and suggest it as an alternative to posix_memalign.
12016 (Hooks for Malloc): Document __memalign_hook is also called
12017 for aligned_alloc. (Summary of Malloc): Add summary for
12018 aligned alloc. Document __memalign_hook is also called
12019 for aligned_alloc.
12020
0a096e44
WN
120212013-12-16 Will Newton <will.newton@linaro.org>
12022
12023 * manual/memory.texi (Malloc Examples): Clarify default
12024 alignment documentation. Suggest posix_memalign rather
12025 than memalign or valloc.
12026 (Aligned Memory Blocks): Remove suggestion to use memalign
12027 or valloc. Remove obsolete comment about BSD.
12028 Document memalign errno values and mark the function obsolete.
12029 Document posix_memalign returned error codes. Mark valloc
12030 as obsolete. (Hooks for Malloc): __memalign_hook is also
12031 called for posix_memalign and valloc.
12032 (Summary of Malloc): Add posix_memalign to function summary.
12033 __memalign_hook is also called for posix_memalign and valloc.
12034
8d561986
SP
120352013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12036
12037 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12038 TAYLOR_SIN.
12039 (__sin): Adjust.
12040 (__cos): Likewise.
12041 (sloww): Use mynumber union. Expand ternary operator into
12042 if-else statements.
12043 (cslow): use mynumber union.
12044
73616a74
AM
120452013-12-16 Allan McRae <allan@archlinux.org>
12046
9e8ac24b
AM
12047 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12048 * configure: Regenerated.
12049
6f8e37eb
AM
12050 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12051
8894bad3
AM
12052 [BZ #14120]
12053 * configure.ac: Added --enable-maintainer-mode. Check for
12054 autoconf when enabled.
12055 * configure: Regenerated.
12056
73616a74
AM
12057 * nscd/nscd.service: New file.
12058 * nscd/nscd.tmpfiles: New file.
12059
584b18eb
OB
120602013-12-14 Ondřej Bílka <neleai@seznam.cz>
12061
12062 [BZ #12100]
12063 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12064 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12065 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12066 (strstr): Add __strstr_sse2_unaligned ifunc.
12067 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12068 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12069 (strcasestr): Remove __strcasestr_sse42 ifunc.
12070 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12071 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12073
8a5c7897
KK
120742013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12075
12076 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12077 * sysdeps/sh/bits/fenv.h: ... here.
12078 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12079
fd712ef3
AZ
120802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12081
12082 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12083
42fcb46c
AZ
12084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12085 hypotf multiarch implementations.
12086 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12087 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12088 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12089 multiarch hypot for PPC64.
12090 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12091 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12092 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12093 multiarch hypotf for PPC64.
12094
83efded4
AZ
12095 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12096 modff multiarch implementations.
12097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12100 multiarch modf for PPC64.
12101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12104 multiarch modff for PPC64.
12105
43e246d2
AZ
12106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12107 and logl multiarch implementations.
12108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12111 multiarch logb for PPC64.
12112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12115 multiarch logb for PPC64.
12116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12119 multiarch logb for PPC64.
12120
8fdad123
AZ
12121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12122 isinff multiarch implementation.
12123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12124 file.
12125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12127 multiarch isinf for PPC64.
12128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12129 file.
12130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12131 multiarch isinff for PPC64.
12132
1481d706
AZ
12133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12134 finitef multiarch implementation.
12135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12136 file.
12137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12139 multiarch finite for PPC64.
12140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12141 file.
12142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12143 multiarch finitef for PPC64.
12144
5ccd5fc8
AZ
12145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12146 lrint multiarch implementation.
12147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12148 file.
12149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12151 multiarch llrint for PPC64.
12152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12153 multiarch lrint for PPC64.
12154
2568f3fa
AZ
12155 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12156 copysignf multiarch implementation.
12157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12158 file.
12159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12160 file.
12161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12162 multiarch copysign for PPC64.
12163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12164 multiarch copysignf for PPC64.
12165
1cb341fd
AZ
12166 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12167 multiarch implementation.
12168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12169 file.
12170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12171 file.
12172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12173 file.
12174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12175 file.
12176 multiarch llround for PPC64.
12177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12178 multiarch trunc for PPC64.
12179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12180 multiarch truncf for PPC64.
12181
59a3e194
AZ
12182 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12183 multiarch implementation.
12184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12185 file.
12186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12187 file.
12188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12189 file.
12190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12191 file.
12192 multiarch llround for PPC64.
12193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12194 multiarch round for PPC64.
12195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12196 multiarch roundf for PPC64.
12197
357fd3b4
AZ
12198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12199 multiarch implementation.
12200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12201 file.
12202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12203 file.
12204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12205 file.
12206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12207 file.
12208 multiarch llround for PPC64.
12209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12210 multiarch floor for PPC64.
12211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12212 multiarch floorf for PPC64.
12213
96770f12
AZ
12214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12215 multiarch implementation.
12216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12217 file.
12218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12219 file.
12220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12221 file.
12222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12223 file.
12224 multiarch llround for PPC64.
12225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12226 multiarch ceil for PPC64.
12227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12228 multiarch ceilf for PPC64.
12229
c3627f6e
AZ
12230 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12231 multiarch implementation.
12232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12233 file.
12234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12235 file.
12236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12237 file.
12238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12239 multiarch llround for PPC64.
12240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12241 multiarch lround for PPC64.
12242
b2284ad7
AZ
12243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12244 multiarch implementation.
12245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12248 file.
12249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12252 multiarch isnan for PPC64.
12253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12254 multiarch isnanf for PPC64.
12255
69bbc63d
AZ
12256 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12257 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12258 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12259 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12260 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12262
c24517c9
AZ
12263 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12264 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12266 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12267
a52374e8
AZ
12268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12269 multiarch implementations.
12270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12271 (__libc_ifunc_impl_list): Likewise.
12272 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12273 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12274 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12275 multiarch stpcpy for PPC64.
12276
7f5ec113
AZ
12277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12278 multiarch implementations.
12279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12280 (__libc_ifunc_impl_list): Likewise.
12281 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12282 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12283 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12284 multiarch strcpy for PPC64.
12285
e28bcd42
AZ
12286 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12287 redefine function name.
12288 (_wordcopy_fwd_dest_aligned): Likewise.
12289 (_wordcopy_bwd_aligned): Likewise.
12290 (_wordcopy_bwd_dest_aligned): Likewise.
12291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12292 multiarch implementations.
12293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12294 (__libc_ifunc_impl_list): Likewise.
12295 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12296 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12297 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12298 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12299 multiarch wcscpy for PPC64.
12300
92cacfce
AZ
12301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12302 multiarch implementations.
12303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12304 (__libc_ifunc_impl_list): Likewise.
12305 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12306 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12307 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12308 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12309 multiarch wcscpy for PPC64.
12310
7b714620
AZ
12311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12312 multiarch implementations.
12313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12314 (__libc_ifunc_impl_list): Likewise.
12315 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12316 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12317 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12318 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12319 multiarch wcsrchr for PPC64.
12320
16fd2ae3
AZ
12321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12322 multiarch implementations.
12323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12324 (__libc_ifunc_impl_list): Likewise.
12325 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12326 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12327 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12328 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12329 multiarch wcschr for PPC64.
12330
9ee2969b
AZ
12331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12332 multiarch implementations.
12333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12334 (__libc_ifunc_impl_list): Likewise.
12335 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12336 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12337 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12338 multiarch strchrnul for PPC64.
12339
372dc060
AZ
12340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12341 implementations.
12342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12343 (__libc_ifunc_impl_list): Likewise.
12344 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12345 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12346 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12347 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12348 strchr for PPC64.
12349
24c2c3b9
AZ
12350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12351 implementations.
12352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12353 (__libc_ifunc_impl_list): Likewise.
12354 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12355 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12356 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12357 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12358 strncmp for PPC64.
12359
1c92d9a0
AZ
12360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12361 multiarch implementations.
12362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12363 (__libc_ifunc_impl_list): Likewise.
12364 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12365 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12366 strncasecmp for PPC64.
12367 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12368 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12369 multiarch strncasecmp_l for PPC64.
12370
17de3ee3
AZ
12371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12372 multiarch implementations.
12373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12374 (__libc_ifunc_impl_list): Likewise.
12375 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12376 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12377 multiarch strcasecmp for PPC64.
12378 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12379 file.
12380 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12381 multiarch strcasecmp_l for PPC64.
12382
62982bf9
AZ
12383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12384 implementations.
12385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12386 (__libc_ifunc_impl_list): Likewise.
12387 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12388 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12389 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12390 strnlen for PPC64.
12391
a65f4904
AZ
12392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12393 implementations.
12394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12395 (__libc_ifunc_impl_list): Likewise.
12396 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12397 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12398 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12399 strlen for PPC64.
12400
1fd005ad
AZ
12401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12402 implementations.
12403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12404 (__libc_ifunc_impl_list): Likewise.
12405 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12406 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12407 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12408 rawmemrchr for PPC64.
12409
cd05ba91
AZ
12410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12411 implementation.
12412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12413 (__libc_ifunc_impl_list): Likewise.
12414 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12415 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12416 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12417 memrchr for PPC64.
12418
870f8676
AZ
12419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12420 implementation.
12421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12422 (__libc_ifunc_impl_list): Likewise.
12423 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12424 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12425 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12426 memchr for PPC64.
12427
f00be62b
AZ
12428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12429 implementation.
12430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12431 (__libc_ifunc_impl_list): Likewise.
12432 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12433 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12434 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12435 mempcpy for PPC64.
12436
8a29a3d0
AZ
12437 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12438 avoid cretion of __bzero symbol.
12439 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12440 Likewise.
12441 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12442 Likewise.
12443 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12444 Likewise.
12445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12446 multiarch implementations.
12447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12448 (__libc_ifunc_impl_list): Likewise.
12449 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12450 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12451 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12452 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12453 bzero for PPC32.
12454 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12455 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12456 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12457 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12458 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12459 memset for PPC64.
12460 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12461
07253fcf
AZ
12462 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12464 implementations.
12465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12466 (__libc_ifunc_impl_list): Likewise.
12467 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12468 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12469 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12470 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12471 memcmp for PPC64.
12472
b5beafbc
AZ
12473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12474 multiarch for POWER/PPC64.
12475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12476 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12477 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12478 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12479 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12480 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12481 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12482 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12483 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12484 memcpy for PPC64.
12485
5e6a4d4b
AZ
12486 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12487 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12488 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12489 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12490 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12491 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12492 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12493 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12494 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12495 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12496 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12497 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12498 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12499 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12500 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12508
ddfab6dc
KK
125092013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12510
12511 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12512
19b5525e
SP
125132013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12514
12515 * benchtests/Makefile (bench): Add exp2 and log2.
12516 (LDLIBS-bench-exp2): Add -lm.
12517 (LDLIBS-bench-log2): Likewise.
12518 * benchtests/exp2-inputs: New inputs file.
12519 * benchtests/log2-inputs: New inputs file.
12520 * benchtests/log-inputs: Add new inputs.
12521 * benchtests/tan-inputs: Likewise.
12522
196f7f5d
SP
125232013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12524
7a74607f
SP
12525 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12526 definition...
57f41c40
AS
12527 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12528 (csloww2): ... from here.
7a74607f 12529
196f7f5d
SP
12530 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12531 instead of structures.
12532 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12533 (POLYNOMIAL): Likewise.
12534 (TAYLOR_SLOW): Likewise.
12535 (__sin): Likewise.
12536 (__cos): Likewise.
12537 (slow1): Likewise.
12538 (slow2): Likewise.
12539 (sloww): Likewise.
12540 (sloww1); Likewise.
12541 (sloww2): Likewise.
12542 (bsloww1): Likewise.
12543 (bsloww2): Likewise.
12544 (cslow2): Likewise.
12545 (csloww): Likewise.
12546 (csloww1): Likewise.
12547 (csloww2): Likewise.
12548
0dfa665c
OB
125492013-12-10 Ondřej Bílka <neleai@seznam.cz>
12550
12551 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
12552 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12553 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
12554 * malloc/hooks.c (realloc_check): Likewise.
12555
5782a80f
OB
12556 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12557 * malloc/arena.c: Remove PER_THREAD conditional.
12558 [!PER_THREAD]: Remove code.
12559 (ptmalloc_unlock_all2): Likewise.
12560 (ptmalloc_init): Likewise.
12561 (_int_new_arena): Likewise.
12562 (arena_get2): Likewise.
12563 * malloc/hooks.c (__malloc_get_state): Likewise.
12564 (__malloc_set_state): Likewise.
12565 * malloc/malloc.c: Likewise.
12566 (struct malloc_state): Likewise.
12567 (struct malloc_par): Likewise.
12568 (__libc_realloc): Likewise.
12569 (__libc_mallopt): Likewise.
12570
aeb95445
AZ
125712013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12572
12573 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12574
e8349efd
OB
125752013-12-09 Ondřej Bílka <neleai@seznam.cz>
12576
12577 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12578 macro to a function. Check for zero perturb_byte.
12579 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12580
f3eeb3fc 12581 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
12582 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12583 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
12584 force_reg by atomic_forced_read.
12585 * malloc/arena.c (ptmalloc_init): Likewise.
12586 * malloc/hooks.c (top_check): Likewise.
12587
be2f9009
AZ
125882013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12589
12590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12591
e7b914bd
MT
125922013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12593
12594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12595
9f0be4f8
JM
125962013-12-08 Joseph Myers <joseph@codesourcery.com>
12597
12598 * math/auto-libm-test-in: Add tests of lgamma.
12599 * math/auto-libm-test-out: Regenerated.
12600 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12601 (M_LOG_2_SQRT_PIl): Likewise.
12602 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12603 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12604 mpfr_f_f1.
12605 (func_calc_desc): Add mpfr_f_f1 union field.
12606 (ARGS1): New macro.
12607 (ARGS2): Likewise.
12608 (ARGS3): Likewise.
12609 (ARGS4): Likewise.
12610 (RET1): Likewise.
12611 (RET2): Likewise.
12612 (CALC): Likewise.
12613 (FUNC): Likewise.
12614 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12615 (test_functions): Add lgamma.
12616 (calc_generic_results): Handle mpfr_f_f1.
12617 * sysdeps/i386/fpu/libm-test-ulps: Update.
12618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12619
24eeafdb
AZ
126202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12621
12622 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12623 __mpn_add_n for PowerPC64/POWER7.
12624 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12625 __mpn_sub_n for PowerPC64/POWER7.
12626
4a2c0fd4
AZ
12627 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12628 __mpn_addmul_1 for PowerPC64.
12629 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12630 __mpn_submul_1 for PowerPC64.
12631 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12632 for PowerPC64.
12633 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12634 for PowerPC64.
12635
4b5b548c
FS
126362013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12637
12638 [BZ #15089]
12639 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12640
0a3ac0aa
AZ
126412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12642
12643 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12644
ccdc8438
AZ
12645 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12646 add multiarch folders.
12647 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12648 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12649 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12650 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12651 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12652 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12653 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12654 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12655 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12656 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12657 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12664
2e973d99
AZ
12665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12666 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12668 New file.
12669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12670 New file.
12671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12672 multiarch __ieee754_hypot for PowerPC32.
12673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12674 New file.
12675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12676 New file.
12677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12678 multiarch __ieee754_hypotf for PowerPC32.
12679
2d9470b2
AZ
12680 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12681 long_double_symbol only if __logbl is defined.
12682 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12683 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12684 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12685 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12687 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12688 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12689 path for implementation.
12690 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12691 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12693 logb, and logbl multiarch implementations for PowerPC32.
12694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12695 file.
12696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12697 file.
12698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12699 multiarch logb for PowerPC32.
12700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12701 file.
12702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12703 file.
12704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12705 multiarch logbf for PowerPC32.
12706 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12708 file.
12709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12710 multiarch logbl implementation for PowerPC32.
12711
5212ffce
AZ
12712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12713 and modff multiarch implementations.
12714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12715 New file.
12716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12717 New file.
12718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12719 multiarch modf for PowerPC32.
12720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12721 New file.
12722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12723 New file.
12724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12725 multiarch modff for PowerPC32.
12726
79dccf31
AZ
12727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12728 and lrintf multiarch implementations.
12729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12730 New file.
12731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12732 New file.
12733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12734 multiarch lrint for PowerPC32.
12735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12736 file: multiarch lrintf for PowerPC32.
12737
deb66480
AZ
12738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12739 and lroundf multiarch implementations.
12740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12741 New file.
12742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12743 New file.
12744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12745 New file.
12746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12747 multiarch lround for PowerPC32.
12748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12749 file: multiarch lroundf for PowerPC32.
12750
264b036b
AZ
12751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12752 copysign and copysignf multiarch implementations.
12753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12754 New file.
12755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12756 New file.
12757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12758 file: multiarch copysign for PowerPC32.
12759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12760 file: multiarch copysignf for PowerPC32.
12761
d47db6c9
AZ
12762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12763 and truncf multiarch implementations.
12764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12765 New file.
12766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12767 file.
12768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12769 multiarch trunc for PowerPC32.
12770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12771 New file.
12772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12773 New file.
12774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12775 multiarch truncf for PowerPC32.
12776
ddb60b5a
AZ
12777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12778 and roundf multiarch implementations.
12779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12780 New file.
12781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12782 file.
12783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12784 multiarch round for PowerPC32.
12785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12786 New file.
12787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12788 New file.
12789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12790 multiarch roundf for PowerPC32.
12791
bedcf49b
AZ
12792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12793 and floorf multiarch implementations.
12794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12795 New file.
12796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12797 file.
12798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12799 multiarch floor for PowerPC32.
12800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12801 New file.
12802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12803 New file.
12804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12805 multiarch floorf for PowerPC32.
12806
35ae5b40
AZ
12807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12808 and ceilf multiarch implementations.
12809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12810 New file.
12811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12812 file.
12813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12814 multiarch ceil for PowerPC32.
12815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12816 New file.
12817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12818 file.
12819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12820 multiarch ceilf for PowerPC32.
12821
ae1a4cd9
AZ
12822 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12823 is defined.
12824 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12825 FINITEF is defined.
12826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12827 and finitef multiarch implementations.
12828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12829 New file.
12830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12831 file.
12832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12833 multiarch finite for PowerPC32.
12834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12835 New file.
12836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12837 file: multiarch finitef for PowerPC32.
12838
64fffd65
AZ
12839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12840 and isinff multiarch implementations.
12841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12842 file.
12843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12844 file.
12845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12846 multiarch isinf for PowerPC32.
12847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12848 New file.
12849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12850 multiarch isinff for PowerPC32.
12851
8e4e7ba2
AZ
12852 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12853 alias when __isnan is defined.
12854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12855 and isnanf multiarch implementations.
12856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12857 file.
12858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12859 file.
12860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12861 file.
12862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12863 file.
12864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12865 multiarch isnan for PowerPC32.
12866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12867 New file.
12868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12869 New file.
12870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12871 multiarch isnanf for PowerPC32.
12872
ddba588e
AZ
12873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12874 and sqrtf multiarch implementations.
12875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12876 file.
12877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12878 file.
12879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12880 multiarch sqrt for PowerPC32.
12881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12882 file.
12883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12884 file.
12885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12886 multiarch sqrtf for PowerPC32.
12887
0f96a2f0
AZ
12888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12889 and llroundf multiarch implementations.
12890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12891 New file.
12892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12893 New file.
12894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12895 New file.
12896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12897 file: multiarch llround for PowerPC32.
12898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12899 file: multiarch llroundf for PowerPC32.
12900
c9b5d79e
AZ
12901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12902 multiarch PowerPC32 fpu implementations.
12903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12904 New file.
12905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12906 New file.
12907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12908 multiarch llrint for PowerPC32.
12909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12910 New file.
12911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12912 New file.
12913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12914 file.
12915
9cbb3aab
AZ
12916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12917
ea5a72f8
AZ
12918 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12919 file.
12920 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12921 file.
12922 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12923 file.
12924 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12925 multiarch wordcopy for PPC32.
12926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12927 wordcopy objects.
12928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12929 (__libc_ifunc_impl_list): Likewise.
12930 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12931 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12932 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12933 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12934 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12935 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12936
93be09e7
AZ
12937 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12939 file.
12940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12941 file.
12942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12943 file.
12944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12945 multiarch wcscpy for PPC32.
12946 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12947 multiarch objects.
12948 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12949 (__libc_ifunc_impl_list): Likewise.
12950 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12951 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12952 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12953 sysdeps/powerpc/power6/wcscpy.c.
12954
bb04e529
AZ
12955 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12956 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12957 file.
12958 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12959 file.
12960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12961 file.
12962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12963 multiarch wcsrchr for PPC32.
12964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12965 multiarch objects.
12966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12967 (__libc_ifunc_impl_list): Likewise.
12968 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12969 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12970 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12971 sysdeps/powerpc/power6/wcsrchr.c.
12972
05b5cd1c
AZ
12973 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12974 file.
12975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12976 file.
12977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12978 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12979 multiarch wcschr for PPc32.
12980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12981 multiarch objects.
12982 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12983 (__libc_ifunc_impl_list): Likewise.
12984 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12985 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12986 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12987 sysdeps/powerpc/power6/wcschr.c.
12988
ba964147
AZ
12989 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12990 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12991 file.
12992 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12993 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12994 file: multiarch strchr for PPC32.
12995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12996 multiarch objects.
12997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12998 (__libc_ifunc_impl_list): Likewise.
12999
31c81aaa
AZ
13000 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13001 name.
13002 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13003 file.
13004 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13005 file.
13006 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13007 multiarch strchrnul for PPC32.
13008 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13009 multiarch objects.
13010 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13011 (__libc_ifunc_impl_list): Likewise.
13012
0d0607d9
AZ
13013 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13014 file.
13015 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13016 multiarch strncasecmp for PPC32.
13017 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13018 file.
13019 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13020 multiarch strncasecmp_l for PPC32.
13021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13022 strncasecmp multiarch objects.
13023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13024 (__libc_ifunc_impl_list): Likewise.
13025
4dfd5c86
AZ
13026 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13027 file.
13028 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13029 multiarch strncasecmp for PPC32.
13030 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13031 New file.
13032 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13033 multiarch strcasecmp_l for PPC32.
13034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13035 multiarch objects.
13036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13037 (__libc_ifunc_impl_list): Likewise.
13038
a19e01a3
AZ
13039 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13040 file.
13041 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13042 file.
13043 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13044 multiarch strncmp for PPC32.
13045 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13046 multiarch objects.
13047 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13048 (__libc_ifunc_impl_list): Likewise.
13049
ae9cf7a2
AZ
13050 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13051 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13052 file.
13053 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13054 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13056 multiarch objects.
13057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13058 (__libc_ifunc_impl_list): Likewise.
13059
3148bb7d
AZ
13060 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13061 file.
13062 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13063 file.
13064 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13066 multiarch objects.
13067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13068 (__libc_ifunc_impl_list): Likewise.
13069
7af8b946
AZ
13070 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13071 file.
13072 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13073 file.
13074 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13075 multiarch rawmemchr for PPC32.
13076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13077 multiarch objects.
13078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13079 (__libc_ifunc_impl_list): Likewise.
13080
03a6aa6a
AZ
13081 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13082 file.
13083 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13084 file.
13085 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13086 file: memrchr multiarch for PPC32.
13087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13088 multiarch objects.
13089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13090 (__libc_ifunc_impl_list): Likewise.
13091
1c62e6d9
AZ
13092 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13093 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13094 file.
13095 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13096 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13097 multiarch memchr for PPC32.
13098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13099 multiarch objects.
13100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13101 (__libc_ifunc_impl_list): Likewise.
13102
87da8bdb
AZ
13103 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13104 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13105 file.
13106 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13107 file.
13108 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13109 file: multiarch mempcpy for PPC32.
13110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13111 multiarch objects.
13112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13113 (__libc_ifunc_impl_list): Likewise.
13114
20ed4714
AZ
13115 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13116 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13117 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13118 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13119 multiarch bzero for PPC32.
13120 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13121 file.
13122 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13123 file.
13124 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13125 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13126 file: multiarch memset for PPC32.
13127 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13129 memset multiarch objects.
13130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13131 (__libc_ifunc_impl_list): Likewise.
13132
ab3e3a46
AZ
13133 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13134 file.
13135 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13137 memcmp for PPC32.
13138 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13139 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13140 multiarch objects.
13141 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13142 (__libc_ifunc_impl_list): Likewise.
13143
930de6f0
AZ
13144 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13145 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13146 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13147 file.
13148 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13149 file.
13150 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13151 file.
13152 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13153 multiarch memcpy for PPC32.
13154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13155 multiarch objects.
13156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13157 (__libc_ifunc_impl_list): Likewise.
13158
4c628e00
AZ
13159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13160 support multiarch for POWER/PPC32.
13161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13162 Likewise.
13163 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13165 Implies file to make multiarch folder appers before the fpu and
13166 default folder for power4 configuration.
13167
f4479220
SP
131682013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13169
13170 * scripts/bench.pl: Append volatile keyword to type.
13171
8517800f
KK
131722013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13173
13174 * sysdeps/sh/sotruss-lib.c: New file.
13175 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13176
180138f1
AZ
131772013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13178
13179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13180
bbf37bdc
JM
131812013-12-05 Joseph Myers <joseph@codesourcery.com>
13182
e47cc4e0
JM
13183 [BZ #6810]
13184 * math/w_tgamma.c: Include <errno.h>.
13185 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13186 * math/w_tgammaf.c: Include <errno.h>.
13187 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13188 * math/w_tgammal.c: Include <errno.h>.
13189 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13190 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13191 underflow. Add more tgamma tests.
13192 * math/auto-libm-test-out: Regenerated.
13193 * sysdeps/i386/fpu/libm-test-ulps: Update.
13194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13195
bbf37bdc
JM
13196 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13197 sin, sinh, tan, tanh, tgamma, y0 and y1.
13198 * math/auto-libm-test-out: Regenerated.
13199 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13200 (TEST_COND_x86): Likewise.
13201 (M_E2l): Remove macro.
13202 (M_E3l): Likewise.
13203 (M_2_SQRT_PIl): Likewise.
13204 (M_SQRT_PIl): Likewise.
13205 (M_1_DIV_El): Likewise.
13206 (log_test_data): Use AUTO_TESTS_f_f.
13207 (log10_test_data): Likewise.
13208 (log1p_test_data): Likewise.
13209 (log2_test_data): Likewise.
13210 (sin_test_data): Likewise.
13211 (sin_tonearest_test_data): Likewise.
13212 (sin_towardzero_test_data): Likewise.
13213 (sin_downward_test_data): Likewise.
13214 (sin_upward_test_data): Likewise.
13215 (sinh_test_data): Likewise.
13216 (sinh_tonearest_test_data): Likewise.
13217 (sinh_towardzero_test_data): Likewise.
13218 (sinh_downward_test_data): Likewise.
13219 (sinh_upward_test_data): Likewise.
13220 (tan_test_data): Likewise.
13221 (tan_tonearest_test_data): Likewise.
13222 (tan_towardzero_test_data): Likewise.
13223 (tan_downward_test_data): Likewise.
13224 (tan_upward_test_data): Likewise.
13225 (tanh_test_data): Likewise.
13226 (tgamma_test_data): Likewise.
13227 (y0_test_data): Likewise.
13228 (y1_test_data): Likewise.
13229 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13230 (special_real_inputs): Add pi/4.
13231 * sysdeps/i386/fpu/libm-test-ulps: Update.
13232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13233
eb5ad6b9
AZ
132342013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13235
13236 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13237 "longjmp_target" static probes.
13238 (__longjmp): Rename to __longjmp_symbol.
13239 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13240 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13241 on which longjmp to generate.
13242 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13243 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13244 probe.
13245 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13246 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13247 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13248 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13249 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13250 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13252 __longjmp_symbol based on which __longjmp to generate.
13253 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13254 probe.
13255 (setjmp): Rename to setjmp_symbol.
13256 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13257 (_setjmp): Rename to _setjmp_symbol.
13258 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13259 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13260 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13261 which setjmp to generate.
13262 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13263 "longjmp_target" static probes.
13264
d136c6dc
SP
132652013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13266
9298ecba
SP
13267 * benchtests/README: Add note about output arguments.
13268 * benchtests/bench-sincos.c: Remove file.
13269 * benchtests/sincos-inputs: New file.
13270 * scripts/bench.pl: Identify output arguments and define
13271 static variables for them.
13272
232983e9
SP
13273 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13274
d136c6dc
SP
13275 [BZ #15941]
13276 * Makefile (INSTALL): Add install-plain.texi as the primary
13277 dependency.
13278 * manual/install-plain.texi: New file.
13279 * manual/install.texi: Include node directive only for
13280 non-plaintext output.
13281
699ff837
JM
132822013-12-04 Joseph Myers <joseph@codesourcery.com>
13283
ab07cea8
JM
13284 * stdlib/longlong.h: Update from GCC.
13285
699ff837
JM
13286 [BZ #6807]
13287 [BZ #15901]
13288 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13289 * math/w_j0f.c (y0f): Likewise.
13290 * math/w_j0l.c (__y0l): Likewise.
13291 * math/w_j1.c (y1): Likewise.
13292 * math/w_j1f.c (y1f): Likewise.
13293 * math/w_j1l.c (__y1l): Likewise
13294 * math/w_jn.c (yn): Likewise.
13295 * math/w_jnf.c (ynf): Likewise.
13296 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13297 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13298 value for Bessel function domain errors outside _SVID_ mode.
13299 Adjust sign of return value for yn (negative integer, 0).
13300 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13301 by zero in return for negative x and set sign appropriately for
13302 negative n.
13303 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13304 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13305 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13306 expectations in error cases.
13307 (y1_test_data): Likewise.
13308 (yn_test_data): Likewise.
13309 * sysdeps/i386/fpu/libm-test-ulps: Update.
13310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13311
5b118558
UW
133122013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13313
13314 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13315 "64" to "64-v1". Add "64-v2".
13316 (abi-64-options): Rename to ...
13317 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13318 (abi-64-condition): Rename to ...
13319 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13320 (abi-64-ld-soname): Rename to ...
13321 (abi-64-v1-ld-soname): ... this.
13322 (abi-64-v2-options): Define.
13323 (abi-64-v2-condition): Likewise.
13324 (abi-64-v2-ld-soname): Likewise.
13325 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13326 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13330
61cd8fe4
UW
133312013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13332 Alan Modra <amodra@gmail.com>
13333
13334 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13335 New versions for use with the ELFv2 ABI.
13336 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13337 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13338 declaration.
13339 (struct La_ppc64v2_retval): Likewise.
13340 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13341 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13342 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13343 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13344 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13345 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13346 Do not save or restore CR.
13347 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13348 (_dl_profile_resolve): Do no save or restore CR. Support extended
13349 return values for ELFv2 ABI. Fix location of FPR return registers.
13350 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13351 updated values for _CALL_ELF == 2.
13352 (La_regs, La_retval, int_retval): Likewise.
13353
8b8a692c
UW
133542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13355
13356 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13357 (FRAME_MIN_SIZE_PARM): Likewise.
13358 (FRAME_BACKCHAIN): Likewise.
13359 (FRAME_CR_SAVE): Likewise.
13360 (FRAME_LR_SAVE): Likewise.
13361 (FRAME_TOC_SAVE): Likewise.
13362 (FRAME_PARM_SAVE): Likewise.
13363 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13364 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13365 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13366 (call_mcount_parm_offset): New macro.
13367 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13368 (PROF): Use symbolic stack frame offsets.
13369 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13370 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13371 Redefine in terms of FRAME_MIN_SIZE.
13372 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13373 (_dl_profile_resolve): Likewise. Update comment.
13374 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13375 symbols stack frame offsets.
13376 (__sigsetjmp): Likewise.
13377 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13378 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13379 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13380 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13381
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13383 (FRAME_BACKCHAIN): Remove.
13384 (FRAME_CR_SAVE): Likewise.
13385 (FRAME_LR_SAVE): Likewise.
13386 (FRAME_COMPILER_DW): Likewise.
13387 (FRAME_LINKER_DW): Likewise.
13388 (FRAME_TOC_SAVE): Likewise.
13389 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13390 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13391 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13392 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13394 (CHECK_SP): Use symbolic stack frame offsets.
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13396 zone" instead of caller's parameter save area for temp storage.
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13398 Likewise. Also, use symbolic stack frame offsets.
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13400 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13401 our own stack frame instead of the caller's.
13402 (__socket): Use symbolic stack frame offsets.
13403
122b66de
UW
134042013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13405 Alan Modra <amodra@gmail.com>
13406
13407 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13408 Define.
57f41c40
AS
13409 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13410 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13411 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13412 New function.
13413 (elf_machine_fixup_plt): Call it.
13414 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13415 reloc arguments.
13416 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13417 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13418 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13419 r2 before calling target.
13420
696caf1d
UW
134212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13422 Alan Modra <amodra@gmail.com>
13423
13424 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13425 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13426 versions of macros to support ELFv2 ABI.
13427 (LOCALENTRY): New macro.
13428 (ENTRY, EALIGN): Use it.
13429 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13430 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13431 fall through into ENTRY entry point.
13432 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13433 Only define if _CALL_ELF != 2.
13434
13435 (elf_machine_matches_host): Verify ABI version matches.
13436 (RTLD_START): Use LOCALENTRY.
13437 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13438 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13439 (PLT_ENTRY_WORDS): New macro.
13440 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13441 (elf_machine_runtime_setup): Support ELFv2 ABI.
13442 (elf_machine_fixup_plt): Likewise.
13443 (elf_machine_plt_conflict): Likewise.
13444 (resolve_ifunc): Likewise.
13445 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13446 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13447 Likewise.
13448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13449 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13451 (makecontext): Support ELFv2 ABI.
13452 * elf/elf.h (EF_PPC64_ABI): Define.
13453
d31beafa
UW
134542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13455
57f41c40
AS
13456 * sysdeps/powerpc/powerpc64/sysdep.h
13457 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13458 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13459 (ENTRY) [ASSEMBLER]: ... but instead here ...
13460 (EALIGN) [ASSEMBLER]: ... and here.
13461 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13462 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13463 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13464 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13465 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13466 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13467 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13468 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13470 Use PPC64_LOAD_FUNCPTR.
13471
b525166b
UW
13472 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13473
7ec07d9a
AM
134742013-12-04 Alan Modra <amodra@gmail.com>
13475
13476 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13477 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13478 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13479 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13480
13481 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13482 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13483 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13484 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13485 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13486 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13487
5162e7dd
UW
134882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13489
13490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13491 (__makecontext): Fix incorrect CFI when backtracing out of
13492 context created via makecontext.
13493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13494 (__setcontext): Fix incorrect CFI during switch to new context.
13495 (__novec_setcontext): Likewise.
13496
19e3372b
OB
134972013-12-04 Ondřej Bílka <neleai@seznam.cz>
13498
13499 [BZ #4772]
13500 * time/strptime_l.c (__strptime_internal): Allow modifiers
13501 in strptime.
13502 * time/tst-strptime.c (day_tests): Add testcase.
13503
ecaf142d
SP
135042013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13505
13506 * scripts/bench.pl: Skip over blank lines.
13507
fbf964ae
PE
135082013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13509
13510 [BZ #926]
13511 * manual/time.texi (Calendar Time): Clarify what timezone functions
13512 use.
13513
fa60a674
AZ
135142013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13515
13516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13517
d674f0ef
OB
135182013-12-04 Ondřej Bílka <neleai@seznam.cz>
13519
13520 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13521 implementation.
13522 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13523 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13524 * debug/memset_chk.c (__memset_chk): Likewise.
13525 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13526 * debug/strncpy_chk.c: Likewise.
13527
17dea188
JM
135282013-12-03 Joseph Myers <joseph@codesourcery.com>
13529
749008ff
JM
13530 [BZ #15268]
13531 [BZ #15425]
13532 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13533 (__ieee754_exp): For possibly underflowing results, check size of
13534 result and force underflow exception if required.
13535 * math/auto-libm-test-in: Add more tests of exp.
13536 * math/auto-libm-test-out: Regenerated.
13537 * sysdeps/i386/fpu/libm-test-ulps: Update.
13538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13539
17dea188
JM
13540 [BZ #16283]
13541 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13542 * math/w_exp2f.c (__exp2f): Likewise.
13543 * math/w_exp2l.c (__exp2l): Likewise.
13544 * math/auto-libm-test-in: Do not allow missing errno on exp2
13545 underflow.
13546 * math/auto-libm-test-out: Regenerated.
13547
b20de2c3
OB
135482013-12-03 Ondřej Bílka <neleai@seznam.cz>
13549
13550 [BZ #16274]
13551 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13552 handle filename validation.
13553 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13554 (do_open): Delete.
13555
d8e2dbe3
JM
135562013-12-03 Joseph Myers <joseph@codesourcery.com>
13557
34e16df5
JM
13558 [BZ #6786]
13559 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13560 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13561 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13562 <float.h>.
13563 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13565 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13566 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13567 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13568 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13569 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13570 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13571 Add more erfc tests.
13572 * math/auto-libm-test-out: Regenerated.
13573 * sysdeps/i386/fpu/libm-test-ulps: Update.
13574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13575
d8e2dbe3
JM
13576 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13577 exp2, expm1, j0 and j1.
13578 * math/auto-libm-test-out: Regenerated.
13579 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13580 (erfc_test_data): Likewise.
13581 (exp_test_data): Likewise.
13582 (exp_tonearest_test_data): Likewise.
13583 (exp_towardzero_test_data): Likewise.
13584 (exp_downward_test_data): Likewise.
13585 (exp_upward_test_data): Likewise.
13586 (exp10_test_data): Likewise.
13587 (exp2_test_data): Likewise.
13588 (expm1_test_data): Likewise.
13589 (j0_test_data): Likewise.
13590 (j1_test_data): Likewise.
13591 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13592 (input_flag_type): Add flag_xfail_rounding.
13593 (input_flags): Add xfail-rounding.
13594 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13595 (output_for_one_input_case): Handle flag_xfail_rounding.
13596 * sysdeps/i386/fpu/libm-test-ulps: Update.
13597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13598
18d14251
AJ
135992013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13600
3d2e6075 13601 [BZ #16289]
18d14251
AJ
13602 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13603 division by 0.
13604
520d437b
SP
136052013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13606
13607 [BZ #16195]
13608 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13609 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13610 (STAP_PROBE0): New macro.
13611 (STAP_PROBE1): Likewise.
13612 (STAP_PROBE2): Likewise.
13613 (STAP_PROBE3): Likewise.
13614 (STAP_PROBE4): Likewise.
13615
416e0145
OB
136162013-12-02 Ondřej Bílka <neleai@seznam.cz>
13617
13618 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13619
9d17796a
SE
136202013-12-02 Steve Ellcey <sellcey@mips.com>
13621
13622 * benchtests/Makefile (bench): Add sqrt.
13623 (LDLIBS-bench-sqrt): New.
13624 * benchtests/sqrt-input: New.
13625
f524d6a8
PS
136262013-12-02 Pavel Simerda <psimerda@redhat.com>
13627
639a0ef8
PS
13628 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13629 (GAIH_EAI): Likewise.
13630 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13631 (gaih_inet): Likewise.
13632 (getaddrinfo): Don't use GAIH_EAI.
13633
f524d6a8
PS
13634 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13635 (struct gaih): Remove definition.
13636
df3aedaf
SP
136372013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13638
13639 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13640 Use HERRNOP directly.
13641
1ab19dec
AZ
136422013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13643
b42ad38d 13644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 13645
176b0c79
JM
136462013-11-30 Joseph Myers <joseph@codesourcery.com>
13647
13648 * math/gen-auto-libm-tests.c (test_functions): Add more
13649 single-argument functions.
13650 (special_fill_pi_2): New function.
13651 (special_fill_minus_pi_2): Likewise.
13652 (special_fill_pi_6): Likewise.
13653 (special_fill_minus_pi_6): Likewise.
13654 (special_fill_pi_3): Likewise.
13655 (special_fill_2pi_3): Likewise.
13656 (special_fill_e): Likewise.
13657 (special_fill_1_e): Likewise.
13658 (special_fill_e_minus_1): Likewise.
13659 (special_real_inputs): Add more special inputs.
13660 (output_for_one_input_case): Do not require ERANGE on underflow to
13661 zero if round-to-nearest result does not underflow to zero, unless
13662 exact results required.
13663 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13664 atan, atanh, cbrt, cos and cosh.
13665 * math/auto-libm-test-out: Regenerated.
13666 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13667 (acos_tonearest_test_data): Likewise.
13668 (acos_towardzero_test_data): Likewise.
13669 (acos_downward_test_data): Likewise.
13670 (acos_upward_test_data): Likewise.
13671 (acosh_test_data): Likewise.
13672 (asin_test_data): Likewise.
13673 (asin_tonearest_test_data): Likewise.
13674 (asin_towardzero_test_data): Likewise.
13675 (asin_upward_test_data): Likewise.
13676 (asinh_test_data): Likewise.
13677 (atan_test_data): Likewise.
13678 (atanh_test_data): Likewise.
13679 (cbrt_test_data): Likewise.
13680 (cos_test_data): Likewise.
13681 (cos_tonearest_test_data): Likewise.
13682 (cos_towardzero_test_data): Likewise.
13683 (cos_downward_test_data): Likewise.
13684 (cos_upward_test_data): Likewise.
13685 (cosh_test_data): Likewise.
13686 (cosh_tonearest_test_data): Likewise.
13687 (cosh_towardzero_test_data): Likewise.
13688 (cosh_downward_test_data): Likewise.
13689 (cosh_upward_test_data): Likewise.
13690 * sysdeps/i386/fpu/libm-test-ulps: Update.
13691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13692
ffb536d0
JM
136932013-11-29 Joseph Myers <joseph@codesourcery.com>
13694
2a77a467
JM
13695 [BZ #6787]
13696 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13697 * math/w_exp10f.c (__exp10f): Likewise.
13698 * math/w_exp10l.c (__exp10l): Likewise.
13699 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13700 errno settings in existing tests.
13701
ea3bc4e8
JM
13702 [BZ #14032]
13703 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13704 precision control set to double precision.
13705 * sysdeps/i386/fpu/w_sqrt.c: New file.
13706 * math/auto-libm-test-in: Add more tests.
13707 * math/auto-libm-test-out: Update.
13708
0712c9d8
JM
13709 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13710 (sqrt_test_tonearest): New function.
13711 (sqrt_towardzero_test_data): New variable.
13712 (sqrt_test_towardzero): New function.
13713 (sqrt_downward_test_data): New variable.
13714 (sqrt_test_downward): New function.
13715 (sqrt_upward_test_data): New variable.
13716 (sqrt_test_upward): New function.
13717 (main): Call the new functions.
13718
ffb536d0
JM
13719 * math/gen-auto-libm-tests.c: New file.
13720 * math/auto-libm-test-in: Likewise.
13721 * math/auto-libm-test-out: New generated file.
13722 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13723 variables.
13724 (%beautify): Add generated representations of zero.
13725 (top level): Set $auto_input and call parse_auto_input.
13726 (beautify): Remove trailing "f" from hex float constants.
13727 (parse_args): Handle XFAIL_TEST.
13728 (convert_condition): New function.
13729 (or_value): Likewise.
13730 (or_cond_value): Likewise.
13731 (generate_testfile): Handle AUTO_TESTS_* lines.
13732 (parse_auto_input): New function.
13733 * math/libm-test.inc (XFAIL_TEST): New macro.
13734 (ERRNO_UNCHANGED): Update value.
13735 (ERRNO_EDOM): Likewise.
13736 (ERRNO_ERANGE): Likewise.
13737 (IGNORE_RESULT): Likewise.
13738 (TEST_COND_flt_32): New macro.
13739 (TEST_COND_dbl_64): Likewise.
13740 (TEST_COND_ldbl_96_intel): Likewise.
13741 (TEST_COND_ldbl_96_m68k): Likewise.
13742 (TEST_COND_ldbl_128): Likewise.
13743 (TEST_COND_ldbl_128ibm): Likewise.
13744 (TEST_COND_long32): Likewise.
13745 (TEST_COND_long64): Likewise.
13746 (TEST_COND_before_rounding): Likewise.
13747 (TEST_COND_after_rounding): Likewise.
13748 (enable_test): Handle XFAIL_TEST flag.
13749 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13750 with finite results.
13751 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13752 auto-libm-test-out.
13753
acd98a8e
AK
137542013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13755 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13756
13757 [BZ #16214]
13758 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13759 __tls_get_addr_internal instead of __tls_get_offset in order to
13760 avoid GOT pointer dependency. Make rtld export
13761 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13762 __tls_get_addr since we are a __tls_get_offset platform.
13763 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13764 GOT pointer being set up before.
13765 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13766
3c1c46a6
JM
137672013-11-28 Joseph Myers <joseph@codesourcery.com>
13768
7475aef5
JM
13769 * manual/math.texi (Errors in Math Functions): Document accuracy
13770 goals.
13771
8bca7cd8
JM
13772 [BZ #15004]
13773 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13774 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13777 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13779 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13789
91a1f3fe
JM
13790 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13791 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13792 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13793 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13794 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13795 Likewise.
13796 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13797 Likewise.
13798 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13799 Likewise.
13800 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13801 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13802 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13803 atomic-feupdateenv and flt-rounds.
13804 * sysdeps/powerpc/nofpu/Versions (libc): Add
13805 __atomic_feholdexcept, __atomic_feclearexcept,
13806 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13807 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13808 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13809 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13810 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13811 here.
13812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13813 Update.
13814
c5df7609
JM
13815 * manual/arith.texi (FP Exceptions): Document that exceptions may
13816 not be raised when matherr is used.
13817 (Math Error Reporting): Document overflow in directed rounding
13818 modes. Document that errno may not be set when finite values are
13819 returned on overflow. Document intent to set errno on underflow
13820 only for underflow to zero.
13821
3c1c46a6
JM
13822 [BZ #16271]
13823 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13824 round-to-nearest then adjust result for other rounding modes.
13825 * include/fenv.h (fegetround): Use libm_hidden_proto.
13826 * math/fegetround.c (fegetround): Use libm_hidden_def.
13827 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13828 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13829 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13830 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13831 Likewise.
13832 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13833 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13834 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13835 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13836
5a4c6d53
SP
138372013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13838
13839 [BZ #16077]
13840 * nss/Versions (libnss_files): Add
13841 _nss_files_gethostbyname3_r.
13842 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13843 New function.
13844 (HOST_DB_LOOKUP): Remove macro.
13845 (_nss_files_gethostbyname_r): Implement function without the
13846 HOST_DB_LOOKUP macro.
13847 (_nss_files_gethostbyname2_r): Likewise.
13848
897b98ba
OB
138492013-11-28 Ondřej Bílka <neleai@seznam.cz>
13850
13851 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13852
6f476861
UB
138532013-11-26 Uros Bizjak <ubizjak@gmail.com>
13854
13855 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13856 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13857 warning.
13858
bd12ab55
AZ
138592013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13860
13861 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13862 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13863 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13864 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13865 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13866 __fe_nomask_env_priv and attribute_hidden.
13867 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13868 (libc_feupdateenv_test_ppc): Likewise.
13869 (libc_feresetround_ppc): Likewise.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13871 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13872 compat_symbol macro.
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13874 (__fe_nomask_env): Likewise.
13875 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13876
52bb6543
OB
138772013-11-26 Ondřej Bílka <neleai@seznam.cz>
13878
13879 * string/Makefile: Remove ifunc tests.
13880 * string/test-string.h: Define TEST_IFUNC.
13881 * string/test-bcopy-ifunc.c: Remove.
13882 * string/test-bzero-ifunc.c: Likewise.
13883 * string/test-memccpy-ifunc.c: Likewise.
13884 * string/test-memchr-ifunc.c: Likewise.
13885 * string/test-memcmp-ifunc.c: Likewise.
13886 * string/test-memcpy-ifunc.c: Likewise.
13887 * string/test-memmem-ifunc.c: Likewise.
13888 * string/test-memmove-ifunc.c: Likewise.
13889 * string/test-mempcpy-ifunc.c: Likewise.
13890 * string/test-memrchr-ifunc.c: Likewise.
13891 * string/test-memset-ifunc.c: Likewise.
13892 * string/test-rawmemchr-ifunc.c: Likewise.
13893 * string/test-stpcpy-ifunc.c: Likewise.
13894 * string/test-stpncpy-ifunc.c: Likewise.
13895 * string/test-strcasecmp-ifunc.c: Likewise.
13896 * string/test-strcasestr-ifunc.c: Likewise.
13897 * string/test-strcat-ifunc.c: Likewise.
13898 * string/test-strchr-ifunc.c: Likewise.
13899 * string/test-strchrnul-ifunc.c: Likewise.
13900 * string/test-strcmp-ifunc.c: Likewise.
13901 * string/test-strcpy-ifunc.c: Likewise.
13902 * string/test-strcspn-ifunc.c: Likewise.
13903 * string/test-strlen-ifunc.c: Likewise.
13904 * string/test-strncasecmp-ifunc.c: Likewise.
13905 * string/test-strncat-ifunc.c: Likewise.
13906 * string/test-strncmp-ifunc.c: Likewise.
13907 * string/test-strncpy-ifunc.c: Likewise.
13908 * string/test-strnlen-ifunc.c: Likewise.
13909 * string/test-strpbrk-ifunc.c: Likewise.
13910 * string/test-strrchr-ifunc.c: Likewise.
13911 * string/test-strspn-ifunc.c: Likewise.
13912 * string/test-strstr-ifunc.c: Likewise.
13913
ab260039 139142013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
13915
13916 * benchtests/Makefile: Remove ifunc tests.
13917 * benchtests/bench-string.h: Define TEST_IFUNC.
13918 * benchtests/bench-bcopy-ifunc.c: Remove.
13919 * benchtests/bench-bzero-ifunc.c: Likewise.
13920 * benchtests/bench-memccpy-ifunc.c: Likewise.
13921 * benchtests/bench-memchr-ifunc.c: Likewise.
13922 * benchtests/bench-memcmp-ifunc.c: Likewise.
13923 * benchtests/bench-memcpy-ifunc.c: Likewise.
13924 * benchtests/bench-memmem-ifunc.c: Likewise.
13925 * benchtests/bench-memmove-ifunc.c: Likewise.
13926 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13927 * benchtests/bench-memrchr-ifunc.c: Likewise.
13928 * benchtests/bench-memset-ifunc.c: Likewise.
13929 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13930 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13931 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13932 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13933 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13934 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13935 * benchtests/bench-strcat-ifunc.c: Likewise.
13936 * benchtests/bench-strchr-ifunc.c: Likewise.
13937 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13938 * benchtests/bench-strcmp-ifunc.c: Likewise.
13939 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13940 * benchtests/bench-strcpy-ifunc.c: Likewise.
13941 * benchtests/bench-strcspn-ifunc.c: Likewise.
13942 * benchtests/bench-strlen-ifunc.c: Likewise.
13943 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13944 * benchtests/bench-strncat-ifunc.c: Likewise.
13945 * benchtests/bench-strncmp-ifunc.c: Likewise.
13946 * benchtests/bench-strncpy-ifunc.c: Likewise.
13947 * benchtests/bench-strnlen-ifunc.c: Likewise.
13948 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13949 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13950 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13951 * benchtests/bench-strspn-ifunc.c: Likewise.
13952 * benchtests/bench-strstr-ifunc.c: Likewise.
13953
139542013-11-26 Ondřej Bílka <neleai@seznam.cz>
13955
ab260039
OB
13956 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13957
d1d9eaf4 139582013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13959
d1d9eaf4
OB
13960 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13961 * rt/aio.h: Likewise.
13962 * sysdeps/gnu/bits/utmp.h: Likewise.
13963 * sysdeps/gnu/bits/utmpx.h: Likewise.
13964 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13965 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13966 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13967 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13968 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13969 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13970 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13971 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13972 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13973 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13974 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13975 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13976 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13978 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13979 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13980 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13981 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13982 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13983 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13984 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13985 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13986 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13987 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13988 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13990 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13991 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13992 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13993 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13994 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13995 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13996 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13997 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13998 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13999 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14000 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14001 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14002 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14003 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14004 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14005 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14006
a7624ed9
CD
140072013-11-25 Carlos O'Donell <carlos@redhat.com>
14008
14009 [BZ #16245]
14010 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14011 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14012
63cfe52b
JM
140132013-11-25 Joseph Myers <joseph@codesourcery.com>
14014
14015 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14016 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14017 Likewise.
14018
41e8926a
AZ
140192013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14020
14021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14022 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14023 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14024 (__fesetround): Remove define.
14025 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14026 rounding and exceptions handling.
14027 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14028 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14029 (__fe_nomask_env): Likewise.
14030 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14031 __fegetround instead of fegetround.
14032 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14033 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14034
6851bd4d
RM
140352013-11-21 Roland McGrath <roland@hack.frob.com>
14036
070906ff
RM
14037 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14038 it's there.
14039
6851bd4d
RM
14040 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14041
84ae135d
MI
140422013-11-21 Meador Inge <meadori@codesourcery.com>
14043
14044 [BZ #11157]
14045 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14046 (encrypt_r): Likewise.
14047 * malloc/obstack.h (obstack_free): Likewise.
14048 * posix/unistd.h (encrypt): Likewise.
14049
daf75146
GM
140502013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14051
14052 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14053 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14054 DL_CALL_DT_FINI() that call the functions directly.
14055 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14056 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14057 * elf/dl-fini.c: Likewise.
14058
10ad46bc
OB
140592013-11-20 Ondřej Bílka <neleai@seznam.cz>
14060
14061 * malloc/hooks.c (memalign_check): Add alignment rounding.
14062 * malloc/malloc.c (_mid_memalign): New function.
14063 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14064 Implement by calling _mid_memalign.
14065 * manual/probes.texi (Memory Allocation Probes): Remove
14066 memory_valloc_retry and memory_pvalloc_retry.
14067
f3fd2628
SP
140682013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14069
4712799f
SP
14070 * locale/programs/locarchive.c (open_archive): Add const
14071 qualifier to ARCHIVEFNAME and copy default fname to
14072 DEFAULT_FNAME.
14073
0417b20f
SP
14074 [BZ #15601]
14075 * libio/tst-widetext.input: Rename Oriya to Odia.
14076 * locale/iso-639.def: Likewise.
14077
f3fd2628
SP
14078 * manual/probes.texi (Mathematical Function Probes): Add
14079 documentation for sin, cos, asin and acos probes.
14080 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14081 (__sin32): Add slowasin probe.
14082 (__cos32): Add slowacos probe.
14083 (__mpsin): Add slowsin probe.
14084 (__mpcos): Add slowcos probe.
14085
73c1ce4f
JM
140862013-11-19 Joseph Myers <joseph@codesourcery.com>
14087
14088 [BZ #15483]
14089 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14090 thread-local __sim_exceptions_thread and global
14091 __sim_exceptions_global.
14092 (__sim_disabled_exceptions): Change to thread-local
14093 __sim_disabled_exceptions_thread and global
14094 __sim_disabled_exceptions_global.
14095 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14096 and global __sim_round_mode_global.
14097 (__simulate_exceptions): Use thread-local floating-point state and
14098 set global state from it as needed.
14099 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14100 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14101 __sim_round_mode_thread.
14102 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14103 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14104 and global __sim_exceptions_global.
14105 (__sim_disabled_exceptions): Change to thread-local
14106 __sim_disabled_exceptions_thread and global
14107 __sim_disabled_exceptions_global.
14108 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14109 and global __sim_round_mode_global.
14110 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14111 (SIM_SET_GLOBAL): Likewise.
14112 * sysdeps/powerpc/soft-fp/sfp-machine.h
14113 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14114 __sim_round_mode_thread.
14115 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14116 __sim_disabled_exceptions_thread.
14117 (__sim_exceptions): Change to __sim_exceptions_thread.
14118 (__sim_disabled_exceptions): Change to
14119 __sim_disabled_exceptions_thread.
14120 (__sim_round_mode): Change to __sim_round_mode_thread.
14121 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14122 thread-local floating-point state and set global state from it as
14123 needed.
14124 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14125 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14126 (__sim_disabled_exceptions): Remove extern declaration.
14127 (feenableexcept): Use thread-local floating-point state and set
14128 global state from it as needed.
14129 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14130 extern declaration.
14131 (__sim_disabled_exceptions): Likewise.
14132 (__sim_round_mode): Likewise.
14133 (__fegetenv): Use thread-local floating-point state.
14134 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14135 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14136 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14137 floating-point state and set global state from it as needed.
14138 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14139 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14140 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14141 Likewise.
14142 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14143 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14144 Likewise.
14145 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14146 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14147 Use __sim_round_mode_thread.
14148 * math/test-fenv-tls.c: New file.
14149 * math/Makefile (tests): Add test-fenv-tls.
14150 ($(objpfx)test-fenv-tls): Depend on
14151 $(common-objpfx)nptl/libpthread.so.
14152
b5449b12
AS
141532013-11-19 Andreas Schwab <schwab@suse.de>
14154
14155 * locale/programs/locale.c (show_info): Decode wordarray elements.
14156 * locale/categories.def (LC_MONETARY): Add element for
14157 _NL_MONETARY_CRNCYSTR.
14158 * locale/C-monetary.c (conversion_rate): New variable.
14159 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14160 element.
14161
e186536b
CM
141622013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14163
14164 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14165 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14166
5c349950
PP
141672013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14168
14169 * elf/Makefile (tst-auxv): New test.
14170 * elf/tst-auxv.c: New
14171 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14172
699df45b
JM
141732013-11-18 Joseph Myers <joseph@codesourcery.com>
14174
14175 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14176 (hidden_proto): Caller changed.
14177 (hidden_tls_proto): New macro.
14178 (libc_hidden_tls_proto): Likewise.
14179 (rtld_hidden_tls_proto): Likewise.
14180 (libm_hidden_tls_proto): Likewise.
14181 (libresolv_hidden_tls_proto): Likewise.
14182 (librt_hidden_tls_proto): Likewise.
14183 (libdl_hidden_tls_proto): Likewise.
14184 (libnss_files_hidden_tls_proto): Likewise.
14185 (libnsl_hidden_tls_proto): Likewise.
14186 (libnss_nisplus_hidden_tls_proto): Likewise.
14187 (libutil_hidden_tls_proto): Likewise.
14188
b7589107
OB
141892013-11-18 Ondřej Bílka <neleai@seznam.cz>
14190
14191 [BZ #10253]
14192 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14193 (decompose_rpath): Defer expansion to fillin_rpath.
14194 (_dl_init_paths): Pass linkmap to fillin_rpath.
14195
250c23bd
RS
141962013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14197
14198 * benchtests/Makefile: Add strsep.
14199 * benchtests/bench-strsep.c: New file: strsep benchtest.
14200 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14201
a7931fcf
AS
142022013-11-18 Andreas Schwab <schwab@suse.de>
14203
14204 * locale/programs/locale.c (show_info) [case byte]: Check for
14205 '\377' instead of '\177'.
14206 * locale/C-monetary.c (not_available): Always use "\377".
14207 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14208 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14209 detect unavailable sign_posn locale elements.
14210 * locale/localeconv.c (__localeconv): For grouping and
14211 mon_grouping handle "\177" and "\377" like no grouping.
14212 (INT_ELEM): New macro. Use it to set all numeric members.
14213 * locale/programs/ld-monetary.c (monetary_read)
14214 <tok_mon_grouping>: Normalize single -1 to the empty string.
14215 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14216 Likewise.
14217
728dab0e
OB
142182013-11-07 Ondřej Bílka <neleai@seznam.cz>
14219
14220 [BZ #16055]
14221 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14222 when we match (nil).
14223 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14224
66294491
JM
142252013-11-16 Joseph Myers <joseph@codesourcery.com>
14226
ce665817
JM
14227 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14228 (NO_TEST_INLINE): Update value.
14229 (ERRNO_UNCHANGED): Likewise.
14230 (ERRNO_EDOM): Likewise.
14231 (ERRNO_ERANGE): Likewise.
14232 (IGNORE_RESULT): Likewise.
14233 (check_float_internal): Check signs of NaN results if
14234 TEST_NAN_SIGN used.
14235 (check_complex): Pass TEST_NAN_SIGN flag through to second
14236 check_float_internal call.
14237 (copysign_test_data): Add tests with quiet NaNs as second
14238 argument. Use TEST_NAN_SIGN.
14239 (fabs_test_data): Add test of negative quiet NaN argument. Use
14240 TEST_NAN_SIGN.
14241 (signbit_test_data): Add tests of quiet NaN argument.
14242 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14243
ee1466a9
JM
14244 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14245 $ignore_result.
14246 (parse_args): Handle function results specified as IGNORE.
14247 * math/libm-test.inc (IGNORE_RESULT): New macro.
14248 (check_float_internal): Do not check numerical result if flag
14249 IGNORE_RESULT set.
14250 (check_complex): Pass through IGNORE_RESULT to second
14251 check_float_internal call.
14252 (check_int): Do not check numerical result if flag IGNORE_RESULT
14253 set.
14254 (check_long): Likewise.
14255 (check_bool): Likewise.
14256 (check_longlong): Likewise.
14257 (lrint_test_data): Add tests of infinite and NaN arguments.
14258 (lrint_tonearest_test_data): Likewise.
14259 (lrint_towardzero_test_data): Likewise.
14260 (lrint_downward_test_data): Likewise.
14261 (lrint_upward_test_data): Likewise.
14262 (llrint_test_data): Likewise.
14263 (llrint_tonearest_test_data): Likewise.
14264 (llrint_towardzero_test_data): Likewise.
14265 (llrint_downward_test_data): Likewise.
14266 (llrint_upward_test_data): Likewise.
14267 (lround_test_data): Likewise.
14268 (llround_test_data): Likewise.
14269
14407b7e
JM
14270 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14271 (ERRNO_UNCHANGED): Update value.
14272 (ERRNO_EDOM): Likewise.
14273 (ERRNO_ERANGE): Likewise.
14274 (NO_TEST_INLINE_FLOAT): New macro.
14275 (NO_TEST_INLINE_DOUBLE): Likewise.
14276 (enable_test): New function.
14277 (RUN_TEST_f_f): Check enable_test before running test.
14278 (RUN_TEST_2_f): Likewise.
14279 (RUN_TEST_fff_f): Likewise.
14280 (RUN_TEST_c_f): Likewise.
14281 (RUN_TEST_f_f1): Likewise.
14282 (RUN_TEST_fF_f1): Likewise.
14283 (RUN_TEST_fI_f1): Likewise.
14284 (RUN_TEST_ffI_f1): Likewise.
14285 (RUN_TEST_c_c): Likewise.
14286 (RUN_TEST_cc_c): Likewise.
14287 (RUN_TEST_f_i): Likewise.
14288 (RUN_TEST_f_i_tg): Likewise.
14289 (RUN_TEST_ff_i_tg): Likewise.
14290 (RUN_TEST_f_b): Likewise.
14291 (RUN_TEST_f_b_tg): Likewise.
14292 (RUN_TEST_f_l): Likewise.
14293 (RUN_TEST_f_L): Likewise.
14294 (RUN_TEST_fFF_11): Likewise.
14295 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14296 conditionals.
14297 (cosh_test_data): Likewise.
14298 (exp_test_data): Likewise.
14299 (expm1_test_data): Likewise.
14300 (hypot_test_data): Likewise.
14301 (pow_test_data): Likewise.
14302 (sinh_test_data): Likewise.
14303 (tanh_test_data): Likewise.
14304 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14305 flags argument.
14306
ca07f197
JM
14307 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14308 tests with quiet NaN input and output.
14309 (acosh_test_data): Likewise.
14310 (asin_test_data): Likewise.
14311 (asinh_test_data): Likewise.
14312 (atan_test_data): Likewise.
14313 (atanh_test_data): Likewise.
14314 (atan2_test_data): Likewise.
14315 (cbrt_test_data): Likewise.
14316 (cos_test_data): Likewise.
14317 (cosh_test_data): Likewise.
14318 (erf_test_data): Likewise.
14319 (erfc_test_data): Likewise.
14320 (exp_test_data): Likewise.
14321 (exp10_test_data): Likewise.
14322 (exp2_test_data): Likewise.
14323 (expm1_test_data): Likewise.
14324 (hypot_test_data): Likewise.
14325 (j0_test_data): Likewise.
14326 (j1_test_data): Likewise.
14327 (jn_test_data): Likewise.
14328 (lgamma_test_data): Likewise.
14329 (log_test_data): Likewise.
14330 (log10_test_data): Likewise.
14331 (log1p_test_data): Likewise.
14332 (log2_test_data): Likewise.
14333 (pow_test_data): Likewise.
14334 (scalb_test_data): Likewise.
14335 (sin_test_data): Likewise.
14336 (sincos_test_data): Likewise.
14337 (sinh_test_data): Likewise.
14338 (tan_test_data): Likewise.
14339 (tanh_test_data): Likewise.
14340 (tgamma_test_data): Likewise.
14341 (y0_test_data): Likewise.
14342 (y1_test_data): Likewise.
14343 (yn_test_data): Likewise.
14344
66294491
JM
14345 [BZ #16167]
14346 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14347 argument being NaN and avoid computations with second argument in
14348 that case.
14349 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14350 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14351 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14352
1820b143
CL
143532013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14354
14355 * locale/iso-639.def: Add Chitwani Tharu (the).
14356
714bd261
AS
143572013-11-14 Andreas Schwab <schwab@suse.de>
14358
14359 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14360 word instead of empty string.
14361
7ab44563
AZ
143622013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14363
14364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14365 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14367 (__fe_nomask_env): Likewise.
14368
e8470ea2
SE
143692013-11-13 Steve Ellcey <sellcey@mips.com>
14370
14371 * benchtests/bench-timing.h: Include time.h.
14372
17c1d9f0
L
143732013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14374
14375 [BZ #15997]
14376 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14377 to 3.4.0 for x32.
14378 * sysdeps/unix/sysv/linux/configure: Regenerated.
14379
9310c284
JM
143802013-11-13 Joseph Myers <joseph@codesourcery.com>
14381
14382 [BZ #16151]
14383 * stdlib/strtod_l.c (round_and_return): Do not consider
14384 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14385 exponent one less than half the least subnormal exponent.
14386 * stdlib/test-strtod-round-data: Add more tests.
14387 * stdlib/tst-strtod-round.c (tests): Regenerated.
14388
7a2ad8cf
AZ
143892013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14390
14391 [BZ #14143]
14392 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14393 (__fe_mask_env): Likewise.
14394 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14395 libm_hidden_proto and add function prototype.
14396 (__fe_mask_env): Add function prototype.
14397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14398 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14400 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14402 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14403
50727aa7
MS
144042013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14405
b2f386c1 14406 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14407 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14408
a615be46
MS
144092013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14410
14411 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14412 of htab_find_slot().
14413
7ddace62
DM
144142013-11-11 David S. Miller <davem@davemloft.net>
14415
14416 [BZ #16150]
14417 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14418 symbol in the non-vis3 case in static builds.
14419 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14420 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14421 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14422 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14423
9182aa67
JK
144242013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14425
14426 [BZ #387]
14427 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14428 it is empty.
14429
450a2e2d
AZ
144302013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14431
b2f386c1
SP
14432 * benchtests/Makefile: Add bench-strtod.
14433 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14434
8ec3f656
AS
144352013-11-11 Andreas Schwab <schwab@suse.de>
14436
14437 [BZ #16153]
14438 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14439 terminating NUL in key length.
14440
76a9b998
AZ
144412013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14442
14443 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14444 Add artificial ODP entry for vDSO symbol for PPC64.
14445 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14446 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14447
e4368156
OB
144482013-11-07 Ondřej Bílka <neleai@seznam.cz>
14449
14450 [BZ #15374]
14451 * nss/getent.c (services_keys): Recognize services starting with digit.
14452
8d6bb57c
DM
144532013-11-06 David S. Miller <davem@davemloft.net>
14454
14455 [BZ #15985]
14456 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14457 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14458
e256c421
WN
144592013-11-06 Will Newton <will.newton@linaro.org>
14460
14461 * manual/memory.texi (Malloc Examples): Remove register
14462 keyword from examples.
14463
f6e12daa 144642013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14465
f6e12daa 14466 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14467
9d880655
AS
144682013-11-04 Joseph Myers <joseph@codesourcery.com>
14469
fd2f9486 14470 [BZ #6981]
9d880655
AS
14471 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14472 depending on [__GCC_IEC_559 > 0].
14473 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14474 depending on [__GCC_IEC_559_COMPLEX > 0].
14475
ae129d3c
CL
144762013-11-03 Chris Leonard <cjl@sugarlabs.org>
14477
14478 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14479 to iso-639.def.
14480
4a15c2a4 144812013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14482
14483 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14484
8b35e35d
OB
144852013-11-01 Ondřej Bílka <neleai@seznam.cz>
14486
14487 [BZ #16112]
14488 * malloc/malloc (malloc_info): Do not handle first bin as
14489 special case.
14490
1d70fd6c
CL
144912013-11-01 Chris Leonard <cjl@sugarlabs.org>
14492
14493 * locale/iso-639.def: Add Central Nahuatl (nhn).
14494
8c5c2600
BH
144952013-11-01 Bruno Haible <bruno@clisp.org>
14496
14497 [BZ #7003]
14498 * manual/math.texi (BSD Random): Specify range upper bound as
14499 in POSIX.
14500
da5579c2
CL
145012013-10-31 Chris Leonard <cjl@sugarlabs.org>
14502
14503 * locale/iso-639.def: Add Meadow Mari (mhr).
14504
5d30d853
OB
145052013-10-31 Ondřej Bílka <neleai@seznam.cz>
14506
14507 [BZ #14752], [BZ #15763]
14508 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14509 Validate name.
14510 * rt/tst_shm.c: Add test for escaping directory.
14511
a4966c61
AS
145122013-10-31 Andreas Schwab <schwab@suse.de>
14513
8a43e768 14514 [BZ #15917]
a4966c61
AS
14515 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14516 followed by 'x' as part of digit sequence.
14517 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14518
28d708c4
MAP
145192013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14520
14521 [BZ #16037]
14522 * configure.ac: allow GNU Make 4.0 and greater.
14523 * configure: Regenerated.
14524
a56ee40b
WN
145252013-10-30 Will Newton <will.newton@linaro.org>
14526
14527 [BZ #16038]
14528 * malloc/hooks.c (memalign_check): Limit alignment to the
14529 maximum representable power of two.
14530 * malloc/malloc.c (__libc_memalign): Likewise.
14531 * malloc/tst-memalign.c (do_test): Add test for very
14532 large alignment values.
14533 * malloc/tst-posix_memalign.c (do_test): Likewise.
14534
c6e4925d
OB
145352013-10-30 Ondřej Bílka <neleai@seznam.cz>
14536
14537 [BZ #11087]
14538 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14539 (munmap_chunk): Likewise.
14540 (mremap_chunk): Likewise.
14541
145422013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14543
8a43e768 14544 [BZ #15799]
bbea82f7
OB
14545 * stdlib/div.c (div): Remove obsolete code.
14546 * stdlib/ldiv.c (ldiv): Likewise.
14547 * stdlib/lldiv.c (lldiv): Likewise.
14548
977f4b31
SP
145492013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14550
14551 [BZ #16071]
14552 * nss/nss_files/files-XXX.c (get_contents_ret): New
14553 enumerator.
14554 (get_contents): New function.
14555 (internal_getent): Use it. Expand size of LINEBUFLEN.
14556
cb8a6dbd
MF
145572013-10-30 Mike Frysinger <vapier@gentoo.org>
14558
14559 * configure.in: Moved to ...
14560 * configure.ac: ... here. Change reference to configure.in
14561 to configure.ac.
14562 * sysdeps/arm/preconfigure.ac: ... here.
14563 configure.in to configure.ac.
14564 * sysdeps/gnu/configure.in: Moved to ...
14565 * sysdeps/gnu/configure.ac: ... here.
14566 * sysdeps/i386/configure.in: Moved to ...
14567 * sysdeps/i386/configure.ac: ... here.
14568 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14569 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14570 * sysdeps/mach/configure.in: Moved to ...
14571 * sysdeps/mach/configure.ac: ... here.
14572 * sysdeps/mach/hurd/configure.in: Moved to ...
14573 * sysdeps/mach/hurd/configure.ac: ... here.
14574 * sysdeps/powerpc/configure.in: Moved to ...
14575 * sysdeps/powerpc/configure.ac: ... here.
14576 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14577 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14578 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14579 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14580 * sysdeps/s390/s390-32/configure.in: Moved to ...
14581 * sysdeps/s390/s390-32/configure.ac: ... here.
14582 * sysdeps/s390/s390-64/configure.in: Moved to ...
14583 * sysdeps/s390/s390-64/configure.ac: ... here.
14584 * sysdeps/sh/configure.in: Moved to ...
14585 * sysdeps/sh/configure.ac: ... here.
14586 * sysdeps/sparc/configure.in: Moved to ...
14587 * sysdeps/sparc/configure.ac: ... here.
14588 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14589 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14590 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14591 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14592 * sysdeps/x86_64/configure.in: Moved to ...
14593 * sysdeps/x86_64/configure.ac: ... here.
14594 * sysdeps/x86_64/preconfigure.in: Moved to ...
14595 * sysdeps/x86_64/preconfigure.ac: ... here.
14596 * aclocal.m4: Change reference to configure.in to configure.ac.
14597 * config.h.in: Likewise.
14598 * manual/install.texi: Likewise.
14599 * manual/maint.texi: Likewise.
14600 * Makefile: Likewise.
14601 * malloc/Makefile: Likewise.
14602 * nscd/Makefile: Likewise.
14603 * Makeconfig: Change reference to configure.in and
14604 preconfigure.in to configure.ac and preconfigure.ac
14605 respectively.
14606 * INSTALL: Regenerated.
14607 * configure: Likewise.
14608 * sysdeps/gnu/configure: Likewise.
14609 * sysdeps/i386/configure: Likewise.
14610 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14611 * sysdeps/mach/configure: Likewise.
14612 * sysdeps/mach/hurd/configure: Likewise.
14613 * sysdeps/powerpc/configure: Likewise.
14614 * sysdeps/powerpc/powerpc32/configure: Likewise.
14615 * sysdeps/powerpc/powerpc64/configure: Likewise.
14616 * sysdeps/s390/s390-32/configure: Likewise.
14617 * sysdeps/s390/s390-64/configure: Likewise.
14618 * sysdeps/sh/configure: Likewise.
14619 * sysdeps/sparc/configure: Likewise.
14620 * sysdeps/unix/sysv/linux/configure: Likewise.
14621 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14622 * sysdeps/x86_64/configure: Likewise.
14623 * sysdeps/x86_64/preconfigure: Likewise.
14624
36a4953a
AS
146252013-10-29 Andreas Schwab <schwab@suse.de>
14626
14627 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14628
c79a1204
SP
146292013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14630
dfa1b402
SP
14631 * benchtests/pow-inputs: Add new inputs.
14632
54f73d9c
SP
14633 * benchtests/exp-inputs: Add new inputs.
14634
c79a1204
SP
14635 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14636 conditional check for return value.
14637 (__cos32): Likewise.
14638
67beb545 146392013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
14640
14641 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14642 to provide a boost for large inputs with word alignment.
14643 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14644 implementation based on optimized PPC64 strcpy.
14645 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14646 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14647 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14648 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14649
151659f6
OB
146502013-10-25 Ondřej Bílka <neleai@seznam.cz>
14651
482a077e 14652 [BZ #2801]
151659f6
OB
14653 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14654
10b0f26b
OB
146552013-10-25 Ondřej Bílka <neleai@seznam.cz>
14656
14657 [BZ #14876]
14658 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14659 * time/tst-strptime.c (day_tests): Add testcase.
14660
ca42d35e
OB
146612013-10-25 Ondřej Bílka <neleai@seznam.cz>
14662
482a077e 14663 [BZ #14029]
ca42d35e
OB
14664 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14665
52e6d801
FB
146662013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14667
14668 [BZ #16074]
14669 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14670 MAP_FAILED on error.
14671
7cbcdb36
SP
146722013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14673
14674 [BZ #16072]
14675 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14676 heap for large requests.
14677
894f3f10
AM
146782013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14679
14680 [BZ #9954]
14681 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14682 result if the result has no associated interface.
14683 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14684 interface for all 127.X.Y.Z addresses.
14685
b85545a6
CL
146862013-10-24 Chris Leonard <cjl@sugarlabs.org>
14687
14688 * locale/iso-639.def: Add Ligurian (lij)
14689
d1f23d46
OB
146902013-10-21 Ondřej Bílka <neleai@seznam.cz>
14691
14692 [BZ #15825]
14693 * sunrpc/rpc_main.c: Document rpcgen -5.
14694
4db5b08f
MS
146952013-10-19 Michael Stahl <mstahl@redhat.com>
14696
14697 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14698
a471e96a
OB
146992013-10-19 Ondřej Bílka <neleai@seznam.cz>
14700
d1f23d46 14701 [BZ #10278]
a471e96a
OB
14702 * posix/glob.c: Match only directories when trailing slash is present.
14703 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14704 (main): Add testcase.
14705
45c30c61
OB
147062013-10-19 Ondřej Bílka <neleai@seznam.cz>
14707
14708 [BZ #15670]
14709 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14710
484c12fb
CD
147112013-10-18 Carlos O'Donell <carlos@redhat.com>
14712
3d7dc513
CD
14713 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14714 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14715 AUTH_DES and cindex for FIPS 140-2.
14716 (DES Encryption): Add cindex FIPS 46-3.
14717
484c12fb
CD
14718 * locale/locarchive.h (struct locarhandle): Add fname.
14719 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14720 if an optional argument was specified to --list-archive,
14721 otherwise NULL.
14722 * locale/programs/locarchive.c (show_archive_content): Take new
14723 argument fname and pass it via ah.fname to open_archive.
14724 * locale/programs/localedef.h: Update decl.
14725 (open_archive): If AH->fname is non-null, open that file
14726 rather than the default file name, and don't ignore ENOENT.
14727 (create_archive): Set AH.fname to NULL.
14728 (delete_locales_from_archive): Likewise.
14729 (add_locales_to_archive): Likewise.
14730 * locale/programs/locfile.c (write_all_categories): Likewise.
14731
3c8325fb
JM
147322013-10-18 Joseph Myers <joseph@codesourcery.com>
14733 Aldy Hernandez <aldyh@redhat.com>
14734
14735 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14736 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14737 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14738 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14739 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14740 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14741 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14742 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14743 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14744 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14745 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14746 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14747 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14748 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14749 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14750 Likewise.
14751 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14752 Likewise.
14753 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14754 Likewise.
14755 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14756 Likewise.
14757 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14758 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14759 Likewise.
14760 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14761 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14762 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14763 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14764 Likewise.
14765 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14766 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14767 * sysdeps/powerpc/preconfigure: Likewise.
14768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14769 Likewise.
14770 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14771 Replace contents of file by #include of <fenv_libc.h>.
14772 * sysdeps/powerpc/soft-fp/sfp-machine.h
14773 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14774 and <sys/prctl.h>.
14775 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14776 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14777 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14778 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14779 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14780 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14781 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14782 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14783 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14784 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14785 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14786 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14788 Allow copysignl PLT reference to be missing.
14789
5abe0682
RS
147902013-10-18 Richard Sandiford <richard@codesourcery.com>
14791 Joseph Myers <joseph@codesourcery.com
14792
14793 [BZ #15948]
14794 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14795 single character.
14796 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14797
c7738d08
SP
147982013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14799
14800 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14801 * elf/tst-tls1.c: Likewise.
14802 * elf/tst-tls10.h: Likewise.
14803 * elf/tst-tls14.c: Likewise.
14804 * elf/tst-tls2.c: Likewise.
14805 * elf/tst-tls3.c: Likewise.
14806 * elf/tst-tls4.c: Likewise.
14807 * elf/tst-tls5.c: Likewise.
14808 * elf/tst-tls6.c: Likewise.
14809 * elf/tst-tls7.c: Likewise.
14810 * elf/tst-tls8.c: Likewise.
14811 * elf/tst-tls9.c: Likewise.
14812 * elf/tst-tlsmod1.c: Likewise.
14813 * elf/tst-tlsmod13.c: Likewise.
14814 * elf/tst-tlsmod13a.c: Likewise.
14815 * elf/tst-tlsmod14a.c: Likewise.
14816 * elf/tst-tlsmod16a.c: Likewise.
14817 * elf/tst-tlsmod16b.c: Likewise.
14818 * elf/tst-tlsmod2.c: Likewise.
14819 * elf/tst-tlsmod3.c: Likewise.
14820 * elf/tst-tlsmod4.c: Likewise.
14821 * elf/tst-tlsmod5.c: Likewise.
14822 * elf/tst-tlsmod6.c: Likewise.
14823
0bfcf2c7
OB
148242013-10-18 Ondřej Bílka <neleai@seznam.cz>
14825
14826 [BZ #12486]
14827 * malloc/malloc.c: remove checks for statistics.
14828
264aad1e
OB
148292013-10-17 Ondřej Bílka <neleai@seznam.cz>
14830
14831 [BZ #15277]
14832 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14833 * inet/tst-network.c: Add testcase.
14834
b957ced8
AS
148352013-10-17 Andreas Schwab <schwab@suse.de>
14836
14837 [BZ #15218]
14838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14839 to determine canonical name.
14840
c5d5d574
OB
148412013-10-17 Ondřej Bílka <neleai@seznam.cz>
14842
14843 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14844 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14845 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14846 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14848 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14849 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14850 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14851 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14852 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14853 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14854 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14855 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14856 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14857 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14858 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14860 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14861 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14862 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14863 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14864 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14865 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14866 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14867 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14868 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14869 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14870 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14871 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14872 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14873 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14874 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14875 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14876 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14877 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14882 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14883 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14885 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14886 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14887 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14888 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14889 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14890 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14891 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14892 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14893 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14894 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14897 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14898 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14899 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14900 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14901
e5c2c2d0
JM
149022013-10-17 Joseph Myers <joseph@codesourcery.com>
14903
14904 [BZ #16041]
14905 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14906 make result into a quiet NaN.
14907
51ca9e29
JM
149082013-10-16 Joseph Myers <joseph@codesourcery.com>
14909
14910 * soft-fp/adddf3.c: Fix horizontal whitespace.
14911 * soft-fp/addsf3.c: Likewise.
14912 * soft-fp/addtf3.c: Likewise.
14913 * soft-fp/divdf3.c: Likewise.
14914 * soft-fp/divsf3.c: Likewise.
14915 * soft-fp/divtf3.c: Likewise.
14916 * soft-fp/double.h: Likewise.
14917 * soft-fp/eqdf2.c: Likewise.
14918 * soft-fp/eqsf2.c: Likewise.
14919 * soft-fp/eqtf2.c: Likewise.
14920 * soft-fp/extenddftf2.c: Likewise.
14921 * soft-fp/extended.h: Likewise.
14922 * soft-fp/extendsfdf2.c: Likewise.
14923 * soft-fp/extendsftf2.c: Likewise.
14924 * soft-fp/extendxftf2.c: Likewise.
14925 * soft-fp/fixdfdi.c: Likewise.
14926 * soft-fp/fixdfsi.c: Likewise.
14927 * soft-fp/fixdfti.c: Likewise.
14928 * soft-fp/fixsfdi.c: Likewise.
14929 * soft-fp/fixsfsi.c: Likewise.
14930 * soft-fp/fixsfti.c: Likewise.
14931 * soft-fp/fixtfdi.c: Likewise.
14932 * soft-fp/fixtfsi.c: Likewise.
14933 * soft-fp/fixtfti.c: Likewise.
14934 * soft-fp/fixunsdfdi.c: Likewise.
14935 * soft-fp/fixunsdfsi.c: Likewise.
14936 * soft-fp/fixunsdfti.c: Likewise.
14937 * soft-fp/fixunssfdi.c: Likewise.
14938 * soft-fp/fixunssfsi.c: Likewise.
14939 * soft-fp/fixunssfti.c: Likewise.
14940 * soft-fp/fixunstfdi.c: Likewise.
14941 * soft-fp/fixunstfsi.c: Likewise.
14942 * soft-fp/fixunstfti.c: Likewise.
14943 * soft-fp/floatdidf.c: Likewise.
14944 * soft-fp/floatdisf.c: Likewise.
14945 * soft-fp/floatditf.c: Likewise.
14946 * soft-fp/floatsidf.c: Likewise.
14947 * soft-fp/floatsisf.c: Likewise.
14948 * soft-fp/floatsitf.c: Likewise.
14949 * soft-fp/floattidf.c: Likewise.
14950 * soft-fp/floattisf.c: Likewise.
14951 * soft-fp/floattitf.c: Likewise.
14952 * soft-fp/floatundidf.c: Likewise.
14953 * soft-fp/floatundisf.c: Likewise.
14954 * soft-fp/floatunditf.c: Likewise.
14955 * soft-fp/floatunsidf.c: Likewise.
14956 * soft-fp/floatunsisf.c: Likewise.
14957 * soft-fp/floatunsitf.c: Likewise.
14958 * soft-fp/floatuntidf.c: Likewise.
14959 * soft-fp/floatuntisf.c: Likewise.
14960 * soft-fp/floatuntitf.c: Likewise.
14961 * soft-fp/fmadf4.c: Likewise.
14962 * soft-fp/fmasf4.c: Likewise.
14963 * soft-fp/fmatf4.c: Likewise.
14964 * soft-fp/gedf2.c: Likewise.
14965 * soft-fp/gesf2.c: Likewise.
14966 * soft-fp/getf2.c: Likewise.
14967 * soft-fp/ledf2.c: Likewise.
14968 * soft-fp/lesf2.c: Likewise.
14969 * soft-fp/letf2.c: Likewise.
14970 * soft-fp/muldf3.c: Likewise.
14971 * soft-fp/mulsf3.c: Likewise.
14972 * soft-fp/multf3.c: Likewise.
14973 * soft-fp/negdf2.c: Likewise.
14974 * soft-fp/negsf2.c: Likewise.
14975 * soft-fp/negtf2.c: Likewise.
14976 * soft-fp/op-1.h: Likewise.
14977 * soft-fp/op-2.h: Likewise.
14978 * soft-fp/op-4.h: Likewise.
14979 * soft-fp/op-8.h: Likewise.
14980 * soft-fp/op-common.h: Likewise.
14981 * soft-fp/quad.h: Likewise.
14982 * soft-fp/single.h: Likewise.
14983 * soft-fp/soft-fp.h: Likewise.
14984 * soft-fp/sqrtdf2.c: Likewise.
14985 * soft-fp/sqrtsf2.c: Likewise.
14986 * soft-fp/sqrttf2.c: Likewise.
14987 * soft-fp/subdf3.c: Likewise.
14988 * soft-fp/subsf3.c: Likewise.
14989 * soft-fp/subtf3.c: Likewise.
14990 * soft-fp/truncdfsf2.c: Likewise.
14991 * soft-fp/trunctfdf2.c: Likewise.
14992 * soft-fp/trunctfsf2.c: Likewise.
14993 * soft-fp/trunctfxf2.c: Likewise.
14994 * soft-fp/unorddf2.c: Likewise.
14995 * soft-fp/unordsf2.c: Likewise.
14996 * soft-fp/unordtf2.c: Likewise.
14997
9ebb0332
JM
149982013-10-15 Joseph Myers <joseph@codesourcery.com>
14999
15000 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15001 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15002
4b1a6d8b
OB
150032013-10-15 Ondřej Bílka <neleai@seznam.cz>
15004
15005 * elf/dl-libc.c: Clear initfini list after freeing.
15006
1e145589
JM
150072013-10-14 Joseph Myers <joseph@codesourcery.com>
15008
15009 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15010 * soft-fp/addsf3.c: Likewise.
15011 * soft-fp/addtf3.c: Likewise.
15012 * soft-fp/divdf3.c: Likewise.
15013 * soft-fp/divsf3.c: Likewise.
15014 * soft-fp/divtf3.c: Likewise.
15015 * soft-fp/double.h: Likewise.
15016 * soft-fp/eqdf2.c: Likewise.
15017 * soft-fp/eqsf2.c: Likewise.
15018 * soft-fp/eqtf2.c: Likewise.
15019 * soft-fp/extenddftf2.c: Likewise.
15020 * soft-fp/extended.h: Likewise.
15021 * soft-fp/extendsfdf2.c: Likewise.
15022 * soft-fp/extendsftf2.c: Likewise.
15023 * soft-fp/extendxftf2.c: Likewise.
15024 * soft-fp/fixdfdi.c: Likewise.
15025 * soft-fp/fixdfsi.c: Likewise.
15026 * soft-fp/fixdfti.c: Likewise.
15027 * soft-fp/fixsfdi.c: Likewise.
15028 * soft-fp/fixsfsi.c: Likewise.
15029 * soft-fp/fixsfti.c: Likewise.
15030 * soft-fp/fixtfdi.c: Likewise.
15031 * soft-fp/fixtfsi.c: Likewise.
15032 * soft-fp/fixtfti.c: Likewise.
15033 * soft-fp/fixunsdfdi.c: Likewise.
15034 * soft-fp/fixunsdfsi.c: Likewise.
15035 * soft-fp/fixunsdfti.c: Likewise.
15036 * soft-fp/fixunssfdi.c: Likewise.
15037 * soft-fp/fixunssfsi.c: Likewise.
15038 * soft-fp/fixunssfti.c: Likewise.
15039 * soft-fp/fixunstfdi.c: Likewise.
15040 * soft-fp/fixunstfsi.c: Likewise.
15041 * soft-fp/fixunstfti.c: Likewise.
15042 * soft-fp/floatdidf.c: Likewise.
15043 * soft-fp/floatdisf.c: Likewise.
15044 * soft-fp/floatditf.c: Likewise.
15045 * soft-fp/floatsidf.c: Likewise.
15046 * soft-fp/floatsisf.c: Likewise.
15047 * soft-fp/floatsitf.c: Likewise.
15048 * soft-fp/floattidf.c: Likewise.
15049 * soft-fp/floattisf.c: Likewise.
15050 * soft-fp/floattitf.c: Likewise.
15051 * soft-fp/floatundidf.c: Likewise.
15052 * soft-fp/floatundisf.c: Likewise.
15053 * soft-fp/floatunsidf.c: Likewise.
15054 * soft-fp/floatunsisf.c: Likewise.
15055 * soft-fp/floatuntidf.c: Likewise.
15056 * soft-fp/floatuntisf.c: Likewise.
15057 * soft-fp/floatuntitf.c: Likewise.
15058 * soft-fp/fmadf4.c: Likewise.
15059 * soft-fp/fmasf4.c: Likewise.
15060 * soft-fp/fmatf4.c: Likewise.
15061 * soft-fp/gedf2.c: Likewise.
15062 * soft-fp/gesf2.c: Likewise.
15063 * soft-fp/getf2.c: Likewise.
15064 * soft-fp/ledf2.c: Likewise.
15065 * soft-fp/lesf2.c: Likewise.
15066 * soft-fp/letf2.c: Likewise.
15067 * soft-fp/muldf3.c: Likewise.
15068 * soft-fp/mulsf3.c: Likewise.
15069 * soft-fp/multf3.c: Likewise.
15070 * soft-fp/negdf2.c: Likewise.
15071 * soft-fp/negsf2.c: Likewise.
15072 * soft-fp/negtf2.c: Likewise.
15073 * soft-fp/op-1.h: Likewise.
15074 * soft-fp/op-2.h: Likewise.
15075 * soft-fp/op-4.h: Likewise.
15076 * soft-fp/op-8.h: Likewise.
15077 * soft-fp/op-common.h: Likewise.
15078 * soft-fp/quad.h: Likewise.
15079 * soft-fp/single.h: Likewise.
15080 * soft-fp/soft-fp.h: Likewise.
15081 * soft-fp/sqrtdf2.c: Likewise.
15082 * soft-fp/sqrtsf2.c: Likewise.
15083 * soft-fp/sqrttf2.c: Likewise.
15084 * soft-fp/subdf3.c: Likewise.
15085 * soft-fp/subsf3.c: Likewise.
15086 * soft-fp/subtf3.c: Likewise.
15087 * soft-fp/truncdfsf2.c: Likewise.
15088 * soft-fp/trunctfdf2.c: Likewise.
15089 * soft-fp/trunctfsf2.c: Likewise.
15090 * soft-fp/trunctfxf2.c: Likewise.
15091 * soft-fp/unorddf2.c: Likewise.
15092 * soft-fp/unordsf2.c: Likewise.
15093 * soft-fp/unordtf2.c: Likewise.
15094
17c48a60
OB
150952013-10-14 Ondřej Bílka <neleai@seznam.cz>
15096
15097 [BZ #15672]
15098 * misc/error.c (error_tail): Fix possible buffer overflow.
15099
cabba934
OB
151002013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15101
15102 [BZ #13028]
15103 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15104 address.
15105
94bf958a
PM
151062013-10-14 P. J. McDermott <pj@pehjota.net>
15107
15108 [BZ #832]
15109 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15110 testing pipefail option.
15111
71b4dea7
JM
151122013-10-12 Joseph Myers <joseph@codesourcery.com>
15113
15114 * soft-fp/double.h: Indent preprocessor directives inside #if.
15115 * soft-fp/extended.h: Likewise.
15116 * soft-fp/op-2.h: Likewise.
15117 * soft-fp/op-4.h: Likewise.
15118 * soft-fp/op-common.h: Likewise.
15119 * soft-fp/quad.h: Likewise.
15120 * soft-fp/single.h: Likewise.
15121 * soft-fp/soft-fp.h: Likewise.
15122
55602758
YC
151232013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15124
15125 * iconv/iconv_prog.c: Fix typos.
15126 * stdio-common/psiginfo-data.h: Likewise.
15127
9cd83302
RT
151282013-10-12 Reuben Thomas <rrt@sc3d.org>
15129
15130 [BZ #15764]
15131 * locale/setlocale.c: Fix typo.
15132
99fd9f47
JM
151332013-10-12 Joseph Myers <joseph@codesourcery.com>
15134
b7ea74f0
JM
15135 [BZ #16036]
15136 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15137 signaling NaN arguments.
15138 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15139 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15140
8a509447
JM
15141 [BZ #14910]
15142 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15143 unordered operands.
15144 * soft-fp/gesf2.c (__gesf2): Likewise.
15145 * soft-fp/getf2.c (__getf2): Likewise.
15146 * soft-fp/ledf2.c (__ledf2): Likewise.
15147 * soft-fp/lesf2.c (__lesf2): Likewise.
15148 * soft-fp/letf2.c (__letf2): Likewise.
15149
98998e9f
JM
15150 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15151 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15152 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15153 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15154 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15155 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15156 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15157 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15158 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15159 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15160 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15161 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15162 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15163 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15164 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15165 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15166 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15167 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15168 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15169 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15170 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15171 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15172 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15173 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15174 * soft-fp/floattidf.c (__floattidf): Likewise.
15175 * soft-fp/floattisf.c (__floattisf): Likewise.
15176 * soft-fp/floattitf.c (__floattitf): Likewise.
15177 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15178 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15179 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15180 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15181 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15182 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15183 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15184 * soft-fp/gesf2.c (__gesf2): Likewise.
15185 * soft-fp/getf2.c (__getf2): Likewise.
15186 * soft-fp/ledf2.c (__ledf2): Likewise.
15187 * soft-fp/lesf2.c (__lesf2): Likewise.
15188 * soft-fp/letf2.c (__letf2): Likewise.
15189
8edc4a11
JM
15190 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15191 Undefine and redefine.
15192 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15193 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15194 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15195 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15196 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15197 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15198 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15199 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15200 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15201 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15202 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15203 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15204 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15205 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15206 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15207
8399acaf
JM
15208 [BZ #16032]
15209 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15210 without decrementing exponent if mantissa >= that for the
15211 denominator, not >.
15212 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15213 denominator, not >. Decrement exponent in < case instead of
15214 incrementing in >= case.
15215 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15216 without decrementing exponent if mantissa >= that for the
15217 denominator, not >.
15218
99fd9f47
JM
15219 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15220 computing saturated result for unsigned overflow.
15221
10e1cf6b
SP
152222013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15223 Jeff Law <law@redhat.com>
15224
15225 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15226 (atan2Mp): Add systemtap probe marker.
15227 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15228 (__ieee754_log): Add systemtap probe marker.
15229 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15230 (atanMp): Add systemtap probe marker.
15231 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15232 (tanMp): Add systemtap probe marker.
15233 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15234 (__slowexp): Add systemtap probe marker.
15235 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15236 (__slowpow): Add systemtap probe marker.
15237 * manual/probes.texi: Document probes.
15238
3d110c7c
EB
152392013-10-11 Eric Biggers <ebiggers3@gmail.com>
15240
15241 [BZ #15362]
15242 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15243 written.
15244 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15245 written.
15246 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15247 written to buffer but not flushed.
15248 * libio/iofwrite_u.c: Likewise.
15249 * libio/iopadn.c: Return bytes returned even if EOF was
15250 encountered.
15251 * libio/iowpadn.c: Likewise.
15252 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15253 if _IO_padn does not write the whole buffer.
15254 [!COMPILE_WPRINTF] (PAD): Likewise.
15255
75b4202a
DM
152562013-10-10 David S. Miller <davem@davemloft.net>
15257
15258 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15259 directory block.
15260
6c6352e6
JM
152612013-10-10 Joseph Myers <joseph@codesourcery.com>
15262
33b853c3
JM
15263 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15264 instead of FSF address.
15265 * soft-fp/fixdfti.c: Likewise.
15266 * soft-fp/fixsfti.c: Likewise.
15267 * soft-fp/fixtfti.c: Likewise.
15268 * soft-fp/fixunsdfti.c: Likewise.
15269 * soft-fp/fixunssfti.c: Likewise.
15270 * soft-fp/fixunstfti.c: Likewise.
15271 * soft-fp/floattidf.c: Likewise.
15272 * soft-fp/floattisf.c: Likewise.
15273 * soft-fp/floattitf.c: Likewise.
15274 * soft-fp/floatuntidf.c: Likewise.
15275 * soft-fp/floatuntisf.c: Likewise.
15276 * soft-fp/floatuntitf.c: Likewise.
15277 * soft-fp/trunctfxf2.c: Likewise.
15278
6c6352e6
JM
15279 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15280 * soft-fp/fixdfti.c: Likewise.
15281 * soft-fp/fixsfti.c: Likewise.
15282 * soft-fp/fixtfti.c: Likewise.
15283 * soft-fp/fixunsdfti.c: Likewise.
15284 * soft-fp/fixunssfti.c: Likewise.
15285 * soft-fp/fixunstfti.c: Likewise.
15286 * soft-fp/floattidf.c: Likewise.
15287 * soft-fp/floattisf.c: Likewise.
15288 * soft-fp/floattitf.c: Likewise.
15289 * soft-fp/floatuntidf.c: Likewise.
15290 * soft-fp/floatuntisf.c: Likewise.
15291 * soft-fp/floatuntitf.c: Likewise.
15292 * soft-fp/trunctfxf2.c: Likewise.
15293
3bf78b71
DM
152942013-10-10 David S. Miller <davem@davemloft.net>
15295
15296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15297
6f10289e
JM
152982013-10-10 Joseph Myers <joseph@codsourcery.com>
15299
bd878fc0
JM
15300 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15301 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15302 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15303 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15304 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15305 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15306 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15307
6f10289e
JM
15308 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15309 for NaNs before doing comparisons on argument.
15310 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15311 Likewise.
15312
321e2684
WN
153132013-10-10 Will Newton <will.newton@linaro.org>
15314
15315 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15316 passed to _int_memalign does not overflow.
15317
40fefba1
TR
153182013-10-10 Torvald Riegel <triegel@redhat.com>
15319
15320 * scripts/bench.pl: Add include-sources directive.
15321 * benchtests/README: Update documentation.
15322
2ae21ed2
JM
153232013-10-10 Joseph Myers <joseph@codesourcery.com>
15324
dcc2dd3f
JM
15325 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15326 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15327 instead of FP_INIT_ROUNDMODE.
15328 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15329 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15330
2ae21ed2
JM
15331 [BZ #16034]
15332 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15333 copy class of input value.
15334 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15335 not handle exceptions.
15336 * soft-fp/negsf2.c (__negsf2): Likewise.
15337 * soft-fp/negtf2.c (__negtf2): Likewise.
15338 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15339
cb8f9562
JM
153402013-10-09 Joseph Myers <joseph@codesourcery.com>
15341
15342 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15343 semicolon. From Linux kernel.
15344
5b60c59d
AB
153452013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15346
15347 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15348
b86835ca
YC
153492013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15350
15351 [BZ #156]
15352 * manual/socket.texi: Added statement about buffer
15353 for gethostbyname2_r.
15354
e7044ea7
OB
153552013-10-08 Ondřej Bílka <neleai@seznam.cz>
15356
15357 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15358 Use .p2align directive instead, throughout.
15359 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15360 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15361 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15362 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15363 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15364 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15365 * sysdeps/x86_64/strchr.S: Likewise.
15366 * sysdeps/x86_64/strrchr.S: Likewise.
15367
09544cbc
SP
153682013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15369
88576635
SP
15370 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15371
e7b2d1dd
SP
15372 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15373
09544cbc
SP
15374 * sysdeps/generic/math_private.h (__mpsin1): Remove
15375 declaration.
15376 (__mpcos1): Likewise.
15377 (__mpsin): New argument __range_reduce.
15378 (__mpcos): Likewise.
15379 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15380 (slow): Use __mpsin and __mpcos.
15381 (slow1): Likewise.
15382 (slow2): Likewise.
15383 (sloww): Likewise.
15384 (sloww1): Likewise.
15385 (sloww2): Likewise.
15386 (bsloww): Likewise.
15387 (bsloww1): Likewise.
15388 (bsloww2): Likewise.
15389 (cslow2): Likewise.
15390 (csloww): Likewise.
15391 (csloww1): Likewise.
15392 (csloww2): Likewise.
15393 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15394 range_reduce. Merge in __mpsin1.
15395 (__mpcos): Likewise.
15396 (__mpsin1): Remove.
15397 (__mpcos1): Likewise.
15398
7602d070
JM
153992013-10-07 Joseph Myers <joseph@codesourcery.com>
15400
15401 * locale/loadlocale.c (_nl_intern_locale_data): Use
15402 LOCFILE_ALIGNED_P.
15403 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15404 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15405 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15406 obstack data is appropriately aligned.
15407 (obstack_int32_grow_fast): Likewise.
15408 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15409 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15410 (add_locale_uint32_array): Likewise.
15411
a357259b
SP
154122013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15413
15414 * benchtests/Makefile: Remove ARGLIST and RET variables.
15415 ($(objpfx)bench-%.c): Pass only function name to the script.
15416 * benchtests/README: Update documentation.
15417 * benchtests/acos-inputs: Add new directives.
15418 * benchtests/acosh-inputs: Likewise.
15419 * benchtests/asin-inputs: Likewise.
15420 * benchtests/asinh-inputs: Likewise.
15421 * benchtests/atan-inputs: Likewise.
15422 * benchtests/atanh-inputs: Likewise.
15423 * benchtests/cos-inputs: Likewise.
15424 * benchtests/cosh-inputs: Likewise.
15425 * benchtests/exp-inputs: Likewise.
15426 * benchtests/log-inputs: Likewise.
15427 * benchtests/pow-inputs: Likewise.
15428 * benchtests/rint-inputs: Likewise.
15429 * benchtests/sin-inputs: Likewise.
15430 * benchtests/sinh-inputs: Likewise.
15431 * benchtests/tan-inputs: Likewise.
15432 * benchtests/tanh-inputs: Likewise.
15433 * scripts/bench.pl: Add support for new directives.
15434
9ec1b13d
AM
154352013-10-07 Alan Modra <amodra@gmail.com>
15436
15437 * README: Fix careless merge.
15438
8b7d57cd
AM
154392013-10-05 Alan Modra <amodra@gmail.com>
15440
15441 * NEWS: Mention powerpc64le support and bugs fixed.
15442 * README: Both big-endian and little-endian powerpc64 supported.
15443
7b7bab13
ST
154442013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15445
57f41c40
AS
15446 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15447 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15448 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15449 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15450
d39baad1
RA
154512013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15452
15453 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15454 match prototype.
15455
cd78f7e7
JM
154562013-10-04 Joseph Myers <joseph@codesourcery.com>
15457
29d73d86
JM
15458 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15459 Move -mhard-float appending from
15460 ports/sysdeps/powerpc/powerpc32/Makefile.
15461 [$(with-fp) = yes] (ASFLAGS): Likewise.
15462 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15463 * sysdeps/powerpc/nofpu: Move directory from
15464 ports/sysdeps/powerpc/nofpu.
15465 * sysdeps/powerpc/soft-fp: Move directory from
15466 ports/sysdeps/powerpc/soft-fp.
15467 * sysdeps/powerpc/powerpc32/405: Move directory from
15468 ports/sysdeps/powerpc/powerpc32/405.
15469 * sysdeps/powerpc/powerpc32/440: Move directory from
15470 ports/sysdeps/powerpc/powerpc32/440.
15471 * sysdeps/powerpc/powerpc32/464: Move directory from
15472 ports/sysdeps/powerpc/powerpc32/464.
15473 * sysdeps/powerpc/powerpc32/476: Move directory from
15474 ports/sysdeps/powerpc/powerpc32/476.
15475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15476 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15478 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15480 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15482 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15484 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15485 * README: Update for powerpc-*-linux-gnu software floating point
15486 support in libc.
15487
e246b347
JM
15488 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15489 case to powerpc/powerpc32*.
15490 * sysdeps/unix/sysv/linux/configure: Regenerated.
15491
89c2003e
JM
15492 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15493 (_FPU_MASK_OM): Define as 0x04.
15494 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15495 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15496 0x00c10080.
15497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15498 0x0000003c.
15499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15500
cd78f7e7
JM
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15502 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15503 getcontext_e500.
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15505 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15506 setcontext_e500.
15507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15508 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15509 and setcontext_e500.
15510
c755294d
CL
155112013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15512
15513 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15514
e16d221c
SP
155152013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15516
15517 * manual/threads.texi (Default Thread Attributes): Fix typo.
15518
215c7d43
WN
155192013-10-04 Will Newton <will.newton@linaro.org>
15520
15521 * malloc/Makefile: Add tst-memalign.
15522 * malloc/tst-memalign.c: New file.
15523
27d0461b
WN
15524 * malloc/tst-posix_memalign.c: Add comments.
15525 (do_test): Add comments and call free on all potentially
15526 allocated pointers. Add space after cast.
15527
1bc92709
WN
15528 * malloc/tst-pvalloc.c: Add comments.
15529 (do_test): Add comments and call free on all potentially
15530 allocated pointers. Remove duplicate check for NULL pointer.
15531 Add space after cast.
15532
66a9be9d
WN
15533 * malloc/tst-valloc.c: Add comments.
15534 (do_test): Add comments and call free on all potentially
15535 allocated pointers. Remove duplicate check for NULL pointer.
15536 Add space after cast.
15537
4cb81307
AM
155382013-10-04 Alan Modra <amodra@gmail.com>
15539
15540 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15541 Use stdint types in rather than __attribute__((mode())).
15542 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15543
f8e3e9f3
AM
155442013-10-04 Alan Modra <amodra@gmail.com>
15545
15546 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15547 Correct handling of unaligned relocs for little-endian.
15548 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15549
8f9ebb08
AM
155502013-10-04 Alan Modra <amodra@gmail.com>
15551
15552 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15553 * configure: Regenerate.
15554 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15555 * shlib-versions: Likewise.
15556
0edf96c2
AM
155572013-10-04 Alan Modra <amodra@gmail.com>
15558
15559 * string/tester.c (test_memrchr): Increment reported test cycle.
15560
e0f7a380
AM
155612013-10-04 Alan Modra <amodra@gmail.com>
15562
15563 * string/test-memcpy.c (do_one_test): When reporting errors, print
15564 string address and don't overrun end of string.
15565
466b0393
AM
155662013-10-04 Alan Modra <amodra@gmail.com>
15567
15568 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15569 insrdi. Make better use of reg selection to speed exit slightly.
15570 Schedule entry path a little better. Remove useless "are we done"
15571 checks on entry to main loop. Handle wrapping around zero address.
15572 Correct main loop count. Handle single left-over word from main
15573 loop inline rather than by using loop_small. Remove extra word
15574 case in loop_small caused by wrong loop count. Add little-endian
15575 support.
15576 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15577 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15578 cache hint.
15579 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15580 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15581 support. Avoid rlwimi.
15582 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15583
3be87c77
AM
155842013-10-04 Alan Modra <amodra@gmail.com>
15585
15586 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 15587 insrdi. Formatting.
3be87c77
AM
15588 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15589 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15590 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15591 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15592 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15593 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15594
759cfef3
AM
155952013-10-04 Alan Modra <amodra@gmail.com>
15596
15597 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15598 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15599 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15600 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15601 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15602 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15603 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15604 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15605 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15606 use of regs. Use power7 mtocrf. Tidy function tails.
15607
fe6e95d7
AM
156082013-10-04 Alan Modra <amodra@gmail.com>
15609
15610 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15611 Formatting. Consistently use rXXX register defines or rN defines.
15612 Use early exit labels that avoid restoring unused non-volatile regs.
15613 Make cr field use more consistent with rWORDn compares. Rename
15614 regs used as shift registers for unaligned loop, using rN defines
15615 for short lifetime/multiple use regs.
15616 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15617 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15618 addi 1,1,64 to pop stack frame. Simplify return value code.
15619 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15620
664318c3
AM
156212013-10-04 Alan Modra <amodra@gmail.com>
15622
15623 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15624 support. Correct typos, formatting. Optimize tail. Use insrdi
15625 rather than rlwimi.
15626 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15627 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15628 little-endian support. Correct typos.
15629 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15630 rather than rlwimi.
15631 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15632 in loop and entry code to keep "and." results.
15633 (strchr): Add little-endian support. Comment. Move cntlzd
15634 earlier in tail.
15635 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15636
43b84013
AM
156372013-10-04 Alan Modra <amodra@gmail.com>
15638
15639 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15640 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15641 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15642 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15643
8a7413f9
AM
156442013-10-04 Alan Modra <amodra@gmail.com>
15645
15646 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15647 (rTMP): Define as r11.
15648 (strcmp): Add little-endian support. Optimise tail.
15649 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15650 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15651 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15652 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15653 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15654 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15655 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15656
33ee81de
AM
156572013-10-04 Alan Modra <amodra@gmail.com>
15658
15659 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15660 little-endian support. Remove unnecessary "are we done" tests.
15661 Handle "s" wrapping around zero and extremely large "size".
15662 Correct main loop count. Handle single left-over word from main
15663 loop inline rather than by using small_loop. Correct comments.
15664 Delete "zero" tail, use "end_max" instead.
15665 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15666
db9b4570
AM
156672013-10-04 Alan Modra <amodra@gmail.com>
15668
15669 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15670 support. Don't branch over align.
15671 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15672 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15673 support. Rearrange tmp reg use to suit. Comment.
15674 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15675
f7c399cf
AM
156762013-10-04 Alan Modra <amodra@gmail.com>
15677
15678 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15679
0b2c2ace
AM
156802013-10-04 Alan Modra <amodra@gmail.com>
15681
15682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15683 conditional form of branch and link when obtaining pc.
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15685
02f04a6c
AM
156862013-10-04 Alan Modra <amodra@gmail.com>
15687
15688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15689 HIWORD/LOWORD.
15690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15692
9b874b2f
AM
156932013-10-04 Alan Modra <amodra@gmail.com>
15694
15695 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15696 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15697 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15698 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15699 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15700 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15701 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15702 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15703 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15704 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15705
be1e5d31
AB
157062013-10-04 Anton Blanchard <anton@au1.ibm.com>
15707 Alistair Popple <alistair@ozlabs.au.ibm.com>
15708 Alan Modra <amodra@gmail.com>
15709
15710 [BZ #15723]
15711 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15712 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15713 _dl_hwcap access for little-endian.
15714 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15715 destroy vmx regs when saving unaligned.
15716 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15717 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15718 destroy vmx regs when saving unaligned.
15719
fef13a78
AM
157202013-10-04 Alan Modra <amodra@gmail.com>
15721
15722 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15723 Don't use a union to pack hi/low value.
15724
76a66d51
AB
157252013-10-04 Anton Blanchard <anton@au1.ibm.com>
15726
15727 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15728 for little-endian.
15729 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15730 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15731 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15732 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15733 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15734
6a31fe7f
AM
157352013-10-04 Alan Modra <amodra@gmail.com>
15736
15737 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15738 constants to usual value for .cst8 section, and remove redundant
15739 high address load.
15740 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15741 constant for 0x1p52. Load little-endian words of double from
15742 correct stack offsets.
15743
7b88401f
AM
157442013-10-04 Alan Modra <amodra@gmail.com>
15745
15746 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15747 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15748 words of double from correct stack offsets.
15749 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15750 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15751 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15752 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15753 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15754 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15755 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15756 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15757 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15758 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15759 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15760 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15761 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15762 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15763 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15764 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15765 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15766
9c008155
AM
157672013-10-04 Alan Modra <amodra@gmail.com>
15768
15769 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15770 64-bit int/double union.
15771 (_FPU_SETCW): Likewise.
15772 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15773 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15774
da13146d
AM
157752013-10-04 Alan Modra <amodra@gmail.com>
15776
15777 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15778 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15779
603e8410
AM
157802013-10-04 Alan Modra <amodra@gmail.com>
15781
15782 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15783 use vector int constants.
15784 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15785
4a28b3ca
AB
157862013-10-04 Anton Blanchard <anton@au1.ibm.com>
15787
15788 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15789 array with long long.
15790 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15791 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15792 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15793 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15794 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15795 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15796 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15797 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15798 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15799 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15800 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15801 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15802 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15803
2ca85d2b
AB
158042013-10-04 Anton Blanchard <anton@au1.ibm.com>
15805
15806 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15807 (__signbit): Likewise. Correct for little-endian.
15808 (__signbitl): Call __signbit.
15809 (lrint): Correct for little-endian.
15810 (lrintf): Call lrint.
15811
62a728ae
AM
158122013-10-04 Alan Modra <amodra@gmail.com>
15813
15814 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15815 union 32-bit int array member with 64-bit int array.
15816 (t515, tm256): Double rather than long double.
15817 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15818
32c301df
AM
158192013-10-04 Alan Modra <amodra@gmail.com>
15820
15821 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15822 Delete.
15823 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15824 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15825 version of math_ldbl.h.
15826
650ef4bd
AM
158272013-10-04 Alan Modra <amodra@gmail.com>
15828
15829 [BZ #15734], [BZ #15735]
15830 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15831 all uses of ieee875 long double macros and unions. Simplify test
15832 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15833 ldbl_extract_mantissa value for ix,iy exponents. Properly
15834 normalize after ldbl_extract_mantissa, and don't add hidden bit
15835 already handled. Don't treat low word of ieee854 mantissa like
15836 low word of IBM long double and mask off bit when testing for
15837 zero.
15838 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15839 all uses of ieee875 long double macros and unions. Simplify tests
15840 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15841 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15842 two1022, instead use their values. Recognise that tests for large
15843 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15844 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15845 Rewrite all uses of ieee875 long double macros and unions. Simplify
15846 test for 0.0L and nan. Correct negation.
15847 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15848 ieee875 long double macros and unions. Correct output for large
15849 magnitude x. Correct absolute value calculation.
15850 (__erfcl): Likewise.
15851 * math/libm-test.inc: Add tests for errors discovered in IBM long
15852 double versions of fmodl, remainderl, erfl and erfcl.
15853
765714ca
AM
158542013-10-04 Alan Modra <amodra@gmail.com>
15855
15856 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15857 all uses of ieee854 long double macros and unions. Simplify tests
15858 for long doubles that are fully specified by the high double.
15859 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15860 Likewise.
15861 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15862 Remove dead code too.
15863 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15864 (__ieee754_ynl): Likewise.
15865 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15866 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15867 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15868 Remove dead code too.
15869 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15870 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15871 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15872 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15873 Simplify.
15874 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15875 Simplify.
15876 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15877 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15878 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15879 Comment on variable precision.
15880 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15881 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15882 Likewise.
15883 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15884 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15885 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15886 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15887 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15888
4ebd120c
AM
158892013-10-04 Alan Modra <amodra@gmail.com>
15890
15891 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15892 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15893 all uses of ieee854 long double macros and unions.
15894 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15895 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15896 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15897 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15898 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15899 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15900 Likewise.
15901 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15902 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15903 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15904 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15905 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15906 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15907 Simplify sign and nan test too.
15908 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15909 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15910 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15911 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15912 Likewise.
15913 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15914 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15915 Likewise.
15916 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15917 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15918 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15919 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15920 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15921 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15922
1b6adf88
AM
159232013-10-04 Alan Modra <amodra@gmail.com>
15924
15925 * stdio-common/printf_size.c (__printf_size): Don't use
15926 union ieee854_long_double in fpnum union.
15927 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15928 signbit macro to retrieve sign from long double.
15929 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15930 retrieve sign from long double.
15931 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15932 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15933 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15934 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15935 * math/test-misc.c (main): Don't use union ieee854_long_double.
15936
4cf69995
AM
159372013-10-04 Alan Modra <amodra@gmail.com>
15938
15939 [BZ #15680]
15940 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15941 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15942 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15943 calculation. Remove unnecessary test for denormal exponent.
15944 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15945 Correct handling of denormals. Avoid undefined shift behaviour.
15946 Correct normalisation of low mantissa when low double is denormal.
15947 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15948 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15949 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15950 Correct normalisation of low mantissa. Test for overflow of high
15951 mantissa and normalise.
15952 (ldbl_nearbyint): Use more readable constant for two52.
15953 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15954 (__mpn_construct_long_double): Fix test for overflow of high
15955 mantissa and correct normalisation. Avoid undefined shift.
15956
9605ca6c
AM
159572013-10-04 Alan Modra <amodra@gmail.com>
15958
15959 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15960 (union ibm_extended_long_double): Define as an array of ieee754_double.
15961 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15962 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15963 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15964 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15965 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15968 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15972
975569d0
JM
159732013-10-03 Joseph Myers <joseph@codesourcery.com>
15974
d3d23756
JM
15975 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15976 page size instead of calling getpagesize.
15977
975569d0
JM
15978 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15979 (LOCFILE_ALIGN_MASK): Likewise.
15980 (LOCFILE_ALIGN_UP): Likewise.
15981 (LOCFILE_ALIGNED_P): Likewise.
15982 * locale/programs/ld-collate.c (collate_output): Use the new
15983 macros instead of __alignof__ (int32_t).
15984 * locale/weight.h (findidx): Likewise.
15985
b1fe1f2b
OB
159862013-10-03 Ondřej Bílka <neleai@seznam.cz>
15987
15988 [BZ #431]
15989 * manual/string.texi: Fix strncat and wcsncat.
15990
5f855e35
BM
159912013-10-03 Brooks Moses <bmoses@google.com>
15992
15993 [BZ #15915]
15994 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15995 * Makerules: ...here, and adjust associated comments.
15996
3cef6009
WN
159972013-10-02 Will Newton <will.newton@linaro.org>
15998
15999 * malloc/Makefile: Add tst-pvalloc.
16000 * malloc/tst-pvalloc.c: New file.
16001
7815420b
WN
160022013-10-02 Will Newton <will.newton@linaro.org>
16003
16004 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16005 improve test coverage.
16006
4868b204
WN
160072013-10-02 Will Newton <will.newton@linaro.org>
16008
16009 * malloc/Makefile: Add tst-posix_memalign.
16010 * malloc/tst-posix_memalign.c: New file.
16011
29c793b3
EB
160122013-10-01 Eric Blake <eblake@redhat.com>
16013
16014 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16015 Use __THROWNL rather than __THROW on static functions.
16016
fd967522
PM
160172013-09-30 Petr Machata <pmachata@redhat.com>
16018
16019 * elf/elf.h (R_AARCH64_ABS16): New macro.
16020 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16021 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16022 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16023 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16024 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16025 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16026 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16027 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16028 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16029 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16030 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16031 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16032 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16033 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16034 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16035 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16036 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16037 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16038 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16039 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16040 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16041 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16042 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16043 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16044 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16045 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16046 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16047 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16048 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16049 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16050 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16051 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16052 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16053 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16054 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16055 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16056 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16057 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16058 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16059 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16060 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16061 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16062 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16063 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16064 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16065 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16066 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16067 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16068 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16069 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16070 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16071 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16072 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16073 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16074 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16075 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16076 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16077 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16078 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16079 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16080 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16081 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16082 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16083 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16084 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16085 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16086 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16087 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16088 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16089 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16090 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16091 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16092 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16093 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16094 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16095 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16096 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16097 (R_AARCH64_TLSDESC_LDR): Likewise.
16098 (R_AARCH64_TLSDESC_ADD): Likewise.
16099 (R_AARCH64_TLSDESC_CALL): Likewise.
16100
b2179107
AS
161012013-09-30 Andreas Schwab <schwab@suse.de>
16102
16103 [BZ #15048]
16104 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16105 the nss database lookup.
16106 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16108
47f28d0a
MF
161092013-09-28 Mike Frysinger <vapier@gentoo.org>
16110
16111 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16112
161132013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
16114
16115 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16116 ${Bash-specific parameter/pattern/string} parameter expansion.
16117 * sysdeps/unix/make-syscalls.sh: Likewise.
16118
f4518a17
KK
161192013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16120
16121 * sysdeps/sh/stackguard-macros.h: New file.
16122
dc1a95c7
OB
161232013-09-26 Ondřej Bílka <neleai@seznam.cz>
16124
16125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16126 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16127 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16128 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16129 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16130 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16131
5ebbff8f
AZ
161322013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16133
16134 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16135 Fix thread ID register.
16136
4fd2cf9f
JM
161372013-09-25 Joseph Myers <joseph@codesourcery.com>
16138
16139 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16140 [POSIX || UNIX98]: Require rather than permitting all symbols from
16141 <time.h>.
16142 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16143 element of struct sched_param.
16144 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16145 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16146 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16147 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16148 constant.
16149
12c22bc4
OL
161502013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16151
16152 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16153 argument calculation.
16154
a03d8ea7
JM
161552013-09-24 Joseph Myers <joseph@codesourcery.com>
16156
16157 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16158 Expect macro.
16159 [POSIX] (pthread_attr_t): Do not require type.
16160 [POSIX] (pthread_cond_t): Likewise.
16161 [POSIX] (pthread_condattr_t): Likewise.
16162 [POSIX] (pthread_key_t): Likewise.
16163 [POSIX] (pthread_mutex_t): Likewise.
16164 [POSIX] (pthread_mutexattr_t): Likewise.
16165 [POSIX] (pthread_once_t): Likewise.
16166 [POSIX] (pthread_t): Likewise.
16167 [POSIX-based standards] (pthread_atfork): Expect function.
16168
6055173a
JM
161692013-09-24 Joseph Myers <joseph@codesourcery.com>
16170 Richard Sandiford <richard@codesourcery.com>
16171
16172 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16173 (swap_endianness_p): New extern variable.
16174 (set_big_endian): New inline function.
16175 (maybe_swap_uint32): Likewise.
16176 (maybe_swap_uint32_array): Likewise.
16177 (maybe_swap_uint32_obstack): Likewise.
16178 * locale/programs/locfile.c: Include <stdbool.h>.
16179 (swap_endianness_p): New variable.
16180 (add_locale_uint32): Call maybe_swap_uint32.
16181 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16182 (write_locale_data): Call maybe_swap_uint32_array.
16183 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16184 maybe_swap_uint32.
16185 (obstack_int32_grow_fast): Likewise.
16186 (output_weightwc): Call maybe_swap_uint32_obstack.
16187 (collate_output): Likewise.
16188 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16189 (OPT_LITTLE_ENDIAN): Likewise.
16190 (options): Add --little-endian and --big-endian options.
16191 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16192 * locale/programs/locarchive.c: Include "locfile.h".
16193 (GET): New macro.
16194 (SET): Likewise.
16195 (INC): Likewise.
16196 (create_archive): Use the new macros to access fields of
16197 structures directly mapped from or written to locale archives.
16198 (oldlocrecentcmp): Likewise.
16199 (enlarge_archive): Likewise.
16200 (insert_name): Likewise.
16201 (add_alias): Likewise.
16202 (add_locale): Likewise.
16203 (delete_locales_from_archive): Likewise.
16204 (show_archive_content): Likewise.
16205 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16206 locale data.
16207
39bf0bb4
RM
162082013-09-24 Roland McGrath <roland@hack.frob.com>
16209
16210 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16211 http://www.gnu.org/doc/freemanuals.texi.
16212 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16213
f02eed10
WN
162142013-09-24 Will Newton <will.newton@linaro.org>
16215
16216 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16217 macro.
16218
a3a6c312
JM
162192013-09-23 Joseph Myers <joseph@codesourcery.com>
16220
16221 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16222 unsigned char.
16223
107375ac
MR
162242013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16225
16226 * manual/threads.texi (POSIX Threads): Fix a typo.
16227
141f3a77
SP
162282013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16229
303e567a
SP
16230 [BZ #14547]
16231 * string/tst-strcoll-overflow.c: New test case.
16232 * string/Makefile (xtests): Add tst-strcoll-overflow.
16233 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16234 cache if string sizes may cause integer overflow.
16235
141f3a77
SP
16236 [BZ #14547]
16237 * string/strcoll_l.c (coll_seq): New members rule, idx,
16238 save_idx and back_us.
16239 (get_next_seq_nocache): New function.
16240 (do_compare_nocache): New function.
16241 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16242 when malloc fails.
16243
c61b4d41
CD
162442013-09-23 Carlos O'Donell <carlos@redhat.com>
16245
0b1f8e35
CD
16246 [BZ #15754]
16247 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16248 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16249 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16250
c61b4d41
CD
16251 [BZ #15754]
16252 * elf/Makefile (tests): Add tst-ptrguard1.
16253 (tests-static): Add tst-ptrguard1-static.
16254 (tst-ptrguard1-ARGS): Define.
16255 (tst-ptrguard1-static-ARGS): Define.
16256 * elf/tst-ptrguard1.c: New file.
16257 * elf/tst-ptrguard1-static.c: New file.
16258 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16259 * sysdeps/i386/stackguard-macros.h: Likewise.
16260 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16261 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16262 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16263 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16264 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16265 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16266
162672013-09-23 Hector Marco <hecmargi@upv.es>
16268 Ismael Ripoll <iripoll@disca.upv.es>
16269 Carlos O'Donell <carlos@redhat.com>
16270
16271 [BZ #15754]
16272 * sysdeps/generic/stackguard-macros.h: Define
16273 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16274 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16275 Define __pointer_chk_guard_local.
16276 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16277 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16278
f5f4e7b4
VV
162792013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16280
16281 [BZ #15859]
16282 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16283
5bb43a43
AS
162842013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16285
16286 * include/string.h (__ffs): Declare as hidden.
16287 * string/ffs.c (__ffs): Define as hidden.
16288 * sysdeps/i386/ffs.c (__ffs): Likewise.
16289 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16290 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16291 * sysdeps/s390/ffs.c (__ffs): Likewise.
16292 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16293
3ea5be54
AO
162942013-09-20 Alexandre Oliva <aoliva@redhat.com>
16295
ffb89e53
AO
16296 * NEWS: Mention malloc probes.
16297
322dea08
AO
16298 * malloc/arena.c (new_heap): New memory_heap_new probe.
16299 (grow_heap): New memory_heap_more probe.
16300 (shrink_heap): New memory_heap_less probe.
16301 (heap_trim): New memory_heap_free probe.
16302 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16303 (systrim): New memory_sbrk_less probe.
16304 * manual/probes.texi: Document them.
16305
655673f3
AO
16306 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16307 * manual/probes.texi: Document it.
16308
35fed6f1
AO
16309 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16310 (__libc_realloc): Add memory_realloc_retry probe.
16311 (__libc_memalign): Add memory_memalign_retry probe.
16312 (__libc_valloc): Add memory_valloc_retry probe.
16313 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16314 (__libc_calloc): Add memory_calloc_retry probe.
16315 * manual/probes.texi: Document them.
16316
6999d38c
AO
16317 * malloc/arena.c (get_free_list): Add probe
16318 memory_arena_reuse_free_list.
16319 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16320 and memory_arena_reuse.
16321 (arena_get2) [!PER_THREAD]: Likewise.
16322 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16323 memory_arena_reuse_realloc.
16324 * manual/probes.texi: Document them.
16325
0653427f
AO
16326 * malloc/malloc.c (__libc_free): Add
16327 memory_mallopt_free_dyn_thresholds probe.
16328 (__libc_mallopt): Add multiple memory_mallopt probes.
16329 * manual/probes.texi: Document them.
16330
3ea5be54
AO
16331 * malloc/malloc.c: Include stap-probe.h.
16332 (__libc_mallopt): Add memory_mallopt probe.
16333 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16334 * manual/probes.texi: New.
16335 * manual/Makefile (chapters): Add probes.
16336 * manual/threads.texi: Set next node.
16337
e35696c3 163382013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16339
e35696c3
CL
16340 [BZ #15963, #13985]
16341 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16342 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16343 Add `Chinese' to `nan' entry name.
16344
4aafb73c
SP
163452013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16346
16347 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16348 (POLYNOMIAL): Likewise.
16349 (TAYLOR_SINCOS): Likewise.
16350 (TAYLOR_SLOW): Likewise.
16351 (__sin): Use TAYLOR_SINCOS.
16352 (__cos): Likewise.
16353 (slow): Use TAYLOR_SLOW.
16354 (sloww): Likewise.
16355 (bsloww): Likewise.
16356 (csloww): Likewise.
16357
d84f25c7
LD
163582013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16359
16360 * stdlib/strtod_l.c: Fix buffer overrun.
16361
5eea0404
SP
163622013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16363
7849ff93
SP
16364 * benchtests/Makefile (bench): Add sincos.
16365 * benchtests/bench-sincos.c: New file.
16366
cfa3c886
SP
16367 * math/libm-test.inc (cos_test_data): New test inputs.
16368 (sin_test_data): Likewise.
16369
b348e1e3
SP
16370 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16371 macro.
16372 (__sin): Use it.
16373 (__cos): Likewise.
16374 (slow1): Likewise.
16375 (slow2): Likewise.
16376 (sloww1): Likewise.
16377 (sloww2): Likewise.
16378 (bsloww1): Likewise.
16379 (bsloww2): Likewise.
16380 (cslow2): Likewise.
16381 (csloww1): Likewise.
16382 (csloww2): Likewise.
16383
6cce25f8
SP
16384 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16385 function.
16386 (__sin): Use it.
16387 (__cos): Likewise.
16388
5eea0404
SP
16389 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16390 gotos.
16391 (__cos): Likewise.
16392
9c21573c
MR
163932013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16394
16395 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16396 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16397 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16398 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16399 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16400 * elf/cache.c (print_entry): Handle the new cache flags.
16401
24d22e65
JM
164022013-09-18 Joseph Myers <joseph@codesourcery.com>
16403 Aldy Hernandez <aldyh@redhat.com>
16404
16405 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16406 Change condition to [_SOFT_FLOAT].
16407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16419 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16422 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16423 declaration.
16424
d13ef066
JM
164252013-09-18 Joseph Myers <joseph@codesourcery.com>
16426
2e071de0
JM
16427 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16428 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16429 (__longjmp): Use LOAD_GP to load saved GPRs.
16430 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16431 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16432 (__sigsetjmp): Use SAVE_GP to save GPRs.
16433
d13ef066
JM
16434 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16435 Do not append -msoft-float.
16436 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16437
97a0650b
SP
164382013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16439
16440 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16441
11ca09e9
JM
164422013-09-17 Joseph Myers <joseph@codesourcery.com>
16443
16444 [BZ #15966]
16445 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16446 (_FPU_GETCW): Use initial "__" on variable and field names but not
16447 on macro parameter name.
16448 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16449 parentheses around reference to macro parameter.
16450
08ffcf34
RS
164512013-09-13 Richard Sandiford <richard@codesourcery.com>
16452
16453 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16454 prototype.
16455 (ctype_startup): Use uint32_t in cast and sizeof for
16456 ctype->charnames.
16457
ae7080d3
JL
164582013-09-11 Jia Liu <proljc@gmail.com>
16459
16460 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16461 __daddr_t_defined.
16462 [__FreeBSD__]: Likewise.
16463
5905e7b3
OB
164642013-09-11 Ondřej Bílka <neleai@seznam.cz>
16465
16466 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16467 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16468 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16469 (strchr): Remove __strchr_sse42 ifunc selection.
16470 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16471 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16472
b987c776
WN
164732013-09-11 Will Newton <will.newton@linaro.org>
16474
16475 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16476 parameter to RES. Remove hardcoded 1000 value.
16477 * benchtests/bench-skeleton.c (main): Pass RES parameter
16478 to TIMING_INIT and multiply result by 1000.
16479
ddf985af
AZ
164802013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16481
16482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16483
ffdd3181
AS
164842013-09-11 Andreas Schwab <schwab@suse.de>
16485
16486 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16487 if not defined.
16488 (O_TMPFILE) [__USE_GNU]: Define.
16489 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16490 Define.
16491
b73ed247
WN
164922013-09-11 Will Newton <will.newton@linaro.org>
16493
16494 [BZ #15857]
16495 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16496 does not overflow.
16497
55e17aad
WN
164982013-09-11 Will Newton <will.newton@linaro.org>
16499
16500 [BZ #15856]
16501 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16502 does not overflow.
16503
1159a193
WN
165042013-09-11 Will Newton <will.newton@linaro.org>
16505
16506 [BZ #15855]
16507 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16508 does not overflow.
16509
5905e7b3 165102013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16511
16512 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16513 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16514 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16515 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16516 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16517
cdfc721b
AM
165182013-09-10 Allan McRae <allan@archlinux.org>
16519
aa04af00
AM
16520 [BZ #15748]
16521 * manual/arith.texi (Parsing of Floats): Clarify
16522 cross-reference.
16523
cdfc721b
AM
16524 [BZ #15849]
16525 * manual/install.texi (Running make install): Mention
16526 --enable-pt-chown.
16527 * INSTALL: Regenerated.
16528
95e7cf29
MR
165292013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16530
16531 * csu/init-first.c (_init): Remove the !SHARED condition around
16532 FPU control word initialization.
16533 * elf/dl-support.c (_dl_fpu_control): New variable.
16534 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16535 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16536 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16537 * math/test-fpucw-static.c: New file.
16538 * math/test-fpucw-ieee.c: New file.
16539 * math/test-fpucw-ieee-static.c: New file.
16540 * math/Makefile (tests): Add `test-fpucw-ieee' and
16541 `$(tests-static)'.
16542 (tests-static): New variable.
16543 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16544 dependency to...
16545 [($(build-shared),yes)]
16546 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16547 ... this.
16548 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16549 New dependency.
16550
83e43bf0
AM
165512013-09-09 Allan McRae <allan@archlinux.org>
16552
a9f5ce09
AM
16553 [BZ #15939]
16554 * manual/string.texi (Collation Functions): Fix typo in
16555 strcoll example.
16556 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16557
34829bc2
AM
16558 [BZ #15893]
16559 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16560
3932737d
AM
16561 [BZ #15892]
16562 * libio/memstream.c (open_memstream): Fix memory leak.
16563 * libio/wmemstream.c (open_wmemstream): Likewise.
16564
83e43bf0
AM
16565 [BZ #15895]
16566 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16567
0c66b8e9
WN
165682013-09-09 Will Newton <will.newton@linaro.org>
16569
16570 * malloc/Makefile: Add tst-realloc to tests.
16571 * malloc/tst-realloc.c: New file.
16572
f6b00fd1
AM
165732013-09-09 Allan McRae <allan@archlinux.org>
16574
16575 [BZ #15844]
16576 * COPYING: Update from GNU website to fix FSF address.
16577 * COPYING.LIB: Likewise.
16578
eec55e16
DM
165792013-09-06 David S. Miller <davem@davemloft.net>
16580
16581 * po/zh_TW.po: Update Chinese (traditional) translation from
16582 translation project.
16583
1ecbb381
RS
165842013-09-06 Richard Sandiford <richard@codesourcery.com>
16585 Joseph Myers <joseph@codesourcery.com>
16586
16587 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16588 "localeinfo.h".
16589 (obstack_chunk_alloc): New macro.
16590 (obstack_chunk_free): Likewise.
16591 (record_offset): New function.
16592 (init_locale_data): Likewise.
16593 (align_locale_data): Likewise.
16594 (add_locale_empty): Likewise.
16595 (add_locale_raw_data): Likewise.
16596 (add_locale_raw_obstack): Likewise.
16597 (add_locale_string): Likewise.
16598 (add_locale_wstring): Likewise.
16599 (add_locale_uint32): Likewise.
16600 (add_locale_uint32_array): Likewise.
16601 (add_locale_char): Likewise.
16602 (start_locale_structure): Likewise.
16603 (end_locale_structure): Likewise.
16604 (start_locale_prelude): Likewise.
16605 (end_locale_prelude): Likewise.
16606 (write_locale_data): Take locale_file structure rather than an
16607 iovec.
16608 * locale/programs/locfile.h: Include "obstack.h".
16609 (struct locale_file): Change to store locale file contents instead
16610 of header.
16611 (init_locale_data): New prototype.
16612 (align_locale_data): Likewise.
16613 (add_locale_empty): Likewise.
16614 (add_locale_raw_data): Likewise.
16615 (add_locale_raw_obstack): Likewise.
16616 (add_locale_string): Likewise.
16617 (add_locale_wstring): Likewise.
16618 (add_locale_uint32): Likewise.
16619 (add_locale_uint32_array): Likewise.
16620 (add_locale_char): Likewise.
16621 (start_locale_structure): Likewise.
16622 (end_locale_structure): Likewise.
16623 (start_locale_prelude): Likewise.
16624 (end_locale_prelude): Likewise.
16625 (write_locale_data): Update prototype.
16626 * locale/programs/3level.h (struct TABLE): Remove result field.
16627 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16628 Use new locale_file interface.
16629 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16630 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16631 * locale/programs/ld-address.c (address_output): Use new
16632 locale_file interface.
16633 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16634 NO_ADD_LOCALE.
16635 (collate_finish): Don't call collseq_table_finalize.
16636 (collate_output): Use new locale_file interface.
16637 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16638 in file.
16639 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16640 (TABLE): Move defines earlier in file.
16641 (ELEMENT): Likewise.
16642 (DEFAULT): Likewise.
16643 (wctrans_table_add): Move macro and inline function earlier in
16644 file.
16645 (struct wctype_table): Move type earlier in file.
16646 (add_locale_wctype_table): New static prototype.
16647 (struct locale_ctype_t): Use logical types instead of struct iovec
16648 pointers for members.
16649 (ctype_output): Use new locale_file interface.
16650 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16651 new locale_file interface.
16652 (allocate_arrays): Update for use of new locale_file interface.
16653 * locale/programs/ld-identification.c (identification_output): Use
16654 new locale_file interface.
16655 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16656 * locale/programs/ld-messages.c (messages_output): Likewise.
16657 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16658 * locale/programs/ld-name.c (name_output): Likewise.
16659 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16660 * locale/programs/ld-paper.c (paper_output): Likewise.
16661 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16662 * locale/programs/ld-time.c (time_output): Likewise.
16663
e029e2e5
AZ
166642013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16665
16666 * benchtests/Makefile: Add memrchr benchmark.
16667 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16668 benchmark as memrchr.
16669 * benchtests/bench-memrchr-ifunc.c: New file.
16670 * benchtests/bench-memrchr.c: New file.
16671
bbf6e8e4
WN
166722013-09-06 Will Newton <will.newton@linaro.org>
16673
16674 * benchtests/Makefile (string-bench): Add memcpy.
16675
6c82a2f8
CD
166762013-09-05 Carlos O'Donell <carlos@redhat.com>
16677 Cong Wang <amwang@redhat.com>
16678
e732c5f0 16679 [BZ #15850]
6c82a2f8
CD
16680 * sysdeps/unix/sysv/linux/bits/in.h
16681 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16682 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16683 before __USE_KERNEL_IPV6_DEFS uses.
16684 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16685 IPPROTO_BEETPH.
16686 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16687 sockaddr_in6, or ipv6_mreq.
16688
5430fc65
AZ
166892013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16690
16691 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16692 memory access for final bytes in some large inputs.
16693 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16694
4660856c
AZ
166952013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16696
16697 * string/test-memrchr.c: New file.
16698 * string/test-memrchr-ifunc.c: New file.
16699 * string/Makefile: Add new memrchr testcase.
16700
bb8ea713
MF
167012013-09-05 Mike Frysinger <vapier@gentoo.org>
16702
16703 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16704 fanotify_init returns EPERM.
16705
b92a20b5
JM
167062013-09-04 Joseph Myers <joseph@codesourcery.com>
16707
16708 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16709 errors.
16710 (top level): Treat second token from macro or constant entries for
16711 allowed headers as allowed.
16712 * include/complex.h: Condition internal declarations on
16713 [!_ISOMAC].
16714 * include/fenv.h: Condition include of <stdbool.h> and internal
16715 declarations on [!_ISOMAC].
7447ccd9
CL
16716
167172013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16718
3e181dda 16719 [BZ #15923]
7447ccd9
CL
16720 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16721
3f2e46a4
JM
167222013-09-04 Joseph Myers <joseph@codesourcery.com>
16723
16724 * configure.in (--enable-versioning): Remove configure option.
16725 (libc_cv_asm_symver_directive): Remove configure test.
16726 (libc_cv_ld_version_script_option): Likewise.
16727 (VERSIONING): Remove variable and AC_SUBST.
16728 (DO_VERSIONING): Remove AC_DEFINE.
16729 * configure: Regenerated.
16730 * config.h.in (DO_VERSIONING): Remove macro.
16731 * Makerules [$(versioning) = yes]: Change conditionals to
16732 [$(build-shared) = yes].
16733 * config.make.in (versioning): Remove variable.
16734 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16735 [$(build-shared) = yes].
16736 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16737 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16738 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16739 [$(build-shared) = yes].
16740 * extra-lib.mk [$(versioning) = yes]: Likewise.
16741 * hurd/Makefile [$(versioning) = yes]: Likewise.
16742 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16743 [SHARED].
16744 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16745 [SHARED].
16746 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16747 [SHARED && !NO_HIDDEN].
16748 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16749 [SHARED].
16750 [SHARED && DO_VERSIONING]: Likewise..
16751 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16752 [$(build-shared) = yes].
16753 * manual/install.texi (--disable-versioning): Remove
16754 documentation.
16755 * INSTALL: Regenerated.
16756 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16757 to [SHARED].
16758 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16759 [$(build-shared) = yes].
16760 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16761 * sysdeps/i386/i686/multiarch/strstr-c.c
16762 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16763 [SHARED && !NO_HIDDEN].
16764 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16765 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16766 * sysdeps/powerpc/powerpc32/dl-machine.c
16767 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16768 * sysdeps/powerpc/powerpc32/sysdep.h
16769 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16770 to [SHARED && PIC && !NO_HIDDEN].
16771 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16772 conditional to [SHARED].
16773
44558701
WN
167742013-09-04 Will Newton <will.newton@linaro.org>
16775
16776 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16777 * benchtests/bench-string.h: Include bench-timing.h instead
16778 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16779 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16780 call to HP_TIMING_DIFF_INIT.
16781 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16782 instead of hp-timing.h macros.
16783 * benchtests/bench-memchr.c: Likewise.
16784 * benchtests/bench-memcmp.c: Likewise.
16785 * benchtests/bench-memcpy.c: Likewise.
16786 * benchtests/bench-memmem.c: Likewise.
16787 * benchtests/bench-memmove.c: Likewise.
16788 * benchtests/bench-memset.c: Likewise.
16789 * benchtests/bench-rawmemchr.c: Likewise.
16790 * benchtests/bench-strcasecmp.c: Likewise.
16791 * benchtests/bench-strcasestr.c: Likewise.
16792 * benchtests/bench-strcat.c: Likewise.
16793 * benchtests/bench-strchr.c: Likewise.
16794 * benchtests/bench-strcmp.c: Likewise.
16795 * benchtests/bench-strcpy.c: Likewise.
16796 * benchtests/bench-strcpy_chk.c: Likewise.
16797 * benchtests/bench-strlen.c: Likewise.
16798 * benchtests/bench-strncasecmp.c: Likewise.
16799 * benchtests/bench-strncat.c: Likewise.
16800 * benchtests/bench-strncmp.c: Likewise.
16801 * benchtests/bench-strncpy.c: Likewise.
16802 * benchtests/bench-strnlen.c: Likewise.
16803 * benchtests/bench-strpbrk.c: Likewise.
16804 * benchtests/bench-strrchr.c: Likewise.
16805 * benchtests/bench-strspn.c: Likewise.
16806 * benchtests/bench-strstr.c: Likewise.
16807
cae16d66
WN
168082013-09-04 Will Newton <will.newton@linaro.org>
16809
16810 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16811
ffa3cd7f
JM
168122013-09-03 Joseph Myers <joseph@codesourcery.com>
16813
16814 [BZ #15427]
16815 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16816 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16817 * math/libm-test.inc (lgamma_test_data): Add more tests.
16818 * sysdeps/i386/fpu/libm-test-ulps: Update.
16819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16820
8f02859f
OB
168212013-09-03 Ondřej Bílka <neleai@seznam.cz>
16822
16823 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16824 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16825 Add ifunc.
16826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16827 Add strcmp-sse2-unaligned
16828 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16829
18d43716
MF
168302013-09-02 Mike Frysinger <vapier@gentoo.org>
16831
16832 * Versions.def (libc): Add GLIBC_2.19.
16833
ac444012
MF
168342013-09-02 Mike Frysinger <vapier@gentoo.org>
16835
16836 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16837 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16838
b7835e32
JM
168392013-09-02 Joseph Myers <joseph@codesourcery.com>
16840
16841 [BZ #14155]
16842 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16843 intermediate calculations in recurrence.
16844 (__ieee754_ynf): Likewise.
16845 * math/libm-test.inc (jn_test_data): Do not allow spurious
16846 underflow exception. Add more tests.
16847 (yn_test_data): Add more tests.
16848 * sysdeps/i386/fpu/libm-test-ulps: Update.
16849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16850
8220f4f0
OB
168512013-09-02 Ondřej Bílka <neleai@seznam.cz>
16852
16853 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16854
f24a6d08
OB
168552013-08-30 Ondřej Bílka <neleai@seznam.cz>
16856
16857 * csu/init-first.c: Fix then/than typos.
16858 * locale/programs/ld-collate.c: Likewise.
16859 * locale/programs/linereader.h: Likewise.
16860 * manual/charset.texi: Likewise.
16861 * manual/filesys.texi: Likewise.
16862 * manual/stdio.texi: Likewise.
16863 * manual/string.texi: Likewise.
16864 * stdlib/fmtmsg.c: Likewise.
16865 * sysdeps/i386/stpncpy.S: Likewise.
16866 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16867 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16868 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16869 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16870
382466e0
OB
168712013-08-30 Ondřej Bílka <neleai@seznam.cz>
16872
16873 * elf/dl-open.c: Fix typos.
16874 * iconvdata/gbbig5.c: Likewise.
16875 * iconvdata/iso-2022-jp.c: Likewise.
16876 * iconv/gconv_int.h: Likewise.
16877 * iconv/loop.c: Likewise.
16878 * nis/rpcsvc/nis.h: Likewise.
16879 * resolv/ns_name.c: Likewise.
16880 * stdio-common/vfscanf.c: Likewise.
16881 * streams/stropts.h: Likewise.
16882 * sunrpc/rpc_thread.c: Likewise.
16883 * sysdeps/i386/strpbrk.S: Likewise.
16884 * sysdeps/ieee754/k_standard.c: Likewise.
16885 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16886 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16887 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16888 * sysdeps/mach/hurd/profil.c: Likewise.
16889 * sysdeps/s390/dl-procinfo.h: Likewise.
16890 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16891 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16892 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16893 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16894 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16895
0186c6e9
OB
168962013-08-30 Ondřej Bílka <neleai@seznam.cz>
16897
16898 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16899 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16900
d4e16af1
OB
169012013-08-29 Ondřej Bílka <neleai@seznam.cz>
16902
16903 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16904 aix specific files.
16905 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16906 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16907 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16908 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16909 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16910 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16911 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16912 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16913
88335980
TS
169142013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16915 Roland McGrath <roland@hack.frob.com>
16916
16917 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16918 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16919
ed479b02
ST
169202013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16921
16922 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16923 __executable_start symbol instead of _start.
16924
f1cc4c86
TS
169252013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16926
d821f07c
TS
16927 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16928 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16929 Move macros to...
16930 * sysdeps/gnu/ldsodefs.h: ... this new file.
16931
c54290cf
TS
16932 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16933 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16934 instead of ELFOSABI_LINUX.
16935
0007fc9b 16936 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16937 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16938 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16939 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16940 Likewise.
16941 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16942 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16943 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16944 Likewise.
16945 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16946 (ibm_extended_long_double): Add ieee_nan member.
16947 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16948 (do_test): New function.
16949
f1cc4c86
TS
16950 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16951 TEST_TRUNC.
16952 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16953 functions, renamed from truncdfsf_test, trunctfsf_test,
16954 trunctfdf_test.
16955 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16956 functions.
16957 (do_test): Run all these.
16958
6f65e668
OB
169592013-08-29 Ondřej Bílka <neleai@seznam.cz>
16960
16961 * argp/argp-help.c: Fix typos.
16962 * argp/argp-parse.c: Likewise.
16963 * debug/backtracesyms.c: Likewise.
16964 * elf/elf.h: Likewise.
16965 * malloc/malloc.c: Likewise.
16966 * nis/nis_print.c: Likewise.
16967 * resolv/res_comp.c: Likewise.
16968 * stdlib/stdlib.h: Likewise.
16969 * sunrpc/clnt_tcp.c: Likewise.
16970 * sunrpc/clnt_udp.c: Likewise.
16971 * sunrpc/clnt_unix.c: Likewise.
16972 * sysdeps/unix/bsd/ptsname.c: Likewise.
16973 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16974 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16976 Likewise.
16977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16978 Likewise.
16979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16980 Likewise.
6f65e668
OB
16981 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16982
3a309239
SP
169832013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16984
16985 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16987
3b813b29
MF
169882013-08-27 Mike Frysinger <vapier@gentoo.org>
16989
16990 [BZ #15897]
16991 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16992 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16993 ($(objpfx)bug-dl-leaf): New rule.
16994 ($(objpfx)bug-dl-leaf.so): Likewise.
16995 ($(objpfx)bug-dl-leaf.out): Likewise.
16996 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16997 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16998 * dlfcn/bug-dl-leaf.c: New test.
16999 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17000 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17001 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17002 (dlclose): Likewise.
17003 (dlmopen): Likewise.
17004
8cc3269f
RM
170052013-08-27 Roland McGrath <roland@hack.frob.com>
17006
7f9d0034
RM
17007 * include/netdb.h [!_ISOMAC]:
17008 Don't include <tls.h>.
17009 (h_errno, __libc_h_errno): Move declaration and macros out of
17010 [_LIBC_REENTRANT].
17011
fb431262
RM
17012 * include/resolv.h [_RESOLV_H_]:
17013 Don't include <tls.h>.
17014 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17015 * resolv/res_libc.c: Don't include <tls.h>.
17016 (_res): Use __attribute__ ((nocommon)) in place of
17017 __attribute__ ((section (".bss"))).
17018
bd81123a
RM
17019 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17020 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17021
c4e42566
RM
17022 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17023
f890a59b
RM
17024 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17025 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17026
17027 * resolv/res_mkquery.c: Include <sys/time.h>.
17028
5d1f0a09
RM
17029 * inet/ifreq.c: Moved to ...
17030 * sysdeps/unix/ifreq.c: ... here.
17031 * inet/ifreq.c: New file, true stub version.
17032
6fcf28b3
RM
17033 * socket/sa_len.c: New file.
17034 * socket/Makefile (aux): Add it.
17035 * sysdeps/unix/sysv/linux/Makefile
17036 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17037 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17038 and #include <socket/sa_len.c>.
17039 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17040 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17041
e041fb8b
RM
17042 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17043 * bits/socket.h: ... here.
17044
8cc3269f
RM
17045 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17046 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17047 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17048
5d228a43
AS
170492013-08-27 Andreas Schwab <schwab@suse.de>
17050
45b8accc
AS
17051 [BZ #15736]
17052 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17053 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17054 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17055 * string/test-strcasecmp.c (test_main): Run tests in several
17056 locales.
17057 * string/test-strncasecmp.c (test_main): Likewise.
17058
5d228a43
AS
17059 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17060 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17061 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17062 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17063 (__strncasecmp_ssse3) [PIC]: Likewise.
17064
59d112a4
RM
170652013-08-26 Roland McGrath <roland@hack.frob.com>
17066
53234cc3
RM
17067 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17068
59d112a4
RM
17069 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17070 instead of explicitly declaring xdecrypt.
17071 * nis/nss_nis/nis-publickey.c: Likewise.
17072
595aba70
SP
170732013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17074
17075 [BZ #15890]
17076 * nscd/aicache.c: Include res_hconf.h.
17077 (addhstaiX): Initialize res_hconf.
17078
ffabd393
AS
170792013-08-26 Andreas Schwab <schwab@suse.de>
17080
17081 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17082 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17083
e0a69f5c
SP
170842013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17085
17086 * nscd/aicache.c (addhstaiX): Fix indentation.
17087
8c12f01d
MF
170882013-08-25 Mike Frysinger <vapier@gentoo.org>
17089
17090 * configure.ac: Quote $build_pt_chown test.
17091 * configure: Regenerated.
17092
8fe89494
JM
170932013-08-23 Joseph Myers <joseph@codesourcery.com>
17094
17095 [BZ #15532]
17096 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17097 * math/s_cexpf.c (__cexpf): Likewise.
17098 * math/s_cexpl.c (__cexpl): Likewise.
17099 * math/libm-test.inc (cexp_test_data): Correct expected return
17100 value for NaN + i0. Add another test.
17101
75b181d6
DM
171022013-08-22 David S. Miller <davem@davemloft.net>
17103
17104 * po/ca.po: Update Catalan translation from translation project.
936241e4 17105 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 17106
acd06bb1
JM
171072013-08-21 Joseph Myers <joseph@codesourcery.com>
17108
17109 [BZ #15797]
17110 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17111 is infinite, not alongside NaN test.
17112 * math/s_fdimf.c (__fdimf): Likewise.
17113 * math/s_fdiml.c (__fdiml): Likewise.
17114 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17115 errno is unchanged.
17116
c0c3f78a
OB
171172013-08-21 Ondřej Bílka <neleai@seznam.cz>
17118
17119 * argp/argp-help.c: Fix typos.
17120 * crypt/speeds.c: Likewise.
17121 * csu/check_fds.c: Likewise.
17122 * elf/dl-load.c: Likewise.
17123 * elf/dl-open.c: Likewise.
17124 * elf/reldep3.c: Likewise.
17125 * elf/reldep.c: Likewise.
17126 * elf/sprof.c: Likewise.
17127 * iconv/iconv_charmap.c: Likewise.
17128 * iconv/skeleton.c: Likewise.
17129 * iconv/strtab.c: Likewise.
17130 * io/lockf64.c: Likewise.
17131 * libio/libioP.h: Likewise.
17132 * resolv/gai_notify.c: Likewise.
17133 * resolv/ns_name.c: Likewise.
17134 * resolv/ns_samedomain.c: Likewise.
17135 * resolv/res_send.c: Likewise.
17136 * stdlib/random.c: Likewise.
17137 * sunrpc/rpc/xdr.h: Likewise.
17138 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17139 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17140 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17141 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17142 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17143 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17144 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17145 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17146 * sysdeps/mach/hurd/check_fds.c: Likewise.
17147 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17148 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17149 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17150 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17151 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17152 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17153 * sysdeps/pthread/aio_notify.c: Likewise.
17154 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17155 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17156 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17157 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17158 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17159
46ed1038
LD
171602013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17161
17162 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17163 version if bit_Slow_SSE4_2 is set.
17164 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17165 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17166
d400dcac
AZ
171672013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17168
17169 [BZ #15867]
17170 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17171 trampoline stack frame information.
17172 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17173 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17174 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17175 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17176 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17177 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17178 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17179 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17180 sa_flags value.
17181 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17182 interrupting a syscall and set with option SA_SIGINFO.
17183
42c8fdd8
JM
171842013-08-20 Joseph Myers <joseph@codesourcery.com>
17185
c980f2f4
JM
17186 [BZ #15531]
17187 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17188 argument is infinite.
17189 * math/s_cprojf.c (__cprojf): Likewise.
17190 * math/s_cprojl.c (__cprojl): Likewise.
17191 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17192 * math/libm-test.inc (cproj_test_data): Add more tests.
17193
0716c4fc
JM
17194 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17195
42c8fdd8
JM
17196 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17197 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17198 size. Use __ffs to determine corresponding shift.
17199
b31469d0
JM
172002013-08-20 Joseph Myers <joseph@codesourcery.com>
17201 Roland McGrath <roland@hack.frob.com>
17202
17203 * Makefile (INSTALL): Remove trailing blank lines from output of
17204 makeinfo.
17205
4e39af6e
AK
172062013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17207
17208 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17209 Align 32 bit compat elf_greg to 8 bytes.
17210
f315524e
AA
172112013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17212
17213 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17214
1326ba1a
SP
172152013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17216
17217 * string/strcoll_l.c (coll_seq): New structure.
17218 (get_next_seq_cached): New function.
17219 (get_next_seq): New function.
17220 (do_compare): New function.
17221 (STRCOLL): Use GNU style definition. Simplify implementation
17222 by using get_next_seq, get_next_seq_cached and do_compare.
17223
91ce4085
FW
172242013-08-16 Florian Weimer <fweimer@redhat.com>
17225
17226 [BZ #14699]
17227 CVE-2013-4237
17228 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17229 member.
17230 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17231 member.
17232 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17233 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17234 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17235 conditional.
17236 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17237 GETDENTS_64BIT_ALIGNED.
17238 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17239 * manual/filesys.texi (Reading/Closing Directory): Document
17240 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17241 strongly.
17242 * manual/conf.texi (Limits for Files): Add portability note to
17243 NAME_MAX, PATH_MAX.
17244 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17245
ca0a6bc4
AS
172462013-08-13 Andreas Schwab <schwab@suse.de>
17247
17248 [BZ #15749]
17249 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17250 of fabs.
17251 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17252 LDBL_MAX_EXP >= 16384]: Add tests for it.
17253
6c1fd795
DM
172542013-08-12 David S. Miller <davem@davemloft.net>
17255
17256 * version.h (RELEASE): Set to "development".
17257 (VERSION): Set to "2.18.90".
17258 * NEWS: Add 2.19 section.
17259
31ad488d
DM
172602013-08-03 David S. Miller <davem@davemloft.net>
17261
17262 * po/ko.po: Update Korean translation from translation project.
17263
db24e684
DM
172642013-08-01 David S. Miller <davem@davemloft.net>
17265
17266 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17267 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17268 Bilka.
17269
f723285b
DM
172702013-07-30 David S. Miller <davem@davemloft.net>
17271
17272 * po/fr.po: Update French translation from translation project.
17273
3cbc52db
DM
172742013-07-28 David S. Miller <davem@davemloft.net>
17275
30bbc0cc
DM
17276 * po/cs.po: Update Czech translation from translation project.
17277
3cbc52db
DM
17278 * po/sv.po: Update Swedish translation from translation project.
17279
d492e6d0
DM
172802013-07-27 David S. Miller <davem@davemloft.net>
17281
f1a7f492
DM
17282 * po/eo.po: Update Esperanto translation from translation project.
17283
90e62a4a
DM
17284 * po/vi.po: Update Vietnamese translation from translation project.
17285
d492e6d0
DM
17286 * po/de.po: Update German translation from translation project.
17287
d4baa62d
DM
172882013-07-26 David S. Miller <davem@davemloft.net>
17289
641aa7b4
DM
17290 * po/bg.po: Update Bulgarian translation from translation project.
17291
d4baa62d
DM
17292 * po/nl.po: Update Dutch translation from translation project.
17293 * po/pl.po: Update Polish translation from translation project.
17294 * po/ru.po: Update Russian translation from translation project.
17295
61a9dcb9
DM
172962013-07-24 David S. Miller <davem@davemloft.net>
17297
17298 * po/libc.pot: Update.
17299
7b1f8b58
AZ
173002013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17301
17302 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17303 variable page size.
17304 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17305 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17306 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17307
a8fc7a03
AK
173082013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17309
17310 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17311
e4608715
CD
173122013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17313 Andreas Schwab <schwab@suse.de>
17314 Roland McGrath <roland@hack.frob.com>
17315 Joseph Myers <joseph@codesourcery.com>
17316 Carlos O'Donell <carlos@redhat.com>
17317
17318 [BZ #15755]
17319 * config.h.in: Define HAVE_PT_CHOWN.
17320 * config.make.in (build-pt-chown): New variable.
17321 * configure.in (--enable-pt_chown): New configure option.
17322 * configure: Regenerate.
17323 * login/Makefile: Include Makeconfig. Build pt_chown only if
17324 build-pt-chown is enabled.
17325 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17326 pt_chown to fix pty ownership.
17327 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17328 CLOSE_ALL_FDS.
17329 * manual/install.texi (Configuring and compiling): Mention
17330 --enable-pt_chown. Add @findex for grantpt.
17331 * INSTALL: Regenerate.
17332
da2d62df
DM
173332013-07-20 David S. Miller <davem@davemloft.net>
17334
17335 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17336 difference between 32-bit and 64-bit.
17337
d7e06450
CD
173382013-07-15 Carlos O'Donell <carlos@redhat.com>
17339
17340 [BZ #15711]
17341 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17342 Avoid system header dependency with -ffreestanding.
17343 ($(objpfx)bits/syscall%d): Likewise.
17344
f959cfd7
DM
173452013-07-13 David S. Miller <davem@davemloft.net>
17346
17347 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17348 underflows from atanl/atan2l due to bug 15319.
17349 (casinh_test_data): Likewise.
17350
c61f8513
DM
173512013-07-07 David S. Miller <davem@davemloft.net>
17352
17353 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17354
72c90ed0
JA
173552013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17356
17357 * sysdeps/i386/fpu/libm-test-ulps: Update.
17358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17359
52dfbe13
SP
173602013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17361
17362 * configure.in (--enable-lock-elision): Fix message text.
17363 * INSTALL: Regenerate.
17364 * configure: Regenerate.
17365
3f169543
AZ
173662013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17367
17368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17369
521c6785
AJ
173702013-07-03 Andreas Jaeger <aj@suse.de>
17371
17372 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17373 define.
17374 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17375 (ptrace_peeksiginfo_args): Add.
17376 (__ptrace_peeksiginfo_flags): Add.
17377 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17378 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17379 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17380
d2cc15cb
AM
173812013-07-03 Allan McRae <allan@archlinux.org>
17382
17383 * sysdeps/i386/fpu/libm-test-ulps: Update.
17384
3aaeeca7
DM
173852013-07-02 David S. Miller <davem@davemloft.net>
17386
17387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17388
5314ed1a
MT
173892013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17390
17391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17392
67338156
JM
173932013-07-02 Joseph Myers <joseph@codesourcery.com>
17394
17395 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17397
1717da59
AK
173982013-07-02 Andi Kleen <ak@linux.intel.com>
17399
17400 * config.h.in (ENABLE_LOCK_ELISION): Add.
17401 * configure.in (--enable-lock-elision): Add option.
17402 * manual/install.texi: Document --enable lock elision.
17403 * configure: Regenerate
17404 * INSTALL: Regenerate.
17405
1c81621c
L
174062013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17407
17408 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17409 SSE4.2 strcasecmp for libc.a.
17410 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17411
77f01ab5
JM
174122013-07-02 Joseph Myers <joseph@codesourcery.com>
17413
17414 [BZ #13304]
17415 * soft-fp/op-common.h (_FP_FMA): New macro.
17416 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17417 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17418 (_FP_MUL_MEAT_1_imm): ... here.
17419 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17420 (_FP_MUL_MEAT_1_wide): ... here.
17421 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17422 (_FP_MUL_MEAT_1_hard): ... here.
17423 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17424 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17425 (_FP_MUL_MEAT_2_wide): ... here.
17426 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17427 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17428 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17429 (_FP_MUL_MEAT_2_gmp): ... here.
17430 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17431 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17432 (_FP_MUL_MEAT_4_wide): ... here.
17433 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17434 (_FP_MUL_MEAT_4_gmp): ... here.
17435 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17436 (_FP_WFRACBITS_DW_S): Likewise.
17437 (_FP_WFRACXBITS_DW_S): Likewise.
17438 (_FP_HIGHBIT_DW_S): Likewise.
17439 (FP_FMA_S): Likewise.
17440 (_FP_FRAC_HIGH_DW_S): Likewise.
17441 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17442 (_FP_WFRACBITS_DW_D): Likewise.
17443 (_FP_WFRACXBITS_DW_D): Likewise.
17444 (_FP_HIGHBIT_DW_D): Likewise.
17445 (FP_FMA_D): Likewise.
17446 (_FP_FRAC_HIGH_DW_D): Likewise.
17447 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17448 (_FP_WFRACBITS_DW_E): Likewise.
17449 (_FP_WFRACXBITS_DW_E): Likewise.
17450 (_FP_HIGHBIT_DW_E): Likewise.
17451 (FP_FMA_E): Likewise.
17452 (_FP_FRAC_HIGH_DW_E): Likewise.
17453 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17454 (_FP_WFRACBITS_DW_Q): Likewise.
17455 (_FP_WFRACXBITS_DW_Q): Likewise.
17456 (_FP_HIGHBIT_DW_Q): Likewise.
17457 (FP_FMA_Q): Likewise.
17458 (_FP_FRAC_HIGH_DW_Q): Likewise.
17459 * soft-fp/fmasf4.c: New file.
17460 * soft-fp/fmadf4.c: Likewise.
17461 * soft-fp/fmatf4.c: Likewise.
17462
6308fd9a
LD
174632013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17464
17465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17466 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17467 Silvermont.
17468 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17469 macro.
17470 (index_Slow_SSE4_2): Likewise.
17471 (index_Prefer_PMINUB_for_stringop): Likewise.
17472 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17473 bit_Slow_SSE4_2 is set.
17474 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17475 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17476
89cd9569
RA
174772013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17478
17479 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17480 rtld_global._dl_hwcap2.
17481 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17482 POWER8.
17483 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17484 POWER8 feature descriptions defined in _dl_hwcap2.
17485 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17486 string handling for POWER8 feature bits.
17487 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17488 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17489 _dl_powerpc_cap_flags.
17490 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17491 * sysdeps/powerpc/rtld-global-offsets.sym
17492 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17493 _dl_hwcap2 in the rtld_global_ro structure.
17494
1ae8bfe0
RA
174952013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17496
17497 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17498 hardware capabilities in support of AT_HWCAP2.
17499 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17500 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17501 GLRO(dl_hwcap2).
17502 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17503 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17504 explicitly the unknown a_type display mechanism is used.
17505 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17506 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17507 struct member.
17508 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17509 to macro prototype for AT_HWCAP2 support.
17510 * sysdeps/i386/dl-procinfo.h: Likewise.
17511 * sysdeps/s390/dl-procinfo.h: Likewise.
17512 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17513 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17514 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17515 return -1 for unknown a_type display fallback.
17516 * sysdeps/sparc/dl-procinfo.h: Likewise.
17517 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17518 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17519
8fbec010
JM
175202013-06-28 Joseph Myers <joseph@codesourcery.com>
17521
17522 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17523 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17524
0432680e
PY
175252013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17526
17527 [BZ #12492]
17528 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17529 mprotect making __stack_prot writable.
17530
ce61a2ad
NF
175312013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17532 Joseph Myers <joseph@codesourcery.com>
17533
17534 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17535 as being properly aligned.
17536
f91f1c0f
MR
175372013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17538
3d0f5d0c
MR
17539 * dlfcn/modstatic5.c: New file.
17540 * dlfcn/tststatic5.c: New file.
17541 * dlfcn/Makefile (tests): Add tststatic5.
17542 (tests-static): Likewise.
17543 (modules-names): Add modstatic5.
17544 (tststatic5-ENV): New variable.
17545 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17546
f91f1c0f
MR
17547 [BZ #15022]
17548 * elf/dl-support.c (_dl_main_map): New variable.
17549 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17550 (_dl_nns, _dl_load_adds): Set to 1.
17551 (_dl_initial_searchlist): Refer to _dl_main_map.
17552 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17553 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17554 call to _dl_get_origin.
17555 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17556 around call_map.
17557 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17558 * dlfcn/modstatic3.c: New file.
17559 * dlfcn/tststatic3.c: New file.
17560 * dlfcn/tststatic4.c: New file.
17561 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17562 (tests-static): Likewise.
17563 (modules-names): Add modstatic3.
17564 (tststatic3-ENV, tststatic4-ENV): New variables.
17565 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17566 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17567
cbe7d24b
JM
175682013-06-26 Joseph Myers <joseph@codesourcery.com>
17569
17570 * configure.in (CC): Require GCC version 4.4 or later.
17571 * configure: Regenerated.
17572 * manual/install.texi (Tools for Compilation): Update GCC version
17573 requirement.
17574 * INSTALL: Regenerated.
17575
11b8a0e1
LD
175762013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17577
17578 [BZ #15674]
bb5bb87c
L
17579 * string/test-memcmp.c (check2): New.
17580 (main): Call check2.
17581
11b8a0e1
LD
17582 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17583
b0037103
MR
175842013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17585
17586 [BZ #15022]
17587 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17588 over to...
17589 (dl_open_worker) [!SHARED]: ... here.
17590
c18c701d
RA
175912013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17592
17593 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17594
1d17fa5f
RH
175952013-06-25 Richard Henderson <rth@redhat.com>
17596
17597 * locale/programs/locarchive.c: Include <libc-internal.h>
17598
8fcb833a
JM
175992013-06-25 Joseph Myers <joseph@codesourcery.com>
17600
17601 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17602 trailing whitespace removed.
17603
17db6e8d
MF
176042013-06-24 Mike Frysinger <vapier@gentoo.org>
17605
17606 [BZ #10283]
17db6e8d
MF
17607 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17608 * locale/programs/locarchive.c: Include libc-mmap.h.
17609 (prepare_address_space): Take two new outputs (the mmap base and len).
17610 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17611 values.
17612 (create_archive): Declare new mmap base and len values for
17613 prepare_address_space, and store the result in ah.
17614 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17615 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17616 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17617 Declare new mmap base and len values for
17618 prepare_address_space, and store the result in new_ah.
17619 (open_archive): Declare new mmap base and len values for
17620 prepare_address_space, and store the result in ah.
17621 (close_archive): If ah->mmap_base is not NULL, use that and
17622 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17623 * sysdeps/generic/libc-mmap.h: New file.
17624
d605071e
MF
176252013-06-24 Mike Frysinger <vapier@gentoo.org>
17626
17627 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17628 (ALIGN_UP): Likewise.
17629 (PTR_ALIGN_DOWN): Likewise.
17630 (PTR_ALIGN_UP): Likewise.
17631
2f063a6e
RA
176322013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17633
17634 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17635 entry mapped to PPC_PLATFORM_POWER8.
17636 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17637 POWER8.
17638 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17639 (_dl_string_platform): Add case for exporting platform position for
17640 POWER8.
17641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17642 search path to sysdeps/powerpc/powerpc32/power8 directory.
17643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17644 search path to sysdeps/powerpc/powerpc64/power8 directory.
17645 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17646 power7 directories.
17647 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17648 power7 directories.
17649
a31ee4b3
SP
176502013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17651
a74ca98f
SP
17652 * INSTALL: Regenerate.
17653
a31ee4b3
SP
17654 * nscd/connections.c (nscd_init): Fix comment.
17655
695c378f
JM
176562013-06-22 Joseph Myers <joseph@codesourcery.com>
17657
d8412221
JM
17658 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17659
695c378f
JM
17660 [BZ #15667]
17661 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17662 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17663
d1d54715
MR
176642013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17665
17666 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17667 DL_DST_REQ_STATIC.
17668 (DL_DST_REQ_STATIC): Remove macro.
17669
8fdda7af
JM
176702013-06-21 Joseph Myers <joseph@codesourcery.com>
17671
17672 [BZ #7006]
17673 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17674 with a shift of 0 bits.
17675
f3bc5e5a
MR
176762013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17677
17678 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17679 $(tststatic-ENV).
17680
be09e8c9
KK
176812013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17682
17683 [BZ #15655]
17684 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17685
85c2e611
AZ
176862013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17687
17688 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17689 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17690 accepts -fno-tree-loop-distribute-patterns.
17691 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17692 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17693 recursive call.
17694 * string/memset.c (memset): Likewise.
17695 * string/test-memmove.c (simple_memmove): Disable loop transformation
17696 to library calls.
17697 * string/test-memset.c (simple_memset): Likewise.
17698 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17699 * benchtests/bench-memset.c (simple_memset): Likewise.
17700 * configure: Regenerated.
17701
c91e0825
JM
177022013-06-20 Joseph Myers <joseph@codesourcery.com>
17703
b8c792af
JM
17704 * math/test-misc.c (main): Ignore fesetround failure when failures
17705 of subsequent rounding tests would be ignored.
17706
c91e0825
JM
17707 [BZ #15654]
17708 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17709 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17710 * math/fegetenv.c (__fegetenv): Return 0.
17711 * math/fegetexcept.c (fegetexcept): Return 0.
17712 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17713 FE_TONEAREST.
17714 * math/feholdexcpt.c (feholdexcept): Return 0.
17715 * math/fesetenv.c (__fesetenv): Return 0.
17716 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17717 argument FE_TONEAREST.
17718 * math/feupdateenv.c (__feupdateenv): Return 0.
17719 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17720
bfcacbde
RM
177212013-06-18 Roland McGrath <roland@hack.frob.com>
17722
17723 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17724 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17725 ($(objpfx)rtld-%.os rules): Use them.
17726
e55a9b25
AZ
177272013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17728
17729 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17730 fields.
17731
346d65b3
RM
177322013-06-17 Roland McGrath <roland@hack.frob.com>
17733
12086fb4
RM
17734 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17735 length of target pattern, then descending length of dependency pattern.
17736 * configure.in (AWK): Require gawk 3.1.2 or newer.
17737 * manual/install.texi (Tools for Compilation): Say that we do.
17738 * configure: Regenerated.
17739
346d65b3
RM
17740 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17741 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17742 * scripts/sysd-rules.awk: ... this new script.
17743 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17744 than a glob-style pattern.
17745
1a846317
JM
177462013-06-17 Joseph Myers <joseph@codesourcery.com>
17747
17748 * math/test-misc.c (main): Do not treat incorrectly rounded
17749 conversions as failure unless ROUNDING_TESTS passes.
17750
8fc75e6f
JM
177512013-06-15 Joseph Myers <joseph@codesourcery.com>
17752
3711a167
JM
17753 [BZ #15631]
17754 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17755 restore exception state around main square root computation, then
17756 check for inexactness explicitly.
17757
8fc75e6f
JM
17758 * math/libm-test.inc (fma_test_data): Add another test.
17759
61dd6208
SP
177602013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17761
adf23d2c
SP
17762 * manual/threads.texi (Non-POSIX Extensions): New document
17763 node. Document pthread_getattr_default_np and
17764 pthread_setattr_default_np.
17765
61dd6208
SP
17766 * Versions.def (libpthread): Add GLIBC_2.18.
17767 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17769 Likewise.
17770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17771 Likewise.
17772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17773 Likewise.
17774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17775 Likewise.
17776 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17777 Likewise.
17778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17779 Likewise.
17780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17781 Likewise.
17782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17783 Likewise.
17784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17785 Likewise.
17786
d086fc7b
LD
177872013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17788
17789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17790 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17791
747ef469
SP
177922013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17793 H.J. Lu <hjl.tools@gmail.com>
17794
17795 [BZ #15627]
17796 * sysdeps/x86_64/rtld-memset.c: Remove file.
17797 * sysdeps/x86_64/rtld-memset.S: New file.
17798
1b2feed2
JM
177992013-06-14 Joseph Myers <joseph@codesourcery.com>
17800
17801 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17802 (test_in_one_mode): Take arguments for whether the rounding mode
17803 is supported for each floating-point type.
17804 (do_test): Pass new arguments to test_in_one_mode using
17805 ROUNDING_TESTS.
17806
a58ad3f8
RM
178072013-06-13 Roland McGrath <roland@hack.frob.com>
17808
17809 * posix/tst-waitid.c (do_test): Distinguish different instances of
17810 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17811 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17812 before entering the kernel for waitpid.
17813
c204ab28
SP
178142013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17815
17816 * NEWS: Fix note on clock function precision. Text by Roland
17817 McGrath.
17818
f4a29fba
RM
178192013-06-13 Roland McGrath <roland@hack.frob.com>
17820
17821 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17822 it into place only when and if the sanity check passes.
17823
1f24b9ad
JM
178242013-06-13 Joseph Myers <joseph@codesourcery.com>
17825
17826 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17827 output for whether conversion result is exact. Take argument
17828 indicating whether type is IBM long double.
17829 (round_for_all): Change need_exact field to ibm_ld.
17830 * stdlib/tst-strtod-round.c (struct exactness): New type.
17831 (struct test): Change bool ld_ok field to struct exactness exact.
17832 (TEST): Update all definitions for change to field.
17833 (tests): Regenerate array contents.
17834 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17835 field value. Check for IBM long double here.
17836 (do_test): Update calls to test_in_one_mode.
17837
58206c68
SP
178382013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17839
17840 [BZ #12515]
17841 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17842 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17843
2d6f4c5b 178442013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
17845
17846 [BZ #15605]
17847 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17848 generated by the compiler on loop optimizations.
17849 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17850 general definitions.
17851
94f2c076
JM
178522013-06-12 Joseph Myers <joseph@codesourcery.com>
17853
17854 * math/bug-nextafter.c: Include <math-tests.h>.
17855 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17856 the relevant type.
17857 * math/bug-nexttoward.c: Include <math-tests.h>.
17858 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17859 the relevant type.
17860 * math/test-misc.c: Include <math-tests.h>.
17861 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17862 the relevant type.
17863
e0e50a0a
AJ
178642013-06-12 Andreas Jaeger <aj@suse.de>
17865
17866 * po/ia.po: Update Interlingua translation from translation
17867 project.
17868
25061094
SP
178692013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17870
17871 * include/fenv.h: Include stdbool.h.
17872 (struct rm_ctx): New structure.
17873 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17874 Define macro.
17875 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17876 (SET_RESTORE_ROUNDF): Likewise.
17877 (SET_RESTORE_ROUNDL): Likewise.
17878 (SET_RESTORE_ROUND_NOEX): Likewise.
17879 (SET_RESTORE_ROUND_NOEXF): Likewise.
17880 (SET_RESTORE_ROUND_NOEXL): Likewise.
17881 (SET_RESTORE_ROUND_53BIT): Likewise.
17882 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17883 (libc_feresetround_noexf_ctx): Likewise.
17884 (libc_feresetround_noexl_ctx): Likewise.
17885 (libc_feholdsetround_53bit_ctx): Likewise.
17886 (libc_feresetround_53bit_ctx): Likewise.
17887 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17888 (libc_feholdexcept_setround_sse_ctx): New function.
17889 (libc_fesetenv_sse_ctx): Likewise.
17890 (libc_feupdateenv_sse_ctx): Likewise.
17891 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17892 (libc_feholdexcept_setround_387_ctx): Likewise.
17893 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17894 (libc_feholdsetround_387_prec_ctx): Likewise.
17895 (libc_feholdsetround_387_ctx): Likewise.
17896 (libc_feholdsetround_387_53bit_ctx): Likewise.
17897 (libc_feholdsetround_sse_ctx): Likewise.
17898 (libc_feresetround_sse_ctx): Likewise.
17899 (libc_feresetround_387_ctx): Likewise.
17900 (libc_feupdateenv_387_ctx): Likewise.
17901 (libc_feholdexcept_setroundf_ctx): Define macro.
17902 (libc_fesetenvf_ctx): Likewise.
17903 (libc_feupdateenvf_ctx): Likewise.
17904 (libc_feholdsetroundf_ctx): Likewise.
17905 (libc_feresetroundf_ctx): Likewise.
17906 (libc_feholdexcept_setround_ctx): Likewise.
17907 (libc_fesetenv_ctx): Likewise.
17908 (libc_feupdateenv_ctx): Likewise.
17909 (libc_feholdsetround_ctx): Likewise.
17910 (libc_feresetround_ctx): Likewise.
17911 (libc_feholdexcept_setroundl_ctx): Likewise.
17912 (libc_feupdateenvl_ctx): Likewise.
17913 (libc_feholdsetroundl_ctx): Likewise.
17914 (libc_feresetroundl_ctx): Likewise.
17915 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17916 (libc_feresetround_53bit_ctx): Likewise.
17917
59b30555
SP
179182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17919
17920 * locale/iso-639.def: Convert to UTF-8.
17921
f1d73d30
JM
179222013-06-11 Joseph Myers <joseph@codesourcery.com>
17923
17924 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17925 (EXCEPTION_TESTS_double): Likewise.
17926 (EXCEPTION_TESTS_long_double): Likewise.
17927 (EXCEPTION_TESTS): Likewise.
17928 * math/libm-test.inc (test_exceptions): Only test exceptions if
17929 EXCEPTION_TESTS (FLOAT).
17930
94aca5e7
SP
179312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17932
17933 * benchtests/Makefile (string-bench): Add strcpy_chk and
17934 stpcpy_chk.
17935 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17936 * benchtests/bench-stpcpy_chk.c: New file.
17937 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17938 * benchtests/bench-strcpy_chk.c: New file.
17939 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17940 code.
17941 (do_test): Likewise.
17942
fac0c5f2
RA
179432013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17944
17945 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17946 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17947 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17948 with tabs where appropriate.
17949 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17950 dl-procinfo.h.
17951 [PPC_PLATFORM_PPC440]: Likewise.
17952 [PPC_PLATFORM_PPC464]: Likewise.
17953 [PPC_PLATFORM_PPC476]: Likewise.
17954 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17955 ppc464, and ppc476 platform strings merging from ports/
17956 dl-procinfo.h.
17957
f22bc486
AS
179582013-06-11 Andreas Schwab <schwab@suse.de>
17959
17960 [BZ #14991]
17961 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17962 (from_ucs4_idx): Regenerate.
17963 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17964 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17965 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17966 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17967 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17968 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17969 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17970 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17971 from FROM_LOOP and TO_LOOP specific macros.
17972 (BODY): Handle combining characters.
17973 * iconvdata/BIG5HKSCS.irreversible: Update.
17974 * iconvdata/BIG5HKSCS.precomposed: New file.
17975 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17976 characters.
17977 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17978
c1f75dc3
SP
179792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17980
4eacded2
SP
17981 * include/sys/time.h: Fix indentation and add copyright header.
17982
fec799f8
SP
17983 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17984 (do_test): Likewise.
17985 * string/test-memchr.c (do_one_test): Likewise.
17986 (do_test): Likewise.
17987 * string/test-memcmp.c (do_one_test): Likewise.
17988 (do_test): Likewise.
17989 * string/test-memcpy.c (do_one_test): Likewise.
17990 (do_test): Likewise.
17991 * string/test-memmem.c (do_one_test): Likewise.
17992 (do_test): Likewise.
17993 (do_random_tests): Likewise.
17994 * string/test-memmove.c (do_one_test): Likewise.
17995 (do_test): Likewise.
17996 * string/test-memset.c (do_one_test): Likewise.
17997 (do_test): Likewise.
17998 * string/test-rawmemchr.c (do_one_test): Likewise.
17999 (do_test): Likewise.
18000 * string/test-strcasecmp.c (do_one_test): Likewise.
18001 (do_test): Likewise.
18002 * string/test-strcasestr.c (do_one_test): Likewise.
18003 (do_test): Likewise.
18004 * string/test-strcat.c (do_one_test): Likewise.
18005 (do_test): Likewise.
18006 * string/test-strchr.c (do_one_test): Likewise.
18007 (do_test): Likewise.
18008 * string/test-strcmp.c (do_one_test): Likewise.
18009 (do_test): Likewise.
18010 * string/test-strcpy.c (do_one_test): Likewise.
18011 (do_test): Likewise.
18012 * string/test-string.h: Likewise.
18013 (test_init): Likewise.
18014 * string/test-strlen.c (do_one_test): Likewise.
18015 (do_test): Likewise.
18016 * string/test-strncasecmp.c (do_one_test): Likewise.
18017 (do_test): Likewise.
18018 * string/test-strncat.c (do_one_test): Likewise.
18019 (do_test): Likewise.
18020 * string/test-strncmp.c (do_one_test): Likewise.
18021 (do_test_limit): Likewise.
18022 (do_test): Likewise.
18023 * string/test-strncpy.c (do_one_test): Likewise.
18024 (do_test): Likewise.
18025 * string/test-strnlen.c (do_one_test): Likewise.
18026 (do_test): Likewise.
18027 * string/test-strpbrk.c (do_one_test): Likewise.
18028 (do_test): Likewise.
18029 * string/test-strrchr.c (do_one_test): Likewise.
18030 (do_test): Likewise.
18031 * string/test-strspn.c (do_one_test): Likewise.
18032 (do_test): Likewise.
18033 * string/test-strstr.c (do_one_test): Likewise.
18034 (do_test): Likewise.
18035
97020474
SP
18036 * benchtests/Makefile (string-bench): Add string benchmarks.
18037 * benchtests/bench-bcopy-ifunc.c: New file.
18038 * benchtests/bench-bcopy.c: New file.
18039 * benchtests/bench-bzero-ifunc.c: New file.
18040 * benchtests/bench-bzero.c: New file.
18041 * benchtests/bench-memccpy-ifunc.c: New file.
18042 * benchtests/bench-memccpy.c: New file.
18043 * benchtests/bench-memchr-ifunc.c: New file.
18044 * benchtests/bench-memchr.c: New file.
18045 * benchtests/bench-memcmp-ifunc.c: New file.
18046 * benchtests/bench-memcmp.c: New file.
18047 * benchtests/bench-memmem-ifunc.c: New file.
18048 * benchtests/bench-memmem.c: New file.
18049 * benchtests/bench-memmove-ifunc.c: New file.
18050 * benchtests/bench-memmove.c: New file.
18051 * benchtests/bench-mempcpy-ifunc.c: New file.
18052 * benchtests/bench-mempcpy.c: New file.
18053 * benchtests/bench-memset-ifunc.c: New file.
18054 * benchtests/bench-memset.c: New file.
18055 * benchtests/bench-rawmemchr-ifunc.c: New file.
18056 * benchtests/bench-rawmemchr.c: New file.
18057 * benchtests/bench-stpcpy-ifunc.c: New file.
18058 * benchtests/bench-stpcpy.c: New file.
18059 * benchtests/bench-stpncpy-ifunc.c: New file.
18060 * benchtests/bench-stpncpy.c: New file.
18061 * benchtests/bench-strcasecmp-ifunc.c: New file.
18062 * benchtests/bench-strcasecmp.c: New file.
18063 * benchtests/bench-strcasestr-ifunc.c: New file.
18064 * benchtests/bench-strcasestr.c: New file.
18065 * benchtests/bench-strcat-ifunc.c: New file.
18066 * benchtests/bench-strcat.c: New file.
18067 * benchtests/bench-strchr-ifunc.c: New file.
18068 * benchtests/bench-strchr.c: New file.
18069 * benchtests/bench-strchrnul-ifunc.c: New file.
18070 * benchtests/bench-strchrnul.c: New file.
18071 * benchtests/bench-strcmp-ifunc.c: New file.
18072 * benchtests/bench-strcmp.c: New file.
18073 * benchtests/bench-strcpy-ifunc.c: New file.
18074 * benchtests/bench-strcpy.c: New file.
18075 * benchtests/bench-strcspn-ifunc.c: New file.
18076 * benchtests/bench-strcspn.c: New file.
18077 * benchtests/bench-strlen-ifunc.c: New file.
18078 * benchtests/bench-strlen.c: New file.
18079 * benchtests/bench-strncasecmp-ifunc.c: New file.
18080 * benchtests/bench-strncasecmp.c: New file.
18081 * benchtests/bench-strncat-ifunc.c: New file.
18082 * benchtests/bench-strncat.c: New file.
18083 * benchtests/bench-strncmp-ifunc.c: New file.
18084 * benchtests/bench-strncmp.c: New file.
18085 * benchtests/bench-strncpy-ifunc.c: New file.
18086 * benchtests/bench-strncpy.c: New file.
18087 * benchtests/bench-strnlen-ifunc.c: New file.
18088 * benchtests/bench-strnlen.c: New file.
18089 * benchtests/bench-strpbrk-ifunc.c: New file.
18090 * benchtests/bench-strpbrk.c: New file.
18091 * benchtests/bench-strrchr-ifunc.c: New file.
18092 * benchtests/bench-strrchr.c: New file.
18093 * benchtests/bench-strspn-ifunc.c: New file.
18094 * benchtests/bench-strspn.c: New file.
18095 * benchtests/bench-strstr-ifunc.c: New file.
18096 * benchtests/bench-strstr.c: New file.
18097
c1f75dc3
SP
18098 * benchtests/Makefile: Disable parallel execution of targets.
18099 (string-bench): Add memcpy.
18100 (benchset): New variable to store a list of benchmark sets.
18101 (bench-func): Renamed from bench.
18102 (bench-set): New target.
18103 (bench): Depend on bench-func and bench-set.
18104 * benchtests/README: Add section on benchmark sets.
18105 * benchtests/bench-memcpy-ifunc.c: New file.
18106 * benchtests/bench-memcpy.c: New file.
18107 * benchtests/bench-string.h: New file.
18108
50fd745b
AS
181092013-06-11 Andreas Schwab <schwab@suse.de>
18110
18111 [BZ #15577]
18112 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18113 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18114 values in the triple.
18115 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18116 terminator in the group key.
18117
3ee7e9fe
AJ
181182013-06-11 Andreas Jaeger <aj@suse.de>
18119
18120 * po/zh_TW.po: Update Chinese (traditional) translation from
18121 translation project.
18122
89fb6835
SP
181232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18124
18125 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18126 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18127 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18128 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18129 (clock_getcpuclockid): Likewise.
18130 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18131 Add weak_alias and libc_hidden_def.
18132 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18133 * rt/clock_gettime.c (clock_gettime): Rename to
18134 __clock_gettime. Add weak_alias and libc_hidden_def.
18135 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18136 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18137 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18138 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18139 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18140 Likewise.
18141 * rt/clock_settime.c (clock_settime): Rename to
18142 __clock_settime. Add weak_alias and libc_hidden_def.
18143 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18144
0efa6f8b
JM
181452013-06-10 Joseph Myers <joseph@codesourcery.com>
18146
b8c61b4b
JM
18147 * mach/err_boot.sub: Remove trailing whitespace.
18148 * mach/err_ipc.sub: Likewise.
18149 * mach/err_mach.sub: Likewise.
18150
0efa6f8b
JM
18151 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18152 (ROUNDING_TESTS_double): Likewise.
18153 (ROUNDING_TESTS_long_double): Likewise.
18154 (ROUNDING_TESTS): Likewise.
18155 * math/libm-test.inc: Include <math-tests.h>.
18156 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18157 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18158 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18159 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18160
50b818bf
SP
181612013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18162
18163 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18164 of assigning.
18165
60d2f8f3
JM
181662013-06-08 Joseph Myers <joseph@codesourcery.com>
18167
4902d2c3
JM
18168 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18169 otherwise empty TRANS lines.
18170 * sysdeps/gnu/errlist.c: Regenerated.
18171
60d2f8f3
JM
18172 * catgets/gencat.c (error_print): Use (void) in function
18173 definition.
18174 * crypt/crypt_util.c (__init_des): Likewise.
18175 * crypt/speeds.c (Stop): Likewise.
18176 (main): Likewise.
18177 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18178 * inet/ruserpass.c (token): Likewise.
18179 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18180 * intl/localealias.c (extend_alias_table): Likewise.
18181 * intl/plural-exp.c (init_germanic_plural): Likewise.
18182 * libio/fcloseall.c (__fcloseall): Likewise.
18183 * libio/genops.c (_IO_flush_all): Likewise.
18184 (_IO_flush_all_linebuffered): Likewise.
18185 (_IO_cleanup): Likewise.
18186 (_IO_iter_begin): Likewise.
18187 (_IO_iter_end): Likewise.
18188 (_IO_list_lock): Likewise.
18189 (_IO_list_unlock): Likewise.
18190 (_IO_list_resetlock): Likewise.
18191 * libio/getchar.c (getchar): Likewise.
18192 * libio/getchar_u.c (getchar_unlocked): Likewise.
18193 * libio/getwchar.c (getwchar): Likewise.
18194 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18195 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18196 * login/getpt.c (__getpt): Likewise.
18197 * login/tst-utmp.c (main): Likewise.
18198 * malloc/hooks.c (__malloc_check_init): Likewise.
18199 * malloc/malloc.c (__malloc_stats): Likewise.
18200 * malloc/mtrace.c (tr_break): Likewise.
18201 (mtrace): Likewise.
18202 (muntrace): Likewise.
18203 * misc/fstab.c (endfsent): Likewise.
18204 * misc/getclktck.c (__getclktck): Likewise.
18205 * misc/getdtsz.c (__getdtablesize): Likewise.
18206 * misc/gethostid.c (gethostid): Likewise.
18207 * misc/getpagesize.c (__getpagesize): Likewise.
18208 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18209 (__get_nprocs): Likewise.
18210 (__get_phys_pages): Likewise.
18211 (__get_avphys_pages): Likewise.
18212 * misc/getttyent.c (getttyent): Likewise.
18213 (setttyent): Likewise.
18214 (endttyent): Likewise.
18215 * misc/getusershell.c (getusershell): Likewise.
18216 (endusershell): Likewise.
18217 (setusershell): Likewise.
18218 (initshells): Likewise.
18219 * misc/hsearch.c (__hdestroy): Likewise.
18220 * misc/sync.c (sync): Likewise.
18221 * misc/syslog.c (closelog_internal): Likewise.
18222 (closelog): Likewise.
18223 * misc/ttyslot.c (ttyslot): Likewise.
18224 * misc/vhangup.c (vhangup): Likewise.
18225 * posix/fork.c (__fork): Likewise.
18226 * posix/getegid.c (__getegid): Likewise.
18227 * posix/geteuid.c (__geteuid): Likewise.
18228 * posix/getgid.c (__getgid): Likewise.
18229 * posix/getpid.c (__getpid): Likewise.
18230 * posix/getppid.c (__getppid): Likewise.
18231 * posix/getuid.c (__getuid): Likewise.
18232 * posix/pause.c (pause): Likewise.
18233 * posix/setpgrp.c (setpgrp): Likewise.
18234 * posix/setsid.c (__setsid): Likewise.
18235 * posix/test-vfork.c (noop): Likewise.
18236 * resolv/gethnamaddr.c (_endhtent): Likewise.
18237 (_gethtent): Likewise.
18238 (ht_endhostent): Likewise.
18239 (gethostent): Likewise.
18240 (dns_service): Likewise.
18241 * stdlib/drand48.c (drand48): Likewise.
18242 * stdlib/lrand48.c (lrand48): Likewise.
18243 * stdlib/mrand48.c (mrand48): Likewise.
18244 * stdlib/rand.c (rand): Likewise.
18245 * stdlib/random.c (__random): Likewise.
18246 * stdlib/setenv.c (clearenv): Likewise.
18247 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18248 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18249 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18250 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18251 (__get_nprocs): Likewise.
18252 (__get_phys_pages): Likewise.
18253 (__get_avphys_pages): Likewise.
18254 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18255 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18256 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18257 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18258 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18259 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18260 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18261 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18262 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18263 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18264 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18265 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18266 * sysdeps/posix/clock.c (clock): Likewise.
18267 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18268 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18269 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18270 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18271 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18272 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18273 (__get_nprocs_conf): Likewise.
18274 (__get_phys_pages): Likewise.
18275 (__get_avphys_pages): Likewise.
18276 * time/clock.c (clock): Likewise.
18277 * time/tzset.c (__tzname_max): Likewise.
18278
2e09a79a
JM
182792013-06-07 Joseph Myers <joseph@codesourcery.com>
18280
18281 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18282 (__bswap_32): Do not use "register".
18283 * crypt/crypt.c (_ufc_doit_r): Likewise.
18284 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18285 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18286 * gmon/gmon.c (__monstartup): Likewise.
18287 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18288 * hurd/hurdmalloc.c (more_memory): Likewise.
18289 (malloc): Likewise.
18290 (free): Likewise.
18291 (realloc): Likewise.
18292 (malloc_fork_prepare): Likewise.
18293 (malloc_fork_parent): Likewise.
18294 (malloc_fork_child): Likewise.
18295 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18296 (_svcauth_des): Likewise.
18297 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18298 * inet/inet_net.c (inet_network): Likewise.
18299 * inet/inet_netof.c (inet_netof): Likewise.
18300 * inet/rcmd.c (__validuser2_sa): Likewise.
18301 * io/fts.c (fts_open): Likewise.
18302 (fts_load): Likewise.
18303 (fts_close): Likewise.
18304 (fts_read): Likewise.
18305 (fts_children): Likewise.
18306 (fts_build): Likewise.
18307 (fts_stat): Likewise.
18308 (fts_sort): Likewise.
18309 (fts_alloc): Likewise.
18310 (fts_lfree): Likewise.
18311 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18312 (_IO_file_xsgetn): Likewise.
18313 (_IO_file_xsgetn_mmap): Likewise.
18314 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18315 (_IO_cookie_write): Likewise.
18316 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18317 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18318 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18319 * malloc/obstack.c (_obstack_begin): Likewise.
18320 (_obstack_begin_1): Likewise.
18321 (_obstack_newchunk): Likewise.
18322 (_obstack_allocated_p): Likewise.
18323 (obstack_free): Likewise.
18324 (_obstack_memory_used): Likewise.
18325 * misc/getttyent.c (getttynam): Likewise.
18326 (getttyent): Likewise.
18327 (skip): Likewise.
18328 (value): Likewise.
18329 * misc/getusershell.c (initshells): Likewise.
18330 * misc/syslog.c (__vsyslog_chk): Likewise.
18331 * misc/ttyslot.c (ttyslot): Likewise.
18332 * nis/nis_hash.c (__nis_hash): Likewise.
18333 * posix/fnmatch_loop.c (FCT): Likewise.
18334 * posix/getconf.c (print_all): Likewise.
18335 (main): Likewise.
18336 * posix/getopt.c (exchange): Likewise.
18337 * posix/glob.c (globfree): Likewise.
18338 (prefix_array): Likewise.
18339 (__glob_pattern_type): Likewise.
18340 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18341 (NS_GET32): Likewise.
18342 (NS_PUT16): Likewise.
18343 (NS_PUT32): Likewise.
18344 * resolv/gethnamaddr.c (getanswer): Likewise.
18345 (gethostbyname2): Likewise.
18346 (gethostbyaddr): Likewise.
18347 (_gethtent): Likewise.
18348 (_gethtbyname2): Likewise.
18349 (_gethtbyaddr): Likewise.
18350 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18351 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18352 * resolv/res_init.c (__res_vinit): Likewise.
18353 (net_mask): Likewise.
18354 * resolv/res_mkquery.c (outchar): Likewise.
18355 (PRINT): Likewise.
18356 * stdio-common/printf_fp.c (outchar): Likewise.
18357 (PRINT): Likewise.
18358 * stdio-common/printf_fphex.c (outchar): Likewise.
18359 (PRINT): Likewise.
18360 * stdio-common/printf_size.c (outchar): Likewise.
18361 (PRINT): Likewise.
18362 * stdio-common/test_rdwr.c (main): Likewise.
18363 * stdio-common/tfformat.c (matches): Likewise.
18364 * stdio-common/vfprintf.c (outchar): Likewise.
18365 (printf_unknown): Likewise.
18366 (buffered_vfprintf): Likewise.
18367 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18368 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18369 (ReadFile): Likewise.
18370 * stdlib/qsort.c (SWAP): Likewise.
18371 (_quicksort): Likewise.
18372 * stdlib/setenv.c (__add_to_environ): Likewise.
18373 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18374 * stdlib/strtol_l.c (__strtol_l): Likewise.
18375 * stdlib/tst-strtod.c (main): Likewise.
18376 * stdlib/tst-strtol.c (main): Likewise.
18377 * stdlib/tst-strtoll.c (main): Likewise.
18378 * string/bits/string2.h (__strcmp_cc): Likewise.
18379 (__strcmp_cg): Likewise.
18380 (__strcspn_c1): Likewise.
18381 (__strcspn_c2): Likewise.
18382 (__strcspn_c3): Likewise.
18383 (__strspn_c1): Likewise.
18384 (__strspn_c2): Likewise.
18385 (__strspn_c3): Likewise.
18386 (__strsep_1c): Likewise.
18387 (__strsep_2c): Likewise.
18388 (__strsep_3c): Likewise.
18389 * string/memccpy.c (__memccpy): Likewise.
18390 * string/stpcpy.c (__stpcpy): Likewise.
18391 * string/strcmp.c (strcmp): Likewise.
18392 * string/strrchr.c (strrchr): Likewise.
18393 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18394 Likewise.
18395 * sysdeps/mach/hurd/getcwd.c
18396 (_hurd_canonicalize_directory_name_internal): Likewise.
18397 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18398 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18399 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18400 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18401 Likewise, in both definitions.
18402 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18403 definitions.
18404 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18405 64] (__bswap_64): Likewise.
18406 * time/test_time.c (main): Likewise.
18407 * time/tzfile.c (__tzfile_read): Likewise.
18408 (__tzfile_compute): Likewise.
18409 * time/tzset.c (__tzset_parse_tz): Likewise.
18410 (tzset_internal): Likewise.
18411 (compute_change): Likewise.
18412 * wcsmbs/wcscat.c (__wcscat): Likewise.
18413 * wcsmbs/wcschr.c (wcschr): Likewise.
18414 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18415 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18416 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18417 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18418 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18419 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18420 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18421 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18422 * wcsmbs/wmemset.c (wmemset): Likewise.
18423
9e54314b
JM
184242013-06-06 Joseph Myers <joseph@codesourcery.com>
18425
18426 * scripts/config.guess: Update to version 2013-05-16.
18427 * scripts/config.sub: Update to version 2013-04-24.
18428 * scripts/install-sh: Update to version 2011-11-20.07.
18429 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18430 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18431
350635a5
OB
184322013-06-06 Ondřej Bílka <neleai@seznam.cz>
18433
18434 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18435 * elf/sln.c: Likewise.
18436 * hurd/hurd/ioctl.h: Likewise.
18437 * hurd/hurdmalloc.c: Likewise.
18438 * hurd/xattr.c: Likewise.
18439 * include/shlib-compat.h: Likewise.
18440 * inet/ruserpass.c: Likewise.
18441 * libio/iofgets_u.c: Likewise.
18442 * libio/iofgetws_u.c: Likewise.
18443 * locale/programs/ld-identification.c: Likewise.
18444 * locale/programs/ld-time.c: Likewise.
18445 * mach/msg-destroy.c: Likewise.
18446 * nss/nss_files/files-netgrp.c: Likewise.
18447 * resolv/res_data.c: Likewise.
18448 * soft-fp/op-1.h: Likewise.
18449 * soft-fp/op-2.h: Likewise.
18450 * soft-fp/op-4.h: Likewise.
18451 * soft-fp/op-common.h: Likewise.
18452 * stdio-common/printf_fphex.c: Likewise.
18453 * stdlib/strtod_l.c: Likewise.
18454 * sunrpc/rpc/clnt.h: Likewise.
18455 * sysdeps/generic/framestate.c: Likewise.
18456 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18457 * sysdeps/i386/bsd-setjmp.S: Likewise.
18458 * sysdeps/i386/__longjmp.S: Likewise.
18459 * sysdeps/i386/setjmp.S: Likewise.
18460 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18461 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18462 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18463 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18464 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18465 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18466 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18467 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18468 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18469 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18470 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18471 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18472 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18473 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18474 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18475 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18476 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18477 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18478 * sysdeps/ieee754/support.c: Likewise.
18479 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18480 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18481 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18482 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18483 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18484 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18485 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18486 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18487 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18488 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18489 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18490 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18491 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18492 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18493 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18494 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18495 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18497
44a988af
OB
184982013-06-05 Ondřej Bílka <neleai@seznam.cz>
18499
25506f09 18500 * posix/transbug.c: Remove executable mode.
44a988af 18501
9c84384c
JM
185022013-06-05 Joseph Myers <joseph@codesourcery.com>
18503
18504 * crypt/speeds.c: Remove trailing whitespace.
18505 * dlfcn/default.c: Likewise.
18506 * elf/ifuncdep2.c: Likewise.
18507 * elf/ifuncmain1.c: Likewise.
18508 * elf/ifuncmain1vis.c: Likewise.
18509 * elf/testobj.h: Likewise.
18510 * elf/tst-stackguard1.c: Likewise.
18511 * gmon/sys/gmon.h: Likewise.
18512 * hurd/hurdmsg.c: Likewise.
18513 * hurd/new-fd.c: Likewise.
18514 * hurd/ports-get.c: Likewise.
18515 * iconvdata/ibm1008_420.c: Likewise.
18516 * inet/tst-getni1.c: Likewise.
18517 * inet/tst-getni2.c: Likewise.
18518 * libio/ioungetc.c: Likewise.
18519 * libio/wfiledoalloc.c: Likewise.
18520 * manual/libm-err-tab.pl: Likewise.
18521 * math/w_dremf.c: Likewise.
18522 * misc/ftruncate.c: Likewise.
18523 * posix/bug-glob2.c: Likewise.
18524 * posix/tst-pcre.c: Likewise.
18525 * posix/wait4.c: Likewise.
18526 * resolv/README: Likewise.
18527 * resolv/res_debug.h: Likewise.
18528 * resolv/tst-inet_ntop.c: Likewise.
18529 * setjmp/bug269-setjmp.c: Likewise.
18530 * soft-fp/extended.h: Likewise.
18531 * soft-fp/op-1.h: Likewise.
18532 * soft-fp/op-2.h: Likewise.
18533 * soft-fp/op-4.h: Likewise.
18534 * soft-fp/op-8.h: Likewise.
18535 * soft-fp/testit.c: Likewise.
18536 * stdio-common/bug16.c: Likewise.
18537 * stdlib/random.c: Likewise.
18538 * sunrpc/rpcsvc/rquota.x: Likewise.
18539 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18540 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18541 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18542 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18543 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18544 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18545 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18546 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18547 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18548 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18549 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18550 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18551 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18552 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18553 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18554 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18555 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18556 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18557 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18558 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18559 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18560 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18561 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18562 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18563 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18564 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18565 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18566 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18567 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18568 * sysdeps/ieee754/s_lib_version.c: Likewise.
18569 * sysdeps/mach/hurd/check_fds.c: Likewise.
18570 * sysdeps/mach/hurd/getsockname.c: Likewise.
18571 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18572 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18573 * sysdeps/powerpc/bits/link.h: Likewise.
18574 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18575 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18576 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18577 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18578 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18579 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18580 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18581 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18582 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18583 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18584 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18585 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18586 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18587 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18588 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18589 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18590 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18591 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18592 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18593 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18594 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18595 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18596 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18597 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18598 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18599 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18600 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18601 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18602 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18603 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18604 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18605 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18606 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18607 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18608 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18609 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18610 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18611 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18612 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18613 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18614 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18615 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18616 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18617 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18618 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18619 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18620 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18621 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18622 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18623 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18624 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18626 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18627 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18628 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18629 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18630 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18631 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18632 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18633 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18634 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18635 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18636 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18637 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18638 * sysdeps/powerpc/sysdep.h: Likewise.
18639 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18640 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18641 * sysdeps/sh/dl-trampoline.S: Likewise.
18642 * sysdeps/sh/memset.S: Likewise.
18643 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18644 * sysdeps/sh/strlen.S: Likewise.
18645 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18646 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18647 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18648 * sysdeps/sparc/sparc32/rem.S: Likewise.
18649 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18650 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18651 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18652 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18653 * sysdeps/sparc/sparc32/urem.S: Likewise.
18654 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18655 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18656 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18657 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18658 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18659 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18660 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18661 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18662 * sysdeps/unix/bsd/times.c: Likewise.
18663 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18664 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18668 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18669 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18670 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18671 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18672 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18673 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18674 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18675 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18676 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18677 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18678 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18679 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18680 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18681 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18682 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18683 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18684 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18685 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18686 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18687 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18688 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18689 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18690 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18691 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18692 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18693 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18694 * sysdeps/x86_64/strcspn.S: Likewise.
18695
869378a5
RA
186962013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18697
18698 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18699 generated file. Regenerate properly from gen-translit.pl.
18700 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18701 locale/C-translit.h.
18702
840e2943
AS
187032013-06-05 Andreas Schwab <schwab@suse.de>
18704
18705 [BZ #15100]
18706 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18707 week as 6 instead of -1.
18708 * time/tst-strptime.c (day_tests): Add test case.
18709
4c60cb0c
SP
187102013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18711
18712 * sysdeps/generic/math_private.h
18713 (libc_feholdexcept_setround_53bit): Replace with
18714 libc_feholdsetround_53bit.
18715 (libc_feupdateenv_53bit): Replace with
18716 libc_feresetround_53bit.
18717 (SET_RESTORE_ROUND_53BIT): Adjust.
18718
d180203e
SP
187192013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18720
96df079a
SP
18721 * string/test-strchrnul.c: Add copyright header.
18722
d180203e
SP
18723 * posix/tst-getaddrinfo4.c: Increase test timeout.
18724
8b0ccb2d
CD
187252013-06-03 Carlos O'Donell <carlos@redhat.com>
18726
18727 [BZ #15536]
18728 * math/libm-test.inc (MAX_EXP): Remove
18729 (MIN_EXP): Define.
18730 (ulp): Use MIN_EXP - MANT_DIG.
18731 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18732
3b3c4d40
CD
187332013-05-31 Carlos O'Donell <carlos@redhat.com>
18734
18735 * po/be.po: Revert last change.
18736 * po/zh_CN.po: Likewise.
18737 * po/header.pot: Likewise.
18738
fab7ce3f
JM
187392013-05-31 Joseph Myers <joseph@codesourcery.com>
18740
18741 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18742 link-libc-deps to empty as target-specific variable.
18743 * Makerules (link-libc-args): New variable.
18744 (libc-for-link): Likewise.
18745 (link-libc-deps): Likewise.
18746 (lib%.so): Depend on $(link-libc-deps). Link with
18747 $(link-libc-args).
18748 (build-module): Link with $(link-libc-args).
18749 (build-module-asneeded): Likewise.
18750 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18751 list of objects.
18752 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18753 target-specific variable.
18754 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18755 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18756 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18757 libc.
18758 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18759 libc and ld.so.
18760 ($(objpfx)libpcprofile.so): Likewise.
18761 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18762 libc_nonshared.a.
18763 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18764 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18765 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18766 $(link-libc-deps).
18767 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18768 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18769 * login/Makefile ($(objpfx)libutil.so): Likewise.
18770 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18771 * math/Makefile ($(objpfx)libm.so): Likewise.
18772 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18773 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18774 variable instead of depending directly on libc.
18775 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18776 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18777 $(link-libc-deps).
18778 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18779 libc.
18780 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18781 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18782 ($(objpfx)libanl.so): Likewise.
18783 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18784 ld.so.
18785 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18786 $(link-libc-deps).
18787 * sysdeps/i386/fpu/Makefile: Remove file.
18788 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18789 ($(objpfx)libm.so): Remove dependency on ld.so.
18790
eca5920c
PF
187912013-05-30 Patsy Franklin <pfrankli@redhat.com>
18792
18793 [BZ # 15553]
18794 * nis/yp_xdr.c (XDRMAXNAME): Define.
18795 (XDRMAXRECORD): Define.
18796 (xdr_domainname): Use XDRMAXNAME.
18797 (xdr_mapname): Likewise.
18798 (xdr_peername): Likewise.
18799 (xdr_keydat): Use XDRMAXRECORD.
18800 (xdr_valdat): Likewise.
18801
188022013-05-30 Jeff Law <law@redhat.com>
96945714
JL
18803
18804 [BZ #14256]
18805 * manual/errno.texi (ESTALE): Update to account for more than
18806 just NFS file systems.
18807 * sysdeps/gnu/errlist.c: Regenerated.
18808
b9375348
SP
188092013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18810
18811 [BZ #15465]
18812 * elf/Makefile (tests): Add tst-null-argv.
18813 (modules-names): Add tst-null-argv-lib.
18814 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18815 (tst-null-argv-ENV): Set environment for tst-null-argv.
18816 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18817 (RTLD_PROGNAME): New macro.
18818 * elf/tst-null-argv.c: New test case.
18819 * elf/tst-null-argv-lib.c: Library for test case.
18820 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18821 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18822 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18823 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18824 * elf/dl-init.c (call_init): Likewise.
18825 (_dl_init): Likewise.
18826 * elf/dl-load.c (print_search_path): Likewise.
18827 (_dl_map_object): Likewise.
18828 * elf/dl-lookup.c (do_lookup_x): Likewise.
18829 (add_dependency): Likewise.
18830 (_dl_lookup_symbol_x): Likewise.
18831 (_dl_debug_bindings): Likewise.
18832 * elf/dl-open.c (_dl_show_scope): Likewise.
18833 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18834 * elf/dl-version.c (match_symbol): Likewise.
18835 (_dl_check_map_versions): Likewise.
18836 * elf/rtld.c (dl_main): Likewise.
18837 (print_unresolved): Use RTLD_PROGNAME.
18838 (print_missing_version): Likewise.
18839 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18840 (elf_machine_rela): Likewise.
18841 * sysdeps/powerpc/powerpc32/dl-machine.c
18842 (__process_machine_rela): Likewise.
18843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18844 Likewise.
18845 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18846 Likewise.
18847 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18848 Likewise.
18849 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18850 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18851 Likewise.
18852 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18853 Likewise.
18854 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18855
8a9f20c8
CD
188562013-05-28 Carlos O'Donell <carlos@redhat.com>
18857
18858 * po/be.po: Add descriptive title.
18859 * po/zh_CN.po: Likewise.
18860 * po/header.pot: Likewise.
18861
0e60d68e
MF
188622013-05-28 Mike Frysinger <vapier@gentoo.org>
18863
18864 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18865 error message.
18866 (enlarge_archive): Likewise.
18867
56b672e9
BN
188682013-05-28 Ben North <ben@redfrontdoor.org>
18869
18870 * manual/arith.texi (frexp): It is the magnitude of the return
18871 value which lies in [0.5, 1), not the return value itself.
18872
5e056687
AZ
188732013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18874
18875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18876
2b66ef5d
TS
188772013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18878
528c2405
TS
18879 * stdio-common/bug26.c (main): Correct fscanf template.
18880
07b4c13d
TS
18881 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18882 declare _dl_skip_args.
18883
ec9dd97c
TS
18884 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18885 Don't declare.
18886
2b66ef5d
TS
18887 * manual/platform.texi: Add missing @end deftypefun.
18888
4f8dfe27
JM
188892013-05-24 Joseph Myers <joseph@codesourcery.com>
18890
0323d086
JM
18891 [BZ #15529]
18892 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18893 bit of mantissa of 2^16382.
18894 * math/libm-test.inc (hypot_test_data): Add more tests.
18895
dd4259b9
JM
18896 * math/libm-test.inc: Add drem and pow10 to list of tested
18897 functions.
18898 (pow10_test): New function.
18899 (drem_test): Likewise.
18900 (drem_test_tonearest): Likewise.
18901 (drem_test_towardzero): Likewise.
18902 (drem_test_downward): Likewise.
18903 (drem_test_upward): Likewise.
18904 (main): Call the new functions.
18905
4f8dfe27
JM
18906 * math/libm-test.inc (finite_test_data): Remove.
18907 (finite_test): Run tests from isfinite_test_data.
18908 (gamma_test_data): Remove.
18909 (gamma_test): Run tests from lgamma_test_data.
18910 * sysdeps/i386/fpu/libm-test-ulps: Update.
18911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18912
d116b7c4
AZ
189132013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18914
18915 * manual/platform.texi: Add PowerPC PPR function set documentation.
18916 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18917 implementation.
18918
e96e3767
CD
189192013-05-24 Carlos O'Donell <carlos@redhat.com>
18920
18921 * math/libm-test.inc (MAX_EXP): Define.
18922 (ULPDIFF): Define.
18923 (ulp): New function.
18924 (check_float_internal): Use ULPDIFF.
18925 (cpow_test): Disable failing test.
18926 (check_ulp): Test ulp() implemetnation.
18927 (main): Call check_ulp before starting tests.
18928
b679a606
JM
189292013-05-24 Joseph Myers <joseph@codesourcery.com>
18930
e8bdba36
JM
18931 * math/gen-libm-test.pl (generate_testfile): Do not handle
18932 START_DATA and END_DATA.
18933 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18934 END_DATA.
18935 (acos_tonearest_test_data): Likewise.
18936 (acos_towardzero_test_data): Likewise.
18937 (acos_downward_test_data): Likewise.
18938 (acos_upward_test_data): Likewise.
18939 (acosh_test_data): Likewise.
18940 (asin_test_data): Likewise.
18941 (asin_tonearest_test_data): Likewise.
18942 (asin_towardzero_test_data): Likewise.
18943 (asin_downward_test_data): Likewise.
18944 (asin_upward_test_data): Likewise.
18945 (asinh_test_data): Likewise.
18946 (atan_test_data): Likewise.
18947 (atanh_test_data): Likewise.
18948 (atan2_test_data): Likewise.
18949 (cabs_test_data): Likewise.
18950 (cacos_test_data): Likewise.
18951 (cacosh_test_data): Likewise.
18952 (carg_test_data): Likewise.
18953 (casin_test_data): Likewise.
18954 (casinh_test_data): Likewise.
18955 (catan_test_data): Likewise.
18956 (catanh_test_data): Likewise.
18957 (cbrt_test_data): Likewise.
18958 (ccos_test_data): Likewise.
18959 (ccosh_test_data): Likewise.
18960 (ceil_test_data): Likewise.
18961 (cexp_test_data): Likewise.
18962 (cimag_test_data): Likewise.
18963 (clog_test_data): Likewise.
18964 (clog10_test_data): Likewise.
18965 (conj_test_data): Likewise.
18966 (copysign_test_data): Likewise.
18967 (cos_test_data): Likewise.
18968 (cos_tonearest_test_data): Likewise.
18969 (cos_towardzero_test_data): Likewise.
18970 (cos_downward_test_data): Likewise.
18971 (cos_upward_test_data): Likewise.
18972 (cosh_test_data): Likewise.
18973 (cosh_tonearest_test_data): Likewise.
18974 (cosh_towardzero_test_data): Likewise.
18975 (cosh_downward_test_data): Likewise.
18976 (cosh_upward_test_data): Likewise.
18977 (cpow_test_data): Likewise.
18978 (cproj_test_data): Likewise.
18979 (creal_test_data): Likewise.
18980 (csin_test_data): Likewise.
18981 (csinh_test_data): Likewise.
18982 (csqrt_test_data): Likewise.
18983 (ctan_test_data): Likewise.
18984 (ctan_tonearest_test_data): Likewise.
18985 (ctan_towardzero_test_data): Likewise.
18986 (ctan_downward_test_data): Likewise.
18987 (ctan_upward_test_data): Likewise.
18988 (ctanh_test_data): Likewise.
18989 (ctanh_tonearest_test_data): Likewise.
18990 (ctanh_towardzero_test_data): Likewise.
18991 (ctanh_downward_test_data): Likewise.
18992 (ctanh_upward_test_data): Likewise.
18993 (erf_test_data): Likewise.
18994 (erfc_test_data): Likewise.
18995 (exp_test_data): Likewise.
18996 (exp_tonearest_test_data): Likewise.
18997 (exp_towardzero_test_data): Likewise.
18998 (exp_downward_test_data): Likewise.
18999 (exp_upward_test_data): Likewise.
19000 (exp10_test_data): Likewise.
19001 (exp2_test_data): Likewise.
19002 (expm1_test_data): Likewise.
19003 (fabs_test_data): Likewise.
19004 (fdim_test_data): Likewise.
19005 (finite_test_data): Likewise.
19006 (floor_test_data): Likewise.
19007 (fma_test_data): Likewise.
19008 (fma_towardzero_test_data): Likewise.
19009 (fma_downward_test_data): Likewise.
19010 (fma_upward_test_data): Likewise.
19011 (fmax_test_data): Likewise.
19012 (fmin_test_data): Likewise.
19013 (fmod_test_data): Likewise.
19014 (fpclassify_test_data): Likewise.
19015 (frexp_test_data): Likewise.
19016 (gamma_test_data): Likewise.
19017 (hypot_test_data): Likewise.
19018 (ilogb_test_data): Likewise.
19019 (isfinite_test_data): Likewise.
19020 (isgreater_test_data): Likewise.
19021 (isgreaterequal_test_data): Likewise.
19022 (isinf_test_data): Likewise.
19023 (isless_test_data): Likewise.
19024 (islessequal_test_data): Likewise.
19025 (islessgreater_test_data): Likewise.
19026 (isnan_test_data): Likewise.
19027 (isnormal_test_data): Likewise.
19028 (issignaling_test_data): Likewise.
19029 (isunordered_test_data): Likewise.
19030 (j0_test_data): Likewise.
19031 (j1_test_data): Likewise.
19032 (jn_test_data): Likewise.
19033 (ldexp_test_data): Likewise.
19034 (lgamma_test_data): Likewise.
19035 (lrint_test_data): Likewise.
19036 (lrint_tonearest_test_data): Likewise.
19037 (lrint_towardzero_test_data): Likewise.
19038 (lrint_downward_test_data): Likewise.
19039 (lrint_upward_test_data): Likewise.
19040 (llrint_test_data): Likewise.
19041 (llrint_tonearest_test_data): Likewise.
19042 (llrint_towardzero_test_data): Likewise.
19043 (llrint_downward_test_data): Likewise.
19044 (llrint_upward_test_data): Likewise.
19045 (log_test_data): Likewise.
19046 (log10_test_data): Likewise.
19047 (log1p_test_data): Likewise.
19048 (log2_test_data): Likewise.
19049 (logb_test_data): Likewise.
19050 (logb_downward_test_data): Likewise.
19051 (lround_test_data): Likewise.
19052 (llround_test_data): Likewise.
19053 (modf_test_data): Likewise.
19054 (nearbyint_test_data): Likewise.
19055 (nextafter_test_data): Likewise.
19056 (nexttoward_test_data): Likewise.
19057 (pow_test_data): Likewise.
19058 (pow_tonearest_test_data): Likewise.
19059 (pow_towardzero_test_data): Likewise.
19060 (pow_downward_test_data): Likewise.
19061 (pow_upward_test_data): Likewise.
19062 (remainder_test_data): Likewise.
19063 (remainder_tonearest_test_data): Likewise.
19064 (remainder_towardzero_test_data): Likewise.
19065 (remainder_downward_test_data): Likewise.
19066 (remainder_upward_test_data): Likewise.
19067 (remquo_test_data): Likewise.
19068 (rint_test_data): Likewise.
19069 (rint_tonearest_test_data): Likewise.
19070 (rint_towardzero_test_data): Likewise.
19071 (rint_downward_test_data): Likewise.
19072 (rint_upward_test_data): Likewise.
19073 (round_test_data): Likewise.
19074 (scalb_test_data): Likewise.
19075 (scalbn_test_data): Likewise.
19076 (scalbln_test_data): Likewise.
19077 (signbit_test_data): Likewise.
19078 (sin_test_data): Likewise.
19079 (sin_tonearest_test_data): Likewise.
19080 (sin_towardzero_test_data): Likewise.
19081 (sin_downward_test_data): Likewise.
19082 (sin_upward_test_data): Likewise.
19083 (sincos_test_data): Likewise.
19084 (sinh_test_data): Likewise.
19085 (sinh_tonearest_test_data): Likewise.
19086 (sinh_towardzero_test_data): Likewise.
19087 (sinh_downward_test_data): Likewise.
19088 (sinh_upward_test_data): Likewise.
19089 (sqrt_test_data): Likewise.
19090 (tan_test_data): Likewise.
19091 (tan_tonearest_test_data): Likewise.
19092 (tan_towardzero_test_data): Likewise.
19093 (tan_downward_test_data): Likewise.
19094 (tan_upward_test_data): Likewise.
19095 (tanh_test_data): Likewise.
19096 (tgamma_test_data): Likewise.
19097 (trunc_test_data): Likewise.
19098 (y0_test_data): Likewise.
19099 (y1_test_data): Likewise.
19100 (yn_test_data): Likewise.
19101 (significand_test_data): Likewise.
19102
b679a606
JM
19103 * math/gen-libm-test.pl (@functions): Remove variable.
19104 (generate_testfile): Don't handle START and END lines.
19105 * math/libm-test.inc (START): New macro.
19106 (END): Likewise.
19107 (END_COMPLEX): Likewise.
19108 (acos_test): Use END macro without arguments.
19109 (acos_test_tonearest): Likewise.
19110 (acos_test_towardzero): Likewise.
19111 (acos_test_downward): Likewise.
19112 (acos_test_upward): Likewise.
19113 (acosh_test): Likewise.
19114 (asin_test): Likewise.
19115 (asin_test_tonearest): Likewise.
19116 (asin_test_towardzero): Likewise.
19117 (asin_test_downward): Likewise.
19118 (asin_test_upward): Likewise.
19119 (asinh_test): Likewise.
19120 (atan_test): Likewise.
19121 (atanh_test): Likewise.
19122 (atan2_test): Likewise.
19123 (cabs_test): Likewise.
19124 (cacos_test): Use END_COMPLEX macro without arguments.
19125 (cacosh_test): Likewise.
19126 (carg_test): Use END macro without arguments.
19127 (casin_test): Use END_COMPLEX macro without arguments.
19128 (casinh_test): Likewise.
19129 (catan_test): Likewise.
19130 (catanh_test): Likewise.
19131 (cbrt_test): Use END macro without arguments.
19132 (ccos_test): Use END_COMPLEX macro without arguments.
19133 (ccosh_test): Likewise.
19134 (ceil_test): Use END macro without arguments.
19135 (cexp_test): Use END_COMPLEX macro without arguments.
19136 (cimag_test): Use END macro without arguments.
19137 (clog_test): Use END_COMPLEX macro without arguments.
19138 (clog10_test): Likewise.
19139 (conj_test): Likewise.
19140 (copysign_test): Use END macro without arguments.
19141 (cos_test): Likewise.
19142 (cos_test_tonearest): Likewise.
19143 (cos_test_towardzero): Likewise.
19144 (cos_test_downward): Likewise.
19145 (cos_test_upward): Likewise.
19146 (cosh_test): Likewise.
19147 (cosh_test_tonearest): Likewise.
19148 (cosh_test_towardzero): Likewise.
19149 (cosh_test_downward): Likewise.
19150 (cosh_test_upward): Likewise.
19151 (cpow_test): Use END_COMPLEX macro without arguments.
19152 (cproj_test): Likewise.
19153 (creal_test): Use END macro without arguments.
19154 (csin_test): Use END_COMPLEX macro without arguments.
19155 (csinh_test): Likewise.
19156 (csqrt_test): Likewise.
19157 (ctan_test): Likewise.
19158 (ctan_test_tonearest): Likewise.
19159 (ctan_test_towardzero): Likewise.
19160 (ctan_test_downward): Likewise.
19161 (ctan_test_upward): Likewise.
19162 (ctanh_test): Likewise.
19163 (ctanh_test_tonearest): Likewise.
19164 (ctanh_test_towardzero): Likewise.
19165 (ctanh_test_downward): Likewise.
19166 (ctanh_test_upward): Likewise.
19167 (erf_test): Use END macro without arguments.
19168 (erfc_test): Likewise.
19169 (exp_test): Likewise.
19170 (exp_test_tonearest): Likewise.
19171 (exp_test_towardzero): Likewise.
19172 (exp_test_downward): Likewise.
19173 (exp_test_upward): Likewise.
19174 (exp10_test): Likewise.
19175 (exp2_test): Likewise.
19176 (expm1_test): Likewise.
19177 (fabs_test): Likewise.
19178 (fdim_test): Likewise.
19179 (finite_test): Likewise.
19180 (floor_test): Likewise.
19181 (fma_test): Likewise.
19182 (fma_test_towardzero): Likewise.
19183 (fma_test_downward): Likewise.
19184 (fma_test_upward): Likewise.
19185 (fmax_test): Likewise.
19186 (fmin_test): Likewise.
19187 (fmod_test): Likewise.
19188 (fpclassify_test): Likewise.
19189 (frexp_test): Likewise.
19190 (gamma_test): Likewise.
19191 (hypot_test): Likewise.
19192 (ilogb_test): Likewise.
19193 (isfinite_test): Likewise.
19194 (isgreater_test): Likewise.
19195 (isgreaterequal_test): Likewise.
19196 (isinf_test): Likewise.
19197 (isless_test): Likewise.
19198 (islessequal_test): Likewise.
19199 (islessgreater_test): Likewise.
19200 (isnan_test): Likewise.
19201 (isnormal_test): Likewise.
19202 (issignaling_test): Likewise.
19203 (isunordered_test): Likewise.
19204 (j0_test): Likewise.
19205 (j1_test): Likewise.
19206 (jn_test): Likewise.
19207 (ldexp_test): Likewise.
19208 (lgamma_test): Likewise.
19209 (lrint_test): Likewise.
19210 (lrint_test_tonearest): Likewise.
19211 (lrint_test_towardzero): Likewise.
19212 (lrint_test_downward): Likewise.
19213 (lrint_test_upward): Likewise.
19214 (llrint_test): Likewise.
19215 (llrint_test_tonearest): Likewise.
19216 (llrint_test_towardzero): Likewise.
19217 (llrint_test_downward): Likewise.
19218 (llrint_test_upward): Likewise.
19219 (log_test): Likewise.
19220 (log10_test): Likewise.
19221 (log1p_test): Likewise.
19222 (log2_test): Likewise.
19223 (logb_test): Likewise.
19224 (logb_test_downward): Likewise.
19225 (lround_test): Likewise.
19226 (llround_test): Likewise.
19227 (modf_test): Likewise.
19228 (nearbyint_test): Likewise.
19229 (nextafter_test): Likewise.
19230 (nexttoward_test): Likewise.
19231 (pow_test): Likewise.
19232 (pow_test_tonearest): Likewise.
19233 (pow_test_towardzero): Likewise.
19234 (pow_test_downward): Likewise.
19235 (pow_test_upward): Likewise.
19236 (remainder_test): Likewise.
19237 (remainder_test_tonearest): Likewise.
19238 (remainder_test_towardzero): Likewise.
19239 (remainder_test_downward): Likewise.
19240 (remainder_test_upward): Likewise.
19241 (remquo_test): Likewise.
19242 (rint_test): Likewise.
19243 (rint_test_tonearest): Likewise.
19244 (rint_test_towardzero): Likewise.
19245 (rint_test_downward): Likewise.
19246 (rint_test_upward): Likewise.
19247 (round_test): Likewise.
19248 (scalb_test): Likewise.
19249 (scalbn_test): Likewise.
19250 (scalbln_test): Likewise.
19251 (signbit_test): Likewise.
19252 (sin_test): Likewise.
19253 (sin_test_tonearest): Likewise.
19254 (sin_test_towardzero): Likewise.
19255 (sin_test_downward): Likewise.
19256 (sin_test_upward): Likewise.
19257 (sincos_test): Likewise.
19258 (sinh_test): Likewise.
19259 (sinh_test_tonearest): Likewise.
19260 (sinh_test_towardzero): Likewise.
19261 (sinh_test_downward): Likewise.
19262 (sinh_test_upward): Likewise.
19263 (sqrt_test): Likewise.
19264 (tan_test): Likewise.
19265 (tan_test_tonearest): Likewise.
19266 (tan_test_towardzero): Likewise.
19267 (tan_test_downward): Likewise.
19268 (tan_test_upward): Likewise.
19269 (tanh_test): Likewise.
19270 (tgamma_test): Likewise.
19271 (trunc_test): Likewise.
19272 (y0_test): Likewise.
19273 (y1_test): Likewise.
19274 (yn_test): Likewise.
19275 (significand_test): Likewise.
19276
bae143d2
OB
192772013-05-24 Ondřej Bílka <neleai@seznam.cz>
19278
19279 [BZ #15381]
19280 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19281
9323d39b
EM
192822013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19283
d4ea44a0 19284 [BZ #14894]
9323d39b
EM
19285 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19286 __ppc_mdoio and __ppc_mdoom.
19287 * manual/platform.texi: Document new functions __ppc_yield,
19288 __ppc_mdoio and __ppc_mdoom.
19289
13e23af7
CD
192902013-05-22 Carlos O'Donell <carlos@redhat.com>
19291
19292 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19293 (main): Mention "tls" pseudo-hwcap is legacy.
19294 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19295
351fe550
JM
192962013-05-22 Joseph Myers <joseph@codesourcery.com>
19297
19298 * math/gen-libm-test.pl (parse_args): Output only string of
19299 arguments as text for test name, not full call or descriptions of
19300 tests for extra outputs.
19301 (generate_testfile): Do not pass function name to parse_args.
19302 Generate this_func variable from START.
19303 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19304 field to arg_str.
19305 (struct test_ff_f_data): Likewise.
19306 (test_ff_f_data_nexttoward): Likewise.
19307 (struct test_fi_f_data): Likewise.
19308 (struct test_fl_f_data): Likewise.
19309 (struct test_if_f_data): Likewise.
19310 (struct test_fff_f_data): Likewise.
19311 (struct test_c_f_data): Likewise.
19312 (struct test_f_f1_data): Likewise. Remove field extra_name.
19313 (struct test_fF_f1_data): Likewise.
19314 (struct test_ffI_f1_data): Likewise.
19315 (struct test_c_c_data): Rename test_name field to arg_str.
19316 (struct test_cc_c_data): Likewise.
19317 (struct test_f_i_data): Likewise.
19318 (struct test_ff_i_data): Likewise.
19319 (struct test_f_l_data): Likewise.
19320 (struct test_f_L_data): Likewise.
19321 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19322 and extra2_name.
19323 (COMMON_TEST_SETUP): New macro.
19324 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19325 (COMMON_TEST_CLEANUP): Likewise.
19326 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19327 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19328 macros.
19329 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19330 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19331 macros.
19332 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19333 (RUN_TEST_fff_f): Take argument string. Call new setup and
19334 cleanup macros.
19335 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19336 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19337 macros.
19338 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19339 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19340 macros.
19341 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19342 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19343 cleanup macros.
19344 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19345 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19346 cleanup macros.
19347 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19348 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19349 cleanup macros.
19350 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19351 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19352 macros.
19353 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19354 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19355 macros.
19356 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19357 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19358 macros.
19359 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19360 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19361 cleanup macros.
19362 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19363 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19364 cleanup macros.
19365 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19366 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19367 macros.
19368 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19369 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19370 cleanup macros.
19371 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19372 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19373 macros.
19374 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19375 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19376 macros.
19377 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19378 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19379 cleanup macros.
19380 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19381
85118d4d
EBM
193822013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19383
19384 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19385 to _sifields.sigfault.
19386 (si_addr_lsb): Define new macro.
19387 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19388 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19389 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19390
7a44c18f
CD
193912013-05-03 Carlos O'Donell <carlos at redhat.com>
19392
19393 [BZ #15441]
19394 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19395 returns -1.
19396 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19397 null return -1.
19398 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19399 loading the domain.
19400
b50a7181
JM
194012013-05-22 Joseph Myers <joseph@codesourcery.com>
19402
19403 * math/gen-libm-test.pl (parse_args): Do not include expected
19404 result in test name.
19405 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19406 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19407 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19408 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19409 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19411
051063c8
SP
194122013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19413
3ce9e010
SP
19414 * benchtests/Makefile: Sort function entries.
19415
051063c8
SP
19416 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19417 tanh, asinh, acosh, atanh.
19418 * benchtests/acos-inputs: New file.
19419 * benchtests/acosh-inputs: New file.
19420 * benchtests/asin-inputs: New file.
19421 * benchtests/asinh-inputs: New file.
19422 * benchtests/atanh-inputs: New file.
19423 * benchtests/cosh-inputs: New file.
19424 * benchtests/log-inputs: New file.
19425 * benchtests/sinh-inputs: New file.
19426 * benchtests/tanh-inputs: New file.
19427
47c22455
DL
194282013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19429
19430 [BZ #15339]
19431 * posix/tst-getaddrinfo4.c: New test.
19432 * posix/Makefile (tests): Add it.
19433
3d04f5db
SP
194342013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19435
19436 [BZ #15339]
19437 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19438 when no services were used.
19439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19440 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19441
d5dd6189
AS
194422013-05-21 Andreas Schwab <schwab@suse.de>
19443
19444 [BZ #15014]
19445 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19446 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19447 successful.
19448 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19449 redundant variable declarations and reallocation of buffer when
19450 parsing as IPv6 address. Always set NSS status when called from
19451 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19452 buffer too small. Correct computation of needed size.
19453 * nss/Makefile (tests): Add test-digits-dots.
19454 * nss/test-digits-dots.c: New test.
19455
fef94eab
SP
194562013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19457
19458 * benchtests/Makefile: Remove instructions for adding
19459 benchmark tests.
19460 * benchtests/README: New file to explain how to execute and
19461 enhance the benchmark tests.
19462
e39adf43
AS
194632013-05-21 Andreas Schwab <schwab@suse.de>
19464
19465 [BZ #15493]
19466 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19467 * setjmp/tst-sigsetjmp.c: New test.
19468
b2b671b6
OB
194692013-05-20 Ondřej Bílka <neleai@seznam.cz>
19470
19471 * sysdeps/x86_64/memset.S (memset): New implementation.
19472 (__bzero): Likewise.
19473 (__memset_tail): New function.
19474
2d48b41c
OB
194752013-05-20 Ondřej Bílka <neleai@seznam.cz>
19476
19477 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19478 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19479 __memcpy_sse2_unaligned ifunc selection.
19480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19481 Add memcpy-sse2-unaligned.S.
19482 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19483 Add: __memcpy_sse2_unaligned.
19484
f16cc3eb
JM
194852013-05-19 Joseph Myers <joseph@codesourcery.com>
19486
3e694268
JM
19487 [BZ #15490]
19488 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19489 math_force_eval before restoring floating-point envrionment.
19490 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19491 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19492 Likewise.
19493 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19494 <math_private.h>.
19495 (__nearbyintl): Use math_force_eval before restoring
19496 floating-point environment.
19497 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19498
db62a907
JM
19499 * math/gen-libm-test.pl (special_functions): Remove.
19500 (parse_args): Don't handle TEST_extra. Handle functions with no
19501 return value.
19502 * math/libm-test.inc (struct test_sincos_data): Replace with
19503 struct test_fFF_11_data.
19504 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19505 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19506 (sincos_test_data): Change element type to struct
19507 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19508 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19509 RUN_TEST_LOOP_sincos.
19510 * math/README.libm-test: Don't mention special handling of
19511 individual functions.
19512 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19513 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19514 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19515 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19516 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19518
f16cc3eb
JM
19519 * math/gen-libm-test.pl (get_variable): Remove function.
19520 (parse_args): Don't show pointer parameters to call in test
19521 names. Use "extra output N" in test names for extra outputs
19522 rather than naming variables.
19523
3779b5b6
JM
195242013-05-18 Joseph Myers <joseph@codesourcery.com>
19525
2ee094ff
JM
19526 [BZ #15488]
19527 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19528 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19529 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19530 double tests.
19531 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19532 disable.
19533 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19534 check_long_double.
19535
3779b5b6
JM
19536 * math/gen-libm-test.pl (@tests): Remove variable.
19537 ($count): Likewise.
19538 (new_test): Remove function.
19539 (show_exceptions): New function.
19540 (special_functions): Use show_exceptions instead of new_test.
19541 (parse_args): Likewise.
19542 (generate_testfile): Pass only function name in generated call to
19543 print_max_error or print_complex_max_error.
19544 (get_ulps): Do not handle complex tests specially.
19545 (output_test): Rename to ...
19546 (get_all_ulps_for_test): ... this. Return a string rather than
19547 printing to a file. Require ulps to be present.
19548 (output_ulps): Generate arrays rather than #defines.
19549 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19550 (struct ulp_data): New type.
19551 (BUILD_COMPLEX_ULP): Remove macro.
19552 (compare_ulp_data): New function.
19553 (find_ulps): Likewise.
19554 (find_test_ulps): Likewise.
19555 (find_function_ulps): Likewise.
19556 (find_complex_function_ulps): Likewise.
19557 (print_max_error): Determine allowed ulps using
19558 find_function_ulps.
19559 (print_complex_max_error): Determine allowed ulps using
19560 find_complex_function_ulps.
19561 (check_float_internal): Determine max ulps using find_test_ulps.
19562 (check_float): Do not take max_ulp parameter. Update call to
19563 check_float_internal.
19564 (check_complex): Likewise.
19565 (check_int): Do not take max_ulp parameter.
19566 (check_long): Likewise.
19567 (check_bool): Likewise.
19568 (check_longlong): Likewise.
19569 (struct test_f_f_data): Remove max_ulp field.
19570 (struct test_ff_f_data): Likewise.
19571 (struct test_ff_f_data_nexttoward): Likewise.
19572 (struct test_fi_f_data): Likewise.
19573 (struct test_fl_f_data): Likewise.
19574 (struct test_if_f_data): Likewise.
19575 (struct test_fff_f_data): Likewise.
19576 (struct test_c_f_data): Likewise.
19577 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19578 (struct test_fF_f1_data): Likewise.
19579 (struct test_ffI_f1_data): Likewise.
19580 (struct test_c_c_data): Remove max_ulp field.
19581 (struct test_cc_c_data): Likewise.
19582 (struct test_f_i_data): Likewise.
19583 (struct test_ff_i_data): Likewise.
19584 (struct test_f_l_data): Likewise.
19585 (struct test_f_L_data): Likewise.
19586 (struct test_sincos_data): Likewise.
19587 (RUN_TEST_f_f): Do not handle ulps.
19588 (RUN_TEST_LOOP_f_f): Likewise.
19589 (RUN_TEST_2_f): Likewise.
19590 (RUN_TEST_LOOP_2_f): Likewise.
19591 (RUN_TEST_fff_f): Likewise.
19592 (RUN_TEST_LOOP_fff_f): Likewise.
19593 (RUN_TEST_c_f): Likewise.
19594 (RUN_TEST_LOOP_c_f): Likewise.
19595 (RUN_TEST_f_f1): Likewise.
19596 (RUN_TEST_LOOP_f_f1): Likewise.
19597 (RUN_TEST_fF_f1): Likewise.
19598 (RUN_TEST_LOOP_fF_f1): Likewise.
19599 (RUN_TEST_fI_f1): Likewise.
19600 (RUN_TEST_LOOP_fI_f1): Likewise.
19601 (RUN_TEST_ffI_f1): Likewise.
19602 (RUN_TEST_LOOP_ffI_f1): Likewise.
19603 (RUN_TEST_c_c): Likewise.
19604 (RUN_TEST_LOOP_c_c): Likewise.
19605 (RUN_TEST_cc_c): Likewise.
19606 (RUN_TEST_LOOP_cc_c): Likewise.
19607 (RUN_TEST_f_i): Likewise.
19608 (RUN_TEST_LOOP_f_i): Likewise.
19609 (RUN_TEST_f_i_tg): Likewise.
19610 (RUN_TEST_LOOP_f_i_tg): Likewise.
19611 (RUN_TEST_ff_i_tg): Likewise.
19612 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19613 (RUN_TEST_f_b): Likewise.
19614 (RUN_TEST_LOOP_f_b): Likewise.
19615 (RUN_TEST_f_b_tg): Likewise.
19616 (RUN_TEST_LOOP_f_b_tg): Likewise.
19617 (RUN_TEST_f_l): Likewise.
19618 (RUN_TEST_LOOP_f_l): Likewise.
19619 (RUN_TEST_f_L): Likewise.
19620 (RUN_TEST_LOOP_f_L): Likewise.
19621 (RUN_TEST_sincos): Likewise.
19622 (RUN_TEST_LOOP_sincos): Likewise.
19623
8269107f
JM
196242013-05-17 Joseph Myers <joseph@codesourcery.com>
19625
bb38759d
JM
19626 [BZ #15480]
19627 [BZ #15485]
19628 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19629 main case of finite arguments, set rounding mode to FE_TONEAREST
19630 and discard exceptions.
19631 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19632 exceptions.
19633 (remainder_tonearest_test_data): New variable.
19634 (remainder_test_tonearest): New function.
19635 (remainder_towardzero_test_data): New variable.
19636 (remainder_test_towardzero): New function.
19637 (remainder_downward_test_data): New variable.
19638 (remainder_test_downward): New function.
19639 (remainder_upward_test_data): New variable.
19640 (remainder_test_upward): New function.
19641 (main): Call the new test functions.
19642
a00bdcf0
JM
19643 * math/libm-test.inc (struct test_f_f1_data): Remove field
19644 extra_init.
19645 (struct test_fF_f1_data): Likewise.
19646 (struct test_ffI_f1_data): Likewise.
19647 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19648 based on value of EXTRA_EXPECTED.
19649 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19650 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19651 EXTRA_VAR based on value of EXTRA_EXPECTED.
19652 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19653 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19654 EXTRA_VAR based on value of EXTRA_EXPECTED.
19655 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19656 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19657 EXTRA_VAR based on value of EXTRA_EXPECTED.
19658 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19659 * math/gen-libm-test.pl (parse_args): Don't output initializers
19660 for extra output values.
19661
de407f79
JM
19662 * math/libm-test.inc (check_int): Expect result to be exactly
19663 equal to expected value and do not handle ulps.
19664 (check_long): Likewise.
19665 (check_longlong): Likewise.
19666
8269107f
JM
19667 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19668 exceptions.
19669 (cimag_test_data): Likewise.
19670 (conj_test_data): Likewise.
19671 (copysign_test_data): Likewise.
19672 (cproj_test_data): Likewise.
19673 (creal_test_data): Likewise.
19674 (fabs_test_data): Likewise.
19675 (fdim_test_data): Likewise.
19676 (finite_test_data): Likewise.
19677 (floor_test_data): Likewise.
19678 (fmax_test_data): Likewise.
19679 (fmin_test_data): Likewise.
19680 (fmod_test_data): Likewise.
19681 (fpclassify_test_data): Likewise.
19682 (frexp_test_data): Likewise.
19683 (ilogb_test_data): Likewise.
19684 (isfinite_test_data): Likewise.
19685 (isgreater_test_data): Likewise.
19686 (isgreaterequal_test_data): Likewise.
19687 (isinf_test_data): Likewise.
19688 (isless_test_data): Likewise.
19689 (islessequal_test_data): Likewise.
19690 (islessgreater_test_data): Likewise.
19691 (isnan_test_data): Likewise.
19692 (isnormal_test_data): Likewise.
19693 (issignaling_test_data): Likewise.
19694 (isunordered_test_data): Likewise.
19695 (ldexp_test_data): Likewise.
19696 (lrint_test_data): Likewise.
19697 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19698 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19699 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19700 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19701 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19702 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19703 test input.
19704 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19705 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19706 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19707 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19708 that test input.
19709 (lrint_downward_test_data): Test for "inexact" exceptions.
19710 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19711 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19712 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19713 test input.
19714 (lrint_upward_test_data): Test for "inexact" exceptions.
19715 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19716 test input.
19717 (llrint_test_data): Test for "inexact" exceptions.
19718 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19719 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19720 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19721 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19722 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19723 (llrint_downward_test_data): Test for "inexact" exceptions.
19724 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19725 (llrint_upward_test_data): Test for "inexact" exceptions.
19726 (logb_test_data): Likewise.
19727 (logb_downward_test_data): Likewise.
19728 (nextafter_test_data): Likewise.
19729 (nexttoward_test_data): Likewise.
19730 (remainder_test_data): Likewise.
19731 (remquo_test_data): Likewise.
19732 (scalbn_test_data): Likewise.
19733 (scalbln_test_data): Likewise.
19734 (signbit_test_data): Likewise.
19735 (sqrt_test_data): Likewise.
19736 (significand_test_data): Likewise.
19737
48a18de1
SP
197382013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19739
19740 [BZ #15424]
19741 * benchtests/bench-modf.c (struct args): Mark arg0 as
19742 volatile.
19743 * scripts/bench.pl: Mark members of struct args as volatile.
19744
13d3b41a
AZ
197452013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19746
68191c1d 19747 [BZ # 15497]
13d3b41a
AZ
19748 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19749 negative infinity on POWER6 or lower.
19750 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19751
2848b105
MR
197522013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19753
19754 [BZ #15442]
19755 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19756 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19757 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19758 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19759 (_FP_SETQNAN): New macro.
19760 (_FP_SETQNAN_SEMIRAW): Likewise.
19761 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19762 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19763 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19764 (FP_EXTEND): Use _FP_FRAC_SNANP.
19765 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19766 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19767 into account.
19768 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19769 New macro.
19770 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19771 Likewise.
19772
323e5cb7
JM
197732013-05-16 Joseph Myers <joseph@codesourcery.com>
19774
c58b274f
JM
19775 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19776 with DIVIDE_BY_ZERO_EXCEPTION.
19777 (gamma_test_data): Likewise.
19778 (lgamma_test_data): Likewise.
19779 (log_test_data): Likewise.
19780 (log10_test_data): Likewise.
19781 (log2_test_data): Likewise.
19782 (tgamma_test_data): Likewise.
19783
0ab34904
JM
19784 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19785 (acos_test_tonearest): Likewise.
19786 (acos_test_towardzero): Likewise.
19787 (acos_test_downward): Likewise.
19788 (acos_test_upward): Likewise.
19789 (acosh_test): Likewise.
19790 (asin_test): Likewise.
19791 (asin_test_tonearest): Likewise.
19792 (asin_test_towardzero): Likewise.
19793 (asin_test_downward): Likewise.
19794 (asin_test_upward): Likewise.
19795 (asinh_test): Likewise.
19796 (atan_test): Likewise.
19797 (atanh_test): Likewise.
19798 (atan2_test): Likewise.
19799 (cabs_test): Likewise.
19800 (cacos_test): Likewise.
19801 (cacosh_test): Likewise.
19802 (casin_test): Likewise.
19803 (casinh_test): Likewise.
19804 (catan_test): Likewise.
19805 (catanh_test): Likewise.
19806 (cbrt_test): Likewise.
19807 (ccos_test): Likewise.
19808 (ccosh_test): Likewise.
19809 (cexp_test): Likewise.
19810 (clog_test): Likewise.
19811 (clog10_test): Likewise.
19812 (cos_test): Likewise.
19813 (cos_test_tonearest): Likewise.
19814 (cos_test_towardzero): Likewise.
19815 (cos_test_downward): Likewise.
19816 (cos_test_upward): Likewise.
19817 (cosh_test): Likewise.
19818 (cosh_test_tonearest): Likewise.
19819 (cosh_test_towardzero): Likewise.
19820 (cosh_test_downward): Likewise.
19821 (cosh_test_upward): Likewise.
19822 (cpow_test): Likewise.
19823 (csin_test): Likewise.
19824 (csinh_test): Likewise.
19825 (csqrt_test): Likewise.
19826 (ctan_test): Likewise.
19827 (ctan_test_tonearest): Likewise.
19828 (ctan_test_towardzero): Likewise.
19829 (ctan_test_downward): Likewise.
19830 (ctan_test_upward): Likewise.
19831 (ctanh_test): Likewise.
19832 (ctanh_test_tonearest): Likewise.
19833 (ctanh_test_towardzero): Likewise.
19834 (ctanh_test_downward): Likewise.
19835 (ctanh_test_upward): Likewise.
19836 (erf_test): Likewise.
19837 (erfc_test): Likewise.
19838 (exp_test): Likewise.
19839 (exp_test_tonearest): Likewise.
19840 (exp_test_towardzero): Likewise.
19841 (exp_test_downward): Likewise.
19842 (exp_test_upward): Likewise.
19843 (exp10_test): Likewise.
19844 (exp2_test): Likewise.
19845 (expm1_test): Likewise.
19846 (fmod_test): Likewise.
19847 (gamma_test): Likewise.
19848 (hypot_test): Likewise.
19849 (j0_test): Likewise.
19850 (j1_test): Likewise.
19851 (jn_test): Likewise.
19852 (lgamma_test): Likewise.
19853 (log_test): Likewise.
19854 (log10_test): Likewise.
19855 (log1p_test): Likewise.
19856 (log2_test): Likewise.
19857 (logb_test_downward): Likewise.
19858 (pow_test): Likewise.
19859 (pow_test_tonearest): Likewise.
19860 (pow_test_towardzero): Likewise.
19861 (pow_test_downward): Likewise.
19862 (pow_test_upward): Likewise.
19863 (remainder_test): Likewise.
19864 (remquo_test): Likewise.
19865 (sin_test): Likewise.
19866 (sin_test_tonearest): Likewise.
19867 (sin_test_towardzero): Likewise.
19868 (sin_test_downward): Likewise.
19869 (sin_test_upward): Likewise.
19870 (sincos_test): Likewise.
19871 (sinh_test): Likewise.
19872 (sinh_test_tonearest): Likewise.
19873 (sinh_test_towardzero): Likewise.
19874 (sinh_test_downward): Likewise.
19875 (sinh_test_upward): Likewise.
19876 (sqrt_test): Likewise.
19877 (tan_test): Likewise.
19878 (tan_test_tonearest): Likewise.
19879 (tan_test_towardzero): Likewise.
19880 (tan_test_downward): Likewise.
19881 (tan_test_upward): Likewise.
19882 (tanh_test): Likewise.
19883 (tgamma_test): Likewise.
19884 (y0_test): Likewise.
19885 (y1_test): Likewise.
19886 (yn_test): Likewise.
19887
323e5cb7
JM
19888 * math/gen-libm-test.pl (adjust_arg): Remove function.
19889 (special_function): Remove argument $in_func. Only handle
19890 generating output for tables of tests, not inside functions.
19891 (parse_args): Likewise.
19892 (generate_testfile): Remove variable $in_func. Update call to
19893 parse_args.
19894 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19895 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19896 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19897 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19898 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19899 (MAX_VALUE_INIT): Rename macro to max_value.
19900 (MIN_VALUE_INIT): Rename macro to min_value.
19901 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19902 (plus_zero): Remove variable.
19903 (minus_zero): Likewise.
19904 (plus_infty): Likewise.
19905 (minus_infty): Likewise.
19906 (qnan_value): Likewise.
19907 (max_value): Likewise.
19908 (min_value): Likewise.
19909 (min_subnorm_value): Likewise.
19910
e054f494
RA
199112013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19912
19913 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19914 uint64_t or uint32_t usage.
19915 * crypt/sha256-block.c: Likewise.
19916 * crypt/sha256-crypt.c: Likewise.
19917 * crypt/sha256.c: Likewise.
19918 * crypt/sha512-block.c: Likewise.
19919 * crypt/sha512-crypt.c: Likewise.
19920 * crypt/sha512.c: Likewise.
19921 * debug/backtrace-tst.c: Likewise.
19922 * debug/pcprofiledump.c: Likewise.
19923 * elf/cache.c: Likewise.
19924 * elf/dl-cache.c: Likewise.
19925 * elf/dl-misc.c: Likewise.
19926 * elf/dl-profile.c: Likewise.
19927 * elf/dl-support.c: Likewise.
19928 * elf/ldconfig.c: Likewise.
19929 * elf/sprof.c: Likewise.
19930 * iconv/dummy-repertoire.c: Likewise.
19931 * iconv/iconv_charmap.c: Likewise.
19932 * iconv/skeleton.c: Likewise.
19933 * iconvdata/8bit-generic.c: Likewise.
19934 * iconvdata/cp737.h: Likewise.
19935 * iconvdata/cp775.h: Likewise.
19936 * iconvdata/ibm1008.h: Likewise.
19937 * iconvdata/ibm1025.h: Likewise.
19938 * iconvdata/ibm1046.h: Likewise.
19939 * iconvdata/ibm1097.h: Likewise.
19940 * iconvdata/ibm1112.h: Likewise.
19941 * iconvdata/ibm1122.h: Likewise.
19942 * iconvdata/ibm1123.h: Likewise.
19943 * iconvdata/ibm1124.h: Likewise.
19944 * iconvdata/ibm1129.h: Likewise.
19945 * iconvdata/ibm1130.h: Likewise.
19946 * iconvdata/ibm1132.h: Likewise.
19947 * iconvdata/ibm1133.h: Likewise.
19948 * iconvdata/ibm1137.h: Likewise.
19949 * iconvdata/ibm1140.h: Likewise.
19950 * iconvdata/ibm1141.h: Likewise.
19951 * iconvdata/ibm1142.h: Likewise.
19952 * iconvdata/ibm1143.h: Likewise.
19953 * iconvdata/ibm1144.h: Likewise.
19954 * iconvdata/ibm1145.h: Likewise.
19955 * iconvdata/ibm1146.h: Likewise.
19956 * iconvdata/ibm1147.h: Likewise.
19957 * iconvdata/ibm1148.h: Likewise.
19958 * iconvdata/ibm1149.h: Likewise.
19959 * iconvdata/ibm1153.h: Likewise.
19960 * iconvdata/ibm1154.h: Likewise.
19961 * iconvdata/ibm1155.h: Likewise.
19962 * iconvdata/ibm1156.h: Likewise.
19963 * iconvdata/ibm1157.h: Likewise.
19964 * iconvdata/ibm1158.h: Likewise.
19965 * iconvdata/ibm1160.h: Likewise.
19966 * iconvdata/ibm1161.h: Likewise.
19967 * iconvdata/ibm1162.h: Likewise.
19968 * iconvdata/ibm1163.h: Likewise.
19969 * iconvdata/ibm1164.h: Likewise.
19970 * iconvdata/ibm1166.h: Likewise.
19971 * iconvdata/ibm1167.h: Likewise.
19972 * iconvdata/ibm12712.h: Likewise.
19973 * iconvdata/ibm1390.h: Likewise.
19974 * iconvdata/ibm1399.h: Likewise.
19975 * iconvdata/ibm16804.h: Likewise.
19976 * iconvdata/ibm4517.h: Likewise.
19977 * iconvdata/ibm4899.h: Likewise.
19978 * iconvdata/ibm4909.h: Likewise.
19979 * iconvdata/ibm4971.h: Likewise.
19980 * iconvdata/ibm5347.h: Likewise.
19981 * iconvdata/ibm803.h: Likewise.
19982 * iconvdata/ibm856.h: Likewise.
19983 * iconvdata/ibm901.h: Likewise.
19984 * iconvdata/ibm902.h: Likewise.
19985 * iconvdata/ibm9030.h: Likewise.
19986 * iconvdata/ibm9066.h: Likewise.
19987 * iconvdata/ibm921.h: Likewise.
19988 * iconvdata/ibm922.h: Likewise.
19989 * iconvdata/ibm9448.h: Likewise.
19990 * iconvdata/isiri-3342.h: Likewise.
19991 * iconvdata/jis0201.h: Likewise.
19992 * include/link.h: Likewise.
19993 * include/netdb.h: Likewise.
19994 * inet/check_native.c: Likewise.
19995 * inet/check_pf.c: Likewise.
19996 * inet/getipv4sourcefilter.c: Likewise.
19997 * inet/getnameinfo.c: Likewise.
19998 * inet/getsourcefilter.c: Likewise.
19999 * inet/htonl.c: Likewise.
20000 * inet/setipv4sourcefilter.c: Likewise.
20001 * inet/setsourcefilter.c: Likewise.
20002 * inet/test-inet6_opt.c: Likewise.
20003 * inet/tst-network.c: Likewise.
20004 * locale/C-collate.c: Likewise.
20005 * locale/C-ctype.c: Likewise.
20006 * locale/C-time.c: Likewise.
20007 * locale/C-translit.h: Likewise.
20008 * locale/loadarchive.c: Likewise.
20009 * locale/programs/3level.h: Likewise.
20010 * locale/programs/charmap.c: Likewise.
20011 * locale/programs/charmap.h: Likewise.
20012 * locale/programs/ld-address.c: Likewise.
20013 * locale/programs/ld-collate.c: Likewise.
20014 * locale/programs/ld-ctype.c: Likewise.
20015 * locale/programs/ld-identification.c: Likewise.
20016 * locale/programs/ld-measurement.c: Likewise.
20017 * locale/programs/ld-messages.c: Likewise.
20018 * locale/programs/ld-monetary.c: Likewise.
20019 * locale/programs/ld-name.c: Likewise.
20020 * locale/programs/ld-numeric.c: Likewise.
20021 * locale/programs/ld-paper.c: Likewise.
20022 * locale/programs/ld-telephone.c: Likewise.
20023 * locale/programs/ld-time.c: Likewise.
20024 * locale/programs/linereader.c: Likewise.
20025 * locale/programs/locale.c: Likewise.
20026 * locale/programs/locarchive.c: Likewise.
20027 * locale/programs/locfile.h: Likewise.
20028 * locale/programs/repertoire.c: Likewise.
20029 * locale/programs/simple-hash.c: Likewise.
20030 * locale/programs/simple-hash.h: Likewise.
20031 * malloc/memusage.c: Likewise.
20032 * malloc/memusagestat.c: Likewise.
20033 * nis/nis_defaults.c: Likewise.
20034 * nis/nis_hash.c: Likewise.
20035 * nis/nis_print.c: Likewise.
20036 * nis/nis_xdr.c: Likewise.
20037 * nscd/connections.c: Likewise.
20038 * nscd/hstcache.c: Likewise.
20039 * nscd/nscd_gethst_r.c: Likewise.
20040 * nscd/nscd_getserv_r.c: Likewise.
20041 * nscd/nscd_helper.c: Likewise.
20042 * nscd/servicescache.c: Likewise.
20043 * nss/makedb.c: Likewise.
20044 * nss/nss_db/db-XXX.c: Likewise.
20045 * nss/nss_db/db-initgroups.c: Likewise.
20046 * nss/nss_db/db-netgrp.c: Likewise.
20047 * nss/nss_files/files-network.c: Likewise.
20048 * nss/nss_files/files-parse.c: Likewise.
20049 * posix/bug-regex5.c: Likewise.
20050 * posix/fnmatch_loop.c: Likewise.
20051 * posix/regcomp.c: Likewise.
20052 * posix/regexec.c: Likewise.
20053 * posix/tst-rfc3484-2.c: Likewise.
20054 * posix/tst-rfc3484-3.c: Likewise.
20055 * posix/tst-rfc3484.c: Likewise.
20056 * resolv/nss_dns/dns-canon.c: Likewise.
20057 * resolv/nss_dns/dns-network.c: Likewise.
20058 * resolv/res_init.c: Likewise.
20059 * resolv/res_mkquery.c: Likewise.
20060 * resolv/tst-aton.c: Likewise.
20061 * stdlib/cxa_atexit.c: Likewise.
20062 * stdlib/cxa_finalize.c: Likewise.
20063 * stdlib/gen-fpioconst.c: Likewise.
20064 * stdlib/strtol_l.c: Likewise.
20065 * string/tst-endian.c: Likewise.
20066 * sunrpc/auth_des.c: Likewise.
20067 * sunrpc/clnt_udp.c: Likewise.
20068 * sunrpc/rtime.c: Likewise.
20069 * sunrpc/svcauth_des.c: Likewise.
20070 * sunrpc/xdr.c: Likewise.
20071 * sunrpc/xdr_intXX_t.c: Likewise.
20072 * sunrpc/xdr_rec.c: Likewise.
20073 * sysdeps/generic/ldconfig.h: Likewise.
20074 * sysdeps/generic/ldsodefs.h: Likewise.
20075 * sysdeps/generic/memusage.h: Likewise.
20076 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20077 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20078 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20079 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20080 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20081 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20082 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20083 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20084 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20085 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20086 * sysdeps/posix/getaddrinfo.c: Likewise.
20087 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20088 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20089 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20090 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20091 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20092 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20093 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20094 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20095 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20096 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20097 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20098 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20099 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20100 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20101 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20102 * sysdeps/x86_64/dl-tls.h: Likewise.
20103 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20104 * time/alt_digit.c: Likewise.
20105 * time/era.c: Likewise.
20106 * wcsmbs/tst-c16c32-1.c: Likewise.
20107
8c75f674
JM
201082013-05-16 Joseph Myers <joseph@codesourcery.com>
20109
20110 * math/libm-test.inc (struct test_sincos_data): New type.
20111 (RUN_TEST_LOOP_sincos): New macro.
20112 (sincos_test_data): New variable.
20113 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20114
e6e49e59
RH
201152013-05-16 Richard Henderson <rth@redhat.com>
20116
20117 * math/atest-exp2.c (LIMB64): New macro.
20118 (CONSTSZ): New macro.
20119 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20120 (hexdig): Move ...
20121 (print_mpn_fp): ... to function scope.
20122 (read_mpn_hex): Remove.
20123 (get_log2): Remove.
20124 (exp2_mpn): Use mp_log2.
20125 (main): Use mp_exp1.
20126
15c7c18d
JM
201272013-05-16 Joseph Myers <joseph@codesourcery.com>
20128
105a07df
JM
20129 * math/libm-test.inc: Remove comment about not testing "inexact"
20130 exceptions.
20131 (INEXACT_EXCEPTION): New macro.
20132 (NO_INEXACT_EXCEPTION): Likewise.
20133 (INVALID_EXCEPTION_OK): Update value.
20134 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20135 (OVERFLOW_EXCEPTION_OK): Likewise.
20136 (UNDERFLOW_EXCEPTION_OK): Likewise.
20137 (IGNORE_ZERO_INF_SIGN): Likewise.
20138 (ERRNO_UNCHANGED): Likewise.
20139 (ERRNO_EDOM): Likewise.
20140 (ERRNO_ERANGE): Likewise.
20141 (test_exceptions): Handle testing "inexact" exceptions.
20142 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20143 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20144 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20145 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20146 INEXACT_EXCEPTION.
20147 (rint_towardzero_test_data): Likewise.
20148 (rint_downward_test_data): Likewise.
20149 (rint_upward_test_data): Likewise.
20150
e9eee333
JM
20151 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20152 with OVERFLOW_EXCEPTION.
20153 (exp10_test_data): Likewise.
20154 (exp2_test_data): Likewise.
20155 (expm1_test_data): Likewise.
20156 (lgamma_test_data): Likewise.
20157 (pow_test_data): Likewise.
20158 (tgamma_test_data): Likewise.
20159 (yn_test_data): Remove duplicate test of overflow.
20160
1c38ff73
JM
20161 * math/libm-test.inc (struct test_cc_c_data): New type.
20162 (RUN_TEST_LOOP_cc_c): New macro.
20163 (cpow_test_data): New variable.
20164 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20165
15c7c18d
JM
20166 * math/libm-test.inc (struct test_f_L_data): New type.
20167 (RUN_TEST_LOOP_f_L): New macro.
20168 (llrint_test_data): New variable.
20169 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20170 (llrint_tonearest_test_data): New variable.
20171 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20172 (llrint_towardzero_test_data): New variable.
20173 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20174 (llrint_downward_test_data): New variable.
20175 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20176 (llrint_upward_test_data): New variable.
20177 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20178 (llround_test_data): New variable.
20179 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20180
f137ff13
PC
201812013-05-13 Peter Collingbourne <pcc@google.com>
20182
20183 * math/atest-exp2.c (get_log2): Remove const attribute.
20184
3608cb24
JM
201852013-05-15 Joseph Myers <joseph@codesourcery.com>
20186
20187 * math/libm-test.inc (struct test_f_l_data): New type.
20188 (RUN_TEST_LOOP_f_l): New macro.
20189 (lrint_test_data): New variable.
20190 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20191 (lrint_tonearest_test_data): New variable.
20192 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20193 (lrint_towardzero_test_data): New variable.
20194 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20195 (lrint_downward_test_data): New variable.
20196 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20197 (lrint_upward_test_data): New variable.
20198 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20199 (lround_test_data): New variable.
20200 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20201
39b1f617
PC
202022013-05-15 Peter Collingbourne <pcc@google.com>
20203
1deff3dc
PC
20204 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20205 (EXTRACT_WORDS64) Use where appropriate.
20206 (INSERT_WORDS64) Likewise.
20207
791f3ba0
PC
20208 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20209 constraints with x constraints.
20210 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20211
39b1f617
PC
20212 * malloc/obstack.c (_obstack_compat): Add initializer.
20213
12fba011
EM
202142013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20215
20216 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20217 si_trapno and add si_addr_lsb to _sifields.sigfault.
20218 (si_trapno): Remove macro.
20219 (si_addr_lsb): Define new macro.
20220 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20221
d369f531
JM
202222013-05-15 Joseph Myers <joseph@codesourcery.com>
20223
b861c6c4
JM
20224 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20225 instead of TEST_f_l.
20226 (llrint_test_tonearest): Likewise.
20227 (llrint_test_towardzero): Likewise.
20228 (llrint_test_downward): Likewise.
20229 (llrint_test_upward): Likewise.
20230 (llround_test): Likewise.
20231
7abeee12
JM
20232 * math/libm-test.inc (struct test_f_i_data): Add comment.
20233 (RUN_TEST_LOOP_f_b): New macro.
20234 (RUN_TEST_LOOP_f_b_tg): Likewise.
20235 (finite_test_data): New variable.
20236 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20237 (isfinite_test_data): New variable.
20238 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20239 (isinf_test_data): New variable.
20240 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20241 (isnan_test_data): New variable.
20242 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20243 (isnormal_test_data): New variable.
20244 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20245 (issignaling_test_data): New variable.
20246 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20247 (signbit_test_data): New variable.
20248 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20249
cbe8c4d3
JM
20250 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20251 with INVALID_EXCEPTION.
20252 (acosh_test_data): Likewise.
20253 (asin_test_data): Likewise.
20254 (atanh_test_data): Likewise.
20255 (fmod_test_data): Likewise.
20256 (log_test_data): Likewise.
20257 (log10_test_data): Likewise.
20258 (log2_test_data): Likewise.
20259 (pow_test_data): Likewise.
20260 (sqrt_test_data): Likewise.
20261 (y0_test_data): Likewise.
20262 (y1_test_data): Likewise.
20263 (yn_test_data): Likewise.
20264
5575c0e5
JM
20265 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20266 function contents.
20267
d369f531
JM
20268 * math/libm-test.inc (struct test_ff_i_data): New type.
20269 (RUN_TEST_LOOP_ff_i_tg): New macro.
20270 (isgreater_test_data): New variable.
20271 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20272 (isgreaterequal_test_data): New variable.
20273 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20274 (isless_test_data): New variable.
20275 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20276 (islessequal_test_data): New variable.
20277 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20278 (islessgreater_test_data): New variable.
20279 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20280 (isunordered_test_data): New variable.
20281 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20282
781fd748
DM
202832013-05-14 David S. Miller <davem@davemloft.net>
20284
20285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20286
87aa21df
JM
202872013-05-14 Joseph Myers <joseph@codesourcery.com>
20288
5e908270
JM
20289 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20290
f71172e5
JM
20291 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20292 extra_test to int.
20293 (struct test_f_i_data): Change type of max_ulp to int.
20294
8cfa635a
JM
20295 * math/libm-test.inc (test_ffI_f1_data): New type.
20296 (RUN_TEST_LOOP_ffI_f1): New macro.
20297 (remquo_test_data): New variable.
20298 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20299
2bcb36b2
JM
20300 * setjmp/tst-setjmp-fp.c: New file.
20301 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20302 (link-libm): New variable.
20303 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20304
acbd839a
JM
20305 * math/libm-test.inc (struct test_f_i_data): New type.
20306 (RUN_TEST_LOOP_f_i): New macro.
20307 (RUN_TEST_LOOP_f_i_tg): Likewise.
20308 (fpclassify_test_data): New variable.
20309 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20310 (ilogb_test_data): New variable.
20311 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20312
e414d745
JM
20313 * math/libm-test.inc (scalbln_test): Correct function name in END
20314 call.
20315
d9c2a0fd
JM
20316 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20317 (RUN_TEST_LOOP_fI_f1): New macro.
20318 (frexp_test_data): New variable.
20319 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20320
9dc9095d
JM
20321 * math/libm-test.inc (struct test_fF_f1_data): New type.
20322 (RUN_TEST_LOOP_fF_f1): New macro.
20323 (modf_test_data): New variable.
20324 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20325
87aa21df
JM
20326 * math/libm-test.inc (struct test_f_f1_data): New type.
20327 (RUN_TEST_LOOP_f_f1): New macro.
20328 (gamma_test_data): New variable.
20329 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20330 (lgamma_test_data): New variable.
20331 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20332
141af660
CD
203332013-05-13 Carlos O'Donell <carlos@redhat.com>
20334
20335 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20336 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20337 (main): Comment "tls" pseudo-hwcap.
20338
6d33265c
JM
203392013-05-13 Joseph Myers <joseph@codesourcery.com>
20340
68fc074c
JM
20341 * math/libm-test.inc (struct test_fl_f_data): New type.
20342 (RUN_TEST_LOOP_fl_f): New variable.
20343 (scalbln_test_data): New variable.
20344 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20345
243216e1
JM
20346 * math/libm-test.inc (struct test_fi_f_data): New type.
20347 (RUN_TEST_LOOP_fi_f): New macro.
20348 (ldexp_test_data): New variable.
20349 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20350 (scalbn_test_data): New variable.
20351 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20352
6a1992e2
JM
20353 * math/libm-test.inc (struct test_c_f_data): New type.
20354 (RUN_TEST_LOOP_c_f): New macro.
20355 (cabs_test_data): New variable.
20356 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20357 (carg_test_data): New variable.
20358 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20359 (cimag_test_data): New variable.
20360 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20361 (creal_test_data): New variable.
20362 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20363
0e400df5
JM
20364 * math/libm-test.inc (struct test_if_f_data): New type.
20365 (RUN_TEST_LOOP_if_f): New macro.
20366 (jn_test_data): New variable.
20367 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20368 (yn_test_data): New variable.
20369 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20370
6d33265c
JM
20371 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20372
f98ece5f
AZ
203732013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20374
20375 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20376 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20377
0f7d347b
SP
203782013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20379
43fe811b
SP
20380 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20381 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20382 (bench-deps): Add bench-timing.h.
20383 * benchtests-bench-skeleton.c: Include bench-timing.h.
20384 (main): Use TIMING_* macros instead of clock_gettime.
20385 * benchtests/bench-timing.h: New file.
20386
0f7d347b
SP
20387 [BZ #14582]
20388 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20389 Renamed from _LIB_VERSION.
20390 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20391
601a3a5f
JM
203922013-05-12 Joseph Myers <joseph@codesourcery.com>
20393
4f184d30
JM
20394 * math/libm-test.inc (struct test_fff_f_data): New type.
20395 (RUN_TEST_LOOP_fff_f): New macro.
20396 (fma_test_data): New variable.
20397 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20398 (fma_towardzero_test_data): New variable.
20399 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20400 (fma_downward_test_data): New variable.
20401 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20402 (fma_upward_test_data): New variable.
20403 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20404
08198877
JM
20405 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20406 (struct test_c_c_data): New type.
20407 (RUN_TEST_LOOP_c_c): New macro.
20408 (cacos_test_data): New variable.
20409 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20410 (cacosh_test_data): New variable.
20411 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20412 (casin_test_data): New variable.
20413 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20414 (casinh_test_data): New variable.
20415 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20416 (catan_test_data): New variable.
20417 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20418 (catanh_test_data): New variable.
20419 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20420 (ccos_test_data): New variable.
20421 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20422 (ccosh_test_data): New variable.
20423 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20424 (cexp_test_data): New variable.
20425 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20426 (clog_test_data): New variable.
20427 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20428 (clog10_test_data): New variable.
20429 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20430 (conj_test_data): New variable.
20431 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20432 (cproj_test_data): New variable.
20433 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20434 (csin_test_data): New variable.
20435 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20436 (csinh_test_data): New variable.
20437 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20438 (csqrt_test_data): New variable.
20439 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20440 (ctan_test_data): New variable.
20441 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20442 (ctan_tonearest_test_data): New variable.
20443 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20444 (ctan_towardzero_test_data): New variable.
20445 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20446 (ctan_downward_test_data): New variable.
20447 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20448 (ctan_upward_test_data): New variable.
20449 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20450 (ctanh_test_data): New variable.
20451 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20452 (ctanh_tonearest_test_data): New variable.
20453 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20454 (ctanh_towardzero_test_data): New variable.
20455 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20456 (ctanh_downward_test_data): New variable.
20457 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20458 (ctanh_upward_test_data): New variable.
20459 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20460 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20461 of BUILD_COMPLEX.
20462
601a3a5f
JM
20463 * math/libm-test.inc (struct test_ff_f_data): New type.
20464 (struct test_ff_f_data_nexttoward): Likewise.
20465 (RUN_TEST_LOOP_2_f): New macro.
20466 (RUN_TEST_LOOP_ff_f): Likewise.
20467 (atan2_test_data): New variable.
20468 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20469 (copysign_test_data): New variable.
20470 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20471 (fdim_test_data): New variable.
20472 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20473 (fmax_test_data): New variable.
20474 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20475 (fmin_test_data): New variable.
20476 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20477 (fmod_test_data): New variable.
20478 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20479 (hypot_test_data): New variable.
20480 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20481 (nextafter_test_data): New variable.
20482 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20483 (nexttoward_test_data): New variable.
20484 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20485 (pow_test_data): New variable.
20486 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20487 (pow_tonearest_test_data): New variable.
20488 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20489 (pow_towardzero_test_data): New variable.
20490 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20491 (pow_downward_test_data): New variable.
20492 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20493 (pow_upward_test_data): New variable.
20494 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20495 (remainder_test_data): New variable.
20496 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20497 (scalb_test_data): New variable.
20498 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20499 * sysdeps/i386/fpu/libm-test-ulps: Update.
20500
74c57478
JM
205012013-05-11 Joseph Myers <joseph@codesourcery.com>
20502
8329e4da
JM
20503 * math/libm-test.inc (fma_test): Use max_value instead of local
20504 variable fltmax.
20505 (nextafter_test): Likewise.
20506
74c57478
JM
20507 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20508 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20509 (acos_downward_test_data): New variable.
20510 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20511 (acos_upward_test_data): New variable.
20512 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20513 (acosh_test_data): New variable.
20514 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20515 (asin_test_data): New variable.
20516 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20517 (asin_tonearest_test_data): New variable.
20518 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20519 (asin_towardzero_test_data): New variable.
20520 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20521 (asin_downward_test_data): New variable.
20522 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20523 (asin_upward_test_data): New variable.
20524 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20525 (asinh_test_data): New variable.
20526 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20527 (atan_test_data): New variable.
20528 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20529 (atanh_test_data): New variable.
20530 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20531 (cbrt_test_data): New variable.
20532 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20533 (ceil_test_data): New variable.
20534 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20535 (cos_test_data): New variable.
20536 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20537 (cos_tonearest_test_data): New variable.
20538 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20539 (cos_towardzero_test_data): New variable.
20540 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20541 (cos_downward_test_data): New variable.
20542 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20543 (cos_upward_test_data): New variable.
20544 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20545 (cosh_test_data): New variable.
20546 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20547 (cosh_tonearest_test_data): New variable.
20548 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20549 (cosh_towardzero_test_data): New variable.
20550 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20551 (cosh_downward_test_data): New variable.
20552 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20553 (cosh_upward_test_data): New variable.
20554 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20555 (erf_test_data): New variable.
20556 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20557 (erfc_test_data): New variable.
20558 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20559 (exp_test_data): New variable.
20560 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20561 (exp_tonearest_test_data): New variable.
20562 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20563 (exp_towardzero_test_data): New variable.
20564 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20565 (exp_downward_test_data): New variable.
20566 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20567 (exp_upward_test_data): New variable.
20568 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20569 (exp10_test_data): New variable.
20570 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20571 (exp2_test_data): New variable.
20572 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20573 (expm1_test_data): New variable.
20574 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20575 (fabs_test_data): New variable.
20576 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20577 (floor_test_data): New variable.
20578 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20579 (j0_test_data): New variable.
20580 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20581 (j1_test_data): New variable.
20582 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20583 (log_test_data): New variable.
20584 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20585 (log10_test_data): New variable.
20586 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20587 (log1p_test_data): New variable.
20588 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20589 (log2_test_data): New variable.
20590 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20591 (logb_test_data): New variable.
20592 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20593 (logb_downward_test_data): New variable.
20594 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20595 (nearbyint_test_data): New variable.
20596 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20597 (rint_test_data): New variable.
20598 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20599 (rint_tonearest_test_data): New variable.
20600 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20601 (rint_towardzero_test_data): New variable.
20602 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20603 (rint_downward_test_data): New variable.
20604 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20605 (rint_upward_test_data): New variable.
20606 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20607 (round_test_data): New variable.
20608 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20609 (sin_test_data): New variable.
20610 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20611 (sin_tonearest_test_data): New variable.
20612 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20613 (sin_towardzero_test_data): New variable.
20614 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20615 (sin_downward_test_data): New variable.
20616 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20617 (sin_upward_test_data): New variable.
20618 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20619 (sinh_test_data): New variable.
20620 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20621 (sinh_tonearest_test_data): New variable.
20622 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20623 (sinh_towardzero_test_data): New variable.
20624 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20625 (sinh_downward_test_data): New variable.
20626 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20627 (sinh_upward_test_data): New variable.
20628 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20629 (sqrt_test_data): New variable.
20630 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20631 (tan_test_data): New variable.
20632 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20633 (tan_tonearest_test_data): New variable.
20634 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20635 (tan_towardzero_test_data): New variable.
20636 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20637 (tan_downward_test_data): New variable.
20638 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20639 (tan_upward_test_data): New variable.
20640 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20641 (tanh_test_data): New variable.
20642 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20643 (tgamma_test_data): New variable.
20644 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20645 (trunc_test_data): New variable.
20646 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20647 (y0_test_data): New variable.
20648 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20649 (y1_test_data): New variable.
20650 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20651 (significand_test_data): New variable.
20652 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20653
7187d844
CG
206542013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20655
20656 [BZ #12387]
20657 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20658
f63fae73
PT
206592013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20660
20661 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20662
8a67a4b3
AJ
206632013-05-10 Andreas Jaeger <aj@suse.de>
20664
20665 [BZ #15448]
20666 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20667 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20668
51df539d
JM
206692013-05-10 Joseph Myers <joseph@codesourcery.com>
20670
20671 * math/gen-libm-test.pl (adjust_arg): New function.
20672 (special_functions): Handle generating output in both functions
20673 and arrays.
20674 (parse_args): Likewise.
20675 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20676 $in_func argument to parse_args.
20677 * math/libm-test.inc (struct test_f_f_data): New type.
20678 (IF_ROUND_INIT_): New macro.
20679 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20680 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20681 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20682 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20683 (ROUND_RESTORE_): Likewise.
20684 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20685 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20686 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20687 (ROUND_RESTORE_FE_UPWARD): Likewise.
20688 (RUN_TEST_LOOP_f_f): New macro.
20689 (acos_test_data): New variable.
20690 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20691 (acos_tonearest_test_data): New variable.
20692 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20693
5c637fe5
SP
206942013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20695
20696 * benchtests/bench-skeleton.c (startup): Fix coding style.
20697
ab2b9461
JM
206982013-05-10 Joseph Myers <joseph@codesourcery.com>
20699
20700 [BZ #6809]
20701 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20702 negative infinity argument.
20703 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20704 negative infinity argument.
20705 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20706 negative infinity argument.
20707 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20708 domain errors.
20709
4c0fe6fe
FW
207102013-05-10 Florian Weimer <fweimer@redhat.com>
20711
20712 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20713 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20714 * iconv/iconv_prog.c (main): Likewise.
20715 * locale/programs/charmap-dir.c (charmap_readdir)
20716 (fopen_uncompressed): Likewise.
20717 * locale/programs/locfile.c (siblings_uncached)
20718 (write_locale_data): Use lstat64 instead of lstat.
20719 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20720 stat.
20721
a3375d29
AJ
207222013-05-10 Andreas Jaeger <aj@suse.de>
20723
20724 [BZ #15395]
20725 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20726 localization.
20727 Include <locale.h>.
20728
36129722
CD
207292013-05-09 Carlos O'Donell <carlos@redhat.com>
20730
20731 * elf/dl-close.c (_dl_close_worker): Add comments.
20732
faa7f811
JM
207332013-05-09 Joseph Myers <joseph@codesourcery.com>
20734
ed41ffef
JM
20735 [BZ #15359]
20736 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20737 high part of pi/2.
20738 (__ieee754_rem_pio2l): Update comments.
20739
d0213cd0
JM
20740 [BZ #15429]
20741 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20742 high part of pi/2.
20743 (__ieee754_rem_pio2l): Update comments.
20744
0d3e777a
JM
20745 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20746 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20747
24f56066
JM
20748 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20749 M_PI_4l.
20750
faa7f811
JM
20751 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20752 (M_PI_34_LOG10El): Likewise.
20753 (M_PI2_LOG10El): Likewise.
20754 (M_PI4_LOG10El): Likewise.
20755 (M_PI_LOG10El): Likewise.
20756
e9a5e0fd
AZ
207572013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20758
20759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20760
d8cd06db
JM
207612013-05-08 Joseph Myers <joseph@codesourcery.com>
20762
a0d9f9d7
JM
20763 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20764 (MINUS_ZERO_INIT): Likewise.
20765 (PLUS_INFTY_INIT): Likewise.
20766 (MINUS_INFTY_INIT): Likewise.
20767 (QNAN_VALUE_INIT): Likewise.
20768 (MAX_VALUE_INIT): Likewise.
20769 (MIN_VALUE_INIT): Likewise.
20770 (MIN_SUBNORM_VALUE_INIT): Likewise.
20771 (plus_zero): Initialize with PLUS_ZERO_INIT.
20772 (minus_zero): Initialize with MINUS_ZERO_INIT.
20773 (plus_infty): Initialize with PLUS_INFTY_INIT.
20774 (minus_infty): Initialize with MINUS_INFTY_INIT.
20775 (qnan_value): Initialize with QNAN_VALUE_INIT.
20776 (max_value): Initialize with MAX_VALUE_INIT.
20777 (min_value): Initialize with MIN_VALUE_INIT.
20778 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20779
ae08db3b
JM
20780 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20781 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20782 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20783 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20784
f44bf14a
JM
20785 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20786 (RUN_TEST_2_f): Likewise.
20787 (RUN_TEST_ff_f): Likewise.
20788 (RUN_TEST_fi_f): Likewise.
20789 (RUN_TEST_fl_f): Likewise.
20790 (RUN_TEST_fff_f): Likewise.
20791 (RUN_TEST_c_f): Likewise.
20792 (RUN_TEST_f_f1): Likewise.
20793 (RUN_TEST_fF_f1): Likewise.
20794 (RUN_TEST_fI_f1): Likewise.
20795 (RUN_TEST_ffI_f1): Likewise.
20796 (RUN_TEST_c_c): Likewise.
20797 (RUN_TEST_cc_c): Likewise.
20798 (RUN_TEST_f_i): Likewise.
20799 (RUN_TEST_f_i_tg): Likewise.
20800 (RUN_TEST_ff_i_tg): Likewise.
20801 (RUN_TEST_f_b): Likewise.
20802 (RUN_TEST_f_b_tg): Likewise.
20803 (RUN_TEST_f_l): Likewise.
20804 (RUN_TEST_f_L): Likewise.
20805 (RUN_TEST_sincos): Likewise.
20806 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20807 whether to show exceptions. Do not include ");\n" in return
20808 value.
20809 (special_functions): Output call to RUN_TEST_sincos instead of
20810 check_float calls. Update calls to new_test.
20811 (parse_args): Output call to single RUN_TEST_* macro instead of
20812 check_* calls and other assignments. Update calls to new_test.
20813
d8cd06db
JM
20814 [BZ #2546]
20815 [BZ #2560]
20816 [BZ #5159]
20817 [BZ #15426]
20818 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20819 input to result for tgamma overflow.
20820 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20821 (gamma_coeff): New variable.
20822 (NCOEFF): New macro.
20823 (gamma_positive): New function.
20824 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20825 underflow here. Use gamma_positive instead of exp (lgamma) for
20826 other arguments.
20827 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20828 (gamma_coeff): New variable.
20829 (NCOEFF): New macro.
20830 (gammaf_positive): New function.
20831 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20832 underflow here. Use gamma_positive instead of exp (lgamma) for
20833 other arguments.
20834 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20835 (gamma_coeff): New variable.
20836 (NCOEFF): New macro.
20837 (gammal_positive): New function.
20838 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20839 underflow here. Use gamma_positive instead of exp (lgamma) for
20840 other arguments.
20841 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20842 (gamma_coeff): New variable.
20843 (NCOEFF): New macro.
20844 (gammal_positive): New function.
20845 (__ieee754_gammal_r): Handle positive infinity, overflow and
20846 underflow here. Handle NaN the same as positive infinity. Remove
20847 check x < 0xffffffff for negative integers. Use gamma_positive
20848 instead of exp (lgamma) for other arguments.
20849 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20850 (gamma_coeff): New variable.
20851 (NCOEFF): New macro.
20852 (gammal_positive): New function.
20853 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20854 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20855 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20856 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20857 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20858 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20859 * sysdeps/generic/math_private.h (__gamma_productf): New
20860 prototype.
20861 (__gamma_product): Likewise.
20862 (__gamma_productl): Likewise.
20863 * math/Makefile (libm-calls): Add gamma_product.
20864 * math/libm-test.inc (tgamma_test): Add more tests.
20865 * sysdeps/i386/fpu/libm-test-ulps: Update.
20866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20867
bb7cf681
OB
208682013-05-08 Ondřej Bílka <neleai@seznam.cz>
20869
20870 * benchtests/bench-skeleton.c (main): Preheat CPU.
20871
ba853947
AJ
208722013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20873
20874 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20875
8347c74c
RM
208762013-05-07 Roland McGrath <roland@hack.frob.com>
20877
20878 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20879 and _dl_skip_args_internal.
20880
e8dd4791
CD
208812013-05-07 Carlos O'Donell <carlos@redhat.com>
20882
20883 * manual/message.texi (Message Translation): Talk about users.
20884 Message to key mapping impacts design.
20885
c7405830
RM
208862013-05-06 Roland McGrath <roland@hack.frob.com>
20887
a9173057
RM
20888 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20889
976e2f03
RM
20890 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20891
9723ffc5
RM
20892 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20893 * sysdeps/wordsize-64/glob64.c: ... here.
20894
962e6658
RM
20895 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20896 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20897 New macros.
20898
ee586a6d
RM
20899 * debug/getlogin_r_chk.c: Moved to ...
20900 * login/getlogin_r_chk.c: ... here.
20901 * debug/Makefile (routines): Move getlogin_r_chk to ...
20902 * login/Makefile (routines): ... here.
20903 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20904 * login/Versions (libc: GLIBC_2.4): ... here.
20905
355f9165
RM
20906 * io/poll.c (__poll): Renamed from poll.
20907 Add libc_hidden_def.
20908 (poll): Define as weak alias.
20909
bd9ffde6
RM
20910 * debug/ptsname_r_chk.c: Moved to ...
20911 * login/ptsname_r_chk.c: ... here.
20912 * debug/Makefile (routines): Move ptsname_r_chk to ...
20913 * login/Makefile (routines): ... here.
20914 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20915 * login/Versions (libc: GLIBC_2.4): ... here.
20916
8fb16a04
RM
20917 * posix/getlogin.c: Moved to ...
20918 * login/getlogin.c: ... here.
20919 * posix/getlogin_r.c: Moved to ...
20920 * login/getlogin_r.c: ... here.
20921 * posix/getlogin_r.c: Moved to ...
20922 * login/getlogin_r.c: ... here.
20923 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20924 * login/Makefile (routines): ... here.
20925 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20926 * login/Versions (libc: GLIBC_2.0): ... here.
20927
b99b892f
RM
20928 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20929 (setrlimit): Define as weak alias.
20930
c7405830
RM
20931 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20932 Call __ names for open, ftruncate, and close.
20933 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20934 (truncate): Define as weak alias.
20935
5bf96de5
JM
209362013-05-06 Joseph Myers <joseph@codesourcery.com>
20937
9ea3513c
JM
20938 * math/gen-libm-test.pl (parse_args): Initialize x before each
20939 test of frexp, modf and remquo.
20940
5bf96de5
JM
20941 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20942 test signgam value.
20943
16e616a7
AZ
209442013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20945
20946 [BZ #15418]
20947 [BZ #15419]
20948 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20949 internal tests.
20950 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20951
d5e82754
RM
209522013-05-06 Roland McGrath <roland@hack.frob.com>
20953
20954 * elf/dl-writev.h: New file.
20955 * elf/dl-misc.c: Include it.
20956 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20957 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20958
a7548d41
JM
209592013-05-04 Joseph Myers <joseph@codesourcery.com>
20960
b7dab1e4
JM
20961 * math/libm-test.inc (noXFails): Remove variable.
20962 (noXPasses): Likewise.
20963 (BUILD_COMPLEX_INT): Remove macro.
20964 (print_screen): Remove xfail argument.
20965 (print_screen_max_error): Likewise.
20966 (update_stats): Likewise.
20967 (print_max_error): Likewise. Update calls to other affected
20968 functions.
20969 (print_complex_max_error): Likewise.
20970 (test_single_exception): Update calls to print_screen.
20971 (test_single_errno): Likewise.
20972 (check_float_internal): Remove xfail argument. Update calls to
20973 other affected functions.
20974 (check_float): Likewise.
20975 (check_complex): Likewise.
20976 (check_int): Likewise.
20977 (check_long): Likewise.
20978 (check_bool): Likewise.
20979 (check_longlong): Likewise.
20980 (main): Don't print noXFails and noXPasses.
20981 * math/gen-libm-test.pl (top level): Don't mention expected
20982 failure handling in comment.
20983 (new_test): Don't handle expected failures.
20984 (parse_args): Don't mention expected failure handling in comment.
20985 (generate_testfile): Don't handle expected failures.
20986 (parse_ulps): Likewise.
20987 (print_ulps_file): Likewise.
20988 (get_failure): Remove function.
20989 (output_test): Don't handle expected failures.
20990 * make/README.libm-test: Don't mention expected failure handling.
20991
a7548d41
JM
20992 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20993 (minus_zero): Likewise.
20994 (plus_infty): Likewise.
20995 (minus_infty): Likewise.
20996 (qnan_value): Likewise.
20997 (max_value): Likewise.
20998 (min_value): Likewise.
20999 (min_subnorm_value): Likewise.
21000 (initialize): Do not initialize those variables dynamically.
21001
60bfd54c
RM
210022013-05-03 Roland McGrath <roland@hack.frob.com>
21003
cc0e6ed8
RM
21004 * io/open.c (__open_2): Moved to ...
21005 * io/open_2.c: ... this new file.
21006 * io/open64.c (__open64_2): Moved to ...
21007 * io/open64_2.c: ... this new file.
21008 * io/openat.c (__openat_2): Moved to ...
21009 * io/openat_2.c: ... this new file.
21010 * io/openat64.c (__openat64_2): Moved to ...
21011 * io/openat64_2.c: ... this new file.
21012 * io/Makefile (routines): Add them.
21013 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21014 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21015 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21016 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21017 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21018 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21019 (__openat64): Add hidden_ver.
21020 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21021 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21022
60bfd54c
RM
21023 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21024 Separately conditionalize setting of GLRO(dl_sysinfo) so
21025 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21026 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21027
83e7640f
AZ
210282013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21029
21030 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21031 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21032 definition.
21033 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21034 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21035 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21036 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21037 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21038
d5dc2af3
JM
210392013-05-03 Joseph Myers <joseph@codesourcery.com>
21040
c31a5b1e
JM
21041 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21042 test signgam value.
21043
d5dc2af3
JM
21044 * math/libm-test.inc (hypot_test): Do not use
21045 IGNORE_ZERO_INF_SIGN.
21046
164fd39d
AJ
210472013-05-03 Andreas Jaeger <aj@suse.de>
21048
21049 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21050 Linux 3.9.
21051 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21052 (PF_MAX): Adjust for VSOCK change.
21053
8237f48c
AZ
210542013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21055
21056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21057
9df02941
CD
210582013-05-02 Carlos O'Donell <carlos@redhat.com>
21059
21060 [BZ #15264]
21061 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21062 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21063 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21064
d422395e
DM
210652013-05-02 David S. Miller <davem@davemloft.net>
21066
21067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21068
a07c5731
OB
210692013-05-01 Ondřej Bílka <neleai@seznam.cz>
21070
21071 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21072
1324e37f
RM
210732013-05-01 Roland McGrath <roland@hack.frob.com>
21074
21075 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21076
0695940b
RS
210772013-05-01 Richard Smith <richard@metafoo.co.uk>
21078
bb5f27ad 21079 [BZ #14952]
0695940b
RS
21080 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21081 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21082 Use __attribute__ ((__gnu_inline__)).
21083 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21084 Don't use __attribute__ ((__gnu_inline__)).
21085
10de07f5
JM
210862013-05-01 Joseph Myers <joseph@codesourcery.com>
21087
21088 [BZ #15423]
21089 * math/s_catan.c (__catan): Handle small real or imaginary part of
21090 input specially to avoid spurious underflow.
21091 * math/s_catanf.c (__catanf): Likewise.
21092 * math/s_catanh.c (__catanh): Likewise.
21093 * math/s_catanhf.c (__catanhf): Likewise.
21094 * math/s_catanhl.c (__catanhl): Likewise.
21095 * math/s_catanl.c (__catanl): Likewise.
21096 * math/libm-test.inc (catan_test): Add more tests.
21097 (catanh_test): Likewise.
21098 * sysdeps/i386/fpu/libm-test-ulps: Update.
21099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21100
cb4d5414
AZ
211012013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21102
21103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21104
caf84319
JM
211052013-04-30 Joseph Myers <joseph@codesourcery.com>
21106
21107 [BZ #15416]
21108 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21109 accurately for denominator in atan2.
21110 * math/s_catanf.c (__catanf): Likewise.
21111 * math/s_catanh.c (__catanh): Likewise.
21112 * math/s_catanhf.c (__catanhf): Likewise.
21113 * math/s_catanhl.c (__catanhl): Likewise.
21114 * math/s_catanl.c (__catanl): Likewise.
21115 * math/libm-test.inc (catan_test): Add more tests.
21116 (catanh_test): Likewise.
21117 * sysdeps/i386/fpu/libm-test-ulps: Update.
21118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21119
d569c6ee
SP
211202013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21121
6dbe713d
SP
21122 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21123
f0ee064b
SP
21124 * benchtests/Makefile (bench): Remove slow benchmarks.
21125 * benchtests/atan-inputs: Add slow benchmark inputs.
21126 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21127 (BENCH_FUNC): Accept variant offset.
21128 (VARIANT): Define.
21129 * benchtests/bench-skeleton.c (main): Run benchmark for each
21130 variant.
21131 * benchtests/cos-inputs: Add slow benchmark inputs.
21132 * benchtests/exp-inputs: Likewise.
21133 * benchtests/pow-inputs: Likewise.
21134 * benchtests/sin-inputs: Likewise.
21135 * benchtests/slowatan-inputs: Remove.
21136 * benchtests/slowatan.c: Remove.
21137 * benchtests/slowcos-inputs: Remove.
21138 * benchtests/slowcos.c: Remove.
21139 * benchtests/slowexp-inputs: Remove.
21140 * benchtests/slowexp.c: Remove.
21141 * benchtests/slowpow-inputs: Remove.
21142 * benchtests/slowpow.c: Remove.
21143 * benchtests/slowsin-inputs: Remove.
21144 * benchtests/slowsin.c: Remove.
21145 * benchtests/slowtan-inputs: Remove.
21146 * benchtests/slowtan.c: Remove.
21147 * benchtests/tan-inputs: Add slow benchmark inputs.
21148 * scripts/bench.pl: Parse comments and directives.
21149
d569c6ee
SP
21150 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21151 in CPPFLAGS.
21152 ($(objpfx)bench-%.c): Remove *-ITER.
21153 * benchtests/bench-modf.c: Remove definition of ITER.
21154 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21155 (main): Loop for DURATION seconds instead of fixed number of
21156 iterations.
21157 * scripts/bench.pl: Don't expect iterations in parameters.
21158
a6a242fe
RM
211592013-04-29 Roland McGrath <roland@hack.frob.com>
21160
21161 * io/fchdir.c (__fchdir): Renamed from fchdir.
21162 (fchdir): Define as weak alias.
21163
f2da7793
JM
211642013-04-29 Joseph Myers <joseph@codesourcery.com>
21165
21166 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21167 (ERRNO_EDOM): Likewise.
21168 (ERRNO_ERANGE): Likewise.
21169 (noErrnoTests): New variable.
21170 (init_max_error): Set errno to 0.
21171 (test_single_errno): New function.
21172 (test_errno): Likewise.
21173 (check_float_internal): Call test_errno. Set errno to 0.
21174 (check_complex): Refer to errno tests in comment.
21175 (check_int): Call test_errno. Set errno to 0.
21176 (check_long): Likewise.
21177 (check_bool): Likewise.
21178 (check_longlong): Likewise.
21179 (cos_test): Use ERRNO_* flags for errno tests instead of
21180 check_int.
21181 (expm1_test): Likewise.
21182 (fmod_test): Likewise.
21183 (ilogb_test): Likewise.
21184 (lgamma_test): Likewise.
21185 (pow_test): Likewise.
21186 (remainder_test): Likewise.
21187 (sin_test): Likewise.
21188 (tan_test): Likewise.
21189 (yn_test): Likewise.
21190 (initialize): Set errno to 0.
21191 (main): Print number of errno tests.
21192 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21193
b1a36ceb
AJ
211942013-04-29 Andreas Jaeger <aj@suse.de>
21195
c3ed8088
AJ
21196 [BZ #15084]
21197 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21198 and RES_USEVC.
21199
f1a24198
AJ
21200 [BZ #15085]
21201 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21202 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21203 unimplemented.
21204
9ce3b2cb
AJ
21205 [BZ #15380]
21206 * stdlib/random.c (__initstate): Return NULL if
21207 __initstate fails.
21208
f1a24198 21209 [BZ #15086]
b1a36ceb
AJ
21210 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21211 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21212 RES_SNGLKUPREOP.
21213
7e7b6f36
AZ
212142013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21215
21216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21217
4d14f449
JM
212182013-04-29 Joseph Myers <joseph@codesourcery.com>
21219
21220 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21221 of individual tests.
21222 (casin_test): Likewise.
21223 (casinh_test): Likewise.
21224
5b4217d7
JM
212252013-04-27 Joseph Myers <joseph@codesourcery.com>
21226
21227 [BZ #15409]
21228 * math/s_catan.c (__catan): Handle arguments with large real or
21229 imaginary part separately without squaring.
21230 * math/s_catanf.c (__catanf): Likewise.
21231 * math/s_catanh.c (__catanh): Likewise.
21232 * math/s_catanhf.c (__catanhf): Likewise.
21233 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21234 and redefine.
21235 (__catanhl): Handle arguments with large real or imaginary part
21236 separately without squaring.
21237 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21238 and redefine.
21239 (__catanl): Handle arguments with large real or imaginary part
21240 separately without squaring.
21241 * math/libm-test.inc (catan_test): Add more tests.
21242 (catanh_test): Likewise.
21243 * sysdeps/i386/fpu/libm-test-ulps: Update.
21244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21245
4220c3ef
AJ
212462013-04-27 Andreas Jaeger <aj@suse.de>
21247
21248 [BZ #15007]
21249 * stdlib/stdlib.h: Update guards for qecvt.
21250 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21251 <stdlib.h>.
21252
4721b2d1
AM
212532013-04-27 Allan McRae <allan@archlinux.org>
21254
21255 * sysdeps/i386/fpu/libm-test-ulps: Update.
21256
f0302940
JM
212572013-04-26 Joseph Myers <joseph@codesourcery.com>
21258
9457fd95
JM
21259 [BZ #15406]
21260 * math/s_catan.c: Include <float.h>.
21261 (__catan): Ensure underflow exception occurs for underflowed
21262 result.
21263 * math/s_catanf.c: Include <float.h>.
21264 (__catanf): Ensure underflow exception occurs for underflowed
21265 result.
21266 * math/s_catanh.c: Include <float.h>.
21267 (__catanh): Ensure underflow exception occurs for underflowed
21268 result.
21269 * math/s_catanhf.c: Include <float.h>.
21270 (__catanhf): Ensure underflow exception occurs for underflowed
21271 result.
21272 * math/s_catanhl.c: Include <float.h>.
21273 (__catanhl): Ensure underflow exception occurs for underflowed
21274 result.
21275 * math/s_catanl.c: Include <float.h>.
21276 (__catanl): Ensure underflow exception occurs for underflowed
21277 result.
21278 * math/libm-test.inc (catan_test): Add more tests.
21279 (catanh_test): Likewise.
21280
f0302940
JM
21281 [BZ #15405]
21282 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21283 underflowed result.
21284 * math/s_ccoshf.c (__ccoshf): Likewise.
21285 * math/s_ccoshl.c (__ccoshl): Likewise.
21286 * math/s_csin.c (__csin): Likewise.
21287 * math/s_csinf.c (__csinf): Likewise.
21288 * math/s_csinh.c (__csinh): Likewise.
21289 * math/s_csinhf.c (__csinhf): Likewise.
21290 * math/s_csinhl.c (__csinhl): Likewise.
21291 * math/s_csinl.c (__csinl): Likewise.
21292 * math/libm-test.inc (ccos_test): Add more tests.
21293 (ccosh_test): Likewise.
21294 (csin_test): Likewise.
21295 (csinh_test): Likewise.
21296
aa630f59
AZ
212972013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21298
21299 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21300 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21301 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21302 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21303 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21304 powerpc/power5+/fpu folders.
21305 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21306
21307
1b835983
MT
213082013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21309
21310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21311
73709b26
JM
213122013-04-25 Joseph Myers <joseph@codesourcery.com>
21313
21314 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21315 additions to variable.
21316 [$(config-machine) = x86_64] (modules-names): Likewise.
21317 ($(objpfx)tst-audit3): Remove dependency.
21318 ($(objpfx)tst-audit3.out): Likewise.
21319 ($(objpfx)tst-audit4): Likewise.
21320 ($(objpfx)tst-audit4.out): Likewise.
21321 ($(objpfx)tst-audit5): Likewise.
21322 ($(objpfx)tst-audit5.out): Likewise.
21323 ($(objpfx)tst-audit6): Likewise.
21324 ($(objpfx)tst-audit6.out): Likewise.
21325 ($(objpfx)tst-audit7): Likewise.
21326 ($(objpfx)tst-audit7.out): Likewise.
21327 (tst-audit3-ENV): Remove variable.
21328 (tst-audit4-ENV): Likewise.
21329 (tst-audit5-ENV): Likewise.
21330 (tst-audit6-ENV): Likewise.
21331 (tst-audit7-ENV): Likewise.
21332 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21333 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21334 addition to variable.
21335 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21336 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21337 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21338 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21339 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21340 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21341 tst-audit3, tst-audit4 and tst-audit5.
21342 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21343 tst-audit6 and tst-audit7.
21344 [$(subdir) = elf] (modules-names): Add audit modules for those
21345 tests.
21346 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21347 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21348 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21349 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21350 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21351 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21352 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21353 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21354 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21355 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21356 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21357 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21358 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21359 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21360 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21361 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21362 Likewise.
21363 [$(subdir) = elf && $(config-cflags-avx) = yes]
21364 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21365 [$(subdir) = elf && $(config-cflags-avx) = yes]
21366 (CFLAGS-tst-auditmod4a.c): Likewise.
21367 [$(subdir) = elf && $(config-cflags-avx) = yes]
21368 (CFLAGS-tst-auditmod4b.c): Likewise.
21369 [$(subdir) = elf && $(config-cflags-avx) = yes]
21370 (CFLAGS-tst-auditmod6b.c): Likewise.
21371 [$(subdir) = elf && $(config-cflags-avx) = yes]
21372 (CFLAGS-tst-auditmod6c.c): Likewise.
21373 [$(subdir) = elf && $(config-cflags-avx) = yes]
21374 (CFLAGS-tst-auditmod7b.c): Likewise.
21375 * elf/tst-audit3.c: Move to ...
21376 * sysdeps/x86_64/tst-audit3.c: ... here.
21377 * elf/tst-audit4.c: Move to ...
21378 * sysdeps/x86_64/tst-audit4.c: ... here.
21379 * elf/tst-audit5.c: Move to ...
21380 * sysdeps/x86_64/tst-audit5.c: ... here.
21381 * elf/tst-audit6.c: Move to ...
21382 * sysdeps/x86_64/tst-audit6.c: ... here.
21383 * elf/tst-audit7.c: Move to ...
21384 * sysdeps/x86_64/tst-audit7.c: ... here.
21385 * elf/tst-auditmod3a.c: Move to ...
21386 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21387 * elf/tst-auditmod3b.c: Move to ...
21388 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21389 * elf/tst-auditmod4a.c: Move to ...
21390 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21391 * elf/tst-auditmod4b.c: Move to ...
21392 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21393 * elf/tst-auditmod5a.c: Move to ...
21394 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21395 * elf/tst-auditmod5b.c: Move to ...
21396 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21397 * elf/tst-auditmod6a.c: Move to ...
21398 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21399 * elf/tst-auditmod6b.c: Move to ...
21400 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21401 * elf/tst-auditmod6c.c: Move to ...
21402 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21403 * elf/tst-auditmod7a.c: Move to ...
21404 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21405 * elf/tst-auditmod7b.c: Move to ...
21406 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21407
1ef74943
PP
214082013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21409
21410 [BZ #15366]
21411 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21412 define unconditionally.
21413 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21414 define unconditionally.
21415 (INT8_C, INT16_C, etc.): Likewise.
21416
93fd48c5
MR
214172013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21418
ae9552cf
MR
21419 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21420 __ehdr_start with hidden visibility.
21421
93fd48c5
MR
21422 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21423
418601aa
CD
214242013-04-24 Carlos O'Donell <carlos@redhat.com>
21425
21426 * math/libm-test.inc (cos_test): Use accurate hex constants.
21427 (sincost_test): Likewise.
21428
2f38fbfe
JM
214292013-04-24 Joseph Myers <joseph@codesourcery.com>
21430
5e221800
JM
21431 * math/libm-test.inc (catan_test): Add more tests.
21432 (catanh_test): Likewise.
21433
77f143fd
JM
21434 * math/s_catanf.c (__catanf): Use suffixed floating-point
21435 constants.
21436 * math/s_catanhf.c (__catanhf): Likewise.
21437 * math/s_catanhl.c (__catanhl): Likewise.
21438 * math/s_catanl.c (__catanl): Likewise.
21439
2f38fbfe
JM
21440 [BZ #15394]
21441 * math/s_catan.c (__catan): Calculate imaginary part of result
21442 with log1p not log unless computing log of number close to 0.
21443 * math/s_catanf.c (__catanf): Likewise.
21444 * math/s_catanl.c (__catanl): Likewise.
21445 * math/s_catanh.c (__catanh): Calculate real part of result with
21446 log1p not log unless computing log of number close to 0.
21447 * math/s_catanhf.c (__catanhf): Likewise.
21448 * math/s_catanhl.c (__catanhl): Likewise.
21449 * math/libm-test.inc (catan_test): Add more tests.
21450 (catanh_test): Likewise.
21451 * sysdeps/i386/fpu/libm-test-ulps: Update.
21452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21453
45d69176
SP
214542013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21455
21456 * benchtests/Makefile: Mention files in which fast and slow
21457 paths of math functions are implemented.
21458
87f51853
RM
214592013-04-23 Roland McGrath <roland@hack.frob.com>
21460
21461 * sysdeps/posix/timespec_get.c: New file.
21462
3c026539
AZ
214632013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21464
21465 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21466 POWER.
21467 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21468 for POWER.
21469 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21470 powerpc/power5/fpu folders.
21471 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21472 * benchtests/Makefile: Add modf testcase.
21473 * benchtests/bench-modf.c: New file: Benchmark test for mo
21474
ff491d14
SP
214752013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21476
21477 [BZ #14888]
21478 * time/Makefile (tests): Add tst-strptime-whitespace.
21479 * time/strptime_l.c (get_number): Use ISSPACE.
21480 (__strptime_internal): Likewise.
21481 * time/tst-strptime-whitespace.c: New test case.
21482
7ed3f4e8
AS
214832013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21484
21485 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21486 member.
21487 (_nss_files_init): Set it here.
21488
5c95f7b6
HC
214892013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21490
21491 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21492 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21493 unsigned.
21494
d34c9158
JBG
214952013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21496
21497 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21498
2169712d
SP
214992013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21500
21501 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21502 size just once.
21503
29c5de99
DM
215042013-04-21 David S. Miller <davem@davemloft.net>
21505
21506 * po/ru.po: Update Russion translation from translation project.
21507
ccdad15d
AC
215082013-04-17 Adam Conrad <adconrad@0c3.net>
21509
21510 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21511 and setfsgid.
21512
0f122b8d
CD
215132013-04-17 Carlos O'Donell <carlos@redhat.com>
21514
5c5b07da 21515 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21516 * configure: Regenerate.
5c5b07da 21517 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21518 Add example to error message.
21519 * sysdeps/i386/configure: Regenerate.
21520
037714dd
SP
215212013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21522
21523 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21524 slowtan.
21525 * benchtests/cos-inputs: New file.
21526 * benchtests/slowcos-inputs: New file.
21527 * benchtests/slowcos.c: New file.
21528 * benchtests/slowtan-inputs: New file.
21529 * benchtests/slowtan.c: New file.
21530 * benchtests/tan-inputs: New file.
21531
e913141d
RM
215322013-04-16 Roland McGrath <roland@hack.frob.com>
21533
21534 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21535 considered kosher.
21536
a2964074
SP
215372013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21538
4856bcd2
SP
21539 * benchtests/Makefile: Include cppflags-iterator.mk to add
21540 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21541
a2964074
SP
21542 * Makefile.in (bench-clean): New target.
21543 * benchtests/Makefile (bench-clean): Likewise.
21544
9fbf9aca
DH
215452013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21546
21547 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21548
207d1e2a
TS
215492013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21550
21551 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21552
306dfba9
AS
215532013-04-15 Andreas Schwab <schwab@suse.de>
21554
21555 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21556 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21557 * nscd/pwdcache.c (cache_addpw): Likewise.
21558 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21559 more than recsize.
21560
206a6699
SP
215612013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21562
21563 * benchtests/Makefile (bench): Write all output to
21564 bench-out.tmp together.
21565
0582f6b3
AS
215662013-04-15 Andreas Schwab <schwab@suse.de>
21567
21568 * nscd/nscd.c (main): Don't fork again after closing files.
21569
acb4325f
SP
215702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21571
5cb26d0a
SP
21572 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21573
acb4325f
SP
21574 * benchtests/Rules (bench-deps): Collect dependencies into a
21575 single variable. Add Makefile to dependencies.
21576 ($(objpfx)bench-%.c): Depend on bench-deps.
21577
47792506
RM
215782013-04-12 Roland McGrath <roland@hack.frob.com>
21579 Xavier Roche <roche+kml2@exalead.com>
21580
21581 [BZ #15361]
21582 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21583 just that it's a file descriptor.
21584 * manual/llio.texi (Synchronizing AIO Operations): Update description
21585 for EBADF error from aio_fsync.
21586
8fc1bee5
SP
215872013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21588
21589 * Rules (bench): Move target definition...
21590 * benchtests/Makefile: ... here.
21591
aba5e333
CD
215922013-04-11 Carlos O'Donell <carlos@redhat.com>
21593
21594 * math/libm-test.inc (cos_test): Fix PI/2 test.
21595 (sincos_test): Likewise.
21596 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21597 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21598
273cdee8
AS
215992013-04-11 Andreas Schwab <schwab@suse.de>
21600
6ecec3b6
AS
21601 [BZ #13988]
21602 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21603 accept exponent character only when digits were seen.
21604 * stdio-common/Makefile (tests): Add bug26.
21605 * stdio-common/bug26.c: New file.
21606
273cdee8
AS
21607 [BZ #14293]
21608 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21609 non-freeable.
21610
8da491f5
SP
216112013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21612
01dc6df9
SP
21613 * Makeconfig (rtld-prefix): Define built linker prefix.
21614 * Rules (run-bench): Use it.
21615 * math/Makefile (run-regen-ulps): Likewise.
21616
8da491f5
SP
21617 * Rules (bench): Remove eval.
21618
abe7f530
SP
216192013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21620 Roland McGrath <roland@hack.frob.com>
21621 Ondrej Bilka <neleai@seznam.cz>
21622
21623 [BZ #15346]
21624 * time/getdate.c: Include ctype.h and alloca.h.
21625 (__getdate_r): Trim leading and trailing spaces of input.
21626 * time/tst-getdate.c (tests): Add tests with leading and
21627 trailing spaces.
21628
61c23e62
RM
216292013-04-08 Roland McGrath <roland@hack.frob.com>
21630
21631 [BZ #14280]
21632 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21633 when computing value.
21634
7208a313
CD
216352013-04-06 Carlos O'Donell <carlos@redhat.com>
21636
085b2d41
CD
21637 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21638 Use testrun.sh to run libm tests.
21639
7208a313
CD
21640 [BZ #15309]
21641 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21642
872c0acd
MM
216432013-04-06 Marko Myllynen <myllynen@redhat.com>
21644
21645 [BZ #15264]
21646 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21647
26510bdd
CD
216482013-04-06 Carlos O'Donell <carlos@redhat.com>
21649
21650 * Makefile.in (regen-ulps): New target.
21651 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21652 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21653 [ifneq (no,$(PERL)] (regen-ulps): New target.
21654 [ifeq (no,$(PERL)] (regen-ulps): New target.
21655 * math/libm-test.inc (ulps_file_name): Define.
21656 (output_dir): New variable.
21657 (options): Add "output-dir" option.
21658 (parse_opt): Handle 'o' case.
21659 (main): If output_dir is non-NULL use it as a prefix
21660 otherwise use "".
21661 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21662
a01f19c8
CD
216632013-04-06 Carlos O'Donell <carlos@redhat.com>
21664
21665 [BZ #10060, #10062]
21666 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21667 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21668 fail configure if __sync_val_compare_and_swap is not inlined.
21669 * sysdeps/i386/configure: Regenerate.
21670 * configure.in: Build for i686 when configured for i386.
21671 * configure: Regenerate.
21672 * README: Remove i386 reference.
21673
b7a329a5
CD
216742013-04-06 Carlos O'Donell <carlos@redhat.com>
21675
21676 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21677 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21678
bf0f50df
TS
216792013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21680
ee091edf
TS
21681 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21682 (lmsnanval): New variables.
21683 (F): Add conversion tests.
21684 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21685 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21686
a8b792d6
TS
21687 * stdio-common/tstdiomisc.c (F): Properly collect individual
21688 tests' results.
21689
a1cbf437
TS
21690 [BZ #14686, #15336]
21691 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21692 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21693 Instead, use input NaN values or generate a qNaN by arithmetic
21694 operation. Also fix bugs to comply with the standard.
21695 * math/libm-test.inc (remainder_test): Add more tests.
21696
8b43a0c9
TS
21697 [BZ #15335, #15342]
21698 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21699 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21700 input NaN values or generate a qNaN by arithmetic operation.
21701
d91da4ce
TS
21702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21703 unreachable code.
21704
bf0f50df
TS
21705 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21706 definitions.
21707
05e166c8
JM
217082013-04-03 Joseph Myers <joseph@codesourcery.com>
21709
21710 [BZ #14478]
21711 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21712 underflowed result.
21713 * math/s_cexpf.c (__cexpf): Likewise.
21714 * math/s_cexpl.c (__cexpl): Likewise.
21715 * math/libm-test.inc (cexp_test): Add more tests.
21716
1cef1b19
AS
217172013-04-03 Andreas Schwab <schwab@suse.de>
21718
21719 [BZ #15330]
21720 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21721 order arrays from heap if bigger than alloca cutoff.
21722
74d87055
TS
217232013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21724
21725 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21726 (SNAN_TESTS_double): Refer to GCC PR56831.
21727 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21728 GCC PR56828.
21729
d755bba4
SP
217302013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21731
90d5d5bb
SP
21732 * Rules (bench): Move bench.out after the run is complete.
21733
73e0cd5d
SP
21734 * Rules (bench): Echo currently running benchmark.
21735
64aabd4b
SP
21736 * benchtests/Makefile (bench): Add atan and slowatan.
21737 * benchtests/atan-inputs: New file.
21738 * benchtests/slowatan-inputs: New file.
21739 * benchtests/slowatan.c: New file.
21740
c871eccd
SP
21741 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21742 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21743 its value.
21744
d755bba4
SP
21745 [BZ #15305]
21746 * sysdeps/unix/sysv/linux/kernel-features.h
21747 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21748 __ASSUME_XFS_RESTRICTED_CHOWN.
21749 * sysdeps/unix/sysv/linux/pathconf.c
21750 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21751 Save and restore errno.
21752
52ce4860
JM
217532013-04-02 Joseph Myers <joseph@codesourcery.com>
21754
21755 [BZ #15327]
21756 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21757 arguments using __kernel_casinh.
21758 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21759 arguments using __kernel_casinhf.
21760 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21761 arguments using __kernel_casinhl.
21762 * math/libm-test.inc (cacosh_test): Add more tests.
21763 * sysdeps/i386/fpu/libm-test-ulps: Update.
21764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21765
81f311c2
SP
217662013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21767
e7906a47
SP
21768 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21769 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21770
92e3664b
SP
21771 * bench/Makefile (bench): Add sin and slowsin.
21772 * benchtests/sin-inputs: New file.
21773 * benchtests/slowsin-inputs: New file.
21774 * benchtests/slowsin.c: New file.
21775
81f311c2
SP
21776 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21777 (bench): Add slowexp and slowpow.
21778 (exp-ITER): Increase iterations.
21779 (pow-ITER): Likewise.
21780 * benchtests/exp-inputs: Change input.
21781 * benchtests/pow-inputs: Likewise.
21782 * benchtests/slowexp-inputs: New file.
21783 * benchtests/slowexp.c: New file.
21784 * benchtests/slowpow-inputs: New file.
21785 * benchtests/slowpow.c: New file.
21786
ab0f1aa9
AZ
217872013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21788
21789 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21790 instructions.
21791 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21792 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21793 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21794 * benchtests/Makefile: Add rint benchtest.
21795 * benchtests/rint-inputs: Input for rint benchtest.
21796
57267616
TS
217972013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21798
21799 * Versions.def (libm): Add GLIBC_2.18.
21800 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21801 hidden libm prototypes.
21802 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21803 * math/Makefile (libm-calls): Add s_issignaling.
21804 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21805 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21806 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21807 declaration.
21808 * math/math.h [__USE_GNU] (issignaling): New macro.
21809 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21810 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21811 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21812 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21814 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21815 * manual/arith.texi (issignaling): New section.
21816 * manual/libm-err-tab.pl (@all_functions): Update comment.
21817 * math/gen-libm-test.pl (parse_args): Apply special handling for
21818 issignaling.
21819 * math/libm-test.inc (print_float, issignaling_test): New
21820 functions.
21821 (check_float_internal): Add issignaling checks.
21822 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21823 default definition.
21824 * sysdeps/powerpc/math-tests.h: New file.
21825 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21826 tests.
21827 * math/test-snan.c (TEST_FUNC): Likewise.
21828
6142896d
DM
218292013-03-30 David S. Miller <davem@davemloft.net>
21830
21831 * po/de.po: Update from translation team.
21832
ccc8cadf
JM
218332013-03-30 Joseph Myers <joseph@codesourcery.com>
21834
21835 [BZ #10357]
21836 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21837 imaginary part less than 1.0 and real part less than 0.5
21838 specially.
21839 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21840 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21841 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21842 (cacos_test): Add more tests.
21843 (casin_test): Likewise.
21844 (casinh_test): Likewise.
21845 * sysdeps/i386/fpu/libm-test-ulps: Update.
21846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21847
0f6a8d4b
SP
218482013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21849
0d1029de
SP
21850 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21851 ONE with its value.
21852
c2d94018
SP
21853 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21854 (__pow_mp): Replace ONE and MONE with their values.
21855 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21856 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21857 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21858 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21859 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21860 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21861
27ec37f1
SP
21862 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21863
a64d7e0e
SP
21864 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21865 (__pow_mp): Replace ZERO and MZERO with their values.
21866 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21867 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21868 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21869 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21870 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21871 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21872 (__sqr): Likewise.
21873
d26dd3eb
SP
21874 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21875
0f6a8d4b
SP
21876 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21877
e57b0c61
RM
218782013-03-28 Roland McGrath <roland@hack.frob.com>
21879
21880 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21881 Declare with __attribute__ ((weak)).
21882 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21883 Call __call_tls_dtors only if it's not NULL.
21884
356b3480
RM
218852013-03-28 Roland McGrath <roland@hack.frob.com>
21886
288f7d79
RM
21887 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21888 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21889 magic __ehdr_start linker symbol if it's defined.
21890 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21891 them up here if it was already done.
21892
dc0a0263
RM
21893 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21894 (_dl_aux_init): Use const in cast when setting it.
21895 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21896 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21897 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21898
3d3436ae
RM
21899 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21900 Declare them here.
21901 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21902 * csu/libc-tls.c: Nor here.
21903 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21904
356b3480
RM
21905 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21906 (__libc_message): Never call vsyslog.
21907
b0f1246a
AM
219082013-03-28 Alan Modra <amodra@gmail.com>
21909
21910 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21911 Define as empty.
21912 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21913 Likewise.
21914
fbbe2b9a
AZ
219152013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21916
21917 [BZ #15214]
21918 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21919 underflow.
21920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21921
1728ab37
SP
219222013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21923
7a86be6e
SP
21924 [BZ #15304]
21925 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21926 Don't add gid passed as argument.
21927
1728ab37
SP
21928 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21929
3a7182a1
JM
219302013-03-27 Joseph Myers <joseph@codesourcery.com>
21931
21932 [BZ #15307]
21933 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21934 imaginary part between 1.0 and 1.5 and real part less than 0.5
21935 specially.
21936 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21937 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21938 * math/libm-test.inc (cacos_test): Add more tests.
21939 (casin_test): Likewise.
21940 (casinh_test): Likewise.
21941 * sysdeps/i386/fpu/libm-test-ulps: Update.
21942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21943
6f2e90e7
SP
219442013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21945
5739f705
SP
21946 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21947 constants.
21948 (norm): Likewise.
21949 (denorm): Likewise.
21950 (__dbl_mp): Likewise.
21951 (add_magnitudes): Likewise.
21952 (sub_magnitudes): Likewise.
21953 (__add): Likewise.
21954 (__sub): Likewise.
21955 (__mul): Likewise.
21956 (__sqr): Likewise.
21957 (__inv): Likewise.
21958 (__dvd): Likewise.
21959
e375e83d
SP
21960 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21961 commented code.
21962 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21963 (__dubcos): Likewise.
21964 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21965 (__ieee754_acos): Likewise.
21966 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21967 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21968 (__exp1): Likewise.
21969 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21970 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21971 (log1): Likewise.
21972 (my_log2): Likewise.
21973 (checkint): Likewise.
21974 * sysdeps/ieee754/dbl-64/e_remainder.c
21975 (__ieee754_remainder): Likewise.
21976 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21977 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21978 (bsloww): Likewise.
21979 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21980
6f2e90e7
SP
21981 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21982 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21983 MANTISSA_STORE_T to store computations on mantissa. Use
21984 macros for rounding and division.
21985 (denorm): Likewise.
21986 (__dbl_mp): Likewise.
21987 (add_magnitudes): Likewise.
21988 (sub_magnitudes): Likewise.
21989 (__mul): Likewise.
21990 (__sqr): Likewise.
21991 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21992 powers of two in terms of TWOPOW macro.
21993 (mp_no): Make type of mantissa as MANTISSA_T.
21994 [!RADIXI]: Define RADIXI.
21995 [!TWO52]: Define TWO52.
21996 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21997
fce14d4e
AZ
219982013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21999
22000 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22001 llroundl symbol when building for PPC32.
22002
9ad027fb
MW
220032013-03-24 Mark H Weaver <mhw@netris.org>
22004
22005 * manual/arith.texi (Normalization Functions): Fix prototypes for
22006 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22007
e42a38dd
AZ
220082013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22009
22010 [BZ #13889]
22011 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22012 high value to check if expl overflow.
22013 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22014 to check for underflow and overflow.
22015 * math/libm-test.inc: Add exp test.
22016
2e0fb521
DL
220172013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22018
22019 [BZ #11120]
22020 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22021 with NOT_IN_libc.
22022
b5784d95
AZ
220232013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22024
22025 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22026 symbol.
22027
5aa4a1a1
TS
220282013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22029
bdef0be7
TS
22030 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22031 wrap blocks consisting of several statements.
22032
5aa4a1a1
TS
22033 * sysdeps/generic/math-tests.h: New file.
22034 * sysdeps/i386/fpu/math-tests.h: Likewise.
22035 * math/test-snan.c: Include it.
22036 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22037
98c48fe5
JM
220382013-03-21 Joseph Myers <joseph@codesourcery.com>
22039
22040 [BZ #15285]
22041 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22042 (__ieee754_j0l): Do not improve calculations using cos of twice
22043 input for inputs above LDBL_MAX / 2.0L.
22044 (__ieee754_y0l): Likewise.
22045 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22046 (__ieee754_j1l): Do not improve calculations using cos of twice
22047 input for inputs above LDBL_MAX / 2.0L.
22048 (__ieee754_y1l): Likewise.
22049 * math/libm-test.inc (j0_test): Add another test.
22050 (j1_test): Likewise.
22051 (y0_test): Likewise.
22052 (y1_test): Likewise.
22053 * sysdeps/i386/fpu/libm-test-ulps: Update.
22054
3775a8bc
SP
220552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22056
22057 * Rules ($(objpfx)bench-%.c): Include code from a C source
22058 file.
22059
0a1b2ae6
JM
220602013-03-21 Joseph Myers <joseph@codesourcery.com>
22061
22062 [BZ #15287]
22063 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22064 imaginary part 1.0 and real part less than 0.5 specially.
22065 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22066 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22067 * math/libm-test.inc (cacos_test): Add more tests.
22068 (casin_test): Likewise.
22069 (casinh_test): Likewise.
22070 * sysdeps/i386/fpu/libm-test-ulps: Update.
22071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22072
b33d4ce4
SP
220732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22074
22075 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22076 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22077
bef0b507
JM
220782013-03-20 Joseph Myers <joseph@codesourcery.com>
22079
22080 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22081 * config.make.in (config-cflags-sse4): Remove variable.
22082 (config-cflags-avx): Likewise.
22083 (config-cflags-sse2avx): Likewise.
22084 (config-cflags-novzeroupper): Likewise.
22085 (config-asflags-i686): Likewise.
22086 (have-mfma4): Likewise.
22087 (have-as-vis3): Likewise.
22088 (MIG): Likewise.
22089 * configure.in (MIG): Do not AC_SUBST.
22090 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22091 (libc_cv_cc_sse4): Do not AC_SUBST.
22092 (libc_cv_cc_avx): Likewise.
22093 (libc_cv_cc_sse2avx): Likewise.
22094 (libc_cv_cc_novzeroupper): Likewise.
22095 (libc_cv_cc_fma4): Likewise.
22096 (libc_cv_as_i686): Likewise.
22097 (libc_cv_sparc_as_vis3): Likewise.
22098 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22099 LIBC_CONFIG_VAR.
22100 (config-asflags-i686): Likewise.
22101 (config-cflags-avx): Likewise.
22102 (config-cflags-sse2avx): Likewise.
22103 (have-mfma4): Likewise.
22104 (config-cflags-novzeroupper): Likewise.
22105 * sysdeps/mach/configure.in (MIG): Likewise.
22106 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22107 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22108 LIBC_CONFIG_VAR.
22109 (config-cflags-avx): Likewise.
22110 (config-cflags-sse2avx): Likewise.
22111 (have-mfma4): Likewise.
22112 (config-cflags-novzeroupper): Likewise.
22113 * configure: Regenerated.
22114 * sysdeps/i386/configure: Likewise.
22115 * sysdeps/mach/configure: Likewise.
22116 * sysdeps/sparc/configure: Likewise.
22117 * sysdeps/x86_64/configure: Likewise.
22118
912cc4b3
RM
221192013-03-20 Roland McGrath <roland@hack.frob.com>
22120
22121 [BZ #14812]
22122 * locale/programs/localedef.c (options): Put N_ translation marker
22123 on argument names, not just descriptions.
22124
04eed2b0
MS
221252013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22126
22127 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22128
a065ceff
OB
221292013-03-20 Ondřej Bílka <neleai@seznam.cz>
22130
9bb2a810 22131 [BZ #14176]
a065ceff
OB
22132 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22133
a600e5ce
RM
221342013-03-19 Roland McGrath <roland@hack.frob.com>
22135
22136 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22137 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22138 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22139 [!BEFORE_ABORT] (before_abort): New function.
22140 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22141 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22142 (writev_for_fatal): New function.
22143 (WRITEV_FOR_FATAL): New macro; call that.
22144 (backtrace_and_maps): New function.
22145 (BEFORE_ABORT): New macro; call that.
22146 (struct str_list): Type removed.
22147 (__libc_message, __libc_fatal): Functions removed.
22148 Include <sysdeps/posix/libc_fatal.c> instead.
22149
6b18bea6
JM
221502013-03-19 Joseph Myers <joseph@codesourcery.com>
22151
22152 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22153 constants.
22154 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22155 double constants.
22156
aaa8cb4b
AS
221572013-03-19 Andreas Schwab <schwab@suse.de>
22158
44673770
AS
22159 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22160 * sysdeps/gnu/configure: Regenerate.
22161
aaa8cb4b
AS
22162 * configure.in: Substitute libc_cv_rtlddir.
22163 * configure: Regenerate.
22164 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22165 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22166 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22167 * elf/Makefile (install-others, CFLAGS-interp.c)
22168 (ldso_install, common-ldd-rewrite): Likewise.
22169 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22170 $(inst_slibdir)/$(rtld-installed-name).
22171 * scripts/rellns-sh: Add -p option.
22172 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22173 for source.
22174
d3cfc668
SP
221752013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22176
22177 * manual/nptl.texi: Renamed to ...
22178 * manual/threads.texi: ... this.
22179 * manual/Makefile (chapters): Update.
22180
0e2b9cdd
RM
221812013-03-18 Roland McGrath <roland@hack.frob.com>
22182
22183 [BZ #14812]
22184 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22185 on argument names, not just descriptions.
0e2b9cdd
RM
22186 * malloc/memusagestat.c (options): Likewise.
22187 * nss/getent.c (options): Likewise.
63270c24
RM
22188
221892013-03-18 Benno Schulenberg <bensberg@justemail.net>
22190
22191 [BZ #14812]
22192 * iconv/iconv_prog.c (options): Put N_ translation marker
22193 on argument names, not just descriptions.
22194 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 22195
b2e1393c
OB
221962013-03-18 Ondrej Bilka <neleai@seznam.cz>
22197
22198 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22199 implementation which is faster on all x86_64 architectures.
22200 Tested on AMD, Intel Nehalem, SNB, IVB.
22201 * sysdeps/x86_64/strnlen.S: Likewise.
22202
22203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22204 Remove all multiarch strlen and strnlen versions.
22205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22206 Remove strlen and strnlen related parts.
22207
22208 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22209 Inline strlen part.
22210 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22211
22212 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22213 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22214 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22215 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22216 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22217 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22218
ec4ff04d
CD
222192013-03-17 Carlos O'Donell <carlos@redhat.com>
22220
22221 * manual/memory.texi (Malloc Tunable Parameters):
22222 Sort parameters alphabetically. Add comments for missing entries.
22223
cd18e90a
DM
222242013-03-17 David S. Miller <davem@davemloft.net>
22225
22226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22227
2a185d32
JM
222282013-03-16 Joseph Myers <joseph@codesourcery.com>
22229
d2f9799e
JM
22230 [BZ #15283]
22231 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22232 for arguments at most half maximum finite value.
22233 * math/libm-test.inc (j0_test): Add more tests.
22234 (j1_test): Likewise.
22235 (y0_test): Likewise.
22236 (y1_test): Likewise.
22237 * sysdeps/i386/fpu/libm-test-ulps: Update.
22238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22239
2a185d32
JM
22240 [BZ #14155]
22241 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22242 1 / x and functions P and Q for arguments above 0x1p256L.
22243 (__ieee754_y0l): Likewise.
22244 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22245 (__ieee754_y1l): Likewise.
22246 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22247 (j1_test): Likewise.
22248 (y0_test): Likewise.
22249 (y1_test): Likewise.
22250
6cbec759
TS
222512013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22252
22253 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22254 variable.
22255
bc16e260
RM
222562013-03-15 Roland McGrath <roland@hack.frob.com>
22257
aefc9b8c
RM
22258 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22259 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22260 zero since it's initialized to EXEC_PAGESIZE.
22261
bc16e260
RM
22262 * sysdeps/unix/sysv/linux/ldsodefs.h
22263 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22264 * sysdeps/generic/ldsodefs.h: ... here.
22265
a57da955
TS
222662013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22267
af00a34d
TS
22268 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22269
495ded2c
TS
22270 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22271 math/test-snan.c.
22272 * math/test-snan.c: Renamed from
22273 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22274 * math/Makefile (tests): Add test-snan.
22275 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22276 test-powerpc-snan.
22277
777b0332
TS
22278 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22279 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22280 functions.
22281 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22282 __builtin_nan family of functions.
22283 * math/libm-test.inc (initialize): Initialize qnan_value with
22284 __builtin_nan family of functions.
22285 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22286 Remove variables.
22287 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22288 Remove functions.
22289 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22290 storage class. Initialize qNaN_var and sNaN_var with
22291 __builtin_nan and __builtin_nans families of functions,
22292 respectively.
22293
64d063b8
TS
22294 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22295 (sqrt_test): Remove duplicate test with qNaN input.
22296 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22297 (round_test, signbit_test, significand_test): Note missing +/-Inf
22298 as well as qNaN tests.
22299
67e971f1
TS
22300 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22301 qNaN_var. Fix a few strings, too.
22302 * math/libm-test.inc (nan_value): Rename to qnan_value.
22303 * math/gen-libm-test.pl (%beautify): Adjust to that.
22304 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22305 * math/test-misc.c (main): Likewise.
22306 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22307 to __qnan_bytes, and __qnan_union, respectively.
22308 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22309 Likewise.
22310 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22311 and lqnanval, respectively.
22312 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22313 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22314 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22315 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22316
64487e12
TS
22317 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22318 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22319 doubles.
22320
e015e27b
TS
22321 * math/test-misc.c (main): Fix copy'n'pastos.
22322 * misc/tst-efgcvt.c (special): Likewise.
22323
a57da955
TS
22324 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22325 Remove declarations.
22326
1e380345
SP
223272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22328
22329 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22330 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22331 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22332 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22333
ef26eece
AZ
223342013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22335
22336 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22337 macro to return vdso values correctly in IFUNC implementations.
22338 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22339 Optimization by using IFUNC.
22340
8cfdb7e0
SP
223412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22342 Richard Henderson <rth@redhat.com>
22343 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22344
22345 * Makefile.in (bench): New target.
22346 * NEWS: Mention the benchmark framework.
22347 * Rules (bench): Likewise.
22348 (binaries-bench): Generate binaries for functions to
22349 benchmark.
22350 * benchtests/Makefile: New makefile for benchmark tests.
22351 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22352 programs.
22353 * benchtests/exp-inputs: New input file for EXP function.
22354 * benchtests/pow-inputs: New input file for POW function.
22355 * scripts/bench.pl: New script to generate source files for
22356 benchmark programs.
22357
bcda9880
SP
223582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22359
d22ca8cd
SP
22360 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22361 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22362 computations on mantissa. Use macros for rounding and
22363 division.
22364 (denorm): Likewise.
22365 (__dbl_mp): Likewise.
22366 (add_magnitudes): Likewise.
22367 (sub_magnitudes): Likewise.
22368 (__mul): Likewise.
22369 (__sqr): Likewise.
22370 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22371 powers of two in terms of TWOPOW macro.
22372 (mp_no): Make type of mantissa as MANTISSA_T.
22373 [!RADIXI]: Define RADIXI.
22374 [!TWO52]: Define TWO52.
22375 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22376
bcda9880
SP
22377 * manual/nptl.texi (cindex): Modify threads to pthreads.
22378
06d5adfb
JM
223792013-03-15 Joseph Myers <joseph@codesourcery.com>
22380
22381 * sysdeps/x86_64/preconfigure: Regenerated.
22382
41c7328e
JM
223832013-03-14 Joseph Myers <joseph@codesourcery.com>
22384
22385 [BZ #14155]
22386 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22387 0x1p28 and above.
22388 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22389 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22390 0x1p28 and above.
22391 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22392 * math/libm-test.inc (j0_test): Do not allow one spurious
22393 underflow exception.
22394 (y1_test): Likewise.
22395
e25cfa60
SP
223962013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22397
0409959c
SP
22398 * manual/Makefile (chapters): Add nptl.
22399 * manual/debug.texi (Debugging Support): Add link to Threads
22400 chapter.
22401 * manual/nptl.texi: New file.
22402
e25cfa60
SP
22403 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22404
58a1335e
PB
224052013-03-14 Petr Baudis <pasky@ucw.cz>
22406
22407 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22408 for non-NULL pointer before the memory validity test. Pointed
22409 out by Holger Brunck <holger.brunck@keymile.com>.
22410
9dc7c64f
AS
224112013-03-13 Andreas Schwab <schwab@suse.de>
22412
22413 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22414 instead of .os.
22415
54206aa6
JM
224162013-03-13 Joseph Myers <joseph@codesourcery.com>
22417
22418 * timezone/zic.c: Update from tzcode 2013b.
22419
e98cdb38
CD
224202013-03-12 Carlos O'Donell <carlos@redhat.com>
22421
22422 * manual/install.texi (Configuring and compiling):
22423 Mention i686 and i586.
22424 * INSTALL: Regenerate.
22425
9967e003
RM
224262013-03-12 Roland McGrath <roland@hack.frob.com>
22427
22428 * sysdeps/init_array/elf-init.c: New file.
22429 * csu/elf-init.c
22430 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22431 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22432
22433 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22434 __gmon_start__ as global, but as static with a .preinit_array pointer.
22435 * sysdeps/init_array/gmon-start.c: New file. Use that.
22436 * sysdeps/init_array/crti.S: New file, empty except for comments.
22437 * sysdeps/init_array/crtn.S: Likewise.
22438
e6b5a293 224392013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22440
22441 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22442 definining bcopy.
80f844c9
OB
22443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22444 Remove Prefer_SSE_for_memop.
22445 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22446 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22447 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22449 memset-x86-64.
80f844c9 22450 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22451 Remove bzero, memset ifunc support.
80f844c9
OB
22452 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22453 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22454 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22455 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22456
fb6b0fcb
AS
224572013-03-11 Andreas Schwab <schwab@suse.de>
22458
22459 [BZ #15234]
22460 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22461 by SHLIB_COMPAT.
22462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22463 (GLIBC_2.16): Remove pthread_atfork.
22464
3e6bd4b1
PP
224652013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22466
22467 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22468 (ptestcases.h): Likewise.
22469
222d7f00
RM
224702013-03-08 Roland McGrath <roland@hack.frob.com>
22471
22472 * Makeconfig ($(common-objpfx)config.status): Depend on
22473 sysdeps/*/preconfigure{,.in} too.
22474
1ba4f030
JM
224752013-03-08 Joseph Myers <joseph@codesourcery.com>
22476
a222d91a
JM
22477 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22478 (__free_hook): Use void * instead of __malloc_ptr_t.
22479 (__malloc_hook): Likewise.
22480 (__realloc_hook): Likewise.
22481 (__memalign_hook): Likewise.
22482 (__after_morecore_hook): Likewise.
22483 * malloc/arena.c (save_malloc_hook): Likewise.
22484 (save_free_hook): Likewise.
22485 * malloc/hooks.c (malloc_hook_ini): Likewise.
22486 (realloc_hook_ini): Likewise.
22487 (memalign_hook_ini): Likewise.
22488 * malloc/malloc.c (malloc_hook_ini): Likewise.
22489 (realloc_hook_ini): Likewise.
22490 (memalign_hook_ini): Likewise.
22491 (__free_hook): Likewise.
22492 (__malloc_hook): Likewise.
22493 (__realloc_hook): Likewise.
22494 (__memalign_hook): Likewise.
22495 (__libc_malloc): Likewise.
22496 (__libc_free): Likewise.
22497 (__libc_realloc): Likewise.
22498 (__libc_memalign): Likewise.
22499 (__libc_valloc): Likewise.
22500 (__libc_pvalloc): Likewise.
22501 (__libc_calloc): Likewise.
22502 (__posix_memalign): Likewise.
22503 * malloc/morecore.c (__sbrk): Likewise.
22504 (__default_morecore): Likewise.
22505
5cc45e10
JM
22506 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22507
dd54b864
JM
22508 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22509 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22510 __malloc_ptrdiff_t.
22511
1ba4f030
JM
22512 * malloc/malloc.h (__malloc_size_t): Remove macro.
22513 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22514 __malloc_size_t.
22515 (old_memalign_hook): Likewise.
22516 (old_realloc_hook): Likewise.
22517 (struct hdr): Likewise.
22518 (flood): Likewise.
22519 (mallochook): Likewise.
22520 (memalignhook): Likewise.
22521 (reallochook): Likewise.
22522 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22523 (tr_old_realloc_hook): Likewise.
22524 (tr_old_memalign_hook): Likewise.
22525 (tr_mallochook): Likewise.
22526 (tr_reallochook): Likewise.
22527 (tr_memalignhook): Likewise.
22528
edf66e57
AZ
225292013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22530
22531 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22532 default_ldbl_pack and using as default implementation.
22533 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22534 implementation.
22535 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22536 redundant definition.
22537 (ldbl_insert_mantissa): Likewise.
22538 (ldbl_canonicalize): Likewise.
22539 (ldbl_nearbyint): Likewise.
22540 (ldbl_pack): Rename to ldbl_pack_ppc.
22541 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22542 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22543 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22544
6d9145d8
SP
225452013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22546
22547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22548 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22549 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22550 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22552 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22553 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22554 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22555
4dd4e157
AJ
225562013-03-07 Andreas Jaeger <aj@suse.de>
22557
22558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22559 bits/mman-linux.h.
22560
adbb8027
SP
225612013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22562
ce544b5b
SP
22563 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22564 Include mpa.h and declare __MPEXP.
22565 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22566 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22567 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22568 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22569 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22570 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22571 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22572
4cc149fd
SP
22573 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22574 (__slowpow): Use long double EXPL and LOGL functions to
22575 compute POW.
22576 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22577 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22578 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22579 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22580 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22581 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22582
e6ebd4a7
SP
22583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22584 intermediate variable to calculate exponent.
22585 (__sqr): Likewise.
22586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22587 Likewise.
22588 (__sqr): Likewise.
22589
82a9811d
SP
22590 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22591 [!NO__SQR]: Define __sqr.
22592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22593 and NO__SQR. Remove all code except __mul and __sqr. Include
22594 sysdeps/ieee754/dbl-64/mpa.c.
22595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22596
adbb8027
SP
22597 [BZ #12723]
22598 * posix/Makefile (tests): Add tst-pathconf.
22599 * posix/tst-pathconf.c: New test case.
22600 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22601 _PC_PIPE_BUF.
22602 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22603
39120df9
PF
226042013-03-06 Patsy Franklin <pfrankli@redhat.com>
22605
22606 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22607
67525cb8
AJ
226082013-03-06 Andreas Jaeger <aj@suse.de>
22609
664a9ce4
AJ
22610 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22611 definition via __MAP_ANONYMOUS.
22612
8e39047d
AJ
22613 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22614 it's not part of Linux headers.
22615
67525cb8
AJ
22616 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22617 (MAP_HUGE_MASK): Define.
22618
22619 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22620 Define.
22621 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22622 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22623 Define.
22624 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22625 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22626 Define.
22627 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22628 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22629 Define.
22630 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22631
22632 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22633 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22634 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22635 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22636 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22637 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22638
22639 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22640 Handle f2fs.
22641
22642 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22643 Handle f2fs and efivarfs.
22644
22645 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22646 f2fs.
22647
22648 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22649 (EFIVARFS_MAGIC): Add.
22650 (F2FS_LINK_MAX): Add.
22651
e1b42695
PP
226522013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22653
22654 * stdio-common/vfprintf.c: Replace __builtin_expect with
22655 __glibc_unlikely.
22656
2d67d91a
JM
226572013-03-06 Joseph Myers <joseph@codesourcery.com>
22658
22659 [BZ #13550]
22660 * sysdeps/generic/bp-sym.h: Remove file.
22661 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22662 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22663 <bp-sym.h> and <bp-asm.h>.
22664 (__longjmp): Don't use BP_SYM.
22665 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22666 and <bp-asm.h>.
22667 (memcpy): Don't use BP_SYM.
22668 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22669 <bp-sym.h> and <bp-asm.h>.
22670 (memcpy): Don't use BP_SYM.
22671 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22672 <bp-asm.h>.
22673 (memcpy): Don't use BP_SYM.
22674 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22675 <bp-asm.h>.
22676 (memset): Don't use BP_SYM.
22677 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22678 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22679 (__bzero): Don't use BP_SYM.
22680 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22681 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22682 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22683 <bp-sym.h> and <bp-asm.h>.
22684 (memcmp): Don't use BP_SYM. Remove comment about bounded
22685 pointers.
22686 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22687 <bp-sym.h> and <bp-asm.h>.
22688 (memcpy): Don't use BP_SYM.
22689 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22690 <bp-sym.h> and <bp-asm.h>.
22691 (memset): Don't use BP_SYM.
22692 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22693 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22694 (__bzero): Don't use BP_SYM.
22695 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22696 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22697 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22698 <bp-sym.h> and <bp-asm.h>.
22699 (strncmp): Don't use BP_SYM. Remove comment about bounded
22700 pointers.
22701 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22702 <bp-sym.h> and <bp-asm.h>.
22703 (memcpy): Don't use BP_SYM.
22704 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22705 <bp-sym.h> and <bp-asm.h>.
22706 (memset): Don't use BP_SYM.
22707 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22708 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22709 (__bzero): Don't use BP_SYM.
22710 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22711 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22712 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22713 <bp-sym.h> and <bp-asm.h>.
22714 (__memchr): Don't use BP_SYM.
22715 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22716 <bp-sym.h> and <bp-asm.h>.
22717 (memcmp): Don't use BP_SYM. Remove comment about bounded
22718 pointers.
22719 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22720 <bp-sym.h> and <bp-asm.h>.
22721 (memcpy): Don't use BP_SYM.
22722 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22723 <bp-sym.h> and <bp-asm.h>.
22724 (__mempcpy): Don't use BP_SYM.
22725 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22726 <bp-sym.h> and <bp-asm.h>.
22727 (__memrchr): Don't use BP_SYM.
22728 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22729 <bp-sym.h> and <bp-asm.h>.
22730 (memset): Don't use BP_SYM.
22731 (__bzero): Likewise.
22732 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22733 <bp-sym.h> and <bp-asm.h>.
22734 (__rawmemchr): Don't use BP_SYM.
22735 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22736 <bp-sym.h> and <bp-asm.h>.
22737 (__STRCMP): Don't use BP_SYM.
22738 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22739 <bp-sym.h> and <bp-asm.h>.
22740 (strchr): Don't use BP_SYM.
22741 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22742 <bp-sym.h> and <bp-asm.h>.
22743 (__strchrnul): Don't use BP_SYM.
22744 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22745 <bp-sym.h> and <bp-asm.h>.
22746 (strlen): Don't use BP_SYM.
22747 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22748 <bp-sym.h> and <bp-asm.h>.
22749 (strncmp): Don't use BP_SYM. Remove comment about bounded
22750 pointers.
22751 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22752 <bp-sym.h> and <bp-asm.h>.
22753 (__strnlen): Don't use BP_SYM.
22754 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22755 <bp-sym.h> and <bp-asm.h>.
22756 (__GI__setjmp): Don't use BP_SYM.
22757 (_setjmp): Likewise.
22758 (__sigsetjmp): Likewise.
22759 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22760 (L(start_addresses)): Don't use BP_SYM.
22761 (_start): Likewise.
22762 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22763 <bp-asm.h>.
22764 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22765 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22766 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22767 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22768 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22769 <bp-asm.h>.
22770 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22771 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22772 about bounded pointers.
22773 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22774 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22775 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22776 <bp-asm.h>.
22777 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22778 about bounded pointers. Remove GKM FIXME comments.
22779 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22780 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22781 <bp-asm.h>.
22782 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22783 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22784 Remove GKM FIXME comments.
22785 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22786 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22787 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22788 <bp-asm.h>.
22789 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22790 about bounded pointers. Remove GKM FIXME comment.
22791 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22792 and <bp-asm.h>.
22793 (strncmp): Don't use BP_SYM. Remove comment about bounded
22794 pointers.
22795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22796 <bp-sym.h> and <bp-asm.h>.
22797 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22799 <bp-sym.h> and <bp-asm.h>.
22800 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22801 comment.
22802
cdcf361f
PP
228032013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22804
22805 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22806 call free(NULL).
22807
3c4a2b15
DM
228082013-03-05 David S. Miller <davem@davemloft.net>
22809
22810 * po/es.po: Update from translation team.
22811
cdcf361f 228122013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
22813
22814 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22815 <bits/mman-linux.h>.
22816 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22817 is fine.
22818 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22819 <bits/mman-linux.h> to end of file.
22820 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22821 is fine.
22822 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22823 <bits/mman-linux.h> to end of file.
22824 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22825 is fine.
22826 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22827 <bits/mman-linux.h> to end of file.
22828
22829 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22830 (MCL_CURRENT, MCL_FUTURE): Define here.
22831
5f67c04f
AK
228322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22833
8a4473cc 22834 [BZ #15232]
5f67c04f
AK
22835 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22836 attribute_hidden.
22837 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22838
c3e94a95
AK
228392013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22840
22841 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22842 fourth parameter needed for rt_sigprocmask syscall.
22843 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22844 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22845 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22846 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22847 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22848 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22849
cfb6382a
JM
228502013-03-04 Joseph Myers <joseph@codesourcery.com>
22851
22852 [BZ #13550]
22853 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22854 comment about bounded pointers.
22855 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22856 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22857
539d8e01
AJ
228582013-03-04 Andreas Jaeger <aj@suse.de>
22859
22860 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22861 common definitions.
22862
22863 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22864 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22865 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22866 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22867 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
22868 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22869
2e167a70 228702013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
22871
22872 [BZ #15055]
22873 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22874 __ieee754_sqrl instead of __sqrl.
22875
68508633
JM
228762013-03-01 Joseph Myers <joseph@codesourcery.com>
22877
22878 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22879 * sysdeps/powerpc/fpu_control.h: ... here.
22880 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22881 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22882 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22883 * sysdeps/powerpc/bits/mathinline.h: ... here.
22884
7775448e
RM
228852013-03-01 Roland McGrath <roland@hack.frob.com>
22886
22887 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22888 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22889 to just [NEED_DL_SYSINFO_DSO].
22890 * elf/dl-support.c: Likewise.
22891 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22892 * elf/rtld.c (dl_main): Likewise.
22893 * elf/setup-vdso.h (setup_vdso): Likewise.
22894 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22895 * sysdeps/unix/sysv/linux/dl-sysdep.c
22896 (_dl_discover_osversion): Likewise.
22897
4e9b5995
CD
228982013-03-01 Carlos O'Donell <carlos@redhat.com>
22899
22900 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22901 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22902
e23872c8
SP
229032013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22904
e5c74c63
SP
22905 * NEWS: Mention libm performance improvements and non-x86 PI
22906 futex support.
22907
e23872c8
SP
22908 * csu/libc-start.c (__pthread_initialize_minimal): Change
22909 function arguments.
22910 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22911
b5510883
JM
229122013-02-28 Joseph Myers <joseph@codesourcery.com>
22913
22914 [BZ #13550]
22915 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22916 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22917 <bp-sym.h> and <bp-asm.h>.
22918 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22919 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22920 and <bp-asm.h>.
22921 (memcpy): Don't use BP_SYM.
22922 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22923 <bp-asm.h>.
22924 (__mpn_add_n): Don't use BP_SYM.
22925 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22926 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22927 and <bp-asm.h>.
22928 (__mpn_addmul_1): Don't use BP_SYM.
22929 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22930 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22931 <bp-sym.h>.
22932 (_setjmp): Don't use BP_SYM.
22933 (__novmx_setjmp): Likewise.
22934 (__GI__setjmp): Likewise.
22935 (__vmx_setjmp): Likewise.
22936 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22937 <bp-sym.h>.
22938 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22939 (__bzero): Don't use BP_SYM.
22940 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22941 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22942 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22943 <bp-sym.h> and <bp-asm.h>.
22944 (memcpy): Don't use BP_SYM.
22945 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22946 <bp-sym.h> and <bp-asm.h>.
22947 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22948 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22949 <bp-sym.h> and <bp-asm.h>.
22950 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22951 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22952 <bp-asm.h>.
22953 (__mpn_lshift): Don't use BP_SYM.
22954 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22955 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22956 <bp-asm.h>.
22957 (memset): Don't use BP_SYM.
22958 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22959 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22960 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22961 <bp-asm.h>.
22962 (__mpn_mul_1): Don't use BP_SYM.
22963 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22964 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22965 <bp-sym.h> and <bp-asm.h>.
22966 (memcmp): Don't use BP_SYM.
22967 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22968 <bp-sym.h> and <bp-asm.h>.
22969 (memcpy): Don't use BP_SYM.
22970 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22971 <bp-sym.h> and <bp-asm.h>.
22972 (memset): Don't use BP_SYM.
22973 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22974 <bp-sym.h> and <bp-asm.h>.
22975 (strncmp): Don't use BP_SYM.
22976 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22977 <bp-sym.h> and <bp-asm.h>.
22978 (memcpy): Don't use BP_SYM.
22979 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22980 <bp-sym.h> and <bp-asm.h>.
22981 (memset): Don't use BP_SYM.
22982 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22983 <bp-sym.h> and <bp-asm.h>.
22984 (__memchr): Don't use BP_SYM.
22985 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22986 <bp-sym.h> and <bp-asm.h>.
22987 (memcmp): Don't use BP_SYM.
22988 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22989 <bp-sym.h> and <bp-asm.h>.
22990 (memcpy): Don't use BP_SYM.
22991 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22992 <bp-sym.h> and <bp-asm.h>.
22993 (__mempcpy): Don't use BP_SYM.
22994 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22995 <bp-sym.h> and <bp-asm.h>.
22996 (__memrchr): Don't use BP_SYM.
22997 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22998 <bp-sym.h> and <bp-asm.h>.
22999 (memset): Don't use BP_SYM.
23000 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23001 <bp-sym.h> and <bp-asm.h>.
23002 (__rawmemchr): Don't use BP_SYM.
23003 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23004 <bp-sym.h> and <bp-asm.h>.
23005 (__STRCMP): Don't use BP_SYM.
23006 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23007 <bp-sym.h> and <bp-asm.h>.
23008 (strchr): Don't use BP_SYM.
23009 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23010 <bp-sym.h> and <bp-asm.h>.
23011 (__strchrnul): Don't use BP_SYM.
23012 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23013 <bp-sym.h> and <bp-asm.h>.
23014 (strlen): Don't use BP_SYM.
23015 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23016 <bp-sym.h> and <bp-asm.h>.
23017 (strncmp): Don't use BP_SYM.
23018 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23019 <bp-sym.h> and <bp-asm.h>.
23020 (__strnlen): Don't use BP_SYM.
23021 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23022 <bp-asm.h>.
23023 (__mpn_rshift): Don't use BP_SYM.
23024 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23025 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23026 <bp-sym.h> and <bp-asm.h>.
23027 (__sigsetjmp): Don't use BP_SYM.
23028 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23029 (L(start_addresses)): Don't use BP_SYM.
23030 (_start): Likewise.
23031 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23032 <bp-asm.h>.
23033 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23034 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23035 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23036 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23037 <bp-asm.h>.
23038 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23039 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23040 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23041 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23042 <bp-asm.h>.
23043 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23044 comments.
23045 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23046 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23047 <bp-asm.h>.
23048 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23049 FIXME comments.
23050 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23051 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23052 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23053 <bp-asm.h>.
23054 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23055 comment.
23056 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23057 and <bp-asm.h>.
23058 (strncmp): Don't use BP_SYM,
23059 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23060 <bp-asm.h>.
23061 (__mpn_sub_n): Don't use BP_SYM.
23062 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23063 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23064 and <bp-asm.h>.
23065 (__mpn_submul_1): Don't use BP_SYM.
23066 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23068 <bp-sym.h> and <bp-asm.h>.
23069 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23071 <bp-sym.h> and <bp-asm.h>.
23072 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23073 comment.
23074
8d19fe64
SP
230752013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23076
23077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23078 Use ZK to minimize writes to Z.
23079 (sub_magnitudes): Simplify code a bit.
23080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23081 Use ZK to minimize writes to Z.
23082 (sub_magnitudes): Simplify code a bit.
23083
85bd816a
RM
230842013-02-27 Roland McGrath <roland@hack.frob.com>
23085
23086 * csu/gmon-start.c: Add special exception to license text.
23087
b5977bf2
RH
230882013-02-27 Richard Henderson <rth@redhat.com>
23089
23090 * scripts/config.guess: Update from config.git.
23091 * scripts/config.sub: Likewise.
23092
11d6e2f2
SP
230932013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23094
09c14ed2
SP
23095 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23096
a688864e
SP
23097 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23098
6295157a
SP
23099 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23100
b8de2202
SP
23101 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23102
11d6e2f2
SP
23103 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23104
7e80ddb8
RM
231052013-02-26 Roland McGrath <roland@hack.frob.com>
23106
23107 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23108 [$(build-shared = yes].
7e80ddb8 23109
7da6d9ed
SP
231102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23111
45f05884
SP
23112 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23113 (__mul): Reduce iterations for calculating mantissa.
23114
2236d359
SP
23115 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23116 MPTWO.
23117 (__mpranred): Likewise.
23118
7da6d9ed
SP
23119 [BZ #15160]
23120 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23121 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23122
b7688c42
PE
231232013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23124
23125 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23126 Define __attribute__.
23127
53a5c423
SP
231282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23129
23130 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23131 unused.
23132 * posix/regex_internal.h (__attribute): Remove.
23133 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23134 (re_string_context_at): Likewise.
23135 (bitset_not): Use __attribute__ and mark function as possibly
23136 unused.
23137 (bitset_merge): Likewise.
23138 (bitset_mask): Likewise.
23139 (re_string_char_size_at): Likewise.
23140 (re_string_wchar_at): Likewise.
23141 (re_string_elem_size_at): Likewise.
23142
60f5a8b5
SP
231432013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23144
2a983a2e
SP
23145 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23146 code.
23147 (cc32): Likewise.
23148
e69804d1
SP
23149 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23150 (__acr): Likewise.
23151 (__cpy): Likewise.
23152 (norm): Likewise.
23153 (denorm): Likewise.
23154 (__dbl_mp): Likewise.
23155 (add_magnitudes): Likewise.
23156 (sub_magnitudes): Likewise.
23157 (__mul): Likewise.
23158 (__inv): Likewise.
23159
2f22a1e8
SP
23160 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23161 style.
23162
8930ddc7
SP
23163 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23164 style.
23165
dc60cb11
SP
23166 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23167 code.
23168
60f5a8b5
SP
23169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23170 up changes with default code.
23171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23172 Likewise.
23173
b4d1fd33
AM
231742013-02-24 Allan McRae <allan@archlinux.org>
23175
faf6f8bc
AM
23176 * manual/socket.texi (The Internet Namespace): Order menu items
23177 to match that in the file.
23178
b4d1fd33
AM
23179 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23180 node listing of the info page menu.
23181
2366713d
JM
231822013-02-21 Joseph Myers <joseph@codesourcery.com>
23183
23184 [BZ #13550]
23185 * sysdeps/i386/bp-asm.h: Remove file.
23186 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23187 (PARMS): Do not use macros from bp-asm.h.
23188 (S1): Likewise.
23189 (S2): Likewise.
23190 (SIZE): Likewise.
23191 (__mpn_add_n): Do not use BP_SYM
23192 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23193 "bp-asm.h".
23194 (PARMS): Do not use macros from bp-asm.h.
23195 (S1): Likewise.
23196 (SIZE): Likewise.
23197 (__mpn_addmul_1): Do not use BP_SYM
23198 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23199 "bp-asm.h".
23200 (PARMS): Do not use macros from bp-asm.h.
23201 (SIGMSK): Likewise.
23202 (_setjmp): Likewise. Do not use BP_SYM.
23203 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23204 "bp-asm.h".
23205 (PARMS): Do not use macros from bp-asm.h.
23206 (SIGMSK): Likewise.
23207 (setjmp): Likewise. Do not use BP_SYM.
23208 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23209 "bp-asm.h".
23210 (PARMS): Do not use macros from bp-asm.h.
23211 (__frexp): Do not use BP_SYM.
23212 (frexp): Likewise.
23213 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23214 "bp-asm.h".
23215 (PARMS): Do not use macros from bp-asm.h.
23216 (__frexpf): Do not use BP_SYM.
23217 (frexpf): Likewise.
23218 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23219 "bp-asm.h".
23220 (PARMS): Do not use macros from bp-asm.h.
23221 (__frexpl): Do not use BP_SYM.
23222 (frexpl): Likewise.
23223 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23224 "bp-asm.h".
23225 (PARMS): Do not use macros from bp-asm.h.
23226 (__remquo): Do not use BP_SYM.
23227 (remquo): Likewise.
23228 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23229 "bp-asm.h".
23230 (PARMS): Do not use macros from bp-asm.h.
23231 (__remquof): Do not use BP_SYM.
23232 (remquof): Likewise.
23233 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23234 "bp-asm.h".
23235 (PARMS): Do not use macros from bp-asm.h.
23236 (__remquol): Do not use BP_SYM.
23237 (remquol): Likewise.
23238 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23239 "bp-asm.h".
23240 (PARMS): Do not use macros from bp-asm.h.
23241 (DEST): Likewise.
23242 (SRC): Likewise.
23243 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23244 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23245 "bp-asm.h".
23246 (PARMS): Do not use macros from bp-asm.h.
23247 (strlen): Do not use BP_SYM.
23248 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23249 "bp-asm.h".
23250 (PARMS): Do not use macros from bp-asm.h.
23251 (S1): Likewise.
23252 (S2): Likewise.
23253 (SIZE): Likewise.
23254 (__mpn_add_n): Do not use BP_SYM.
23255 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23256 "bp-asm.h".
23257 (PARMS): Do not use macros from bp-asm.h.
23258 (S1): Likewise.
23259 (SIZE): Likewise.
23260 (__mpn_addmul_1): Do not use BP_SYM.
23261 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23262 weak_alias.
23263 (bzero): Likewise.
23264 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23265 "bp-asm.h".
23266 (PARMS): Do not use macros from bp-asm.h.
23267 (S): Likewise.
23268 (SIZE): Likewise.
23269 (__mpn_lshift): Do not use BP_SYM.
23270 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23271 "bp-asm.h".
23272 (PARMS): Do not use macros from bp-asm.h.
23273 (DEST): Likewise.
23274 (SRC): Likewise.
23275 (LEN): Likewise.
23276 (memcpy): Likewise. Do not use BP_SYM.
23277 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23278 libc_hidden_def and weak_alias.
23279 (mempcpy): Do not use BP_SYM in weak_alias.
23280 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23281 "bp-asm.h".
23282 (PARMS): Do not use macros from bp-asm.h.
23283 (DEST): Likewise.
23284 (LEN): Likewise.
23285 [!BZERO_P] (CHR): Likewise.
23286 (memset): Likewise. Do not use BP_SYM.
23287 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23288 "bp-asm.h".
23289 (PARMS): Do not use macros from bp-asm.h.
23290 (S1): Likewise.
23291 (SIZE): Likewise.
23292 (__mpn_mul_1): Do not use BP_SYM.
23293 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23294 "bp-asm.h".
23295 (PARMS): Do not use macros from bp-asm.h.
23296 (S): Likewise.
23297 (SIZE): Likewise.
23298 (__mpn_rshift): Do not use BP_SYM.
23299 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23300 "bp-asm.h".
23301 (PARMS): Do not use macros from bp-asm.h.
23302 (STR): Likewise.
23303 (CHR): Likewise.
23304 (strchr): Likewise. Do not use BP_SYM.
23305 (index): Do not use BP_SYM in weak_alias.
23306 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23307 "bp-asm.h".
23308 (PARMS): Do not use macros from bp-asm.h.
23309 (DEST): Likewise.
23310 (SRC): Likewise.
23311 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23312 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23313 "bp-asm.h".
23314 (PARMS): Do not use macros from bp-asm.h.
23315 (strlen): Do not use BP_SYM.
23316 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23317 "bp-asm.h".
23318 (PARMS): Do not use macros from bp-asm.h.
23319 (S1): Likewise.
23320 (S2): Likewise.
23321 (SIZE): Likewise.
23322 (__mpn_sub_n): Do not use BP_SYM.
23323 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23324 "bp-asm.h".
23325 (PARMS): Do not use macros from bp-asm.h.
23326 (S1): Likewise.
23327 (SIZE): Likewise.
23328 (__mpn_submul_1): Do not use BP_SYM.
23329 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23330 "bp-asm.h".
23331 (PARMS): Do not use macros from bp-asm.h.
23332 (S1): Likewise.
23333 (S2): Likewise.
23334 (SIZE): Likewise.
23335 (__mpn_add_n): Do not use BP_SYM.
23336 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23337 weak_alias.
23338 (bzero): Likewise.
23339 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23340 "bp-asm.h".
23341 (PARMS): Do not use macros from bp-asm.h.
23342 (BLK2): Likewise.
23343 (LEN): Likewise.
23344 (memcmp): Do not use BP_SYM.
23345 (bcmp): Do not use BP_SYM in weak_alias.
23346 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23347 "bp-asm.h".
23348 (PARMS): Do not use macros from bp-asm.h.
23349 (DEST): Likewise.
23350 (SRC): Likewise.
23351 (LEN): Likewise.
23352 (memcpy): Likewise. Do not use BP_SYM.
23353 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23354 "bp-asm.h".
23355 (PARMS): Do not use macros from bp-asm.h.
23356 (DEST): Likewise.
23357 (SRC): Likewise.
23358 (LEN): Likewise.
23359 (memmove): Likewise. Do not use BP_SYM.
23360 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23361 "bp-asm.h".
23362 (PARMS): Do not use macros from bp-asm.h.
23363 (DEST): Likewise.
23364 (SRC): Likewise.
23365 (LEN): Likewise.
23366 (__mempcpy): Likewise. Do not use BP_SYM.
23367 (mempcpy): Do not use BP_SYM in weak_alias.
23368 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23369 "bp-asm.h".
23370 (PARMS): Do not use macros from bp-asm.h.
23371 (DEST): Likewise.
23372 (LEN): Likewise.
23373 [!BZERO_P] (CHR): Likewise.
23374 (memset): Likewise. Do not use BP_SYM.
23375 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23376 "bp-asm.h".
23377 (PARMS): Do not use macros from bp-asm.h.
23378 (STR2): Likewise.
23379 (strcmp): Do not use BP_SYM.
23380 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23381 "bp-asm.h".
23382 (PARMS): Do not use macros from bp-asm.h.
23383 (STR): Likewise.
23384 (DELIM): Likewise.
23385 [USE_AS_STRTOK_R] (SAVE): Likewise.
23386 (FUNCTION): Likewise. Do not use BP_SYM.
23387 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23388 aliases.
23389 (strtok_r): Likewise.
23390 (__GI___strtok_r): Likewise.
23391 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23392 (PARMS): Do not use macros from bp-asm.h.
23393 (S): Likewise.
23394 (SIZE): Likewise.
23395 (__mpn_lshift): Do not use BP_SYM.
23396 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23397 (PARMS): Do not use macros from bp-asm.h.
23398 (STR): Likewise.
23399 (CHR): Likewise.
23400 (__memchr): Do not use BP_SYM.
23401 (memchr): Do not use BP_SYM in weak_alias.
23402 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23403 (PARMS): Do not use macros from bp-asm.h.
23404 (BLK2): Likewise.
23405 (LEN): Likewise.
23406 (memcmp): Do not use BP_SYM.
23407 (bcmp): Do not use BP_SYM in weak_alias.
23408 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23409 (PARMS): Do not use macros from bp-asm.h.
23410 (S1): Likewise.
23411 (SIZE): Likewise.
23412 (__mpn_mul_1): Do not use BP_SYM.
23413 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23414 "bp-asm.h".
23415 (PARMS): Do not use macros from bp-asm.h.
23416 (STR): Likewise.
23417 (CHR): Likewise.
23418 (__rawmemchr): Do not use BP_SYM.
23419 (rawmemchr): Do not use BP_SYM in weak_alias.
23420 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23421 (PARMS): Do not use macros from bp-asm.h.
23422 (S): Likewise.
23423 (SIZE): Likewise.
23424 (__mpn_rshift): Do not use BP_SYM.
23425 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23426 (PARMS): Do not use macros from bp-asm.h.
23427 (SIGMSK): Likewise.
23428 (__sigsetjmp): Likewise. Do not use BP_SYM.
23429 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23430 (_start): Do not use BP_SYM.
23431 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23432 (PARMS): Do not use macros from bp-asm.h.
23433 (DEST): Likewise.
23434 (SRC): Likewise.
23435 (__stpcpy): Likewise. Do not use BP_SYM.
23436 (stpcpy): Do not use BP_SYM in weak_alias.
23437 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23438 "bp-asm.h".
23439 (PARMS): Do not use macros from bp-asm.h.
23440 (DEST): Likewise.
23441 (SRC): Likewise.
23442 (LEN): Likewise.
23443 (__stpncpy): Likewise. Do not use BP_SYM.
23444 (stpncpy): Do not use BP_SYM in weak_alias.
23445 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23446 (PARMS): Do not use macros from bp-asm.h.
23447 (STR): Likewise.
23448 (CHR): Likewise.
23449 (strchr): Likewise. Do not use BP_SYM.
23450 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23451 "bp-asm.h".
23452 (PARMS): Do not use macros from bp-asm.h.
23453 (STR): Likewise.
23454 (CHR): Likewise.
23455 (__strchrnul): Likewise. Do not use BP_SYM.
23456 (strchrnul): Do not use BP_SYM in weak_alias.
23457 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23458 "bp-asm.h".
23459 (PARMS): Do not use macros from bp-asm.h.
23460 (STOP): Likewise.
23461 (strcspn): Do not use BP_SYM.
23462 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23463 "bp-asm.h".
23464 (PARMS): Do not use macros from bp-asm.h.
23465 (STR): Likewise.
23466 (STOP): Likewise.
23467 (strpbrk): Likewise. Do not use BP_SYM.
23468 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23469 "bp-asm.h".
23470 (PARMS): Do not use macros from bp-asm.h.
23471 (STR): Likewise.
23472 (CHR): Likewise.
23473 (strrchr): Likewise. Do not use BP_SYM.
23474 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23475 (PARMS): Do not use macros from bp-asm.h.
23476 (SKIP): Likewise.
23477 (strspn): Do not use BP_SYM.
23478 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23479 (PARMS): Do not use macros from bp-asm.h.
23480 (STR): Likewise.
23481 (DELIM): Likewise.
23482 (SAVE): Likewise.
23483 (FUNCTION): Likewise. Do not use BP_SYM.
23484 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23485 aliases.
23486 (strtok_r): Likewise.
23487 (__GI___strtok_r): Likewise.
23488 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23489 (PARMS): Do not use macros from bp-asm.h.
23490 (S1): Likewise.
23491 (S2): Likewise.
23492 (SIZE): Likewise.
23493 (__mpn_sub_n): Do not use BP_SYM.
23494 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23495 "bp-asm.h".
23496 (PARMS): Do not use macros from bp-asm.h.
23497 (S1): Likewise.
23498 (SIZE): Likewise.
23499 (__mpn_submul_1): Do not use BP_SYM.
23500 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23501 <bp-sym.h>.
23502 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23503 and <bp-asm.h>.
23504 (PARMS): Do not use macros from bp-asm.h.
23505 (FLAGS): Likewise.
23506 (PTID): Likewise.
23507 (TLS): Likewise.
23508 (CTID): Likewise.
23509 (__clone): Do not use BP_SYM.
23510 (clone): Do not use BP_SYM in weak_alias.
23511 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23512 and <bp-asm.h>.
23513 (PARMS): Do not use macros from bp-asm.h.
23514 (LEN): Likewise.
23515 (__mmap64): Do not use BP_SYM.
23516 (mmap64): Do not use BP_SYM in weak_alias.
23517 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23518 <bp-sym.h> and <bp-asm.h>.
23519 (PARMS): Do not use macros from bp-asm.h.
23520 (__posix_fadvise64_l64): Do not use BP_SYM.
23521 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23522 (PARMS): Do not use macros from bp-asm.h.
23523 (NSOPS): Likewise.
23524 (semtimedop): Do not use BP_SYM.
23525 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23526 and <bp-asm.h>.
23527
582a3cff
AM
235282013-02-21 Allan McRae <allan@archlinux.org>
23529
23530 * manual/message.texi (Charset conversion in gettext):
23531 Move @end statement to beginning of line.
23532
bab8a695
SP
235332013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23534
80945231
SP
23535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23536 static.
23537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23538 Likewise.
23539
bab8a695
SP
23540 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23541 (denorm): Likewise.
23542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23544
e21d7aa7
AK
235452013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23546
23547 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23548 tail-call to the resolved function if pltexit isn't needed.
23549
4c7a4263
SP
235502013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23551
23552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23553 or Y being zero as being unlikely.
23554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23555 Likewise.
23556
41f49342
CD
235572013-02-20 Carlos O'Donell <carlos@redhat.com>
23558
23559 * manual/nss.texi (System Databases and Name Service Switch):
23560 Remove frobnicate @pxref.
23561
50022a93
TS
235622013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23563
23564 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23565 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23566
08cbd996
PM
235672013-02-20 Petr Machata <pmachata@redhat.com>
23568
23569 * elf/elf.h (R_ARM_TARGET1): New macro.
23570 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23571 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23572 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23573 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23574 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23575 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23576 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23577 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23578 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23579 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23580 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23581 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23582 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23583 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23584 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23585 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23586 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23587 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23588 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23589 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23590 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23591 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23592 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23593 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23594 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23595 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23596 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23597 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23598 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23599 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23600 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23601 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23602 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23603 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23604 (R_ARM_THM_GOT_BREL12): Likewise.
23605 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23606 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23607 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23608 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23609 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23610 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23611 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23612 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23613 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23614
c7b275d6
TS
236152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23616
23617 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23618 __attribute_used__ to __attribute__ ((unused)).
23619
20cd7fb3
SP
236202013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23621
23622 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23623 powerpc mpa.c.
23624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23625 comment formatting.
23626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23627
92945b52
JM
236282013-02-19 Joseph Myers <joseph@codesourcery.com>
23629
23630 [BZ #13550]
23631 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23632 Remove macro.
23633 (ENTER): Remove both macro definitions.
23634 (LEAVE): Likewise.
23635 (CHECK_BOUNDS_LOW): Likewise.
23636 (CHECK_BOUNDS_HIGH): Likewise.
23637 (CHECK_BOUNDS_BOTH): Likewise.
23638 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23639 (RETURN_BOUNDED_POINTER): Likewise.
23640 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23641 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23642 (POP_ERRNO_LOCATION_RETURN): Likewise.
23643 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23644 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23645 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23646 macros.
23647 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23648 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23649 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23650 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23651 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23652 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23653 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23654 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23655 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23656 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23657 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23658 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23659 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23660 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23661 removed macros.
23662 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23663 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23664 macros.
23665 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23666 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23667 * sysdeps/i386/i586/memset.S (memset): Likewise.
23668 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23669 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23670 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23671 macros.
23672 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23673 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23674 Change uses of L(2) to L(out).
23675 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23676 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23677 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23678 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23679 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23680 removed macros.
23681 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23682 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23683 macros.
23684 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23685 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23686 (RETURN): Do not use macro LEAVE.
23687 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23688 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23689 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23690 * sysdeps/i386/i686/memset.S (memset): Likewise.
23691 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23692 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23693 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23694 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23695 Likewise.
23696 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23697 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23698 L(1_2) and L(1_3) into L(1).
23699 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23700 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23701 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23702 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23703 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23704 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23705 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23706 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23707 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23708 macros.
23709 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23710 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23711 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23712 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23713 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23714 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23715 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23716 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23717 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23718 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23719 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23720 * sysdeps/i386/strspn.S (strspn): Likewise.
23721 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23722 conditional code.
23723 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23724 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23725 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23726 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23727 L(1_3) into L(1_1).
23728 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23729 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23730 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23731 macros.
23732 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23733
2389741a
JJ
237342013-02-19 Jakub Jelinek <jakub@redhat.com>
23735
23736 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23737 macro.
23738
2016b3cd
SP
237392013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23740
e4f22324
SP
23741 * math/atest-exp.c (exp_mpn): Remove ROUND.
23742 * math/atest-exp2.c (exp_mpn): Likewise.
23743 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23744
2016b3cd
SP
23745 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23746 * stdlib/tst-tls-atexit-lib.c: Likewise.
23747 * stdlib/tst-tls-atexit.c: Likewise.
23748
4be9b544
MF
237492013-02-18 Mike Frysinger <vapier@gentoo.org>
23750
23751 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23752 and __attribute_alloc_size__.
23753
2f62b9ee
MF
237542013-02-18 Mike Frysinger <vapier@gentoo.org>
23755
23756 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23757 __attribute_alloc_size__.
23758 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23759 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23760
6ff444c4
MF
237612013-02-18 Mike Frysinger <vapier@gentoo.org>
23762
23763 * include/programs/xmalloc.h: New file.
23764 * catgets/gencat.c: Include it.
23765 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23766 * elf/pldd.c: Likewise.
23767 * iconv/iconv_charmap.c: Likewise.
23768 * iconv/iconvconfig.c: Likewise.
23769 * iconv/strtab.c: Likewise.
23770 * locale/programs/locale.c: Likewise.
23771 * locale/programs/localedef.h: Likewise.
23772 * locale/programs/simple-hash.c: Likewise.
23773 * nscd/nscd.h: Likewise.
23774 * nss/makedb.c: Likewise.
23775 * sysdeps/generic/ldconfig.h: Likewise.
23776
be179c8a
SP
237772013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23778
ba384f6e
SP
23779 * Versions.def: Add GLIBC_2.18.
23780 * include/link.h (struct link_map): New member l_tls_dtor_count.
23781 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23782 (__call_tls_dtors): Likewise.
23783 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23784 __cxa_thread_atexit_impl.
23785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23786 Likewise.
23787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23788 Likewise.
23789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23790 Likewise.
23791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23792 Likewise.
23793 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23795 Likewise.
23796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23797 Likewise.
23798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23800 Likewise.
23801 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23802 (tests): Add test case tst-tls-atexit.
23803 (modules-names): Add shared library for tst-tls-atexit.
85891aca 23804 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
23805 (GLIBC_PRIVATE): Add __call_tls_dtors.
23806 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23807 for libstdc++.
23808 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23809 * stdlib/tst-tls-atexit.c: New test case.
23810 * stdlib/tst-tls-atexit-lib.c: New test case.
23811
ffaa74cf 23812 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 23813
be179c8a
SP
23814 * elf/Versions (ld): Add _dl_find_dso_for_object.
23815 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23816 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23817 (dl_open_worker): Use _dl_find_dso_for_object.
23818 * elf/dl-sym.c (do_sym): Likewise.
23819 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23820
f78b5caa
AK
238212013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23822
23823 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23824 Syntactic changes only.
23825 (_dl_runtime_profile): Do a tail-call to the resolved function.
23826
29691210
JM
238272013-02-17 Joseph Myers <joseph@codesourcery.com>
23828
23829 [BZ #13550]
23830 * sysdeps/x86_64/bp-asm.h: Remove file.
23831 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23832 <bp-sym.h> and <bp-asm.h>.
23833 (__clone): Do not use BP_SYM.
23834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23835 <bp-sym.h> and <bp-asm.h>.
23836 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23837 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23838 "bp-asm.h".
23839 (_setjmp): Do not use BP_SYM.
23840 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23841 "bp-asm.h".
23842 (setjmp): Do not use BP_SYM.
23843 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23844 libc_hidden_def.
23845 (mempcpy): Do not use BP_SYM in weak_alias.
23846 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23847 "bp-asm.h".
23848 (strchr): Do not use BP_SYM.
23849 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23850 "bp-asm.h".
23851 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23852 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23853 (_start): Do not use BP_SYM.
23854 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23855 "bp-asm.h".
23856 (strcat): Do not use BP_SYM.
23857 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23858 "bp-asm.h".
23859 (STRCMP): Do not use BP_SYM.
23860 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23861 "bp-asm.h".
23862 (STRCPY): Do not use BP_SYM.
23863 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23864 "bp-asm.h".
23865 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23866 "bp-asm.h".
23867 (FUNCTION): Do not use BP_SYM.
23868 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23869 weak_alias.
23870 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23871
f238fd19
AJ
238722013-02-17 Andreas Jaeger <aj@suse.de>
23873
23874 * time/Versions: Sort entries.
23875 * string/Versions: Likewise.
23876 * resolv/Versions: Likewise.
23877 * posix/Versions: Likewise.
23878 * iconv/Versions: Likewise.
23879 * elf/Versions: Likewise.
23880 * wcsmbs/Versions: Likewise.
23881
bd07f23c 238822013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 23883
22af19f9
SP
23884 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23885 loop termination condition.
23886
4709fe76
SP
23887 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23888 variable to calculate EZ.
23889 (__sqr): Likewise.
2d0e0f29
SP
23890
23891 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23892 the lower precision input.
23893
daaa7713
JM
238942013-02-15 Joseph Myers <joseph@codesourcery.com>
23895
23896 [BZ #13550]
23897 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23898 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23899 (run-via-rtld-prefix): Do not handle %-bp tests.
23900 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23901 (all-object-suffixes): Remove .ob.
23902 (bppfx): Remove variable.
23903 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23904 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23905 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23906 [$(build-bounded) = yes] (libtype.ob): Likewise.
23907 * Makerules (elide-routines.ob): Remove variable.
23908 (do-tests-clean): Do not handle *-bp.out.
23909 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23910 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23911 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23912 (tests): Do not include $(tests-bp.out).
23913 (xtests): Do not include $(xtests-bp.out).
23914 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23915 [$(build-bounded) = yes] ($(addprefix
23916 $(objpfx),$(binaries-bounded))): Remove rule.
23917 ($(objpfx)%-bp.out): Remove rule.
23918 * config.make.in (build-bounded): Remove variable.
23919 * crypt/Makefile [$(build-bounded) = yes]
23920 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23921 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23922 append to variable.
23923 [$(build-bounded) = yes] (install-lib): Likewise.
23924 [$(build-bounded) = yes] (generated): Likewise.
23925 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23926 Remove rule.
23927 * intl/Makefile [$(build-bounded) = yes]
23928 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23929 * math/Makefile [$(build-bounded) = yes]
23930 ($(tests:%=$(objpfx)%-bp): Likewise.
23931 * misc/Makefile [$(build-bounded) = yes]
23932 ($(objpfx)tst-tsearch-bp): Likewise.
23933 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23934 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23935 Remove dependency.
23936 * string/Makefile (o-objects.ob): Remove variable.
23937 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23938 (CFLAGS-.ob): Remove variable.
23939 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23940 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23941 both definitions of variable.
23942 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23943 (ASFLAGS-.ob): Remove variable.
23944
e97ed6dd
JM
239452013-02-14 Joseph Myers <joseph@codesourcery.com>
23946
2bdd4ca6
JM
23947 [BZ #13550]
23948 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23949 Remove __BOUNDED_POINTERS__ from condition.
23950 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23951 * string/bits/string2.h [!__NO_STRING_INLINES &&
23952 !__BOUNDED_POINTERS__]: Likewise.
23953 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23954 Likewise.
23955 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23956 Remove conditional code.
23957 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23958 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23959 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23960 condition.
23961
e97ed6dd
JM
23962 [BZ #13550]
23963 * csu/libc-start.c: Do not include <bp-sym.h>.
23964 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23965 * elf/dl-open.c: Do not include <bp-sym.h>.
23966 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23967 * math/fegetenv.c: Do not include <bp-sym.h>.
23968 (fegetenv): Do not use BP_SYM in versioned symbols.
23969 * nptl/sysdeps/pthread/bits/libc-lockP.h
23970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23971 <bp-sym.h>.
23972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23973 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23975 (__pthread_mutex_destroy): Likewise.
23976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23977 (__pthread_mutex_lock): Likewise.
23978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23979 (__pthread_mutex_trylock): Likewise.
23980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23981 (__pthread_mutex_unlock): Likewise.
23982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23983 (__pthread_mutexattr_init): Likewise.
23984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23985 (__pthread_mutexattr_destroy): Likewise.
23986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23987 (__pthread_mutexattr_settype): Likewise.
23988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23989 (__pthread_rwlock_init): Likewise.
23990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23991 (__pthread_rwlock_destroy): Likewise.
23992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23993 (__pthread_rwlock_rdlock): Likewise.
23994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23995 (__pthread_rwlock_tryrdlock): Likewise.
23996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23997 (__pthread_rwlock_wrlock): Likewise.
23998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23999 (__pthread_rwlock_trywrlock): Likewise.
24000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24001 (__pthread_rwlock_unlock): Likewise.
24002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24003 (__pthread_key_create): Likewise.
24004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24005 (__pthread_setspecific): Likewise.
24006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24007 (__pthread_getspecific): Likewise.
24008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24009 Likewise.
24010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24011 (_pthread_cleanup_push_defer): Likewise.
24012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24013 (_pthread_cleanup_pop_restore): Likewise.
24014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24015 (pthread_setcancelstate): Likewise.
24016 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24017 <bp-sym.h>.
24018 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24019 (memchr): Do not use BP_SYM in weak_alias.
24020 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24021 (fegetenv): Do not use BP_SYM in versioned symbols.
24022 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24023 (fesetenv): Do not use BP_SYM in versioned symbols.
24024 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24025 (feupdateenv): Do not use BP_SYM in versioned symbols.
24026 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24027 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24028 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24029 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24030 (open64): Do not use BP_SYM in weak_alias.
24031 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24032 (fegetenv): Do not use BP_SYM in versioned symbols.
24033 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24034 (fesetenv): Do not use BP_SYM in versioned symbols.
24035 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24036 (feupdateenv): Do not use BP_SYM in versioned symbols.
24037 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24038 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24039 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24040 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24041 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24042 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24043 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24044 <bp-sym.h>.
24045 (__libc_start_main): Do not use BP_SYM.
24046
d6752ccd
SP
240472013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24048
cb57ce60
SP
24049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24050 redundant return line.
24051 (norm): Likewise.
24052 (denorm): Likewise.
24053 (dbl_mp): Likewise.
24054 (sub_magnitudes): Likewise.
24055 (__add): Likewise.
24056 (__sub): Likewise.
24057 (__mul): Likewise.
24058 (__inv): Likewise.
24059 (__dvd): Likewise.
24060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24061 (norm): Likewise.
24062 (denorm): Likewise.
24063 (dbl_mp): Likewise.
24064 (sub_magnitudes): Likewise.
24065 (__add): Likewise.
24066 (__sub): Likewise.
24067 (__mul): Likewise.
24068 (__inv): Likewise.
24069 (__dvd): Likewise.
24070
f414520d
SP
24071 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24072 instead of __mul.
24073 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24074 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24075 (cc32): Likewise.
24076
d6752ccd
SP
24077 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24078 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24079 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24080 of __mul for squares.
24081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24082 function
24083 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24084 Likewise.
24085 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24086 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24087
70d9946a
JM
240882013-02-13 Joseph Myers <joseph@codesourcery.com>
24089
24090 [BZ #13550]
24091 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24092 code.
24093 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24094 prototype or function definition. Rename ubp_* variables and
24095 parameters. Remove argv definitions conditional on
24096 [__BOUNDED_POINTERS__].
24097 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24098 * elf/dl-runtime.c (_dl_fixup): Likewise.
24099 * include/set-hooks.h (RUN_HOOK): Likewise.
24100 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24101 definition.
24102 * string/strcpy.c (strcpy): Do not use __unbounded.
24103 * sysdeps/generic/frame.h (struct layout): Likewise.
24104 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24105 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24106 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24107 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24108 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24109 (__backtrace): Likewise.
24110 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24111 use __ptrvalue.
24112 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24113 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24114 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24115 Likewise.
24116 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24117 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24118 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24119 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24120 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24121 Do not use __unbounded.
24122 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24123 Rename __unboundedrlimits parameter to rlimits in prototype.
24124 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24125 Do not use __unbounded.
24126 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24127 not use __ptrvalue.
24128 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24129 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24130 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24131 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24132 __ptrvalue or __unbounded.
24133 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24134 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24135 use __unbounded.
24136 (__new_msgctl): Do not use __ptrvalue.
24137 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24138 __unbounded.
24139 (__libc_msgrcv): Do not use __ptrvalue.
24140 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24141 startup_info): Do not use __unbounded.
24142 (__libc_start_main): Likewise. Rename ubp_* variables and
24143 parameters. Remove argv definitions conditional on
24144 [__BOUNDED_POINTERS__].
24145 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24146 __ptrvalue.
24147 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24148 use __unbounded.
24149 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24150 or __ptrvalue.
24151 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24152 use __unbounded.
24153 (__new_shmctl): Do not use __ptrvalue.
24154 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24155 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24156 Likewise.
24157 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24158 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24159 (__libc_sigaction): Likewise.
24160 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24161 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24162 Likewise.
24163 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24164
cc7834d6
OB
241652013-02-13 Ondřej Bílka <neleai@seznam.cz>
24166
ffb1ec7b 24167 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
24168
24169 * string/mempcpy.c: Implement by calling memcpy.
24170
bdf02814
SP
241712013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24172
c2af38aa
SP
24173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24174
4e92d59e
SP
24175 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24176 evaluation.
24177
909279a5
SP
24178 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24179 values in the mantissa.
24180
bdf02814
SP
24181 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24182 minimize writes to Z.
24183 (sub_magnitudes): Simplify code a bit.
24184
cd525923
RM
241852013-02-12 Roland McGrath <roland@hack.frob.com>
24186
24187 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24188 from the message. The linker prefixes all warnings with that already.
24189
7e2f0d2d
AS
241902013-02-12 Andreas Schwab <schwab@suse.de>
24191
a445af0b
AS
24192 [BZ #15078]
24193 * posix/regexec.c (extend_buffers): Add parameter min_len.
24194 (check_matching): Pass minimum needed length.
24195 (clean_state_log_if_needed): Likewise.
24196 (get_subexp): Likewise.
24197 * posix/Makefile (tests): Add bug-regex34.
24198 (bug-regex34-ENV): Define.
24199 * posix/bug-regex34.c: New file.
24200
7e2f0d2d
AS
24201 [BZ #11561]
24202 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24203 elements compare against the byte sequence of it, not its name.
24204 * posix/Makefile (tests): Add bug-regex35.
24205 (bug-regex35-ENV): Define.
24206 * posix/bug-regex35.c: New file.
24207
a175b684
TV
242082013-02-11 Tom de Vries <tom@codesourcery.com>
24209
24210 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24211 comment.
24212 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24213 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24214 (CHECK_EOL): Add undef.
24215
310998fe 242162013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
24217
24218 * bits/stdlib-bsearch.h: New file.
24219 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 24220 * stdlib/stdlib.h: Likewise.
41eda41d 24221
8ded91fb
RM
242222013-02-11 Roland McGrath <roland@hack.frob.com>
24223
24224 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24225 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24226 declaration.
24227 * manual/search.texi (Array Search Function): Add missing const in
24228 lfind prototype.
24229 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24230 declaration to use rlim_t.
24231 (Basic Scheduling Functions): Remove erroneous const from
24232 sched_getparam prototype. Remove erroneous * from
24233 sched_get_priority_max and sched_get_priority_min prototypes.
24234 (Resource Usage): Fix summary @comment on vtimes to refer to
24235 sys/vtimes.h rather than vtimes.h.
24236 Add missing *s in vtimes prototype.
24237 (Limits on Resources): Fix ulimit prototype to return long int.
24238 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24239 prototypes to use long int rather than double.
24240 (BSD Random): Fix initstate and setstate to use char *, not void *.
24241 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24242 prototype to make second argument 'struct aiocb64 *const[]'.
24243 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24244 (Status of AIO Operations): Remove erroneous const in aio_return and
24245 aio_return64 prototypes.
24246 (Synchronizing I/O): Fix sync prototype to return void.
24247 * manual/startup.texi (Suboptions): Remove an erroneous const in
24248 getsubopt prototype.
24249 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24250 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24251 use size_t rather than int.
24252 (Scanning All Users): Likewise for getpwent_r.
24253 (Setting Groups): Add missing const to setgroups prototype.
24254 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24255 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24256 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24257 'const void *' rather than 'const char *'.
24258 (Host Address Functions): Likewise for inet_ntop.
24259 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24260 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24261 ssize_t for return value.
24262 (Sending Data): Likewise for send, sendto, sendmsg.
24263 (Socket Option Functions): Add a missing const in setsockopt prototype.
24264 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24265 use wchar_t for the argument.
24266 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24267 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24268 take no arguments.
24269 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24270 double/float/long double for second argument.
24271 Fix return types of significand, significandf, significandl.
24272 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24273 argument in fchmod prototype.
24274 (File Owner): Use uid_t and gid_t in fchown prototype.
24275 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24276 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24277 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24278 use 'const struct dirent **' as argument types to CMP function pointer
24279 argument.
24280 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24281 (File Times): Fix summary magic @comment for struct utimbuf and utime
24282 to refer to utime.h, not time.h.
24283 * manual/string.texi (Argz Functions): Add missing const in
24284 argz_extract and argz_next prototypes.
24285 (Finding Tokens in a String): Likewise for basename.
24286 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24287 (Copying and Concatenation): Fix typo in wmemmove prototype.
24288 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24289 (Signal Stack): Remove erroneous const in sigstack prototype.
24290 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24291 prototype.
24292 (Simple Calendar Time): Likewise for stime.
24293 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24294 prototype.
24295 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24296 say sys/sysctl.h instead.
24297 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24298 and vsyslog prototypes.
24299
fe77fe6d
TV
243002013-02-11 Tom de Vries <tom@codesourcery.com>
24301
24302 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24303 Remove.
24304
3a09b620
RM
243052013-02-11 Roland McGrath <roland@hack.frob.com>
24306
24307 * misc/sys/mman.h: Fix typo in mremap comment.
24308
550a0b89
RM
243092013-02-08 Roland McGrath <roland@hack.frob.com>
24310
24311 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24312 the '\0' terminator.
24313
a2da1673
JM
243142013-02-08 Joseph Myers <joseph@codesourcery.com>
24315
24316 [BZ #13550]
24317 * debug/segfault.c: Don't include <bp-checks.h>.
24318 * sysdeps/generic/bp-checks.h: Remove file.
24319 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24320 (__GETDENTS): Don't use CHECK_N.
24321 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24322 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24323 (__getgroups): Don't use CHECK_N.
24324 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24325 (setgroups): Don't use CHECK_N.
24326 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24327 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24328 (__libc_msgrcv): Don't use CHECK_N.
24329 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24330 (__libc_msgsnd): Don't use CHECK_N.
24331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24332 <bp-checks.h>.
24333 (__libc_pread): Don't use CHECK_N.
24334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24335 include <bp-checks.h>.
24336 (__libc_pread64): Don't use CHECK_N.
24337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24338 include <bp-checks.h>.
24339 (__libc_pwrite): Don't use CHECK_N.
24340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24341 include <bp-checks.h>.
24342 (__libc_pwrite64): Don't use CHECK_N.
24343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24344 <bp-checks.h>.
24345 (__libc_pread): Don't use CHECK_N.
24346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24347 include <bp-checks.h>.
24348 (__libc_pread64): Don't use CHECK_N.
24349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24350 include <bp-checks.h>.
24351 (__libc_pwrite): Don't use CHECK_N.
24352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24353 include <bp-checks.h>.
24354 (__libc_pwrite64): Don't use CHECK_N.
24355 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24356 (do_pread): Don't use CHECK_N.
24357 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24358 (do_pread64): Don't use CHECK_N.
24359 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24360 (do_pwrite): Don't use CHECK_N.
24361 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24362 (do_pwrite64): Don't use CHECK_N.
24363 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24364 (__libc_readv): Don't use CHECK_N.
24365 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24366 (semop): Don't use CHECK_N.
24367 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24368 <bp-checks.h>.
24369 (semtimedop): Don't use CHECK_N.
24370 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24371 (__libc_pread): Don't use CHECK_N.
24372 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24373 <bp-checks.h>.
24374 (__libc_pread64): Don't use CHECK_N.
24375 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24376 <bp-checks.h>.
24377 (__libc_pwrite): Don't use CHECK_N.
24378 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24379 <bp-checks.h>.
24380 (__libc_pwrite64): Don't use CHECK_N.
24381 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24382 <bp-checks.h>.
24383 (__libc_msgrcv): Don't use CHECK_N.
24384 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24385 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24386 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24387 (__libc_writev): Don't use CHECK_N.
24388
b84660a8
RM
243892013-02-08 Roland McGrath <roland@hack.frob.com>
24390
7f3e75f8
RM
24391 * string/strcpy.c: Removed unused variable.
24392
b84660a8
RM
24393 * Makeconfig (+sysdep-includes): Define with := rather than =.
24394 Use an existing include/ subdir of each sysdeps dir before it.
24395
471514d3
CD
243962013-02-08 Carlos O'Donell <carlos@redhat.com>
24397
24398 * nscd/connection.c (register_traced_file): Comment function.
24399 [HAVE_INOTIFY] (union __inev): Define.
24400 [HAVE_INOTIFY] (inotify_check_files): New function.
24401 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24402 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24403 clear_db_cache.
24404 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24405
b2d3c3be
CD
244062013-02-08 Carlos O'Donell <carlos@redhat.com>
24407
24408 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24409 loaded if not already and that a failure is permanent.
24410
b39949d2
CD
244112013-02-08 Carlos O'Donell <carlos@redhat.com>
24412
ddacd1db 24413 [BZ #15006]
b39949d2
CD
24414 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24415 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24416
b2c9eff4
JM
244172013-02-08 Joseph Myers <joseph@codesourcery.com>
24418
f3aae3f3
JM
24419 [BZ #13550]
24420 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24421 (CHECK_1_NULL_OK): Likewise.
24422 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24423 (__fxstat): Do not use CHECK_1.
24424 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24425 <bp-checks.h>.
24426 (___fxstat64): Do not use CHECK_1.
24427 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24428 <bp-checks.h>.
24429 (__fxstatat): Do not use CHECK_1.
24430 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24431 <bp-checks.h>.
24432 (__fxstatat64): Do not use CHECK_1.
24433 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24434 <bp-checks.h>.
24435 (__fxstat): Do not use CHECK_1.
24436 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24437 <bp-checks.h>.
24438 (__fxstatat): Do not use CHECK_1.
24439 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24440 <bp-checks.h>.
24441 (__getresgid): Do not use CHECK_1.
24442 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24443 <bp-checks.h>.
24444 (__getresuid): Do not use CHECK_1.
24445 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24446 <bp-checks.h>.
24447 (__lxstat): Do not use CHECK_1.
24448 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24449 <bp-checks.h>.
24450 (__old_msgctl): Do not use CHECK_1.
24451 (__new_msgctl): Likewise.
24452 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24453 <bp-checks.h>.
24454 (__new_setrlimit): Do not use CHECK_1.
24455 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24456 <bp-checks.h>.
24457 (__old_shmctl): Do not use CHECK_1.
24458 (__new_shmctl): Likewise.
24459 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24460 <bp-checks.h>.
24461 (__xstat): Do not use CHECK_1.
24462 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24463 (__lxstat): Do not use CHECK_1.
24464 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24465 <bp-checks.h>.
24466 (___lxstat64): Do not use CHECK_1.
24467 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24468 (__old_msgctl): Do not use CHECK_1.
24469 (__new_msgctl): Likewise.
24470 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24471 <bp-checks.h>.
24472 (__gettimeofday): Do not use CHECK_1.
24473 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24474 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24475 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24476 <bp-checks.h>.
24477 (__gettimeofday): Do not use CHECK_1.
24478 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24479 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24480 (__new_shmctl): Do not use CHECK_1.
24481 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24482 <bp-checks.h>.
24483 (do_sigtimedwait): Do not use CHECK_1.
24484 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24485 <bp-checks.h>.
24486 (do_sigwaitinfo): Do not use CHECK_1.
24487 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24488 <bp-checks.h>.
24489 (msgctl): Do not use CHECK_1.
24490 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24491 <bp-checks.h>.
24492 (shmctl): Do not use CHECK_1.
24493 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24494 (ustat): Do not use CHECK_1.
24495 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24496 <bp-checks.h>.
24497 (__fxstat): Do not use CHECK_1.
24498 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24499 <bp-checks.h>.
24500 (__fxstatat): Do not use CHECK_1.
24501 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24502 <bp-checks.h>.
24503 (__lxstat): Do not use CHECK_1.
24504 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24505 <bp-checks.h>.
24506 (__xstat): Do not use CHECK_1.
24507 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24508 (__xstat): Do not use CHECK_1.
24509 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24510 (___xstat64): Do not use CHECK_1.
24511
b2c9eff4
JM
24512 [BZ #13550]
24513 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24514 definitions.
24515 (CHECK_BOUNDS_HIGH): Likewise.
24516 * string/strcpy.c: Do not include <bp-checks.h>.
24517 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24518
f1d70dad
RM
245192013-02-07 Roland McGrath <roland@hack.frob.com>
24520
24521 * nscd/nscd-client.h (__nscd_drop_map_ref):
24522 Add __attribute__ ((unused)).
24523 * nis/nss-nisplus.h (niserr2nss): Likewise.
24524
24525 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24526 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24527
24528 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24529 Remove inline keyword.
24530 * include/rounding-mode.h (round_away): Likewise.
24531 * libio/wfileops.c (adjust_wide_data): Likewise.
24532 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24533 (__m128i_strloadu_tolower): Likewise.
24534 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24535 (__m128i_strloadu_tolower): Likewise.
24536 * time/mktime.c (ydhms_diff): Likewise.
24537 * locale/elem-hash.h (elem_hash): Likewise.
24538 * locale/setlocale.c (setdata): Likewise.
24539 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24540 (re_string_wchar_at): Likewise.
24541 (bitset_not, bitset_merge, bitset_mask): Likewise.
24542 [!(__GNUC__ > 3)] (inline): Remove macro.
24543 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24544 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24545 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24546 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24547 * string/memcmp.c (memcmp_bytes): Likewise.
24548 * locale/programs/locarchive.c (compute_hashval): Likewise.
24549 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24550 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24551 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24552 * nss/getent.c (print_rpc, print_protocols): Likewise.
24553 (print_passwd, print_group, print_aliases): Likewise.
24554 * nis/nss-nisplus.h (niserr2nss): Likewise.
24555 * nscd/connections.c (restart_p): Likewise.
24556 Change return type to bool.
24557
eab55bfb
RM
245582013-02-05 Roland McGrath <roland@hack.frob.com>
24559
7bd642f5
RM
24560 * Makeconfig (all-Depend-files): Add existing
24561 $(sorted-subdirs:=/Depend) files.
24562 (all-subdirs): Remove nss.
24563 * sysdeps/unix/inet/Subdirs: Add it here instead.
24564 * hesiod/Depend: New file.
24565
573c29b2
RM
24566 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24567 instead of calling alloca.
24568
b2e25af0
RM
24569 * io/lseek.c (__lseek): Rename to __libc_lseek.
24570 Define __lseek as an alias.
24571
eab55bfb
RM
24572 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24573
9a0d1941
CD
245742013-02-04 Carlos O'Donell <carlos@redhat.com>
24575
24576 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24577 else clause and remove check for non-standard endianness.
24578
b83bbec4
DM
245792013-02-04 David S. Miller <davem@davemloft.net>
24580
24581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24582
6277fdab
JM
245832013-02-04 Joseph Myers <joseph@codesourcery.com>
24584
24585 [BZ #13550]
24586 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24587 (__ubp_memchr): Remove prototype.
24588 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24589 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24590 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24591 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24592 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24593 Remove alias.
24594 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24595 (__ubp_memchr): Likewise.
24596 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24597 (__ubp_memchr): Likewise.
24598 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24599 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24600 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24601 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24602 CHECK_STRING.
24603 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24604 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24605 (__getcwd): Do not use CHECK_STRING.
24606 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24607 <bp-checks.h>.
24608 (__real_chown): Do not use CHECK_STRING.
24609 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24610 <bp-checks.h>.
24611 (fchownat): Do not use CHECK_STRING.
24612 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24613 CHECK_STRING.
24614 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24615 <bp-checks.h>.
24616 (__lchown): Do not use CHECK_STRING.
24617 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24618 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24619 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24620 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24622 include <bp-checks.h>.
24623 (truncate64): Do not use CHECK_STRING.
24624 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24625 <bp-checks.h>.
24626 (__real_chown): Do not use CHECK_STRING.
24627 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24628 <bp-checks.h>.
24629 (__lchown): Do not use CHECK_STRING.
24630 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24631 <bp-checks.h>.
24632 (__chown): Do not use CHECK_STRING.
24633 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24634 <bp-checks.h>.
24635 (truncate64): Do not use CHECK_STRING.
24636 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24637 Likewise.
24638 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24639 (__xmknod): Do not use CHECK_STRING.
24640 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24641 <bp-checks.h>.
24642 (__xmknodat): Do not use CHECK_STRING.
24643 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24644 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24645
903ae060
AS
246462013-02-04 Andreas Schwab <schwab@suse.de>
24647
24648 [BZ #14142]
24649 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24650 * include/netdb.h: Likewise for h_errno.
24651 * elf/tst-stackguard1.c: Include <tls.h>.
24652
542f9466
JK
246532013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24654
24655 * elf/link.h (struct link_map): Extend the l_addr comment.
24656 * include/link.h (struct link_map): Likewise.
24657
e782a927
JM
246582013-02-01 Joseph Myers <joseph@codesourcery.com>
24659
24660 [BZ #13550]
24661 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24662 (BOUNDED_1): Remove macro.
24663 * debug/backtrace.c: Don't include <bp-checks.h>.
24664 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24665 (__backtrace): Likewise.
24666 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24667 <bp-checks.h>.
24668 (__backtrace): Don't use BOUNDED_1.
24669 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24670 <bp-checks.h>.
24671 (__backtrace): Don't use BOUNDED_1.
24672 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24673 (__backtrace): Don't use BOUNDED_1.
24674 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24675 (shmat): Don't use BOUNDED_N.
24676
8cf28c5e
JM
246772013-01-31 Joseph Myers <joseph@codesourcery.com>
24678
3a7ac8a0
JM
24679 [BZ #13550]
24680 * sysdeps/generic/bp-start.h: Remove file.
24681 * csu/libc-start.c: Don't include <bp-start.h>.
24682 (LIBC_START_MAIN): Set up __environ directly instead of using
24683 INIT_ARGV_and_ENVIRON.
24684 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24685 <bp-start.h>.
24686
f3499f95
JM
24687 [BZ #13550]
24688 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24689 definitions.
24690 (CHECK_FCNTL): Likewise.
24691 (CHECK_N_PAGES): Likewise.
24692
32a45bea
JM
24693 [BZ #13550]
24694 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24695 definitions.
24696 (CHECK_SIGSET_NULL_OK): Likewise.
24697 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24698 <bp-checks.h>.
24699 (sigpending): Don't use CHECK_SIGSET.
24700 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24701 <bp-checks.h>.
24702 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24703 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24704 <bp-checks.h>.
24705 (do_sigsuspend): Don't use CHECK_SIGSET.
24706 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24707 use CHECK_SIGSET.
24708 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24709 (do_sigwait): Don't use CHECK_SIGSET.
24710 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24711 use CHECK_SIGSET.
24712 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24713 include <bp-checks.h>.
24714 (sigpending): Don't use CHECK_SIGSET.
24715 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24716 include <bp-checks.h>.
24717 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24718 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24719 <bp-checks.h>.
24720 (sigpending): Don't use CHECK_SIGSET.
24721 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24722 <bp-checks.h>.
24723 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24724
2e8a5c8c
JM
24725 [BZ #13550]
24726 * sysdeps/generic/bp-semctl.h: Remove file.
24727 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24728 <bp-checks.h> and <bp-semctl.h>.
24729 (__old_semctl): Don't use CHECK_SEMCTL.
24730 (__new_semctl): Likewise.
24731 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24732 and <bp-semctl.h>.
24733 (__old_semctl): Don't use CHECK_SEMCTL.
24734 (__new_semctl): Likewise.
24735 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24736 <bp-checks.h> and <bp-semctl.h>.
24737 (__old_semctl): Don't use CHECK_SEMCTL.
24738 (__new_semctl): Likewise.
24739 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24740 <bp-checks.h> and <bp-semctl.h>.
24741 (semctl): Don't use CHECK_SEMCTL.
24742
c2d54929
JM
24743 [BZ #13550]
24744 * Makerules (elide-bp-thunks): Remove variable.
24745 (elide-routines.oS): Don't use $(elide-bp-thunks).
24746 (elide-routines.os): Likewise.
24747 (elide-routines.o): Likewise.
24748 (elide-routines.op): Likewise.
24749 (elide-routines.og): Likewise.
24750 (objects): Don't use $(bp-thunks).
24751 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24752 include.
24753 (common-generated): Do not add s-proto-bp.d.
24754 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24755 (int): Likewise.
24756 (typ): Likewise.
24757 Do not generate makefile rules for bounded-pointer thunks.
24758 * sysdeps/generic/bp-thunks.h: Remove file.
24759 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24760 * sysdeps/unix/s-proto-bp.S: Likewise.
24761
8cf28c5e
JM
24762 [BZ #15062]
24763 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24764 parts of result separately when argument is not close to line from
24765 -i to i and one part of argument is small.
24766 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24767 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24768 * math/libm-test.inc (cacos_test): Add more tests.
24769 (casin_test): Likewise.
24770 (casinh_test): Likewise.
24771 * sysdeps/i386/fpu/libm-test-ulps: Update.
24772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24773
c4e33b8d
DM
247742013-01-31 David S. Miller <davem@davemloft.net>
24775
24776 * po/de.po: Update from translation team.
24777
3b60b421
MK
247782013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24779
24780 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24781
bb931195
TS
247822013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24783
b5a5da23
TS
24784 * configure.in (_AC_PROG_CC_C89): New definition.
24785 * configure: Regenerate.
24786
bb931195
TS
24787 * configure.in (AC_PROG_CPP): New definition.
24788 * configure: Regenerate.
24789
8c53a12c
JM
247902013-01-23 Joseph Myers <joseph@codesourcery.com>
24791
24792 * debug/tst-backtrace.h: New file.
24793 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24794 (ret): Remove variable.
24795 (x): Likewise.
24796 (FAIL): Remove macro.
24797 (NO_INLINE): Likewise.
24798 (fn1): Use match function instead of strstr.
24799 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24800 (ret): Remove variable.
24801 (x): Likewise.
24802 (FAIL): Remove macro.
24803 (NO_INLINE): Likewise.
24804 (fn): Use match function instead of strstr.
24805 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24806 (ret): Remove variable.
24807 (x): Likewise.
24808 (FAIL): Remove macro.
24809 (NO_INLINE): Likewise.
24810 (handle_signal): Use match function instead of strstr.
24811 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24812 (ret): Remove variable.
24813 (x): Likewise.
24814 (FAIL): Remove macro.
24815 (NO_INLINE): Likewise.
24816 (handle_signal): Use match function instead of strstr.
24817
4858fa2a
RM
248182013-01-23 Roland McGrath <roland@hack.frob.com>
24819
24820 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24821
bae8e7f5
DM
248222013-01-23 David S. Miller <davem@davemloft.net>
24823
24824 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24825 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24826 argument of CAS if possible.
24827 * sysdeps/sparc/sparc64/bits/atomic.h
24828 (__arch_compare_and_exchange_val_32_acq): Likewise.
24829 (__arch_compare_and_exchange_val_64_acq): Likewise.
24830
9cbbc4ae
PT
248312013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24832
24833 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24834 * sysdeps/posix/ulimit.c: ... this.
92a601b8 24835 Include <limits.h>.
67b3f58c 24836 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 24837
5655a0b5
AC
248382013-01-23 Adam Conrad <adconrad@0c3.net>
24839
24840 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24841 (LDFLAGS-tst-array5): Likewise.
24842
052aff95
JM
248432013-01-23 Joseph Myers <joseph@codesourcery.com>
24844
24845 [BZ #15036]
24846 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24847 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24848 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24849 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24850
7c1e01aa
DM
248512013-01-21 David S. Miller <davem@davemloft.net>
24852
24853 * sysdeps/sparc/backtrace.c: New file.
24854 * sysdeps/sparc/sparc32/backtrace.h: New file.
24855 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24856 * sysdeps/sparc/sparc64/backtrace.h: New file.
24857 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24858 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24859 -funwind-tables.
24860
ab087e0a
AS
248612013-01-21 Andreas Schwab <schwab@suse.de>
24862
24863 [BZ #15020]
24864 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24865 closed its stdout.
24866
ed689c2f
AS
248672013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24868
24869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24870 "mpa2.h".
24871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24872
31d470ac
JM
248732013-01-18 Joseph Myers <joseph@codesourcery.com>
24874 Mark Mitchell <mark@codesourcery.com>
24875 Tom de Vries <tom@codesourcery.com>
24876 Paul Pluzhnikov <ppluzhnikov@google.com>
24877
24878 * debug/tst-backtrace2.c: New file.
24879 * debug/tst-backtrace3.c: Likewise.
24880 * debug/tst-backtrace4.c: Likewise.
24881 * debug/tst-backtrace5.c: Likewise.
24882 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24883 (CFLAGS-tst-backtrace3.c): Likewise.
24884 (CFLAGS-tst-backtrace4.c): Likewise.
24885 (CFLAGS-tst-backtrace5.c): Likewise.
24886 (LDFLAGS-tst-backtrace2): Likewise.
24887 (LDFLAGS-tst-backtrace3): Likewise.
24888 (LDFLAGS-tst-backtrace4): Likewise.
24889 (LDFLAGS-tst-backtrace5): Likewise.
24890 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24891 tst-backtrace4 and tst-backtrace5.
24892
90567f30 248932013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
24894 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24895
24896 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24897 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24898 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24899 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24901 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24902 "+r" and remove output regs list as redundant. Add explicit inline
24903 asm to specify register of return val to work around compiler codegen
24904 bug. Remove (int) cast on return value. Add return type parameter to
24905 use in macro so that this macro does not truncate return value for
24906 64-bit values.
24907 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24908 pass to INTERNAL_VSYSCALL_NCS.
24909 (INLINE_VSYSCALL): Add 'long int' as return type to
24910 INTERNAL_VSYSCALL_NCS macro invocation.
24911 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24912 INTERNAL_VSYSCALL_NCS macro invocation.
24913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24914
d3b9ea61
SP
249152013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24916
0b57daeb
SP
24917 [BZ #14496]
24918 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24919 Fix application of SIMD FP exception mask.
24920
caa99d06
SP
24921 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24922 mp_no from a power of two.
24923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24924 __mpexp_twomm1. Use __pow_mp.
24925
d3b9ea61
SP
24926 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24927 multiplication.
24928
1dbaee3c
DM
249292013-01-17 David S. Miller <davem@davemloft.net>
24930
24931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24932
728d7b43
JM
249332013-01-17 Joseph Myers <joseph@codesourcery.com>
24934
24935 [BZ #15023]
24936 * include/complex.h: Condition contents on [!_COMPLEX_H].
24937 (__kernel_casinhf): New prototype.
24938 (__kernel_casinh): Likewise.
24939 (__kernel_casinhl): Likewise.
24940 * math/Makefile (libm_calls): Add k_casinh.
24941 * math/k_casinh.c: New file.
24942 * math/k_casinhf.c: Likewise.
24943 * math/k_casinhl.c: Likewise.
24944 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24945 finite nonzero arguments.
24946 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24947 finite nonzero arguments.
24948 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24949 finite nonzero arguments.
24950 * math/s_casinh.c: Do not include <float.h>.
24951 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24952 * math/s_casinhf.c: Do not include <float.h>.
24953 (__casinhf): Move code for finite nonzero arguments to
24954 k_casinhf.c.
24955 * math/s_casinhl.c: Do not include <float.h>.
24956 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24957 redefine.
24958 (__casinhl): Move code for finite nonzero arguments to
24959 k_casinhl.c.
24960 * math/libm-test.inc (cacos_test): Add more tests.
24961 * sysdeps/i386/fpu/libm-test-ulps: Update.
24962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24963
2a26ef3a
PT
249642013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24965
24966 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24967 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24968 [!HAVE_MREMAP]: Remove [defined linux] case.
24969 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24970
a897655d
SP
249712013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24972
24973 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24974
881ebe89 249752013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24976
24977 * elf/elf.h (R_386_SIZE32): New relocation.
24978 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24979 R_386_SIZE32.
24980 (elf_machine_rela): Likewise.
24981 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24982 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24983
59981e9b
JM
249842013-01-17 Joseph Myers <joseph@codesourcery.com>
24985
24986 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24987 (FP_FAST_FMA): Do not define.
24988 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24989 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24990 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24991 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24992 !_SOFT_FLOAT]: Likewise.
24993 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24994 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24995 value.
24996 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24997 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24998 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24999 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25000 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25001 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25002 file.
25003
cfa8054f
AS
250042013-01-16 Andreas Schwab <schwab@suse.de>
25005
25006 [BZ #14327]
25007 * include/stdlib.h (__mktemp): Add declaration.
25008 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25009 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25010
dd930cc5
SP
250112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25012
881ebe89
SP
25013 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25014 definitions.
25015 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25016 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25017 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25018 definitions here.
25019 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25020 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25021 definitions.
25022 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25023 and ONE.
25024 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25025 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25026 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25027 definitions.
25028 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25029 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25030 definitions.
25031 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 25032
dd930cc5
SP
25033 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25034
c19a9f89
DM
250352013-01-15 David S. Miller <davem@davemloft.net>
25036
1aa61767
DM
25037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25038 trunc{,f} to libm-sysdep_routes.
25039 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25041 file.
25042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25044 file.
25045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25046 file.
25047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25049 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25050 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25051 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25052 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25053 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25054 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25055
c42d5e98
DM
25056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25057 nearbyint{,f} to libm-sysdep_routes.
25058 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25060 New file.
25061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25062 file.
25063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25064 New file.
25065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25066 file.
25067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25069 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25070 file.
25071 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25072 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25073 file.
25074 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25075 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25076 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25077
c19a9f89
DM
25078 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25079 libc_feholdexcept and libc_fesetenv.
25080
357679d2
MF
250812013-01-15 Mike Frysinger <vapier@gentoo.org>
25082
25083 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25084
65a82e3d
DM
250852013-01-14 David S. Miller <davem@davemloft.net>
25086
8b954ab9
DM
25087 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25088 (SPARC_ASM_VIS2_IFUNC): Likewise.
25089 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25091 use of 'siam' instruction.
25092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25093 Likewise.
25094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25095 Likewise.
25096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25097 Likewise.
25098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25103 file.
25104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25105 file.
25106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25107 file.
25108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25109 file.
25110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25115 new VIS2 routines.
25116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25119 Likewise.
25120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25125 routines to libm-sysdep_routines.
25126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25127
65a82e3d
DM
25128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25129 fdim/fdimf to libm-sysdep_routines.
25130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25131 file.
25132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25134 file.
25135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25138 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25139 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25140 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25141 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25142
e34ab705
SP
251432013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25144
2a91b573
SP
25145 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25146 to optimize copies.
25147
1066a534
SP
25148 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25150 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25151
e34ab705
SP
25152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25153 local variable MPTWO.
25154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25155 Likewise.
25156
aba5e596
MF
251572013-01-13 Mike Frysinger <vapier@gentoo.org>
25158
25159 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25160 GLOB_NOESCAPE.
25161
e557e9e5
MF
251622013-01-13 Mike Frysinger <vapier@gentoo.org>
25163
25164 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25165
0428cec9
MF
251662013-01-13 Mike Frysinger <vapier@gentoo.org>
25167
25168 * manual/pattern.texi (glob_t): Document gl_flags.
25169 (glob64_t): Likewise.
25170
8794a964
DM
251712013-01-11 David S. Miller <davem@davemloft.net>
25172
66438c3f
RM
25173 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25174 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25175 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
25176 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25177 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25178 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25179 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25180 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25181 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25182 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25183 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25184 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25185 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25186
4ae4244d
DM
25187 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25188 sparc V9 rather than using V8 code.
25189 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25190 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25191
8794a964
DM
25192 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25193 Move to...
25194 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25195 Here.
25196
6270516e
RM
251972013-01-11 Roland McGrath <roland@hack.frob.com>
25198
25199 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25200 not in the main loop.
25201 * configure: Regenerated.
25202
6a57d931
JM
252032013-01-11 Joseph Myers <joseph@codesourcery.com>
25204
25205 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25206 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25207 to just #else.
25208 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25209 [!__GLIBC_HAVE_LONG_LONG] case.
25210 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25211 condition to just #else.
25212 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25213 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25214 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25215 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25216 unconditional.
25217 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25218 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25219 #elif condition to just #else.
25220 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25221 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25222 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25223 #elif condition to just #else.
25224
0e8529e9
SE
252252013-01-11 Steve Ellcey <sellcey@mips.com>
25226
25227 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25228 (EF_MIPS_ARCH_64): Fix value.
25229 (EF_MIPS_ARCH_32R2): New.
25230 (EF_MIPS_ARCH_64R2): New.
25231
740b3dbe
L
252322013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25233
25234 * Makeconfig (+link-pie-before-libc): New.
25235 (+link-pie-after-libc): Likewise.
25236 (+link-pie-tests): Likewise.
25237 (+link-pie): Rewritten.
25238 (link-before-libc): Remove $(config-LDFLAGS).
25239 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25240 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25241 (config-LDFLAGS): Renamed to ...
25242 (rtld-LDFLAGS): This.
25243 (rtld-tests-LDFLAGS): New macro.
25244 (link-libc-rpath-link): Likewise.
25245 (link-libc-tests-rpath-link): Likewise.
25246 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25247 (link-libc): Prepand $(link-libc-rpath-link).
25248 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25249 (test-program-prefix): New macro.
25250 (test-via-rtld-prefix): Likewise.
25251 (test-program-cmd): Likewise.
25252 (host-test-program-cmd): Likewise.
25253 * Makefile ($(common-objpfx)testrun.sh): Replace
25254 $(run-program-prefix) with $(test-program-prefix).
25255 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25256 $(rtld-LDFLAGS).
25257 ($(common-objpfx)shlib.lds): Likewise.
25258 (build-module-helper): Likewise.
25259 ($(common-objpfx)format.lds): Likewise.
25260 * Rules (binaries-pie-tests): New.
25261 (binaries-pie-notests): Likewise.
25262 (binaries-pie): Rewritten.
25263 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25264 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25265 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25266 (make-test-out): Replace $(host-built-program-cmd) with
25267 $(host-test-program-cmd).
25268 * config.make.in (build-hardcoded-path-in-tests): New variable.
25269 * configure.in (--enable-hardcoded-path-in-tests): New configure
25270 option.
25271 (hardcoded_path_in_tests): New AC_SUBST.
25272 * configure: Regenerated.
25273 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25274 $(built-program-cmd) with $(test-program-cmd).
25275 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25276 (test_program_cmd): This.
25277 * elf/Makefile ($(objpfx)order.out): Run test with
25278 $(test-program-prefix).
25279 ($(objpfx)order2.out): Likewise.
25280 ($(objpfx)tst-initorder.out): Likewise.
25281 ($(objpfx)tst-initorder2.out): Likewise.
25282 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25283 $(test-program-cmd).
25284 ($(objpfx)tst-array1-static.out): Likewise.
25285 ($(objpfx)tst-array2.out): Likewise.
25286 ($(objpfx)tst-array3.out): Likewise.
25287 ($(objpfx)tst-array4.out): Likewise.
25288 ($(objpfx)tst-array5.out): Likewise.
25289 ($(objpfx)tst-array5-static.out): Likewise.
25290 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25291 $(test-program-cmd).
25292 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25293 $(run-program-prefix) with $(test-program-prefix).
25294 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25295 (test_program_prefix): This.
25296 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25297 $(run-program-prefix) with $(test-program-prefix).
25298 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25299 (test_program_prefix): This.
25300 * iconvdata/tst-tables.sh: Likewise.
25301 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25302 $(run-program-prefix) with $(test-program-prefix).
25303 ($(objpfx)tst-translit.out): Likewise.
25304 ($(objpfx)tst-gettext2.out): Likewise.
25305 ($(objpfx)tst-gettext4.out): Likewise.
25306 ($(objpfx)tst-gettext6.out): Likewise.
25307 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25308 (test_program_prefix): This.
25309 * intl/tst-gettext2.sh: Likewise.
25310 * intl/tst-gettext4.sh Likewise.
25311 * intl/tst-gettext6.sh: Likewise.
25312 * intl/tst-translit.sh: Likewise.
25313 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25314 with $(test-program-cmd).
25315 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25316 $(run-program-prefix) with $(test-program-prefix).
25317 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25318 (test_program_prefix): This.
25319 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25320 $(run-program-prefix) with $(test-program-prefix).
25321 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25322 (test_program_prefix): This.
25323 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25324 * posix/Makefile ($(objpfx)globtest.out): Replace
25325 $(run-via-rtld-prefix) and $(test-wrapper) with
25326 $(test-program-prefix) and $(test-via-rtld-prefix).
25327 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25328 $(test-program-prefix).
25329 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25330 $(host-test-program-cmd).
25331 (tst-spawn-ARGS): Likewise.
25332 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25333 $(test-program-prefix).
25334 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25335 (test_via_rtld_prefix): This.
25336 (test_wrapper): Renamed to ...
25337 (test_program_prefix): This.
25338 (run_program_prefix): Replaced by test_program_prefix.
25339 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25340 (test_program_prefix): This.
25341 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25342 with $(host-test-program-cmd).
25343 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25344 $(run-program-prefix) with $(test-program-prefix).
25345 ($(objpfx)tst-printf.out): Likewise.
25346 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25347 $(test-program-cmd).
25348 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25349 (test_program_prefix): This.
25350 * stdio-common/tst-unbputc.sh: Likewise.
25351 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25352 $(run-program-prefix) with $(test-program-prefix).
25353 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25354 (test_program_prefix): This.
25355 * string/Makefile ($(objpfx)tst-svc.out): Replace
25356 $(built-program-cmd) with $(test-program-cmd).
25357
c6fe55cf
AJ
253582013-01-11 Andreas Jaeger <aj@suse.de>
25359
25360 [BZ #15003]
25361 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25362 value. Sync with Linux 3.7.
25363
9e6919c8
DM
253642013-01-10 David S. Miller <davem@davemloft.net>
25365
25366 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25367 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25368 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25369
1c9f1a02
RM
253702013-01-10 Roland McGrath <roland@hack.frob.com>
25371
25372 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25373 never set.
25374 * configure: Regenerated.
25375
b9de2dde
DM
253762013-01-10 David S. Miller <davem@davemloft.net>
25377
25378 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25379 sparc V9 rather than using V8 code.
25380 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25381 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25382
e7f68ef4
RM
253832013-01-10 Roland McGrath <roland@hack.frob.com>
25384
25385 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25386 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25387 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25388 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25389 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25390 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25391 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25392 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25393 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25394 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25395 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25396 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25397 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25398 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25399 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25400 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25401 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25402 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25403 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25404 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25405 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25406 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25407 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25408 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25409 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25410 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25411 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25412
5a47cc9c
DM
254132013-01-10 David S. Miller <davem@davemloft.net>
25414
25415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25416
4cf8f209
L
254172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25418
25419 * posix/Makefile (tests-static): New variable.
25420 (tests): Add $(tests-static).
25421 (tst-exec-static-ARGS): New variable.
25422 (tst-spawn-static-ARGS): Likewise.
25423 * posix/tst-exec-static.c: New file.
25424 * posix/tst-spawn-static.c: Likewise.
25425 * posix/tst-exec.c: Support run directly.
25426 * posix/tst-spawn.c: Likewise.
25427
fed0faa1
JM
254282013-01-10 Joseph Myers <joseph@codesourcery.com>
25429
828beb13
JM
25430 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25431 long.
25432 * math/bits/mathcalls.h (llrint): Likewise.
25433 (llround): Likewise.
25434 * stdlib/stdlib.h (struct drand48_data): Likewise.
25435 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25436 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25437 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25438 Likewise.
25439 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25440 Likewise.
25441 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25442 (elf_greg_t): Likewise.
25443 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25444 (__jmp_buf): Likewise.
25445 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25446 definitions.
25447 (llrint): Likewise, for all definitions.
25448 (llrintl): Likewise.
25449
fed0faa1
JM
25450 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25451 Remove [__GNUC__] condition.
25452 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25453 condition to just [__USE_ISOC99].
25454 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25455
1a20cb20
L
254562013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25457
25458 [BZ #14200]
25459 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25460 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25461 defined.
25462 (_POSIX_V6_ILP32_OFF32): Likewise.
25463 (_XBS5_ILP32_OFF32): Likewise.
25464 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25465 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25466
751b85f7
SP
254672013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25468
7490eb81
SP
25469 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25470
751b85f7
SP
25471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25472 doubles __mpexp_twomm1. Adjust usage.
25473 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25474 Remove.
25475
988197f0
AS
254762013-01-10 Andreas Schwab <schwab@suse.de>
25477
25478 [BZ #14964]
25479 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25480 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25481
e83d7298
DM
254822013-01-09 David S. Miller <davem@davemloft.net>
25483
034ed64b 25484 [BZ #15003]
57f41c40
AS
25485 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25486 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25487 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25488 (TCP_FASTOPEN): Define.
e83d7298
DM
25489 (tcp_repair_opt): New structure.
25490 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25491 enum values.
57f41c40
AS
25492 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25493 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25494 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25495 (tcp_cookie_transactions): New structure.
25496
d5e0b9bd
AB
254972013-01-09 Anton Blanchard <anton@samba.org>
25498
25499 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25500 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25501 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25502 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25503
0c07e3ea
JM
255042013-01-09 Joseph Myers <joseph@codesourcery.com>
25505
25506 * include/features.h (__USE_ANSI): Remove.
25507
232f7002
RM
255082013-01-09 Roland McGrath <roland@hack.frob.com>
25509
ad98e30c
RM
25510 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25511
232f7002
RM
25512 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25513
950c99ca
SP
255142013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25515
b5792741
SP
25516 * sysdeps/s390/fpu/libm-test-ulps: Update.
25517
47cf2278
SP
25518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25519
950c99ca
SP
25520 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25521 (__acr): Likewise.
25522 (__cpy): Likewise.
25523 (norm): Likewise.
25524 (denorm): Likewise.
25525 (__mp_dbl): Likewise.
25526 (__dbl_mp): Likewise.
25527 (add_magnitudes): Likewise.
25528 (sub_magnitudes): Likewise.
25529 (__add): Likewise.
25530 (__sub): Likewise.
25531 (__mul): Likewise.
25532 (__inv): Likewise.
25533 (__dvd): Likewise.
25534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25535 (__acr): Likewise.
25536 (__cpy): Likewise.
25537 (norm): Likewise.
25538 (denorm): Likewise.
25539 (__mp_dbl): Likewise.
25540 (__dbl_mp): Likewise.
25541 (add_magnitudes): Likewise.
25542 (sub_magnitudes): Likewise.
25543 (__add): Likewise.
25544 (__sub): Likewise.
25545 (__mul): Likewise.
25546 (__inv): Likewise.
25547 (__dvd): Likewise.
25548 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25549 (__acr): Likewise.
25550 (__cpy): Likewise.
25551 (norm): Likewise.
25552 (denorm): Likewise.
25553 (__mp_dbl): Likewise.
25554 (__dbl_mp): Likewise.
25555 (add_magnitudes): Likewise.
25556 (sub_magnitudes): Likewise.
25557 (__add): Likewise.
25558 (__sub): Likewise.
25559 (__mul): Likewise.
25560 (__inv): Likewise.
25561 (__dvd): Likewise.
25562
eede9df9
JM
255632013-01-08 Joseph Myers <joseph@codesourcery.com>
25564
25565 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25566 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25567 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25568 2 && __USE_EXTERN_INLINES]: Likewise.
25569
c40ea3d9
AJ
255702013-01-08 Andreas Jaeger <aj@suse.de>
25571
25572 [BZ# 14985]
25573 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25574 Remove.
25575 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25576 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25577
2ccdea26
AB
255782013-01-07 Anton Blanchard <anton@samba.org>
25579
25580 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25581 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25582 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25583 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25584 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25585 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25586 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25587 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25589 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25590 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25591 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25592 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25593 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25594 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25595 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25596 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25597 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25598 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25599 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25600 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25601 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25602 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25603 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25604 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25605 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25606 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25607 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25608 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25609 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25610 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25612 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25613 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25614 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25615 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25616 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25617 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25618 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25619 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25620 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25621 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25622 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25623
a9708fed
JM
256242013-01-07 Joseph Myers <joseph@codesourcery.com>
25625
375607b9
JM
25626 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25627 (__MALLOC_PMT): Likewise.
25628 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25629 [__GNUC__], only on [_LIBC].
25630 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25631 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25632 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25633 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25634 forward declaration.
25635 (realloc_hook_ini): Likewise.
25636 (memalign_hook_ini): Likewise.
25637 (__libc_memalign): Do not use __MALLOC_PMT in variable
25638 declaration.
25639 (__libc_valloc): Likewise.
25640 (__libc_pvalloc): Likewise.
25641 (__libc_calloc): Likewise.
25642 (__posix_memalign): Likewise.
25643
a9708fed
JM
25644 [BZ #14996]
25645 * math/s_casinh.c: Include <float.h>.
25646 (__casinh): Do not do computation with squaring and square root
25647 for large arguments.
25648 * math/s_casinhf.c: Include <float.h>.
25649 (__casinhf): Do not do computation with squaring and square root
25650 for large arguments.
25651 * math/s_casinhl.c: Include <float.h>.
25652 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25653 (__casinhl): Do not do computation with squaring and square root
25654 for large arguments.
25655 * math/libm-test.inc (casin_test): Add more tests.
25656 (casinh_test): Likewise.
25657 * sysdeps/i386/fpu/libm-test-ulps: Update.
25658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25659
afec409a
L
256602013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25661
25662 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25663 (__x86_64_raw_data_cache_size): Likewise.
25664 (__x86_64_data_cache_size_half): Likewise.
25665 (__x86_64_raw_data_cache_size_half): Likewise.
25666 (__x86_64_shared_cache_size): Likewise.
25667 (__x86_64_raw_shared_cache_size): Likewise.
25668 (__x86_64_shared_cache_size_half): Likewise.
25669 (__x86_64_raw_shared_cache_size_half): Likewise.
25670 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25671 to ...
25672 (__x86_data_cache_size): This.
25673 (__x86_64_raw_data_cache_size): Renamed to ...
25674 (__x86_raw_data_cache_size): This.
25675 (__x86_64_data_cache_size_half): Renamed to ...
25676 (__x86_data_cache_size_half): This.
25677 (__x86_64_raw_data_cache_size_half): Renamed to ...
25678 (__x86_raw_data_cache_size_half): This.
25679 (__x86_64_shared_cache_size): Renamed to ...
25680 (__x86_shared_cache_size): This.
25681 (__x86_64_raw_shared_cache_size): Renamed to ...
25682 (__x86_raw_shared_cache_size): This.
25683 (__x86_64_shared_cache_size_half): Renamed to ...
25684 (__x86_shared_cache_size_half): This.
25685 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25686 (__x86_raw_shared_cache_size_half): This.
25687 * sysdeps/x86_64/memcpy.S: Updated.
25688 * sysdeps/x86_64/memset.S: Likewise.
25689 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25690 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25691 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25692
0b3986d0
DM
256932013-01-04 David S. Miller <davem@davemloft.net>
25694
25695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25696
e47686e9
AS
256972013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25698
d643bac1
AS
25699 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25700 1 to avoid redefinition warning.
25701 (__USE_GNU): Don't define.
25702 (init_signaling_nan): Protoize.
25703
e47686e9
AS
25704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25705
b18decba
SP
257062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25707
fffb407f
SP
25708 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25710 (__cpymn): Likewise.
25711 (norm): Remove commented code.
25712 (denorm): Likewise.
25713 (__mp_dbl): Likewise.
25714 (__inv): Likewise.
25715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25716 (__cpymn): Likewise.
25717 (norm): Remove commented code.
25718 (denorm): Likewise.
25719 (__mp_dbl): Likewise.
25720 (__inv): Likewise.
25721
b18decba
SP
25722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25723 mp_no value for 1.0 and 2.0.
25724 (norm): Use RADIXI instead of radixi.d.
25725 (denorm): Likewise.
25726 (__mul): Use 0.0 instead of zero.d.
25727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25728 mp_no value for 1.0 and 2.0.
25729 (norm): Use RADIXI instead of radixi.d.
25730 (denorm): Likewise.
25731 (__mul): Use 0.0 instead of zero.d.
25732
cdc1c96f
JM
257332013-01-04 Joseph Myers <joseph@codesourcery.com>
25734
25735 [BZ #14994]
25736 * math/s_casinh.c (__casinh): Reduce finite argument to first
25737 quadrant then set signs of results at the end.
25738 * math/s_casinhf.c (__casinhf): Likewise.
25739 * math/s_casinhl.c (__casinhl): Likewise.
25740 * math/libm-test.inc (casin_test): Add more tests.
25741 (casinh_test): Likewise.
25742 * sysdeps/i386/fpu/libm-test-ulps: Update.
25743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25744
302913e1
SP
257452013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25746
6420d207
SP
25747 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25748
a9e48ab4
SP
25749 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25750
b7837264
SP
25751 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25752 declarations.
25753 (denorm): Likewise.
25754 (__mp_dbl): Likewise.
25755 (__inv): Likewise.
25756
f8af25d2
SP
25757 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25758 and adjust the header comment.
25759
302913e1
SP
25760 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25761 variable name from declaration.
25762
5d7dd1ca
L
257632013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25764
25765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25766 Initialize COMMON_CPUID_INDEX_7 element.
25767 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25768 (CPUID_RTM): Likewise.
25769 (HAS_RTM): Likewise.
25770 (COMMON_CPUID_INDEX_7): New enum.
25771
2f5f40f4
AS
257722013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25773
25774 [BZ #14981]
25775 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25776 size is zero, record memory as freed.
25777
4056f4a0
AJ
257782013-01-03 Andreas Jaeger <aj@suse.de>
25779
25780 * po/ia.po: Add new Interlingua translation.
25781
ab15736f 257822012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
25783
25784 * locale/programs/localedef.c: Fix description of '--posix' flag.
25785
568035b7
JM
257862013-01-02 Joseph Myers <joseph@codesourcery.com>
25787
e6898b8d
JM
25788 * NEWS: Update dates in second copyright notice.
25789 * README: Update copyright dates in example.
25790 * manual/libc.texinfo: Update copyright dates.
25791 * scripts/test-installation.pl: Update copyright date in --version
25792 output.
25793
0e2f9562
JM
25794 * hurd/ctty-input.c: Fix copyright notice formatting.
25795 * hurd/ctty-output.c: Likewise.
25796 * hurd/dtable.c: Likewise.
25797 * hurd/hurd-raise.c: Likewise.
25798 * hurd/hurdprio.c: Likewise.
25799 * hurd/msgportdemux.c: Likewise.
25800 * misc/sys/file.h: Likewise.
25801 * misc/sys/ioctl.h: Likewise.
25802 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25803 * sysdeps/mach/hurd/chdir.c: Likewise.
25804 * sysdeps/mach/hurd/fchdir.c: Likewise.
25805 * sysdeps/mach/hurd/rename.c: Likewise.
25806 * sysdeps/mach/hurd/rmdir.c: Likewise.
25807 * sysdeps/mach/hurd/seekdir.c: Likewise.
25808 * sysdeps/mach/hurd/setsid.c: Likewise.
25809 * sysdeps/posix/wait3.c: Likewise.
25810
568035b7
JM
25811 * All files with FSF copyright notices: Update copyright dates
25812 using scripts/update-copyrights.
25813 * intl/plural.c: Regenerated.
25814 * locale/programs/charmap-kw.h: Likewise.
25815 * locale/programs/locfile-kw.h: Likewise.
25816
da08f647
SP
258172013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25818
0f5477af
SP
25819 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25820 four values.
25821
44e0d4c2
SP
25822 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25823 calculation loop and add branch prediction.
25824
4d55b4e5
SP
25825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25826 check access beyond bounds of m1np.
25827
da08f647
SP
25828 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25829 MPTWO.
25830 (__inv): Remove local variable MPTWO to use the global
25831 constant.
25832 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25833 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25834 variable MPTWO.
25835 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25836 MP3HALFS static const.
25837
8e051029
DM
258382013-01-01 David S. Miller <davem@davemloft.net>
25839
25840 * po/ca.po: Update from translation team.
25841
f4cf5f2d
JM
258422013-01-01 Joseph Myers <joseph@codesourcery.com>
25843
25844 * scripts/update-copyrights: New file.
25845 * Makeconfig: Reformat copyright notice.
25846 * ctype/ctype.h: Likewise.
25847 * debug/swprintf_chk.c: Likewise.
25848 * elf/dl-cache.c: Likewise.
25849 * elf/dl-debug.c: Likewise.
25850 * elf/dl-object.c: Likewise.
25851 * grp/initgroups.c: Likewise.
25852 * hurd/Makefile: Likewise.
25853 * hurd/hurd/signal.h: Likewise.
25854 * hurd/hurdfault.c: Likewise.
25855 * hurd/hurdioctl.c: Likewise.
25856 * hurd/hurdlookup.c: Likewise.
25857 * hurd/intr-msg.c: Likewise.
25858 * iconv/gconv_open.c: Likewise.
25859 * libio/swprintf.c: Likewise.
25860 * locale/lc-ctype.c: Likewise.
25861 * locale/nl_langinfo.c: Likewise.
25862 * mach/Machrules: Likewise.
25863 * mach/Makefile: Likewise.
25864 * malloc/obstack.h: Likewise.
25865 * manual/Makefile: Likewise.
25866 * manual/tsort.awk: Likewise.
25867 * misc/bits/stab.def: Likewise.
25868 * nis/nis_print_group_entry.c: Likewise.
25869 * nis/nis_table.c: Likewise.
25870 * nis/nss_compat/compat-pwd.c: Likewise.
25871 * nis/nss_compat/compat-spwd.c: Likewise.
25872 * po/Makefile: Likewise.
25873 * posix/fnmatch.c: Likewise.
25874 * posix/regex.h: Likewise.
25875 * resolv/Makefile: Likewise.
25876 * resolv/nss_dns/dns-network.c: Likewise.
25877 * resolv/res_hconf.c: Likewise.
25878 * scripts/gen-sorted.awk: Likewise.
25879 * soft-fp/soft-fp.h: Likewise.
25880 * stdio-common/printf.h: Likewise.
25881 * stdlib/monetary.h: Likewise.
25882 * stdlib/random.c: Likewise.
25883 * stdlib/random_r.c: Likewise.
25884 * sysdeps/generic/Makefile: Likewise.
25885 * sysdeps/gnu/Makefile: Likewise.
25886 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25888 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25891 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25892 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25893 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25894 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25896 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25897 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25898 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25899 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25900 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25901 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25902 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25903 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25904 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25906 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25907 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25908 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25909 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25910 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25914 * sysdeps/mach/hurd/errnos.awk: Likewise.
25915 * sysdeps/mach/hurd/fork.c: Likewise.
25916 * sysdeps/mach/hurd/getcwd.c: Likewise.
25917 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25918 * sysdeps/mach/hurd/mmap.c: Likewise.
25919 * sysdeps/mach/hurd/utimes.c: Likewise.
25920 * sysdeps/mach/hurd/xmknod.c: Likewise.
25921 * sysdeps/posix/profil.c: Likewise.
25922 * sysdeps/posix/readdir_r.c: Likewise.
25923 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25924 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25925 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25926 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25928 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25929 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25930 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25931 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25932 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25933 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25934 * sysdeps/pthread/lio_listio.c: Likewise.
25935 * sysdeps/sparc/dl-procinfo.h: Likewise.
25936 * sysdeps/unix/i386/sysdep.S: Likewise.
25937 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25938 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25939 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25940 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25942 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25943 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25944 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25945 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25946 * sysdeps/wordsize-32/divdi3.c: Likewise.
25947 * time/sys/time.h: Likewise.
25948 * wcsmbs/Makefile: Likewise.
25949
0549fbba
DM
259502013-01-01 David S. Miller <davem@davemloft.net>
25951
a141f1a7
DM
25952 * po/fr.po: Update from translation team.
25953
0549fbba
DM
25954 * catgets/gencat.c: Update copyright year.
25955 * csu/version.c: Likewise.
25956 * debug/catchsegv.sh: Likewise.
25957 * debug/pcprofiledump.c: Likewise.
25958 * debug/xtrace.sh: Likewise.
25959 * elf/ldconfig.c: Likewise.
25960 * elf/ldd.bash.in: Likewise.
25961 * elf/pldd.c: Likewise.
25962 * elf/sotruss.ksh: Likewise.
25963 * elf/sprof.c: Likewise.
25964 * iconv/iconv_prog.c: Likewise.
25965 * iconv/iconvconfig.c: Likewise.
25966 * locale/programs/locale.c: Likewise.
25967 * locale/programs/localedef.c: Likewise.
25968 * login/programs/pt_chown.c: Likewise.
25969 * malloc/memusage.sh: Likewise.
25970 * malloc/memusagestat.c: Likewise.
25971 * malloc/mtrace.pl: Likewise.
25972 * nscd/nscd.c: Likewise.
25973 * nss/getent.c: Likewise.
25974 * nss/makedb.c: Likewise.
25975 * posix/getconf.c: Likewise.
25976
18ea052c
SP
259772012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25978
25979 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25980 numbers.
25981
9c89fca6
MF
259822012-12-30 Mike Frysinger <vapier@gentoo.org>
25983
25984 * math/bits/mathcalls.h (modf): Use __nonnull.
25985
085ec079
SP
259862012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25987
25988 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25989 (split): Use macro CN instead of the bare value.
25990 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25991 could be used.
25992 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25993 instead of the bare value.
25994 (power1): Likewise.
25995
6d9f97e1
SP
259962012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25997
d63f73be
SP
25998 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25999 __ATAN_TWOM.
26000 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26001
6d9f97e1
SP
26002 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26003 their values.
26004 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26005 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26006 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26007 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26008
4c4febf5
AJ
260092012-12-28 Andreas Jaeger <aj@suse.de>
26010
af5843ef
AJ
26011 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26012 values are from Linux 3.7.
26013
4c4febf5
AJ
26014 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26015 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26016
99136f82
SP
260172012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26018
2f216c3c 26019 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
26020 TRUE case.
26021
99136f82
SP
26022 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26023 (norm): Likewise.
26024 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26025 variables with preprocessor constants.
26026 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26027 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26028 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26029
7fffbdff
BH
260302012-12-27 Bruno Haible <bruno@clisp.org>
26031
26032 [BZ #14317]
26033 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26034 only if needed.
26035
b76eb5f0
SP
260362012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26037
31a7fe5c
SP
26038 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26039 and use variable directly.
26040 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26041
b76eb5f0
SP
26042 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26043 MPONE.
26044 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26045 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26046 variable MPONE.
26047 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26049 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26050 include directive. Remove local variable MPONE.
26051 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26052 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26053 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26054
2c8bfe7d
DM
260552012-12-25 David S. Miller <davem@davemloft.net>
26056
26057 * version.h (RELEASE): Set to "development".
26058 (VERSION): Set to "2.17.90".
26059 * NEWS: Add 2.18 section.
26060
147d03b0
DM
260612012-12-21 David S. Miller <davem@davemloft.net>
26062
26063 * po/hr.po: Update from translation team.
26064
a8ebb2b9
AK
260652012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26066
26067 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26068
95b4f1b6
SE
260692012-12-19 Steve Ellcey <sellcey@mips.com>
26070
b2d94007 26071 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 26072
cedb2a90
MS
260732012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26074
26075 * manual/contrib.texi (Contributors): Spelling correction.
26076
bbf527d6
DM
260772012-12-15 David S. Miller <davem@davemloft.net>
26078
26079 * po/ru.po: Update from translation team.
26080
bc38c906
DM
260812012-12-13 David S. Miller <davem@davemloft.net>
26082
85429b1a
DM
26083 * NEWS: Mention IFUNC testsuite enhancements.
26084
d283e353
DM
26085 * po/pl.po: Update from translation team.
26086 * po/bg.po: Likewise.
26087
bc38c906
DM
26088 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26089 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26090
a181b0d7
DM
260912012-12-11 David S. Miller <davem@davemloft.net>
26092
4641d57e
DM
26093 * po/sv.po: Update from translation team.
26094
f7bc6495
DM
26095 * po/vi.po: Update from translation team.
26096
6fc9048f
DM
26097 * po/cs.po: Update from translation team.
26098
a181b0d7
DM
26099 * po/de.po: Update from translation team.
26100 * po/eo.po: Likewise.
26101 * po/nl.po: Likewise.
26102
f70bfe80
SP
261032012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26104
3c8b4190
SP
26105 [BZ #14246]
26106 * manual/argp.texi (Argp Helper Functions): Move node to follow
26107 Argp Parsing State.
26108
f70bfe80
SP
26109 [BZ #14872]
26110 * manual/conf.texi (Limits on File System Capacity): Mention if
26111 terminating null is included in the max size.
26112
188f0adf
AJ
261132012-12-10 Andreas Jaeger <aj@suse.de>
26114
26115 * po/cs.po: Update from translation team.
26116
56e7d3ad
SP
261172012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26118
26119 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26120 void pointer and cast to uintptr_t.
26121 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26122 path.
26123 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26124 * sysdeps/s390/s390-64/memset.S: Likewise.
26125
76f2d2ea 261262012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
26127
26128 [BZ #14833]
26129 * menual/message.texi (Message Translation): Fix typos.
26130 (Helper programs for gettext): Likewise.
26131
67cbf9a2
AS
261322012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26133
26134 [BZ #14898]
26135 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26136 Change to -1.
26137
682d0e9a
DM
261382012-12-07 David S. Miller <davem@davemloft.net>
26139
26140 * po/libc.pot: Update.
26141
573cd484
RH
261422012-12-07 Richard Henderson <rth@redhat.com>
26143
7e9da188 26144 [BZ #10114]
573cd484
RH
26145 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26146 normal/normal case to before the switch.
26147 (_FP_DIV): Likewise.
26148
e933a943
MF
261492012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26150 Mike Frysinger <vapier@gentoo.org>
26151
26152 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26153 check for __NR_fadvise64_64.
26154
82123268
CM
261552012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26156
26157 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26158 0, not just to plain "0" as a statement.
26159 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26160 with cw.
26161
d9814526
JM
261622012-12-06 Joseph Myers <joseph@codesourcery.com>
26163
26164 * NEWS: Use sourceware.org in Bugzilla URL.
26165
7728c574
SP
261662012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26167
f16946dd
SP
26168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26169 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26170
5704bbcb
SP
26171 * stdio-common/tst-put-error.c (do_test): Add newline to the
26172 padded test to ensure flush.
26173
17aa0516
JL
261742012-12-05 Jeff Law <law@redhat.com>
26175
26176 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26177
363313b5
JM
261782012-12-05 Joseph Myers <joseph@codesourcery.com>
26179
effbd42a
JM
26180 * README: Don't refer to ports add-on as distributed separately.
26181 Mention AArch64 in list of systems supported in the ports add-on.
26182
87600365
JM
26183 * LICENSES: Add more non-FSF copyright and license notices.
26184
a0d7066a
JM
26185 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26186 ((unused)).
26187
66ca5a5b
JM
26188 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26189
363313b5
JM
26190 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26191 10000 as width of padded output.
26192
b37984ad
JM
261932012-12-04 Joseph Myers <joseph@codesourcery.com>
26194
9003570a
JM
26195 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26196
b37984ad
JM
26197 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26198 variable LX with __attribute__ ((unused)).
26199 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26200 Likewise.
26201 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26202 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26203 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26204 with __attribute__ ((unused)).
26205
c8df52ec
DM
262062012-12-04 David S. Miller <davem@abraco.davemloft.net>
26207
26208 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26209
b3b099af
JM
262102012-12-04 Joseph Myers <joseph@codesourcery.com>
26211
c33aa6e3
JM
26212 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26213 (CFLAGS-nldbl-acos.c): New variable.
26214 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26215 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26216 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26217 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26218 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26219 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26220 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26221 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26222 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26223 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26224 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26225 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26226 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26227 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26228 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26229 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26230 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26231 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26232 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26233 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26234 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26235 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26236 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26237 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26238 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26239 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26240 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26241 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26242 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26243 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26244 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26245 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26246 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26247 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26248 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26249 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26250 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26251 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26252 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26253 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26254 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26255 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26256 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26257 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26258 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26259 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26260 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26261 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26262 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26263 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26264 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26265 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26266 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26267 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26268 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26269 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26270 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26271 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26272 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26273 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26274 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26275 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26276 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26277 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26278 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26279 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26280 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26281 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26282 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26283 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26284 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26285 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26286 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26287 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26288 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26289 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26290 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26291 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26292 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26293 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26294 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26295 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26296 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26297 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26298 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26299 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26300 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26301 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26302 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26303 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26304 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26305 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26306 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26307 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26308 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26309 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26310 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26311
20f0018d
JM
26312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26313 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26314
b3b099af
JM
26315 [BZ #14914]
26316 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26317 whole low double instead of just low 47 bits when splitting values
26318 into two parts.
26319
029264d1
AM
263202012-12-03 Allan McRae <allan@archlinux.org>
26321
26322 * manual/stdio.texi (Predefined Printf Handlers): Remove
26323 @hsep and @vsep usage.
26324
c9d6789e
MF
263252012-12-03 Mike Frysinger <vapier@gentoo.org>
26326
26327 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26328 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26329
4b7634a5
JL
263302012-12-03 Jeff Law <law@redhat.com>
26331
26332 * time/sys/time.h (settimeofday): Do not mark TV argument
26333 as __nonnull.
26334
eb6cbd24
MF
263352012-12-01 Mike Frysinger <vapier@gentoo.org>
26336
26337 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26338 when currently writing and seek to current position when not.
26339 * libio/Makefile (tests): Remove bug-fclose1.
26340 * libio/bug-fclose1.c: Delete.
26341
f638872a
JM
263422012-12-01 Joseph Myers <joseph@codesourcery.com>
26343
26344 * manual/arith.texi (feenableexcept): Fix typo.
26345 (fedisableexcept): Likewise.
26346
48085d14
RM
263472012-11-30 Roland McGrath <roland@hack.frob.com>
26348
26349 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26350 second, differently-typed declaration, rather than a cast.
26351
1a538b9f
SP
263522012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26353
26354 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26355 * include/rpc/svc.h: ... here.
26356
d07f2ff1 263572012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26358
26359 [BZ #13013]
26360 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26361 depending n and resplen2 to catch cases where answer
26362 equals answerp2.
26363
c93ec1f0
CD
263642012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26365
26366 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26367 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26368
37db69de
MF
263692012-11-29 Mike Frysinger <vapier@gentoo.org>
26370
26371 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26372
e10c4e4f
RM
263732012-11-29 Roland McGrath <roland@hack.frob.com>
26374
26375 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26376
2af1b328
JL
263772012-11-28 Jeff Law <law@redhat.com>
26378
26379 [BZ #13761]
26380 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26381 dataset_temporary. Track alloca usage into alloca_used.
26382 If dataset is large allocate and release it via malloc/free.
26383
111db5b1
FW
263842012-06-04 Florian Weimer <fweimer@redhat.com>
26385
f06cc227 26386 [BZ #14197]
111db5b1
FW
26387 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26388
dd694abd
DM
263892012-11-28 David S. Miller <davem@davemloft.net>
26390
26391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26392
9984dd01
JM
263932012-11-28 Joseph Myers <joseph@codesourcery.com>
26394
26395 [BZ #14803]
26396 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26397 of pi/2 rounded to nearest to 64 bits.
26398 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26399 nearest to 64 bits.
26400 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26401 bits.
26402
14bc93a9
JL
264032012-11-28 Jeff Law <law@redhat.com>
26404 Martin Osvald <mosvald@redhat.com>
26405
26406 [BZ #14889]
26407 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26408 * sunrpc/svc.c: Include time.h.
26409 (__svc_accept_failed): New function.
26410 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26411 any reason other than EINTR, call __svc_accept_failed.
26412 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26413 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26414
e3c6aa3a
AS
264152012-11-28 Andreas Schwab <schwab@suse.de>
26416
26417 * scripts/abilist.awk: Also handle indirect functions in .opd
26418 section.
26419
1bead169
JM
264202012-11-28 Joseph Myers <joseph@codesourcery.com>
26421
26422 [BZ #13881]
26423 * sysdeps/x86/fpu/powl_helper.c: New file.
26424 * sysdeps/x86/fpu/Makefile: Likewise.
26425 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26426 (p3): New object.
26427 (__ieee754_powl): Use __powl_helper for finite arguments except
26428 integer exponents below 8.
26429 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26430 (p3): New object.
26431 (__ieee754_powl): Use __powl_helper for finite arguments except
26432 integer exponents below 8.
26433 * math/libm-test.inc (pow_test): Add more tests and enable some
26434 previously disabled tests.
26435 * sysdeps/i386/fpu/libm-test-ulps: Update.
26436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26437
0817d63d
SP
264382012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26439 Carlos O'Donell <carlos_odonell@mentor.com>
26440
26441 * nss/makedb.c (is_prime): Assert that input is odd and greater
26442 than 4. Note that fact in a comment too.
26443 (next_prime): Add 4 to input.
26444
de2fd463
SP
264452012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26446
26447 [BZ #11741]
26448 * libio/Makefile (tests): Add test case tst-fwrite-error.
26449 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26450 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26451 * libio/tst-fwrite-error.c: New test case.
26452
c515fb51
L
264532012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26454
26455 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26456 before casting to void *.
26457 * include/libc-internal.h (__pointer_type): New macro.
26458 (__integer_if_pointer_type_sub): Likewise.
26459 (__integer_if_pointer_type): Likewise.
26460 (cast_to_integer): Likewise.
26461 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26462 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26463 before casting to atomic64_t.
26464 (atomic_exchange_acq): Likewise.
26465 (__arch_exchange_and_add_body): Likewise.
26466 (__arch_add_body): Likewise.
26467 (atomic_add_negative): Likewise.
26468 (atomic_add_zero): Likewise.
26469
4cf77aa9
JM
264702012-11-26 Joseph Myers <joseph@codesourcery.com>
26471
26472 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26473 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26474 (add_fdes): Likewise.
26475 (linear_search_fdes): Likewise.
26476 (binary_search_unencoded_fdes): Likewise.
26477
d260b3b4
AS
264782012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26479
26480 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26481
67060746
AC
264822012-11-24 Adam Conrad <adconrad@0c3.net>
26483
26484 * configure.in: Autodetect C++ header directories.
26485 * configure: Regenerated.
26486
800938a1
MF
264872012-11-23 Mike Frysinger <vapier@gentoo.org>
26488
26489 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26490
4e6e34e6
AS
264912012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26492
26493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26494
7c7feb47
JM
264952012-11-22 Joseph Myers <joseph@codesourcery.com>
26496
7184dcdf
JM
26497 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26498 LDBL_MANT_DIG == 106]: Disable some tests.
26499 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26500 Likewise.
26501 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26502 Likewise.
26503
0a42601f
JM
26504 [BZ #14871]
26505 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26506 input for small inputs. Return +/- pi/2 for large inputs.
26507 * math/libm-test.inc (atan_test): Add more tests.
26508
79c9b9fe
JM
26509 * sysdeps/generic/unwind-dw2-fde-glibc.c
26510 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26511 __attribute__ ((unused)).
26512
c60d3bf2
JM
26513 [BZ #14645]
26514 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26515 x * y if x and y are nonzero and z is zero.
26516
ef1e0867
JM
26517 [BZ #14811]
26518 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26519 nonzero exponents with absolute value below 0x1p-117 to +/-
26520 0x1p-117.
26521
1468ded3
JM
26522 [BZ #14869]
26523 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26524 up arguments below 2**-450, not just those below 2**-500.
26525 * math/libm-test.inc (hypot_test): Add another test.
26526
8e27e3cc
JM
26527 [BZ #14868]
26528 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26529 Return a+b for ratio over 2**120, not 2**60.
26530 * math/libm-test.inc (hypot_test): Add another test.
26531
c9c0279b
JM
26532 * math/libm-test.inc (clog_test): Use
26533 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26534 (clog10_test): Likewise.
26535
7c7feb47
JM
26536 [BZ #6778]
26537 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26538
fff1530e
AS
265392012-11-22 Andreas Schwab <schwab@suse.de>
26540
26541 * sysdeps/i386/fpu/libm-test-ulps: Update.
26542
94558d30
PT
265432012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26544
26545 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26546 printf output with newline.
26547
7e1be741
L
265482012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26549
6bfea974
L
26550 [BZ #14865]
26551 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26552 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26553 -z nodlopen, -z initfirst and -z execstack support.
26554 * configure: Regenerated.
26555
7e1be741
L
26556 * elf/elf.h (DF_1_NODIRECT): New macro.
26557 (DF_1_IGNMULDEF): Likewise.
26558 (DF_1_NOKSYMS): Likewise.
26559 (DF_1_NOHDR): Likewise.
26560 (DF_1_EDITED): Likewise.
26561 (DF_1_NORELOC): Likewise.
26562 (DF_1_SYMINTPOSE): Likewise.
26563 (DF_1_GLOBAUDIT): Likewise.
26564 (DF_1_SINGLETON): Likewise.
26565 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26566 DT_1_SUPPORTED_MASK bits.
26567 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26568
105ce2ce
CD
265692012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26570
26571 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26572
123be9de
TS
265732012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26574
d072f3f7
TS
26575 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26576 macro.
26577
123be9de
TS
26578 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26579 (sendmmsg): Move declarations...
26580 * socket/sys/socket.h: ... here.
26581 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26582 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26583 include it from...
26584 * socket/recvmmsg.c: ... this new file.
26585 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26586 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26587 definition of __sendmmsg hidden.
26588 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26589 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26590 Move ENOSYS stub into and include it from...
26591 * socket/sendmmsg.c: ... this new file.
26592 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26593 (sysdep_routines): Move recvmmsg and sendmmsg...
26594 * socket/Makefile (routines): ... here.
26595 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26596 (GLIBC_PRIVATE): Add __sendmmsg.
26597 * include/sys/socket.h (__sendmmsg): Add declarations.
26598 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26599 sendmmsg.
26600
cf9a5d18
JM
266012012-11-20 Joseph Myers <joseph@codesourcery.com>
26602
26603 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26604 variable I1 with __attribute__ ((unused)).
26605 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26606
ecd4caf9
JM
266072012-11-19 Joseph Myers <joseph@codesourcery.com>
26608
be14d48f
JM
26609 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26610 DUMMY variables with __attribute__ ((unused)).
26611
ecd4caf9
JM
26612 * bits/byteswap.h: Include <bits/types.h>.
26613 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26614
986cab95
PT
266152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26616
26617 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26618 string_t. Do not manually set errno.
26619 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26620 length with __strnlen. Make sure to both set errno and return it on
26621 failure.
26622
6d33cc9d
DM
266232012-11-19 David S. Miller <davem@davemloft.net>
26624
26625 With help from Joseph Myers.
26626 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26627 very large arguments properly.
26628 * math/libm-test.inc (atan_test): New tests.
26629 (atan2_test): New tests.
26630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26632
ee663277
JM
266332012-11-19 Joseph Myers <joseph@codesourcery.com>
26634
877f2d8e
JM
26635 [BZ #14856]
26636 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26637 Define to 3.
26638
116fc08a
JM
26639 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26640 [POSIX] (EADDRNOTAVAIL): Likewise.
26641 [POSIX] (EAFNOSUPPORT): Likewise.
26642 [POSIX] (EALREADY): Likewise.
26643 [POSIX] (ECONNABORTED): Likewise.
26644 [POSIX] (ECONNREFUSED): Likewise.
26645 [POSIX] (ECONNRESET): Likewise.
26646 [POSIX] (EDESTADDRREQ): Likewise.
26647 [POSIX] (EDQUOT): Likewise.
26648 [POSIX] (EHOSTUNREACH): Likewise.
26649 [POSIX] (EIDRM): Likewise.
26650 [POSIX] (EISCONN): Likewise.
26651 [POSIX] (ELOOP): Likewise.
26652 [POSIX] (EMULTIHOP): Likewise.
26653 [POSIX] (ENETDOWN): Likewise.
26654 [POSIX] (ENETUNREACH): Likewise.
26655 [POSIX] (ENOBUFS): Likewise.
26656 [POSIX] (ENODATA): Likewise.
26657 [POSIX] (ENOLINK): Likewise.
26658 [POSIX] (ENOMSG): Likewise.
26659 [POSIX] (ENOPROTOOPT): Likewise.
26660 [POSIX] (ENOSR): Likewise.
26661 [POSIX] (ENOSTR): Likewise.
26662 [POSIX] (ENOTCONN): Likewise.
26663 [POSIX] (ENOTSOCK): Likewise.
26664 [POSIX] (EOPNOTSUPP): Likewise.
26665 [POSIX] (EOVERFLOW): Likewise.
26666 [POSIX] (EPROTO): Likewise.
26667 [POSIX] (EPROTONOSUPPORT): Likewise.
26668 [POSIX] (EPROTOTYPE): Likewise.
26669 [POSIX] (ESTALE): Likewise.
26670 [POSIX] (ETIME): Likewise.
26671 [POSIX] (ETXTBSY): Likewise.
26672 [POSIX] (EWOULDBLOCK): Likewise.
26673 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26674 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26675 [POSIX] (SEEK_CUR): Likewise.
26676 [POSIX] (SEEK_END): Likewise.
26677 [POSIX || UNIX98] (mode_t): Do not require.
26678 [POSIX] (off_t): Likewise.
26679 [POSIX] (pid_t): Likewise.
26680 [POSIX] (sys/stat.h): Do not allow header.
26681 [POSIX] (unistd.h): Likewise.
26682 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26683 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26684 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26685 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26686 require.
26687 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26688 sigevent): Specify elements.
26689 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26690 entry.
26691 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26692 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26693
a483863f
JM
26694 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26695 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26696 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26697 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26698 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26699 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26700 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26701 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26702 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26703 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26704 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26705 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26706 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26707 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26708 Likewise.
26709 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26710 Likewise.
26711 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26712 Likewise.
26713 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26714 Likewise.
26715 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26716 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26717 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26718 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26719 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26720 Specify lower bound on value.
26721 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26722 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26723 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26724 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26725 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26726 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26727 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26728 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26729 value.
26730 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26731 as optional.
26732 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26733 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26734 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26735 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26736 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26737 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26738 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26739 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26740 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26741 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26742 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26743 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26744 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26745 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26746 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26747 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26748 entry.
26749 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26750 optional.
26751 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26752 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26753 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26754 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26755 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26756 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26757 Likewise.
26758 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26759 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26760 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26761 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26762 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26763 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26764 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26765 as optional.
26766 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26767 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26768 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26769 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26770 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26771 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26772 specify as optional.
26773 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26774 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26775 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26776 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26777 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26778 [XPG3] (NL_LANGMAX): Likewise.
26779 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26780 [POSIX || XPG3] (NL_NMAX): Likewise.
26781 [POSIX || XPG3] (NL_SETMAX): Likewise.
26782 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26783 [XPG3] (NZERO): Likewise.
26784 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26785 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26786 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26787 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26788 (REG_ERANGE): Expect.
26789 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26790 optional-constant.
26791 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26792 Use (void) in prototype.
26793 [POSIX] (*_t): Allow.
26794 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26795 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26796 (WRDE_BADVAL): Expect.
26797
5ba924e3
JM
26798 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26799 expect.
26800 [XPG3 || XPG4] (O_RSYNC): Likewise.
26801 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26802 Likewise.
26803 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26804 [XPG3 || XPG4] (sigqueue): Likewise.
26805 [XPG3 || XPG4] (sigtimedwait): Likewise.
26806 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26807 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26808 [XPG3 || XPG4] (vsnprintf): Likewise.
26809 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26810 Likewise.
26811 [XPG3 || XPG4] (blksize_t): Likewise.
26812 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26813 Likewise.
26814 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26815 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26816 [XPG3 || XPG4] (struct itimerspec): Likewise.
26817 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26818 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26819 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26820 [XPG3 || XPG4] (clockid_t): Likewise.
26821 [XPG3 || XPG4] (timer_t): Likewise.
26822 [XPG3 || XPG4] (clock_getres): Likewise.
26823 [XPG3 || XPG4] (clock_gettime): Likewise.
26824 [XPG3 || XPG4] (clock_settime): Likewise.
26825 [XPG3 || XPG4] (nanosleep): Likewise.
26826 [XPG3 || XPG4] (timer_create): Likewise.
26827 [XPG3 || XPG4] (timer_delete): Likewise.
26828 [XPG3 || XPG4] (timer_gettime): Likewise.
26829 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26830 [XPG3 || XPG4] (timer_settime): Likewise.
26831 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26832 [XPG3 || XPG4] (getlogin_r): Likewise.
26833 [XPG3 || XPG4] (pread): Likewise.
26834 [XPG3 || XPG4] (pthread_atfork): Likewise.
26835 [XPG3 || XPG4] (pwrite): Likewise.
26836
ee663277
JM
26837 [BZ #14835]
26838 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26839 <bits/siginfo.h>.
26840
942caa16
PT
268412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26842
e19af380
PT
26843 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26844 finalizing MALLSTREAM.
26845
942caa16
PT
26846 * sysdeps/mach/hurd/syncfs.c: New file.
26847
cfde9b46
SP
268482012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26849
26850 [BZ #14719]
26851 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26852 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26853 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26854 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26855 (_nss_dns_gethostbyname4_r): Likewise.
26856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26857 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26858
f6da27e5
PH
268592012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26860
26861 [BZ #13763]
26862 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26863
6665d4a2
SM
268642012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26865
1f51ee92
SM
26866 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26867 * elf/cache.c (print_entry): Print ",AArch64" for
26868 FLAG_AARCH64_LIB64
26869
6665d4a2
SM
26870 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26871 * elf/cache.c (print_entry): Print ",hard-float" for
26872 FLAG_ARM_LIBHF.
26873
05b227bd
DM
268742012-11-18 David S. Miller <davem@davemloft.net>
26875
26876 With help from Joseph Myers.
26877 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26878 cutoff to 2**-13.
26879 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26880 cutoff to 2**-25.
26881 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26882 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26883 small.
26884 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26885 * math/libm-test.inc (y0_test): New tests.
26886 (y1_test): New tests.
26887 * sysdeps/i386/fpu/libm-test-ulps: Update.
26888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26890
786b0b67
AS
268912012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26892
26893 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26894 64-bit targets.
26895 * configure: Regenerated.
26896
8e18b86d
DM
268972012-11-17 David S. Miller <davem@davemloft.net>
26898
26899 [BZ #14811]
26900 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26901 nonzero exponents with absolute value below 0x1p-128 to +/-
26902 0x1p-128.
26903
531f1ae0
JM
269042012-11-17 Joseph Myers <joseph@codesourcery.com>
26905
12df29e2
JM
26906 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26907
150dc1a0
JM
26908 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26909
531f1ae0
JM
26910 * posix/getconf-speclist.c: New file.
26911 * posix/posix-envs.def: Likewise.
26912 * posix/confstr.c (START_ENV_GROUP): New macro.
26913 (END_ENV_GROUP): Likewise.
26914 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26915 (KNOWN_PRESENT_ENV_STRING): Likewise.
26916 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26917 (UNKNOWN_ENVIRONMENT): Likewise.
26918 (confstr): Include posix-envs.def instead of handling
26919 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26920 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26921 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26922 (END_ENV_GROUP): Likewise.
26923 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26924 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26925 (UNKNOWN_ENVIRONMENT): Likewise.
26926 (__sysconf): Include posix-envs.def instead of handling associated
26927 cases directly here.
26928 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26929 preprocessing getconf-speclist.c rather than running getconf or
26930 generating empty file.
26931
a93f9cbc
PT
269322012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26933
26934 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26935
d64d9f87
AL
269362012-11-16 Andrej Lajovic <natrij@gmail.com>
26937
26938 [BZ #14672]
26939 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26940
447885eb
DM
269412012-11-16 David S. Miller <davem@davemloft.net>
26942
26943 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26944 smaller than LDBL_EPSILON/2.0L, just return xm1.
26945
bcbf9830
L
269462012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26947
26948 * elf/tst-array1.c (init): Set constructor priority to 1000.
26949 (fini): Set destructor priority to 1000.
26950 * elf/tst-array2dep.c: Likewise.
26951
2b766585
SP
269522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26953
26954 [BZ #11741]
26955 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26956 (_IO_new_file_xsputn): Also return EOF if none of the input
26957 data was written when overflow failed.
26958 * libio/iopadn.c (_IO_padn): Likewise.
26959 * libio/iowpadn.c (_IO_wpadn): Likewise.
26960 * stdio-common/tst-put-error.c: Add copyright notice.
26961 (do_test): Add case for printing padded string.
26962 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26963 _IO_padn returned error.
26964 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26965 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26966 return EOF.
26967
b1848fde
SP
269682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26969
26970 * libio/libioP.h: Add comment note that the references to C++
26971 bits are now obsolete.
26972
2fd89785
MS
269732012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26974
26975 * math/libm-test.inc (check_complex): Use asprintf.
26976
e3ea5409
JM
269772012-11-14 Joseph Myers <joseph@codesourcery.com>
26978
26979 * debug/pcprofiledump.c (print_version): Update copyright year.
26980 * malloc/memusagestat.c (print_version): Likewise.
26981
2e64d265
L
269822012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26983
26984 [BZ #14831]
26985 * elf/Makefile (tests): Add tst-audit8.
26986 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26987 ($(objpfx)tst-audit8.out): New target.
26988 (tst-audit8-ENV): New variable.
26989 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26990 audit if l_reloc_result is NULL.
26991 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26992 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26993 * elf/tst-audit8.c: New file.
26994
c485e4d2
MS
269952012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26996
26997 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26998 * misc/Makefile (CFLAGS-select.c): Define.
26999 * posix/Makefile (CFLAGS-pause.c): Define.
27000
3a0d900a
DM
270012012-11-13 David S. Miller <davem@davemloft.net>
27002
27003 * crypt/Makefile: Move test targets after toplevel Rules
27004 inclusion. Grab any necessary sysdep routines when linking.
27005 * crypt/md5.c (md5_process_block): Remove define, we will always
27006 name it __md5_process_block.
27007 (md5_finish_ctx): Update md5_process_block call.
27008 (md5_stream): Likewise.
27009 (md5_process_bytes): Likewise.
27010 (md5_process_block): Rename to __md5_process_block and move to ...
27011 * crypt/md5-block.c: ... here.
27012 * crypt/sha256.c (sha256_process_block): Move to ...
27013 * crypt/sha256-block.c: ... here.
27014 * crypt/sha512.c (sha512_process_block): Move to ...
27015 * crypt/sha512-block.c: ... here.
27016 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27017 path.
27018 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27019 * sysdeps/sparc/sparc64/multiarch/Makefile
27020 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27021 crypt subdir.
27022 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27023 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27024 multiarch changes.
27025 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27026 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27027 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27028 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27029 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27030 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27031 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27032 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27033 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27034 file.
27035 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27036 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27037 file.
27038 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27039
8ca89318
JM
270402012-11-13 Joseph Myers <joseph@codesourcery.com>
27041
e27d476a
JM
27042 * timezone/tzselect.ksh: Update from tzcode git revision
27043 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27044 * timezone/zdump.c: Likewise.
27045 * timezone/zic.c: Likewise.
27046 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27047 in TZVERSION setting, not $(PKGVERSION).
27048 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27049 REPORT_BUGS_TO settings.
27050
8ca89318
JM
27051 [BZ #14838]
27052 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27053 macro.
27054
47594329
MS
270552012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27056
27057 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27058 detection to immediately after _FP_ROUND().
27059 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27060 bits are 0.
27061
640ac3f1
DM
270622012-11-11 David S. Miller <davem@davemloft.net>
27063
27064 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27065 inttypes.h
27066 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27067 __close rather than their public counterparts.
27068
3d2577bb
JM
270692012-11-10 Joseph Myers <joseph@codesourcery.com>
27070
27071 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27072 file.
27073 [UNIX98] (sem_timedwait): Do not expect.
27074 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27075 [XPG4 || UNIX98] (sockatmark): Do not expect.
27076 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27077 (clock_getcpuclockid): Do not expect.
27078 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27079 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27080 Do not expect.
27081 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27082 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27083 [UNIX98] (vwscanf): Likewise.
27084 [UNIX98] (vswscanf): Likewise.
27085
fb1ae1ee
JM
270862012-11-09 Joseph Myers <joseph@codesourcery.com>
27087
9ec6f8bd
JM
27088 * timezone/version.h: Remove file.
27089 * timezone/README: Do not refer to version.h.
27090 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27091 $(objpfx)version.h.
27092 ($(objpfx)zdump.o): Likewise.
c3f81911 27093 ($(objpfx)version.h): New target.
9ec6f8bd 27094
0aa8f8a1
JM
27095 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27096 2012i.
27097 * timezone/README: Don't mention modification to tzselect.ksh.
27098 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27099 work on unmodified tzselect.ksh. Substitute version numbers in
27100 tzselect.ksh.
27101
4e87147f
JM
27102 * Makefile (format-me): Remove.
27103 (INSTALL): Adjust indentation. Use commands directly instead of
27104 using $(format-me).
27105
8b748aed
JM
27106 * aclocal.m4 (ACX_PKGVERSION): New macro.
27107 (ACX_BUGURL): Likewise.
27108 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27109 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27110 (REPORT_BUGS_TO): Likewise.
27111 * configure: Regenerated.
27112 * config.h.in (PKGVERSION): New macro.
27113 (REPORT_BUGS_TO): Likewise.
27114 * config.make.in (PKGVERSION): New variable.
27115 (PKGVERSION_TEXI): Likewise.
27116 (REPORT_BUGS_TO): Likewise.
27117 (REPORT_BUGS_TEXI): Likewise.
27118 * Makefile (format-me): Use -I$(common-objpfx)manual.
27119 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27120 ($(common-objpfx)manual/%): New target.
27121 (manual/%): Remove target.
27122 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27123 (print_version): Use PKGVERSION.
27124 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27125 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27126 and REPORT_BUGS_TO.
27127 ($(objpfx)xtrace): Likewise.
27128 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27129 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27130 (print_version): Use PKGVERSION.
27131 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27132 (do_version): Use PKGVERSION.
27133 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27134 REPORT_BUGS_TO.
27135 (common-ldd-rewrite): Likewise.
27136 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27137 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27138 (print_version): Use PKGVERSION.
27139 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27140 * elf/pldd.c (argp_program_bug_address): Remove variable.
27141 (more_help): New function.
27142 (argp): Use more_help.
27143 (print_version): Use PKGVERSION.
27144 * elf/sln.c (main): Use PKGVERSION.
27145 (usage): Use REPORT_BUGS_TO.
27146 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27147 (top level): Use PKGVERSION.
27148 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27149 (print_version): Use PKGVERSION.
27150 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27151 (print_version): Use PKGVERSION.
27152 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27153 (print_version): Use PKGVERSION.
27154 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27155 (print_version): Use PKGVERSION.
27156 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27157 (print_version): Use PKGVERSION.
27158 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27159 (print_version): Use PKGVERSION.
27160 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27161 and BUGURL.
27162 ($(objpfx)memusage): Likewise.
27163 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27164 (do_version): Use PKGVERSION.
27165 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27166 (print_version): Use PKGVERSION.
27167 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27168 ($PKGVERSION): New variable.
27169 ($REPORT_BUGS_TO): Likewise.
27170 (usage): Use $REPORT_BUGS_TO.
27171 (top level): Use $PKGVERSION.
27172 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27173 ($(objpfx)pkgvers.texi): New rule.
27174 ($(objpfx)stamp-pkgvers): Likewise.
27175 * manual/install.texi: Include pkgvers.texi.
27176 (--with-pkgversion): Document new configure option.
27177 (--with-bugurl): Likewise.
27178 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27179 than necessarily for this particular distribution. Use
27180 REPORT_BUGS_TO for where to report bugs.
27181 * INSTALL: Regenerated.
27182 * manual/libc.texinfo: Include pkgvers.texi.
27183 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27184 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27185 (print_version): Use PKGVERSION.
27186 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27187 (print_version): Use PKGVERSION.
27188 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27189 (print_version): Use PKGVERSION.
27190 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27191 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27192 macro.
27193 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27194 (print_version): Use PKGVERSION.
27195 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27196 (print_version): Use PKGVERSION.
27197 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27198 and PKGVERSION.
27199
92e4b6a9
JM
27200 * timezone/checktab.awk: Update from tzcode 2012i.
27201 * timezone/ialloc.c: Likewise.
27202 * timezone/private.h: Likewise.
27203 * timezone/scheck.c: Likewise.
27204 * timezone/tzfile.h: Likewise.
27205 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27206 (TZVERSION): Hardcode tzcode version number.
27207 * timezone/zdump.c: Update from tzcode 2012i.
27208 * timezone/zic.c: Likewise.
27209 * timezone/version.h: New file.
27210 * timezone/README: Describe version.h. Update upstream location.
27211
9bde902c
JM
27212 [BZ #14824]
27213 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27214 (mktemp): Enable declaration.
27215 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27216 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27217 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27218 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27219 Likewise.
27220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27221 Likewise.
27222 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27223 Likewise.
27224 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27225 Likewise.
27226 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27227 Likewise.
27228 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27229 Likewise.
27230
fb1ae1ee
JM
27231 [BZ #14821]
27232 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27233 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27234 for copies of such integer values.
27235 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27236 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27237
2c1adbcb
AJ
272382012-11-09 Andreas Jaeger <aj@suse.de>
27239
27240 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27241 definitions and declarations that are provided by
27242 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27243
d0f8457e
AK
272442012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27245
3a235abb 27246 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
27247 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27248 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27249 definition.
27250
57241e26
MS
272512012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27252
27253 * elf/elf.h: Update comment before AArch64 relocations.
27254
60e8270d
DM
272552012-11-07 David S. Miller <davem@davemloft.net>
27256
27257 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27258 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27259 (__start_context): Declare.
27260 (__makecontext_ret): Delete.
27261 (__makecontext): Hook up __start_context instead of
27262 __makecontext_ret.
27263 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27264 (sysdep_routines): Add __start_context when in stdlib.
27265
0fbb0fbc
JM
272662012-11-07 Joseph Myers <joseph@codesourcery.com>
27267
27268 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27269 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27270 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27271 hardcoded "nm".
27272 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27273 (READELF): New variable. Use it instead of hardcoded "readelf".
27274
eb48db7e
L
272752012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27276
27277 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27278 * sysdeps/x86/Makefile: Here.
27279 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27280 * sysdeps/x86/tst-xmmymm.sh: This.
27281
05bcf62a
JM
272822012-11-07 Joseph Myers <joseph@codesourcery.com>
27283
c4b6cf53
JM
27284 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27285 expectations.
27286 [UNIX98] (pthread_barrier_t): Do not expect.
27287 [UNIX98] (pthread_barrierattr_t): Likewise.
27288 [UNIX98] (pthread_spinlock_t): Likewise.
27289 [UNIX98] (pthread_barrier_destroy): Likewise.
27290 [UNIX98] (pthread_barrier_init): Likewise.
27291 [UNIX98] (pthread_barrier_wait): Likewise.
27292 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27293 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27294 [UNIX98] (pthread_barrierattr_init): Likewise.
27295 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27296 [UNIX98] (pthread_getcpuclockid): Likewise.
27297 [UNIX98] (pthread_mutex_timedlock): Likewise.
27298 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27299 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27300 [UNIX98] (pthread_sigmask): Likewise.
27301 [UNIX98] (pthread_spin_destroy): Likewise.
27302 [UNIX98] (pthread_spin_init): Likewise.
27303 [UNIX98] (pthread_spin_lock): Likewise.
27304 [UNIX98] (pthread_spin_trylock): Likewise.
27305 [UNIX98] (pthread_spin_unlock): Likewise.
27306 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27307 Do not expect.
27308 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27309 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27310 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27311 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27312 [XPG3 || XPG4] (pthread_key_t): Likewise.
27313 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27314 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27315 [XPG3 || XPG4] (pthread_once_t): Likewise.
27316 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27317 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27318 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27319 [XPG3 || XPG4] (pthread_t): Likewise.
27320
cbe6e120
JM
27321 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27322 not expect.
27323 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27324
1b126443
JM
27325 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27326 Change function return type to int.
27327
b961a573
JM
27328 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27329 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27330 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27331 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27332 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27333 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27334 [!POSIX] (posix_madvise): Likewise.
27335 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27336 && !UNIX98].
27337 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27338 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27339 (mode_t): Likewise.
27340 (posix_mem_offset): Likewise.
27341 (posix_typed_mem_get_info): Likewise.
27342 (posix_typed_mem_open): Likewise.
27343
9e188909
JM
27344 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27345 Change condition to [XOPEN2K8].
27346
05bcf62a
JM
27347 * conform/conformtest.pl: Preprocess allow-header data with -x c
27348 instead of from stdin.
27349 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27350 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27351 [C99-based standards] (cerfc): Likewise.
27352 [C99-based standards] (cexp2): Likewise.
27353 [C99-based standards] (cexpm1): Likewise.
27354 [C99-based standards] (clog10): Likewise.
27355 [C99-based standards] (clog1p): Likewise.
27356 [C99-based standards] (clog2): Likewise.
27357 [C99-based standards] (clgamma): Likewise.
27358 [C99-based standards] (ctgamma): Likewise.
27359 [C99-based standards] (cerff): Likewise.
27360 [C99-based standards] (cerfcf): Likewise.
27361 [C99-based standards] (cexp2f): Likewise.
27362 [C99-based standards] (cexpm1f): Likewise.
27363 [C99-based standards] (clog10f): Likewise.
27364 [C99-based standards] (clog1pf): Likewise.
27365 [C99-based standards] (clog2f): Likewise.
27366 [C99-based standards] (clgammaf): Likewise.
27367 [C99-based standards] (ctgammaf): Likewise.
27368 [C99-based standards] (cerfl): Likewise.
27369 [C99-based standards] (cerfcl): Likewise.
27370 [C99-based standards] (cexp2l): Likewise.
27371 [C99-based standards] (cexpm1l): Likewise.
27372 [C99-based standards] (clog10l): Likewise.
27373 [C99-based standards] (clog1pl): Likewise.
27374 [C99-based standards] (clog2l): Likewise.
27375 [C99-based standards] (clgammal): Likewise.
27376 [C99-based standards] (ctgammal): Likewise.
27377 * conform/data/inttypes.h-data [C99-based standards]: Include
27378 stdint.h-data. Remove all expectations for stdint.h contents.
27379 [C99-based standards] (PRI*): Do not allow.
27380 [C99-based standards] (SCN*): Likewise.
27381 [C99-based standards] (*_t): Likewise.
27382 [C99-based-standards] (PRId8): Expect macro.
27383 [C99-based-standards] (PRIi8): Likewise.
27384 [C99-based-standards] (PRIo8): Likewise.
27385 [C99-based-standards] (PRIu8): Likewise.
27386 [C99-based-standards] (PRIx8): Likewise.
27387 [C99-based-standards] (PRIX8): Likewise.
27388 [C99-based-standards] (SCNd8): Likewise.
27389 [C99-based-standards] (SCNi8): Likewise.
27390 [C99-based-standards] (SCNo8): Likewise.
27391 [C99-based-standards] (SCNu8): Likewise.
27392 [C99-based-standards] (SCNx8): Likewise.
27393 [C99-based-standards] (PRIdLEAST8): Likewise.
27394 [C99-based-standards] (PRIiLEAST8): Likewise.
27395 [C99-based-standards] (PRIoLEAST8): Likewise.
27396 [C99-based-standards] (PRIuLEAST8): Likewise.
27397 [C99-based-standards] (PRIxLEAST8): Likewise.
27398 [C99-based-standards] (PRIXLEAST8): Likewise.
27399 [C99-based-standards] (SCNdLEAST8): Likewise.
27400 [C99-based-standards] (SCNiLEAST8): Likewise.
27401 [C99-based-standards] (SCNoLEAST8): Likewise.
27402 [C99-based-standards] (SCNuLEAST8): Likewise.
27403 [C99-based-standards] (SCNxLEAST8): Likewise.
27404 [C99-based-standards] (PRIdFAST8): Likewise.
27405 [C99-based-standards] (PRIiFAST8): Likewise.
27406 [C99-based-standards] (PRIoFAST8): Likewise.
27407 [C99-based-standards] (PRIuFAST8): Likewise.
27408 [C99-based-standards] (PRIxFAST8): Likewise.
27409 [C99-based-standards] (PRIXFAST8): Likewise.
27410 [C99-based-standards] (SCNdFAST8): Likewise.
27411 [C99-based-standards] (SCNiFAST8): Likewise.
27412 [C99-based-standards] (SCNoFAST8): Likewise.
27413 [C99-based-standards] (SCNuFAST8): Likewise.
27414 [C99-based-standards] (SCNxFAST8): Likewise.
27415 [C99-based-standards] (PRId16): Likewise.
27416 [C99-based-standards] (PRIi16): Likewise.
27417 [C99-based-standards] (PRIo16): Likewise.
27418 [C99-based-standards] (PRIu16): Likewise.
27419 [C99-based-standards] (PRIx16): Likewise.
27420 [C99-based-standards] (PRIX16): Likewise.
27421 [C99-based-standards] (SCNd16): Likewise.
27422 [C99-based-standards] (SCNi16): Likewise.
27423 [C99-based-standards] (SCNo16): Likewise.
27424 [C99-based-standards] (SCNu16): Likewise.
27425 [C99-based-standards] (SCNx16): Likewise.
27426 [C99-based-standards] (PRIdLEAST16): Likewise.
27427 [C99-based-standards] (PRIiLEAST16): Likewise.
27428 [C99-based-standards] (PRIoLEAST16): Likewise.
27429 [C99-based-standards] (PRIuLEAST16): Likewise.
27430 [C99-based-standards] (PRIxLEAST16): Likewise.
27431 [C99-based-standards] (PRIXLEAST16): Likewise.
27432 [C99-based-standards] (SCNdLEAST16): Likewise.
27433 [C99-based-standards] (SCNiLEAST16): Likewise.
27434 [C99-based-standards] (SCNoLEAST16): Likewise.
27435 [C99-based-standards] (SCNuLEAST16): Likewise.
27436 [C99-based-standards] (SCNxLEAST16): Likewise.
27437 [C99-based-standards] (PRIdFAST16): Likewise.
27438 [C99-based-standards] (PRIiFAST16): Likewise.
27439 [C99-based-standards] (PRIoFAST16): Likewise.
27440 [C99-based-standards] (PRIuFAST16): Likewise.
27441 [C99-based-standards] (PRIxFAST16): Likewise.
27442 [C99-based-standards] (PRIXFAST16): Likewise.
27443 [C99-based-standards] (SCNdFAST16): Likewise.
27444 [C99-based-standards] (SCNiFAST16): Likewise.
27445 [C99-based-standards] (SCNoFAST16): Likewise.
27446 [C99-based-standards] (SCNuFAST16): Likewise.
27447 [C99-based-standards] (SCNxFAST16): Likewise.
27448 [C99-based-standards] (PRId32): Likewise.
27449 [C99-based-standards] (PRIi32): Likewise.
27450 [C99-based-standards] (PRIo32): Likewise.
27451 [C99-based-standards] (PRIu32): Likewise.
27452 [C99-based-standards] (PRIx32): Likewise.
27453 [C99-based-standards] (PRIX32): Likewise.
27454 [C99-based-standards] (SCNd32): Likewise.
27455 [C99-based-standards] (SCNi32): Likewise.
27456 [C99-based-standards] (SCNo32): Likewise.
27457 [C99-based-standards] (SCNu32): Likewise.
27458 [C99-based-standards] (SCNx32): Likewise.
27459 [C99-based-standards] (PRIdLEAST32): Likewise.
27460 [C99-based-standards] (PRIiLEAST32): Likewise.
27461 [C99-based-standards] (PRIoLEAST32): Likewise.
27462 [C99-based-standards] (PRIuLEAST32): Likewise.
27463 [C99-based-standards] (PRIxLEAST32): Likewise.
27464 [C99-based-standards] (PRIXLEAST32): Likewise.
27465 [C99-based-standards] (SCNdLEAST32): Likewise.
27466 [C99-based-standards] (SCNiLEAST32): Likewise.
27467 [C99-based-standards] (SCNoLEAST32): Likewise.
27468 [C99-based-standards] (SCNuLEAST32): Likewise.
27469 [C99-based-standards] (SCNxLEAST32): Likewise.
27470 [C99-based-standards] (PRIdFAST32): Likewise.
27471 [C99-based-standards] (PRIiFAST32): Likewise.
27472 [C99-based-standards] (PRIoFAST32): Likewise.
27473 [C99-based-standards] (PRIuFAST32): Likewise.
27474 [C99-based-standards] (PRIxFAST32): Likewise.
27475 [C99-based-standards] (PRIXFAST32): Likewise.
27476 [C99-based-standards] (SCNdFAST32): Likewise.
27477 [C99-based-standards] (SCNiFAST32): Likewise.
27478 [C99-based-standards] (SCNoFAST32): Likewise.
27479 [C99-based-standards] (SCNuFAST32): Likewise.
27480 [C99-based-standards] (SCNxFAST32): Likewise.
27481 [C99-based-standards] (PRId64): Likewise.
27482 [C99-based-standards] (PRIi64): Likewise.
27483 [C99-based-standards] (PRIo64): Likewise.
27484 [C99-based-standards] (PRIu64): Likewise.
27485 [C99-based-standards] (PRIx64): Likewise.
27486 [C99-based-standards] (PRIX64): Likewise.
27487 [C99-based-standards] (SCNd64): Likewise.
27488 [C99-based-standards] (SCNi64): Likewise.
27489 [C99-based-standards] (SCNo64): Likewise.
27490 [C99-based-standards] (SCNu64): Likewise.
27491 [C99-based-standards] (SCNx64): Likewise.
27492 [C99-based-standards] (PRIdLEAST64): Likewise.
27493 [C99-based-standards] (PRIiLEAST64): Likewise.
27494 [C99-based-standards] (PRIoLEAST64): Likewise.
27495 [C99-based-standards] (PRIuLEAST64): Likewise.
27496 [C99-based-standards] (PRIxLEAST64): Likewise.
27497 [C99-based-standards] (PRIXLEAST64): Likewise.
27498 [C99-based-standards] (SCNdLEAST64): Likewise.
27499 [C99-based-standards] (SCNiLEAST64): Likewise.
27500 [C99-based-standards] (SCNoLEAST64): Likewise.
27501 [C99-based-standards] (SCNuLEAST64): Likewise.
27502 [C99-based-standards] (SCNxLEAST64): Likewise.
27503 [C99-based-standards] (PRIdFAST64): Likewise.
27504 [C99-based-standards] (PRIiFAST64): Likewise.
27505 [C99-based-standards] (PRIoFAST64): Likewise.
27506 [C99-based-standards] (PRIuFAST64): Likewise.
27507 [C99-based-standards] (PRIxFAST64): Likewise.
27508 [C99-based-standards] (PRIXFAST64): Likewise.
27509 [C99-based-standards] (SCNdFAST64): Likewise.
27510 [C99-based-standards] (SCNiFAST64): Likewise.
27511 [C99-based-standards] (SCNoFAST64): Likewise.
27512 [C99-based-standards] (SCNuFAST64): Likewise.
27513 [C99-based-standards] (SCNxFAST64): Likewise.
27514 [C99-based-standards] (PRIdMAX): Likewise.
27515 [C99-based-standards] (PRIiMAX): Likewise.
27516 [C99-based-standards] (PRIoMAX): Likewise.
27517 [C99-based-standards] (PRIuMAX): Likewise.
27518 [C99-based-standards] (PRIxMAX): Likewise.
27519 [C99-based-standards] (PRIXMAX): Likewise.
27520 [C99-based-standards] (SCNdMAX): Likewise.
27521 [C99-based-standards] (SCNiMAX): Likewise.
27522 [C99-based-standards] (SCNoMAX): Likewise.
27523 [C99-based-standards] (SCNuMAX): Likewise.
27524 [C99-based-standards] (SCNxMAX): Likewise.
27525 [C99-based-standards] (PRIdPTR): Likewise.
27526 [C99-based-standards] (PRIiPTR): Likewise.
27527 [C99-based-standards] (PRIoPTR): Likewise.
27528 [C99-based-standards] (PRIuPTR): Likewise.
27529 [C99-based-standards] (PRIxPTR): Likewise.
27530 [C99-based-standards] (PRIXPTR): Likewise.
27531 [C99-based-standards] (SCNdPTR): Likewise.
27532 [C99-based-standards] (SCNiPTR): Likewise.
27533 [C99-based-standards] (SCNoPTR): Likewise.
27534 [C99-based-standards] (SCNuPTR): Likewise.
27535 [C99-based-standards] (SCNxPTR): Likewise.
27536 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27537 allow.
27538 * conform/data/stdint.h-data: Update comments to clarify
27539 requirements.
27540 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27541 type.
27542 [C99-based standards] (INT8_MAX): Likewise.
27543 [C99-based standards] (INT16_MIN): Likewise.
27544 [C99-based standards] (INT16_MAX): Likewise.
27545 [C99-based standards] (INT32_MIN): Likewise.
27546 [C99-based standards] (INT32_MAX): Likewise.
27547 [C99-based standards] (INT64_MIN): Likewise.
27548 [C99-based standards] (INT64_MAX): Likewise.
27549 [C99-based standards] (UINT8_MAX): Likewise.
27550 [C99-based standards] (UINT16_MAX): Likewise.
27551 [C99-based standards] (UINT32_MAX): Likewise.
27552 [C99-based standards] (UINT64_MAX): Likewise.
27553 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27554 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27555 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27556 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27557 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27558 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27559 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27560 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27561 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27562 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27563 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27564 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27565 [C99-based standards] (INT_FAST8_MIN): Likewise.
27566 [C99-based standards] (INT_FAST8_MAX): Likewise.
27567 [C99-based standards] (INT_FAST16_MIN): Likewise.
27568 [C99-based standards] (INT_FAST16_MAX): Likewise.
27569 [C99-based standards] (INT_FAST32_MIN): Likewise.
27570 [C99-based standards] (INT_FAST32_MAX): Likewise.
27571 [C99-based standards] (INT_FAST64_MIN): Likewise.
27572 [C99-based standards] (INT_FAST64_MAX): Likewise.
27573 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27574 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27575 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27576 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27577 [C99-based standards] (INTPTR_MIN): Likewise.
27578 [C99-based standards] (INTPTR_MAX): Likewise.
27579 [C99-based standards] (UINTPTR_MAX): Likewise.
27580 [C99-based standards] (INTMAX_MIN): Likewise.
27581 [C99-based standards] (INTMAX_MAX): Likewise.
27582 [C99-based standards] (UINTMAX_MAX): Likewise.
27583 [C99-based standards] (PTRDIFF_MIN): Likewise.
27584 [C99-based standards] (PTRDIFF_MAX): Likewise.
27585 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27586 [C99-based standards] (SIZE_MAX): Likewise.
27587 [C99-based standards] (WCHAR_MAX): Likewise.
27588 [C99-based standards] (WINT_MAX): Likewise.
27589 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27590 constraint on value.
27591 [C99-based standards] (WCHAR_MIN): Likewise.
27592 [C99-based standards] (WINT_MIN): Likewise.
27593 [C99-based standards] (*_t): Allow.
27594 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27595 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27596 Include math.h-data and complex.h-data. Remove all expectations
27597 of math.h and complex.h contents.
27598 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27599 at end of line.
27600 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27601 (struct tm): Expect tag.
27602 [C99-based-standards] (wcstof): Expect function.
27603 [C99-based-standards] (wcstold): Likewise.
27604 [C99-based-standards] (wcstoll): Likewise.
27605 [C99-based-standards] (wcstoull): Likewise.
27606 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27607 macro-int-constant. Specify type.
27608 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27609 constraint on value.
27610 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27611 Specify type.
27612 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27613 Specify value.
27614 [ISO C standards]: Do not allow headers.
27615 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27616 wcs[abcdefghijklmnopqrstuvwxyz]*.
27617 [ISO C standards] (*_t): Do not allow.
27618 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27619 Expect function.
27620 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27621 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27622 Specify type.
27623 [ISO C standards]: Do not allow headers.
27624 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27625 is[abcdefghijklmnopqrstuvwxyz]*.
27626 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27627 to[abcdefghijklmnopqrstuvwxyz]*.
27628 [ISO C standards] (*_t): Do not allow.
27629 * conform/data/stdalign.h-data: New file.
27630 * conform/data/stdbool.h-data: Likewise.
27631 * conform/data/stdnoreturn.h-data: Likewise.
27632
7514feb8
RM
276332012-11-07 Roland McGrath <roland@hack.frob.com>
27634
27635 [BZ #14815]
27636 * manual/filesys.texi (Directory Entries): Typo fix.
27637 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27638
19b2ecfc
MS
276392012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27640
27641 * elf/elf.h (EM_AARCH64): New macro.
27642 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27643 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27644 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27645 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27646 (R_AARCH64_TLSDESC): Likewise.
27647 (NT_ARM_TLS): Likewise.
27648 (NT_ARM_HW_BREAK): Likewise.
27649 (NT_ARM_HW_WATCH): Likewise.
27650
60e235ee
JM
276512012-11-07 Joseph Myers <joseph@codesourcery.com>
27652
27653 [BZ #14811]
27654 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27655 (__ieee754_powl): Saturate nonzero exponents with absolute value
27656 below 0x1p-79 to +/- 0x1p-79.
27657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27658 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27659 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27660 nonzero exponents with absolute value below 0x1p-32 to +/-
27661 0x1p-32.
27662 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27663 (__ieee754_powl): Saturate nonzero exponents with absolute value
27664 below 0x1p-79 to +/- 0x1p-79.
27665 * math/libm-test.inc (pow_test): Add more tests.
27666
0ab234b7
AK
276672012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27668
27669 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27670 _dl_s390_cap_flags with kernel. Increase string length.
27671 (_dl_s390_platforms): Add z196 and zEC12.
27672
45832f74
JM
276732012-11-07 Joseph Myers <joseph@codesourcery.com>
27674
27675 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27676 Change XOPEN21K to XOPEN2K.
27677
19218757
MK
276782012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27679
27680 * string/memmove.c: Use memcpy when possible.
27681
c5f45721
AJ
276822012-11-06 Andreas Jaeger <aj@suse.de>
27683
27684 * po/eo.po: Update from translation team.
27685
82477c28
JM
276862012-11-06 Joseph Myers <joseph@codesourcery.com>
27687
27688 [BZ #14793]
27689 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27690 exponent and small x and y exponents, scale x or y up. Increase
27691 by 2 the exponent used in scaling up.
27692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27693 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27694 * math/libm-test.inc (fma_test): Add more tests.
27695 (fma_test_towardzero): Likewise.
27696 (fma_test_downward): Likewise.
27697 (fma_test_upward): Likewise.
27698
99252c8c
JM
276992012-11-05 Joseph Myers <joseph@codesourcery.com>
27700
acfa885f
JM
27701 [BZ #14805]
27702 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27703 fenv_t *.
27704
99252c8c
JM
27705 [BZ #14801]
27706 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27707 namespace for names of struct fields.
27708 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27709 fenv_t fields.
27710 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27711 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27712
d6d98dea
ST
277132012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27714
27715 [BZ #3665]
27716 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27717
e10bb107
TS
277182012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27719
27720 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27721 PTR_DEMANGLE.
27722
27723 [BZ #5246]
27724 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27725 PTR_DEMANGLE.
27726
a0c2940d
JM
277272012-11-04 Joseph Myers <joseph@codesourcery.com>
27728
27729 [BZ #14797]
27730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27731 definitely overflow as x * y not x * y + z.
27732 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27733 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27734 * math/libm-test.inc (fma_test): Add more tests.
27735 (fma_test_towardzero): Likewise.
27736 (fma_test_downward): Likewise.
27737 (fma_test_upward): Likewise.
27738
b830319d
TS
277392012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27740
27741 [BZ #157]
27742
27743 * include/stub-tag.h: Remove file.
27744 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27745 '#include' of it.
27746 * manual/maint.texi (Porting): Don't reference it.
27747 * Makerules ($(objpfx)stubs): Likewise.
27748 * dirent/closedir.c: Don't include <stub-tag.h>.
27749 * dirent/dirfd.c: Likewise.
27750 * dirent/fdopendir.c: Likewise.
27751 * dirent/getdents.c: Likewise.
27752 * dirent/getdents64.c: Likewise.
27753 * dirent/opendir.c: Likewise.
27754 * dirent/readdir.c: Likewise.
27755 * dirent/readdir64.c: Likewise.
27756 * dirent/readdir64_r.c: Likewise.
27757 * dirent/readdir_r.c: Likewise.
27758 * dirent/rewinddir.c: Likewise.
27759 * dirent/seekdir.c: Likewise.
27760 * dirent/telldir.c: Likewise.
27761 * gmon/profil.c: Likewise.
27762 * grp/setgroups.c: Likewise.
27763 * inet/if_index.c: Likewise.
27764 * io/access.c: Likewise.
27765 * io/chdir.c: Likewise.
27766 * io/chmod.c: Likewise.
27767 * io/chown.c: Likewise.
27768 * io/close.c: Likewise.
27769 * io/dup.c: Likewise.
27770 * io/dup2.c: Likewise.
27771 * io/dup3.c: Likewise.
27772 * io/euidaccess.c: Likewise.
27773 * io/faccessat.c: Likewise.
27774 * io/fchdir.c: Likewise.
27775 * io/fchmod.c: Likewise.
27776 * io/fchmodat.c: Likewise.
27777 * io/fchown.c: Likewise.
27778 * io/fchownat.c: Likewise.
27779 * io/fcntl.c: Likewise.
27780 * io/flock.c: Likewise.
27781 * io/fstatfs.c: Likewise.
27782 * io/fstatfs64.c: Likewise.
27783 * io/fstatvfs.c: Likewise.
27784 * io/fstatvfs64.c: Likewise.
27785 * io/futimens.c: Likewise.
27786 * io/fxstat.c: Likewise.
27787 * io/fxstat64.c: Likewise.
27788 * io/fxstatat.c: Likewise.
27789 * io/fxstatat64.c: Likewise.
27790 * io/getcwd.c: Likewise.
27791 * io/isatty.c: Likewise.
27792 * io/lchmod.c: Likewise.
27793 * io/lchown.c: Likewise.
27794 * io/link.c: Likewise.
27795 * io/linkat.c: Likewise.
27796 * io/lseek.c: Likewise.
27797 * io/lseek64.c: Likewise.
27798 * io/lxstat64.c: Likewise.
27799 * io/mkdir.c: Likewise.
27800 * io/mkdirat.c: Likewise.
27801 * io/mkfifo.c: Likewise.
27802 * io/mkfifoat.c: Likewise.
27803 * io/open.c: Likewise.
27804 * io/open64.c: Likewise.
27805 * io/openat.c: Likewise.
27806 * io/openat64.c: Likewise.
27807 * io/pipe.c: Likewise.
27808 * io/pipe2.c: Likewise.
27809 * io/poll.c: Likewise.
27810 * io/posix_fadvise.c: Likewise.
27811 * io/posix_fadvise64.c: Likewise.
27812 * io/posix_fallocate.c: Likewise.
27813 * io/posix_fallocate64.c: Likewise.
27814 * io/read.c: Likewise.
27815 * io/readlink.c: Likewise.
27816 * io/readlinkat.c: Likewise.
27817 * io/rmdir.c: Likewise.
27818 * io/sendfile.c: Likewise.
27819 * io/sendfile64.c: Likewise.
27820 * io/statfs.c: Likewise.
27821 * io/statfs64.c: Likewise.
27822 * io/statvfs.c: Likewise.
27823 * io/statvfs64.c: Likewise.
27824 * io/symlink.c: Likewise.
27825 * io/symlinkat.c: Likewise.
27826 * io/ttyname.c: Likewise.
27827 * io/ttyname_r.c: Likewise.
27828 * io/umask.c: Likewise.
27829 * io/unlink.c: Likewise.
27830 * io/unlinkat.c: Likewise.
27831 * io/utime.c: Likewise.
27832 * io/utimensat.c: Likewise.
27833 * io/write.c: Likewise.
27834 * io/xmknod.c: Likewise.
27835 * io/xmknodat.c: Likewise.
27836 * io/xstat.c: Likewise.
27837 * io/xstat64.c: Likewise.
27838 * login/getpt.c: Likewise.
27839 * login/grantpt.c: Likewise.
27840 * login/unlockpt.c: Likewise.
27841 * math/e_acoshl.c: Likewise.
27842 * math/e_acosl.c: Likewise.
27843 * math/e_asinl.c: Likewise.
27844 * math/e_atan2l.c: Likewise.
27845 * math/e_atanhl.c: Likewise.
27846 * math/e_coshl.c: Likewise.
27847 * math/e_expl.c: Likewise.
27848 * math/e_fmodl.c: Likewise.
27849 * math/e_gammal_r.c: Likewise.
27850 * math/e_hypotl.c: Likewise.
27851 * math/e_j0l.c: Likewise.
27852 * math/e_j1l.c: Likewise.
27853 * math/e_jnl.c: Likewise.
27854 * math/e_lgammal_r.c: Likewise.
27855 * math/e_log10l.c: Likewise.
27856 * math/e_log2l.c: Likewise.
27857 * math/e_logl.c: Likewise.
27858 * math/e_powl.c: Likewise.
27859 * math/e_rem_pio2l.c: Likewise.
27860 * math/e_sinhl.c: Likewise.
27861 * math/e_sqrtl.c: Likewise.
27862 * math/fclrexcpt.c: Likewise.
27863 * math/fedisblxcpt.c: Likewise.
27864 * math/feenablxcpt.c: Likewise.
27865 * math/fegetenv.c: Likewise.
27866 * math/fegetexcept.c: Likewise.
27867 * math/fegetround.c: Likewise.
27868 * math/feholdexcpt.c: Likewise.
27869 * math/fesetenv.c: Likewise.
27870 * math/fesetround.c: Likewise.
27871 * math/feupdateenv.c: Likewise.
27872 * math/fgetexcptflg.c: Likewise.
27873 * math/fraiseexcpt.c: Likewise.
27874 * math/fsetexcptflg.c: Likewise.
27875 * math/ftestexcept.c: Likewise.
27876 * math/k_cosl.c: Likewise.
27877 * math/k_rem_pio2l.c: Likewise.
27878 * math/k_sinl.c: Likewise.
27879 * math/k_tanl.c: Likewise.
27880 * math/s_asinhl.c: Likewise.
27881 * math/s_atanl.c: Likewise.
27882 * math/s_cbrtl.c: Likewise.
27883 * math/s_erfl.c: Likewise.
27884 * math/s_expm1l.c: Likewise.
27885 * math/s_log1pl.c: Likewise.
27886 * math/s_tanhl.c: Likewise.
27887 * misc/acct.c: Likewise.
27888 * misc/brk.c: Likewise.
27889 * misc/chflags.c: Likewise.
27890 * misc/chroot.c: Likewise.
27891 * misc/fchflags.c: Likewise.
27892 * misc/fgetxattr.c: Likewise.
27893 * misc/flistxattr.c: Likewise.
27894 * misc/fremovexattr.c: Likewise.
27895 * misc/fsetxattr.c: Likewise.
27896 * misc/fsync.c: Likewise.
27897 * misc/ftruncate.c: Likewise.
27898 * misc/futimes.c: Likewise.
27899 * misc/futimesat.c: Likewise.
27900 * misc/getdomain.c: Likewise.
27901 * misc/getdtsz.c: Likewise.
27902 * misc/gethostid.c: Likewise.
27903 * misc/gethostname.c: Likewise.
27904 * misc/getloadavg.c: Likewise.
27905 * misc/getpagesize.c: Likewise.
27906 * misc/getsysstats.c: Likewise.
27907 * misc/getxattr.c: Likewise.
27908 * misc/gtty.c: Likewise.
27909 * misc/ioctl.c: Likewise.
27910 * misc/lgetxattr.c: Likewise.
27911 * misc/listxattr.c: Likewise.
27912 * misc/llistxattr.c: Likewise.
27913 * misc/lremovexattr.c: Likewise.
27914 * misc/lsetxattr.c: Likewise.
27915 * misc/lutimes.c: Likewise.
27916 * misc/madvise.c: Likewise.
27917 * misc/mincore.c: Likewise.
27918 * misc/mlock.c: Likewise.
27919 * misc/mlockall.c: Likewise.
27920 * misc/mmap.c: Likewise.
27921 * misc/mprotect.c: Likewise.
27922 * misc/msync.c: Likewise.
27923 * misc/munlock.c: Likewise.
27924 * misc/munlockall.c: Likewise.
27925 * misc/munmap.c: Likewise.
27926 * misc/preadv.c: Likewise.
27927 * misc/preadv64.c: Likewise.
27928 * misc/ptrace.c: Likewise.
27929 * misc/pwritev.c: Likewise.
27930 * misc/pwritev64.c: Likewise.
27931 * misc/readv.c: Likewise.
27932 * misc/reboot.c: Likewise.
27933 * misc/remap_file_pages.c: Likewise.
27934 * misc/removexattr.c: Likewise.
27935 * misc/revoke.c: Likewise.
27936 * misc/select.c: Likewise.
27937 * misc/setdomain.c: Likewise.
27938 * misc/setegid.c: Likewise.
27939 * misc/seteuid.c: Likewise.
27940 * misc/sethostid.c: Likewise.
27941 * misc/sethostname.c: Likewise.
27942 * misc/setregid.c: Likewise.
27943 * misc/setreuid.c: Likewise.
27944 * misc/setxattr.c: Likewise.
27945 * misc/sstk.c: Likewise.
27946 * misc/stty.c: Likewise.
27947 * misc/swapoff.c: Likewise.
27948 * misc/swapon.c: Likewise.
27949 * misc/sync.c: Likewise.
27950 * misc/syncfs.c: Likewise.
27951 * misc/syscall.c: Likewise.
27952 * misc/truncate.c: Likewise.
27953 * misc/ualarm.c: Likewise.
27954 * misc/usleep.c: Likewise.
27955 * misc/ustat.c: Likewise.
27956 * misc/utimes.c: Likewise.
27957 * misc/vhangup.c: Likewise.
27958 * misc/writev.c: Likewise.
27959 * posix/_exit.c: Likewise.
27960 * posix/alarm.c: Likewise.
27961 * posix/execve.c: Likewise.
27962 * posix/fexecve.c: Likewise.
27963 * posix/fork.c: Likewise.
27964 * posix/fpathconf.c: Likewise.
27965 * posix/getaddrinfo.c: Likewise.
27966 * posix/getegid.c: Likewise.
27967 * posix/geteuid.c: Likewise.
27968 * posix/getgid.c: Likewise.
27969 * posix/getgroups.c: Likewise.
27970 * posix/getlogin.c: Likewise.
27971 * posix/getlogin_r.c: Likewise.
27972 * posix/getpgid.c: Likewise.
27973 * posix/getpid.c: Likewise.
27974 * posix/getppid.c: Likewise.
27975 * posix/getresgid.c: Likewise.
27976 * posix/getresuid.c: Likewise.
27977 * posix/getsid.c: Likewise.
27978 * posix/getuid.c: Likewise.
27979 * posix/glob64.c: Likewise.
27980 * posix/nanosleep.c: Likewise.
27981 * posix/pathconf.c: Likewise.
27982 * posix/pause.c: Likewise.
27983 * posix/posix_madvise.c: Likewise.
27984 * posix/pread.c: Likewise.
27985 * posix/pread64.c: Likewise.
27986 * posix/pwrite.c: Likewise.
27987 * posix/pwrite64.c: Likewise.
27988 * posix/sched_getaffinity.c: Likewise.
27989 * posix/sched_getp.c: Likewise.
27990 * posix/sched_gets.c: Likewise.
27991 * posix/sched_primax.c: Likewise.
27992 * posix/sched_primin.c: Likewise.
27993 * posix/sched_rr_gi.c: Likewise.
27994 * posix/sched_setaffinity.c: Likewise.
27995 * posix/sched_setp.c: Likewise.
27996 * posix/sched_sets.c: Likewise.
27997 * posix/sched_yield.c: Likewise.
27998 * posix/setgid.c: Likewise.
27999 * posix/setlogin.c: Likewise.
28000 * posix/setpgid.c: Likewise.
28001 * posix/setresgid.c: Likewise.
28002 * posix/setresuid.c: Likewise.
28003 * posix/setsid.c: Likewise.
28004 * posix/setuid.c: Likewise.
28005 * posix/sleep.c: Likewise.
28006 * posix/spawni.c: Likewise.
28007 * posix/sysconf.c: Likewise.
28008 * posix/times.c: Likewise.
28009 * posix/wait.c: Likewise.
28010 * posix/wait3.c: Likewise.
28011 * posix/wait4.c: Likewise.
28012 * posix/waitpid.c: Likewise.
28013 * resolv/gai_sigqueue.c: Likewise.
28014 * resource/getpriority.c: Likewise.
28015 * resource/getrlimit.c: Likewise.
28016 * resource/getrusage.c: Likewise.
28017 * resource/nice.c: Likewise.
28018 * resource/setpriority.c: Likewise.
28019 * resource/setrlimit.c: Likewise.
28020 * resource/ulimit.c: Likewise.
28021 * rt/aio_cancel.c: Likewise.
28022 * rt/aio_fsync.c: Likewise.
28023 * rt/aio_read.c: Likewise.
28024 * rt/aio_sigqueue.c: Likewise.
28025 * rt/aio_suspend.c: Likewise.
28026 * rt/aio_write.c: Likewise.
28027 * rt/clock_getres.c: Likewise.
28028 * rt/clock_gettime.c: Likewise.
28029 * rt/clock_nanosleep.c: Likewise.
28030 * rt/clock_settime.c: Likewise.
28031 * rt/lio_listio.c: Likewise.
28032 * rt/mq_close.c: Likewise.
28033 * rt/mq_getattr.c: Likewise.
28034 * rt/mq_notify.c: Likewise.
28035 * rt/mq_open.c: Likewise.
28036 * rt/mq_receive.c: Likewise.
28037 * rt/mq_send.c: Likewise.
28038 * rt/mq_setattr.c: Likewise.
28039 * rt/mq_timedreceive.c: Likewise.
28040 * rt/mq_timedsend.c: Likewise.
28041 * rt/mq_unlink.c: Likewise.
28042 * rt/shm_open.c: Likewise.
28043 * rt/shm_unlink.c: Likewise.
28044 * rt/timer_create.c: Likewise.
28045 * rt/timer_delete.c: Likewise.
28046 * rt/timer_getoverr.c: Likewise.
28047 * rt/timer_gettime.c: Likewise.
28048 * rt/timer_settime.c: Likewise.
28049 * setjmp/__longjmp.c: Likewise.
28050 * setjmp/setjmp.c: Likewise.
28051 * signal/kill.c: Likewise.
28052 * signal/killpg.c: Likewise.
28053 * signal/raise.c: Likewise.
28054 * signal/sigaction.c: Likewise.
28055 * signal/sigaltstack.c: Likewise.
28056 * signal/sigblock.c: Likewise.
28057 * signal/sigignore.c: Likewise.
28058 * signal/sigintr.c: Likewise.
28059 * signal/signal.c: Likewise.
28060 * signal/sigpause.c: Likewise.
28061 * signal/sigpending.c: Likewise.
28062 * signal/sigqueue.c: Likewise.
28063 * signal/sigreturn.c: Likewise.
28064 * signal/sigset.c: Likewise.
28065 * signal/sigsetmask.c: Likewise.
28066 * signal/sigstack.c: Likewise.
28067 * signal/sigsuspend.c: Likewise.
28068 * signal/sigtimedwait.c: Likewise.
28069 * signal/sigvec.c: Likewise.
28070 * signal/sigwait.c: Likewise.
28071 * signal/sigwaitinfo.c: Likewise.
28072 * signal/sysv_signal.c: Likewise.
28073 * socket/accept.c: Likewise.
28074 * socket/accept4.c: Likewise.
28075 * socket/bind.c: Likewise.
28076 * socket/connect.c: Likewise.
28077 * socket/getpeername.c: Likewise.
28078 * socket/getsockname.c: Likewise.
28079 * socket/getsockopt.c: Likewise.
28080 * socket/isfdtype.c: Likewise.
28081 * socket/listen.c: Likewise.
28082 * socket/recv.c: Likewise.
28083 * socket/recvfrom.c: Likewise.
28084 * socket/recvmsg.c: Likewise.
28085 * socket/send.c: Likewise.
28086 * socket/sendmsg.c: Likewise.
28087 * socket/sendto.c: Likewise.
28088 * socket/setsockopt.c: Likewise.
28089 * socket/shutdown.c: Likewise.
28090 * socket/sockatmark.c: Likewise.
28091 * socket/socket.c: Likewise.
28092 * socket/socketpair.c: Likewise.
28093 * stdio-common/ctermid.c: Likewise.
28094 * stdio-common/cuserid.c: Likewise.
28095 * stdio-common/remove.c: Likewise.
28096 * stdio-common/rename.c: Likewise.
28097 * stdio-common/renameat.c: Likewise.
28098 * stdio-common/tempname.c: Likewise.
28099 * stdlib/getcontext.c: Likewise.
28100 * stdlib/makecontext.c: Likewise.
28101 * stdlib/setcontext.c: Likewise.
28102 * stdlib/swapcontext.c: Likewise.
28103 * stdlib/system.c: Likewise.
28104 * streams/fattach.c: Likewise.
28105 * streams/fdetach.c: Likewise.
28106 * streams/getmsg.c: Likewise.
28107 * streams/getpmsg.c: Likewise.
28108 * streams/putmsg.c: Likewise.
28109 * streams/putpmsg.c: Likewise.
28110 * sysdeps/unix/bsd/getpt.c: Likewise.
28111 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28112 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28113 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28115 Likewise.
28116 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28117 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28118 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28119 * sysvipc/msgctl.c: Likewise.
28120 * sysvipc/msgget.c: Likewise.
28121 * sysvipc/msgrcv.c: Likewise.
28122 * sysvipc/msgsnd.c: Likewise.
28123 * sysvipc/semctl.c: Likewise.
28124 * sysvipc/semget.c: Likewise.
28125 * sysvipc/semop.c: Likewise.
28126 * sysvipc/semtimedop.c: Likewise.
28127 * sysvipc/shmat.c: Likewise.
28128 * sysvipc/shmctl.c: Likewise.
28129 * sysvipc/shmdt.c: Likewise.
28130 * sysvipc/shmget.c: Likewise.
28131 * termios/tcdrain.c: Likewise.
28132 * termios/tcflow.c: Likewise.
28133 * termios/tcflush.c: Likewise.
28134 * termios/tcgetattr.c: Likewise.
28135 * termios/tcgetpgrp.c: Likewise.
28136 * termios/tcsendbrk.c: Likewise.
28137 * termios/tcsetattr.c: Likewise.
28138 * termios/tcsetpgrp.c: Likewise.
28139 * time/adjtime.c: Likewise.
28140 * time/clock.c: Likewise.
28141 * time/getitimer.c: Likewise.
28142 * time/gettimeofday.c: Likewise.
28143 * time/setitimer.c: Likewise.
28144 * time/settimeofday.c: Likewise.
28145 * time/stime.c: Likewise.
28146 * time/time.c: Likewise.
28147
281482012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 28149
a20492cf
PT
28150 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28151 /usr/old/bin.
28152
72e182e3
PT
28153 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28154 instead of spaces.
28155 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28156
fbeafede
JM
281572012-11-03 Joseph Myers <joseph@codesourcery.com>
28158
5b5b04d6
JM
28159 [BZ #14796]
28160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28161 FE_TONEAREST before applying Dekker multiplication and Knuth
28162 addition. Clear inexact exceptions and check for exact zero
28163 results afterwards.
28164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28165 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28166 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28167 * math/libm-test.inc (fma_test): Add more tests.
28168 (fma_test_towardzero): Likewise.
28169 (fma_test_downward): Likewise.
28170 (fma_test_upward): Likewise.
28171 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28172 function.
28173 (libc_fesetround): New macro.
28174 (libc_fesetroundf): Likewise.
28175 (libc_fesetroundl): Likewise.
28176 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28177 function.
28178 (libc_fesetround_387): Likewise.
28179 (libc_fesetroundf): New macro.
28180 (libc_fesetround): Likewise.
28181 (libc_fesetroundl): Likewise.
28182 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28183 function.
28184 (libc_fesetroundf): New macro.
28185 (libc_fesetround): Likewise.
28186 (libc_fesetroundl): Likewise.
28187 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28188 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28189 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28190 libm_hidden_ver.
28191 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28192 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28193 libm_hidden_def.
28194 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28195 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28196 libm_hidden_ver.
28197 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28198 libm_hidden_def.
28199
fbeafede
JM
28200 [BZ #3439]
28201 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28202 integer constant usable in #if and use that to give value to enum
28203 constant.
28204 (FE_DIVBYZERO): Likewise.
28205 (FE_UNDERFLOW): Likewise.
28206 (FE_OVERFLOW): Likewise.
28207 (FE_INVALID): Likewise.
28208 (FE_INVALID_SNAN): Likewise.
28209 (FE_INVALID_ISI): Likewise.
28210 (FE_INVALID_IDI): Likewise.
28211 (FE_INVALID_ZDZ): Likewise.
28212 (FE_INVALID_IMZ): Likewise.
28213 (FE_INVALID_COMPARE): Likewise.
28214 (FE_INVALID_SOFTWARE): Likewise.
28215 (FE_INVALID_SQRT): Likewise.
28216 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28217 (FE_TONEAREST): Likewise.
28218 (FE_TOWARDZERO): Likewise.
28219 (FE_UPWARD): Likewise.
28220 (FE_DOWNWARD): Likewise.
28221 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28222 (FE_DIVBYZERO): Likewise.
28223 (FE_OVERFLOW): Likewise.
28224 (FE_UNDERFLOW): Likewise.
28225 (FE_INEXACT): Likewise.
28226 (FE_TONEAREST): Likewise.
28227 (FE_DOWNWARD): Likewise.
28228 (FE_UPWARD): Likewise.
28229 (FE_TOWARDZERO): Likewise.
28230 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28231 (FE_UNDERFLOW): Likewise.
28232 (FE_OVERFLOW): Likewise.
28233 (FE_DIVBYZERO): Likewise.
28234 (FE_INVALID): Likewise.
28235 (FE_TONEAREST): Likewise.
28236 (FE_TOWARDZERO): Likewise.
28237 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28238 (FE_OVERFLOW): Likewise.
28239 (FE_UNDERFLOW): Likewise.
28240 (FE_DIVBYZERO): Likewise.
28241 (FE_INEXACT): Likewise.
28242 (FE_TONEAREST): Likewise.
28243 (FE_TOWARDZERO): Likewise.
28244 (FE_UPWARD): Likewise.
28245 (FE_DOWNWARD): Likewise.
28246 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28247 (FE_DIVBYZERO): Likewise.
28248 (FE_OVERFLOW): Likewise.
28249 (FE_UNDERFLOW): Likewise.
28250 (FE_INEXACT): Likewise.
28251 (FE_TONEAREST): Likewise.
28252 (FE_DOWNWARD): Likewise.
28253 (FE_UPWARD): Likewise.
28254 (FE_TOWARDZERO): Likewise.
28255
105ca950
CM
282562012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28257
28258 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28259
a542b389
AS
282602012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28261
28262 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28263 commands. Quote $PWD.
28264 (blacklist_exports): Don't use remove_newlines. Replace "declare
28265 -x" by "export".
28266 (remove_newlines): Remove.
28267
f62c8abc
L
282682012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28269
28270 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28271 * stdlib/stdlib.h (atof): Moved to ...
28272 * include/bits/stdlib-float.h: Here. New file.
28273 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28274 * stdlib/bits/stdlib-float.h: New file.
28275 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28276 -mno-sse -mno-mmx.
28277 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28278 <xmmintrin.h>.
28279
0155d5b2
JM
282802012-11-02 Joseph Myers <joseph@codesourcery.com>
28281
a68d0680
JM
28282 * conform/conformtest.pl (@headers): Add fenv.h.
28283 * conform/data/fenv.h-data: New file.
28284 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28285 include of <math/fenv.h>.
28286
caf7f573
JM
28287 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28288 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28289 && !UNIX98]. Enables tests for XOPEN2K8.
28290 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28291 POSIX2008]: Likewise.
28292
6c073ad6
JM
28293 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28294 (struct rusage): Do not expect type or its members.
28295
0155d5b2
JM
28296 [BZ #3439]
28297 * math/math.h (FP_NAN): Define macro to integer constant usable in
28298 #if and use that to give value to enum constant.
28299 (FP_INFINITE): Likewise.
28300 (FP_ZERO): Likewise.
28301 (FP_SUBNORMAL): Likewise.
28302 (FP_NORMAL): Likewise.
28303
b5dcacb4
AS
283042012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28305
28306 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28307 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28308 arguments.
28309
f7934be8
RM
283102012-11-02 Roland McGrath <roland@hack.frob.com>
28311
28312 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28313 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28314 autoconf-time if not.
28315 * configure.in: Remove AC_PREREQ.
28316
d7d08bde
TMQMF
283172012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28318
28319 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28320 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28321 of the internal implementation.
28322
dcdae19a
JM
283232012-11-02 Joseph Myers <joseph@codesourcery.com>
28324
28325 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28326 except include of <misc/sys/syslog.h>.
28327
d6cffd3e
AS
283282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28329
28330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28331 function returns with a NULL context exit with zero.
28332
b3563932
TMQMF
283332012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28334
28335 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28336
b288a93d
L
283372012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28338
28339 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28340 (run_program_cmd): This.
28341 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28342 (tst_langinfo): New variable. Use it.
28343
a2421a68
SAS
283442012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28345
28346 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28347 floating point opcodes.
28348
6f796e1b
TS
283492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28350
7402596b
TS
28351 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28352 variable.
28353
d0d4f868
TS
28354 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28355
6f796e1b
TS
28356 * sysdeps/mach/hurd/powerpc: Remove directory.
28357 * sysdeps/mach/powerpc: Likewise.
28358
4da224a2
AS
283592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28360
28361 * scripts/check-local-headers.sh: Ignore c++ headers.
28362
341dd673
TS
283632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28364
28365 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28366 __libc_cleanup_region_start argument.
28367
473611b2
JM
283682012-11-01 Joseph Myers <joseph@codesourcery.com>
28369
28370 [BZ #14784]
28371 [BZ #14785]
28372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28373 x * y using scaling, not as x * y + z.
28374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28375 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28376 * math/libm-test.inc (fma_test): Add more tests.
28377 (fma_test_towardzero): Likewise.
28378 (fma_test_downward): Likewise.
28379 (fma_test_upward): Likewise.
28380
4078da3d
TS
283812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28382
28383 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28384
903252aa
JM
283852012-10-31 Joseph Myers <joseph@codesourcery.com>
28386
28387 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28388 New variable.
28389
cbc818d0
TS
283902012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28391
28392 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28393
5a03cb1e
AS
283942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28395
28396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28397 Fix sort order.
28398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28399 Likewise.
28400
90aff2ff
TMQMF
284012012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28402
28403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28404 Fix the order of the list for glibc 2.17.
28405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28406 Likewise.
28407
1818fcb7
AS
284082012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28409
28410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28411
ef82f4da
JM
284122012-10-31 Joseph Myers <joseph@codesourcery.com>
28413
16a0e2ec
JM
28414 [BZ #14610]
28415 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28416 for low part of x being zero before using __atanl (y).
28417 * math/libm-test.inc (atan2_test): Add another test.
28418
0eb69512
JM
28419 * manual/install.texi (Configuring and compiling): Document
28420 general use of test-wrapper and test-wrapper-env.
28421 * INSTALL: Regenerated.
28422
ef82f4da
JM
28423 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28424 (__fma): Do not extract and scale down low bits on after-rounding
28425 systems when result rounded to normal precision would have normal
28426 exponent.
28427 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28428 (__fmal): Do not extract and scale down low bits on after-rounding
28429 systems when result rounded to normal precision would have normal
28430 exponent.
28431 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28432 (__fmal): Do not extract and scale down low bits on after-rounding
28433 systems when result rounded to normal precision would have normal
28434 exponent.
28435 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28436 macro.
28437 (fma_test): Add more tests.
28438 (fma_test_towardzero): Likewise.
28439 (fma_test_downward): Likewise.
28440 (fma_test_upward): Likewise.
28441
954ef0d9
L
284422012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28443
28444 * sysdeps/i386/tininess.h: Renamed to ...
28445 * sysdeps/x86/tininess.h: This.
28446 * sysdeps/x86_64/tininess.h: Removed.
28447
df61ffb2
JM
284482012-10-30 Joseph Myers <joseph@codesourcery.com>
28449
28450 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28451 input. Use $(build-program-cmd).
28452 ($(objpfx)tst-array1-static.out): Likewise.
28453 ($(objpfx)tst-array2.out): Likewise.
28454 ($(objpfx)tst-array3.out): Likewise.
28455 ($(objpfx)tst-array4.out): Likewise.
28456 ($(objpfx)tst-array5.out): Likewise.
28457 ($(objpfx)tst-array5-static.out): Likewise.
28458
01767843
CM
284592012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28460
47cc1490
CM
28461 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28462 if defined.
28463
01767843
CM
28464 * nss/nsswitch.h (nss_interface_function): Provide new
28465 macro for use with NSS functions.
28466 * grp/initgroups.c: Use new macro.
28467 * nss/getXXbyYY.c: Likewise.
28468 * nss/getXXbyYY_r.c: Likewise.
28469 * nss/getXXent.c: Likewise.
28470 * nss/getXXent_r.c: Likewise.
28471 * sysdeps/posix/getaddrinfo.c: Likewise.
28472
8321aa97
AJ
284732012-10-30 Andreas Jaeger <aj@suse.de>
28474
28475 * po/ru.po: Update Russion translation from translation project.
28476
2a27fd6d
JM
284772012-10-30 Joseph Myers <joseph@codesourcery.com>
28478
8627a232
JM
28479 [BZ #14152]
28480 [BZ #14783]
28481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28482 result and shift together with sticky bit instead of replicating
28483 round-to-nearest rounding.
28484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28486 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28487 missing underflow exceptions.
28488 (fma_test_towardzero): Add more tests.
28489 (fma_test_downward): Likewise.
28490 (fma_test_upward): Likewise.
28491
2a27fd6d
JM
28492 [BZ #14047]
28493 * sysdeps/generic/tininess.h: New file.
28494 * sysdeps/i386/tininess.h: Likewise.
28495 * sysdeps/sh/tininess.h: Likewise.
28496 * sysdeps/x86_64/tininess.h: Likewise.
28497 * stdlib/tst-strtod-underflow.c: Likewise.
28498 * stdlib/tst-tininess.c: Likewise.
28499 * stdlib/strtod_l.c: Include <tininess.h>.
28500 (round_and_return): Do not set errno for exact underflow cases.
28501 Force an underflow exception when setting errno for underflow.
28502 Determine underflow based on rounding to normal precision if
28503 TININESS_AFTER_ROUNDING.
28504 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28505 ERANGE for exact underflow cases.
28506 * stdlib/Makefile (tests): Add tst-tininess and
28507 tst-strtod-underflow.
28508 ($(objpfx)tst-tininess): Use $(link-libm).
28509 ($(objpfx)tst-strtod-underflow): Likewise.
28510
e7170363
AJ
285112012-10-30 Andreas Jaeger <aj@suse.de>
28512
e5088dc6
AJ
28513 [BZ#14767]
28514 * elf/Makefile (tests): Remove conditional for have-initfini-array
28515 since this is now always required and the variable does not exist
28516 anymore.
28517 (tests-static): Likewise.
28518 (modules-names): Likewise.
28519
e7170363 28520 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28521
28522 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28523 merged with constructor/destructor.
28524 (init_array): Likewise.
28525 * elf/tst-array2dep.c (fini_array): Likewise.
28526 (init_array): Likewise.
28527
60457d8a
MF
285282012-10-29 Mike Frysinger <vapier@gentoo.org>
28529
28530 * manual/message.texi: Delete @cartouche tags.
28531
8bece752
PT
285322012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28533
94ce799f
PT
28534 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28535 EOPNOTSUPP.
28536 * sysdeps/mach/hurd/fsync.c: Likewise.
28537
8bece752
PT
28538 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28539 [_POSIX_REALTIME_SIGNALS]: Change condition to
28540 [_POSIX_REALTIME_SIGNALS > 0].
28541
86ebe6b1
AJ
285422012-10-27 Andreas Jaeger <aj@suse.de>
28543
28544 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28545 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28546 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28547 [__WORDSIZE != 64]: Likewise.
28548
54399c08
L
285492012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28550
28551 * iconvdata/tst-table.sh: Remove ${SHELL}.
28552 * iconvdata/tst-tables.sh: Likewise.
28553
e2211bed
DM
285542012-10-25 David S. Miller <davem@davemloft.net>
28555
28556 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28557 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28558 of strtoull.
28559
f303f97c
DM
28560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28561 ifunc-impl-list.c
28562 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28563 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28564 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28565 file.
28566
1e9d84cd
RM
285672012-10-25 Roland McGrath <roland@hack.frob.com>
28568
28569 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28570 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28571 __getdirentries.
28572
df381762
JM
285732012-10-25 Joseph Myers <joseph@codesourcery.com>
28574 Jim Blandy <jimb@codesourcery.com>
28575
28576 * scripts/cross-test-ssh.sh: New file.
28577 * manual/install.texi (Configuring and compiling): Document use of
28578 cross-test-ssh.sh.
28579 * INSTALL: Regenerated.
28580
bff64913
PT
285812012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28582
28583 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28584 EOPNOTSUPP.
28585
25fe8932
JM
285862012-10-25 Joseph Myers <joseph@codesourcery.com>
28587
28588 * Makeconfig (run-program-prefix): Fix comment.
28589
cc1290d0
JM
285902012-10-24 Joseph Myers <joseph@codesourcery.com>
28591 Jim Blandy <jimb@codesourcery.com>
28592
28593 * Makeconfig (test-wrapper): New variable,
28594 (test-wrapper-env): Likewise.
28595 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28596 (run-built-tests): Define to yes.
28597 (run-program-prefix): Use $(test-wrapper).
28598 (built-program-cmd): Likewise.
28599 * Rules (make-test-out): Use $(test-wrapper-env) and
28600 $(host-built-program-cmd).
28601 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28602 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28603 tst-pathopt.sh.
28604 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28605 $(test-wrapper-env) to tst-rtld-load-self.sh.
28606 ($(objpfx)order2.out): Use $(test-wrapper).
28607 ($(objpfx)tst-initorder.out): Likewise.
28608 ($(objpfx)tst-initorder2.out): Likewise.
28609 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28610 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28611 (test_wrapper_env): New variable. Use it to run ld.so.
28612 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28613 Use it to run ld.so.
28614 (test_wrapper_env): Likewise.
28615 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28616 $(test-wrapper) to run-iconv-test.sh.
28617 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28618 (ICONV): Use $test_wrapper.
28619 * posix/Makefile ($(objpfx)globtest.out): Pass
28620 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28621 globtest.sh, not $(run-program-prefix).
28622 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28623 (test_wrapper): Likewise.
28624 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28625 set together with run_via_rtld_prefix.
28626 (run_program_prefix): Define in terms of test_wrapper and
28627 run_via_rtld_prefix.
28628
6e6249d0
RM
286292012-10-24 Roland McGrath <roland@hack.frob.com>
28630
28631 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28632 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28633 Targets removed.
28634
28635 [BZ #14743]
28636 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28637 Declare __clock_getres, __clock_gettime, __clock_settime,
28638 __clock_nanosleep, and __clock_getcpuclockid.
28639 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28640 Remove librt_hidden_def (clock_gettime).
28641 * sysdeps/unix/clock_gettime.c: Likewise.
28642 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28643 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28644 * rt/clock_getres.c: Define __clock_getres as an alias.
28645 * sysdeps/posix/clock_getres.c: Likewise.
28646 * rt/clock_settime.c: Define __clock_settime as an alias.
28647 * sysdeps/unix/clock_settime.c: Likewise.
28648 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28649 * sysdeps/unix/clock_nanosleep.c: Likewise.
28650 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28651 * rt/clock-compat.c: New file.
28652 * rt/Makefile (librt-routines): Add clock-compat and move
28653 $(clock-routines) to ...
28654 (routines): ... here, new variable.
28655 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28656 Don't add get_clockfreq here.
28657 * rt/Versions (libc: GLIBC_2.17): New version set.
28658 Add clock_* symbols here.
28659 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28660 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28661 (GLIBC_2.17): Add clock_* symbols.
28662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28664 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28666 Likewise.
28667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28668 Likewise.
28669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28673 * NEWS: Mention the move.
28674
28675 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28676 Use __open, __read, __close rather than their public counterparts.
28677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28678 (__get_clockfreq_via_cpuinfo): Likewise.
28679 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28680 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28681
28682 * config.h.in (HAVE_IFUNC): New #undef.
28683 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28684 was successful.
28685 * configure: Regenerated.
28686
0cae3f4b
MF
286872012-10-24 Mike Frysinger <vapier@gentoo.org>
28688
28689 * configure.in: Move READELF check to start of file.
28690 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28691 libc_cv_asm_gnu_indirect_function in the process.
28692 * configure: Regenerated.
28693
8175a253
MF
286942012-10-24 Mike Frysinger <vapier@gentoo.org>
28695
28696 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28697 send the output to /dev/null.
28698 (libc_cv_cc_with_libunwind): Likewise.
28699 (libc_cv_as_noexecstack): Likewise.
28700 * configure: Regenerate.
28701
0708a7d1
JM
287022012-10-24 Joseph Myers <joseph@codesourcery.com>
28703
10b40d85
JM
28704 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28705
0708a7d1
JM
28706 * posix/globtest.sh (TMPDIR): Do not set.
28707 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28708 (testout): Likewise.
28709
9fddec1a
AJ
287102012-10-24 Andreas Jaeger <aj@suse.de>
28711
3a8db22f
AJ
28712 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28713 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28714 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28715 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28716 posix_fadvise64, posix_fallocate64.
28717
9fddec1a
AJ
28718 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28719 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28720 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28721 Likewise.
28722 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28723 Likewise.
28724 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28725
28726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28727 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28728 <bits/fcntl-linux.h>.
28729 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28730
28731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28732 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28733 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28734 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28735 [__WORDSIZE != 64]: Likewise.
28736
ebfd1bbd
JM
287372012-10-23 Joseph Myers <joseph@codesourcery.com>
28738
03ac099f
JM
28739 * Makeconfig (run-built-tests): New variable.
28740 * Rules [$(cross-compiling) = yes]: Change condition to
28741 [$(run-built-tests) = no].
28742 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28743 to [$(run-built-tests) = yes].
28744 * elf/Makefile [$(cross-compiling) = no]: Likewise
28745 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28746 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28747 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28748 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28749 * io/Makefile [$(cross-compiling) = no]: Likewise.
28750 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28751 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28752 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28753 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28754 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28755 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28756 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28757 * string/Makefile [$(cross-compiling) = no]: Likewise.
28758
ebfd1bbd
JM
28759 * posix/Makefile ($(objpfx)globtest.out): Pass
28760 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28761 $(rtld-installed-name).
28762 * posix/globtest.sh (elf_objpfx): Remove variable.
28763 (rtld_installed_name): Likewise.
28764 (library_path): Likewise.
28765 (run_program_prefix): New variable. Use for running globtest
28766 binary.
28767
166bca24
JB
287682012-10-23 Jim Blandy <jimb@codesourcery.com>
28769 Joseph Myers <joseph@codesourcery.com>
28770
28771 * Makeconfig (host-built-program-cmd): New variable.
28772 * elf/Makefile (tst-stackguard1-ARGS): Use
28773 $(host-built-program-cmd).
28774 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28775 (tst-spawn-ARGS): Likewise.
28776 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28777
88866099
JM
287782012-10-23 Joseph Myers <joseph@codesourcery.com>
28779 Jim Blandy <jimb@codesourcery.com>
28780
28781 * Makeconfig (run-via-rtld-prefix): New variable.
28782 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28783 (built-program-cmd): Likewise.
28784
b4b4c296
AJ
287852012-10-22 Andreas Jaeger <aj@suse.de>
28786
28787 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28788 __O_RSYNC if it exists, otherwise to O_SYNC.
28789
6fb54a22
JB
287902012-10-22 Jim Blandy <jimb@codesourcery.com>
28791 Joseph Myers <joseph@codesourcery.com>
28792
28793 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28794 /dev/null.
28795 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28796 from /dev/null
28797 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28798 /dev/null.
28799
481b90b9
AJ
288002012-10-22 Andreas Jaeger <aj@suse.de>
28801
2a0e2669
AJ
28802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28803 Define always.
28804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28805
76e38f9a
AJ
28806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28807 bits/fcntl-linux.h.
28808
7cd37b43
AJ
28809 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28810 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28811
481b90b9
AJ
28812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28813 to __O_LARGEFILE.
28814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28815 to __O_LARGEFILE.
28816
aba75984
JB
288172012-10-21 Jim Blandy <jimb@codesourcery.com>
28818 Joseph Myers <joseph@codesourcery.com>
28819
28820 * config.make.in (NM): New variable.
28821
88d4247f
AJ
288222012-10-21 Andreas Jaeger <aj@suse.de>
28823
28824 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28825 definitions and declarations that are provided by
28826 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28827
f2eed205
L
288282012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28829
28830 [BZ #14683]
28831 * elf/Makefile (tests-static): Add tst-leaks1-static.
28832 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28833 ($(objpfx)tst-leaks1-static): New rule.
28834 ($(objpfx)tst-leaks1-static-mem): Likewise.
28835 (tst-leaks1-static-ENV): New macro.
28836 * elf/dl-open.c (dl_open_worker): Check the main application
28837 only if SHARED is defined.
28838 * elf/tst-leaks1-static.c: New file.
28839
335e6931
AJ
288402012-10-20 Andreas Jaeger <aj@suse.de>
28841
28842 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28843 generic values for Linux.
28844 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28845 and declarations that are provided by <bits/fcntl-linux.h> and
28846 include <bits/fcntl-linux.h>.
28847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28848 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28849
ac5c94d3
RM
288502012-10-20 Roland McGrath <roland@hack.frob.com>
28851
28852 * io/fcntl.h: Move include of <bits/types.h> to the top and
28853 include it unconditionally.
28854
de54b33a
L
288552012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28856
228cfb01
L
28857 * wcsmbs/Makefile (tests-ifunc): New variable.
28858 (tests): Add $(tests-ifunc).
28859 * wcsmbs/test-wcschr-ifunc.c: New file.
28860 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28861 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28862 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28863 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28864 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28865
69f07e5f
L
28866 * string/Makefile (tests-ifunc): New variable.
28867 (tests): Add $(tests-ifunc).
28868 * string/test-memccpy.c (TEST_NAME): New macro.
28869 * string/test-memchr.c (TEST_NAME): Likewise.
28870 * string/test-memcmp.c (TEST_NAME): Likewise.
28871 * string/test-memcpy.c (TEST_NAME): Likewise.
28872 * string/test-memmem.c (TEST_NAME): Likewise.
28873 * string/test-memmove.c (TEST_NAME): Likewise.
28874 * string/test-memset.c (TEST_NAME): Likewise.
28875 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28876 * string/test-stpcpy.c (TEST_NAME): Likewise.
28877 * string/test-stpncpy.c (TEST_NAME): Likewise.
28878 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28879 * string/test-strcasestr.c (TEST_NAME): Likewise.
28880 * string/test-strcat.c (TEST_NAME): Likewise.
28881 * string/test-strchr.c (TEST_NAME): Likewise.
28882 * string/test-strcmp.c(TEST_NAME): Likewise.
28883 * string/test-strcpy.c (TEST_NAME): Likewise.
28884 * string/test-strcspn.c (TEST_NAME): Likewise.
28885 * string/test-strlen.c (TEST_NAME): Likewise.
28886 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28887 * string/test-strncmp.c (TEST_NAME): Likewise.
28888 * string/test-strncpy.c (TEST_NAME): Likewise.
28889 * string/test-strnlen.c (TEST_NAME): Likewise.
28890 * string/test-strpbrk.c (TEST_NAME): Likewise.
28891 * string/test-strrchr.c (TEST_NAME): Likewise.
28892 * string/test-strspn.c (TEST_NAME): Likewise.
28893 * string/test-strstr.c (TEST_NAME): Likewise.
28894 * string/test-bcopy-ifunc.c: New file.
28895 * string/test-bzero-ifunc.c: Likewise.
28896 * string/test-memccpy-ifunc.c: Likewise.
28897 * string/test-memchr-ifunc.c: Likewise.
28898 * string/test-memcmp-ifunc.c: Likewise.
28899 * string/test-memcpy-ifunc.c: Likewise.
28900 * string/test-memmem-ifunc.c: Likewise.
28901 * string/test-memmove-ifunc.c: Likewise.
28902 * string/test-mempcpy-ifunc.c: Likewise.
28903 * string/test-memset-ifunc.c: Likewise.
28904 * string/test-rawmemchr-ifunc.c: Likewise.
28905 * string/test-stpcpy-ifunc.c: Likewise.
28906 * string/test-stpncpy-ifunc.c: Likewise.
28907 * string/test-strcasecmp-ifunc.c: Likewise.
28908 * string/test-strcasestr-ifunc.c: Likewise.
28909 * string/test-strcat-ifunc.c: Likewise.
28910 * string/test-strchr-ifunc.c: Likewise.
28911 * string/test-strchrnul-ifunc.c: Likewise.
28912 * string/test-strcmp-ifunc.c: Likewise.
28913 * string/test-strcpy-ifunc.c: Likewise.
28914 * string/test-strcspn-ifunc.c: Likewise.
28915 * string/test-strlen-ifunc.c: Likewise.
28916 * string/test-strncasecmp-ifunc.c: Likewise.
28917 * string/test-strncat-ifunc.c: Likewise.
28918 * string/test-strncmp-ifunc.c: Likewise.
28919 * string/test-strncpy-ifunc.c: Likewise.
28920 * string/test-strnlen-ifunc.c: Likewise.
28921 * string/test-strpbrk-ifunc.c: Likewise.
28922 * string/test-strrchr-ifunc.c: Likewise.
28923 * string/test-strspn-ifunc.c: Likewise.
28924 * string/test-strstr-ifunc.c: Likewise.
28925
de54b33a
L
28926 * debug/Makefile (tests-ifunc): New variable.
28927 (tests): Add $(tests-ifunc).
28928 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28929 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28930 * debug/test-stpcpy_chk-ifunc.c: New file.
28931 * debug/test-strcpy_chk-ifunc.c: Likewise.
28932
88481c16
SP
289332012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28934
28935 [BZ #13601]
28936 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28937 header is not read in.
28938
135948bd
JM
289392012-10-19 Joseph Myers <joseph@codesourcery.com>
28940
89f1c388
JM
28941 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28942 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28943 directly. Pass built executable to script as
28944 $(built-program-cmd).
28945 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28946 $testprogram without using LD_LIBRARY_PATH and $ldso.
28947
e40a0d21
JM
28948 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28949 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28950 $(rtld-installed-name).
28951 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28952 (rtld_installed_name): Likewise.
28953 (library_path): Likewise.
28954 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28955 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28956 $(run-program-prefix) to tst-tables.sh.
28957 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28958 it to run tst-table-from and tst-table-to.
28959 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28960 Pass it to tst-table.sh.
28961 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28962 $(run-program-prefix) to tst-gettext.sh.
28963 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28964 tst-translit.sh.
28965 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28966 tst-gettext2.sh.
28967 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28968 to run tst-gettext.
28969 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28970 to run tst-gettext2.
28971 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28972 to run tst-translit.
28973 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28974 $(run-program-prefix) to tst-mtrace.sh.
28975 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28976 to run tst-mtrace.
28977 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28978 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28979 $(rtld-installed-name).
28980 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28981 (rtld_installed_name): Likewise.
28982 (run_program_prefix): New variable. Use it to run wordexp-test.
28983
728e272a
JM
28984 * Makeconfig (ARCH): Remove all definitions.
28985 (machine): Likewise.
28986 [ARCH]: Remove conditional code.
28987 [!objdir]: Give error.
28988 [!objdir] (objpfx): Remove.
28989 [!objdir] (common-objpfx): Likewise.
28990 [!objdir] (common-objdir): Likewise.
28991 * configure.in (config_makefile): Remove. Hardcode Makefile in
28992 AC_CONFIG_FILES call.
28993 * configure: Regenerated.
28994
d528cdcf
JM
28995 [BZ #13888]
28996 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28997 or TMPDIR.
28998 (testout): Likewise.
28999
135948bd
JM
29000 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29001 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29002 $(rtld-installed-name).
29003 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29004 (rtld_installed_name): Likwise.
29005 (runit): Remove function.
29006 (run_getconf): New variable, Use it for running getconf binary.
29007
38c78296
L
290082012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29009
29010 [BZ #14716]
29011 * string/test-memmem.c (check_result): New function.
29012 (do_one_test): Use it.
29013 (check1): New function.
29014 (test_main): Use it.
29015
d077f65f
MT
290162012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29017
29018 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29019
ced52c71
JM
290202012-10-18 Joseph Myers <joseph@codesourcery.com>
29021
29022 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29023 (_G_LSEEK64): Likewise.
29024 (_G_MMAP64): Likewise.
29025 (_G_FSTAT64): Likewise.
29026 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29027 (_G_LSEEK64): Likewise.
29028 (_G_MMAP64): Likewise.
29029 (_G_FSTAT64): Likewise.
29030 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29031 unconditional. Call __mmap64 directly.
29032 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29033 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29034 __lseek64 directly.
29035 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29036 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29037 __mmap64 directly.
29038 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29039 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29040 __lseek64 directly.
29041 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29042 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29043 __lseek64 directly.
29044 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29045 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29046 __lseek64 directly.
29047 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29048 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29049 __fxstat64 directly.
29050 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29051 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29052 unconditional.
29053 (freopen64) [!_G_OPEN64]: Remove conditional code.
29054 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29055 unconditional.
29056 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29057 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29058 unconditional.
29059 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29060 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29061 unconditional.
29062 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29063 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29064 unconditional.
29065 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29066 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29067 unconditional.
29068 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29069 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29070 unconditional.
29071 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29072 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29073 unconditional.
29074 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29075
b741de23
SP
290762012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29077
29078 [BZ #12140]
29079 * manual/memory.texi (Malloc Tunable Parameters): Add note
29080 about free list pointers overwriting some perturb bytes.
29081 Wording suggested by Roland McGrath.
29082
f9b9d9c9
JM
290832012-10-17 Joseph Myers <joseph@codesourcery.com>
29084
29085 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29086 (lgamma_test): Likewise.
29087 (tgamma_test): Likewise.
29088
172a631a
FW
290892012-10-16 Florian Weimer <fweimer@redhat.com>
29090
29091 [BZ #14700]
29092 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29093 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29094
e9f37252
MK
290952012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29096
29097 * NEWS: Mention BZ #14716.
29098 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29099 when removing AVAILABLE1_USES_J macro.
29100
d394eb74
L
291012012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29102
29103 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29104 (__bswap_64): __uint64_t for unsigned 64-bit int.
29105
ca38dc17
AS
291062012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29107
29108 * include/string.h (memmem): Declare libc hidden alias.
29109 * string/memmem.c (memmem): Define libc hidden alias.
29110 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29111 __read, __close instead of open, read, close.
29112
9a387d1f
L
291132012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29114
ac49ecaf
L
29115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29116 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29117 global and hidden.
29118 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29119 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29120 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29121 Likewise.
29122 (__rawmemchr_sse2): Likewise.
29123 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29124 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29125 (__strchr_sse2): Likewise.
29126 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29127 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29128 (__strcasecmp_sse2): Likewise.
29129 (__strncasecmp_sse2): Likewise.
29130 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29131 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29132 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29133 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29134 (__strrchr_sse2): Likewise.
29135 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29136 ifunc-impl-list.c.
29137 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29138 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29139 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29140 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29141 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29142 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29143 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29144 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29145 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29146 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29147 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29148 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29149 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29150 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29151 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29152 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29153 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29154 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29155 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29156 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29157 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29158 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29159 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29160 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29161 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29162 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29163 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29164 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29165 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29166 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29167
b090e8ea
L
29168 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29169 global and hidden.
29170 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29171 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29172 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29173 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29174 Likewise.
29175 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29176 Likewise.
29177 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29178 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29179 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29180 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29181 ifunc-impl-list.c.
29182 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29183 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29184 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29185 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29186 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29187 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29188 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29189 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29190 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29191 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29192 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29193 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29194 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29195 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29196 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29197 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29198 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29199 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29200 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29201 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29202 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29203 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29204 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29205 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29206 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29207 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29208 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29209 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29210 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29211 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29212 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29213 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29214 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29215 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29216 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29217 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29218 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29219 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29220 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29221 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29222 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29223
11dd4af6
L
29224 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29225 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29226 * include/ifunc-impl-list.h: New file.
29227 * misc/ifunc-impl-list.c: Likewise.
29228 * misc/Makefile (routines): Add ifunc-impl-list.
29229 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29230 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
29231 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29232 TEST_NAME]: New variables.
11dd4af6
L
29233 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29234 are defined.
29235 (test_init): Call __libc_ifunc_impl_list to initialize
29236 func_list if TEST_IFUNC and TEST_NAME are defined.
29237
9a387d1f
L
29238 * string/Makefile (strop-tests): Add bcopy and bzero.
29239 * string/test-bcopy.c: New file.
29240 * string/test-bzero.c: Likewise.
29241 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29242 defined.
29243 * string/test-memset.c: Support bzero test if TEST_BZERO is
29244 defined.
29245 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29246 __libc_memmove.
29247 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29248 __libc_memset.
29249 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29250 of memset.
29251
472371b9
JM
292522012-10-10 Joseph Myers <joseph@codesourcery.com>
29253
1e4a9536
JM
29254 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29255 * configure: Regenerated.
29256
d173d12e
JM
29257 * Makeconfig (+link-static-before-libc): Don't include
29258 $(link-static-libc).
29259
472371b9
JM
29260 * libio/libio.h (_IO_pos_t): Remove.
29261
89a3ad0b
AO
292622012-10-10 Alexandre Oliva <aoliva@redhat.com>
29263
29264 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29265 McGrath.
29266
e7451425
AO
292672012-10-10 Alexandre Oliva <aoliva@redhat.com>
29268
29269 * crypt/crypt-entry.c: Include fips-private.h.
29270 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29271 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29272 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29273 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29274
4ba74a35
AO
292752012-10-10 Alexandre Oliva <aoliva@redhat.com>
29276
29277 * crypt/crypt-private.h: Include stdbool.h.
29278 (_ufc_setup_salt_r): Return bool.
29279 * crypt/crypt-entry.c: Include errno.h.
29280 (__crypt_r): Return NULL with EINVAL for bad salt.
29281 * crypt/crypt_util.c (bad_for_salt): New.
29282 (_ufc_setup_salt_r): Check that salt is long enough and within
29283 the specified alphabet.
29284 * crypt/badsalttest.c: New file.
29285 * crypt/Makefile (tests): Add it.
29286 ($(objpfx)badsalttest): New.
29287
f96f1242
MK
292882012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29289
29290 * NEWS: Add entry for BZ #14602.
29291
0e8e0c1c
JM
292922012-10-09 Joseph Myers <joseph@codesourcery.com>
29293
29294 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29295 type-generic.
29296 * math/libm-test.inc: Update comment listing what functions and
29297 macros are tested.
29298 (isgreater_test): New function.
29299 (isgreaterequal_test): Likewise.
29300 (isless_test): Likewise.
29301 (islessequal_test): Likewise.
29302 (islessgreater_test): Likewise.
29303 (isunordered_test): Likewise.
29304 (main): Call the new functions.
29305
273edc5e
RM
293062012-10-09 Roland McGrath <roland@hack.frob.com>
29307
b8493de0
RM
29308 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29309 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29310 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29311 * sysdeps/i386/configure: Regenerated.
29312 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29313 * sysdeps/mach/configure: Regenerated.
29314 * sysdeps/mach/hurd/configure: Regenerated.
29315 * sysdeps/powerpc/configure: Regenerated.
29316 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29317 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29318 * sysdeps/s390/s390-32/configure: Regenerated.
29319 * sysdeps/s390/s390-64/configure: Regenerated.
29320 * sysdeps/sh/configure: Regenerated.
29321 * sysdeps/sparc/configure: Regenerated.
29322 * sysdeps/unix/sysv/linux/configure: Regenerated.
29323 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29324 * sysdeps/x86_64/configure: Regenerated.
29325
273edc5e
RM
29326 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29327 defined. Don't check if MAP is NULL.
29328
c8450f70
JM
293292012-10-09 Joseph Myers <joseph@codesourcery.com>
29330
29331 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29332 (_G_stat64): Likewise.
29333 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29334 (_G_stat64): Likewise.
29335 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29336 instead of struct _G_stat64.
29337 * libio/fileops.c (mmap_remap_check): Likewise.
29338 (decide_maybe_mmap): Likewise.
29339 (_IO_new_file_seekoff): Likewise.
29340 (_IO_file_stat): Likewise.
29341 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29342 _G_off64_t.
29343 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29344 instead of struct _G_stat64.
29345 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29346
57e605ba
MK
293472012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29348
29349 [BZ #14602]
29350 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29351 Replace with ...
29352 (CHECK_EOL): New macro.
29353 (two_way_short_needle): Check beginning of haystack for EOL. Use
29354 CHECK_EOL.
29355 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29356 Replace with CHECK_EOL.
29357 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29358 Replace with CHECK_EOL.
29359
ef1bb361
JM
293602012-10-08 Joseph Myers <joseph@codesourcery.com>
29361
29362 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29363 type-generic.
29364 * math/libm-test.inc: Update comment listing what functions and
29365 macros are tested.
29366 (finite_test): New function.
29367 (isinf_test): Likewise.
29368 (isnan_test): Likewise.
29369 (fpclassify_test): Test subnormal input.
29370 (isfinite_test): Likewise.
29371 (isnormal_test): Likewise.
29372 (main): Call the new functions.
29373
55f11534
JN
293742012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29375
29376 [BZ #14660]
29377 * Makerules (%.dynsym): Force C locale when running
29378 $(OBJDUMP) --dynamic-syms.
29379
1ab29350
AS
293802012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29381
29382 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29383 <stdint.h>.
29384
f1ecb7ef
DM
293852012-10-06 David S. Miller <davem@davemloft.net>
29386
29387 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29388 upper 32-bits of the length value in %o2 since we use branch-on-register
29389 tests which consider the entire 64-bit register.
29390
5d41d91a
L
293912012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29392
29393 * string/test-strstr.c (check2): Add a test for page boundary.
29394
3baddb72
DM
293952012-10-05 David S. Miller <davem@davemloft.net>
29396
29397 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29398 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29399 file.
29400 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29401 sysdep_routines.
29402 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29403 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29404 and bzero when HWCAP_SPARC_CRYPTO is present.
29405
9cee5585
L
294062012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29407
d7e0dab9
L
29408 [BZ #14602]
29409 * string/test-strstr.c (check2): New function.
29410 (test_main): Call check2.
29411
03759f47
L
29412 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29413 and bug-strchr1.
29414 * string/bug-strcasestr1.c (do_test): Moved to ...
29415 * string/test-strcasestr.c (check1): Here. New function.
29416 (do_one_test): Break out result checking code into ...
29417 (check_result): This. New function.
29418 (do_one_test): Call check_result.
29419 (test_main): Call check1.
29420 * string/bug-strchr1.c (do_test): Moved to ...
29421 * string/test-strchr.c (check1): Here. New function.
29422 (do_one_test): Break out result checking code into ...
29423 (check_result): This. New function.
29424 (do_one_test): Call check_result.
29425 (test_main): Call check1.
29426 * string/bug-strstr1.c (main): Moved to ...
046f153e 29427 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29428 (do_one_test): Break out result checking code into ...
29429 (check_result): This. New function.
29430 (do_one_test): Call check_result.
29431 (test_main): Call check1.
29432 * string/bug-strcasestr1.c: Removed.
29433 * string/bug-strchr1.c: Likewise.
29434 * string/bug-strstr1.c: Likewise.
29435
53cea63e
L
29436 * elf/Makefile (dl-routines): Add hwcaps.
29437 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29438 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29439 (_dl_important_hwcaps): Moved to ...
29440 * elf/dl-hwcaps.c: Here. New file.
29441 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29442
9cee5585 29443 [BZ #14557]
bb859b06
L
29444 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29445 if IS_IN_rtld isn't defined.
29446
9cee5585
L
29447 * elf/dl-support.c (_dl_sysinfo_map): New.
29448 Include "get-dynamic-info.h" and "setup-vdso.h".
29449 (_dl_non_dynamic_init): Call setup_vdso.
29450 * elf/dynamic-link.h: Don't include <assert.h>.
29451 (elf_get_dynamic_info): Moved to ...
29452 * elf/get-dynamic-info.h: Here. New file.
29453 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29454 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29455 * elf/setup-vdso.h: Here. New file.
29456 * elf/rtld.c: Include "setup-vdso.h".
29457 (dl_main): Call setup_vdso.
29458
23c31b76
JM
294592012-10-05 Joseph Myers <joseph@codesourcery.com>
29460
28234b07
JM
29461 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29462 creal in comment listing functions tested. List finite, isinf,
29463 isnan, isless, islessequal, isgreater, isgreaterequal,
29464 islessgreater, isunordered, lgamma_r and pow10 as functions and
29465 macros not tested. Mention which functions not tested are aliases
29466 for other functions. Fix typo. Note that signs of NaNs are not
29467 tested.
29468
23c31b76
JM
29469 * scripts/config.guess: Update from config.git.
29470 * scripts/config.sub: Likewise.
29471
9043e228
RM
294722012-10-04 Roland McGrath <roland@hack.frob.com>
29473
29474 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29475 * misc/madvise.c (madvise): Renamed to __madvise.
29476 Make madvise a weak alias.
29477 * include/sys/mman.h: Declare __madvise.
29478 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29479 * sysdeps/unix/syscalls.list
29480 (madvise): Make __madvise the strong name, and madvise a weak alias.
29481 * sysdeps/unix/sysv/linux/syscalls.list
29482 (madvise, mmap): Remove redundant entries.
29483 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29484 * malloc/malloc.c (mtrim): Likewise.
29485 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29486
f57f8055
RM
294872012-10-03 Roland McGrath <roland@hack.frob.com>
29488
29489 * sysdeps/mach/hurd/dl-cache.c: File removed.
29490 * config.h.in (USE_LDCONFIG): New #undef.
29491 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29492 * configure: Regenerated.
29493 * elf/Makefile (dl-routines): Add dl-cache only under
29494 [$(use-ldconfig) = yes].
29495 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29496 cache on [USE_LDCONFIG].
29497 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29498 [USE_LDCONFIG].
29499 * elf/rtld.c (dl_main): Likewise.
29500
5bb0c10a
PT
295012012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29502
29503 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29504 _SC_LEVEL4_CACHE_LINESIZE.
29505
010188c6
RM
295062012-10-03 Roland McGrath <roland@hack.frob.com>
29507
29508 * sysdeps/unix/bsd/confstr.h: File removed.
29509
b6c5ec07
AO
295102012-10-02 Alexandre Oliva <aoliva@redhat.com>
29511
29512 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29513 sys/sdt-config.h.
29514
408223d4
RM
295152012-10-02 Roland McGrath <roland@hack.frob.com>
29516
29517 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29518 Make 'mapoff' field ElfW(Off) rather than off_t.
29519
bb9510dc
DL
295202012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29521
fc997c6e
DL
29522 * nscd/Makefile: Remove nscd-cflags and all its users.
29523 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29524 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29525
bb9510dc
DL
29526 [BZ #10631]
29527 * malloc.c (malloc_printerr): Clarify error message.
29528
05699367
L
295292012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29530
29531 [BZ #14648]
29532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29533 Set bit_FMA_Usable if FMA is supported.
29534 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29535 macro.
29536 (bit_FMA4_Usable): Updated.
29537 (index_FMA_Usable): New macro.
29538 (CPUID_FMA): Likewise
29539 (HAS_FMA): Defined with bit_FMA_Usable.
29540
51367701
RM
295412012-10-01 Roland McGrath <roland@hack.frob.com>
29542
29543 * bits/types.h (__swblk_t): Type removed.
29544 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29545 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29546 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29547 (__SWBLK_T_TYPE): Likewise.
29548 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29549 (__SWBLK_T_TYPE): Likewise.
29550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29551 (__SWBLK_T_TYPE): Likewise.
29552 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29553 (__SWBLK_T_TYPE): Likewise.
29554
4d57bf63 295552012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 29556 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
29557
29558 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29559 (xdr_mapname): Use YPMAXMAP as maxsize.
29560 (xdr_peername): Use YPMAXPEER as maxsize.
29561 (xdr_keydat): Use YPAXRECORD as maxsize.
29562 (xdr_valdat): Use YPMAXRECORD as maxsize.
29563
93c65d43
RM
295642012-10-01 Roland McGrath <roland@hack.frob.com>
29565
497a03d6
RM
29566 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29567
93c65d43
RM
29568 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29569 * csu/init-first.c: ... here.
29570 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29571 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29572 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29573 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29574 * sysdeps/i386/init-first.c: File removed.
29575 * sysdeps/sh/init-first.c: File removed.
29576
bec749fd
JM
295772012-10-01 Joseph Myers <joseph@codesourcery.com>
29578
29579 [BZ #14645]
29580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29581 if x * y might underflow to zero and z is zero.
29582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29583 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29584 * math/libm-test.inc (min_subnorm_value): New variable.
29585 (fma_test): Add more tests.
29586 (fma_test_towardzero): Likewise.
29587 (fma_test_downward): Likewise
29588 (fma_test_upward): Likewise.
29589 (initialize): Set min_subnorm_value.
29590
8ec5b013
JM
295912012-09-29 Joseph Myers <joseph@codesourcery.com>
29592
29593 [BZ #14638]
29594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29595 0 + 0.
29596 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29597 mode for addition resulting in exact zero.
29598 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29599 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29600 exact 0 + 0.
29601 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29602 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29603 * math/libm-test.inc (fma_test): Add more tests.
29604 (fma_test_towardzero): New function.
29605 (fma_test_downward): Likewise.
29606 (fma_test_upward): Likewise.
29607 (main): Call the new functions.
29608
b1fa802e
DM
296092012-09-28 David S. Miller <davem@davemloft.net>
29610
29611 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29612
d3b9fd9e
RM
296132012-09-28 Roland McGrath <roland@hack.frob.com>
29614
ea4d37b3
RM
29615 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29616 instead of SIGALRM.
29617
ac51c949
RM
29618 * sysdeps/gnu/_G_config.h: Moved to ...
29619 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29620 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29621 * sysdeps/generic/_G_config.h: ... here.
29622
28c195f7
RM
29623 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29624
848917f9
RM
29625 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29626
6bacf05b
RM
29627 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29628 Conditionalize target on [libnss_test1.so-version].
29629
91363dbb
RM
29630 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29631
cc87f7d8
RM
29632 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29633 (elfobjdir): Move out of conditionals.
29634
b1c608fe
RM
29635 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29636 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29637 (__nss_lookup_function): Conditionalize label remove_from_tree on
29638 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 29639
1d9a6d96
DM
296402012-09-28 David S. Miller <davem@davemloft.net>
29641
29642 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29643 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29644 file.
29645 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29646 sysdep_routines.
29647 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29649 when HWCAP_SPARC_CRYPTO is present.
29650
72581615
PT
296512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29652
29653 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29654
715a900c
JL
296552012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29656
29657 [BZ #6530]
29658 * stdio-common/vfprintf.c (process_string_arg): Revert
29659 2000-07-22 change.
29660
296612011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29662
29663 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29664 for testcase.
29665 * stdio-common/tst-sprintf.c: Include <locale.h>
29666 (main): Test sprintf's handling of incomplete multibyte
29667 characters.
29668
9bac1d86
L
296692012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29670
29671 * elf/dl-runtime.c (VERSYMIDX): Removed.
29672 * elf/dl-version.c (VERSYMIDX): Likewise.
29673 * elf/do-rel.h (VERSYMIDX): Likewise.
29674 (VALIDX): Likewise.
29675 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29676 * elf/rtld.c (VALIDX): Likewise.
29677 (ADDRIDX): Likewise.
9bac1d86
L
29678 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29679 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29680 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
29681 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29682 (VALIDX): Likewise.
29683 (ADDRIDX): Likewise.
9bac1d86 29684
b31606c0
PT
296852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29686
29687 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29688
11541177
JL
296892012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29690
29691 [BZ #11438]
29692 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29693 to global scope.
29694 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29695 addresses are in the same scope as 192.0.2/24.
29696 * posix/gai.conf: Document new scope table defaults.
29697
adb26fae
SP
296982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29699
29700 [BZ #5298]
29701 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29702 for ftell. Compute offsets from write pointers instead.
29703 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29704
4573c6b0
SP
297052012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29706
29707 [BZ #14543]
29708 * libio/Makefile (tests): New test case tst-fseek.
29709 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29710 combination works in wide mode.
29711 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29712 state when the external buffer state changes.
29713
aa9bbfe6
DM
297142012-09-27 David S. Miller <davem@davemloft.net>
29715
29716 [BZ #14376]
29717 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29718 pass reloc->r_addend in as the 'high' argument to
29719 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29720
784421e7
DM
29721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29722
c39bc8b8
PT
297232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29724
29725 * rt/tst-aio2.c: Include <pthread.h>.
29726 * rt/tst-aio3.c: Likewise.
29727
1ccc2399
SE
297282012-09-27 Steve Ellcey <sellcey@mips.com>
29729
29730 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29731
31ed4153
L
297322012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29733
25f5f885
L
29734 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29735 contents on [SHARED].
31ed4153 29736
b7bfe116
MP
297372012-09-26 Marek Polacek <polacek@redhat.com>
29738
29739 [BZ #14530]
29740 [BZ #13741]
29741 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29742 for C++ and GCC <4.3 as well as for non GCC compilers.
29743
43c4edba
MT
297442012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29745
29746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29747
6a1bf82f
RM
297482012-09-25 Roland McGrath <roland@hack.frob.com>
29749
29750 * Makefile.in (all, install): Declare with .PHONY.
29751 Reported by Michael Hope <michael.hope@linaro.org>.
29752
8ad11b9a
TMQMF
297532012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29754
29755 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29756 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29757 system header.
29758 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29759 Likewise.
29760 (sydep_routines): Add the new and the internal functions.
29761 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29762 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29764 (GLIBC_2.17): Add the new function.
29765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29766 (GLIBC_2.17): Likewise.
29767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29768 (GLIBC_2.17): Likewise.
29769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29770 (GLIBC_2.17): Likewise.
29771 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29772
7e2fca8d
AM
297732012-09-25 Alan Modra <amodra@gmail.com>
29774
29775 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29776 Add release barrier before setting once_control to say
29777 initialisation is done. Add hints on lwarx. Use macro in
29778 place of isync.
29779 (clear_once_control): Add release barrier.
29780
b87c4b24
JM
297812012-09-25 Joseph Myers <joseph@codesourcery.com>
29782
d032e0d2
JM
29783 [BZ #13629]
29784 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29785 specially.
29786 * math/s_clog10.c (__clog10): Likewise.
29787 * math/s_clog10f.c (__clog10f): Likewise.
29788 * math/s_clog10l.c (__clog10l): Likewise.
29789 * math/s_clogf.c (__clogf): Likewise.
29790 * math/s_clogl.c (__clogl): Likewise.
29791 * math/Makefile (libm-calls): Add x2y2m1.
29792 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29793 (__x2y2m1): Likewise.
29794 (__x2y2m1l): Likewise.
29795 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29796 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29797 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29798 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29799 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29800 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29801 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29802 * sysdeps/i386/fpu/libm-test-ulps: Update.
29803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29804
b87c4b24
JM
29805 [BZ #14621]
29806 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29807 int as type of variable DEPTH.
29808 (glob): Use size_t instead of int as type of variables NEWCOUNT
29809 and OLD_PATHC.
29810
6d3bf199
LD
298112012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29812
22bf5c17
LD
29813 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29814 Add s_sincosf-sse2.
29815 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29816 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29817 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29818 macros for using routine as __sincosf_ia32.
29819 Use macro for function declaration and weak_alias.
29820 * sysdeps/i386/fpu/libm-test-ulps: Update.
29821
29822 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29824
29825 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
29826 subnormal argument.
29827 * math/s_cexpf.c (__cexpf): Likewise.
29828 * math/s_csinf.c (__csinf): Likewise.
29829 * math/s_csinhf.c (__csinhf): Likewise.
29830 * math/s_ctanf.c (__ctanf): Likewise.
29831 * math/s_ctanhf.c (__ctanhf): Likewise.
29832 * math/s_ccosh.c (__ccoshf): Likewise.
29833 * math/s_cexp.c (__cexpl): Likewise.
29834 * math/s_csin.c (__csin): Likewise.
29835 * math/s_csinh.c (__csinh): Likewise.
29836 * math/s_ctan.c (__ctan): Likewise.
29837 * math/s_ctanh.c (ctanh): Likewise.
29838 * math/s_ccoshl.c (__ccoshl): Likewise.
29839 * math/s_cexpl.c (__cexpl): Likewise.
29840 * math/s_csinl.c (__csinl): Likewise.
29841 * math/s_csinhl.c (__csinhl): Likewise.
29842 * math/s_ctanl.c (__ctanl): Likewise.
29843 * math/s_ctanhl.c (__ctanhl): Likewise.
29844
203e5603
JM
298452012-09-25 Joseph Myers <joseph@codesourcery.com>
29846
29847 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29848 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29849 (_IO_off_t): Define to __off_t, not _G_off_t.
29850 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29851 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29852 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29853 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29854 type of __dummy and __dummy2 fields.
29855 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29856 (_G_ssize_t): Likewise.
29857 (_G_off_t): Likewise.
29858 (_G_pid_t): Likewise.
29859 (_G_uid_t): Likewise.
29860 (_G_wchar_t): Likewise.
29861 (_G_wint_t): Likewise.
29862 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29863 (_G_ssize_t): Likewise.
29864 (_G_off_t): Likewise.
29865 (_G_pid_t): Likewise.
29866 (_G_uid_t): Likewise.
29867 (_G_wchar_t): Likewise.
29868 (_G_wint_t): Likewise.
29869 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29870 (_G_ssize_t): Likewise.
29871 (_G_off_t): Likewise.
29872 (_G_pid_t): Likewise.
29873 (_G_uid_t): Likewise.
29874 (_G_wchar_t): Likewise.
29875 (_G_wint_t): Likewise.
29876
9fab36eb
SP
298772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29878
29879 * malloc/arena.c: Include malloc-sysdep.h.
29880 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29881 is sufficient to shrink the heap or an unmap is needed.
29882 * sysdeps/generic/malloc-sysdep.h: New file. Define
29883 new function check_may_shrink_heap.
29884 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29885 new function check_may_shrink_heap.
29886
2b4f00d1
SP
298872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29888
29889 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29890 comments.
29891
9a9028b1
DL
298922012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29893
57c69bef
DL
29894 * catgets/test-gencat.sh: Add "set -e".
29895 * elf/tst-pathopt.sh: Likewise.
29896 * grp/tst_fgetgrent.sh: Likewise.
29897 * iconvdata/run-iconv-test.sh: Likewise.
29898 * intl/tst-gettext.sh: Likewise.
29899 * intl/tst-gettext2.sh: Likewise.
29900 * intl/tst-gettext4.sh: Likewise.
29901 * intl/tst-gettext6.sh: Likewise.
29902 * intl/tst-translit.sh: Likewise.
29903 * io/ftwtest-sh: Likewise.
29904 * libio/test-freopen.sh: Likewise.
29905 * malloc/tst-mtrace.sh: Likewise.
29906 * posix/globtest.sh: Likewise.
29907 * posix/tst-getconf.sh: Likewise.
29908 * posix/wordexp-tst.sh: Likewise.
29909 * stdio-common/tst-printf.sh: Likewise.
29910 * stdio-common/tst-unbputc.sh: Likewise.
29911 * stdlib/tst-fmtmsg.sh: Likewise.
29912 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29913 * catgets/Makefile: Do not specify -e option when running
29914 testsuite shell scripts.
29915 * elf/Makefile: Likewise.
29916 * grp/Makefile: Likewise.
29917 * iconvdata/Makefile: Likewise.
29918 * intl/Makefile: Likewise.
29919 * io/Makefile: Likewise.
29920 * libio/Makefile: Likewise.
29921 * malloc/Makefile: Likewise.
29922 * posix/Makefile: Likewise.
29923 * stdio-common/Makefile: Likewise.
29924 * stdlib/Makefile: Likewise.
29925 * sysdeps/x86_64/Makefile: Likewise.
29926
9a9028b1
DL
29927 * io/ftwtest-sh: Add copyright header.
29928 * posix/globtest.sh: Likewise.
29929 * posix/tst-getconf.sh: Likewise.
29930 * posix/wordexp-tst.sh: Likewise.
29931 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29932
ced6f16e
L
299332012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29934
94b32c39
L
29935 [BZ #13679]
29936 * Makeconfig (+link): Defined as $(+link-static) if
29937 $(build-shared) isn't yes.
29938 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29939 isn't yes.
29940 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29941
189e935b
L
29942 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29943
ced6f16e
L
29944 [BZ #14562]
29945 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29946 new chunk size with MALLOC_ALIGN_MASK.
29947
a9f8e53a
JM
299482012-09-24 Joseph Myers <joseph@codesourcery.com>
29949
29950 [BZ #5044]
29951 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29952 <rounding-mode.h>.
29953 (__printf_fphex): Determine rounding using get_rounding_mode and
29954 round_away.
29955 * stdio-common/tst-printf-round.c (struct hex_test): New
29956 structure.
29957 (hex_tests): New variable.
29958 (test_hex_in_one_mode): New function.
29959 (do_test): Also run tests for hex float output.
29960
43153109
JM
299612012-09-21 Joseph Myers <joseph@codesourcery.com>
29962
29963 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29964 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29965 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29966 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29967 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29968 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29969 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29970 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29971
8a26625d
JM
299722012-09-20 Joseph Myers <joseph@codesourcery.com>
29973
29974 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29975 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29976 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29977 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29978
f3fd569c
DL
299792012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29980
29981 [BZ #14579]
29982 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29983 mode only.
29984 * elf/tst-rtld-load-self.sh: New test.
29985 * elf/Makefile: Run it.
29986
63bbedd4
JM
299872012-09-18 Joseph Myers <joseph@codesourcery.com>
29988
29989 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29990 (tst-writev-ENV): Remove.
29991 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29992
626f8b6a
CM
299932012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29994
29995 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29996
b7aaa4d6
JM
299972012-09-17 Joseph Myers <joseph@codesourcery.com>
29998
29999 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30000 unconditional.
30001 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30002 Likewise.
30003 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30004 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30005 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30006 Likewise.
30007
65513990
L
300082012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30009
30010 [BZ #14587]
30011 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30012 * config.make.in (have-cpp-asm-debuginfo): Removed.
30013 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30014 * configure: Regenerated.
30015
784761be
JM
300162012-09-14 Joseph Myers <joseph@codesourcery.com>
30017
30018 [BZ #5044]
30019 * stdio-common/printf_fp.c: Include <stdbool.h> and
30020 <rounding-mode.h>.
30021 (___printf_fp): Determine rounding using get_rounding_mode and
30022 round_away.
30023 * stdio-common/tst-printf-round.c: New file.
30024 * stdio-common/Makefile (tests): Add tst-printf-round.
30025 (link-libm): New variable.
30026 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30027
9503345f
L
300282012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30029
30030 [BZ #14576]
30031 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30032 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30033 Likewise.
30034 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30035 Likewise.
30036
ad35fc00
JM
300372012-09-13 Joseph Myers <joseph@codesourcery.com>
30038
30039 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30040 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30041 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30042 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30043
6c9b0f68
JM
300442012-09-12 Joseph Myers <joseph@codesourcery.com>
30045
30046 [BZ #14518]
30047 * include/rounding-mode.h: New file.
30048 * sysdeps/generic/get-rounding-mode.h: Likewise.
30049 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30050 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30051 (MAX_VALUE): New macro.
30052 (MIN_VALUE): Likewise.
30053 (overflow_value): New function.
30054 (underflow_value): Likewise.
30055 (round_and_return): Use overflow_value and underflow_value to
30056 determine return values in overflow and underflow cases. Use
30057 round_away to determine rounding depending on rounding mode.
30058 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30059 determine return values in overflow and underflow cases.
30060 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30061 (struct test_results): New structure.
30062 (struct test): Use struct test_results to store expected results
30063 for all rounding modes.
30064 (TEST): Include expected results for all rounding modes.
30065 (test_in_one_mode): New function.
30066 (do_test): Use test_in_one_mode to compute and check results.
30067 Check results for all rounding modes.
30068 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30069 $(link-libm).
30070
19fcedd5
AM
300712012-12-09 Allan McRae <allan@archlinux.org>
30072
1e9d84cd 30073 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 30074
8bbfd2f1
JM
300752012-09-11 Joseph Myers <joseph@codesourcery.com>
30076
30077 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30078 (_G_int32_t): Likewise.
30079 (_G_uint16_t): Likewise.
30080 (_G_uint32_t): Likewise.
30081 (_G_HAVE_BOOL): Likewise.
30082 (_G_HAVE_ATEXIT): Likewise.
30083 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30084 (_G_HAVE_IO_FILE_OPEN): Likewise.
30085 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30086 (_G_int32_t): Likewise.
30087 (_G_uint16_t): Likewise.
30088 (_G_uint32_t): Likewise.
30089 (_G_HAVE_BOOL): Likewise.
30090 (_G_HAVE_ATEXIT): Likewise.
30091 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30092 (_G_HAVE_IO_FILE_OPEN): Likewise.
30093 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30094 (_G_int32_t): Likewise.
30095 (_G_uint16_t): Likewise.
30096 (_G_uint32_t): Likewise.
30097 (_G_HAVE_BOOL): Likewise.
30098 (_G_HAVE_ATEXIT): Likewise.
30099 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30100 (_G_HAVE_IO_FILE_OPEN): Likewise.
30101
b1dc5912
L
301022012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30103
30104 * csu/libc-tls.c: Update copyright years.
30105
0e886ef9
JM
301062012-09-10 Joseph Myers <joseph@codesourcery.com>
30107
28361c5e
JM
30108 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30109 [!_G_USING_THUNKS]: Remove conditional code.
30110 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30111 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30112
0e886ef9
JM
30113 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30114 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30115 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30116 (_G_VTABLE_LABEL_PREFIX): Likewise.
30117 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30118 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30119 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30120 (_G_VTABLE_LABEL_PREFIX): Likewise.
30121 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30122 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30123 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30124 (_G_VTABLE_LABEL_PREFIX): Likewise.
30125 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30126
bcba7aa2
L
301272012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30128
30129 * libio/Makefile: Include ../Makeconfig before tests.
30130 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30131 only if $(build-shared) is yes.
30132
06585ee8
L
30133 * iconv/gconv_db.c: Update copyright years.
30134
80ccd52c
LD
301352012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30136
30137 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30138 unwind info if defined PIC. Fix special cases description.
30139 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30140
30141 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30142 DP_HI_MASK entry.
30143 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30144
691bc9c1
L
301452012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30146
3d9b46b3
L
30147 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30148
de2139a9
L
30149 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30150 is NULL.
30151
5ca78dd0
L
30152 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30153 (LDLIBS-tst-chk4): This.
30154 (LDFLAGS-tst-chk5): Renamed to ...
30155 (LDLIBS-tst-chk5): This.
30156 (LDFLAGS-tst-chk6): Renamed to ...
30157 (LDLIBS-tst-chk6): This.
30158 (LDFLAGS-tst-lfschk4): Renamed to ...
30159 (LDLIBS-tst-lfschk4): This.
30160 (LDFLAGS-tst-lfschk5): Renamed to ...
30161 (LDLIBS-tst-lfschk5): This.
30162 (LDFLAGS-tst-lfschk6): Renamed to ...
30163 (LDLIBS-tst-lfschk6): This.
30164
691bc9c1
L
30165 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30166 on $(common-objpfx)soversions.mk.
30167
65cafb1c
JM
301682012-09-07 Joseph Myers <joseph@codesourcery.com>
30169
30170 [BZ #10014]
30171 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30172 example host name.
30173
c78ab094
SP
301742012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30175
30176 * malloc/arena.c (arena_get_retry): New function that gets
30177 another arena for the caller to try its request on.
30178 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30179 current arena cannot fulfill the request.
30180 (__libc_memalign): Likewise.
30181 (__libc_memalign): Likewise.
30182 (__libc_pvalloc): Likewise.
30183 (__libc_calloc): Likewise.
30184
01f49f59
JT
301852012-09-05 John Tobey <john.tobey@gmail.com>
30186
30187 [BZ #13542]
30188 * manual/arith.texi (Operations on Complex): Fix description
30189 of carg branch cut.
30190
4c23fed5
JM
301912012-09-06 Joseph Myers <joseph@codesourcery.com>
30192
1d3c8572
JM
30193 [BZ #10014]
30194 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30195 host name.
30196
4c23fed5
JM
30197 [BZ #10038]
30198 * manual/memory.texi (Memory): Make order of menu items match
30199 order of sections.
30200
04570aaa
L
302012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30202
30203 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30204 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30205 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30206
b80af2f4
L
302072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30208
30209 * csu/libc-tls.c (static_dtv): Renamed to ...
30210 (_dl_static_dtv): This. Make it global.
30211 (_dl_initial_dtv): Removed.
30212 (__libc_setup_tls): Updated.
30213 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30214 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30215 DL_INITIAL_DTV.
30216
2abe9f15
PM
302172012-09-06 Petr Machata <pmachata@redhat.com>
30218
30219 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30220 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30221 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30222 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30223
0948c3af
L
302242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30225
30226 [BZ #14545]
30227 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30228 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30229 freeing dtv[-1].
30230
a5055ad1
L
302312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30232
30233 [BZ #14544]
30234 * Makeconfig (link-static-before-libc): Replace $(+prector)
30235 with $(+prectorT).
30236 (link-static-after-libc): Replace $(+postctor) with
30237 $(+postctorT).
30238 (link-bounded): Replace $(+prector)/$(+postctor) with
30239 $(+prectorT)/$(+postctorT).
30240 (+prectorT): New macro.
30241 (+postctorT): Likewise.
30242
ed8c2ecd
JM
302432012-09-06 Joseph Myers <joseph@codesourcery.com>
30244
30245 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30246 (round_str): Handle values above the maximum for IBM long double
30247 as inexact.
30248 * stdlib/tst-strtod-round.c (tests): Regenerated.
30249
14c996c8
AK
302502012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30251
30252 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30253 assembler flag.
30254 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30255 zarch_nohighgprs around the zarch optimized routines.
30256 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30257 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30258 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30259 for zarch.
30260
430d6ce6
DM
302612012-09-05 David S. Miller <davem@davemloft.net>
30262
30263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30264
57f41c40
AS
30265 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30266 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
30267 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30268 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30269 entries.
30270
24d4e01b
AO
302712012-09-05 Alexandre Oliva <aoliva@redhat.com>
30272
30273 * malloc/arena.c: Fold copyright years.
30274 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30275
61d58174
AO
302762012-09-05 Alexandre Oliva <aoliva@redhat.com>
30277
30278 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30279
20196a5e
AO
302802012-09-05 Alexandre Oliva <aoliva@redhat.com>
30281
30282 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30283
5c447383
AO
302842012-09-05 Alexandre Oliva <aoliva@redhat.com>
30285
30286 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30287 change internal state upon failure.
30288
fad64255
AO
302892012-09-05 Alexandre Oliva <aoliva@redhat.com>
30290
30291 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30292 * malloc/memusage.c (mmap): Likewise.
30293 (mmap64, mremap): Likewise. Adjust name in comment.
30294
1ffb8c90
SP
302952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30296
30297 * libio/fileops.c: Fix typos in comments.
30298 * libio/oldfileops.c: Likewise.
30299 * libio/wfileops.c: Likewise.
30300
6ef9cc37
SP
303012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30302
30303 [BZ #1349]
30304 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30305 (tst-malloc-usable-ENV): Set environment for test case.
30306 * malloc/hooks.c (malloc_check_get_size): New function to get
30307 requested size.
30308 * malloc/malloc.c (musable): Use malloc_check_get_size.
30309 * malloc/tst-malloc-usable.c: New test case.
30310
4d038ae3
AS
303112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30312
30313 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30314
c4e85184
AM
303152012-09-05 Allan McRae <allan@archlinux.org>
30316
b9dafc56 30317 [BZ #13966]
c4e85184
AM
30318 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30319 determine header location.
30320 * configure: Regenerated.
30321
e1343020
AS
303222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30323
30324 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30325 float format.
30326 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30327 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30328 format.
e1343020
AS
30329 (test): Regenerate.
30330
0a9f1987
DM
303312012-09-04 David S. Miller <davem@davemloft.net>
30332
30333 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30334 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30335 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30336
29237804
FW
303372012-09-04 Florian Weimer <fweimer@redhat.com>
30338
30339 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30340 failures.
30341
edb3cb88
FW
30342 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30343
60160d83
JM
303442012-09-04 Joseph Myers <joseph@codesourcery.com>
30345
30346 [BZ #9914]
30347 * libio/iogetdelim.c: Include <limits.h>.
30348 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30349 + len + 1 would overflow.
30350
bcd6c8dc
AJ
303512012-09-03 Andreas Jaeger <aj@suse.de>
30352
30353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30354 * sysdeps/i386/fpu/libm-test-ulps: Update.
30355
4ffffbd2
LD
303562012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30357
30358 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30359 Add s_sinf-sse2, s_conf-sse2.
30360
30361 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30362 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30363 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30364 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30365
30366 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30367 for using routine as __sinf_ia32.
30368 Use macro for function declaration and weak_alias.
30369 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30370 for using routine as __cosf_ia32.
30371 Use macro for function declaration and weak_alias.
30372
30373 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30374 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30375
30376 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30377 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30379
30380 * math/libm-test.inc (cos_test): Add more test cases.
30381 (sin_test): Likewise.
30382 (sincos_test): Likewise.
30383
511fa286
AK
303842012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30385
30386 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30387 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30388 hidden.
30389 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30390
5f30cfec
L
303912012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30392
30393 [BZ #14538]
30394 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30395 first element of the GOT.
30396 (elf_machine_load_address): Return the difference between
30397 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30398
0786794f
AM
303992012-09-01 Allan McRae <allan@archlinux.org>
30400
5f30cfec
L
30401 [BZ #13412]
30402 * configure.in (AWK): Require gawk version 3.0 or later.
30403 * configure: Regenerated.
0786794f 30404
26889eac
JM
304052012-09-01 Joseph Myers <joseph@codesourcery.com>
30406
30407 * sysdeps/unix/sysv/linux/kernel-features.h
30408 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30409 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30410 [__NR_clock_getres]: Make code unconditional.
30411 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30412 (clock_getcpuclockid): Remove code left unreachable by removal of
30413 conditionals.
30414 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30415 code unconditional.
30416 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30417 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30418 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30419 Make code unconditional.
30420 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30421 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30422 * sysdeps/unix/sysv/linux/clock_settime.c
30423 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30424 conditional code.
30425 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30426 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30427
d22e28b0
L
304282012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30429
30430 [BZ #14476]
30431 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30432 scripts/test-installation.pl.
30433
30434 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30435 and $ld_so_version if it is set.
30436
050af9c4
SP
304372012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30438
30439 [BZ #14516]
30440 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30441 failure if reading from procfs failed.
30442 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30443
ad845c0b
JM
304442012-08-27 Joseph Myers <joseph@codesourcery.com>
30445
30446 * sysdeps/unix/sysv/linux/kernel-features.h
30447 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30448 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30449 Remove conditional code.
30450 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30451 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30452 Remove conditional code.
30453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30454 * sysdeps/unix/sysv/linux/i386/fxstat.c
30455 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30456 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30457 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30458 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30459 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30460 * sysdeps/unix/sysv/linux/i386/lxstat.c
30461 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30462 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30463 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30464 Remove conditional code.
30465 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30466 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30467 Remove conditional code.
30468 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30469 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30470 <kernel-features.h>.
30471 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30472 Remove.
30473 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30474 Remove conditional code.
30475 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30476 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30477 Remove conditional.
30478
5dbf56af
MF
304792012-08-27 Mike Frysinger <vapier@gentoo.org>
30480
30481 [BZ #5400]
30482 * NEWS: Add fixed bug number.
30483
d6e70f43
JM
304842012-08-27 Joseph Myers <joseph@codesourcery.com>
30485
7efb4737
JM
30486 [BZ #14519]
30487 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30488 underflowing exponent in case of negative sign.
30489 * stdlib/tst-strtod-round-data: Add more tests.
30490 * stdlib/tst-strtod-round.c (tests): Regenerated.
30491
af92131a
JM
30492 [BZ #3479]
30493 * stdlib/strtod_l.c (NDIG): Remove.
30494 (HEXNDIG): Likewise.
30495 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30496 smallest representable value.
30497 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30498 lie within an exact representation of 1/2 ulp of the result.
30499 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30500 unconditionally.
30501 (TENS_P9_IDX): Define unconditionally.
30502 (TENS_P9_SIZE): Likewise.
30503 (TENS_P10_IDX): Likewise.
30504 (TENS_P10_SIZE): Likewise.
30505 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30506 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30507 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30508 entries for 10^2^13 and 10^2^14.
30509 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30510 (TENS_P13_IDX): Define.
30511 (TENS_P13_SIZE): Likewise.
30512 (TENS_P14_IDX): Likewise.
30513 (TENS_P14_SIZE): Likewise.
30514 (_fpioconst_pow10): Change array size to
30515 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30516 unconditional.
30517 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30518 1024]: Add entries for 10^2^13 and 10^2^14.
30519 [LAST_POW10 > _LAST_POW10]: Remove #error.
30520 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30521 (_fpioconst_pow10): Change array size to
30522 FPIOCONST_POW10_ARRAY_SIZE.
30523 * stdlib/gen-fpioconst.c: New file.
30524 * stdlib/gen-tst-strtod-round.c: Likewise.
30525 * stdlib/tst-strtod-round-data: Likewise.
30526 * stdlib/tst-strtod-round.c: Likewise.
30527 * stdlib/Makefile (tests): Add tst-strtod-round.
30528
d6e70f43
JM
30529 [BZ #14459]
30530 * stdlib/strtod_l.c: Include <stdint.h>.
30531 (NDEBUG): Do not define.
30532 (round_and_return): Change EXPONENT parameter to type intmax_t.
30533 Rearrange calculations to avoid internal overflow possibilities.
30534 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30535 Rearrange calculations to avoid internal overflow possibilities.
30536 Assert that number fits inside MPNSIZE limbs.
30537 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30538 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30539 calculations and add assertions to avoid internal overflow
30540 possibilities. Add casts to avoid signed/unsigned operations.
30541 * stdlib/tst-strtod-overflow.c: New file.
30542 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30543
1f529f7d
MP
305442012-08-25 Marek Polacek <polacek@redhat.com>
30545
30546 * time/time.h: Fix some typos in comments.
30547
59a629f1
RM
305482012-08-23 Roland McGrath <roland@hack.frob.com>
30549
30550 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30551 * posix/tst-rfc3484-2.c: Likewise.
30552 * posix/tst-rfc3484-3.c: Likewise.
30553
d3bafbc9
SM
305542012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30555
30556 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30557 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30558
4efcc022
JM
305592012-08-23 Joseph Myers <joseph@codesourcery.com>
30560
30561 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30562 #include of fxstatat64.c.
30563
3cc3ef96
RM
305642012-08-22 Roland McGrath <roland@hack.frob.com>
30565
f04e2132
RM
30566 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30567 * shadow/getspent_r.c: Likewise.
30568 * shadow/getspnam.c: Likewise.
30569 * shadow/getspnam_r.c: Likewise.
30570 * gshadow/getsgent.c: Likewise.
30571 * gshadow/getsgent_r.c: Likewise.
30572 * gshadow/getsgnam.c: Likewise.
30573 * gshadow/getsgnam_r.c: Likewise.
30574 * inet/getnetbyad.c: Likewise.
30575 * inet/getnetbyad_r.c: Likewise.
30576 * inet/getnetbynm.c: Likewise.
30577 * inet/getnetbynm_r.c: Likewise.
30578 * inet/getnetent.c: Likewise.
30579 * inet/getnetent_r.c: Likewise.
30580 * inet/getproto.c: Likewise.
30581 * inet/getproto_r.c: Likewise.
30582 * inet/getprtent.c: Likewise.
30583 * inet/getprtent_r.c: Likewise.
30584 * inet/getprtname.c: Likewise.
30585 * inet/getprtname_r.c: Likewise.
30586 * inet/getrpcbyname.c: Likewise.
30587 * inet/getrpcbyname_r.c: Likewise.
30588 * inet/getrpcbynumber.c: Likewise.
30589 * inet/getrpcbynumber_r.c: Likewise.
30590 * inet/getrpcent.c: Likewise.
30591 * inet/getrpcent_r.c: Likewise.
30592 * inet/getaliasent.c: Likewise.
30593 * inet/getaliasent_r.c: Likewise.
30594 * inet/getaliasname.c: Likewise.
30595 * inet/getaliasname_r.c: Likewise.
30596 * nscd/getgrgid_r.c: Likewise.
30597 * nscd/getgrnam_r.c: Likewise.
30598 * nscd/gethstbyad_r.c: Likewise.
30599 * nscd/gethstbynm3_r.c: Likewise.
30600 * nscd/getpwnam_r.c: Likewise.
30601 * nscd/getpwuid_r.c: Likewise.
30602 * nscd/getsrvbynm_r.c: Likewise.
30603 * nscd/getsrvbypt_r.c: Likewise.
30604 * nscd/gai.c: Likewise.
30605
c53d909c
RM
30606 * configure.in (build_nscd): New substituted variable, set
30607 by --disable-build-nscd and defaults to $use_nscd.
30608 * configure: Regenerated.
30609 * config.make.in (build-nscd): New substituted variable.
30610 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30611 Change conditional to require [$(build-nscd) = yes] as well.
30612 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30613
3cc3ef96
RM
30614 [BZ# 13696]
30615 * configure.in (use_nscd): New substituted variable, set by
30616 --disable-nscd. If enabled, define USE_NSCD.
30617 * configure: Regenerated.
30618 * config.h.in: Add USE_NSCD.
30619 * config.make.in (use-nscd): New substituted variable.
30620 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30621 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30622 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30623 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30624 (CFLAGS-getgrnam_r.c): Likewise.
30625 (CFLAGS-initgroups.c): Likewise.
30626 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30627 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30628 Variables removed.
30629 * inet/getnetgrent_r.c
30630 (nscd_setnetgrent): New function, broken out of ...
30631 (setnetgrent): ... here. Call it.
30632 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30633 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30634 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30635 * nscd/Makefile (routines, aux): Move definitions after include of
30636 Makeconfig. Conditionalize on [$(use-nscd) != no].
30637 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30638 Conditionalize on [USE_NSCD].
30639 (is_nscd, nscd_init_cb): Likewise.
30640 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30641 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30642 * nss/nss_db/db-init.c: Likewise.
30643 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30644 [USE_NSCD].
30645 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30646 (make_request): Use it.
30647 (cache_valid_p): New function.
30648 (__check_pf): Use it.
30649 * NEWS: Add item for --disable-nscd.
30650
07e51550
DL
306512012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30652
30653 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30654 to support sed >= 4.2.1-20-ga9bf076.
30655 * configure: Regenerated.
30656
35a5b08b
RM
306572012-08-22 Roland McGrath <roland@hack.frob.com>
30658
30659 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30660 Conditionalize whole body on [IREL].
30661
8479f23a
JL
306622012-08-22 Jeff Law <law@redhat.com>
30663
30664 [BZ #14505]
30665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30666 if the family is PF_UNSPEC.
30667
48da0b21
MF
306682012-08-22 Mike Frysinger <vapier@gentoo.org>
30669
30670 * Makerules (lib-version): Rename from V.
30671 (install-lib-nosubdir): Change V to lib-version.
30672
15d0da8c
WS
306732012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30674
30675 [BZ #14252]
30676 * powerpc32/power6/wcschr.c: New file.
30677 * powerpc32/power6/wcscpy.c: New file.
30678 * powerpc32/power6/wcsrchr.c: New file.
30679 * powerpc64/power6/wcschr.c: New file.
30680 * powerpc64/power6/wcscpy.c: New file.
30681 * powerpc64/power6/wcsrchr.c: New file.
30682
bcca0895
MK
306832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30684
30685 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30686 (two_way_short_needle): Use it.
5a4aaa33
RM
30687 * string/strstr.c (AVAILABLE1_USES_J): Define.
30688 * string/strcasestr.c: Likewise.
99677e57
MK
30689
30690 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30691 array references.
30692 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30693
400726de
MK
30694 [BZ #11607]
30695 * NEWS: Add an entry.
30696 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30697 define their defaults.
30698 (two_way_short_needle): Detect end-of-string on-the-fly.
30699 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30700 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30701 * string/bug-strcasestr1.c: New test.
30702 * string/Makefile: Run it.
30703
20a71f2c
MK
307042012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30705
30706 [BZ #11607]
30707 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30708 the first character.
30709
21ad0558
RM
307102012-08-21 Roland McGrath <roland@hack.frob.com>
30711
30712 * csu/elf-init.c (__libc_csu_irel): Function removed.
30713 * csu/libc-start.c (apply_irel): New function.
30714 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30715
0e1d9911
JM
307162012-08-21 Joseph Myers <joseph@codesourcery.com>
30717
30718 * sysdeps/unix/sysv/linux/kernel-features.h
30719 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30720 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30721 <kernel-features.h>.
30722 [__NR_fadvise64_64]: Make code unconditional.
30723 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30724 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30725 !__NR_fadvise64_64)]: Likewise.
30726 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30727 !__NR_fadvise64_64))]: Likewise.
30728 [__NR_fadvise64]: Make code unconditional.
30729 [!__NR_fadvise64]: Remove conditional code.
30730 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30731 <kernel-features.h>.
30732 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30733 unconditional.
30734 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30735 conditional code.
30736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30737 not include <kernel-features.h>.
30738 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30739 unconditional.
30740 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30741 conditional code.
30742 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30743 include <kernel-features.h>.
30744 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30745 unconditional.
30746 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30747 conditional code.
30748
14a50c9d
WS
307492012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30750
30751 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30752 slight instruction rearrangements per scrollpipe analysis.
30753 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30754
c0f4faf0
RM
307552012-08-20 Roland McGrath <roland@hack.frob.com>
30756
696da859
RM
30757 * manual/syslog.texi (syslog; vsyslog, closelog):
30758 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30759 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30760
c0f4faf0
RM
30761 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30762 DSOCAPS to match condition on defining it.
30763
348363b2
JM
307642012-08-20 Joseph Myers <joseph@codesourcery.com>
30765
a35cbf28
JM
30766 * sysdeps/unix/sysv/linux/kernel-features.h
30767 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30769 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30770 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30772 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30773 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30775 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30776 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30777
445f7ecd
JM
30778 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30779 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30780
348363b2
JM
30781 * sysdeps/unix/sysv/linux/kernel-features.h
30782 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30783 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30784 unconditional.
30785 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30786 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30787 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30788 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30789 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30790 Make code unconditional.
30791 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30792 (__mmap64) [!__NR_mmap2]: Likewise.
30793 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30794 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30795 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30796 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30797 [__NR_mmap2]: Make code unconditional.
30798 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30799 (__mmap64) [!__NR_mmap2]: Likewise.
30800
bc5bc0e5
AK
308012012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30802
30803 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30804
88d506de
AJ
308052012-08-18 Andreas Jaeger <aj@suse.de>
30806
30807 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30808
493387d2
MF
308092012-08-18 Mike Frysinger <vapier@gentoo.org>
30810
30811 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30812 * include/unistd.h (__have_sock_cloexec): Likewise.
30813 (__have_pipe2): Likewise.
30814 (__have_dup3): Likewise.
30815
a277af22
MF
308162012-08-18 Mike Frysinger <vapier@gentoo.org>
30817
30818 [BZ #9685]
30819 * include/unistd.h (__have_pipe2): Change define into an extern int.
30820 (__have_dup3): Likewise.
30821 * socket/have_sock_cloexec.c: Include fcntl.h.
30822 (__have_pipe2): New variable.
30823 (__have_dup3): Likewise.
30824
fdab8fd3
MF
308252012-08-17 Mike Frysinger <vapier@gentoo.org>
30826
30827 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30828
31035e80
MP
308292012-08-17 Marek Polacek <polacek@redhat.com>
30830
30831 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30832 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30833
3bd9e993
RM
308342012-08-17 Roland McGrath <roland@hack.frob.com>
30835
c91c505f
RM
30836 * configure.in: Add AC_SUBST for sysheaders.
30837 * configure: Regenerated.
30838 * config.make.in (sysheaders): New substituted variable.
30839
7c6f9d53
RM
30840 * sysdeps/unix/mkfifo.c: Moved ...
30841 * sysdeps/posix/mkfifo.c: ... here.
30842 * sysdeps/unix/mkfifoat.c: Moved ...
30843 * sysdeps/posix/mkfifoat.c: ... here.
30844
30845 * sysdeps/unix/utime.c: Moved ...
30846 * sysdeps/posix/utime.c: ... here.
30847
30848 * sysdeps/unix/time.c: Moved ...
30849 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
30850 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30851 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
30852
30853 * sysdeps/unix/nice.c: Moved ...
30854 * sysdeps/posix/nice.c: ... here.
30855
30856 * sysdeps/unix/alarm.c: Moved ...
30857 * sysdeps/posix/alarm.c: ... here.
30858
3bd9e993
RM
30859 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30860
d1f09384
JL
308612012-08-17 Jeff Law <law@redhat.com>
30862
30863 * intl/Makefile (codeset_mo): New variable.
30864 ($(codeset_mo)): New target.
30865 (tst-codeset.out): Depend on that. Remove explicit rule.
30866 (tst-gettext3.out, tst-gettext5.out): Likewise.
30867 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30868 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30869 * intl/tst-codeset.sh: Remove.
30870 * intl/tst-gettext3.sh: Likewise.
30871 * intl/tst-gettext5.sh: Likewise.
30872
2ae1ae5c
RM
308732012-08-17 Roland McGrath <roland@hack.frob.com>
30874
c31fdb83
RM
30875 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30876 * sysdeps/unix/syscalls.list: ... here.
30877
a0844057
RM
30878 * sysdeps/posix/getaddrinfo.c
30879 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30880 (gaiconf_init, gaiconf_reload): Use them.
30881 [!_STATBUF_ST_NSEC]
30882 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30883 Define using time_t rather than struct timespec.
30884
750c1f2a
RM
30885 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30886 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30887 Macros removed.
30888 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30889 [!NO_THREADS].
30890 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30891 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30892 Likewise.
30893
2ae1ae5c
RM
30894 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30895 __libc_cleanup_push argument.
30896
e66a42f5
RM
30897 * bits/param.h: New file.
30898 * misc/sys/param.h: New file.
30899 * include/sys/param.h: New file.
30900 * misc/Makefile (headers): Add bits/param.h.
30901 * sysdeps/generic/sys/param.h: File removed.
30902 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30903 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30904 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 30905 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 30906
b7c08a66
RM
30907 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30908 last change.
30909
b2e1c562
RM
30910 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30911 [_IO_MTSAFE_IO].
30912 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30913 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30914 New macros.
30915
c75ccd4c
RM
30916 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30917 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30918 rather than -D_IO_MTSAFE_IO conditionally.
30919 * stdio-common/Makefile (CPPFLAGS): Likewise.
30920 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30921 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30922 Use $(libio-mtsafe).
30923 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30924 of -D_IO_MTSAFE_IO.
30925 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30926 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30927 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30928 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30929 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30930 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30931 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30932 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30933 (CFLAGS-fread_u_chk.c): Likewise.
30934 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30935 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30936 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30937 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30938 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30939 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30940 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30941 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30942 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30943
30944 * libio/Makefile: Test [$(libc-reentrant) = yes]
30945 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30946
30947 * Makeconfig
30948 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30949 * sysdeps/pthread/configure: File removed.
30950 * sysdeps/pthread/Makeconfig: New file.
30951 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30952 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30953
d9195db8
GB
309542012-08-16 Gary Benson <gbenson@redhat.com>
30955
30956 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30957 unmapping the first object in a namespace.
30958
86466cd9
RM
309592012-08-16 Roland McGrath <roland@hack.frob.com>
30960
30961 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30962 (__internal_setnetgrent): ... this. Add internal_function to
30963 definition. Add libc_hidden_def.
30964 (setnetgrent): Update caller.
30965 (internal_endnetgrent): Renamed to ...
30966 (__internal_endnetgrent): ... this. Add internal_function to
30967 definition. Add libc_hidden_def.
30968 (endnetgrent): Update caller.
30969 (internal_getnetgrent_r): Renamed to ...
30970 (__internal_getnetgrent_r): ... this. Add internal_function to
30971 definition. Add libc_hidden_def.
30972 (__getnetgrent_r): Update caller.
30973 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30974
c3c8283c
JM
309752012-08-16 Joseph Myers <joseph@codesourcery.com>
30976
30977 * stdlib/longlong.h: Update from GCC.
30978
db1ee0a8
RM
309792012-08-16 Roland McGrath <roland@hack.frob.com>
30980
30981 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30982 on _QL, which is set by umul_ppmm but never used.
30983 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30984 variables, which are set by GMP macros but never used.
30985 * stdio-common/_itowa.c (_itowa): Likewise.
30986 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30987 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30988
30f69637
CD
309892012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30990
30991 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30992 struct La_sh_regs is not constant.
30993 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30994 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30995 and struct La_sparc64_regs are not constant.
30996
93a78ac4
JM
309972012-08-16 Joseph Myers <joseph@codesourcery.com>
30998
30999 * sysdeps/unix/sysv/linux/kernel-features.h
31000 (__ASSUME_POSIX_TIMERS): Remove.
31001 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31002 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31003 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31004 Make code unconditional.
31005 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31006 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31007 Make code unconditional.
31008 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31009 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31010 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31011 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31012 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31013 Make code unconditional.
31014 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31015 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31016 (__libc_missing_posix_timers): Remove.
31017
dd924cd7
RM
310182012-08-15 Roland McGrath <roland@hack.frob.com>
31019
4b4f2771
RM
31020 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31021 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31022
601c888b
RM
31023 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31024
176790a7
RM
31025 * elf/dl-sym.c: Include <stdlib.h>.
31026
329bc018
RM
31027 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31028 constants, which avoids warnings in 32-bit builds.
31029
e04e272d
RM
31030 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31031 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31032
952bf94a
RM
31033 * misc/lseek.c: File moved to ...
31034 * io/lseek.c: ... here.
31035
7c99b50a
RM
31036 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31037
dd924cd7
RM
31038 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31039 shifting LEN more than 31 bits at once.
31040
b3f479a8
LD
310412012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31042
31043 [BZ #14195]
8c4ae0d4
RM
31044 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31045 segmentation fault for a case of two empty input strings.
b3f479a8
LD
31046 * string/test-strncasecmp.c (check1): Renamed to...
31047 (bz12205): ...this.
31048 (bz14195): Add new testcase for two empty input strings and N > 0.
31049 (test_main): Call new testcase, adapt for renamed function.
31050
9c55864e
AJ
310512012-08-15 Andreas Jaeger <aj@suse.de>
31052
31053 [BZ #14090]
31054 * crypt/md5test2.c: New test, based on test supplied by Serge
31055 Belyshev <belyshev@depni.sinp.msu.ru>.
31056 * crypt/Makefile (xtests): Add md5test-giant..
31057 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31058
02dcb6c5
PE
310592012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31060
31061 [BZ #14090]
31062 * crypt/md5.c (md5_process_block): Don't assume the buffer
31063 length is less than 2**32.
31064 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31065 length is less than 2**64.
31066
a3f95dcc
RM
310672012-08-15 Roland McGrath <roland@hack.frob.com>
31068
be75d758
RM
31069 * string/str-two-way.h: Include <sys/param.h>.
31070 (MAX): Macro removed.
31071
7312ca90
RM
31072 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31073 Move #define and #undef of memmove to just before and after
31074 including <string.h>.
31075
9a0a5486
RM
31076 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31077 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31078 and after including <string.h>. Move declarations of
31079 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31080 to before #include "string/memmove.c".
31081
67cc348d
RM
31082 * include/dirent.h: Declare __getdirentries.
31083
a3f95dcc
RM
31084 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31085 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31086
ca98e171
MF
310872012-08-14 Mike Frysinger <vapier@gentoo.org>
31088
31089 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31090 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31091 * sysdeps/i386/configure: Regenerated.
31092 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31093 STABS_CURRENT_FILE, and STABS_FUN.
31094 (END): Remove call to STABS_FUN_END.
31095 (STABS_CURRENT_FILE1): Delete.
31096 (STABS_CURRENT_FILE): Likewise.
31097 (STABS_FUN): Likewise.
31098 (STABS_FUN_END): Likewise.
31099 (STABS_FUN2): Likewise.
31100 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31101 * sysdeps/x86_64/configure: Regenerated.
31102
5908bf46
RM
311032012-08-14 Roland McGrath <roland@hack.frob.com>
31104
31105 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 31106 * elf/dl-lookup.c: Likewise.
5908bf46 31107
f2c05b9e
JM
311082012-08-14 Joseph Myers <joseph@codesourcery.com>
31109
31110 * sysdeps/unix/sysv/linux/kernel-features.h
31111 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31112 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31113 unconditionally.
31114 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31115 unconditionally.
31116 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31117 condition on __ASSUME_CLONE_THREAD_FLAGS.
31118
e11f5155
AJ
311192012-08-14 Andreas Jaeger <aj@suse.de>
31120
31121 * sysdeps/i386/fpu/libm-test-ulps: Update.
31122
51a9ba86
MK
311232012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31124
2fdd4f78
AJ
31125 * include/atomic.h (atomic_exchange_and_add): Split into ...
31126 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31127 New atomic macros.
51a9ba86 31128
ba6cba9e
MT
311292012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31130
31131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31132
42443a47
JL
311332012-08-13 Jeff Law <law@redhat.com>
31134
31135 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31136 null byte in the output string.
31137
121dce05
JM
311382012-08-10 Joseph Myers <joseph@codesourcery.com>
31139
31140 * sysdeps/unix/sysv/linux/kernel-features.h
31141 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31142 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31143 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31144 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31145 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31146 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31147 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31148
bf51f568
JL
311492012-08-09 Jeff Law <law@redhat.com>
31150
31151 [BZ #13939]
31152 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31153 When avoid_arena is set, don't retry in the that arena. Pick the
31154 next one, whatever it might be.
31155 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31156 (arena_lock): Pass in new parameter to arena_get2.
31157 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31158 arena_get2.
31159 (__libc_malloc): Unify retrying after main arena failure with
31160 __libc_memalign version.
31161 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31162
f85fa270
L
311632012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31164
31165 [BZ #14166]
31166 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31167 to __redirect_strstr.
31168 (__strstr_sse42): Use typeof __redirect_strstr.
31169 (__strstr_ia32): Likewise.
31170 (__libc_strstr): New prototype.
31171 (strstr): Renamed to ...
31172 (__libc_strstr): This.
31173 (strstr): New strong alias of __libc_strstr.
31174 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31175 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31176 __redirect_time.
31177 Include <time.h>.
31178 (__libc_time): New prototype.
31179 (time_ifunc): Replace time with __libc_time.
31180 (time): New strong alias and hidden definition of __libc_time.
31181 (__GI_time): Remove strong alias.
31182 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31183 Include <stddef.h>.
31184 (memmove): Redefined to __redirect_memmove.
31185 (__memmove_sse2): Use typeof __redirect_memmove.
31186 (__memmove_ssse3): Likewise.
31187 (__memmove_ssse3_back): Likewise.
31188 (__libc_memmove): New prototype.
31189 (memmove): Renamed to ...
31190 (__libc_memmove): This.
31191 (memmove): New strong alias of __libc_memmove.
31192
33b4a91e
MS
311932012-08-08 Mark Salter <msalter@redhat.com>
31194
31195 * elf/elf.h
31196 (R_MN10300_TLS_GD): Define.
31197 (R_MN10300_TLS_LD): Likewise.
31198 (R_MN10300_TLS_LDO): Likewise.
31199 (R_MN10300_TLS_GOTIE): Likewise.
31200 (R_MN10300_TLS_IE): Likewise.
31201 (R_MN10300_TLS_LE): Likewise.
31202 (R_MN10300_TLS_DTPMOD): Likewise.
31203 (R_MN10300_TLS_DTPOFF): Likewise.
31204 (R_MN10300_TLS_TPOFF): Likewise.
31205 (R_MN10300_SYM_DIFF): Likewise.
31206 (R_MN10300_ALIGN): Likewise.
31207 (R_MN10300_NUM): Update.
31208
b36137f1
JM
312092012-08-08 Joseph Myers <joseph@codesourcery.com>
31210
31211 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31212 Remove.
31213
cdd915fd
RM
312142012-08-08 Roland McGrath <roland@hack.frob.com>
31215
a2433aac
RM
31216 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31217
cdd915fd
RM
31218 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31219 sysdeps/unix -> sysdeps/posix move.
31220 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31221
bf9b740a
AM
312222012-08-07 Allan McRae <allan@archlinux.org>
31223
31224 [BZ #14303]
31225 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31226 (SUNOS_CPP): Likewise.
31227 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31228 not found.
31229 (open_input): Call CPP using execvp.
31230
93df14ee
JM
312312012-08-07 Joseph Myers <joseph@codesourcery.com>
31232
31233 * sysdeps/unix/sysv/linux/kernel-features.h
31234 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31235 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31236 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31237 (__ASSUME_WAITID_SYSCALL): Likewise.
31238 * sysdeps/unix/sysv/linux/dl-execstack.c
31239 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31240 code unconditional.
31241 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31242 conditional code.
31243 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31244 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31245 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31246 code.
31247 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31248 unconditional.
31249 [__ASSUME_WAITID_SYSCALL]: Likewise.
31250 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31251
d34689de
RM
312522012-08-07 Roland McGrath <roland@hack.frob.com>
31253
a281decc
RM
31254 * sysdeps/unix/closedir.c: Renamed to ...
31255 * sysdeps/posix/closedir.c: ... here.
31256 * sysdeps/unix/dirfd.c: Renamed to ...
31257 * sysdeps/posix/dirfd.c: ... here.
31258 * sysdeps/unix/dirstream.h: Renamed to ...
31259 * sysdeps/posix/dirstream.h: ... here.
31260 * sysdeps/unix/fdopendir.c: Renamed to ...
31261 * sysdeps/posix/fdopendir.c: ... here.
31262 * sysdeps/unix/opendir.c: Renamed to ...
31263 * sysdeps/posix/opendir.c: ... here.
31264 * sysdeps/unix/readdir.c: Renamed to ...
31265 * sysdeps/posix/readdir.c: ... here.
31266 * sysdeps/unix/readdir_r.c: Renamed to ...
31267 * sysdeps/posix/readdir_r.c: ... here.
31268 * sysdeps/unix/rewinddir.c: Renamed to ...
31269 * sysdeps/posix/rewinddir.c: ... here.
31270 * sysdeps/unix/seekdir.c: Renamed to ...
31271 * sysdeps/posix/seekdir.c: ... here.
31272 * sysdeps/unix/telldir.c: Renamed to ...
31273 * sysdeps/posix/telldir.c: ... here.
31274 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31275 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31276 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31277 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31278
22895b47
RM
31279 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31280 * bits/fcntl.h: ... here.
31281
707a53b6
RM
31282 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31283 not 0.
31284 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31285 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31286 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31287 (struct flock): Move l_start, l_len to the beginning.
31288 Use __pid_t for l_pid.
31289 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31290 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31291 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31292 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31293 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31294 [__USE_LARGEFILE64] (struct flock64): New type.
31295 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31296
f0bd3e25
RM
31297 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31298 * bits/dirent.h: ... here.
31299
d34689de
RM
31300 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31301 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31302
6dad2c06
JM
313032012-08-07 Joseph Myers <joseph@codesourcery.com>
31304
31305 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31306 Change from 2.6.0 to 2.6.16.
31307 * sysdeps/unix/sysv/linux/configure: Regenerated.
31308 * sysdeps/unix/sysv/linux/kernel-features.h
31309 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31310 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31311 version.
31312 (__ASSUME_UTIMES): Likewise.
31313 (__ASSUME_CLONE_STOPPED): Remove.
31314 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31315 architectures, not kernel version.
31316 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31317 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31318 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31319 (__ASSUME_WAITID_SYSCALL): Likewise.
31320 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31321 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31322 * README: State 2.6.16 as minimum Linux kernel version. Do not
31323 refer to older versions.
31324
03af9520
RM
313252012-08-06 Roland McGrath <roland@hack.frob.com>
31326
8e49df1d
RM
31327 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31328 Define alphasort64 as an alias.
31329 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31330 Define versionsort64 as an alias.
31331 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31332 Define scandir64 as an alias.
31333 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31334 Define scandirat64 as an alias.
31335 * dirent/alphasort64.c (alphasort64):
31336 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31337 * dirent/versionsort64.c: Likewise.
31338 * dirent/scandir64.c: Likewise.
31339 * dirent/scandirat64.c: Likewise.
31340 * sysdeps/wordsize-64/alphasort.c: File removed.
31341 * sysdeps/wordsize-64/alphasort64.c: File removed.
31342 * sysdeps/wordsize-64/scandir.c: File removed.
31343 * sysdeps/wordsize-64/scandir64.c: File removed.
31344 * sysdeps/wordsize-64/scandirat.c: File removed.
31345 * sysdeps/wordsize-64/scandirat64.c: File removed.
31346 * sysdeps/wordsize-64/versionsort.c: File removed.
31347 * sysdeps/wordsize-64/versionsort64.c: File removed.
31348 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31349 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31350 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31351 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31352 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31353 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31354 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31355 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31356
31357 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31358 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31359 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31360 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31361 [defined __arch64__ || defined __sparcv9]
31362 (__INO_T_MATCHES_INO64_T): New macro.
31363 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31364 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31365 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31366 * sysdeps/unix/sysv/linux/bits/dirent.h
31367 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31368 (_DIRENT_MATCHES_DIRENT64): New macro.
31369
03af9520
RM
31370 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31371 Define lockf64 as an alias.
31372 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31373 Define fseeko64 as an alias.
31374 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31375 Define ftello64 as an alias.
31376 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31377 Define _IO_fgetpos64 and fgetpos64 as aliases.
31378 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31379 Define _IO_fsetpos64 and fsetpos64 as aliases.
31380 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31381 Conditionalize body on this.
31382 * libio/fseeko64.c: Likewise.
31383 * libio/ftello64.c: Likewise.
31384 * libio/iofgetpos64.c: Likewise.
31385 * libio/iofsetpos64.c: Likewise.
31386 * sysdeps/wordsize-64/lockf.c: File removed.
31387 * sysdeps/wordsize-64/lockf64.c: File removed.
31388 * sysdeps/wordsize-64/fseeko.c: File removed.
31389 * sysdeps/wordsize-64/fseeko64.c: File removed.
31390 * sysdeps/wordsize-64/ftello.c: File removed.
31391 * sysdeps/wordsize-64/ftello64.c: File removed.
31392 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31393 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31394 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31395 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31396 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31397 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31398 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31399 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31400 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31401 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31402 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31403 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31404 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31405 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31406
31407 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31408 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31409 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31411 [defined __arch64__ || defined __sparcv9]
31412 (__OFF_T_MATCHES_OFF64_T): New macro.
31413 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31414 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31415 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31416 (__OFF_T_MATCHES_OFF64_T): New macro.
31417
c5757acd
L
314182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31419
31420 * stdlib/secure-getenv.c (__secure_getenv): Replace
31421 GLIBC_2_16 with GLIBC_2_17.
31422
3a31811e
L
314232012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31424
31425 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31426 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31427
faa2bccb
DM
314282012-08-03 David S. Miller <davem@davemloft.net>
31429
31430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31431
85fe1997
JM
314322012-08-03 Joseph Myers <joseph@codesourcery.com>
31433
31434 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31435 Remove.
31436 (__ASSUME_CORRECT_SI_PID): Likewise.
31437 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31438 (__ASSUME_TMPFS_NAME): Likewise.
31439 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31440 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31441 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31442 (HAVE_AUX_SECURE): Make definition unconditional.
31443 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31444 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31445
4f75b7a0
RM
314462012-08-03 Roland McGrath <roland@hack.frob.com>
31447
31448 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31449 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31450 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31451 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31452 __eloop_threshold instead of SYMLOOP_MAX.
31453
31454 * sysdeps/generic/eloop-threshold.h: New file.
31455 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31456 of MAXSYMLINKS.
31457 * elf/chroot_canon.c (chroot_canon): Likewise.
31458
7aab07e4
JM
314592012-08-03 Joseph Myers <joseph@codesourcery.com>
31460
31461 [BZ #13717]
31462 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31463 Change to 2.6.0 everywhere.
31464 * sysdeps/unix/sysv/linux/configure: Regenerated.
31465 * sysdeps/unix/sysv/linux/kernel-features.h
31466 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31467 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31468 kernel versions.
31469 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31470 (__ASSUME_FUTEX_REQUEUE): Remove.
31471 (__ASSUME_STATFS64): Define unconditionally.
31472 (__ASSUME_AT_SECURE): Likewise.
31473 (__ASSUME_CORRECT_SI_PID): Likewise.
31474 (__ASSUME_TGKILL): Define without depending on kernel version for
31475 i386.
31476 (__ASSUME_UTIMES): Likewise.
31477 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31478 kernel version.
31479 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31480 (__ASSUME_TMPFS_NAME): Likewise.
31481 * README: Update reference to Linux kernel versions.
31482
b67e9372
MP
314832012-08-02 Marek Polacek <polacek@redhat.com>
31484
1f529f7d 31485 [BZ# 14150]
b67e9372
MP
31486 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31487 libc_cv_asm_type_prefix with %.
31488 * configure: Regenerated.
d2441631
RM
31489 * include/libc-symbols.h: Remove comment about
31490 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31491 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31492 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31493 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31494 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31495 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31496 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31497 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31498 * elf/tst-unique2mod1.c: Likewise.
31499 * elf/tst-unique1mod2.c: Likewise.
31500 * elf/tst-unique1mod1.c: Likewise.
31501 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31502 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31503 Replace ASM_TYPE_DIRECTIVE with .type.
31504 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31505 * sysdeps/i386/sysdep.h: Likewise.
31506 * sysdeps/x86_64/sysdep.h: Likewise.
31507 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31509 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31510 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31511 * sysdeps/powerpc/powerpc32/sysdep.h:
31512 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31513 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31514 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31515 * sysdeps/i386/fpu/e_powf.S: Likewise.
31516 * sysdeps/i386/fpu/e_expl.S: Likewise.
31517 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31518 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31519 * sysdeps/i386/fpu/e_pow.S: Likewise.
31520 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31521 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31522 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31523 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31524 * sysdeps/i386/fpu/e_log2.S: Likewise.
31525 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31526 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31527 * sysdeps/i386/fpu/e_powl.S: Likewise.
31528 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31529 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31530 * sysdeps/i386/fpu/e_logl.S: Likewise.
31531 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31532 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31533 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31534 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31535 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31536 * sysdeps/i386/fpu/e_log.S: Likewise.
31537 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31538 * sysdeps/i386/fpu/e_logf.S: Likewise.
31539 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31540 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31541 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31542 * sysdeps/i386/fpu/e_log10.S: Likewise.
31543 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31544 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31545 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31546 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31547 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31548 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31549 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31550 * sysdeps/i386/i686/strtok.S: Likewise.
31551 * sysdeps/i386/i386-mcount.S: Likewise.
31552 * sysdeps/i386/strtok.S: Likewise.
31553 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31554 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31555 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31556 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31557 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31558 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31559 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31560 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31561 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31562 * sysdeps/x86_64/_mcount.S: Likewise.
31563 * sysdeps/x86_64/strtok.S: Likewise.
31564 * sysdeps/sh/_mcount.S: Likewise.
31565
2747bf9a
RM
315662012-08-01 Roland McGrath <roland@hack.frob.com>
31567
31568 * libio/iofopen.c: Include <fcntl.h>.
31569 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31570 (_IO_fopen64, fopen64): Define as aliases.
31571 * libio/iofopen64.c: Include <fcntl.h>.
31572 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31573 Conditionalize body on this.
31574 * sysdeps/wordsize-64/iofopen.c: File removed.
31575 * sysdeps/wordsize-64/iofopen64.c: File removed.
31576
3fb791b8
MP
315772012-08-01 Marek Polacek <polacek@redhat.com>
31578
31579 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31580 Use dlfcn directly instead of a variable.
31581 (binfmt-subdir): Do not define.
31582 (dlfcn): Likewise.
31583
a9f1039f
JM
315842012-08-01 Joseph Myers <joseph@codesourcery.com>
31585
23bddc06
JM
31586 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31587 Remove all definitions.
31588 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31589 <kernel-features.h>.
31590 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31591 (miss_F_GETOWN_EX): Remove all definitions.
31592 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31593 macro definition.
31594 [!__ASSUME_FCNTL64]: Remove conditional code.
31595 [__ASSUME_FCNTL64]: Make code unconditional.
31596 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31597 <kernel-features.h>.
31598 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31599 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31600 (lockf64) [__NR_fcntl64]: Make code unconditional.
31601 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31602
a9f1039f
JM
31603 * sysdeps/unix/sysv/linux/kernel-features.h
31604 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31605 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31606 Make code unconditional.
31607 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31608 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31610 [__NR_vfork]: Make code unconditional.
31611 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31612 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31614 [__NR_vfork]: Make code unconditional.
31615 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31616 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31617
09c0ee5f
RM
316182012-08-01 Roland McGrath <roland@hack.frob.com>
31619
48aec5b9
RM
31620 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31621 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31622
cd97c966
RM
31623 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31624 Define mkstemp64 as an alias.
3f55550c
RM
31625 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31626 Define mkstemps64 as an alias.
cd97c966
RM
31627 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31628 Define mkostemp64 as an alias.
b8625cfc
RM
31629 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31630 Define mkostemps64 as an alias.
cd97c966
RM
31631 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31632 Conditionalize body on this.
31633 * misc/mkostemp64.c: Likewise.
b8625cfc 31634 * misc/mkostemps64.c: Likewise.
3f55550c 31635 * misc/mkstemps64.c: Likewise.
cd97c966
RM
31636 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31637 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31638 * sysdeps/wordsize-64/mkostemp.c: File removed.
31639 * sysdeps/wordsize-64/mkstemp.c: File removed.
31640 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31641 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31642 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31643 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31644
09c0ee5f
RM
31645 [BZ #14138]
31646 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31647 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31648 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31649 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31650
31651 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31652 compat_symbol macros from <shlib-compat.h> rather than the underlying
31653 default_symbol_version and symbol_version macros, so that DEFAULT
31654 lines in shlib-versions are respected.
31655 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31656
7e66ee51
FW
316572012-08-01 Florian Weimer <fweimer@redhat.com>
31658
31659 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31660 Declare with warn_unused_result.
31661 (setgid, setregid, setegid, setresgid): Likewise.
31662 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31663 Likewise.
31664 * WUR-REPORT: Remove set*id functions.
31665
d2a54255
PT
316662012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31667
31668 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31669
7ecdb005
RM
316702012-07-31 Roland McGrath <roland@hack.frob.com>
31671
b4180a5e 31672 [BZ #10191]
789bd351
RM
31673 * include/sys/socket.h (__libc_accept, __libc_accept4):
31674 Add attribute_hidden.
31675 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31676
40ce302d
RM
31677 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31678 use of PTR_MANGLE.
31679 * inet/getnetgrent_r.c (setup): Likewise.
31680
7ecdb005
RM
31681 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31682
e2eabb2c
DM
316832012-07-31 David S. Miller <davem@davemloft.net>
31684
31685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31686
d0419dbf
JM
316872012-07-31 Joseph Myers <joseph@codesourcery.com>
31688
31689 [BZ #13629]
31690 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31691 value between 1.0 and 2.0 and smaller part has absolute value less
31692 than 1.0.
31693 * math/s_clog10.c (__clog10): Likewise.
31694 * math/s_clog10f.c (__clog10f): Likewise.
31695 * math/s_clog10l.c (__clog10l): Likewise.
31696 * math/s_clogf.c (__clogf): Likewise.
31697 * math/s_clogl.c (__clogl): Likewise.
31698 * math/libm-test.inc (clog_test): Add more tests.
31699 (clog10_test): Likewise.
31700 * sysdeps/i386/fpu/libm-test-ulps: Update.
31701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31702
2bc13872
FW
317032012-07-31 Florian Weimer <fweimer@redhat.com>
31704
31705 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31706 Exit with zero in case no suitable GID is found, and write a
31707 message to standard error.
31708
bea9b193
RM
317092012-07-30 Roland McGrath <roland@hack.frob.com>
31710
31711 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31712 rather than to 1.
31713 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31714 (MAXPATHLEN): Removed.
31715 (NOGROUP, NODEV): New macros.
31716 (setbit, clrbit, isset, isclr): New macros.
31717 (howmany, roundup, powerof2): New macros.
31718 (DEV_BSIZE): New macro.
31719
31720 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31721 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31722
31723 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31724 definition on [!__NO_LONG_DOUBLE_MATH].
31725
31726 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31727 PTR_MANGLE and PTR_DEMANGLE.
31728
31729 * socket/accept4.c (accept4): Rename to __libc_accept4.
31730 Define accept4 as a weak alias.
31731
31732 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31733 on [_DIRENT_HAVE_D_TYPE].
31734 * io/ftw.c (ftw_dir): Likewise.
31735
31736 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31737
31738 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31739
31740 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31741 Use the BSD numbers rather than the arbitrary ones we had.
31742 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31743 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31744 (SIGXCPU, SIGXFSZ): New macros.
31745 (_NSIG): Now 32.
31746
31747 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31748 initializer on [_LIBC_REENTRANT].
31749
31750 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31751 definitions inside [_POSIX_MAPPED_FILES].
31752
31753 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31754
31755 * dirent/opendir.c: Include <fcntl.h>.
31756
31757 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31758 (__libc_getspecific): Likewise.
31759 (__libc_key_create): Likewise.
31760
31761 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31762 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31763 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31764 (tmpfile64): Define as alias.
31765 * sysdeps/wordsize-64/tmpfile.c: File removed.
31766 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31767 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31768 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31769
31770 * stdio-common/vfscanf.c: Include <stdbool.h>.
31771 * nss/makedb.c: Likewise.
31772 * stdio-common/_i18n_number.h: Likewise.
31773 * argp/argp-help.c: Likewise.
31774 * posix/wordexp.c: Likewise.
31775 * sysdeps/posix/spawni.c: Likewise.
31776 * nss/nss_files/files-initgroups.c: Likewise.
31777 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31778 * nss/nss_files/files-initgroups.c: Likewise.
31779 * nss/nss_db/db-netgrp.c: Likewise.
31780 * nss/nss_db/db-initgroups.c: Likewise.
31781 * io/fchmodat.c: Include <sys/stat.h>.
31782
31783 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31784 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31785
31786 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31787 [HAVE_MMAP].
31788
31789 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31790 Add multiple inclusion protection.
31791
e5abc686
DM
317922012-07-27 David S. Miller <davem@davemloft.net>
31793
31794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31795
815e6fa3
GB
317962012-07-27 Gary Benson <gbenson@redhat.com>
31797
31798 [BZ #14298]
31799 * elf/rtld.c: Include <stap-probe.h>.
31800 (dl_main): Added static probes "init_start" and "init_complete".
31801 * elf/dl-load.c: Include <stap-probe.h>.
31802 (lose): Take new parameter "nsid".
31803 Added static probe "map_failed".
31804 (_dl_map_object_from_fd): Pass namespace id to lose.
31805 Added static probe "map_start".
31806 (open_verify): Pass namespace id to lose.
31807 * elf/dl-open.c: Include <stap-probe.h>.
31808 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31809 and "reloc_complete".
31810 * elf/dl-close.c: Include <stap-probe.h>.
31811 (_dl_close_worker): Added static probes "unmap_start" and
31812 "unmap_complete".
31813 * elf/rtld-debugger-interface.txt: New file documenting the above.
31814
9f98c16c
RM
318152012-07-26 Roland McGrath <roland@hack.frob.com>
31816
31817 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31818 rather than a string variable.
31819 * sunrpc/rpc_main.c (h_output): Likewise.
31820 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31821
f3c22df3
PT
318222012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31823
31824 * inet/check_native.c: New file.
31825
3129cfc6
JM
318262012-07-26 Joseph Myers <joseph@codesourcery.com>
31827
da865e95
JM
31828 [BZ #13629]
31829 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31830 if larger part has absolute value 1.0.
31831 * math/s_clog10.c (__clog10): Likewise.
31832 * math/s_clog10f.c (__clog10f): Likewise.
31833 * math/s_clog10l.c (__clog10l): Likewise.
31834 * math/s_clogf.c (__clogf): Likewise.
31835 * math/s_clogl.c (__clogl): Likewise.
31836 * math/libm-test.inc (clog_test): Add more tests.
31837 (clog10_test): Likewise.
31838 * sysdeps/i386/fpu/libm-test-ulps: Update.
31839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31840
3129cfc6
JM
31841 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31842 (pltexit): Likewise.
31843 (La_regs): Likewise.
31844 (La_retval): Likewise.
31845 (int_retval): Likewise.
31846 Update #error for removed macros to refer only to definitions in
31847 tst-audit.h.
31848 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31849 macro.
31850 (pltexit): Likewise.
31851 (La_regs): Likewise.
31852 (La_retval): Likewise.
31853 (int_retval): Likewise.
31854 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31855 macro.
31856 (pltexit): Likewise.
31857 (La_regs): Likewise.
31858 (La_retval): Likewise.
31859 (int_retval): Likewise.
31860 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31861 macro.
31862 (pltexit): Likewise.
31863 (La_regs): Likewise.
31864 (La_retval): Likewise.
31865 (int_retval): Likewise.
31866 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31867 macro.
31868 (pltexit): Likewise.
31869 (La_regs): Likewise.
31870 (La_retval): Likewise.
31871 (int_retval): Likewise.
31872 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31873 macro.
31874 (pltexit): Likewise.
31875 (La_regs): Likewise.
31876 (La_retval): Likewise.
31877 (int_retval): Likewise.
31878 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31879 macro.
31880 (pltexit): Likewise.
31881 (La_regs): Likewise.
31882 (La_retval): Likewise.
31883 (int_retval): Likewise.
31884 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31885 macro definitions in tst-audit.h.
31886 * sysdeps/i386/tst-audit.h: New file.
31887 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31888 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31889 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31890 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31891 * sysdeps/sh/tst-audit.h: Likewise.
31892 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31893 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31894 * sysdeps/x86_64/tst-audit.h: Likewise.
31895
bfc07087
AJ
318962012-07-26 Andreas Jaeger <aj@suse.de>
31897
b1b2aaf8
AJ
31898 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31899 ptrace.
31900
31901 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31902 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31903 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31904 PTRACE_O_MASK.
31905 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31906 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31907 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31908
bfc07087
AJ
31909 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31910 value.
31911
31912 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31913 _sigsys.
31914 (si_call_addr, si_syscall, si_arch): Define new macro.
31915 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31916 _sigsys.
31917 (si_call_addr, si_syscall, si_arch): Define new marcro.
31918 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31919 _sigsys.
31920 (si_call_addr, si_syscall, si_arch): Define new macro.
31921 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31922 _sigsys.
31923 (si_call_addr, si_syscall, si_arch): Define new macro.
31924
89b4b02f
JM
319252012-07-25 Joseph Myers <joseph@codesourcery.com>
31926
31927 [BZ #13717]
31928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31929 Change to 2.4.21 where previously 2.4.1.
31930 * sysdeps/unix/sysv/linux/configure: Regenerated.
31931 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31932 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31933 Linux kernel version.
31934 (__ASSUME_STD_AUXV): Remove.
31935 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31936 kernel version.
31937 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31938 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31939 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31940 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31941 (__ASSUME_NETLINK_SUPPORT): Likewise.
31942 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31943 (__no_netlink_support): Remove conditional definition.
31944 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31945 Remove.
31946 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31947 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31948 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31949 (if_nameindex_ioctl): Remove.
31950 (if_nameindex_netlink): Do not handle __no_netlink_support.
31951 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31952 code.
31953 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31954 Remove conditional code.
31955 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31956 code.
31957 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31958 unconditional.
31959 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31960 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31961 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31962 Remove.
31963 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31964 [!__ASSUME_STD_AUXV]: Remove conditional code.
31965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31966 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31967 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31969 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31970 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31971 code.
31972 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31974 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31975 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31976 conditional code.
31977 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31979 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31980 code.
31981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31982 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31983 conditional code.
31984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31985 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31986 code unconditional.
31987 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31988 conditional code.
31989 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31990 unconditional.
31991 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31992 conditional code.
31993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31994 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31995 unconditional.
31996 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31997 conditional code.
31998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31999 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32000 code unconditional.
32001 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32002 conditional code.
32003 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32004 unconditional.
32005 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32006 conditional code.
32007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32008 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32009 code unconditional.
32010 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32011 conditional code.
32012 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32013 unconditional.
32014 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32015 conditional code.
32016
842a39cd
AS
320172012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32018
32019 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32020 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32021 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32022 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32023 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32024 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32025 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32026 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32027 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32028 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32029 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32030 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32031 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32032 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32033 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32034 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32035 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32036 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32037 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32039 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32040 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32041 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32042
84b3fd84
FW
320432012-07-25 Florian Weimer <fweimer@redhat.com>
32044
32045 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
32046 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32047 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32048 Introduce __libc_secure_getenv.
0c7936d5
FW
32049 * stdlib/Versions (2.17): Add secure_getenv
32050 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32051 * stdlib/secure-getenv.c: Rename __secure_getenv to
32052 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32053 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
32054 * stdlib/tst-secure-getenv.c: New.
32055 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
32056 * manual/startup.texi (Environment Access): Document
32057 secure_getenv.
84b3fd84
FW
32058 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32059 __libc_secure_getenv.
32060 * inet/ruserpass.c (ruserpass): Likewise.
32061 * malloc/mtrace.c (mtrace): Likewise.
32062 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 32063 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
32064 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32065 * sysdeps/posix/tempname.c: Likewise. Evaluate
32066 HAVE_SECURE_GETENV.
32067 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 32068 __secure_getenv to __libc_secure_getenv.
84b3fd84 32069 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
32070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32071 Likewise.
32072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32073 Likewise.
32074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32076 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 32081
56e49b71
JM
320822012-07-25 Joseph Myers <joseph@codesourcery.com>
32083
32084 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32085 (struct La_i86_retval): Likewise.
32086 (struct La_x86_64_regs): Likewise.
32087 (struct La_x86_64_retval): Likewise.
32088 (struct La_x32_regs): Likewise.
32089 (struct La_x32_retval): Likewise.
32090 (struct La_ppc32_regs): Likewise.
32091 (struct La_ppc32_retval): Likewise.
32092 (struct La_ppc64_regs): Likewise.
32093 (struct La_ppc64_retval): Likewise.
32094 (struct La_sh_regs): Likewise.
32095 (struct La_sh_retval): Likewise.
32096 (struct La_s390_32_regs): Likewise.
32097 (struct La_s390_32_retval): Likewise.
32098 (struct La_s390_64_regs): Likewise.
32099 (struct La_s390_64_retval): Likewise.
32100 (struct La_sparc32_regs): Likewise.
32101 (struct La_sparc32_retval): Likewise.
32102 (struct La_sparc64_regs): Likewise.
32103 (struct La_sparc64_retval): Likewise.
32104 (struct audit_ifaces): Remove architecture-specific pltenter and
32105 pltexit members.
32106 * sysdeps/i386/ldsodefs.h: New file.
32107 * sysdeps/powerpc/ldsodefs.h: Likewise.
32108 * sysdeps/s390/ldsodefs.h: Likewise.
32109 * sysdeps/sh/ldsodefs.h: Likewise.
32110 * sysdeps/sparc/ldsodefs.h: Likewise.
32111 * sysdeps/x86_64/ldsodefs.h: Likewise.
32112
354691b7
MP
321132012-07-25 Marek Polacek <polacek@redhat.com>
32114
32115 [BZ #6808]
32116 * math/libm-test.inc (yn_test): Add another test.
32117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32118 to ERANGE when the result is +-Inf.
32119 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32120 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32121 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32122 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32123
bf9e2071
JM
321242012-07-24 Joseph Myers <joseph@codesourcery.com>
32125
32126 * conform/data/time.h-data (NULL): Use macro-constant. Require
32127 equal to 0.
32128 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32129 clock_t.
32130 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32131
57633811
TS
321322012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32133
32134 * configure.in <sysdeps resolving>: Correct printing
32135 Implies_before.
32136 * configure: Regenerate.
32137
c23c33b0
TS
321382012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32139
32140 * math/w_ilogb.c: Include <limits.h>.
32141 * math/w_ilogbl.c: Likewise.
32142
b5982523
JM
321432012-07-20 Joseph Myers <joseph@codesourcery.com>
32144
32145 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32146 va_copy. Document allowing for unavailable va_copy only as
32147 pre-C99 compatibility.
32148 * manual/string.texi (Copying and Concatenation): Use va_copy
32149 instead of __va_copy in concat example.
32150
ac4ea442
PT
321512012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32152
32153 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32154 (__sendto): Use create_address_port. Initialize APORT and deallocate
32155 it if not null.
32156
f98eafbd
PT
32157 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32158 with O_NOLINK passed to __file_name_lookup.
32159
898c7aab
PT
32160 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32161 with O_NOLINK passed to __file_name_lookup.
32162
0ced335a
PT
32163 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32164 negative N or less than NGIDS.
32165
b3404dbd
PT
32166 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32167 type to string_t. Set ERANGE as errno and return it if NAME is not big
32168 enough. Use memcpy instead of strncpy.
32169
0f48659e
JM
321702012-07-20 Joseph Myers <joseph@codesourcery.com>
32171
32172 * elf/Makefile (check-data): Remove.
32173 (localplt.data): New vpath directive.
32174 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32175 instead of $(check-data).
32176 * scripts/data/localplt-generic.data: Move to ...
32177 * sysdeps/generic/localplt.data: ... here.
32178 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32179 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32180 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32182 ... here.
32183 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32185 ... here.
32186 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32188 ... here.
32189 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32191 ... here.
32192 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32194 ... here.
32195 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32197 ... here.
32198
d37cbdaa
AZ
321992012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32200
32201 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32202 PPC32 and PPC64 files.
32203 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32204 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32205
46f85fc2
AK
322062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32207
32208 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32209 __makecontext_ret to ...
32210 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32211 ... here and call exit if uc_link is NULL. New file.
32212 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32213 __makecontext_ret.S.
32214 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32215 __makecontext_ret to ...
32216 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32217 ... here and call exit if uc_link is NULL. New file.
32218 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32219 __makecontext_ret.S.
32220
08f43f9b
AK
322212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32222
32223 * elf/elf.h (R_390_IRELATIVE): New definition.
32224 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32225 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32226 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32227 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32228 (elf_machine_lazy_rel): Likewise.
32229 * sysdeps/s390/dl-irel.h: New file.
32230 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32231 * sysdeps/s390/s390-64/memset.S: New asm code.
32232 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32233 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32234 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32235 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32236 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32237 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32238 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32239 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32240 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32241 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32242 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32243 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32244 * sysdeps/s390/s390-32/memset.S: New asm code.
32245 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32246
3b05db33
MP
322472012-07-17 Marek Polacek <polacek@redhat.com>
32248
32249 [BZ #14349]
32250 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32251 * sysdeps/s390/s390-64/configure.in: Likewise.
32252 * sysdeps/sparc/configure.in: Likewise.
32253 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32254 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32255 * sysdeps/i386/configure.in: Likewise.
32256 * sysdeps/x86_64/configure.in: Likewise.
32257 * sysdeps/sh/configure.in: Likewise.
32258 * sysdeps/s390/s390-32/configure: Regenerated.
32259 * sysdeps/s390/s390-64/configure: Likewise.
32260 * sysdeps/x86_64/configure: Likewise.
32261 * sysdeps/sh/configure: Likewise.
32262 * sysdeps/powerpc/powerpc64/configure: Likewise.
32263 * sysdeps/powerpc/powerpc32/configure: Likewise.
32264 * sysdeps/sparc/configure: Likwise.
32265 * sysdeps/i386/configure: Likewise.
32266
a66877c6
MP
32267 * elf/dl-open.c: Comment fixes.
32268
cfc82fd8
JM
322692012-07-17 Joseph Myers <joseph@codesourcery.com>
32270
bd29910a
JM
32271 * Makefile [CXX] (check-data): Remove.
32272 [CXX] (c++-types.data): New vpath directive.
32273 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32274 vpath. Do not allow for C++ type data being missing.
32275 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32276 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32277 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32278 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32279 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32280 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32281 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32283 ... here.
32284 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32286 ... here.
32287 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32289 ... here.
32290 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32292 ... here.
32293 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32295 ... here.
32296 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32298 ... here.
32299 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32301 ... here.
32302 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32304
cfc82fd8
JM
32305 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32306 definitions to architecture-specific files.
32307 (TLS_IE): Likewise.
32308 (TLS_LD): Likewise.
32309 (TLS_GD): Likewise.
32310 * sysdeps/i386/tls-macros.h: New file.
32311 * sysdeps/powerpc/tls-macros.h: Likewise.
32312 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32313 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32314 * sysdeps/sh/tls-macros.h: Likewise.
32315 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32316 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32317 * sysdeps/x86_64/tls-macros.h: Likewise.
32318
f7db3170
TS
323192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32320
07cbfc23
TS
32321 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32322 zero value for regular exit case.
32323
f7db3170
TS
32324 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32325 (__start_context): Preserve zero value for regular exit case.
32326
dc97c227
TS
323272012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32328 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32329
32330 * manual/setjmp.texi (setcontext): Clarify normal process
32331 termination when uc_link is the null pointer.
32332 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32333 exit call.
32334
d0cd7d02
AS
323352012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32336
32337 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32338 preprocessor. Test for each exception mask separately.
32339
dd318934
AJ
323402012-07-16 Andreas Jaeger <aj@suse.de>
32341
32342 * po/ru.po: Update from translation team.
32343
8048311a
JM
323442012-07-15 Joseph Myers <joseph@codesourcery.com>
32345
32346 * conform/data/string.h-data (NULL): Use macro-constant. Require
32347 equal to 0.
32348 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32349 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32350 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32351 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32352 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32353
b637d46e
AJ
323542012-07-13 Andreas Jaeger <aj@suse.de>
32355
32356 * po/fr.po: Update from translation team.
32357
541428fe
MP
323582012-07-12 Marek Polacek <polacek@redhat.com>
32359
32360 [BZ #14173]
32361 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32362 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32363 loop condition.
32364
ec332e94
JM
323652012-07-12 Joseph Myers <joseph@codesourcery.com>
32366
32367 [BZ #13717]
32368 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32369 Change to 2.4.1 where previously 2.4.0.
32370 * sysdeps/unix/sysv/linux/configure: Regenerated.
32371 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32372 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32373 version.
32374 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32375 (__ASSUME_AT_CLKTCK): Remove.
32376 (__ASSUME_AT_PAGESIZE): Likewise.
32377 (__ASSUME_AT_XID): Likewise.
32378 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32379 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32380 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32381 unconditionally.
32382 (HAVE_AUX_PAGESIZE): Likewise.
32383 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32384 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32385 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32386
7b6e99be
JB
323872012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32388
32389 [BZ #14307]
32390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32391 the temporary buffer used to invoke __gethostbyname2_r,
32392 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32393 host_data / struct gaih_addrtuple.
32394 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32395 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32396 header file nss/nsswitch.h.
32397 * nss/nsswitch.h (global scope): Add definition of implementation
32398 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32399 resolv/nss_dns/dns-host.c).
32400
608404eb
AJ
324012012-07-11 Andreas Jaeger <aj@suse.de>
32402
32403 * po/fr.po: Update from translation team.
32404
71220aca
AJ
32405 * po/sv.po: Update from translation team
32406 * po/fr.po: Another update from translation team.
32407
28cfe843
AZ
324082012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32409
32410 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32411 for subnormals or multiply small sinh result by itself.
32412 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32414
6b90f981
DM
324152012-07-11 David S. Miller <davem@davemloft.net>
32416
32417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32418
c6825772
AS
324192012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32420
32421 [BZ #14347]
32422 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32423 (INTERNAL_MARK): Shift it here.
32424
7b8e0d49
MP
324252012-07-10 Marek Polacek <polacek@redhat.com>
32426
32427 [BZ #14151]
32428 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32429 libc_cv_asm_global_directive with .globl.
32430 * configure: Regenerated.
32431 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32432 with .globl.
32433 * sysdeps/i386/configure: Regenerated.
32434 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32435 with .globl.
32436 * sysdeps/x86_64/configure: Regenerated.
32437 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32438 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32439 * elf/tst-unique2mod2.c: Likewise.
32440 * elf/tst-unique2mod1.c: Likewise.
32441 * elf/tst-unique1mod2.c: Likewise.
32442 * elf/tst-unique1mod1.c: Likewise.
32443 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32444 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32445 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32446 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32447 * sysdeps/mach/sysdep.h: Likewise.
32448 * sysdeps/i386/sysdep.h: Likewise.
32449 * sysdeps/i386/i386-mcount.S: Likewise.
32450 * sysdeps/x86_64/_mcount.S: Likewise.
32451 * sysdeps/x86_64/sysdep.h: Likewise.
32452 * sysdeps/sh/_mcount.S: Likewise.
32453 * sysdeps/sh/sysdep.h: Likewise.
32454 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32455 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32456 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32457 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32458 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32459 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32460 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32461 * locale/localeinfo.h: Likewise.
32462 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32463 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32464
6c55cda3
RM
324652012-07-09 Roland McGrath <roland@hack.frob.com>
32466
32467 [BZ #14336]
32468 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32469 system".
32470 * manual/message.texi (The Uniforum approach): Likewise.
32471 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32472 (glibc iconv Implementation): Likewise.
32473
638a572e
JM
324742012-07-09 Joseph Myers <joseph@codesourcery.com>
32475
32476 [BZ #14337]
32477 * math/s_clog.c (__clog): Avoid scaling a value down where that
32478 could result in underflow.
32479 * math/s_clog10.c (__clog10): Likewise.
32480 * math/s_clog10f.c (__clog10f): Likewise.
32481 * math/s_clog10l.c (__clog10l): Likewise.
32482 * math/s_clogf.c (__clogf): Likewise.
32483 * math/s_clogl.c (__clogl): Likewise.
32484 * math/libm-test.inc (clog_test): Add more tests.
32485 (clog10_test): Likewise.
32486 * sysdeps/i386/fpu/libm-test-ulps: Update.
32487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32488
261f4859
AS
324892012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32490
0abaf3e4
AS
32491 [BZ #14283]
32492 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32493 by 7 not 8 to examine high bit of fractional part.
32494
261f4859
AS
32495 [BZ #14042]
32496 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32497 for call to __mcount_internal.
32498 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32499 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32500 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32501
f17ac40d
JM
325022012-07-06 Joseph Myers <joseph@codesourcery.com>
32503
9ad63c23
JM
32504 [BZ #14154]
32505 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32506 approximation for values within 0x1p-13f of an odd multiple of
32507 pi/4.
32508 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32509 exception. Add more tests.
32510 * sysdeps/i386/fpu/libm-test-ulps: Update.
32511
f17ac40d
JM
32512 [BZ #6778]
32513 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32514 inputs and return -1 for them. Do not check for +Inf in case not
32515 reachable for +Inf.
32516 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32517 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32518 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32519 and return -1 for them. Do not check for +Inf in case not
32520 reachable for +Inf.
32521 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32522 define.
32523 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32524 and return -1 for them. Do not check for +Inf in case not
32525 reachable for +Inf.
32526 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32527 spurious underflow.
32528 * sysdeps/i386/fpu/libm-test-ulps: Update.
32529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32530
fb21f89b
MF
325312012-07-06 Mike Frysinger <vapier@gentoo.org>
32532
32533 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32534
cdfe2c5e
JM
325352012-07-05 Joseph Myers <joseph@codesourcery.com>
32536
32537 [BZ #14157]
32538 [BZ #14331]
32539 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32540 could result in spurious underflow. Scale down values above
32541 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32542 * math/s_csqrtf.c (__csqrtf): Likewise.
32543 * math/s_csqrtl.c (__csqrtl): Likewise.
32544 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32545 spurious underflow.
32546 * sysdeps/i386/fpu/libm-test-ulps: Update.
32547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32548
70d35b67
AS
325492012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32550
704bc459
AS
32551 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32552 xopen-msg.sed.
32553 * catgets/xopen-msg.awk: New file.
32554 * catgets/xopen-msg.sed: Removed.
32555
70d35b67
AS
32556 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32557 po2text.sed.
32558 * intl/po2test.awk: New file.
32559 * intl/po2test.sed: Removed.
32560
ca61cf32
JM
325612012-07-04 Joseph Myers <joseph@codesourcery.com>
32562
32563 [BZ #14328]
32564 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32565 or multiply small sinh result by itself.
32566 * math/s_ctanf.c (__ctanf): Likewise.
32567 * math/s_ctanh.c (__ctanh): Likewise.
32568 * math/s_ctanhf.c (__ctanhf): Likewise.
32569 * math/s_ctanhl.c (__ctanhl): Likewise.
32570 * math/s_ctanl.c (__ctanl): Likewise.
32571 * math/libm-test.inc (ctan_test_tonearest): New function.
32572 (ctan_test_towardzero): Likewise.
32573 (ctan_test_downward): Likewise.
32574 (ctan_test_upward): Likewise.
32575 (ctanh_test_tonearest): Likewise.
32576 (ctanh_test_towardzero): Likewise.
32577 (ctanh_test_downward): Likewise.
32578 (ctanh_test_upward): Likewise.
32579 (main): Call these new functions.
32580 * sysdeps/i386/fpu/libm-test-ulps: Update.
32581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32582
ca48a46a
MF
325832012-07-03 Mike Frysinger <vapier@gentoo.org>
32584
32585 * .gitignore: Delete /ports entry.
32586
9d63d37d
AJ
325872012-07-03 Andreas Jaeger <aj@suse.de>
32588
32589 * po/bg.po: Update from translation team.
32590 * po/cs.po: Likewise.
32591 * po/de.po: Likewise.
32592 * po/hr.po: Likewise.
32593 * po/nl.pl: Likewise.
32594 * po/pl.po: Likewise.
32595 * po/vi.po: Likewise.
32596
370ca3d2
JM
325972012-07-03 Joseph Myers <joseph@codesourcery.com>
32598
95f5a9a8
JM
32599 * Makeconfig [!+link] (+link-before-libc): New variable.
32600 [!+link] (+link-after-libc): Likewise.
32601 [!+link] (+link-tests): Likewise.
32602 [!+link] (+link): Define in terms of $(+link-before-libc) and
32603 $(+link-after-libc).
32604 [!+link-static] (+link-static-before-libc): New variable.
32605 [!+link-static] (+link-static-after-libc): Likewise.
32606 [!+link-static] (+link-static-tests): Likewise.
32607 [!+link-static] (+link-static): Define in terms of
32608 $(+link-static-before-libc) and $(+link-static-after-libc).
32609 [build-shared] (link-libc-before-gnulib): New variable.
32610 [build-shared] (link-libc-tests): Likewise.
32611 [build-shared] (link-libc): Define in terms of
32612 $(link-libc-before-gnulib).
32613 [!build-shared] (link-libc-tests): New variable.
32614 (link-libc-static-tests): New variable.
32615 [!gnulib] (gnulib-arch): New variable.
32616 [!gnulib] (gnulib-tests): Likewise.
32617 [!gnulib] (static-gnulib-arch): Likewise.
32618 [!gnulib] (static-gnulib-tests): Likewise.
32619 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32620 Define with "=" instead of ":=".
32621 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32622 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32623 * Rules (binaries-all-notests): New variable.
32624 (binaries-all-tests): Likewise.
32625 (binaries-static-notests): Likewise.
32626 (binaries-static-tests): Likewise.
32627 (binaries-all): Define using $(binaries-all-notests) and
32628 $(binaries-all-tests).
32629 (binaries-static): Define using $(binaries-static-notests) and
32630 $(binaries-static-tests).
32631 (binaries-shared-tests): New variable.
32632 (binaries-shared-notests): Likewise.
32633 (binaries-shared): Remove variable.
32634 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32635 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32636 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32637 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32638 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32639 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32640 * elf/Makefile (sln-modules): New variable.
32641 (extra-objs): Add $(sln-modules:=.o).
32642 (ldconfig-modules): Add static-stubs.
32643 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32644 * elf/static-stubs.c: New file.
32645
7a845b2c
JM
32646 [BZ #14283]
32647 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32648 by 7 not 8 to examine high bit of fractional part. Use volatile
32649 variables when splitting into final array of floats if
32650 __FLT_EVAL_METHOD__ != 0.
32651 * math/libm-test.inc (cos_test): Add another test.
32652 (sin_test): Likewise.
32653 * sysdeps/i386/fpu/libm-test-ulps: Update.
32654
e2283f38
JM
32655 [BZ #14273]
32656 * math/libm-test.inc (cosh_test): Add more tests.
32657
370ca3d2
JM
32658 * version.h (RELEASE): Set to "development".
32659 (VERSION): Set to "2.16.90".
32660
ee9247c3
CD
326612012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32662
32663 * NEWS: Update copyright. Remove last-updated date.
32664 Mention math library bug fixes and timezone data changes.
32665 * README: Mention GNU/Hurd, x32, and HPPA support status.
32666
4648c381
TS
326672012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32668
32669 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32670
aac78a43
AJ
326712012-06-27 Andreas Jaeger <aj@suse.de>
32672
32673 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32674
ed3dbfad
AJ
326752012-06-25 Andreas Jaeger <aj@suse.de>
32676
32677 * sysdeps/s390/fpu/libm-test-ulps: Update.
32678
4d0ee855
AS
326792012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32680 Thomas Schwinge <thomas@codesourcery.com>
32681
32682 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32683 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32684 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32685 fanotify_mark.
32686
af1bce34
TS
326872012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32688
a9fa33ba
TS
32689 * sysdeps/mach/start.c: Remove file.
32690 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32691 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32692 * sysdeps/sh/init-first.c: Likewise.
32693
58f902b8
TS
32694 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32695 registers for frame unwinding purposes, add CFI directives.
32696 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32697 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32698 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32699 Likewise.
32700
1518f58b
TS
32701 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32702 __fortify_fail returning.
32703 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32704
db9b5059
TS
32705 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32706 sysdeps/sh/____longjmp_chk.S.
32707 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32708 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32709 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32710 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32711
967705fe
TS
32712 * sysdeps/sh/abort-instr.h: New file.
32713 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32714 process in case exit returns.
32715
a9def8c4
TS
32716 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32717 initialize the GOT register before use.
32718
2a649725
TS
32719 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32720 calculation of ARGC > 4.
32721
af1bce34
TS
32722 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32723 meaningful names to some local labels.
32724
d230f50a
KK
327252012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32726 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32727
32728 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32729 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32730 (__arch_compare_and_exchange_val_16_acq): Likewise.
32731 (__arch_compare_and_exchange_val_32_acq): Likewise.
32732 (atomic_exchange_and_add): Fix gUSA sequence.
32733 (atomic_add): Likewise.
32734 (atomic_add_negative): Likewise.
32735 (atomic_add_zero): Likewise.
32736 (atomic_bit_test_set): Likewise.
32737
0479b305
AS
327382012-06-22 Andreas Schwab <schwab@redhat.com>
32739
32740 [BZ #13579]
32741 * include/link.h (struct link_map): Add l_free_initfini.
32742 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32743 l_initfini.
32744 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32745 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32746 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32747 set.
32748
0e3933b9
CD
327492012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32750
32751 * configure.in: Use AC_LANG_SOURCE.
32752 * configure: Regenerate.
32753
4248b1b1
RM
327542012-06-22 Roland McGrath <roland@hack.frob.com>
32755
32756 * configure.in (libc_cv_localstatedir): New substituted variable.
32757 * configure: Regenerated.
32758 * config.make.in (localstatedir): New variable, substituted from
32759 libc_cv_localstatedir.
32760 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32761 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32762 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32763 * sysdeps/gnu/configure: Regenerated.
32764
006dd861
JL
327652012-06-21 Jeff Law <law@redhat.com>
32766
32767 [BZ #14277]
32768 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32769 free. Simplify list management for _LIBC case.
32770
79662d42
JM
327712012-06-21 Joseph Myers <joseph@codesourcery.com>
32772
b7abb4bf
JM
32773 [BZ #14273]
32774 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32775 Clear sign bit of 64-bit integer value before comparing against
32776 overflow value.
32777
79662d42
JM
32778 * sysdeps/mach/configure: Regenerated.
32779
1f150908
L
327802012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32781
32782 [BZ #14278]
32783 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32784
28363bbf
JL
327852012-06-21 Jeff Law <law@redhat.com>
32786
32787 [BZ #13882]
32788 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32789 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 32790 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
32791 * elf/dl-open.c (dl_open_worker): Likewise.
32792
09615db4
CD
327932012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32794
32795 * scripts/list-sources.sh: Scan PORTS for translations.
32796 * po/libc.pot: Regenerated.
32797
2174c6dd
AJ
327982012-06-21 Andreas Jaeger <aj@suse.de>
32799
32800 [BZ #12194]
32801 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32802 warning.
32803 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32804 * bits/byteswap-16.h (__bswap_16): Likewise.
32805 * bits/byteswap.h (__bswap_constant_16): Likewise.
32806
3ee947b1
L
328072012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32808
32809 [BZ #14117]
a2f34833
L
32810 * sysdeps/i386/fpu_control.h: Removed.
32811 * sysdeps/x86_64/fpu_control.h: Moved to ...
32812 * sysdeps/x86/fpu_control.h: Here.
32813
3ee947b1
L
32814 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32815 (_FPU_SETCW): Likewise.
32816
ed1825f8
L
328172012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32818
25f1282a
L
32819 [BZ #14117]
32820 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32821 * sysdeps/x86/fpu/bits/mathinline.h: This.
32822 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32823
ed1825f8
L
32824 [BZ #14050]
32825 [BZ #14117]
32826 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32827 functions if __x86_64__ is defined.
32828
36d54b74
CLT
328292012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32830
32831 * string/endian.h: Add !__ASSEMBLER__ condition for including
32832 conversion interfaces.
32833
10285c21
JM
328342012-06-15 Joseph Myers <joseph@codesourcery.com>
32835
32836 [BZ #14241]
32837 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32838 of ABS(x) in calculating zero to negative powers other than odd
32839 integers.
32840 * math/libm-test.inc (pow_test): Add more tests.
32841
06c5abbd
AJ
328422012-06-15 Andreas Jaeger <aj@suse.de>
32843
32844 * manual/contrib.texi (Contributors): Update entry of Liubov
32845 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32846 Machado Filho.
32847
a3aeac40
CH
328482012-06-15 Cyril Hrubis <metan@ucw.cz>
32849
32850 * string/string.h: Add __wur to GNU version of strerror_r.
32851
49bdf4c1
L
328522012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32853
32854 [BZ #14229]
32855 * string/Makefile (tests): Add tst-strtok_r.
32856 * string/tst-strtok_r.c: New file.
32857 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32858 RAX_LP/RDX_LP on SAVE_PTR.
32859
834f9b8d
RM
328602012-06-14 Roland McGrath <roland@hack.frob.com>
32861
32862 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32863
75fa1921
JM
328642012-06-14 Joseph Myers <joseph@codesourcery.com>
32865
32866 * libm_test.inc (csqrt_test): Allow more spurious underflow
32867 exceptions.
32868 (j0_test): Likewise.
32869 (j1_test): Likewise.
32870 (y0_test): Likewise.
32871 (y1_test): Likewise.
32872
771766df
CD
328732012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32874
32875 * po/Makefile (libc.pot): Use UTF-8 charset.
32876
ceb9e56b
PP
328772012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32878
32879 [BZ #14210]
32880 Suppress sign-conversion warning from FD_SET.
32881 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32882 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32883 not unsigned long int.
32884 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32885
ddb28975
L
328862012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32887
32888 [BZ #14050]
32889 [BZ #14117]
32890 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32891 __extern_always_inline instead of __extern_inline.
32892 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32893 (__signbit): Likewise.
32894 (__signbitl): Support C++ namespace.
32895 (lrintf): New inline function.
32896 (lrint): Likewise.
32897 (llrintf): Likewise.
32898 (llrint): Likewise.
32899 (fmaxf): Likewise.
32900 (fmax): Likewise.
32901 (fminf): Likewise.
32902 (fmin): Likewise.
32903 (rint): Likewise.
32904 (rintf): Likewise.
32905 (ceil): Likewise.
32906 (ceilf): Likewise.
32907 (floor): Likewise.
32908 (floorf): Likewise.
32909 (nearbyint): Likewise.
32910 (nearbyintf): Likewise.
32911
d7b4fb26
TS
329122012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32913
32914 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32915 non-default versions.
32916
eb55f5c2
RM
329172012-06-11 Roland McGrath <roland@hack.frob.com>
32918
32919 [BZ #14218]
32920 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32921
366af02c
TS
329222012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32923
99ff6e5c
TS
32924 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32925 (FE_UPWARD, FE_DOWNWARD): Don't define.
32926 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32927 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32928
366af02c
TS
32929 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32930 reading it.
32931 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32932 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32933
793ea851
KK
329342012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32935
32936 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32937 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32938 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32939 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32940
a728a38f
L
329412012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32942
32943 [BZ #14117]
c08010c7
L
32944 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32945 * sysdeps/i386/fpu/Implies: New file.
32946 * sysdeps/x86_64/fpu/Implies: Likewise.
32947 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32948 * sysdeps/x86/fpu/bits/fenv.h: This.
32949
a728a38f
L
32950 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32951 __SSE_MATH__.
32952
6e230d11
SP
329532012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32954
32955 [BZ #14134]
32956 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32957 character 0xffff that matches the last element of the
32958 conversion table.
32959
1b671feb
AZ
329602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32961
32962 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32963 fmodl commit.
32964
6043738b
AZ
329652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32966
32967 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32968 values higher than 25.6283.
32969
34ae0b32
AZ
329702012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32971
32972 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32973 subnormal exponent extraction and add some __builtin_expect.
32974 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32975 Fix for subnormal mantissa calculation.
32976
1214ec8f
MF
329772012-06-04 Mike Frysinger <vapier@gentoo.org>
32978
32979 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32980 cpu2 is -1 and errno is not ENOSYS.
32981
f3d1f93c
L
329822012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32983
32984 [BZ #14117]
0e4a3cd7
L
32985 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32986 * sysdeps/x86/bits/string.h: This.
32987 * sysdeps/x86_64/bits/string.h: Removed.
32988
6704c645
L
32989 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32990 if not compiling for x86-64, but compiling for >= i486.
32991
48495318
L
32992 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32993 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32994
14adcbfc
L
32995 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32996 New macro from Linux kernel 3.4.0.
32997 (FP_XSTATE_MAGIC2): Likewise.
32998 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32999 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33000 (struct _fpx_sw_bytes): New struct.
33001 (struct _xsave_hdr): Likewise.
33002 (struct _ymmh_state): Likewise.
33003 (struct _xstate): Likewise.
33004
68e408ab
L
33005 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33006 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33007 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33008 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33009 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33010 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33011
f3d1f93c
L
33012 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33013 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33014 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33015 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33016 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33017 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33018
d9dc34cd
TMQMF
330192012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33020
33021 [BZ #13743]
33022 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33023 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33024 (sysdep_headers): Include sys/platform/ppc.h.
33025 * sysdeps/powerpc/test-gettimebase.c: Test for
33026 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33027 * manual/Makefile (appendices): Include platform.texi.
33028 * manual/contrib.texi (Contributors): Update @node pointers.
33029 * manual/maint.texi (Maintenance): Likewise.
33030 (Platform): New node.
33031 * manual/platform.texi: New file. Document the new features.
33032
4af3879c
SP
330332012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33034 Jakub Jelinek <jakub@redhat.com>
33035
33036 [BZ #14188]
33037 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33038 where __builtin_expect is unavailable.
33039
2fd6ff13
DM
330402012-06-03 David S. Miller <davem@davemloft.net>
33041
33042 * stdlib/longlong.h: Updated from GCC.
33043
173f7220
AS
330442012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33045
33046 [BZ #14042]
33047 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33048 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33049 __mcount_internal.
33050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33051 (GLIBC_2.16): Likewise.
33052
f34a1c6f
L
330532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33054
33055 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33056
88a4576f
JM
330572012-06-01 Joseph Myers <joseph@codesourcery.com>
33058
ea32bcdd
JM
33059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33060 (default-abi): New variable.
33061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33062 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33063 variable.
33064 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33065 Likewise.
33066 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33067 Likewise.
33068 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33069 Likewise.
33070
88a4576f
JM
33071 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33072 definition. Document in comment.
33073
402fe938
DM
330742012-06-01 David S. Miller <davem@davemloft.net>
33075
33076 * stdlib/longlong.h: Updated from GCC.
33077
3553723f
L
330782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33079
33080 [BZ #14117]
3bd872c4
L
33081 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33082 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33083 sys/debugreg.h sys/io.h here.
33084 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33085 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33086 sys/io.h.
33087 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33088 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33089 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33090 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33091 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33092 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33093
3553723f
L
33094 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33095 Define only if __x86_64__ is defined.
33096
4842e4fe
JM
330972012-06-01 Joseph Myers <joseph@codesourcery.com>
33098
c5bfe3d5
JM
33099 [BZ #14048]
33100 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33101 Use int64_t for variable i.
33102 * math/libm-test.inc (fmod_test): Add more tests.
33103
4842e4fe
JM
33104 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33105 z computation is not scheduled after fetestexcept.
33106 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33107 Use math_force_eval instead of asm to ensure calculation scheduled
33108 before exception test.
33109 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33110 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33111
efb73488
AJ
331122012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33113
33114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33115 computation is not scheduled after fetestexcept.
33116
29bcce7c
L
331172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33118
33119 [BZ #14117]
33120 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33121 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33122
73a68f94
AZ
331232012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33124
33125 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33126 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33127
67b6df78
L
331282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33129
edf2933a 33130 [BZ #14117]
ebc64a18
L
33131 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33132 <bits/wordsize.h>.
33133 (__WCHAR_MIN): Support __WORDSIZE == 64.
33134 (__WCHAR_MAX): Likewise.
33135
edf2933a
L
33136 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33137 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33138
57c6cf40
L
33139 [BZ #14183]
33140 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33141 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33142
67b6df78 33143 [BZ #14117]
8eb6281e
L
33144 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33145 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33146
aac639f4
L
33147 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33148 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33149
67b6df78
L
33150 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33151 Defined to 1 if __x86_64__ isn't defined.
33152 (_STAT_VER_LINUX_OLD): New.
33153 (st_atime): Remove duplicate.
33154 (st_mtime): Likewise.
33155 (st_ctime): Likewise.
33156
1c2cfe81
DM
331572012-05-31 David S. Miller <davem@davemloft.net>
33158
33159 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33160 entries.
33161
5be8418c
AS
331622012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33163
e7725326
AS
33164 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33165 gen-libm-test.pl.
33166
5be8418c
AS
33167 [BZ #14132]
33168 * elf/dl-reloc.c: Include <_itoa.h>.
33169 (_dl_reloc_bad_type): Remove use of INTUSE.
33170 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33171 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33172 * stdio-common/psiginfo.c (psiginfo): Likewise.
33173 * stdio-common/psignal.c (psignal): Likewise.
33174 * string/strsignal.c (strsignal): Likewise.
33175 * include/signal.h (_sys_siglist): Declare hidden proto.
33176 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33177 INTVARDEF with libc_hidden_data_def.
33178 * stdio-common/itoa-udigits.c: Likewise.
33179 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33180 (_itoa_lower_digits_internal): Remove declaration.
33181 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33182 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33183 (_sys_sigabbrev_internal): Remove aliases.
33184 (_sys_siglist): Define hidden alias.
33185
507352f1
MT
331862012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33187
33188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33189 bits/sysctl.h.
33190
42bbb1c3
L
331912012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33192
33193 [BZ #14117]
6bd784b6
L
33194 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33195 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33196
8bca20f0
L
33197 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33198 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33199 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33200 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33201 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33202 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33203
f9e890a9
L
33204 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33205 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33206 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33207
471101a1
L
33208 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33209 with __addr.
33210 (insw): Likewise.
33211 (insl): Likewise.
33212 (outsb): Likewise.
33213 (outsw): Likewise.
33214 (outsl): Likewise.
33215
6451c862
L
33216 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33217 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33218 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33219
a254b8c9
L
33220 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33221 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33222 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33223 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33224 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33225 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33226
b8dfdd92
L
33227 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33228 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33229
578cd270
L
33230 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33231 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33232
de662f5f
L
33233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33234 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33235 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33236
25653439
L
33237 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33238 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33239 to ...
33240 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33241
6bad24a0
L
33242 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33243 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33244 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33245
42bbb1c3
L
33246 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33247 for x86-64.
33248 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33249
2d10d547
JM
332502012-05-31 Joseph Myers <joseph@codesourcery.com>
33251
33252 * math/math.h (M_El): Use two more decimal places.
33253 (M_LOG2El): Likewise.
33254 (M_LOG10El): Likewise.
33255 (M_LN2l): Likewise.
33256 (M_LN10l): Likewise.
33257 (M_PIl): Likewise.
33258 (M_PI_2l): Likewise.
33259 (M_PI_4l): Likewise.
33260 (M_1_PIl): Likewise.
33261 (M_2_PIl): Likewise.
33262 (M_2_SQRTPIl): Likewise.
33263 (M_SQRT2l): Likewise.
33264 (M_SQRT1_2l): Likewise.
33265
f230c29b
DM
332662012-05-31 David S. Miller <davem@davemloft.net>
33267
33268 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33269 values between float registers.
33270 * sysdeps/sparc/sparc64/memset.S: Likewise.
33271 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33272
fed806c3
MF
332732012-05-31 Mike Frysinger <vapier@gentoo.org>
33274
33275 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33276 -D_FORTIFY_SOURCE=1.
33277 (CPPFLAGS-tst-longjmp_chk.c): Define.
33278 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33279 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33280 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33281 CFLAGS-tst-wchar-h.c.
33282
30917259
MP
332832012-05-31 Marek Polacek <polacek@redhat.com>
33284
33285 [BZ #14132]
33286 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33287 __endmntent_internal): Remove declaration.
33288 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33289 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33290 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33291
1c58d5dc
DM
332922012-05-30 David S. Miller <davem@davemloft.net>
33293
33294 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33295 (___Q_simulate_exceptions): Use real FP ops rather than writing
33296 into the %fsr.
33297 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33298 Likewise.
33299
7dc00e0d
L
333002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33301
33302 [BZ #14117]
0bd53985
L
33303 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33304 * sysdeps/x86/bits/xtitypes.h: This.
33305
3a257e66
L
33306 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33307 * sysdeps/x86/bits/wordsize.h: This.
33308
62f62904
L
33309 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33310 * sysdeps/x86/bits/huge_vall.h: This.
33311
404fe9d9
L
33312 * sysdeps/i386/bits/select.h: Removed.
33313 * sysdeps/x86_64/bits/select.h: Renamed to ...
33314 * sysdeps/x86/bits/select.h: This.
33315
d48d0446
L
33316 * sysdeps/i386/bits/setjmp.h: Removed.
33317 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33318 * sysdeps/x86/bits/setjmp.h: This.
33319
7dc00e0d
L
33320 * sysdeps/i386/bits/mathdef.h: Removed.
33321 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33322 * sysdeps/x86/bits/mathdef.h: This.
33323
03277f8f
AS
333242012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33325
33326 [BZ #14132]
33327 * include/sys/socket.h (__connect_internal)
33328 (__libc_sa_len_internal): Remove declaration.
33329 (__connect, __libc_sa_len): Declare hidden_proto.
33330 (SA_LEN): Remove use of INTUSE.
33331 * socket/connect.c: Add libc_hidden_def.
33332 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33333 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33334 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33335 alias.
33336 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33337 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33338 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33339 of adding _internal alias.
33340
13764867
L
333412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33342
33343 [BZ #14117]
6bd97696
L
33344 * sysdeps/i386/bits/link.h: Removed.
33345 * sysdeps/i386/bits/linkmap.h: Likewise.
33346 * sysdeps/x86_64/bits/link.h: Renamed to ...
33347 * sysdeps/x86/bits/link.h: This.
33348 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33349 * sysdeps/x86/bits/linkmap.h: This.
33350
f726f0bb
L
33351 * sysdeps/i386/bits/endian.h: Removed.
33352 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33353 * sysdeps/x86/bits/endian.h: This.
33354
13764867
L
33355 * sysdeps/i386/bits/byteswap.h: Removed.
33356 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33357 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33358 * sysdeps/x86/bits/byteswap.h: This.
33359 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33360 * sysdeps/x86/bits/byteswap-16.h: This.
33361 * sysdeps/i386/Implies: Add x86.
33362 * sysdeps/x86_64/Implies: Likewise.
33363
ae251b0b
DM
333642012-05-30 David S. Miller <davem@davemloft.net>
33365
33366 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33367 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33368 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33369 (FP_TRAPPING_EXCEPTIONS): Define.
33370 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33371 (FP_TRAPPING_EXCEPTIONS): Define.
33372 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33373 subnormals only when inexact has been signalled or underflow
33374 exceptions are enabled.
33375 (_FP_PACK_CANONICAL): Likewise.
33376
d5c90867
L
333772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33378
33379 [BZ #14183]
33380 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33381 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33382
63f1549e
RH
333832012-05-30 Richard Henderson <rth@twiddle.net>
33384
8d8f2279
RH
33385 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33386 with #ifndef NOT_IN_libc.
33387
63f1549e
RH
33388 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33389 marked to avoid plt entry.
33390
0ab0291b
L
333912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33392
33393 [BZ #14112]
33394 * Makeconfig (default-abi): New macro.
33395 (abi-includes): Likewise.
33396 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33397 $(abi-$(default-abi)-lib-soname) for soname if defined.
33398 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33399 abi-variants.
33400 * Makefile (installed-stubs): Likewise.
33401 * include/stubs-biarch.h: Removed.
33402 * scripts/lib-names.awk: Only handle one library at a time.
33403 * scripts/soversions.awk: Remove WORDSIZE support.
33404 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33405 entries.
33406 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33407 Removed.
33408 (syscall-list-default-condition): Likewise.
33409 (syscall-list-default-condition): Likewise.
33410 (syscall-list-includes): Likewise.
33411 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33412 syscall-list-* with abi-*. Handle undefined abi-variants.
33413 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33414 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33415 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33416 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33417 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33418 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33419 Removed.
33420 (syscall-list-32-options): Likewise.
33421 (syscall-list-32-condition): Likewise.
33422 (syscall-list-64-options): Likewise.
33423 (syscall-list-64-condition): Likewise.
33424 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33425 macro.
33426 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33427 Renamed to ...
33428 (abi-*): This.
33429 (abi-64-ld-soname): New macro.
33430 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33431 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33432 Renamed to ...
33433 (abi-*): This.
33434 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33435 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33436
4da0431d
JM
334372012-05-30 Joseph Myers <joseph@codesourcery.com>
33438
3a85279c
JM
33439 * sysdeps/unix/sysv/linux/kernel-features.h
33440 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33441 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33442 include <kernel-features.h>.
33443 [!__NR_ftruncate64]: Remove conditional code.
33444 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33445 [__NR_ftruncate64]: Make code unconditional.
33446 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33447 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33448 include <kernel-features.h>.
33449 [!__NR_ftruncate64]: Remove conditional code.
33450 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33451 [__NR_ftruncate64]: Make code unconditional.
33452 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33454 include <kernel-features.h>.
33455 [!__NR_ftruncate64]: Remove conditional code.
33456 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33457 [__NR_ftruncate64]: Make code unconditional.
33458 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33460 include <kernel-features.h>.
33461 [!__NR_ftruncate64]: Remove conditional code.
33462 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33463 [__NR_ftruncate64]: Make code unconditional.
33464 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33465
4da0431d
JM
33466 * configure.in (libc_cv_fpie): Weaken to a compile test using
33467 LIBC_TRY_CC_OPTION.
33468 * configure: Regenerated.
33469
11ef492c
AK
334702012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33471
33472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33476 Refreshed.
33477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33483 Refreshed.
33484
d66ef399
DM
334852012-05-27 David S. Miller <davem@davemloft.net>
33486
33487 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33488 (___Q_zero): New.
33489 (__Q_simulate_exceptions): Return void. Change to simulate
33490 exceptions by writing into the %fsr.
33491 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33492 (__Qp_handle_exceptions): Likewise.
33493 (numbers): Delete.
33494 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33495 __Qp_handle_exceptions.
33496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33497 __Qp_handle_exceptions.
33498 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33499 as unused and give dummy FP_RND_NEAREST initializer.
33500 (FP_INHIBIT_RESULTS): Define.
33501 (___Q_simulate_exceptions): Update declaration.
33502 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33503 formatting.
33504 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33505 as unused and give dummy FP_RND_NEAREST initializer.
33506 (__Qp_handle_exceptions): Update declaration.
33507 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33508 formatting.
33509
04fb54b5
TS
335102012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33511
33512 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33513 the temporary FPU control word.
33514 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33515 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33516 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33517 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33518 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33519 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33520 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33521 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33522 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33523 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33524 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33525
3f99608f
KK
335262012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33527
33528 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33529 fields.
33530
65a4de4e
CLT
335312012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33532
33533 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33534 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33535 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33536 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33537 Likewise.
33538 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33539 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33540 Likewise.
33541
15749d40
UD
335422012-05-27 Ulrich Drepper <drepper@gmail.com>
33543
33544 * po/h.po: Update from translation team.
33545
25dbcb27
AS
335462012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33547
3d3f8e55
AS
33548 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33549
25dbcb27
AS
33550 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33551 handling of denormals.
33552 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33553 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33554 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33555 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33556 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33557 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33558 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33559 Likewise.
33560
7ad47a80 335612012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
33562
33563 [BZ #14152]
33564 * math/libm-test.inc (fma_test): Don't always expect underflow
33565 exception.
33566
9c6ea9fa
SP
335672012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33568
33569 [BZ #12416]
33570 * elf/tst-execstack.c: Include stackinfo.h.
33571 (do_test): Adjust test case to ensure that pthread_getattr_np
33572 behaviour remains the same after marking stack executable.
33573
a8239222
JM
335742012-05-25 Joseph Myers <joseph@codesourcery.com>
33575
33576 * sysdeps/unix/sysv/linux/kernel-features.h
33577 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33578 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33579 kernel-features.h.
33580 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33581 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33582 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33583 kernel-features.h.
33584 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33585 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33586
918b5606
L
335872012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33588
33589 * configure.in: Define the default includes to being none.
33590 * configure: Regenerated.
33591
3a097cc7
RM
335922012-05-25 Roland McGrath <roland@hack.frob.com>
33593
8422c9a5
RM
33594 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33595 * sysdeps/x86_64/setjmp.S: Likewise.
33596 * sysdeps/i386/bsd-setjmp.S: Likewise.
33597 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33598 * sysdeps/i386/setjmp.S: Likewise.
33599 * sysdeps/i386/__longjmp.S: Likewise.
33600 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33601 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33602
3a097cc7
RM
33603 * include/stap-probe.h: New file.
33604 * configure.in: Handle --enable-systemtap.
33605 * configure: Regenerated.
33606 * config.h.in (USE_STAP_PROBE): New #undef.
33607 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33608 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33609 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33610
21708942
JM
336112012-05-25 Joseph Myers <joseph@codesourcery.com>
33612
33613 [BZ #13717]
33614 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33615 to 2.4.0 where earlier.
33616 * sysdeps/unix/sysv/linux/configure: Regenerated.
33617 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33618 <kernel-features.h>.
33619 [__ASSUME_32BITUIDS]: Make code unconditional.
33620 [!__ASSUME_32BITUIDS]: Remove conditional code.
33621 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33622 <kernel-features.h>.
33623 [__ASSUME_32BITUIDS]: Make code unconditional.
33624 [!__ASSUME_32BITUIDS]: Remove conditional code.
33625 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33626 [__ASSUME_32BITUIDS]: Make code unconditional.
33627 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33628 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33629 <kernel-features.h>.
33630 [__ASSUME_32BITUIDS]: Make code unconditional.
33631 [!__ASSUME_32BITUIDS]: Remove conditional code.
33632 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33633 <kernel-features.h>.
33634 [__ASSUME_32BITUIDS]: Make code unconditional.
33635 [!__ASSUME_32BITUIDS]: Remove conditional code.
33636 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33637 <kernel-features.h>.
33638 [__ASSUME_32BITUIDS]: Make code unconditional.
33639 [!__ASSUME_32BITUIDS]: Remove conditional code.
33640 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33641 <kernel-features.h>.
33642 [__ASSUME_32BITUIDS]: Make code unconditional.
33643 [!__ASSUME_32BITUIDS]: Remove conditional code.
33644 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33645 <kernel-features.h>.
33646 [__ASSUME_32BITUIDS]: Make code unconditional.
33647 [!__ASSUME_32BITUIDS]: Remove conditional code.
33648 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33649 <kernel-features.h>.
33650 [__ASSUME_32BITUIDS]: Make code unconditional.
33651 [!__ASSUME_32BITUIDS]: Remove conditional code.
33652 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33653 <kernel-features.h>.
33654 [__ASSUME_32BITUIDS]: Make code unconditional.
33655 [!__ASSUME_32BITUIDS]: Remove conditional code.
33656 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33657 <kernel-features.h>.
33658 [__ASSUME_32BITUIDS]: Make code unconditional.
33659 [!__ASSUME_32BITUIDS]: Remove conditional code.
33660 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33661 <kernel-features.h>.
33662 [__ASSUME_32BITUIDS]: Make code unconditional.
33663 [!__ASSUME_32BITUIDS]: Remove conditional code.
33664 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33665 <kernel-features.h>.
33666 [__ASSUME_32BITUIDS]: Make code unconditional.
33667 [!__ASSUME_32BITUIDS]: Remove conditional code.
33668 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33669 <kernel-features.h>.
33670 [__NR_setresgid] (__setresgid): Do not declare.
33671 [__ASSUME_32BITUIDS]: Make code unconditional.
33672 [!__ASSUME_32BITUIDS]: Remove conditional code.
33673 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33674 <kernel-features.h>.
33675 [__NR_setresuid] (__setresuid): Do not declare.
33676 [__ASSUME_32BITUIDS]: Make code unconditional.
33677 [!__ASSUME_32BITUIDS]: Remove conditional code.
33678 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33679 <kernel-features.h>.
33680 [__ASSUME_32BITUIDS]: Make code unconditional.
33681 [!__ASSUME_32BITUIDS]: Remove conditional code.
33682 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33683 <kernel-features.h>.
33684 [__ASSUME_32BITUIDS]: Make code unconditional.
33685 [!__ASSUME_32BITUIDS]: Remove conditional code.
33686 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33687 <kernel-features.h>.
33688 [__ASSUME_32BITUIDS]: Make code unconditional.
33689 [!__ASSUME_32BITUIDS]: Remove conditional code.
33690 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33691 <kernel-features.h>.
33692 [__ASSUME_32BITUIDS]: Make code unconditional.
33693 [!__ASSUME_32BITUIDS]: Remove conditional code.
33694 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33695 <kernel-features.h>.
33696 [__ASSUME_32BITUIDS]: Make code unconditional.
33697 [!__ASSUME_32BITUIDS]: Remove conditional code.
33698 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33699 <kernel-features.h>.
33700 [__ASSUME_32BITUIDS]: Make code unconditional.
33701 [!__ASSUME_32BITUIDS]: Remove conditional code.
33702 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33703 <kernel-features.h>.
33704 [__ASSUME_32BITUIDS]: Make code unconditional.
33705 [!__ASSUME_32BITUIDS]: Remove conditional code.
33706 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33707 <kernel-features.h>.
33708 [__ASSUME_32BITUIDS]: Make code unconditional.
33709 [!__ASSUME_32BITUIDS]: Remove conditional code.
33710 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33711 <kernel-features.h>.
33712 [__ASSUME_32BITUIDS]: Make code unconditional.
33713 [!__ASSUME_32BITUIDS]: Remove conditional code.
33714 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33715 <kernel-features.h>.
33716 [__ASSUME_32BITUIDS]: Make code unconditional.
33717 [!__ASSUME_32BITUIDS]: Remove conditional code.
33718 * sysdeps/unix/sysv/linux/kernel-features.h
33719 (__ASSUME_SETRESUID_SYSCALL): Remove.
33720 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33721 (__ASSUME_32BITUIDS): Likewise.
33722 (__ASSUME_LDT_WORKS): Likewise.
33723 (__ASSUME_O_DIRECTORY): Likewise.
33724 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33725 architecture but not kernel version.
33726 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33727 (__ASSUME_MMAP2_SYSCALL): Likewise.
33728 (__ASSUME_STAT64_SYSCALL): Likewise.
33729 (__ASSUME_IPC64): Likewise.
33730 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33731 <kernel-features.h>.
33732 [__ASSUME_32BITUIDS]: Make code unconditional.
33733 [!__ASSUME_32BITUIDS]: Remove conditional code.
33734 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33735 <kernel-features.h>.
33736 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33737 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33738 132096]: Remove conditional code.
33739 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33740 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33741 <kernel-features.h>.
33742 [__ASSUME_32BITUIDS]: Make code unconditional.
33743 [!__ASSUME_32BITUIDS]: Remove conditional code.
33744 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33745 <kernel-features.h>.
33746 [__ASSUME_32BITUIDS]: Make code unconditional.
33747 [!__ASSUME_32BITUIDS]: Remove conditional code.
33748 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33749 <kernel-features.h>.
33750 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33751 unconditional.
33752 (__setresgid): Do not declare.
33753 [__ASSUME_32BITUIDS]: Make code unconditional.
33754 [!__ASSUME_32BITUIDS]: Remove conditional code.
33755 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33756 <kernel-features.h>.
33757 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33758 unconditional.
33759 (__setresuid): Do not declare.
33760 [__ASSUME_32BITUIDS]: Make code unconditional.
33761 [!__ASSUME_32BITUIDS]: Remove conditional code.
33762 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33763 <kernel-features.h>.
33764 [__ASSUME_32BITUIDS]: Make code unconditional.
33765 [!__ASSUME_32BITUIDS]: Remove conditional code.
33766 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33767 <kernel-features.h>.
33768 [__ASSUME_32BITUIDS]: Make code unconditional.
33769 [!__ASSUME_32BITUIDS]: Remove conditional code.
33770
a386f1cc
RH
337712012-05-25 Richard Henderson <rth@twiddle.net>
33772
33773 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33774 dl_hwcap to ifunc resolver.
33775 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33776 elf_ifunc_invoke.
33777 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33778 dl_hwcap to ifunc resolver.
33779 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33780
b6550497
JM
337812012-05-24 Joseph Myers <joseph@codesourcery.com>
33782
33783 [BZ #14153]
33784 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33785 for |x| <= 2**-26, not 2**-57.
33786 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33787 exception.
33788
b0bc23a1
JL
337892012-05-24 Jeff Law <law@redhat.com>
33790
33791 * stdio-common/Makefile (tests): Add bug25.
33792 * stdio-common/bug25.c: New test.
33793
347c92e9
L
337942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33795
33796 [BZ #13576]
33797 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33798 multiple of MALLOC_ALIGNMENT in size.
33799 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33800
6bcc8b3f
JM
338012012-05-24 Joseph Myers <joseph@codesourcery.com>
33802
33803 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33804 Require >= 256.
33805 (FILENAME_MAX): Use macro-int-constant.
33806 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33807 (_IOFBF): Use macro-int-constant.
33808 (_IOLBF): Likewise.
33809 (_IONBF): Likewise.
33810 (SEEK_CUR): Likewise.
33811 (SEEK_END): Likewise.
33812 (SEEK_SET): Likewise.
33813 (TMP_MAX): Likewise.
33814 (EOF): Use macro-int-constant. Require < 0.
33815 (NULL): Use macro-constant. Require == 0.
33816 (stdin): Require type to be FILE *.
33817 (stdout): Likewise.
33818 (stderr): Likewise.
33819 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33820 macro-int-constant.
33821 (EXIT_SUCCESS): Likewise.
33822 (NULL): Use macro-constant. Require == 0.
33823 (RAND_MAX): Use macro-int-constant.
33824 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33825 [C99-based standards] (strtof): Require function.
33826 [C99-based standards] (strtold): Likewise.
33827 [C99-based standards] (strtoll): Likewise.
33828 [C99-based standards] (strtoull): Likewise.
33829 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33830 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33831 [ISO || ISO99 || ISO11] (math.h): Likewise.
33832 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33833 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33834 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33835
d18ea0c5
AS
338362012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33837
33838 [BZ #14132]
56d25bb8
AS
33839 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33840 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33841 * intl/dgettext.c (DCGETTEXT): Likewise.
33842 * intl/gettext.c (DCGETTEXT): Likewise.
33843 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33844 * posix/regex_internal.h (gettext): Likewise.
33845 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33846 Remove declaration.
33847 * include/argz.h (__argz_count_internal)
33848 (__argz_stringify_internal): Remove declaration.
33849 (__argz_count, __argz_stringify): Declare hidden proto.
33850 * intl/dcgettext.c: Remove use of INTDEF.
33851 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33852 * string/argz-stringify.c: Likewise.
33853 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33854 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33855 Declare hidden proto.
d18ea0c5
AS
33856 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33857 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33858 Declare hidden proto.
33859 * include/stdio.h (__asprintf_internal): Don't declare.
33860 (__asprintf): Don't define as macro. Declare hidden proto.
33861 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33862 (__fsetlocking): Declare hidden proto.
33863 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33864 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33865 hidden proto.
33866 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33867 (_IO_setlinebuf): Remove use of INTUSE.
33868 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33869 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33870 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33871 Remove declaration.
33872 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33873 (_IO_do_flush): Remove use of INTUSE.
33874 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33875 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33876 (_IO_adjust_column, _IO_least_wmarker)
33877 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33878 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33879 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33880 (_IO_default_doallocate, _IO_wdefault_doallocate)
33881 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33882 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33883 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33884 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33885 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33886 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33887 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33888 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33889 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33890 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33891 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33892 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33893 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33894 proto.
33895 (_IO_flush_all_internal, _IO_adjust_column_internal)
33896 (_IO_default_uflow_internal, _IO_default_finish_internal)
33897 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33898 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33899 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33900 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33901 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33902 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33903 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33904 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33905 (_IO_file_close_internal, _IO_file_close_it_internal)
33906 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33907 (_IO_file_init_internal, _IO_file_attach_internal)
33908 (_IO_file_fopen_internal, _IO_file_read_internal)
33909 (_IO_file_sync_internal, _IO_file_seek_internal)
33910 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33911 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33912 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33913 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33914 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33915 (_IO_list_all_internal, _IO_link_in_internal)
33916 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33917 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33918 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33919 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33920 (_IO_do_write_internal, _IO_padn_internal)
33921 (_IO_getline_info_internal, _IO_getline_internal)
33922 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33923 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33924 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33925 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33926 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33927 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33928 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33929 with libc_hidden_ver, remove use of INTUSE.
33930 * libio/genops.c: Likewise.
33931 * libio/freopen.c: Likewise.
33932 * libio/freopen64.c: Likewise.
33933 * libio/iofclose.c: Likewise.
33934 * libio/iofdopen.c: Likewise.
33935 * libio/iofflush.c: Likewise.
33936 * libio/iofflush_u.c: Likewise.
33937 * libio/iofgets.c: Likewise.
33938 * libio/iofgets_u.c: Likewise.
33939 * libio/iofopen.c: Likewise.
33940 * libio/iofopncook.c: Likewise.
33941 * libio/iofread.c: Likewise.
33942 * libio/iofread_u.c: Likewise.
33943 * libio/ioftell.c: Likewise.
33944 * libio/iofwrite.c: Likewise.
33945 * libio/iogetline.c: Likewise.
33946 * libio/iogets.c: Likewise.
33947 * libio/iogetwline.c: Likewise.
33948 * libio/iopadn.c: Likewise.
33949 * libio/iopopen.c: Likewise.
33950 * libio/ioseekoff.c: Likewise.
33951 * libio/ioseekpos.c: Likewise.
33952 * libio/iosetbuffer.c: Likewise.
33953 * libio/iosetvbuf.c: Likewise.
33954 * libio/ioungetc.c: Likewise.
33955 * libio/ioungetwc.c: Likewise.
33956 * libio/iovdprintf.c: Likewise.
33957 * libio/iovsprintf.c: Likewise.
33958 * libio/iovsscanf.c: Likewise.
33959 * libio/memstream.c: Likewise.
33960 * libio/obprintf.c: Likewise.
33961 * libio/oldfileops.c: Likewise.
33962 * libio/oldiofclose.c: Likewise.
33963 * libio/oldiofdopen.c: Likewise.
33964 * libio/oldiofopen.c: Likewise.
33965 * libio/oldiopopen.c: Likewise.
33966 * libio/oldstdfiles.c: Likewise.
33967 * libio/putc.c: Likewise.
33968 * libio/setbuf.c: Likewise.
33969 * libio/setlinebuf.c: Likewise.
33970 * libio/stdfiles.c: Likewise.
33971 * libio/strops.c: Likewise.
33972 * libio/vasprintf.c: Likewise.
33973 * libio/vscanf.c: Likewise.
33974 * libio/vsnprintf.c: Likewise.
33975 * libio/vswprintf.c: Likewise.
33976 * libio/wfiledoalloc.c: Likewise.
33977 * libio/wfileops.c: Likewise.
33978 * libio/wgenops.c: Likewise.
33979 * libio/wmemstream.c: Likewise.
33980 * libio/wstrops.c: Likewise.
33981 * libio/__fpurge.c: Likewise.
33982 * libio/__fsetlocking.c: Likewise.
33983 * assert/assert.c: Likewise.
33984 * debug/fgets_chk.c: Likewise.
33985 * debug/fgets_u_chk.c: Likewise.
33986 * debug/fread_chk.c: Likewise.
33987 * debug/fread_u_chk.c: Likewise.
33988 * debug/gets_chk.c: Likewise.
33989 * debug/obprintf_chk.c: Likewise.
33990 * debug/vasprintf_chk.c: Likewise.
33991 * debug/vdprintf_chk.c: Likewise.
33992 * debug/vsnprintf_chk.c: Likewise.
33993 * debug/vsprintf_chk.c: Likewise.
33994 * malloc/mtrace.c: Likewise.
33995 * misc/error.c: Likewise.
33996 * misc/syslog.c: Likewise.
33997 * stdio-common/asprintf.c: Likewise.
33998 * stdio-common/fxprintf.c: Likewise.
33999 * stdio-common/getw.c: Likewise.
34000 * stdio-common/isoc99_fscanf.c: Likewise.
34001 * stdio-common/isoc99_scanf.c: Likewise.
34002 * stdio-common/isoc99_vfscanf.c: Likewise.
34003 * stdio-common/isoc99_vscanf.c: Likewise.
34004 * stdio-common/isoc99_vsscanf.c: Likewise.
34005 * stdio-common/printf-prs.c: Likewise.
34006 * stdio-common/printf_fp.c: Likewise.
34007 * stdio-common/printf_fphex.c: Likewise.
34008 * stdio-common/printf_size.c: Likewise.
34009 * stdio-common/putw.c: Likewise.
34010 * stdio-common/scanf.c: Likewise.
34011 * stdio-common/sprintf.c: Likewise.
34012 * stdio-common/tmpfile.c: Likewise.
34013 * stdio-common/vfprintf.c: Likewise.
34014 * stdio-common/vfscanf.c: Likewise.
34015 * stdlib/strfmon_l.c: Likewise.
34016 * sunrpc/openchild.c: Likewise.
34017 * sunrpc/xdr_stdio.c: Likewise.
34018 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34019 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34020
d6c33fda
RM
340212012-05-24 Roland McGrath <roland@hack.frob.com>
34022
c1487492
RM
34023 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34024
34025 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34026 in the third column, to generate for the shared library an IFUNC
34027 that uses _dl_vdso_vsym.
34028 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34029 * Makeconfig (object-suffixes-noshared): New variable.
34030
34031 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34032 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34033 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34034 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34035
d6c33fda
RM
34036 [BZ #14132]
34037 * include/sys/time.h (__gettimeofday): Remove macro.
34038 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34039 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34040 Remove INTDEF.
34041 (__gettimeofday): Add libc_hidden_def.
34042 (gettimeofday): Add libc_hidden_weak.
34043 * sysdeps/mach/gettimeofday.c: Likewise.
34044 * sysdeps/posix/gettimeofday.c: Likewise.
34045 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34046 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34047 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34048 (__gettimeofday_internal): Remove strong_alias.
34049 (__gettimeofday): Add libc_hidden_def.
34050 (gettimeofday): Add libc_hidden_weak.
34051 * sysdeps/unix/syscalls.list (gettimeofday):
34052 Remove __gettimeofday_internal alias.
34053
b5a2bbe6
L
340542012-05-24 Daniel Jacobowitz <drow@false.org>
34055 H.J. Lu <hongjiu.lu@intel.com>
34056
34057 [BZ #12495]
34058 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34059 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34060 (largebin_index_32_big): New.
34061 (largebin_index): Use it for 16-byte alignment.
34062 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34063 correction with front_misalign.
34064
cfba4fda
L
340652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34066
7f907421
L
34067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34069 Likewise.
34070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34071 Likewise.
34072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34073 Likewise.
34074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34075 Likewise.
34076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34077 Likewise.
34078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34079 Likewise.
34080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34081 Likewise.
34082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34083 Likewise.
34084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34085 Likewise.
34086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34087 Likewise.
34088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34089 Likewise.
34090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34091 Likewise.
34092
cfba4fda
L
34093 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34094 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34095
80bad0cc
JM
340962012-05-24 Joseph Myers <joseph@codesourcery.com>
34097
7a25eb06
JM
34098 [BZ #10846]
34099 [BZ #14036]
34100 * math/libm-test.inc (exp_test): Add test from bug 14036.
34101 (pow_test): Add test from bug 10846.
34102
795405f9
JM
34103 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34104 and other flags.
34105 (special_function): Do not include flags in test name.
34106 (parse_args): Likewise.
34107 * sysdeps/i386/fpu/libm-test-ulps: Update.
34108 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34109 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34110 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34112
80bad0cc
JM
34113 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34114 exceptions.
34115 * math/libm-test.inc ("Philosophy"): Update comment about
34116 exception testing.
34117 (UNDERFLOW_EXCEPTION): New macro.
34118 (UNDERFLOW_EXCEPTION_OK): Likewise.
34119 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34120 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34121 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34122 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34123 (INVALID_EXCEPTION_OK): Update value.
34124 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34125 (OVERFLOW_EXCEPTION_OK): Likewise.
34126 (IGNORE_ZERO_INF_SIGN): Likewise.
34127 (test_exceptions): Handle underflow exceptions.
34128 (acos_test): Update for underflow exception expectations.
34129 (cexp_test): Likewise.
34130 (clog_test): Likewise.
34131 (clog10_test): Likewise.
34132 (csqrt_test): Likewise.
34133 (ctan_test): Likewise.
34134 (ctanh_test): Likewise.
34135 (exp_test): Likewise.
34136 (exp10_test): Likewise.
34137 (exp2_test): Likewise.
34138 (expm1_test): Likewise.
34139 (fma_test): Likewise.
34140 (j0_test): Likewise.
34141 (jn_test): Likewise.
34142 (nexttoward_test): Likewise.
34143 (pow_test): Likewise.
34144 (scalbn_test): Likewise.
34145 (scalbln_test): Likewise.
34146 (tan_test): Likewise.
34147 (y1_test): Likewise.
34148 * sysdeps/i386/fpu/libm-test-ulps: Update.
34149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34150
9e0e3d0b
DM
341512012-05-23 David S. Miller <davem@davemloft.net>
34152
34153 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34154 (__libc_sigaction): Remove unused local variables.
34155
ccd0a08f
L
341562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34157
34158 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34159
62bdf9a6
PE
341602012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34161
f8591f80
PE
34162 mktime: avoid signed integer overflow
34163 * time/mktime.c (__mktime_internal): Do not mishandle the case
34164 where diff == INT_MIN.
34165
94c7d826
PE
34166 mktime: simplify computation of average
34167 * time/mktime.c (ranged_convert): Use new time_t_avg function
34168 instead of rolling our own (probably-slower) code.
34169
ce73d683
PE
34170 mktime: do not assume signed right shift propagates sign bit
34171 * time/mktime.c (isdst_differ): New static function.
34172 (__mktime_internal): No need to normalize tm_isdst now.
34173 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34174 tm_isdst values.
34175
72a22e59
PE
34176 mktime: merge another wrapv change from gnulib
34177 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34178 from some compilers.
34179
68605433
PE
34180 mktime: remove incorrect attempt at unusual arithmetics
34181 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34182 The code didn't really work on such machines anyway.
34183 (TYPE_MINIMUM): Assume two's complement.
34184 (twos_complement_arithmetic): Verify that long_int and time_t
34185 are two's complement (or unsigned, in the latter case).
34186
03cf7fe3
PE
34187 mktime: check signed shifts on long_int and time_t, too
34188 * time/mktime.c (SHR): Check that shifts work as desired
34189 on the types long_int and time_t too, as SHR is used on
34190 such types.
34191
f04dfbc2
PE
34192 mktime: do not assume 'long' is wide enough
34193 * time/mktime.c (verify): Move decl up.
34194 (long_int): New type.
34195 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34196 to remove assumption in the code that 'long' is wide enough to
34197 store year values. This assumption is not true on x32 and on
34198 some non-glibc platforms.
34199
62bdf9a6
PE
34200 mktime: merge wrapv change from gnulib
34201 * time/mktime.c (WRAPV): New macro.
34202 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34203 (guess_time_tm, __mktime_internal): Do not assume that signed
34204 integer overflow wraps around; modern compilers generate code
34205 where this assumption is no longer valid.
34206
5e292e4f
L
342072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34208
34209 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34210 Replace "jmp L(pseudo_end)" with "ret".
34211 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34212 Likewise.
34213
8caf8c87
AJ
342142012-05-23 Andreas Jaeger <aj@suse.de>
34215
34216 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34217 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34218
1a09dc56
AJ
342192012-05-23 Andreas Jaeger <aj@suse.de>
34220 Maximilian Attems <max@stro.at>
34221
34222 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34223 New macros.
34224
1c87aba0
L
342252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34226
34227 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34228 code so that pseudo_end is just ret and the stack pointer is
34229 correct also for static library in error case.
34230
40e45bd5
JM
342312012-05-23 Joseph Myers <joseph@codesourcery.com>
34232
c2670533
JM
34233 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34234 move to syscalls.list.
34235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34239
40e45bd5
JM
34240 * manual/install.texi (Running make install): Do not mention Linux
34241 kernel version for which pt_chown is not needed.
34242 (Linux): Do not mention problems with nscd with 2.0 kernels.
34243 * INSTALL: Regenerated.
34244
be08eda5
AJ
342452012-05-23 Andreas Jaeger <aj@suse.de>
34246
34247 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34248 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34249 macro.
34250 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34251 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34252 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34253 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34254 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34255 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34256 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34257 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34258 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34259 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34260 * sysdeps/unix/sysv/linux/bits/in.h
34261 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34262
a6a056bb
RM
342632012-05-22 Roland McGrath <roland@hack.frob.com>
34264
34265 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34266 (PREPARE_VERSION): Just use assert instead, it will be elided
34267 under [NDEBUG] anyway.
34268
c9009328
L
342692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34270
34271 * sysdeps/unix/sysv/linux/Makefile: Include
34272 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 34273 (sysdep_routines): Remove sysctl.
c9009328
L
34274 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34275 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34276 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34277 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34278 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34279
73338355
AJ
342802012-05-22 Andreas Jaeger <aj@suse.de>
34281
34282 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34283 that pseudo_end is just ret and the stack pointer is correct also
34284 for static library in error case.
34285
d44638b0
PP
342862012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34287
34288 [BZ #14122]
34289 * nss/nsswitch.c (defconfig_entries): New variable.
34290 (__nss_database_lookup): Don't leak defconfig entries.
34291 (nss_parse_service_list): Don't leak on error paths.
34292 (free_database_entries): New function.
34293 (free_defconfig): New function.
34294 (free_mem): Move common code to free_database_entries.
34295
31a39bd8
L
342962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34297
da0331a8
L
34298 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34299 Add arch_prctl.
34300 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34301
31a39bd8
L
34302 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34303 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34305 New macro.
34306 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34307 (INTERNAL_SYSCALL_TYPES): Likewise.
34308 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34309 (LOAD_REGS_TYPES_[1-6]): Likewise.
34310 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34311 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34312
45470df3
AZ
343132012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34314
34315 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34316 copysignl for GLIBC_2_0.
34317 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34318 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34319 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34320 logbl for GLIBC_2_0.
34321 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34322 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34323
98a61bcb
L
343242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34325
a4f6e481
L
34326 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34327 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34328
f63d5db6
L
34329 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34330 Use "neg %eax".
34331
98a61bcb
L
34332 * time/mktime.c: Update copyright years.
34333
95770f14
PE
343342012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34335
6226efbd
PE
34336 mktime: merge comment-quoting-style change from gnulib
34337 * time/mktime.c: Quote 'like this' in comments.
34338 The GNU coding standards suggest that we no longer quote `like this',
34339 as "`" and "'" are typically rendered asymmetrically nowadays.
34340 The typical gnulib style is to quote 'like this' when quoting
34341 code, and "like this" when quoting English.
34342
b99e4f78
PE
34343 * time/mktime.c (compile-command): Add "-I.".
34344
643e01e6
PE
34345 mktime: merge mktime-internal.h change from gnulib
34346 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34347
2554247d
PE
34348 mktime: merge time_r change from gnulib
34349 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34350
826dd0ab
PE
34351 mktime: merge DEBUG change from gnulib
34352 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34353 case system <time.h> has a #define.
34354
bd83aabe
PE
34355 mktime: merge <sys/types.h> change from gnulib
34356 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34357 since <time.t> is now guaranteed to define time_t.
34358
95770f14
PE
34359 mktime: merge HAVE_CONFIG_H change from gnulib
34360 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34361
5e1a27a9
L
343622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34363
0e44a77e
L
34364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34365 Use "neg %eax".
34366
5e1a27a9
L
34367 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34368 __rlim_t cast.
34369 (struct rusage): Use anonymous union to pad each field to
34370 __syscall_slong_t.
34371
46259bec
DM
343722012-05-21 David S. Miller <davem@davemloft.net>
34373
34374 * Makefules (o-iterator): Remove .s cases.
34375 (compile-command.s): Delete.
34376 (COMPILE.s): Delete.
34377 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34378
59f0c22e
JM
343792012-05-21 Joseph Myers <joseph@codesourcery.com>
34380
34381 * configure.in (libc_cv_predef_stack_protector): Only consider
34382 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34383 * configure: Regenerated.
34384
20c07380
L
343852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34386
bbb3154b
L
34387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34388 New macro. Use R*LP on int and pointer.
34389 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34390 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34391 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34392 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34393
20c07380
L
34394 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34395 [__WORDSIZE_TIME64_COMPAT32] instead of
34396 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34397 (struct utmp): Likewise.
34398 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34399 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34400 Renamed to ...
34401 (__WORDSIZE_TIME64_COMPAT32): This.
34402 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34403 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34404 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34405 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34406 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34407 (__WORDSIZE_TIME64_COMPAT32): New macro.
34408
d8d1017e
AJ
344092012-05-21 Andreas Jaeger <aj@suse.de>
34410
34411 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34412 only if [SHARED]. Add prototype for __wcschr_ia32.
34413
6c7fb145
RM
344142012-05-21 Roland McGrath <roland@hack.frob.com>
34415
34416 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34417 of %rbp unmolested in the jmp_buf while mangling the low bits.
34418 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34419 unmolested high bits of %rbp while demangling the low bits.
34420 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34421
66274218
AJ
344222012-05-21 Andreas Jaeger <aj@suse.de>
34423
07c58f8f
AJ
34424 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34425 * sunrpc/svc_simple.c: Use it for registerrpc.
34426 * sunrpc/xcrypt.c: Use it for passwd2des.
34427
66274218
AJ
34428 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34429
61f65140
L
344302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34431
34432 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34433 Don't define if [__SYSCALL_WORDSIZE != 32].
34434 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34435 New macro.
34436
5fefb436
AJ
344372012-05-21 Bruno Haible <bruno@clisp.org>
34438 Andreas Jaeger <aj@suse.de>
34439
34440 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34441 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34442 inptr and inend for must_buffer_ch.
34443 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34444 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34445 * stdio-common/Makefile (tests): Remove bug15.
34446 (bug15-ENV): Remove macro.
34447 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34448 anymore.
34449
d8e272ab
AJ
344502012-05-19 Andreas Jaeger <aj@suse.de>
34451 Roland McGrath <roland@hack.frob.com>
34452
34453 * manual/contrib.texi: Completely rewritten. It contains now an
34454 alphabetical list of contributors and their contributions.
34455
4a56a162
RH
344562012-05-21 Richard Henderson <rth@twiddle.net>
34457
34458 * misc/getauxval.c (__getauxval): Use unsigned long int.
34459 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34460 (getauxval): Use unsigned long int.
34461
d024d23c
L
344622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34463
34464 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34465
cbc00a03
RM
344662012-05-21 Roland McGrath <roland@hack.frob.com>
34467
34468 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34469 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34470 __alignof__ (long double).
34471
478143fa
AZ
344722012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34473
34474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34475
c7683a6d
RH
344762012-05-20 Richard Henderson <rth@twiddle.net>
34477
34478 * misc/getauxval.c: New file.
34479 * misc/sys/auxv.h: New file.
34480 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34481 (routines): Add getauxval.
34482 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34483 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34484 * elf/dl-sysdep.c (_dl_auxv): Remove.
34485 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34486 * elf/dl-support.c (_dl_auxv): New variable.
34487 (_dl_aux_init): Initialize it.
34488 * manual/startup.texi (Auxiliary Vector): New node.
34489 * sysdeps/generic/bits/hwcap.h: New file.
34490 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34491 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34492 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34493 * sysdeps/sparc/sysdep.h: ... here. Include it.
34494 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34495 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34497 Update.
c7683a6d
RH
34498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34501 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34506
a6f1845d
AZ
345072012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34508
34509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34510
cbcbe830
DM
345112012-05-19 David S. Miller <davem@davemloft.net>
34512
34513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34514
e0b16cc2
JM
345152012-05-19 Joseph Myers <joseph@codesourcery.com>
34516
34517 [BZ #14123]
34518 * math/s_ccosh.c: Include <float.h>
34519 (__ccosh): Avoid internal overflow calculating sinh and cosh
34520 values before multiplying by sin and cos values.
34521 * math/s_ccoshf.c: Likewise.
34522 * math/s_ccoshl.c: Likewise.
34523 * math/s_csin.c: Likewise.
34524 * math/s_csinf.c: Likewise.
34525 * math/s_csinl.c: Likewise.
34526 * math/s_csinh.c: Likewise.
34527 * math/s_csinhf.c: Likewise.
34528 * math/s_csinhl.c: Likewise.
34529 * math/libm-test.inc (ccos_test): Add more tests.
34530 (ccosh_test): Likewise.
34531 (csin_test): Likewise.
34532 (csinh_test): Likewise.
34533 * sysdeps/i386/fpu/libm-test-ulps: Update.
34534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34535
6ad13e08
L
345362012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34537
f66f0ce8
L
34538 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34539 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34540
6ad13e08
L
34541 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34542
b1d072a7
JM
345432012-05-19 Joseph Myers <joseph@codesourcery.com>
34544
34545 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34546 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34547 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34548 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34549 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34550 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34551 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34552 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34553 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34554 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34555 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34556 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34557 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34558 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34559 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34560 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34561 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34562 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34563 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34564 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34565 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34566 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34567 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34568 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34569 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34570 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34571 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34572 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34573 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34574 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34575 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34576
9eae47cb
AJ
345772012-05-18 Andreas Jaeger <aj@suse.de>
34578
34579 * csu/.gitignore: Delete.
34580
bb07f69f
L
345812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34582
34583 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34584 (timex): Use __syscall_slong_t.
34585
e6bdb741
AJ
345862012-05-18 Andreas Jaeger <aj@suse.de>
34587 Carlos O'Donell <carlos_odonell@mentor.com>
34588
34589 * manual/install.texi (Configuring and compiling): Update
34590 description about files modified in the source directory.
d6c33fda 34591 * INSTALL: Regenerated.
e6bdb741 34592
1b74487e
L
345932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34594
34595 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34596 value. Use "or" to set return value to -1.
34597 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34598 negate return value.
34599
a88b64b9
TMQMF
346002012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34601
57f41c40
AS
34602 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34603 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
34604 failure if the compiler has Graphite support disabled.
34605 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34606 Likewise.
57f41c40
AS
34607 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34608 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
34609 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34610 Likewise.
34611
3707636e
L
346122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34613
610b8622
L
34614 * sysdeps/x86_64/x32/_itoa.h: New file.
34615
7cd195df
L
34616 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34617 getdents system call only if kernel and user dirents have the
34618 same d_ino and d_off.
34619
94b07d20
L
34620 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34621 LLONG_MAX != LONG_MAX.
34622 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34623 (_fitoa_word): Likewise.
34624
18298070
L
34625 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34626 years.
34627 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34628 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34629 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34630
553c7ea4
L
34631 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34632 include <bits/wordsize.h>. Check __x86_64__ instead of
34633 __WORDSIZE.
34634 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34635 if __x86_64__ is defined. Use anonymous union on fpstate.
34636
3707636e
L
34637 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34638 anonymous union.
34639
b53ef01a
AS
346402012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34641
37fb1dc0
AS
34642 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34643 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34644 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34645 Refer to _rtld_local_ro instead of _rtld_global_ro.
34646 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34647 Likewise.
34648 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34649 Likewise.
34650 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34651 Likewise.
34652 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34653 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34654 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34655
b53ef01a
AS
34656 * sysdeps/powerpc/powerpc32/dl-machine.c
34657 (__elf_machine_runtime_setup) [PROF]: Don't reference
34658 _dl_prof_resolve.
34659
7a185db2
AJ
346602012-05-18 Andreas Jaeger <aj@suse.de>
34661
34662 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34663 function only available for GCCs before 3.4 since GCC 3.4
34664 introduced a builtin.
34665 (lrint): Likewise.
34666 (llrintf): Likewise.
34667 (llrint): Likewise.
34668 (fmaxf): Likewise.
34669 (fmax): Likewise.
34670 (fminf): Likewise.
34671 (fmin): Likewise.
34672 (rint): Likewise.
34673 (rintf): Likewise.
34674 (nearbyint): Likewise.
34675 (nearbyintf): Likewise.
34676 (ceil): Likewise.
34677 (ceilf): Likewise.
34678 (floor): Likewise.
34679 (floorf): Likewise.
34680
3e5aef87
L
346812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34682
428bd707
L
34683 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34684 on both fields and cast pointer to __syscall_ulong_t.
34685
3e5aef87
L
34686 * bits/types.h (__fsword_t): New type.
34687 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34688 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34689 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34690 (__FSWORD_T_TYPE): Likewise.
34691 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34692 (__FSWORD_T_TYPE): Likewise.
34693 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34694 (__FSWORD_T_TYPE): Likewise.
34695 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34696 (__FSWORD_T_TYPE): Likewise.
34697 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34698 __SWORD_TYPE with __fsword_t.
34699 (statfs64): Likewise.
34700
1ba7c3dc
DM
347012012-05-17 David S. Miller <davem@davemloft.net>
34702
34703 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34704
59910343
AJ
347052012-05-17 Andreas Jaeger <aj@suse.de>
34706
34707 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34708 warning.
34709
2e4c1e9e
L
347102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34711
34712 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34713
de7f5ce7
AJ
347142012-05-17 Andreas Jaeger <aj@suse.de>
34715
34716 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34717 when it is used.
34718
286abc3d
CM
347192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34720
34721 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34722
477cc68e
L
347232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34724
34725 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34726 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34727
1a0994f5
CD
347282012-05-17 Andreas Jaeger <aj@suse.de>
34729 Carlos O'Donell <carlos_odonell@mentor.com>
34730
34731 [BZ #14059]
34732 * sysdeps/x86_64/multiarch/init-arch.h
34733 (bit_YMM_Usable): Rename to...
34734 (bit_AVX_Usable): ... this.
34735 (bit_FMA4_Usable): New macro.
34736 (bit_XMM_state): New macro.
34737 (bit_YMM_state): New macro.
34738 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34739 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34740 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34741 (CPUID_OSXSAVE): New macro.
34742 (CPUID_AVX): New macro.
34743 (CPUID_FMA4): New macro.
34744 (index_YMM_Usable): Rename to...
34745 (index_AVX_Usable): ... this.
34746 (HAS_AVX): Use HAS_ARCH_FEATURE.
34747 (HAS_FMA4): Likewise.
34748 (HAS_YMM_USABLE): Remove.
34749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34750 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34751 are present.
34752 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34753 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34754 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34755 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34756 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34757
0af797de
CM
347582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34759
34760 * math/libm-test.c: Support platforms without multiple rounding modes.
34761 * math/bug-nextafter.c: Support platforms without FP exceptions.
34762 * math/bug-nexttoward.c: Likewise.
34763 * math/test-fenv.c: Likewise.
34764 * math/test-misc.c: Likewise.
34765 * stdlib/bug-getcontext.c: Likewise.
34766
e39745ff
AJ
347672012-05-17 Andreas Jaeger <aj@suse.de>
34768
34769 * manual/examples/search.c (critter_cmp): Change signature to
34770 avoid warnings.
34771 * manual/string.texi (Collation Functions): Likewise.
34772
48970aba
L
347732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34774
34775 * bits/types.h: Fold copyright years.
34776 * bits/typesizes.h: Likewise.
34777 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34779 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34780 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34781 * time/time.h: Likewise.
34782
bedee953
PP
347832012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34784
34785 [BZ #208]
34786 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34787 in instead of returning them. Return void.
34788 (__libc_mallinfo): Accumulate over all arenas.
34789 (__malloc_stats): Adjust for change in int_mallinfo interface.
34790
61653dfb
RM
347912012-05-16 Roland McGrath <roland@hack.frob.com>
34792
30b99d79
RM
34793 [BZ #10375]
34794 * configure.in (NM): Add AC_CHECK_TOOL for it.
34795 (libc_extra_cflags): New substituted variable.
34796 Check for -fstack-protector being used implicitly.
34797 * configure: Regenerated.
34798 * config.make.in (config-extra-cflags): New variable,
34799 gets @libc_extra_cflags@.
34800 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34801
61653dfb
RM
34802 [BZ #10375]
34803 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34804 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34805 * configure: Regenerated.
34806 * config.make.in (CPPUNDEFS): New substituted variable.
34807 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34808 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34809 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34810
661768bb
L
348112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34812
34813 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34814 (mq_attr): Use __syscall_slong_t.
34815
d4261567
L
348162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34817
34818 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34819 Check __x86_64__ instead of __WORDSIZE.
34820 (_STAT_VER_LINUX): Likewise.
34821 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34822 __syscall_ulong_t and __syscall_slong_t.
34823 (stat64): Likewise.
34824
cf3ff365
L
348252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34826
34827 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34828
76cf3e4d
L
348292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34830
34831 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34832
a637753a
L
348332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34834
34835 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34836 __syscall_ulong_t.
34837
d5e05119
L
34838 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34839 include <bits/wordsize.h>. Check __x86_64__ instead of
34840 __WORDSIZE.
34841 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34842 defined.
34843 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34844
f62ee380
L
34845 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34846 include <bits/wordsize.h>. Check __x86_64__ instead of
34847 __WORDSIZE.
34848 (user_regs_struct): Use "__extension__ unsigned long long"
34849 instead of "unsigned long" if __x86_64__ is defined.
34850 (user): Likewise. Pad after pointer field if __ILP32__ is
34851 defined.
34852
4e124ced
JM
348532012-05-16 Joseph Myers <joseph@codesourcery.com>
34854
6a3951a0
JM
34855 * configure.in (makeinfo): Require version 4.5 or later. Allow
34856 versions 5 to 9.
34857 * configure: Regenerated.
34858 * manual/install.texi (texinfo): Increase version requirement to
34859 4.5 or later.
34860 * INSTALL: Regenerated.
34861
4e124ced
JM
34862 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34863
953ca31a
L
348642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34865
34866 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34867
617aca05
L
34868 * sysdeps/x86_64/x32/ffs.c: New file.
34869
5762f7ae
L
34870 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34871 __syscall_ulong_t.
34872 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34873 defined. Use __syscall_ulong_t.
34874 (shminfo): Use __syscall_ulong_t.
34875 (shm_info): Likewise.
34876
a26b6856
L
34877 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34878 __syscall_ulong_t.
34879
cb2b9ef7
L
34880 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34881 <bits/wordsize.h>.
34882 (msgqnum_t): Use __syscall_ulong_t.
34883 (msglen_t): Likewise.
34884 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34885 __syscall_ulong_t.
34886
34683bb0
L
34887 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34888 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34889
84a68786
L
34890 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34891
48baa5f1
L
34892 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34893 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34894
180be88b
L
34895 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34896 __syscall_slong_t.
34897
5e90c8ad
L
34898 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34899 include <bits/wordsize.h>. Check __x86_64__ instead of
34900 __WORDSIZE.
34901
23dfb58b
L
34902 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34903 "unsigned long long int" if __x86_64__ is defined.
34904 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34905
ce5d54b0
L
34906 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34907 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34908 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34909
13dc9eac
L
34910 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34911 <stdint.h>.
34912 (GET_PC): Cast to uintptr_t first.
34913 (GET_FRAME): Likewise.
34914 (GET_STACK): Likewise.
34915
a7895d15
L
34916 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34917 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34918 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34919 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34920 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34921 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34922 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34923 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34924 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34925 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34926 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34927 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34928 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34929 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34930 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34931 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34932 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34933 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34934 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34935 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34936 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34937 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34938 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34939 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34940 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34941 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34942 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34943 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34944 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34945
656416c9
AS
349462012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34947
5bd66283
AS
34948 * Makerules (+depfiles): Also collect depfiles from .oS in
34949 $(extra-objs).
34950 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34951 .oS, $(libnldbl-routines)).
34952
656416c9
AS
34953 * Makerules (native-compile-mkdep-flags): Define.
34954 * sunrpc/Makefile (extra-objs): Add $(addprefix
34955 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34956 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34957 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34958 calling $(make-target-directory).
34959
a46f2169
L
349602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34961
34962 * bits/types.h (__snseconds_t): Removed.
34963 * time/time.h (struct timespec): Replace __snseconds_t with
34964 __syscall_slong_t.
34965 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34966 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34967 Likewise.
34968 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34969 (__SNSECONDS_T_TYPE): Likewise.
34970 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34971 (__SNSECONDS_T_TYPE): Likewise.
34972 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34973 (__SNSECONDS_T_TYPE): Likewise.
34974
6af6528b
L
349752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34976
34977 * sysdeps/mach/hurd/bits/typesizes.h
34978 (__SYSCALL_SLONG_TYPE): New macro.
34979 (__SYSCALL_ULONG_TYPE): Likewise.
34980
de986b56
L
349812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34982
34983 * bits/types.h (__syscall_slong_t): New type.
34984 (__syscall_ulong_t): Likewise.
34985
34986 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34987 (__SYSCALL_ULONG_TYPE): Likewise.
34988 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34989 (__SYSCALL_SLONG_TYPE): Likewise.
34990 (__SYSCALL_ULONG_TYPE): Likewise.
34991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34992 (__SYSCALL_SLONG_TYPE): Likewise.
34993 (__SYSCALL_ULONG_TYPE): Likewise.
34994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34995 (__SYSCALL_SLONG_TYPE): Likewise.
34996 (__SYSCALL_ULONG_TYPE): Likewise.
34997
85736dc7
L
349982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34999
35000 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35001 Add sigaltstack-offsets.sym.
35002 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35003 <sigaltstack-offsets.h>.
35004 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35005 longjmp_msg pointer.
35006 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35007 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35008 signal stack.
35009 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35010
cc03b296
JM
350112012-05-15 Joseph Myers <joseph@codesourcery.com>
35012
a9538892
JM
35013 * elf/stackguard-macros.h: Remove file.
35014 * sysdeps/generic/stackguard-macros.h: New file.
35015 * sysdeps/i386/stackguard-macros.h: Likewise.
35016 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35017 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35018 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35019 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35020 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35021 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35022 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35023 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35024 <elf/stackguard-macros.h>.
35025
cc03b296
JM
35026 [BZ #14109]
35027 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35028 __aligned__ in attribute.
35029 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35030 (gregset_t): Likewise.
35031
93171016
L
350322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35033
35034 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35035 * sysdeps/x86_64/64/Implies-after: Here. New file.
35036 * sysdeps/x86_64/x32/Implies-after: New file.
35037
d86813a0
L
350382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35039
35040 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35041 and access return value for _dl_profile_fixup. Use R10_LP to
35042 load frame size.
35043
2953ec75
L
350442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35045
35046 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35047
3b550e9e
L
350482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35049
35050 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35051 * sysdeps/x86_64/x32/sysdep.h: New file.
35052
eda41706
L
350532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35054
35055 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35056 * sysdeps/x86_64/setjmp.S: Likewise.
35057
9ea01d93
AZ
350582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35059
35060 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35061 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35062 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35063 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35064 remove unused global constant.
35065
02a91938
CM
350662012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35067
35068 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35069 include of <not-cancel.h>.
35070
6540185f
RM
350712012-05-15 Roland McGrath <roland@hack.frob.com>
35072
35073 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35074
509072a0
AJ
350752012-05-15 Jeff Law <law@redhat.com>
35076 Andreas Jaeger <aj@suse.de>
35077
35078 [BZ #13594]
35079 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35080 out from...
35081 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35082 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35083 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35084 code changing __hst_map_handle.map.
35085
ba75122d
RM
350862012-05-15 Roland McGrath <roland@hack.frob.com>
35087
35088 * configure.in (sysnames): Look for Implies-before and Implies-after
35089 files.
35090 * configure: Regenerated.
35091
890d8bd8
L
350922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35093
35094 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35095 8-byte data alignment with LP_SIZE alignment.
35096
f6ee6623
L
350972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35098
35099 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35100 into R10_LP.
35101
ea2626f6
L
351022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35103
35104 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35105
085f715e
L
351062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35107
35108 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35109 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35110 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35111 Likewise.
35112 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35113
be8498fc
L
351142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35115
35116 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35117 (stackinfo_sub_sp): Likewise.
35118
70bc83b9
L
351192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35120
35121 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35122 RAX_LP.
35123
9bc0b730
L
351242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35125
35126 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35127 into R*_LP.
35128
6d2850e7
L
351292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35130
35131 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35132 sizes into R*_LP.
35133
3cb84561
L
351342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35135
35136 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35137
54e2ed81
L
351382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35139
35140 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35141 into R11_LP and load __x86_64_shared_cache_size_half into
35142 R8_LP.
35143
8a17f349
L
351442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35145
35146 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35147 R8_LP.
35148
777b1eea
AZ
351492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35150
35151 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35152 logb for POWER7.
35153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35154 logbf for POWER7.
35155 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35156 logbl for POWER7.
35157 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35158 powerpc32/power7/fpu/s_logb.c via #include.
35159 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35160 powerpc32/power7/fpu/s_logbf.c via #include.
35161 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35162 powerpc32/power7/fpu/s_logbl.c via #include.
35163
d20d4ac2
JM
351642012-05-15 Joseph Myers <joseph@codesourcery.com>
35165
35166 * README.libm: Remove file.
35167
6cdef1ab
L
351682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35169
35170 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35171 count for x32. Use R*_LP and omit operand-size suffix.
35172
0b254d8f
L
351732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35174
35175 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35176 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35177 * sysdeps/x86_64/x32/shlib-versions: New file.
35178
ceb809dc
RM
351792012-05-14 Roland McGrath <roland@hack.frob.com>
35180
35181 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35182 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35183 Use _dl_fatal_printf instead.
35184
37f1abd4
JM
351852012-05-14 Joseph Myers <joseph@codesourcery.com>
35186
35187 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35188 set if not set by the user. Do not allow for being unset.
35189 * sysdeps/unix/sysv/linux/configure: Regenerated.
35190
11de3a33
L
351912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35192
35193 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35194 the `q' suffix from lea and replace .quad with ASM_ADDR.
35195
e02f153a
L
351962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35197
35198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35199 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35200 instead of $17.
35201 (PTR_DEMANGLE): Likewise.
35202
520ae0fd
L
352032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35204
35205 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35206 (LP_OP): Likewise.
35207 (ASM_ADDR): Likewise.
35208 (RAX_LP): Likewise.
35209 (RBP_LP): Likewise.
35210 (RBX_LP): Likewise.
35211 (RCX_LP): Likewise.
35212 (RDI_LP): Likewise.
35213 (RSI_LP): Likewise.
35214 (RSP_LP): Likewise.
35215 (R8_LP): Likewise.
35216 (R9_LP): Likewise.
35217 (R10_LP): Likewise.
35218 (R10_LP): Likewise.
35219 (R11_LP): Likewise.
35220 (R12_LP): Likewise.
35221 (R13_LP): Likewise.
35222 (R14_LP): Likewise.
35223 (R15_LP): Likewise.
35224
b985be81
L
352252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35226
35227 * sysdeps/x86_64/x32/dl-machine.h: New file.
35228
6a4888ff
AJ
352292012-05-14 Andreas Jaeger <aj@suse.de>
35230
35231 * manual/Makefile (subdir): Remove export of subdir.
35232 (all): Remove target.
35233 (.PHONY): Remove all from list.
35234 (mkinstalldirs): Remove.
35235 (.PHONY): Remove installdirs from list.
35236 ($(inst_infodir)/libc.info): Use make-target-directory.
35237 (installdirs): Remove.
35238 (subdir_%): Remove.
35239 (glibc-targets): Remove.
35240 (lib): Remove.
35241 (stubs): Remove.
35242 ($(objpfx)stubs ../po/manual.pot): Remove.
35243 ($(objpfx)stamp%): Remove.
35244 (make-target-directory): Remove.
35245 (subdir_install): Remove.
35246 (routines): Remove.
35247 (aux): Remove.
35248 (sources): Remove.
35249 (objects): Remove.
35250 (headers): Remove.
35251
35252 [BZ #13750]
35253 * manual/.gitignore: Remove, it's not needed anymore.
35254 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35255 all files in it.
35256 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35257 directory.
35258 (texis): Renamed to $(objpfx)texis.
35259 (texis-path): New, contains path to generated files.
35260 (chapters.%): Use texis-path for complete path, add extra argument
35261 libc-texinfo.sh.
35262 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35263 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35264 (summary,texi, stamp-summary): Use complete path of
35265 files. Generate files in build dir.
35266 (dir-add.texi): Build in build dir.
35267 (libm-err.texi,stamp-libm-err): Likewise.
35268 (version.texi, stamp-version): Likewise.
35269 (.%c.texi): Likewise.
35270 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35271 (mostlyclean): Remove target.
35272 (realclean): Remove target.
35273 (generated): Add new variable with contents from mostlyclean and
35274 realclean, remove entries duplicated in common-mostlyclean, add
35275 stamp-libm-err and stamp-version.
35276 (generated-dirs): Add libc directory.
35277 ($(inst_infodir)/libc.info): Install files from build dir.
35278
35279 * manual/install.texi (Configuring and compiling): Adjust since
35280 the info files are not part of the tar ball anymore.
35281
7ac77294
AJ
352822012-05-14 Andreas Jaeger <aj@suse.de>
35283
35284 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35285 variable.
35286
ffb7875d
JM
352872012-05-14 Joseph Myers <joseph@codesourcery.com>
35288
35289 [BZ #13717]
35290 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35291 to 2.2.0 where earlier.
35292 * sysdeps/unix/sysv/linux/configure: Regenerated.
35293 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35294 Remove conditional code.
35295 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35296 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35297 Remove conditional code.
35298 [!__NR_lchown]: Likewise.
35299 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35300 [__NR_lchown]: Likewise.
35301 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35302 comment referencing __ASSUME_LCHOWN_SYSCALL.
35303 * sysdeps/unix/sysv/linux/i386/sigaction.c
35304 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35305 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35306 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35307 Remove conditional code.
35308 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35309 (__protocol_available): Remove #if 0 code.
35310 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35311 conditional code.
35312 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35313 * sysdeps/unix/sysv/linux/kernel-features.h
35314 (__ASSUME_GETCWD_SYSCALL): Don't define.
35315 (__ASSUME_REALTIME_SIGNALS): Likewise.
35316 (__ASSUME_PREAD_SYSCALL): Likewise.
35317 (__ASSUME_PWRITE_SYSCALL): Likewise.
35318 (__ASSUME_POLL_SYSCALL): Likewise.
35319 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35320 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35321 non-SPARC.
35322 (__ASSUME_SIOCGIFNAME): Don't define.
35323 (__ASSUME_MSG_NOSIGNAL): Likewise.
35324 (__ASSUME_SENDFILE): Define unconditionally.
35325 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35326 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35327 conditional code.
35328 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35329 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35330 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35331 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35332 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35333 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35334 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35336 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35337 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35339 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35342 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35343 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35345 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35348 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35351 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35354 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35355 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35357 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35359 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35360 Remove conditional code.
35361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35362 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35363 Remove conditional code.
35364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35365 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35366 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35367 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35368 Remove conditional code.
35369 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35370 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35371 Remove conditional code.
35372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35373 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35374 Remove conditional code.
35375 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35376 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35377 Remove conditional code.
35378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35379 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35380 Remove conditional code.
35381 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35382 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35383 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35385 * sysdeps/unix/sysv/linux/sigaction.c
35386 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35387 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35388 * sysdeps/unix/sysv/linux/sigpending.c
35389 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35390 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35391 * sysdeps/unix/sysv/linux/sigprocmask.c
35392 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35393 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35394 * sysdeps/unix/sysv/linux/sigsuspend.c
35395 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35396 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35397 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35398 (__libc_missing_rt_sigs): Remove.
35399 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35400 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35401 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35402 Remove conditional code.
35403 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35404 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35405 return 1.
35406 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35407 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35408 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35409 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35410
1bfb7291
AJ
354112012-05-14 Andreas Jaeger <aj@suse.de>
35412
caae5a81
AJ
35413 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35414 it's not used in glibc.
35415 (__coshm1): Likewise.
35416 (__acosh1p): Likewise.
35417 (__sgn): Likewise.
35418
1bfb7291
AJ
35419 * manual/string.texi (Copying and Concatenation): Add missing
35420 variable in concat example.
35421 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35422
c044d724
L
354232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35424
144c5467 35425 [BZ #14103]
c044d724
L
35426 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35427 __builtin_clzl with __builtin_clzll.
35428
2523c62b
L
354292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35430
35431 [BZ #14104]
35432 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35433 libc_freeres_ptr.
35434
d7bb4c42
LD
354352012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35436
35437 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35438 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35439 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35440 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35441
9dc4e1fb
MF
354422012-05-14 Mike Frysinger <vapier@gentoo.org>
35443
35444 * NEWS: Update ia64 info.
35445
c7df0112
AS
354462012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35447
35448 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35449 used as bcopy.
35450
dc70356c
TS
354512012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35452
35453 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35454 * sysdeps/unix/syscalls.list (dup3): Likewise.
35455 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35456 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35457
9fb1a21f
L
354582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35459
35460 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35461 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35462
4822a2a5
L
354632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35464
35465 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35466 thread pointer.
35467 (TLS_IE): Use mov/add instead of movq/addq to load thread
35468 pointer.
35469 (TLS_GD_PREFIX): New.
35470 (TLS_GD): Use it.
35471
842b81d6
DM
354722012-05-11 David S. Miller <davem@davemloft.net>
35473
35474 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35475 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35476 (_FPU_SETCW): Likewise.
35477
1cf463cd
L
354782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35479
35480 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35481 is 32-byte aligned.
35482
60cc4a18
AS
354832012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35484
35485 [BZ #11837]
35486 * iconvdata/gb18030.c: Update tables.
35487 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35488 characters specially.
35489 (BODY for TO_LOOP): Add encoding of missing ranges.
35490
febb44a4
TS
354912012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35492
35493 [BZ #13673]
35494 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35495 * sysdeps/mach/hurd/dup3.c: Likewise.
35496 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35497 * sysdeps/powerpc/memmove.c:: Likewise.
35498
0a10fb9e
L
354992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35500
35501 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35502 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35503
df8a552f
L
355042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35505
35506 * elf/elf.h (R_X86_64_RELATIVE64): New.
35507 (R_X86_64_NUM): Updated.
35508 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35509 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35510 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35511 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35512 tst-quad1pie tst-quad2pie
35513 (modules-names): Add tst-quadmod1 tst-quadmod2.
35514 ($(objpfx)tst-quad1): New dependency.
35515 ($(objpfx)tst-quad2): Likewise.
35516 ($(objpfx)tst-quad1pie): Likewise.
35517 ($(objpfx)tst-quad2pie): Likewise.
35518 * sysdeps/x86_64/tst-quad1.c: New file.
35519 * sysdeps/x86_64/tst-quad1pie.c: New file.
35520 * sysdeps/x86_64/tst-quad2.c: Likewise.
35521 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35522 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35523 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35524 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35525 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35526
f34d6f84
ST
355272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35528
f42d41d1
ST
35529 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35530 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35531 * streams/stropts.h (t_scalar_t): Define type.
35532
3c3571fc
ST
35533 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35534 (_PATH_PRESERVE): Set to "/var/lib".
35535 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35536
61f06bd3
ST
35537 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35538 instead of int.
35539
918d4d71
ST
35540 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35541 if __dir_mkfile succeeded.
35542
f34d6f84
ST
35543 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35544 checking for _hurd_dtablesize. Unlock it right after having
35545 finished _hurd_dtable allocation.
35546
10589b4a
TS
355472012-05-10 Thomas Schwinge <thomas@schwinge.name>
35548
674cdbc7
TS
35549 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35550 * sysdeps/mach/hurd/configure: Regenerated.
35551 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35552 special-casing to...
35553 * sysdeps/gnu/configure.in: ... this new file.
35554 * sysdeps/unix/sysv/linux/configure: Regenerated.
35555 * sysdeps/gnu/configure: New generated file.
35556
8e41b99f
TS
35557 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35558 for Linux: use nsec instead of usec, as well as:
35559 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35560 members of type struct timespec.
35561 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35562 New macros.
35563 (struct stat64): Likewise.
35564 (_STATBUF_ST_NSEC): New macro.
35565 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35566
10589b4a
TS
35567 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35568 __strtoul_internal rather than strtoul.
35569
63643c85
PT
355702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35571
35572 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35573 and reject them.
35574
3faebe6a
ST
355752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35576
35577 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35578 which preserves existing values.
35579 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35580
c6474b07
PT
355812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35582
35583 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35584 TIMEOUT values. Return EINVAL for NFDS values either negative or
35585 greater than FD_SETSIZE.
35586
1043890b
ST
355872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35588
35589 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35590 allocated, call __vm_protect to finish enabling the existing space, and
35591 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35592 allocate the remainder.
35593
37ed8b9b
PT
355942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35595
35596 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35597 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35598
db653660
ST
355992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35600
37ed8b9b
PT
35601 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35602 sysdeps/mach/hurd/readlink.c.
b29d4053 35603
db653660
ST
35604 * posix/tst-sysconf.c (posix_options): Only use
35605 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35606 _POSIX_SYNCHRONIZED_IO when they are defined
35607 * sysdeps/mach/hurd/bits/posix_opt.h:
35608 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35609 (_XOPEN_REALTIME): Undefine macro.
35610 (_XOPEN_REALTIME_THREADS): Undefine macro.
35611 (_XOPEN_SHM): Undefine macro.
35612 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35613 macro to -1.
35614 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35615 macro to -1.
35616 (_POSIX_ASYNC_IO): Undefine macro.
35617 (_POSIX_PRIORITIZED_IO): Undefine macro.
35618 (_POSIX_SPIN_LOCKS): Define macro to -1.
35619
ee16e894
ST
35620 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35621 SA_NODEFER, SA_RESETHAND.
35622 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35623 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35624 F_DUPFD_CLOEXEC.
35625
6103ae3b
TS
356262012-05-10 Thomas Schwinge <thomas@schwinge.name>
35627
35628 * elf/Makefile (pldd-modules): Define unconditionally.
35629
80b4e5f3
TS
356302012-05-10 Thomas Schwinge <thomas@schwinge.name>
35631
35632 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35633
edadcbd6
ST
356342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35635
35636 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35637 Return ENOENT when name is empty.
35638 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35639
80694780
TS
356402012-05-10 Thomas Schwinge <thomas@schwinge.name>
35641
1792c087
TS
35642 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35643
80694780
TS
35644 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35645
6b645f0d
ST
356462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35647
80694780
TS
35648 Fix mlock in all cases except non-readable pages.
35649 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35650 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 35651
6b645f0d
ST
35652 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35653 (__mkdir): When path is `/', just fail with EEXIST.
35654 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35655
e468f8a3
TS
356562012-05-10 Thomas Schwinge <thomas@schwinge.name>
35657
35658 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35659 <sys/uio.h> (for writev).
35660 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35661 and <sys/param.h> (for MIN).
35662
a4186cff
PT
356632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35664
35665 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35666 REQUESTED_TIME. Properly set the remaining time and return EINTR
35667 if interrupted.
35668
510bbf14
TS
356692012-05-10 Thomas Schwinge <thomas@schwinge.name>
35670
35671 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35672 Depend on against $(link-rpcuserlibs).
35673
5d5722e8
ST
356742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35675
a4186cff
PT
35676 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35677 (__libc_stack_end): Do not use attribute_relro.
35678 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35679 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 35680 to libthread-provided value.
a4186cff
PT
35681 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35682 attribute_relro.
5d5722e8 35683
37233df9
TS
356842012-05-10 Thomas Schwinge <thomas@schwinge.name>
35685
be971a2b
TS
35686 [BZ #3748]
35687 * bits/libc-lock.h (__libc_once_get): New macro.
35688 * sysdeps/mach/bits/libc-lock.h: Likewise.
35689 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35690 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35691 instead of using implementation details.
35692
37233df9
TS
35693 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35694 * libio/freopen.c: Likewise.
35695 * libio/freopen64.c: Likewise.
35696 * misc/syslog.c: Likewise.
35697 * nscd/connections.c: Likewise.
35698 * nscd/netgroupcache.c: Likewise.
35699 * sysdeps/posix/getcwd.c: Likewise.
35700
38de94a5
RM
357012012-05-10 Roland McGrath <roland@hack.frob.com>
35702
35703 * math/w_ilogbf.c: Add #include <limits.h>.
35704
67530489
ST
357052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35706
a4186cff 35707 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
35708 path instead of returning without unlocking.
35709
67530489
ST
35710 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35711 immediate-write ioctls.
35712 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35713
5aa3a74a
TS
357142012-05-10 Thomas Schwinge <thomas@schwinge.name>
35715
18bad2ae
TS
35716 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35717 __builtin_frame_address instead of making assumptions about the
35718 location of the return address relative to DATA. Force early load of
35719 the return address.
35720 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35721 __builtin_frame_address.
35722
5aa3a74a
TS
35723 dup3 for GNU Hurd.
35724 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35725 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35726 implement dup3 and do some further code clean-ups.
35727 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35728 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35729
ecd0de9a
ST
357302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35731
cd9fa985
ST
35732 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35733
a4186cff
PT
35734 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35735 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35736 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35737 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35738 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35739 d->port.lock.
802ca5a5 35740
a4186cff
PT
35741 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35742 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35743 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 35744
bcf55240
TS
357452012-05-10 Thomas Schwinge <thomas@schwinge.name>
35746
6960eb42
TS
35747 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35748 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35749 definitions.
35750
eb43375f
TS
35751 accept4 for GNU Hurd.
35752 * include/sys/socket.h (__libc_accept4): New prototype.
35753 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35754 to implement __libc_accept4.
35755 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35756 __libc_accept4.
35757 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35758
bcf55240
TS
35759 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35760 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35761 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35762 signal-defines.sym.
35763
6178c55b
ST
357642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35765
a4186cff 35766 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 35767
6f080c2f
TS
357682012-05-10 Thomas Schwinge <thomas@schwinge.name>
35769
35770 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35771 assertion on O_CLOEXEC flag.
35772 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35773 * hurd/intern-fd.c: Likewise.
35774 * hurd/port2fd.c: Likewise.
35775
bcfe3a54
ST
357762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35777
35778 [BZ #3906]
35779 * bits/in.h (IPV6_PKTINFO): Define new macro.
35780 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35781
89c9aa49
AZ
357822012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35783
35784 [BZ #13954]
35785 [BZ #13955]
35786 [BZ #13956]
35787 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35788 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35789 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35790 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35792 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35793 * math/libm-test.inc (logb_test) : Additional logb tests.
35794
021db4be
AJ
357952012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35796 Andreas Jaeger <aj@suse.de>
35797
35798 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35799 * configure: Regenerated.
35800 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35801 * config.make.in (link-obsolete-rpc): New substituted variable.
35802 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35803 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35804 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35805 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35806 so that libc.a contains the symbols.
35807 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35808 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35809 * sunrpc/auth_none.c: Likewise.
35810 * sunrpc/auth_unix.c: Likewise.
35811 * sunrpc/authdes_prot.c: Likewise.
35812 * sunrpc/authuxprot.c: Likewise.
35813 * sunrpc/clnt_gen.c: Likewise.
35814 * sunrpc/clnt_perr.c: Likewise.
35815 * sunrpc/clnt_raw.c: Likewise.
35816 * sunrpc/clnt_simp.c: Likewise.
35817 * sunrpc/clnt_tcp.c: Likewise.
35818 * sunrpc/clnt_udp.c: Likewise.
35819 * sunrpc/clnt_unix.c: Likewise.
35820 * sunrpc/des_crypt.c: Likewise.
35821 * sunrpc/des_soft.c: Likewise.
35822 * sunrpc/get_myaddr.c: Likewise.
35823 * sunrpc/key_call.c: Likewise.
35824 * sunrpc/key_prot.c: Likewise.
35825 * sunrpc/netname.c: Likewise.
35826 * sunrpc/pm_getmaps.c: Likewise.
35827 * sunrpc/pm_getport.c: Likewise.
35828 * sunrpc/pmap_clnt.c: Likewise.
35829 * sunrpc/pmap_prot.c: Likewise.
35830 * sunrpc/pmap_prot2.c: Likewise.
35831 * sunrpc/pmap_rmt.c: Likewise.
35832 * sunrpc/publickey.c: Likewise.
35833 * sunrpc/rpc_cmsg.c: Likewise.
35834 * sunrpc/rpc_common.c: Likewise.
35835 * sunrpc/rpc_dtable.c: Likewise.
35836 * sunrpc/rpc_prot.c: Likewise.
35837 * sunrpc/rpc_thread.c: Likewise.
35838 * sunrpc/rtime.c: Likewise.
35839 * sunrpc/svc.c: Likewise.
35840 * sunrpc/svc_auth.c: Likewise.
35841 * sunrpc/svc_raw.c: Likewise.
35842 * sunrpc/svc_run.c: Likewise.
35843 * sunrpc/svc_tcp.c: Likewise.
35844 * sunrpc/svc_udp.c: Likewise.
35845 * sunrpc/svc_unix.c: Likewise.
35846 * sunrpc/svcauth_des.c: Likewise.
35847 * sunrpc/xcrypt.c: Likewise.
35848 * sunrpc/xdr.c: Likewise.
35849 * sunrpc/xdr_array.c: Likewise.
35850 * sunrpc/xdr_float.c: Likewise.
35851 * sunrpc/xdr_intXX_t.c: Likewise.
35852 * sunrpc/xdr_mem.c: Likewise.
35853 * sunrpc/xdr_rec.c: Likewise.
35854 * sunrpc/xdr_ref.c: Likewise.
35855 * sunrpc/xdr_sizeof.c: Likewise.
35856 * sunrpc/xdr_stdio.c: Likewise.
35857
b5c086a2
RM
358582012-05-10 Roland McGrath <roland@hack.frob.com>
35859
35860 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35861 change. Update copyright years.
35862
6d74dd09
JM
358632012-05-10 Joseph Myers <joseph@codesourcery.com>
35864
35865 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35866
28e72501
MK
358672012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35868 Joseph Myers <joseph@codesourcery.com>
35869 Paul Pluzhnikov <ppluzhnikov@google.com>
35870
35871 [BZ #14012]
35872 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35873 requiring rpcgen.
35874 [cross-compiling] (extra-libs): Likewise.
35875 [cross-compiling] (extra-libs-others): Likewise.
35876 [cross-compiling] (librpcsvc-routines): Likewise.
35877 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35878 [cross-compiling] (omit-deps): Likewise.
35879 (sunrpc-CPPFLAGS): New variable.
35880 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35881 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35882 (cross-rpcgen-objs): New variable.
35883 (extra-objs): Append $(cross-rpcgen-objs).
35884 ($(cross-rpcgen-objs)): New rule.
35885 ($(objpfx)cross-rpcgen): Likewise.
35886 (rpcgen-cmd): Define to use $(built-program-file). Expand
35887 comment.
35888 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35889 ($(objpfx)x%.stmp): Likewise.
35890 * sunrpc/proto.h [IS_IN_build] (_): Define.
35891 [IS_IN_build] (_libc_intl_domainname): Likewise.
35892
c8c59454
L
358932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35894
35895 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35896 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35897 and R_X86_64_TPOFF64.
35898
6f27cd16
JM
358992012-05-10 Joseph Myers <joseph@codesourcery.com>
35900
35901 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35902 sysdeps/unix/sysv/syscalls.list.
35903 (stime): Likewise.
35904 (utime): Likewise.
35905 * sysdeps/unix/sysv/syscalls.list: Remove file.
35906
02467e1c
PE
359072012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35908
35909 [BZ #3440]
35910 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35911 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35912 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35913 (__LC_IDENTIFICATION): Make these macros useful in #if
35914 expressions, as required by C99.
35915
da392631
AS
359162012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35917
35918 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35919 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35920 after this.
35921
8115f29b
L
359222012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35923
35924 * stdlib/longlong.h: Updated from GCC.
35925
bdd74070
AJ
359262012-05-09 Andreas Jaeger <aj@suse.de>
35927
edfe0dbe
AJ
35928 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35929 default is first entry.
35930 (run_mode): Set type.
35931 (main): Remove informal message about syslog.
35932 (options): Fix typo.
35933
bcfe3a54
ST
35934 [BZ #14053]
35935 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35936 to asm.
bcfe3a54
ST
35937 (lrint): Likewise.
35938 (llrintf): Likewise.
35939 (llrint): Likewise.
35940 (rint): Likewise.
35941 (rintf): Likewise.
35942 (nearbyint): Likewise.
35943 (nearbyintf): Likewise.
bdd74070 35944
91d8d69e
AJ
359452012-05-09 Andreas Jaeger <aj@suse.de>
35946 Pedro Alves <palves@redhat.com>
35947
35948 * nscd/nscd.c (run_mode): Use enum.
35949 (main): Cleanup coding style issue.
35950
bb90b80b
AJ
359512012-05-09 Alexandre Oliva <aoliva@redhat.com>
35952 Andreas Jaeger <aj@suse.de>
35953
bcfe3a54
ST
35954 * nscd/nscd.c (go_background): Replaced with...
35955 (run_mode): ... this.
bb90b80b 35956 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35957 (options): Add -F --foreground.
35958 (main): Implement it.
35959 (parse_opt): Parse it.
bb90b80b 35960
1a4b75a1
AJ
359612012-05-09 Andreas Jaeger <aj@suse.de>
35962
35963 [BZ #14083]
35964 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35965 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35966 -Wconversion warning.
35967 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35968 Likewise.
35969
b1cc2472
JM
359702012-05-09 Joseph Myers <joseph@codesourcery.com>
35971
35972 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35973 == 0.
35974 (LC_ALL): Use macro-int-constant.
35975 (LC_COLLATE): Likewise.
35976 (LC_CTYPE): Likewise.
35977 (LC_MESSAGES): Likewise.
35978 (LC_MONETARY): Likewise.
35979 (LC_NUMERIC): Likewise.
35980 (LC_TIME): Likewise.
35981 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35982 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35984 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35985 Specify type.
35986 [C99-based standards] (float_t): Expect type.
35987 [C99-based standards] (double_t): Expect type.
35988 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35989 type.
35990 [C99-based standards] (HUGE_VALL): Likewise.
35991 [C99-based standards] (INFINITY): Likewise.
35992 [C99-based standards] (NAN): Likewise.
35993 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35994 [C99-based standards] (FP_NAN): Likewise.
35995 [C99-based standards] (FP_NORMAL): Likewise.
35996 [C99-based standards] (FP_SUBNORMAL): Likewise.
35997 [C99-based standards] (FP_ZERO): Likewise.
35998 [C99-based standards] (FP_FAST_FMA): Use
35999 optional-macro-int-constant. Specify type. Require == 1.
36000 [C99-based standards] (FP_FAST_FMAF): Likewise.
36001 [C99-based standards] (FP_FAST_FMAL): Likewise.
36002 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36003 [C99-based standards] (FP_ILOGBNAN): Likewise.
36004 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36005 Specify type.
36006 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36007 [C99-based standards] (math_errhandling): Specify type.
36008 [ISO99 || ISO11] (signgam): Do not allow.
36009 [non-C99-based standards] (copysignf): Do not allow.
36010 [non-C99-based standards] (exp2f): Likewise.
36011 [non-C99-based standards] (log2f): Likewise.
36012 [non-C99-based standards] (modff): Allow.
36013 [non-C99-based standards] (erff): Do not allow.
36014 [non-C99-based standards] (erfcf): Likewise.
36015 [non-C99-based standards] (gammaf): Likewise.
36016 [non-C99-based standards] (hypotf): Likewise.
36017 [non-C99-based standards] (j0f): Likewise.
36018 [non-C99-based standards] (j1f): Likewise.
36019 [non-C99-based standards] (jnf): Likewise.
36020 [non-C99-based standards] (lgammaf): Likewise.
36021 [non-C99-based standards] (tgammaf): Likewise.
36022 [non-C99-based standards] (y0f): Likewise.
36023 [non-C99-based standards] (y1f): Likewise.
36024 [non-C99-based standards] (ynf): Likewise.
36025 [non-C99-based standards] (isnanf): Likewise.
36026 [non-C99-based standards] (acoshf): Likewise.
36027 [non-C99-based standards] (asinhf): Likewise.
36028 [non-C99-based standards] (atanhf): Likewise.
36029 [non-C99-based standards] (cbrtf): Likewise.
36030 [non-C99-based standards] (expm1f): Likewise.
36031 [non-C99-based standards] (ilogbf): Likewise.
36032 [non-C99-based standards] (log1pf): Likewise.
36033 [non-C99-based standards] (logbf): Likewise.
36034 [non-C99-based standards] (nextafterf): Likewise.
36035 [non-C99-based standards] (remainderf): Likewise.
36036 [non-C99-based standards] (rintf): Likewise.
36037 [non-C99-based standards] (scalbf): Likewise.
36038 [non-C99-based standards] (copysignl): Likewise.
36039 [non-C99-based standards] (exp2l): Likewise.
36040 [non-C99-based standards] (log2l): Likewise.
36041 [non-C99-based standards] (modfl): Allow.
36042 [non-C99-based standards] (erfl): Do not allow.
36043 [non-C99-based standards] (erfcl): Likewise.
36044 [non-C99-based standards] (gammal): Likewise.
36045 [non-C99-based standards] (hypotl): Likewise.
36046 [non-C99-based standards] (j0l): Likewise.
36047 [non-C99-based standards] (j1l): Likewise.
36048 [non-C99-based standards] (jnl): Likewise.
36049 [non-C99-based standards] (lgammal): Likewise.
36050 [non-C99-based standards] (tgammal): Likewise.
36051 [non-C99-based standards] (y0l): Likewise.
36052 [non-C99-based standards] (y1l): Likewise.
36053 [non-C99-based standards] (ynl): Likewise.
36054 [non-C99-based standards] (isnanl): Likewise.
36055 [non-C99-based standards] (acoshl): Likewise.
36056 [non-C99-based standards] (asinhl): Likewise.
36057 [non-C99-based standards] (atanhl): Likewise.
36058 [non-C99-based standards] (cbrtl): Likewise.
36059 [non-C99-based standards] (expm1l): Likewise.
36060 [non-C99-based standards] (ilogbl): Likewise.
36061 [non-C99-based standards] (log1pl): Likewise.
36062 [non-C99-based standards] (logbl): Likewise.
36063 [non-C99-based standards] (nextafterl): Likewise.
36064 [non-C99-based standards] (remainderl): Likewise.
36065 [non-C99-based standards] (rintl): Likewise.
36066 [non-C99-based standards] (scalbl): Likewise.
36067 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36068 [non-C99-based standards] (FP_*): Do not allow.
36069 [C99-based standards] (FP_*): Change to
36070 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36071 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36072 allow.
36073 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36074 (SIG_ERR): Likewise.
36075 [X/Open-based standards] (SIG_HOLD): Likewise.
36076 (SIG_IGN): Likewise.
36077 (SIGABRT): Use macro-int-constant. Specify type. Require
36078 positive value.
36079 (SIGFPE): Likewise.
36080 (SIGILL): Likewise.
36081 (SIGINT): Likewise.
36082 (SIGSEGV): Likewise.
36083 (SIGTER): Likewise.
36084 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36085 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36086 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36087 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36088 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36089 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36090 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36091 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36092 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36093 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36094 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36095 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36096 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36097 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36098 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36099 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36100 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36101 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36102 [X/Open-based standards] (SIGTRAP): Likewise.
36103 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36104 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36105 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36106 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36107 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36108 allow.
36109
b9f1922d
IW
361102012-05-08 Ian Wienand <ianw@vmware.com>
36111
36112 [BZ #14080]
36113 * time/tzset.c (__tzset_parse_tz): Update default rules for
36114 daylight time changes in the Energy Policy Act of 2005.
36115
1db86e88
AJ
361162012-05-09 Andreas Jaeger <aj@suse.de>
36117
36118 [BZ #13983]
36119 * elf/ldconfig.c (parse_conf): Change string to make clear that
36120 ldconfig only issued a warning if ld.so.conf does not exist.
36121
dee4a4e3
DM
361222012-05-08 David S. Miller <davem@davemloft.net>
36123
ee0db190
DM
36124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36125 movxtod instead of popping the value on the stack.
36126
dee4a4e3
DM
36127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36128
6a43ec98
CD
361292012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36130
36131 * config.h.in: Add HAVE_ARM_PCS_VFP.
36132
05c2c961
RMG
361332012-05-08 Roland Mc Grath <roland@hack.frob.com>
36134
bcfe3a54
ST
36135 [BZ #13979]
36136 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36137 checking but the checks are disabled for any reason.
05c2c961 36138
4b30f61a
L
361392012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36140
36141 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36142 and ELF64_R_TYPE with ELFW(R_TYPE).
36143
eee2bc67
JM
361442012-05-08 Joseph Myers <joseph@codesourcery.com>
36145
7ea5391a
JM
36146 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36147 (ulimit): Likewise.
36148
eee2bc67
JM
36149 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36150 (settimeofday): Likewise.
36151
abb66a67
MF
361522012-05-08 Mike Frysinger <vapier@gentoo.org>
36153
36154 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36155 a struct th_u2 inside the union, and move tu_block/tu_code into
36156 a new th_u3 union of tu_block/tu_code inside of that. Move
36157 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36158 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36159 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36160 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36161 (th_stuff): Change to th_u1.tu_stuff.
36162 (th_data): Define.
36163 (th_msg): Change to th_u1.th_u2.tu_data.
36164
7f18b530
DM
361652012-05-07 David S. Miller <davem@davemloft.net>
36166
05760585
DM
36167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36168
7f18b530
DM
36169 [BZ #14074]
36170 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36171 (SETUP_PIC_REG): Use it.
36172 (SETUP_PIC_REG_LEAF): Use it.
36173
495fd99f
JM
361742012-05-07 Joseph Myers <joseph@codesourcery.com>
36175
36176 [BZ #13885]
36177 [BZ #13923]
36178 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36179 USE_AS_EXPM1L.
36180 (EXPL_FINITE): Likewise.
36181 (FLDLOG): Likewise.
36182 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36183 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36184 e_expl.S.
36185 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36186 USE_AS_EXPM1L.
36187 (EXPL_FINITE): Likewise.
36188 (FLDLOG): Likewise.
36189 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36190 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36191 e_expl.S.
36192 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36193 test of -max_value argument for long double.
36194 * sysdeps/i386/fpu/libm-test-ulps: Update.
36195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36196
6693d694
DM
361972012-05-06 David S. Miller <davem@davemloft.net>
36198
36199 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36200 quad soft-float symbols whose references which are compiler
36201 generated.
36202 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36203
6c23e11c
JM
362042012-05-06 Joseph Myers <joseph@codesourcery.com>
36205
d8b82cad
JM
36206 [BZ #13884]
36207 [BZ #13914]
36208 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36209 USE_AS_EXP10L.
36210 (EXPL_FINITE): Likewise.
36211 (FLDLOG): Likewise.
36212 (c0): Likewise.
36213 (c1): Likewise.
36214 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36215 Adjust comments for base varying.
36216 (__expl_finite): Change alias to EXPL_FINITE.
36217 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36218 e_expl.S.
36219 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36220 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36221 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36222 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36223 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36224 USE_AS_EXP10L.
36225 (EXPL_FINITE): Likewise.
36226 (FLDLOG): Likewise.
36227 (c0): Likewise.
36228 (c1): Likewise.
36229 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36230 Adjust comments for base varying.
36231 (__expl_finite): Change alias to EXPL_FINITE.
36232 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36233 tests for bugs.
36234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36235
6c23e11c
JM
36236 [BZ #14064]
36237 * math/libm-test.inc (check_float_internal): Correct ulp
36238 calculation for subnormal expected results.
36239
29ba805c
AJ
362402012-05-06 Andreas Jaeger <aj@suse.de>
36241
36242 * Makeconfig (+math-flags): New, set to -frounding-math.
36243 (+cflags): Add +math-flags so that all of glibc gets compiled with
36244 it.
36245
36246 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36247
7b17aeda
JM
362482012-05-05 Joseph Myers <joseph@codesourcery.com>
36249
5779f134
JM
36250 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36251 Disable one test.
36252
41498f4d
JM
36253 [BZ #13787]
36254 [BZ #13922]
36255 [BZ #14036]
36256 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36257 (__ieee754_expl): Allow for and saturate large arguments.
36258 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36259 (u_threshold): Likewise.
36260 (__exp): Call __ieee754_exp before checking for overflow and
36261 underflow.
36262 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36263 (u_threshold): Likewise.
36264 (__expf): Call __ieee754_expf before checking for overflow and
36265 underflow.
36266 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36267 (u_threshold): Likewise.
36268 (__expl): Call __ieee754_expl before checking for overflow and
36269 underflow.
36270 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36271 (__ieee754_expl): Allow for and saturate large arguments.
36272 * math/libm-test.inc (exp_test): Add another test. Do not allow
36273 missing overflow exception on overflow.
36274 (expm1_test): Do not allow missing overflow exception on overflow.
36275
6698b8bf
JM
36276 * sysdeps/i386/fpu/e_expl.c: Move to ...
36277 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36278 rather than using inline asm.
36279 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36280 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36281 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36282
7b17aeda
JM
36283 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36284 (nice): Likewise.
36285 (poll): Likewise.
36286 (signal): Likewise.
36287 (time): Likewise.
36288 (times): Likewise.
36289
f7c85819
JM
362902012-05-04 Joseph Myers <joseph@codesourcery.com>
36291
36292 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36293 sysdeps/unix/common/syscalls.list.
36294 (fchmod): Likewise.
36295 (fchown): Likewise.
36296 (ftruncate): Likewise.
36297 (getrusage): Likewise.
36298 (gettimeofday): Likewise.
36299 (setpgid): Likewise.
36300 (setregid): Likewise.
36301 (setreuid): Likewise.
36302 (sigaction): Likewise.
36303 (truncate): Likewise.
36304 (vhangup): Likewise.
36305 * sysdeps/unix/common/syscalls.list: Remove file.
36306 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36307 * sysdeps/unix/sysv/linux/Implies: Likewise.
36308
336270d0
L
363092012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36310
36311 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36313 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36314 Moved to ...
36315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36316 Here.
36317 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36318 to ...
36319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36320 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36321 to ...
36322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36323 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36324 to ...
36325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36326 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36327 to ...
36328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36329 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36330 to ...
36331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36332 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36333 to ...
36334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36335 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36336 to ...
36337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36338 Here.
36339 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36340 to ...
36341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36342 Here.
36343 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36344 to ...
36345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36346 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36347 Moved to ...
36348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36349 Here.
36350 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36351 to ...
36352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36353
d128e450
JM
363542012-05-04 Joseph Myers <joseph@codesourcery.com>
36355
fa8ee516
JM
36356 * sysdeps/unix/common/bits/dirent.h: Remove file.
36357 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36358
d128e450
JM
36359 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36360 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36361 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36362 * sysdeps/unix/bsd/isatty.c: Likewise.
36363 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36364 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36365 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36366
ff8faaf0 363672012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36368
62881be4 36369 [BZ #13563]
31dc8730
AZ
36370 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36371 long double comparison inaccuracies.
36372 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36374
6fef930c
AS
363752012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36376
36377 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36379
8f203e6c
JM
363802012-05-04 Joseph Myers <joseph@codesourcery.com>
36381
36382 [BZ #14049]
36383 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36384 nonzero digits before rounding a hex value.
36385 * stdlib/tst-strtod.c (tests): Add another test.
36386
5197d9c2
AK
363872012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36388
36389 * sysdeps/s390/fpu/libm-test-ulps: Update.
36390
f0c1dedf
AJ
363912012-05-03 Andreas Jaeger <aj@suse.de>
36392
36393 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36394 does not get optimized out.
36395 (malloc_opt_barrier): New.
36396
a65ef2ae 363972012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36398 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36399
2b942cb7 36400 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36401 intermediate file deletion.
2b942cb7 36402 (generated): Add .symlist files.
a65ef2ae 36403
54b71e02
JM
364042012-05-03 Joseph Myers <joseph@codesourcery.com>
36405
36406 [BZ #13775]
36407 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36408 Redirect under this condition.
36409 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36410 [__USE_GNU] (__dprintf_chk): Not under this condition.
36411 [__USE_GNU] (__vdprintf_chk): Likewise.
36412 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36413 under this condition.
36414 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36415 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36416 [__USE_XOPEN2K8] (vdprintf): Likewise.
36417 [__USE_GNU] (__dprintf_chk): Not under this condition.
36418 [__USE_GNU] (__vdprintf_chk): Likewise.
36419 [__USE_GNU] (dprintf): Likewise.
36420 [__USE_GNU] (vdprintf): Likewise.
36421
d3dfcc41
RM
364222012-05-03 Roland McGrath <roland@hack.frob.com>
36423
36424 * elf/Makefile (common-generated): Set this instead of generated for
36425 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36426 $(all-built-dso)-derived lists.
36427
7ac30cc5
AJ
364282012-05-03 Andreas Jaeger <aj@suse.de>
36429
0c51e550
AJ
36430 * sysdeps/i386/fpu/libm-test-ulps: Update.
36431
7ac30cc5
AJ
36432 * FAQ: Removed.
36433 * FAQ.in: Likewise.
36434 * scripts/gen-FAQ.pl: Likewise.
36435 * manual/install.texi (Installation): Point to online location of
36436 FAQ.
36437 * Makefile (files-for-dist): Remove FAQ.
36438 (FAQ): Remove.
36439
d4c2917f
AM
364402012-05-02 Allan McRae <allan@archlinux.org>
36441
36442 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36443 (LDFLAGS-reldepmod5.so): Likewise.
36444 (LDFLAGS-reldep6mod1.so): Likewise.
36445 (LDFLAGS-reldep6mod4.so): Likewise.
36446 (LDFLAGS-reldep8mod3.so): Likewise.
36447 (LDFLAGS-unload4mod1.so): Likewise.
36448 (LDFLAGS-unload4mod2.so): Likewise.
36449 (LDFLAGS-tst-initorder): Likewise.
36450 (LDFLAGS-tst-initordera2.so): Likewise.
36451 (LDFLAGS-tst-initordera3.so): Likewise.
36452 (LDFLAGS-tst-initordera4.so): Likewise.
36453 (LDFLAGS-tst-initorderb2.so): Likewise.
36454 (LDFLAGS-noload): Likewise.
36455 (LDFLAGS-next): Likewise.
36456 (LDFLAGS-order2mod1.so): Likewise.
36457 (LDFLAGS-order2mod2.so): Likewise.
36458 (LDFLAGS-tst-initorder2): Likewise.
36459 (LDFLAGS-tst-initorder2a.so): Likewise.
36460 (LDFLAGS-tst-initorder2b.so): Likewise.
36461 (LDFLAGS-tst-initorder2c.so): Likewise.
36462 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36463
d77f993f
DM
364642012-05-02 David S. Miller <davem@davemloft.net>
36465
36466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36467
171a70b4
PP
364682012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36469
36470 [BZ #14055]
36471 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36472
0be196ad
AJ
364732012-05-02 Andreas Jaeger <aj@suse.de>
36474
36475 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36476 since we manipulate rounding mode.
36477 (CPPFLAGS-test-idouble.c): Likewise.
36478 (CPPFLAGS-test-ifloat.c): Likewise.
36479 (CFLAGS-test-ldouble.c): Likewise.
36480 (CFLAGS-test-double.c): Likewise.
36481 (CFLAGS-test-float.c): Likewise.
36482 (CFLAGS-test-misc.c): Likewise.
36483 (CFLAGS-test-test-fenv.c): Likewise.
36484
4f9d04aa
AZ
364852012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36486
2b942cb7
RM
36487 [BZ #2550]
36488 [BZ #2570]
36489 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36490 comparisons to determine direction to adjust input.
4f9d04aa 36491
82a79e7d
RM
364922012-05-01 Roland McGrath <roland@hack.frob.com>
36493
f5a01ca9
RM
36494 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36495 output to the target.
36496
90fe4186
RM
36497 * scripts/localplt.awk: New file.
36498 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36499 (check-localplt-CFLAGS): Variable removed.
36500 ($(all-built-dso:=.jmprel)): New static pattern rule.
36501 (generated): Add those targets.
36502 (localplt-built-dso): New variable.
36503 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36504
36505 * elf/check-localplt.c: File removed.
36506
82397ed6
RM
36507 * scripts/check-execstack.awk: New file.
36508 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36509 (check-execstack-CFLAGS): Variable removed.
36510 ($(objpfx)check-execstack.h): Target removed.
36511 ($(objpfx)execstack-default): New target.
36512 (generated): Add that instead of check-execstack.h.
36513 ($(all-built-dso:=.phdr)): New static pattern rule.
36514 (generated): Add those targets.
36515 * elf/check-execstack.c: File removed.
36516
82a79e7d
RM
36517 * scripts/check-textrel.awk: New file.
36518 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36519 (check-textrel-CFLAGS): Variable removed.
36520 (all-built-dso): Use := to define.o
36521 ($(all-built-dso:=.dyn)): New static pattern rule.
36522 (generated): Add those targets.
36523 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36524 * config.make.in (READELF): New substituted variable.
36525 * elf/check-textrel.c: File removed.
36526
62fde54f 365272012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36528
615605c9
JM
36529 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36530 allow.
36531 * conform/data/ctype.h-data [C99-based standards] (isblank):
36532 Expect function.
36533 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36534 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36535 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36536 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36537 Specify type. Require positive value.
36538 (EILSEQ): Likewise.
36539 (ERANGE): Likewise.
36540 [ISO || POSIX] (EILSEQ): Do not expect.
36541 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36542 Specify type. Require positive value.
36543 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36544 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36545 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36546 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36547 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36548 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36549 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36550 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36551 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36552 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36553 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36554 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36555 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36556 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36557 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36558 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36559 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36560 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36561 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36562 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36563 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36564 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36565 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36566 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36567 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36568 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36569 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36570 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36571 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36572 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36573 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36574 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36575 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36576 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36577 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36578 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36579 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36580 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36581 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36582 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36583 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36584 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36585 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36586 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36587 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36588 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36589 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36590 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36591 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36592 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36593 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36594 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36595 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36596 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36597 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36598 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36599 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36600 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36601 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36602 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36603 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36604 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36605 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36606 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36607 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36608 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36609 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36610 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36611 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36612 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36613 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36614 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36615 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36616 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36617 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36618 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36619 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36620 Require >= 2.
36621 (FLT_ROUNDS): Expect as macro, not constant.
36622 (FLT_MANT_DIG): Use macro-int-constant.
36623 (DBL_MANT_DIG): Likewise.
36624 (LDBL_MANT_DIG): Likewise.
36625 (FLT_DIG): Likewise.
36626 (DBL_DIG): Likewise.
36627 (LDBL_DIG): Likewise.
36628 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36629 (DBL_MIN_EXP): Likewise.
36630 (LDBL_MIN_EXP): Likewise.
36631 (FLT_MAX_EXP): Use macro-int-constant.
36632 (DBL_MAX_EXP): Likewise.
36633 (LDBL_MAX_EXP): Likewise.
36634 (FLT_MAX_10_EXP): Likewise.
36635 (DBL_MAX_10_EXP): Likewise.
36636 (LDBL_MAX_10_EXP): Likewise.
36637 (FLT_MAX): Use macro-constant.
36638 (DBL_MAX): Likewise.
36639 (LDBL_MAX): Likewise.
36640 (FLT_EPSILON): Use macro-constant. Give upper bound.
36641 (DBL_EPSILON): Likewise.
36642 (LDBL_EPSILON): Likewise.
36643 (FLT_MIN): Likewise.
36644 (DBL_MIN): Likewise.
36645 (LDBL_MIN): Likewise.
36646 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36647 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36648 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36649 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36650 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36651 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36652 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36653 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36654 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36655 [ISO11] (FLT_TRUE_MIN): Likewise.
36656 [ISO11] (LDBL_TRUE_MIN): Likewise.
36657 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36658 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36659 (SCHAR_MIN): Use macro-int-constant. Specify type.
36660 (SCHAR_MAX): Likewise.
36661 (UCHAR_MAX): Likewise.
36662 (CHAR_MIN): Likewise.
36663 (CHAR_MAX): Likewise.
36664 (MB_LEN_MAX): Use macro-int-constant.
36665 (SHRT_MIN): Use macro-int-constant. Specify type.
36666 (SHRT_MAX): Likewise.
36667 (USHRT_MAX): Likewise.
36668 (INT_MAX): Likewise.
36669 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36670 bound negative.
36671 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36672 bound with "U".
36673 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36674 bound with "L".
36675 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36676 bound negative. Suffix upper bound with "L".
36677 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36678 bound with "UL".
36679 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36680 Specify type.
36681 [C99-based standards] (LLONG_MAX): Likewise.
36682 [C99-based standards] (ULLONG_MAX): Likewise.
36683 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36684 == 0.
36685 [ISO11] (max_align_t): Require type.
36686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36687
c9140a62
JM
36688 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36689 from $CFLAGS, without defining away __attribute__ calls.
36690 (checknamespace): Use $CFLAGS_namespace.
36691
9af0bf29
JM
36692 * conform/conformtest.pl (@keywords): Only include C99 keywords
36693 for standards based on C99 or C11.
36694
343222a2
JM
36695 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36696 Disable tests.
36697 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36698 UNIX98]: Likewise.
36699
661f8cf0
JM
36700 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36701 usability of symbols in #if.
36702
ee74b9cb
JM
36703 * conform/conformtest.pl: If macro or constant types start
36704 "promoted:", expect the symbol to be of the following type
36705 promoted by the integer promotions.
62fde54f 36706
aafc49b3
JM
36707 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36708 in one place. Also handle "macro-constant".
36709
fefdf574
JM
36710 * conform/conformtest.pl: Only accept expected macro values with
36711 "==". Parse all "macro" lines in one place.
36712 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36713
f2d922fe
JM
36714 * conform/conformtest.pl: Handle braced types on "constant" lines
36715 instead of handling "typed-constant".
36716 * conform/data/signal.h-data: Use "constant" instead of
36717 "typed-constant".
36718
d22956c9
JM
36719 * conform/conformtest.pl: Handle "optional-" at start of lines in
36720 one place rather than duplicating several cases. Handle each
36721 format of "macro" line with initial "optional-".
36722
028e2e38
JM
36723 * conform/conformtest.pl: Only accept expected constant or
36724 optional-constant values with "==". Parse all "constant" lines in
36725 one place. Parse all "optional-constant" lines in one place.
36726 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36727 * conform/data/fmtmsg.h-data: Likewise.
36728 * conform/data/netinet/in.h-data: Likewise.
36729 * conform/data/tar.h-data: Likewise.
36730 * conform/data/limits.h-data: Use "==" form on "constant" and
36731 "optional-constant" lines.
36732
1b8f2850
JM
36733 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36734 Use -std=c99 for XOPEN2K.
36735 (@knownproblems): Remove.
36736 (newtoken): Don't check %isknown.
36737
a05a144b
JM
36738 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36739 Do not expect macro.
36740 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36741 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36742 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36743 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36744 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36745 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36746 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36747 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36748 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36749 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36750 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36751 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36752 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36753 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36754 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36755 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36756 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36757 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36758 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36759 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36760 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36761 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36762 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36763 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36764 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36765 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36766 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36767 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36768 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36769 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36770 [XPG3] (acosh): Likewise.
36771 [XPG3] (asinh): Likewise.
36772 [XPG3] (atanh): Likewise.
36773 [XPG3] (cbrt): Likewise.
36774 [XPG3] (expm1): Likewise.
36775 [XPG3] (ilogb): Likewise.
36776 [XPG3] (log1p): Likewise.
36777 [XPG3] (logb): Likewise.
36778 [XPG3] (nextafter): Likewise.
36779 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36780 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36781 [XPG3] (remainder): Likewise.
36782 [XPG3] (rint): Likewise.
36783 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36784 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36785 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36786 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36787 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36788 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36789 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36790 [UNIX98 || XOPEN2K] (scalb): Expect.
36791 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36792 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36793 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36794 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36795 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36796 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36797 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36798 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36799 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36800 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36801 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36802 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36803 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36804 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36805 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36806 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36807 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36808 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36809 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36810 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36811 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36812 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36813 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36814 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36815 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36816 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36817 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36818 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36819 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36820 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36821 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36822 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36823 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36824 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36825 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36826 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36827 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36828 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36829 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36830 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36831 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36832 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36833 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36834 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36835 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36836 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36837 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36838 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36839 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36840 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36841 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36842 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36843 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36844 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36845 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36846 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36847 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36848 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36849 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36850 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36851 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36852 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36853 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36854 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36855 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36856 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36857 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36858 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36859 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36860 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36861 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36862 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36863 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36864 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36865 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36866 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36867 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36868 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36869 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36870 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36871 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36872 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36873 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36874 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36875 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36876 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36877 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36878 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36879 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36880 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36881 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36882 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36883 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36884 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36885 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36886 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36887 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36888 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36889 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36890 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36891 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36892 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36893 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36894 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36895 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36896 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36897 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36898 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36899 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36900 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36901 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36902 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36903 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36904 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36905 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36906 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36907 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36908 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36909 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36910 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36911 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36912 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36913 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36914 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36915 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36916 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36917 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36918 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36919 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36920 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36921 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36922 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36923 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36924 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36925 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36926 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36927 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36928
73c5ebe3
JM
36929 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36930 _XOPEN_SOURCE_EXTENDED for XPG4.
36931
39c33b6c
JM
36932 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36933
62fde54f
JM
36934 * Makeconfig (localtime): Remove variable.
36935 (inst_localtime-file): Likewise.
36936
0741d64c
AS
369372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36938
36939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36940 Update.
36941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36942 Update.
36943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36944 Update.
36945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36946 Update.
36947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36948 Update.
36949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36950 Update.
36951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36952 Update.
36953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36954 Update.
36955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36956 Update.
36957
7cb029ee
JM
369582012-05-01 Joseph Myers <joseph@codesourcery.com>
36959
36960 [BZ #2550]
36961 [BZ #2570]
36962 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36963 comparisons to determine direction to adjust input.
36964 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36965 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36966 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36967 Likewise.
36968 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36969 Likewise.
36970 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36971 Likewise.
36972 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36973 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36974 Likewise.
36975 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36976 Likewise.
36977 * math/libm-test.inc (nexttoward_test): Add more tests.
36978
412bd966
AS
369792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36980
36981 [BZ #14040]
36982 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36983 in version GLIBC_2.1, not GLIBC_2.0.
36984 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36985 Likewise.
36986
9568c0c2
JM
369872012-04-30 Joseph Myers <joseph@codesourcery.com>
36988
adfbc8ac
JM
36989 [BZ #13942]
36990 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36991 (1 - x) * (1 + x).
36992 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36993 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36994 * math/libm-test.inc (acos_test): Add more tests.
36995 (asin_test): Likewise.
36996 * sysdeps/i386/fpu/libm-test-ulps: Update.
36997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36998
5ba3cc69
JM
36999 [BZ #14034]
37000 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37001 of square root.
37002 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37003 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37004 * math/libm-test.inc (acos_test_tonearest): New function.
37005 (acos_test_towardzero): Likewise.
37006 (acos_test_downward): Likewise.
37007 (acos_test_upward): Likewise.
37008 (asin_test_tonearest): Likewise.
37009 (asin_test_towardzero): Likewise.
37010 (asin_test_downward): Likewise.
37011 (asin_test_upward): Likewise.
37012 (main): Call the new functions.
37013 * sysdeps/i386/fpu/libm-test-ulps: Update.
37014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37015
9568c0c2
JM
37016 [BZ #13884]
37017 [BZ #13924]
37018 * math/e_exp10.c: Include <float.h>.
37019 (__ieee754_exp10): Handle underflow here rather than multiplying
37020 large negative argument by M_LN10.
37021 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37022 of __ieee754_expf.
37023 * math/e_exp10l.c: Include <float.h>.
37024 (__ieee754_exp10l): Handle underflow here rather than multiplying
37025 large negative argument by M_LN10l.
37026 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37027 spurious overflow exception on underflow.
37028
5ac3ea17
MP
370292012-04-29 Marek Polacek <polacek@redhat.com>
37030
37031 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37032 (__fortify_function): New macro.
37033 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37034 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37035 __extern_always_inline.
37036 * libio/bits/stdio2.h: Likewise.
37037 * libio/bits/stdio.h: Likewise.
37038 * string/string.h: Likewise.
37039 * string/bits/string3.h: Likewise.
37040 * include/stdio.h: Likewise.
37041 * stdlib/bits/stdlib.h: Likewise.
37042 * stdlib/stdlib.h: Likewise.
37043 * rt/bits/mqueue2.h: Likewise.
37044 * rt/mqueue.h: Likewise.
37045 * posix/bits/unistd.h: Likewise.
37046 * posix/unistd.h: Likewise.
37047 * io/bits/poll2.h: Likewise.
37048 * io/bits/fcntl2.h: Likewise.
37049 * io/fcntl.h: Likewise.
37050 * io/sys/poll.h: Likewise.
37051 * misc/bits/syslog.h: Likewise.
37052 * misc/bits/syslog-ldbl.h: Likewise.
37053 * misc/sys/syslog.h: Likewise.
37054 * socket/bits/socket2.h: Likewise.
37055 * socket/sys/socket.h: Likewise.
37056 * debug/tst-chk1.c: Likewise.
37057 * wcsmbs/bits/wchar2.h: Likewise.
37058 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37059 * wcsmbs/wchar.h: Likewise.
37060
ecf0ebfb
AJ
370612012-04-29 Andreas Jaeger <aj@suse.de>
37062
37063 * Makerules (tests): Remove enable-check-abi protection.
37064 (check-abi-warn): Remove.
37065 (check-abi-%): Remove check-abi-warn usage.
37066
37067 * configure.in: Remove check-abi configure option.
37068 * configure: Regenerated.
37069 * config.make.in (enable-check-abi): Remove.
37070
6d5c57fa
AS
370712012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37072
24c5d07e 37073 [BZ #14033]
ded5180a
AS
37074 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37075 double functions to double *_finite functions.
37076
7e0d315d
AS
37077 [BZ #13941]
37078 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37079 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37080 LDBL_MIN_EXP.
37081 * stdio-common/Makefile (tests): Add tst-sprintf3.
37082 * stdio-common/tst-sprintf3.c: New file.
37083
6d5c57fa
AS
37084 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37085 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37086
0749ff8b
JM
370872012-04-28 Joseph Myers <joseph@codesourcery.com>
37088
37089 * conform/conformtest.pl: Remove duplicate typed-constant
37090 handling.
37091
8dbd5d7b
DM
370922012-04-28 David S. Miller <davem@davemloft.net>
37093
37094 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37095 (check-abi-%): Remove AWK script prerequisite and explicit
37096 abilist directory.
37097 (check-abi): Rewrite to just diff the symlist with the abilist.
37098 (config-tls, config-abi-config): Delete, no longer used.
37099 (update-abi-%): Remove AWK script and explicit abilist directory.
37100 (update-abi): Rewrite to simply compare and conditionally copy the
37101 symlist and the sysdep abilist file. Remove update-abi-config
37102 checks.
37103 * abilist/ld.abilist: Remove.
37104 * abilist/libBrokenLocale.abilist: Remove.
37105 * abilist/libanl.abilist: Remove.
37106 * abilist/libcrypt.abilist: Remove.
37107 * abilist/libdl.abilist: Remove.
37108 * abilist/librt.abilist: Remove.
37109 * abilist/libthread_db.abilist: Remove.
37110 * abilist/libutil.abilist: Remove.
37111 * scripts/extract-abilist.awk: Remove.
37112 * scripts/merge-abilist.awk: Remove.
37113 * sysdeps/generic/libcidn.abilist: New file.
37114 * sysdeps/generic/libnss_compat.abilist: New file.
37115 * sysdeps/generic/libnss_db.abilist: New file.
37116 * sysdeps/generic/libnss_dns.abilist: New file.
37117 * sysdeps/generic/libnss_files.abilist: New file.
37118 * sysdeps/generic/libnss_hesiod.abilist: New file.
37119 * sysdeps/generic/libnss_nis.abilist: New file.
37120 * sysdeps/generic/libnss_nisplus.abilist: New file.
37121 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37122 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37123 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37124 file.
37125 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37126 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37127 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37128 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37129 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37130 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37131 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37132 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37133 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37134 file.
37135 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37136 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37137 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37138 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37139 file.
37140 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37141 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37142 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37143 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37144 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37145 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37146 file.
37147 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37148 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37149 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37150 file.
37151 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37153 New file.
37154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37155 New file.
37156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37157 New file.
37158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37159 New file.
37160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37161 New file.
37162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37163 New file.
37164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37165 New file.
37166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37167 New file.
37168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37169 New file.
37170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37171 New file.
37172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37173 New file.
37174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37175 New file.
37176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37177 New file.
37178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37179 file.
37180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37181 New file.
37182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37183 New file.
37184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37185 file.
37186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37187 New file.
37188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37189 New file.
37190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37191 file.
37192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37193 New file.
37194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37195 New file.
37196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37197 New file.
37198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37199 New file.
37200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37201 New file.
37202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37203 New file.
37204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37206 file.
37207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37208 New file.
37209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37210 file.
37211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37212 file.
37213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37214 file.
37215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37216 file.
37217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37218 file.
37219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37220 New file.
37221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37222 file.
37223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37224 file.
37225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37226 New file.
37227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37228 file.
37229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37231 file.
37232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37233 New file.
37234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37235 file.
37236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37237 file.
37238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37239 file.
37240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37241 file.
37242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37243 file.
37244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37245 New file.
37246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37247 file.
37248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37249 file.
37250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37251 New file.
37252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37253 file.
37254 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37255 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37256 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37257 file.
37258 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37259 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37260 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37261 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37262 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37263 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37264 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37265 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37266 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37267 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37270 file.
37271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37272 New file.
37273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37274 file.
37275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37276 file.
37277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37278 file.
37279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37280 file.
37281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37282 file.
37283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37284 New file.
37285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37286 New file.
37287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37288 file.
37289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37290 New file.
37291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37292 file.
37293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37295 file.
37296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37297 New file.
37298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37299 file.
37300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37301 file.
37302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37303 file.
37304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37305 file.
37306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37307 file.
37308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37309 New file.
37310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37311 New file.
37312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37313 file.
37314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37315 New file.
37316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37317 file.
37318
41d73a1b
JM
373192012-04-28 Joseph Myers <joseph@codesourcery.com>
37320
37321 * conform/conformtest.pl: Fix typo in handling typed-constant from
37322 allow-header.
37323
28aeeda4
JM
373242012-04-27 Joseph Myers <joseph@codesourcery.com>
37325
adae8f5e
JM
37326 * README: Cut down references to pre-2.6 Linux kernels and
37327 Linuxthreads. Update lists of configurations in libc and ports
37328 and sort alphabetically. Say "or newer" with Linux kernel version
37329 requirements.
37330
28aeeda4
JM
37331 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37332
a462cb63
RA
373332012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37334
37335 [BZ #887]
37336 * math/libm-test.inc (logb_test_downward): New test to expose
37337 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37338 rounding mode.
37339
6ad3493e
JM
373402012-04-27 Joseph Myers <joseph@codesourcery.com>
37341
37342 [BZ #14027]
37343 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37344 to be done.
37345 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37346 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37347
2ce4f015
JM
373482012-04-26 Joseph Myers <joseph@codesourcery.com>
37349
5aeb141a
JM
37350 * sysdeps/unix/i386/brk.S: Remove file.
37351 * sysdeps/unix/i386/dl-brk.S: Likewise.
37352 * sysdeps/unix/i386/pipe.S: Likewise.
37353 * sysdeps/unix/i386/sigreturn.S: Likewise.
37354 * sysdeps/unix/i386/syscall.S: Likewise.
37355 * sysdeps/unix/i386/vfork.S: Likewise.
37356 * sysdeps/unix/i386/wait.S: Likewise.
37357
7143acae
JM
37358 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37359 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37360
2ce4f015
JM
37361 * configure.in (arm*-none*): Do not allow without
37362 --enable-hacker-mode.
37363 (netbsd*): Remove case setting base_os.
37364 (386bsd*): Likewise.
37365 (freebsd*): Likewise.
37366 (bsdi*): Likewise.
37367 (osf*): Likewise.
37368 (sunos*): Likewise.
37369 (ultrix*): Likewise.
37370 (newsos*): Likewise.
37371 (dynix*): Likewise.
37372 (*bsd*): Likewise.
37373 (sysv*): Likewise.
37374 (isc*): Likewise.
37375 (esix*): Likewise.
37376 (sco*): Likewise.
37377 (minix*): Likewise.
37378 (irix4*): Likewise.
37379 (irix6*): Likewise.
37380 (solaris[2-9]*): Likewise.
37381 (none): Likewise.
37382 * configure: Regenerated.
37383
0ac229c8
AZ
373842012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37385
37386 [BZ #11521]
37387 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37388 overflow or cancellation in calculating denominator.
37389 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37390 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37391 down expression to avoid unexpected rounding in newer GCCs.
37392 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37393
33f244f4
DM
373942012-04-26 David S. Miller <davem@davemloft.net>
37395
37396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37397 long-double compat symbols.
37398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37411
cfa1f3e8
DM
374122012-04-25 David S. Miller <davem@davemloft.net>
37413
37414 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37415 HWCAP_* values only after the memory barriers have been defined.
37416 (atomic_full_barrier): Define.
37417 (atomic_read_barrier): Define.
37418 (atomic_write_barrier): Define.
37419
6e236b92
SP
374202012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37421
37422 * shlib-versions: Add libgcc_s version information.
37423 * sysdeps/generic/libgcc_s.h: Remove.
37424 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37425 libgcc_s.h.
37426 * sysdeps/gnu/unwind-resume.c: Likewise.
37427 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37428
aab39a09
DM
374292012-04-25 David S. Miller <davem@davemloft.net>
37430
37431 * sysdeps/unix/sparc/brk.S: Delete.
37432 * sysdeps/unix/sparc/dl-brk.S: Delete.
37433 * sysdeps/unix/sparc/pipe.S: Delete.
37434 * sysdeps/unix/sparc/sysdep.S: Delete.
37435 * sysdeps/unix/sparc/sysdep.h: Delete.
37436 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37437 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37438 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37439 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37440 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37441 (JUMPTARGET): Remove.
37442 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37443 sysdeps/unix/sparc/sysdep.h
37444 (ENTRY, END): Remove.
37445 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37446
a3cc4f48
JM
374472012-04-25 Joseph Myers <joseph@codesourcery.com>
37448
2ed8cda2
JM
37449 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37450 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37451 -DIS_IN_build.
37452
35d76d59
JM
37453 * timezone/README: Update upstream location and email address for
37454 tzcode and tzdata.
37455 * timezone/zdump.c: Update from tzcode 2012b.
37456 * timezone/zic.c: Likewise.
37457
a3cc4f48
JM
37458 * configure.in (libc_cv_as_needed): Remove test.
37459 * configure: Regenerated.
37460 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37461 conditional definition.
37462 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37463 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37464 * config.make.in (have-as-needed): Remove variable.
37465
ceab42c3
SP
374662012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37467 Paul Pluzhnikov <ppluzhnikov@google.com>
37468
37469 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37470 strings correctly.
37471
3ce2865f
CLT
374722012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37473
37474 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37475 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37476 * sysdeps/sh/strlen.S: Likewise.
37477
f37e0d68
JM
374782012-04-24 Joseph Myers <joseph@codesourcery.com>
37479
ae186e9a
JM
37480 * sysdeps/unix/fork.S: Remove file.
37481 * sysdeps/unix/i386/fork.S: Likewise.
37482 * sysdeps/unix/sparc/fork.S: Likewise.
37483
b96914af
JM
37484 * sysdeps/unix/system.c: Remove file.
37485 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37486
f37e0d68
JM
37487 * sysdeps/unix/getegid.S: Remove file.
37488 * sysdeps/unix/geteuid.S: Likewise.
37489
87ef29ca
RM
374902012-04-24 Roland McGrath <roland@hack.frob.com>
37491
83bcd236
RM
37492 * scripts/check-localplt.awk: New file.
37493 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37494 of diff.
37495 * scripts/data/localplt-generic.data: Add a comment.
37496
87ef29ca
RM
37497 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37498 NODE when __dir_mkfile failed.
37499 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37500 Reported by Ludovic Courtès <ludo@gnu.org>.
37501
e5a6e567
AJ
375022012-04-24 Andreas Jaeger <aj@suse.de>
37503
37504 * Makerules (common-clean): Also remove gen-as-const-headers
37505 files.
37506
c1820385
JM
375072012-04-24 Joseph Myers <joseph@codesourcery.com>
37508
37509 * Makerules (native-compile): Do not change working directory for
37510 build. Use $(OUTPUT_OPTION) in command.
37511 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37512
94e02fc4
AZ
375132012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37514
37515 [BZ #13886]
37516 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37517 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37518 * math/libm-test.inc (floor_test): Add more tests.
37519 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37520
3a533ca3
JM
375212012-04-24 Joseph Myers <joseph@codesourcery.com>
37522
940ab4b3
JM
37523 * sysdeps/unix/getdents.c: Remove file.
37524 * sysdeps/unix/sysv/getdents.c: Likewise.
37525 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37526
90e037bd
JM
37527 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37528 sysdeps/unix/mman/syscalls.list.
37529 (mmap): Likewise.
37530 (mprotect): Likewise.
37531 (msync): Likewise.
37532 (munmap): Likewise.
37533 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37534 * sysdeps/unix/mman/syscalls.list: Remove.
37535 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37536
3a533ca3
JM
37537 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37538 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37539 * configure: Regenerated.
37540 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37541 $(libgcc_s_suffix).
37542 * config.make.in (libgcc_s_suffix): Remove variable.
37543
1ad743de
JM
375442012-04-23 Joseph Myers <joseph@codesourcery.com>
37545
4ad451e2
JM
37546 * sysdeps/unix/sysv/gethostname.c: Move to ...
37547 * sysdeps/posix/gethostname.c: ... here.
37548
5e37ce39
JM
37549 * sysdeps/unix/execve.S: Remove file.
37550
1ad743de
JM
37551 * sysdeps/unix/_exit.S: Remove file.
37552
4e681b5b
AJ
375532012-04-23 Andreas Jaeger <aj@suse.de>
37554
37555 [BZ #13739]
37556 * manual/Makefile: Remove make dist support, there's no
37557 need for a stand-alone documentation tar ball.
37558 (TEXI2DVI): Define always, it's not in Makeconfig.
37559 (dist): Removed.
37560 (tar-it): Removed.
37561 (edition): Removed.
37562 (glibc-doc-$(edition).tar): Removed
37563 (%.Z): Removed.
37564 (%.gz): Removed.
37565 (%.uu): Removed.
37566 (ETAGS): Remove, it's in Makeconfig.
37567 (move-if-change): Remove, it's in Makeconfig.
37568
38686a03 375692012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
37570
37571 [BZ #13970]
37572 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37573 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37574 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37575 (strtod_l, strtof_l, strtold_l): Remove __wur.
37576 It is not necessarily an error to ignore strtol's return value.
37577 One can reliably look at the stored endptr to decide whether
37578 the number had valid syntax.
37579
7c0616fa
AJ
375802012-04-21 Andreas Jaeger <aj@suse.de>
37581
803cb6b7 37582 [BZ #13739]
7c0616fa
AJ
37583 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37584
b0fe253f
JM
375852012-04-21 Joseph Myers <joseph@codesourcery.com>
37586
37587 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37588 * sysdeps/unix/sysv/Versions: Remove file.
37589
8280f22d
MT
375902012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37591
37592 [BZ #13927]
37593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37594
75ce411f 375952012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
37596
37597 [BZ #7064]
37598 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37599 version from __vm86.
37600
097d59fa
JM
376012012-04-20 Joseph Myers <joseph@codesourcery.com>
37602
a90f3bcb
JM
37603 * sysdeps/unix/common/lxstat.c: Remove file.
37604 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37605
edc7ea78
JM
37606 * sysdeps/unix/sysv/Makefile: Remove file.
37607
cb78c221
JM
37608 * sysdeps/unix/sysv/direct.h: Remove file.
37609
efa6a45f
JM
37610 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37611 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37612 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37613 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37614 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37615 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37616 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37617
9c9f2d0c
JM
37618 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37619
4541c83b
JM
37620 * sysdeps/unix/xmknod.c: Remove file.
37621 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37622
f5d153a0
JM
37623 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37624
aa746595
JM
37625 * sysdeps/unix/sysv/i386/time.S: Remove file.
37626
cce5905e
JM
37627 * sysdeps/unix/fxstat.c: Remove file.
37628 * sysdeps/unix/xstat.c: Likewise.
37629 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37630
37fa3841
JM
37631 * sysdeps/unix/sysv/sigaction.c: Remove file.
37632
ff1962a3
JM
37633 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37634 (sysdep_headers): Remove variable.
37635 [termio.h not in sysdep_headers] (generated): Likewise.
37636 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37637 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37638 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37639 * sysdeps/unix/sysv/tcflow.c: Likewise.
37640 * sysdeps/unix/sysv/tcflush.c: Likewise.
37641 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37642 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37643 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37644 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37645 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37646
e7740d31
JM
37647 * sysdeps/unix/siglist.c: Remove file.
37648
ee06f18b
JM
37649 * sysdeps/unix/getppid.S: Remove file.
37650
097d59fa
JM
37651 * sysdeps/unix/mkdir.c: Remove file.
37652 * sysdeps/unix/rmdir.c: Likewise.
37653
ff3d51ec
AS
376542012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37655
37656 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37657 ERR_MAX value.
37658 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37659 errlist-compat value.
37660
50f81fd7
DM
376612012-04-18 David S. Miller <davem@davemloft.net>
37662
37663 * sysdeps/generic/memcopy.h (reg_char): Delete.
37664 * debug/strcat_chk.c: Use char, not reg_char.
37665 * debug/strcpy_chk.c: Likewise.
37666 * debug/strncat_chk.c: Likewise.
37667 * debug/strncpy_chk.c: Likewise.
37668 * string/memchr.c: Likewise.
37669 * string/memrchr.c: Likewise.
37670 * string/rawmemchr.c: Likewise.
37671 * string/strcat.c: Likewise.
37672 * string/strchr.c: Likewise.
37673 * string/strchrnul.c: Likewise.
37674 * string/strcmp.c: Likewise.
37675 * string/strcpy.c: Likewise.
37676 * string/strncat.c: Likewise.
37677 * string/strncmp.c: Likewise.
37678 * string/strncpy.c: Likewise.
37679
8ff41c46
WS
376802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37681
37682 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37683 __builtin_memcopy is called when src and dest ranges are known to not
37684 overlap.
37685
6b652f46
WS
376862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37687
37688 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37689 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37690 fwd_align_merge macro call.
37691 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37692 bwd_align_merge macro call.
37693 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37694
b282631e
WS
376952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37696
37697 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37698 bwd_align_merge macros.
37699 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37700 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37701 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37702
95aa737c
DM
377032012-04-18 David S. Miller <davem@davemloft.net>
37704
37705 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37706
7a99a614
AJ
377072012-04-18 Andreas Jaeger <aj@suse.de>
37708
37709 [BZ# 6794]
37710 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37711 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37712 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37713
37714 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37715 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37716 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37717
37718 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37719 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37720 Adjust for changed ldbl-128 files.
37721
37722 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37723 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37724 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37725
e5270c23
DM
377262012-04-17 David S. Miller <davem@davemloft.net>
37727
37728 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37729
fb5e92c9
AS
377302012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37731
37732 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37733 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37734 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37735 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37736 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37737 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37738
76da7265
AZ
377392012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37740
37741 [BZ #6794]
37742 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37743 * math/libm-test.inc: Add ilogb errno and exception tests.
37744 * math/w_ilogb.c: New file: ilogb wrapper.
37745 * math/w_ilogbf.c: New file: ilogbf wrapper.
37746 * math/w_ilogbl.c: New file: ilogbl wrapper.
37747 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37748 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37749 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37750 exception being thrown with 0.0 as argument.
37751 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37752 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37753 exception being thrown with 0.0 as argument.
37754 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37755 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37756 exception being thrown with 0.0 as argument.
37757 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37758 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37759 exception being thrown with 0.0 as argument.
37760 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37761 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 37762 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
37763 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37764 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37765 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37766 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37767 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37768 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37769
0396e69d
PB
377702012-04-17 Petr Baudis <pasky@ucw.cz>
37771
37772 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37773 with altivec.
37774
750b5926
MP
377752012-04-16 Marek Polacek <polacek@redhat.com>
37776
37777 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37778
751728a1
MP
377792012-04-16 Marek Polacek <polacek@redhat.com>
37780
37781 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37782 operands of fdivp instruction.
37783
34a27407
L
377842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37785
37786 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37787 * elf/tst-auditmod3b.c: Likewise.
37788 * elf/tst-auditmod4b.c: Likewise.
37789 * elf/tst-auditmod5b.c: Likewise.
37790 * elf/tst-auditmod6b.c: Likewise.
37791 * elf/tst-auditmod6c.c: Likewise.
37792 * elf/tst-auditmod7b.c: Likewise.
37793 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37794 * sysdeps/x86_64/preconfigure.in: Likewise.
37795 * sysdeps/x86_64/preconfigure: Regenerated.
37796
7e73e17d
L
377972012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37798
37799 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37800 __ILP32__.
37801
c7a6ab72
AB
378022012-04-13 Antoine Balestrat <merkil33@gmail.com>
37803
37804 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37805 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37806
a9e8e0e0
CL
378072012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37808
37809 [BZ #13973]
37810 * locale/iso-639.def: Fix gl language name. Spotted by
37811 Yaron Shahrabani.
37812
ec98af7d
RM
378132012-04-12 Roland McGrath <roland@hack.frob.com>
37814
37815 [BZ #2074]
37816 * libio/libio.h (__io_write_fn): Update comment.
37817
247c3ede
PB
378182012-04-12 Petr Baudis <pasky@ucw.cz>
37819
37820 [BZ #2074]
37821 * stdio.texi (Hook Functions): The user provided writer function
37822 is not allowed to return -1.
37823
55939d6d
DM
378242012-04-11 David S. Miller <davem@davemloft.net>
37825
37826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37827
90020f5a
MF
378282012-04-11 Mike Frysinger <vapier@gentoo.org>
37829
37830 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37831 Add a leading slash to rtkaio.
37832
288f9098
JM
378332012-04-11 Jim Meyering <meyering@redhat.com>
37834
90020f5a
MF
37835 [BZ #11959]
37836 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37837 It is not necessarily an error to ignore fwrite's return
37838 value. One can reliably use ferror to test for errors after
37839 the fact.
288f9098 37840
4be2b570
L
378412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37842
37843 * bits/types.h (__snseconds_t): New type.
37844 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37845
37846 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37847 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37848 (__SNSECONDS_T_TYPE): Likewise.
37849 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37850 (__SNSECONDS_T_TYPE): Likewise.
37851 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37852 (__SNSECONDS_T_TYPE): Likewise.
37853
288f9098 378542012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
37855
37856 [BZ #2636]
37857 * manual/time.texi (Processor Time): Return type of times is
37858 elapsed real time since an arbitrary point in the past.
37859 (CPU Time): Move CLK_TCK from here...
37860 (Processor Time): ...to here. Correct description.
37861 * manual/conf.texi (Constants for Sysconf): Correct description of
37862 _SC_CLK_TCK.
37863
d7dd4413
DM
378642012-04-10 David S. Miller <davem@davemloft.net>
37865
37866 [BZ #13967]
37867 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37868 where the is a gap between DT_REL(A) and DT_JMPREL.
37869
b46068fc
L
378702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37871
37872 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37873 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37874 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37875
73d65cc3
SP
378762012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37877
37878 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37879 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37880 (dl_main): Handle --inhibit-cache.
37881 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37882 _dl_inhibit_cache.
37883 * elf/dl-load.c (_dl_map_object): Use it.
37884 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37885
bcc8d661
JM
378862012-04-09 Joseph Myers <joseph@codesourcery.com>
37887
8f9a2fae
JM
37888 [BZ #13872]
37889 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37890 (__ieee754_powl): Saturate large exponents rather than testing for
37891 overflow of y*log2(x).
37892 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37893 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37894 exceptions.
37895
bcc8d661
JM
37896 [BZ #11521]
37897 * math/s_ctan.c: Include <float.h>.
37898 (__ctan): Avoid internal overflow or cancellation in calculating
37899 denominator.
37900 * math/s_ctanf.c: Likewise.
37901 * math/s_ctanl.c: Likewise.
37902 * math/s_ctanh.c: Likewise.
37903 * math/s_ctanhf.c: Likewise.
37904 * math/s_ctanhl.c: Likewise.
37905 * math/libm-test.inc (ctan_test): Add more tests.
37906 (ctanh_test): Likewise.
37907 * sysdeps/i386/fpu/libm-test-ulps: Update.
37908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37909
823fbbb4
AJ
379102012-04-09 Andreas Jaeger <aj@suse.de>
37911
03879793
AJ
37912 [BZ #6894]
37913 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37914 is an optional BSD extension.
37915
823fbbb4
AJ
37916 [BZ #10254]
37917 * manual/stdio.texi (Opening Streams): Document additional fopen
37918 parameters.
37919
8de131cb
RM
379202012-04-09 Roland McGrath <roland@hack.frob.com>
37921
37922 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37923 %eax without telling the compiler.
37924
c0ed9d7d
CD
379252012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37926
37927 [BZ # 13963]
37928 * manual/install.texi: Use sourceware.org.
37929
c483f6b4
JM
379302012-04-09 Joseph Myers <joseph@codesourcery.com>
37931
d7dd9453
JM
37932 [BZ #13873]
37933 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37934 (__ieee754_pow): Generate overflow and underflow using huge*huge
37935 and tiny*tiny rather than just returning constant infinity or zero
37936 for large exponents.
37937 * math/libm-test.inc (pow_test): Require overflow exceptions for
37938 applicable cases of large exponents.
37939
c483f6b4
JM
37940 [BZ #706]
37941 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37942 (__ieee754_pow): Use iterative multiplication algorithm only for
37943 integer exponents with absolute value below 1024. Check for odd
37944 integer exponents when using algorithm for real exponents.
37945 * math/libm-test.inc (pow_test): Add more tests.
37946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37947
d2de7579
JM
379482012-04-08 Joseph Myers <joseph@codesourcery.com>
37949
37950 [BZ #13705]
37951 * math/libm-test.inc (exp_test): Do not allow overflow exception
37952 on underflow test.
37953
f77f1232
AJ
379542012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37955
37956 [BZ #13705]
37957 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37958 instead of __kernel_standard_f.
37959
3884932b
MF
379602012-04-08 Mike Frysinger <vapier@gentoo.org>
37961
37962 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37963 * sysdeps/x86_64/memset_chk.S: Likewise.
37964
54472e9c
AJ
379652012-04-08 Andreas Jaeger <aj@suse.de>
37966
6ab0fbfc
AJ
37967 [BZ #10153]
37968 * manual/startup.texi (Environment Access): Describe return value
37969 for putenv and setenv.
37970
61efba8c
AJ
37971 [BZ #6895]
37972 * manual/filesys.texi (Directory Entries): Add description for
37973 DT_LNK.
37974
95c3f29a
AJ
37975 [BZ #6890]
37976 * manual/filesys.texi (Directory Entries): Clarify that it's file
37977 system not operating system in the description of DT_UNKNOWN.
37978
54472e9c
AJ
37979 [BZ #6578]
37980 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37981
624254b1
SC
379822012-04-08 Stephen Compall <s11@member.fsf.org>
37983
37984 [BZ #6649]
37985 * manual/llio.texi (Opening and Closing Files): Add cross
37986 reference to explain mode argument.
37987
1e4920e0
MF
379882012-04-07 Mike Frysinger <vapier@gentoo.org>
37989
37990 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37991 * sysdeps/x86_64/memset_chk.S: Likewise.
37992
5ed848f3
DM
379932012-04-07 David S. Miller <davem@davemloft.net>
37994
37995 * elf/elf.h (R_SPARC_WDISP10): Define.
37996 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37997 R_SPARC_SIZE32.
37998 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37999 R_SPARC_SIZE64 and R_SPARC_H34.
38000
96154cd8
CD
380012012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38002
38003 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38004 conditions and remove no longer applicable assertion.
38005
9904dc47
L
380062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38007
38008 * bits/byteswap.h: Include <features.h>.
38009 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38010 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38011
f8887d0a
L
380122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38013
38014 * bits/byteswap.h (__bswap_16): Removed.
38015 Include <bits/byteswap-16.h> to get __bswap_16.
38016 * sysdeps/i386/bits/byteswap.h: Likewise.
38017 * sysdeps/s390/bits/byteswap.h: Likewise.
38018 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38019 * bits/byteswap-16.h: New file.
38020 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38021 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38022 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38023 * string/Makefile (headers): Add bits/byteswap-16.h.
38024
62470f60
PP
380252012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38026
38027 [BZ #13895]
38028 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38029 extra indirection.
38030 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38031 * nss/tst-nss-static.c: New.
38032
4dad7bab
RM
380332012-04-06 Robert Millan <rmh@gnu.org>
38034
38035 [BZ #6486]
38036 * manual/llio.texi (File Position Primitive): lseek
38037 refers to WHENCE when it really means OFFSET.
38038
e9142a17
AJ
380392012-04-06 Andreas Jaeger <aj@suse.de>
38040
2c040eff
AJ
38041 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38042 strncmp declarations.
38043
e9142a17
AJ
38044 * abilist/libc.abilist: Add __poll and __ppoll.
38045
ff9f1c5f
DM
380462012-04-05 David S. Miller <davem@davemloft.net>
38047
dcd2ae90
DM
38048 * scripts/check-local-headers.sh: Accept a host triplet in the
38049 path matched by the exclude regexp.
38050
993eb054
DM
38051 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38052 definition.
38053 * sysdeps/powerpc/powerpc32/dl-machine.h
38054 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38055 * sysdeps/s390/s390-32/dl-machine.h
38056 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38057 * sysdeps/sparc/sparc32/dl-machine.h
38058 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38059 * sysdeps/sparc/sparc64/dl-machine.h
38060 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38061
ff9f1c5f
DM
38062 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38063 lazy binding.
48e2e132 38064 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
38065 undefined symbol errors.
38066
48e2e132 38067 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
38068 DT_NEEDED entries.
38069
e80d6f94
MM
380702012-04-05 Michael Matz <matz@suse.de>
38071
38072 [BZ #13592]
38073 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38074
349fa79f
AJ
380752012-04-05 Andreas Jaeger <aj@suse.de>
38076
38077 [BZ #13908]
38078 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38079 comment.
38080
f402708f
KK
380812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38082
38083 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38084 which ROUND is no valid rounding mode.
38085
2ecccfc9
KK
380862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38087
38088 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38089 read again.
38090 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38091
8a53f50f
KK
380922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38093
38094 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38095 an exception using FPU order intentionally.
38096
380972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38098
38099 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38100 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38101 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38102 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38103
d653abb7
SJ
381042012-04-05 Simon Josefsson <simon@josefsson.org>
38105
38106 [BZ #12340]
38107 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38108 EINVAL when BUFLEN is too smal.
38109
c3b1bf7d
TS
381102012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38111
38112 [BZ #13553]
38113 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38114 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38115
b1aa60f3
AJ
381162012-04-03 Andreas Jaeger <aj@suse.de>
38117
c3b1bf7d 38118 [BZ #13938]
67f60a26
AJ
38119 * manual/setjmp.texi (System V contexts): Fix sentence.
38120
b1aa60f3
AJ
38121 [BZ #13926]
38122 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38123 New macro for this case.
38124 [!__GNUC__] (__bswap_64): New inline function for this case.
38125 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38126 * bits/byteswap.h: Likewise.
38127 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38128 ull, guard with __GLIBC_HAVE_LONG_LONG.
38129
38130 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38131 __GLIBC_HAVE_LONG_LONG.
38132
38133 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38134 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38135
39c59c35
TMQMF
381362012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38137
38138 [BZ #13691]
38139 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38140 inptr and inend, rather than using last_ch.
38141
135ffda8
DM
381422012-04-02 David S. Miller <davem@davemloft.net>
38143
38144 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38145 * stdio-common/printf-parse.h (read_int): Change return type to
38146 'int', return -1 on INT_MAX overflow.
38147 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38148 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38149 overflows INT_MAX. Check for overflow of in-format-string precision
38150 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38151 SIZE_MAX not INT_MAX for integer overflow test.
38152 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38153 skip the construct in the format string but do not record anything.
38154 * stdio-common/bug22.c: Adjust to test both width/prevision
38155 INT_MAX overflow as well as total length INT_MAX overflow. Check
38156 explicitly for proper errno values.
38157
228c019e
TS
381582012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38159
302cadd3
TS
38160 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38161 CHAR_MAX.
38162 * string/test-strcmp.c [! WIDE]: Likewise.
38163 * time/tst-mktime2.c: Likewise for INT_MAX.
38164 * string/test-string.h: #include <sys/param.h> for MIN.
38165
228c019e
TS
38166 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38167 * sysdeps/i386/init-first.c (init): Likewise.
38168 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38169 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38170 * sysdeps/sh/init-first.c (init): Likewise.
38171
cfa633f5
UD
381722012-04-01 Ulrich Drepper <drepper@gmail.com>
38173
38174 * po/ru.po: Update from translation team.
d1635ef8 38175 * po/vi.po: Likewise.
cfa633f5 38176
6cd0a5ea
SP
381772012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38178
38179 * resolv/nss_dns/dns-host.c: Merge copyright years.
38180
4b43400f
LD
381812012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38182
38183 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38184 Optimize memcpy with prefetch if
38185 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38186 src, dst pointers have unequal 16 byte alignments.
38187
48c41d04
SP
381882012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38189
38190 [BZ #13928]
38191 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38192 from a CNAME entry and return the minimum ttl for the query.
38193 (gaih_getanswer_slice): Likewise.
38194
b8dc394d
JL
381952012-03-30 Jeff Law <law@redhat.com>
38196
38197 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38198 due to long keys.
38199 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38200 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38201
2f5a5ed0
JL
38202 * resolv/nss_dns/dns-host.c: Update copyright year.
38203
1d39e359
UD
382042012-03-30 Ulrich Drepper <drepper@gmail.com>
38205
c030f70c 38206 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 38207 requests to save a system call. Fix check that all bytes are sent.
c030f70c 38208
1d39e359
UD
38209 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38210 comments for sendmmsg.
38211
382122012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
38213
38214 [BZ #13691]
38215 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38216 with only 1 character between 0x0041 and 0x01b0.
38217 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38218 * wcsmbs/tst-mbsnrtowcs.c: New file.
38219
20fde227
DM
382202012-03-29 David S. Miller <davem@davemloft.net>
38221
38222 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38223 small copies by hand.
38224
984a4237
JL
382252012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38226
38227 [BZ #13761]
57f41c40
AS
38228 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38229 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38230 group memberships.
984a4237 38231
18c9d62b
DM
382322012-03-28 David S. Miller <davem@davemloft.net>
38233
88d85d4f
DM
38234 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38235 that branches into memcpy.
38236 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38237 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38238 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38239 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38240 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38241 bits.
38242 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38243 implementation too.
38244 * sysdeps/sparc/mempcpy.S: New file.
38245
e5aa83e1
DM
38246 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38247 the IFUNC routine in the libc case.
38248 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38249
88570753
DM
38250 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38251 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38252 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38253 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38254 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38255 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38256 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38257 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38258
249d7567
DM
38259 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38260 loop to 256 bytes instead of 64 bytes and fix test signedness.
38261
18c9d62b
DM
38262 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38263 * sysdeps/sparc/sparc32/Makefile: rather than here...
38264 * sysdeps/sparc/sparc64/Makefile: and here.
38265
05f3d1f6
UD
382662012-03-28 Ulrich Drepper <drepper@gmail.com>
38267
38268 * malloc/mallocbug.c: Avoid warnings about unused variables.
38269
86ae07a8
JL
382702012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38271
38272 [BZ #13760]
38273 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38274 in the right place. Discard and retry query if response is
38275 larger than input buffer size.
38276
41bf21a1
JM
382772012-03-28 Joseph Myers <joseph@codesourcery.com>
38278
d6270972
JM
38279 [BZ #369]
38280 [BZ #2678]
38281 [BZ #3866]
38282 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38283 x for large integer exponent.
38284 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38285 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38286 sign of result as needed afterwards.
38287 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38288 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38289 result for underflowing pow the same as for overflow.
38290 (__kernel_standard_l): Handle powl overflow and underflow here
38291 rather than calling __kernel_standard.
38292 * math/libm-test.inc (pow_test): Add more tests.
38293
414fca03 38294 [BZ #3868]
41bf21a1
JM
38295 [BZ #13879]
38296 [BZ #13910]
38297 [BZ #13911]
38298 [BZ #13912]
38299 [BZ #13913]
38300 [BZ #13915]
38301 [BZ #13916]
38302 [BZ #13917]
38303 [BZ #13918]
38304 [BZ #13919]
38305 [BZ #13920]
38306 [BZ #13921]
38307 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38308 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38309 (__kernel_standard_l): New function.
38310 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38311 __kernel_standard.
38312 * math/w_acosl.c (__acosl): Likewise.
38313 * math/w_asinl.c (__asinl): Likewise.
38314 * math/w_atan2l.c (__atan2l): Likewise.
38315 * math/w_atanhl.c (__atanhl): Likewise.
38316 * math/w_coshl.c (__coshl): Likewise.
38317 * math/w_exp10l.c (__exp10l): Likewise.
38318 * math/w_exp2l.c (__exp2l): Likewise.
38319 * math/w_fmodl.c (__fmodl): Likewise.
38320 * math/w_hypotl.c (__hypotl): Likewise.
38321 * math/w_j0l.c (__j0l, __y0l): Likewise.
38322 * math/w_j1l.c (__j1l, __y1l): Likewise.
38323 * math/w_jnl.c (__jnl, __ynl): Likewise.
38324 * math/w_lgammal.c (__lgammal): Likewise.
38325 * math/w_log10l.c (__log10l): Likewise.
38326 * math/w_log2l.c (__log2l): Likewise.
38327 * math/w_logl.c (__logl): Likewise.
38328 * math/w_powl.c (__powl): Likewise.
38329 * math/w_remainderl.c (__remainderl): Likewise.
38330 * math/w_scalbl.c (sysv_scalbl): Likewise.
38331 * math/w_sinhl.c (__sinhl): Likewise.
38332 * math/w_sqrtl.c (__sqrtl): Likewise.
38333 * math/w_tgammal.c (__tgammal): Likewise.
38334 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38335 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38336 * math/libm-test.inc (acos_test): Add more tests.
38337 (acosh_test): Likewise.
38338 (asin_test): Likewise.
38339 (atanh_test): Likewise.
38340 (exp_test): Likewise.
38341 (exp10_test): Likewise.
38342 (exp2_test): Likewise.
38343 (expm1_test): Likewise.
38344 (lgamma_test): Likewise.
38345 (log_test): Likewise.
38346 (log10_test): Likewise.
38347 (log1p_test): Likewise.
38348 (log2_test): Likewise.
38349 (pow_test): Do not allow some spurious overflow exceptions.
38350 (sqrt_test): Add more tests.
38351 (tgamma_test): Likewise.
38352 (y0_test): Likewise.
38353 (y1_test): Likewise.
38354 (yn_test): Likewise.
38355
dd62fda6
AB
383562012-03-27 Anton Blanchard <anton@samba.org>
38357
38358 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38359 MAP_HUGETLB.
38360 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38361 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38362 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38363
1e3cdfda
AJ
383642012-03-27 David S. Miller <davem@davemloft.net>
38365
b855ab85
DM
38366 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38367
1e3cdfda
AJ
38368 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38369 have-as-vis3 check.
38370
383712012-03-27 Andreas Jaeger <aj@suse.de>
38372
38373 * sysdeps/x86_64/elf/configure.in: Moved to ...
38374 * sysdeps/x86_64/configure.in: ... here.
38375 * sysdeps/x86_64/elf/start.S: Moved to ...
38376 * sysdeps/x86_64/start.S: ... here.
38377 * sysdeps/x86_64/elf/configure: Delete.
38378
38379 * sysdeps/x86_64/configure.in: Merge contents from
38380 sysdeps/i386/configure.in (without i686 check).
38381
38382 * sysdeps/i386/elf/Versions: Merge into ...
38383 * sysdeps/i386/Versions: ... this.
38384 * sysdeps/i386/elf/Versions: Delete file.
38385 * sysdeps/i386/elf/start.S: Moved to ...
38386 * sysdeps/i386/start.S: ...here.
38387 * sysdeps/i386/elf/configure.in: Merge into...
38388 * sysdeps/i386/configure.in: ...here.
38389 * sysdeps/i386/elf/configure.in: Delete file.
38390 * sysdeps/i386/elf/configure: Delete file.
38391
38392 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38393 * debug/backtracesyms.c: ... here.
38394 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38395 * debug/backtracesymsfd.c: ... here.
38396 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38397 * sysdeps/generic/ifunc-sel.h: ... here.
38398
38399 * sysdeps/unix/i386/start.c: Delete file.
38400 * sysdeps/unix/sparc/start.c: Delete file.
38401 * sysdeps/unix/start.c: Delete file.
38402
38403 * sysdeps/sh/elf/configure.in: Moved to ...
38404 * sysdeps/sh/configure.in: ... here.
38405 * sysdeps/sh/elf/start.S: Moved to ...
38406 * sysdeps/sh/start.S: ... here.
38407 * sysdeps/sh/elf/configure: Delete file.
38408
38409 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38410 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38411 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38412 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38413 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38414 * sysdeps/powerpc/powerpc64/start.S: here.
38415 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38416 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38417 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38418 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38419 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38420
38421 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38422 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38423 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38424 * sysdeps/powerpc/powerpc32/start.S: ... here.
38425 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38426 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38427 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38428
38429 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38430 * sysdeps/powerpc/ifunc-sel.h: ... here.
38431 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38432 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38433
38434 * sysdeps/sparc/elf/configure.in: Moved to ...
38435 * sysdeps/sparc/configure.in: ... here.
38436 * sysdeps/sparc/elf/configure: Delete file.
38437 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38438 * sysdeps/sparc/sparc32/start.S: ... here.
38439 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38440 * sysdeps/sparc/sparc64/start.S: ... here.
38441 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38442 * sysdeps/sparc/sparc32/Makefile: ... this.
38443 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38444 * sysdeps/sparc/sparc64/Makefile: ... this.
38445
38446 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38447 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38448 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38449 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38450 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38451 * sysdeps/s390/s390-32/setjmp.S: ... here.
38452 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38453 * sysdeps/s390/s390-32/configure.in: ... here.
38454 * sysdeps/s390/s390-32/elf/configure: Delete file.
38455 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38456 * sysdeps/s390/s390-32/start.S: ... here.
38457
38458 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38459 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38460 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38461 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38462 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38463 * sysdeps/s390/s390-64/setjmp.S: ... here.
38464 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38465 * sysdeps/s390/s390-64/configure.in: ... here
38466 * sysdeps/s390/s390-64/elf/configure: Delete file.
38467 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38468 * sysdeps/s390/s390-64/start.S: ... here.
38469 * sysdeps/s390/s390-64/elf/configure: Delete.
38470
38471 * configure.in: Remove support for elf directories in sysdeps.
38472
38473 * configure: Regenerated.
38474 * sysdeps/i386/configure: Regenerated.
38475 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38476 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38477 * sysdeps/s390/s390-32/configure: Regenerated.
38478 * sysdeps/s390/s390-64/configure: Regenerated.
38479 * sysdeps/sh/configure: Regenerated.
38480 * sysdeps/sparc/configure: Regenerated.
38481 * sysdeps/x86_64/configure: Regenerated.
38482
a3f61311
AS
384832012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38484
c876e002
AS
38485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38486
a3f61311
AS
38487 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38488 denormal result into account.
38489
ac4c54f0
RM
384902012-03-25 Roland McGrath <roland@hack.frob.com>
38491
38492 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38493 Reported by Allan McRae <allan@archlinux.org>.
38494
6a9b9c02
JL
384952012-03-23 Jeff Law <law@redhat.com>
38496
38497 * nss/getnssent.c (__nss_getent): Fix typo.
38498
4c42a0c1
DM
384992012-03-23 David S. Miller <davem@davemloft.net>
38500
38501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38502
1532c7ac
L
385032012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38504
38505 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38506 to pad to uint64_t for each field.
38507 (dl_tls_index): Replace unsigned long with uint64_t.
38508
3ff42526
PP
385092012-03-23 Daniel Jacobowitz <dmj@google.com>
38510 Paul Pluzhnikov <ppluzhnikov@google.com>
38511
38512 [BZ #6528]
38513 * grp/Makefile (otherlibs): Don't set it.
38514 * inet/Makefile (otherlibs): Likewise.
38515 * login/Makefile (otherlibs): Likewise.
38516 * nscd/Makefile (otherlibs): Likewise.
38517 * posix/Makefile (otherlibs): Likewise.
38518 * pwd/Makefile (otherlibs): Likewise.
38519 * rt/Makefile (otherlibs): Likewise.
38520 * sunrpc/Makefile (otherlibs): Likewise.
38521 * nss/Makefile (otherlibs): Likewise.
38522 Add libnss_files to routines and static-only-routines.
38523 ($(objpfx)getent): Remove rule.
38524 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38525 static-only-routines.
38526
7c69cd14
JM
385272012-03-22 Joseph Myers <joseph@codesourcery.com>
38528
38529 [BZ #13892]
38530 * math/s_cexp.c: Include <float.h>.
38531 (__cexp): Handle exp result overflowing not necessarily
38532 overflowing both real and imaginary parts of result.
38533 * math/s_cexpf.c: Likewise.
38534 * math/s_cexpl.c: Likewise.
38535 * math/libm-test.inc (cexp_test): Add more tests.
38536 * sysdeps/i386/fpu/libm-test-ulps: Update.
38537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38538
81b035fe
L
385392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38540
38541 * include/link.h (ELFW): New macro.
38542 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38543 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38544
1da7940c
L
385452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38546
38547 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38548 with uint64_t.
38549
b749dbb9
L
385502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38551
38552 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38553 declaration.
38554 (struct La_x32_retval): Likewise.
38555
2ff87f3f
L
385562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38557
38558 * sysdeps/x86_64/preconfigure.in: New file.
38559 * sysdeps/x86_64/preconfigure: New generated file.
38560
c0df8e69
JM
385612012-03-22 Joseph Myers <joseph@codesourcery.com>
38562
48e44791
JM
38563 [BZ #13824]
38564 * math/e_exp2l.c: Include <float.h>.
38565 (__ieee754_exp2l): Handle overflow and underflow cases
38566 separately. Only pass fractional part of argument to
38567 __ieee754_expl.
38568 * math/libm-test.inc (exp2_test): Add more tests.
38569
c0df8e69
JM
38570 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38571 negating x to take absolute value.
38572 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38573 Likewise.
38574 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38575 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38576 Likewise.
38577 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38578 computing low part if x was negated.
38579 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38580
c8e43ba7
L
385812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38582
38583 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38584 la_x32_gnu_pltexit.
38585 (pltexit): Cast int_retval to ptrdiff_t.
38586 * elf/tst-auditmod3b.c: Likewise.
38587 * elf/tst-auditmod4b.c: Likewise.
38588 * elf/tst-auditmod5b.c: Likewise.
38589 * elf/tst-auditmod6b.c: Likewise.
38590 * elf/tst-auditmod6c.c: Likewise.
38591 * elf/tst-auditmod7b.c: Likewise.
38592
38593 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38594 and x32_gnu_pltexit.
38595
38596 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38597 __ELF_NATIVE_CLASS.
38598 (La_x32_regs): New macro.
38599 (La_x32_retval): Likewise.
38600 (la_x32_gnu_pltenter): New function prototype.
38601 (la_x32_gnu_pltexit): Likewise.
38602
7998fa78
AS
386032012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38604
dcb33988
AS
38605 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38606 exponent.
38607
233fc563
AS
38608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38609
7998fa78
AS
38610 * configure.in (libc_cv_cc_nofma): Check for option to disable
38611 generation of FMA instructions.
38612 * configure: Regenerate.
38613 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38614 * sysdeps/ieee754/dbl-64/Makefile: New file.
38615 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38616 Remove brandred-fma4.
38617 (CFLAGS-brandred-fma4.c): Remove.
38618 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38619 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38620 define.
38621 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38622 define.
38623
8e95c99a
L
386242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38625
38626 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38627 LLONG_MAX != LONG_MAX.
38628 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38629 (_fitoa_word): Likewise.
38630 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38631 LLONG_MAX != LONG_MAX.
38632 * stdio-common/_itowa.h: Include <_itoa.h>.
38633 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38634 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38635 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38636 only if not defined.
38637 (_ITOA_WORD_TYPE): Likewise.
38638 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38639 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38640
6f4db457
DM
386412012-03-21 David S. Miller <davem@davemloft.net>
38642
38643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38644
7785fe5a
L
386452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38646
38647 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38648 of x86_64 when setting libc_cv_slibdir, libdir and
38649 libc_cv_localedir.
38650 * sysdeps/unix/sysv/linux/configure: Regenerated.
38651
4535cd55
JM
386522012-03-21 Joseph Myers <joseph@codesourcery.com>
38653
38654 * manual/lang.texi (Old Varargs): Remove section.
38655 (How Variadic): Update menu.
38656 (va_start): Do not mention varargs.h.
38657
17228132
TS
386582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38659 Joseph Myers <joseph@codesourcery.com>
38660
38661 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38662 link test.
38663 * configure: Regenerated.
38664
8149f976
TS
386652012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38666
05f3d1f6
UD
38667 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38668 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38669 conformtest.pl
8149f976 38670
1a4ac776
JM
386712012-03-21 Joseph Myers <joseph@codesourcery.com>
38672
be22ce65
JM
38673 * NOTES: Remove.
38674 * Makefile (files-for-dist): Remove NOTES.
38675 (NOTES): Remove rule.
38676 * README: Don't refer to NOTES.
38677 * manual/creature.texi: Don't include macros.texi.
38678 * manual/intro.texi (creature.texi): Remove comment referring to
38679 NOTES.
38680
40b601fb
JM
38681 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38682 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38683 * configure: Regenerated.
38684 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38685 LIBC_TRY_CC_OPTION.
38686 (libc_cv_as_i686): Likewise.
38687 (libc_cv_cc_avx): Likewise.
38688 (libc_cv_cc_sse2avx): Likewise.
38689 (libc_cv_cc_fma4): Likewise.
38690 (libc_cv_cc_novzeroupper): Likewise.
38691 * sysdeps/i386/configure: Regenerated.
38692
1a4ac776
JM
38693 [BZ #13883]
38694 * sysdeps/i386/fpu/s_cexp.S: Remove.
38695 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38696 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38697 * math/libm-test.inc (cexp_test): Add more tests.
38698 * sysdeps/i386/fpu/libm-test-ulps: Update.
38699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38700
a458e7fe
AM
387012012-03-21 Allan McRae <allan@archlinux.org>
38702
38703 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38704
0cb7efc5
JM
387052012-03-21 Joseph Myers <joseph@codesourcery.com>
38706
38707 [BZ #13871]
38708 * math/w_exp2.c: Do not include <float.h>.
38709 (o_threshold, u_threshold): Remove.
38710 (__exp2): Calculate result before checking finiteness and calling
38711 __kernel_standard.
38712 * math/w_exp2f.c: Likewise.
38713 * math/w_exp2l.c: Likewise.
38714 * math/libm-test.inc (exp2_test): Require overflow exception for
38715 1e6 input.
2460d3aa
JM
38716
38717 [BZ #3866]
38718 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38719 range of signed 64-bit integers before using fistpll. Remove
38720 checks for whether integers fit in mantissa bits.
38721 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38722 the range of signed 32-bit integers before using fistpl. Remove
38723 checks for whether integers fit in mantissa bits.
38724 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38725 (__ieee754_powl): Test for y outside the range of signed 64-bit
38726 integers before using fistpll. Reduce 64-bit values to 63-bit
38727 ones as needed.
38728 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38729 divide-by-zero is raised for zero to large negative powers.
38730 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38731 (__ieee754_powl): Test for y outside the range of signed 64-bit
38732 integers before using fistpll. Reduce 64-bit values to 63-bit
38733 ones as needed.
38734 * math/libm-test.inc (pow_test): Add more tests.
38735
eb96ffb0
L
387362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38737
38738 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38739 <stdio-common/_itoa.h>.
38740 * debug/segfault.c: Likewise.
38741 * elf/dl-cache.c: Likewise.
38742 * elf/dl-minimal.c: Likewise.
38743 * elf/dl-misc.c: Likewise.
38744 * elf/dl-sysdep.c: Likewise.
38745 * elf/dl-version.c: Likewise.
38746 * elf/rtld.c: Likewise.
38747 * hurd/hurdsock.c: Likewise.
38748 * hurd/lookup-retry.c: Likewise.
38749 * malloc/malloc.c: Likewise.
38750 * malloc/mtrace.c: Likewise.
38751 * nscd/nscd_getgr_r.c: Likewise.
38752 * nscd/nscd_getpw_r.c: Likewise.
38753 * nscd/nscd_getserv_r.c: Likewise.
38754 * posix/getopt_init.c: Likewise.
38755 * posix/wordexp.c: Likewise.
38756 * stdio-common/_itoa.c: Likewise.
38757 * stdio-common/printf_fphex.c: Likewise.
38758 * stdio-common/vfprintf.c: Likewise.
38759 * string/_strerror.c: Likewise.
38760 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38761 * sysdeps/i386/i686/hp-timing.h: Likewise.
38762 * sysdeps/mach/_strerror.c: Likewise.
38763 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38764 * sysdeps/mach/hurd/sethostid.c: Likewise.
38765 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38766 * sysdeps/mach/xpg-strerror.c: Likewise.
38767 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38768 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38769 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38770 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38771 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38772 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38773 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38774 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38775 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38776 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38777 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38778 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38779 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38780 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38781 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38782 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38783 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38784 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38785 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38786 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38787 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38788
38789 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38790
38791 * stdio-common/_itoa.h: Moved to ...
38792 * sysdeps/generic/_itoa.h: Here.
38793
38794 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38795
38796 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38797 instead of "_itoa.h" and "_itowa.h".
38798 * stdio-common/vfprintf.: Likewise.
38799
d1af992d
L
388002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38801
38802 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38803 <bits/wordsize.h>.
38804 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38805 (__signbit): Likwise.
38806 (llrintf): Likwise.
38807 (llrint): Likwise.
38808
114883e0
L
388092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38810
38811 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38812 __WORDSIZE != 64.
38813
c135cc1b
JM
388142012-03-20 Joseph Myers <joseph@codesourcery.com>
38815
38816 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38817 OVERFLOW_EXCEPTION_OK.
38818 * math/libm-test.inc ("Philosophy"): Update comment about
38819 exception testing.
38820 (OVERFLOW_EXCEPTION): Define.
38821 (OVERFLOW_EXCEPTION_OK): Likewise.
38822 (INVALID_EXCEPTION_OK): Renumber.
38823 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38824 (IGNORE_ZERO_INF_SIGN): Likewise.
38825 (test_exceptions): Handle FE_OVERFLOW.
38826 (exp10_test): Expect overflow exceptions.
38827 (exp2_test): Likewise.
38828 (expm1_test): Likewise.
38829 (nextafter_test): Likewise.
38830 (pow_test): Likewise.
38831 (scalbn_test): Likewise.
38832 (scalbln_test): Likewise.
38833
95443d88
L
388342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38835
38836 * sysdeps/x86_64/bits/atomic.h
38837 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38838 64bit integer.
38839 (atomic_exchange_acq): Likewise.
38840 (__arch_exchange_and_add_body): Likewise.
38841 (__arch_add_body): Likewise.
38842 (atomic_add_negative): Likewise.
38843 (atomic_add_zero): Likewise.
38844
490df6c4
L
388452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38846
c2722551 38847 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
38848 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38849
5e52b189
L
388502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38851
38852 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38853 Check __x86_64__ instead of __WORDSIZE.
38854
a9879d4c
L
388552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38856
38857 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38858
5df98260
DM
388592012-03-19 David S. Miller <davem@davemloft.net>
38860
e1497744
DM
38861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38862
5df98260
DM
38863 * sysdeps/sparc/fpu/fenv_private.h: New file.
38864 * sysdeps/sparc/fpu/math_private.h: Use it.
38865 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38866 Remove.
57f41c40 38867 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
38868 (libc_feholdexcept_setroundl): Remove.
38869 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38870 Remove.
38871 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38872 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38873
b4c35121
L
388742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38875
38876 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38877 int64_t instead of long int.
38878 (INSERT_WORDS64): Likwise.
38879
56965fd7
L
388802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38881
38882 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38883 _Unwind_GetCFA return to _Unwind_Ptr first.
38884
83d1aec8
JM
388852012-03-19 Joseph Myers <joseph@codesourcery.com>
38886
1897ad44
JM
38887 [BZ #13629]
38888 * math/s_clog.c: Include <float.h>.
38889 (__clog): Scale large or subnormal inputs.
38890 * math/s_clogf.c: Likewise.
38891 * math/s_clogl.c: Likewise.
38892 * math/s_clog10.c: Include <float.h>.
38893 (M_LOG10_2): Define.
38894 (__clog10): Scale large or subnormal inputs.
38895 * math/s_clog10f.c: Likewise.
38896 * math/s_clog10l.c: Likewise.
38897 * math/libm-test.inc (clog_test): Add more tests.
38898 (clog10_test): Likewise.
38899 * sysdeps/i386/fpu/libm-test-ulps: Update.
38900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38901
7726d6a9
JM
38902 [BZ #11451]
38903 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38904 x and y.
38905 * math/libm-test.inc (atan2_test): Add another test.
38906
83d1aec8
JM
38907 * Makerules (common-objdir-compile): Remove.
38908 * sysdeps/unix/Makefile (config-generated): Do not add
38909 $(unix-generated) to variable.
38910 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38911 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38912 Remove rule.
38913 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38914 Likewise.
38915 [generic bits/local_lim.h] (before-compile): Do not append to
38916 variable.
38917 [generic bits/local_lim.h] (common-generated): Likewise.
38918 [generic sys/param.h] (before-compile): Do not append to variable.
38919 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38920 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38921 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38922 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38923 include.
38924 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38925 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38926 [generic sys/param.h] ($(addprefix
38927 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38928 [generic sys/param.h] (common-generated): Do not append to
38929 variable.
38930 [generic sys/param.h] (sysdep_headers): Likewise.
38931 [generic bits/errno.h] (before-compile): Do not append to
38932 variable.
38933 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38934 rule.
38935 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38936 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38937 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38938 [generic bits/errno.h] (common-generated): Do not append to
38939 variable.
38940 [generic bits/ioctls.h] (before-compile): Do not append to
38941 variable.
38942 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38943 rule.
38944 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38945 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38946 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38947 rule.
38948 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38949 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38950 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38951 [generic bits/ioctls.h] (common-generated): Do not append to
38952 variable.
38953 [generic sys/syscall.h] (syscall.h): Remove variable.
38954 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38955 rule.
38956 [generic sys/syscall.h] (before-compile): Do not append to
38957 variable.
38958 [generic sys/syscall.h] (common-generated): Likewise.
38959 * sysdeps/unix/errnos-tmpl.c: Remove file.
38960 * sysdeps/unix/errnos.awk: Likewise.
38961 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38962 * sysdeps/unix/ioctls.awk: Likewise.
38963 * sysdeps/unix/mk-local_lim.c: Likewise.
38964 * sysdeps/unix/snarf-ioctls: Likewise.
38965
4851a949
RH
389662012-03-19 Richard Henderson <rth@twiddle.net>
38967
bd37f2ee
RH
38968 * sysdeps/i386/fpu/fenv_private.h: New file.
38969 * sysdeps/i386/fpu/math_private.h: Use it.
38970 (math_opt_barrier, math_force_eval): Remove.
38971 (libc_feholdexcept_setround_53bit): Remove.
38972 (libc_feupdateenv_53bit): Remove.
38973 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38974 (math_opt_barrier, math_force_eval): Remove.
38975 (libc_feholdexcept): Remove.
38976 (libc_feholdexcept_setround): Remove.
38977 (libc_fetestexcept, libc_fesetenv): Remove.
38978 (libc_feupdateenv_test): Remove.
38979 (libc_feupdateenv, libc_feholdsetround): Remove.
38980 (libc_feresetround): Remove.
38981
d0adc922
RH
38982 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38983 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38984
0fe0f1f8
RH
38985 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38986 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38987 (libc_feupdateenv_testl): New.
38988 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38989 (libc_feupdateenv_testf): New.
38990 (libc_feupdateenv): Use libc_feupdateenv_test.
38991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38992 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38993
eb92c487
RH
38994 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38995 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38996 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38997 (libc_feresetround_noex): New.
38998 (libc_feresetround_noexf): New.
38999 (libc_feresetround_noexl): New.
39000 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39001 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39002 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39003 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39004 SET_RESTORE_ROUND.
39005 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39006 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39007 (__cos): Likewise.
39008 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39009 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39010 SET_RESTORE_ROUND_NOEX.
39011 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39012 SET_RESTORE_ROUND_NOEXF.
39013 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39014 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39015 (libc_feholdsetroundf): New.
39016 (libc_feresetround, libc_feresetroundf): New.
39017
7d2e8012
RH
39018 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39019 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39020 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39021
b4dabbb4
RH
39022 * sysdeps/generic/math_private.h: Include <fenv.h>.
39023 (default_libc_feholdexcept): New.
39024 (default_libc_feholdexcept_setround): New.
39025 (default_libc_fesetenv, default_libc_feupdateenv): New.
39026 (libc_feholdexcept): Only define if undefined.
39027 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39028 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39029 (libc_feholdexcept_setroundl): Likewise.
39030 (libc_feholdexcept_setround_53bit): Likewise.
39031 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39032 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39033 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39034 (libc_feupdateenv_53bit): Likewise.
39035 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39036 (libc_feholdexcept): Convert from macro to inline function.
39037 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39038 (libc_fesetenv, libc_feupdateenv): Likewise.
39039
4851a949
RH
39040 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39041 not previously defined.
39042 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39043 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39044 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39045 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39046 * sysdeps/ieee754/flt-32/math_private.h: New file.
39047 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39048 math_private.h below SET_FLOAT_WORD.
39049 (__isnan, __isinf_ns, __finite): Remove.
39050 (__isnanf, __isinf_nsf, __finitef): Remove.
39051
e79d442e
AS
390522012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39053
39054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39055
90b80344
DM
390562012-03-17 David S. Miller <davem@davemloft.net>
39057
39058 [BZ #6471]
39059 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39060 for 2.16.
39061
edc21804
DM
390622012-03-16 David S. Miller <davem@davemloft.net>
39063
77e927af
DM
39064 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39065 warnings.
39066
374976dd
DM
39067 [BZ #6471]
39068 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39069 properly.
39070 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39071 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39072 sysdep_routines when subdir is sysvipc.
39073 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39074 __getshmlba helper.
39075
edc21804
DM
39076 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39077
473c3ef3
L
390782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39079
39080 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39081 [__LP64__].
39082
eb0f39b6
L
390832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39084
39085 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39086 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39087 (__lround): Renamed to ...
39088 (__llround): This. Replace long int with long long int.
39089 Define lround functions as aliases of llround functions.
39090 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39091
6b6cd74b
L
390922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39093
39094 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39095 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39096 adresses to uintptr_t. Replace "long int" and "unsigned long
39097 int" with "greg_t" on va_arg.
39098
f1a77b01
L
390992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39100
39101 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39102 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39103
39104 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39105 Move e_machine check before EI_CLASS check. Handle x32
39106 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39107 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39108 SKIP_EM_IA_64 and include
39109 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39110
39111 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39112 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39113 (add_system_dir): New macro.
39114
39115 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39116 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39117
11b90b9f
JM
391182012-03-16 Joseph Myers <joseph@codesourcery.com>
39119
c36e1d23
JM
39120 [BZ #2551]
39121 [BZ #2552]
39122 [BZ #2553]
39123 [BZ #2554]
39124 [BZ #2562]
39125 [BZ #2563]
39126 [BZ #2565]
39127 [BZ #2566]
39128 [BZ #2576]
39129 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39130 (y0): Likewise.
39131 * math/w_j0f.c (j0f): Likewise.
39132 (y0f): Likewise.
39133 * math/w_j0l.c (__j0l): Likewise.
39134 (__y0l): Likewise.
39135 * math/w_j1.c (j1): Likewise.
39136 (y1): Likewise.
39137 * math/w_j1f.c (j1f): Likewise.
39138 (y1f): Likewise.
39139 * math/w_j1l.c (__j1l): Likewise.
39140 (__y1l): Likewise.
39141 * math/w_jn.c (jn): Likewise.
39142 (yn): Likewise.
39143 * math/w_jnf.c (jnf): Likewise.
39144 (ynf): Likewise.
39145 * math/w_jnl.c (__jnl): Likewise.
39146 (__ynl): Likewise.
39147 * math/libm-test.inc (j0_test): Add more tests.
39148 (j1_test): Likewise.
39149 (jn_test): Likewise. Add trailing semicolon to existing test.
39150 (y0_test): Likewise.
39151 (y1_test): Likewise.
39152 * sysdeps/i386/fpu/libm-test-ulps: Update.
39153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39154
11b90b9f
JM
39155 [BZ #13851]
39156 [BZ #13854]
39157 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39158 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39159 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39160 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39161 (__tanl): Set errno for infinite argument.
39162 * sysdeps/i386/fpu/mptan.c: Remove.
39163 * sysdeps/i386/fpu/s_tan.S: Likewise.
39164 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39165 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39166 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39167 * math/libm-test.inc (tan_test): Add more tests and enable more
39168 tests for double and long double.
39169 * sysdeps/i386/fpu/libm-test-ulps: Update.
39170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39171
6a1bd2a1
JK
391722012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39173
39174 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39175 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39176
10a803e0
RM
391772012-03-16 Roland McGrath <roland@hack.frob.com>
39178
39179 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39180 * configure.in: Use it for both main tree and add-ons.
39181 * configure: Regenerated.
39182
f196c7f7
L
391832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39184
39185 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39186
8848d99d
JM
391872012-03-16 Joseph Myers <joseph@codesourcery.com>
39188
96cbe7f4
JM
39189 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39190 in comment.
39191
8848d99d
JM
39192 [BZ #13851]
39193 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39194 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39195 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39196 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39197 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39198 infinite argument.
39199 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39200 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39201 != 0 for prec == 2.
39202 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39203 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39204 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39205 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39206 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39207 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39208 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39209 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39210 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39211 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39212 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39213 * math/libm-test.inc (cos_test): Add more tests and enable more
39214 tests for long double.
39215 (sin_test): Likewise.
39216 (sincos_test): Likewise.
39217 * sysdeps/i386/fpu/libm-test-ulps: Update.
39218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39219
dd7f4703
DM
392202012-03-16 David S. Miller <davem@davemloft.net>
39221
39222 * sysdeps/sparc/fpu/math_private.h: New file.
39223
006f1daa
DM
392242012-03-15 David S. Miller <davem@davemloft.net>
39225
c0c83bc8
DM
39226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39227 file.
e6a62e18 39228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
39229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39230 file.
e6a62e18
DM
39231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39236 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39237 sysdep routines.
39238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39239
88cb87d9
DM
39240 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39241 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39242
006f1daa 39243 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
39244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39245 sparc-ifunc.h
006f1daa 39246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
39247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39248 Likewise.
39249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39250 Likewise.
006f1daa
DM
39251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
39254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39255 Likewise.
006f1daa
DM
39256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
39260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39261 Likewise.
39262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39263 Likewise.
006f1daa
DM
39264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39268 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39269 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39270 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39271 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39282 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39283 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39284 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39285 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39286 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39287 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39288
11e0098e
AS
392892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39290
39291 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39292 scaling.
39293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39294
e85b09d0
AJ
392952012-03-15 Andreas Jaeger <aj@suse.de>
39296
39297 [BZ #13852]
39298 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39299 ieee754/flt-32 implementation for sin, cos and sincos.
39300 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39301 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39302 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39303 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39304 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39305 ieee754/flt-32 implementation for tan.
39306
39307 * math/libm-test.inc (cos_test): Enable some large input tests for
39308 float as well
39309 (sin_test): Likewise.
39310 (sincos_test): Likewise.
39311 (tan_test): Add tests for large input.
39312
39313 * sysdeps/i386/fpu/libm-test-ulps: Update.
39314
81c64153
AJ
393152012-03-15 Andreas Jaeger <aj@suse.de>
39316
39317 [BZ #13658]
39318 * math/libm-test.inc (cos_test): Add more test cases.
39319 (sin_test): Likewise.
39320 (sincos_test): Likewise.
39321
7bbfa5c6
AJ
393222012-03-15 Andreas Jaeger <aj@suse.de>
39323
39324 [BZ #13837]
39325 * math/libm-test.inc (cos_test): Add a test case for large input
39326 value.
39327 (sin_test): Likewise.
39328 (sincos_test): Likewise.
39329
57f41c40
AS
393302012-03-15 Andreas Jaeger <aj@suse.de>
39331 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39332
39333 [BZ #13658]
0671f479 39334 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39335 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39336 * sysdeps/i386/fpu/branred.c: Likewise.
39337 * sysdeps/i386/fpu/dosincos.c: Likewise.
39338 * sysdeps/i386/fpu/mpa.c: Likewise.
39339 * sysdeps/i386/fpu/s_cos.S: Likewise.
39340 * sysdeps/i386/fpu/s_sin.S: Likewise.
39341 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39342 * sysdeps/i386/fpu/sincos32.c: Likewise.
39343
39344 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39345 Define.
39346 (libc_feupdateenv_53bit): Define.
39347 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39348 Define.
39349 (libc_feupdateenv_53bit): Define.
39350
39351 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39352 53 bit (without extend i386 double precision).
39353
39354 * math/libm-test.inc (sincos_test): Add tests for large input.
39355 (sin): Likewise.
39356 (cos): Likewise.
39357
39358 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39359
9cad04ea
AS
393602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39361
39362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39363
f7062b9a
DM
393642012-03-15 David S. Miller <davem@davemloft.net>
39365
39366 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39367 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39368 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39369 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39382 file.
f7062b9a 39383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39385 file.
f7062b9a 39386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39388 file.
f7062b9a 39389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39391 file.
f7062b9a
DM
39392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39393 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39394 fmin/fmax sysdep routines.
39395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39396
7bd951ff
DM
393972012-03-14 David S. Miller <davem@davemloft.net>
39398
559398ab
DM
39399 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39400 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39403 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39404 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39405 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39406 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39411 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39419 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39420 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39421 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39423 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39424 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39425 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39426 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39427 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39428 routines.
39429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39430 file.
559398ab 39431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39433 file.
559398ab 39434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39436 file.
559398ab 39437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39439 file.
559398ab 39440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39442 file.
559398ab 39443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39445 file.
39446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39447 file.
39448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39449 file.
39450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39451 file.
39452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39453 New file.
39454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39455 file.
39456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39457 file.
559398ab 39458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39460 file.
559398ab 39461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39463 file.
559398ab 39464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39466 file.
559398ab 39467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39469 VIS3 routines.
559398ab
DM
39470
39471 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39472 New file.
39473
5a1c1e32
DM
39474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39475
eae47a36
DM
39476 * sysdeps/sparc/configure.in: New file.
39477 * sysdeps/sparc/configure: Generate.
39478 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39479 * configure: Regenerate.
39480 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39481 * config.make.in (have-as-vis3): New.
39482 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39483 available use -Av9d instead of -Av9a.
39484 * sysdeps/sparc/sparc64/Makefile: Likewise.
39485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39487 New file.
39488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39489 file.
39490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39491 New file.
39492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39493 file.
eae47a36
DM
39494 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39495 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39496 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39497 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39499
c0c83bc8
DM
39500 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39501 fzeros/fnegs to load 0x80000000 into a float register instead of
39502 using the stack.
7bd951ff
DM
39503 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39504
bd951ccb
JM
395052012-03-14 Joseph Myers <joseph@codesourcery.com>
39506
39507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39508 bits/syscall.h.
39509 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39510 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39511 ($(inst_includedir)/bits/syscall.h): Remove rule.
39512 ($(objpfx)bits/syscall.d): Include instead of
39513 $(objpfx)syscall-list.d.
39514 (generated): Change syscall-list.h and syscall-list.d to
39515 bits/syscall.h and bits/syscall.d.
39516
bb4e6db2
RM
395172012-03-14 Roland McGrath <roland@hack.frob.com>
39518
39519 [BZ #13846]
39520 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39521
aa4a2ae1
JM
395222012-03-14 Joseph Myers <joseph@codesourcery.com>
39523
e456826d
JM
39524 [BZ #13841]
39525 * math/s_csqrt.c: Include <float.h>.
39526 (__csqrt): Scale large or subnormal inputs.
39527 * math/s_csqrtf.c: Likewise.
39528 * math/s_csqrtl.c: Likewise.
39529 * math/libm-test.inc (csqrt_test): Add more tests.
39530 * sysdeps/i386/fpu/libm-test-ulps: Update.
39531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39532
aa4a2ae1
JM
39533 [BZ #13840]
39534 * math/libm-test.inc (hypot_test): Add more tests.
39535
7c10fd35
DM
395362012-03-13 David S. Miller <davem@davemloft.net>
39537
39538 [BZ #13840]
39539 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39540 double-precision for the calculation instead of scaling.
39541
f453b98b
JM
395422012-03-13 Joseph Myers <joseph@codesourcery.com>
39543
39544 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39545 manipulate bits before adding and subtracting TWO52[sx].
39546 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39547 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39548 Likewise.
39549 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39550
09a3453f
DM
395512012-03-13 David S. Miller <davem@davemloft.net>
39552
8e59da90
DM
39553 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39554 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39556 rtld-global-offsets.h
39557 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39558
2a8ab7f2
DM
39559 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39560 large parameters.
39561
10f62770
DM
39562 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39563
5f0bdb18
DM
39564 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39565 'err' in the ifdef scope in which it is actually used.
39566
09a3453f
DM
39567 * nss/nss_db/db-init.c: Include string.h
39568
b4b2eb5e
DM
395692012-03-12 David S. Miller <davem@davemloft.net>
39570
98bb2f1c
DM
39571 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39572 masking out of the most significant byte of random value used.
39573 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39574 Fix coding style in previous change.
39575
b4b2eb5e
DM
39576 * sysdeps/unix/sysv/linux/kernel-features.h
39577 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39578 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39579 expression.
39580 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39581 later.
39582
6e226b09
DM
395832012-03-11 David S. Miller <davem@davemloft.net>
39584
a1bcbd40
DM
39585 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39586 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39587 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39588 for 'resultvar' otherwise things get truncated on 64-bit.
39589
cb9d6174
DM
39590 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39591 Fix masking out of the most significant byte of random value used.
39592
6e226b09
DM
39593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39594
058c132d
AS
395952012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39596
39597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39598
2d2cd515
DM
395992012-03-09 David S. Miller <davem@davemloft.net>
39600
39601 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39602 variables with appropriate CPP guards.
57f41c40
AS
39603 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39604 from the frame pointer, not the stack pointer. Correct layout
39605 comments. Fix test on resulting framesize and the management of
39606 the outregs buffer for pltexit. Preserve floating point return
39607 values across _dl_call_pltexit call.
2d2cd515
DM
39608 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39609 framesize and the management of the outregs buffer for pltexit.
39610 Preserve floating point return values across _dl_call_pltexit
39611 call.
57f41c40
AS
39612 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39613 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39614 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
39615 (print_exit): Fix format string for return register value.
39616
9a07f9d0
JM
396172012-03-10 Joseph Myers <joseph@codesourcery.com>
39618
39619 * sunrpc/Makefile (others): Add rpcgen.
39620 ($(objpfx)rpcgen): Remove special build rule and dependency on
39621 libc.
39622 * sunrpc/rpcgen.c: New file.
39623
547b5e30
PE
396242012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39625
c524201a
PE
39626 [BZ #13673]
39627 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39628 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39629 * sysdeps/i386/crti.S: Likewise.
39630 * sysdeps/i386/crtn.S: Likewise.
39631 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39632 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39633 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39634 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39635 * sysdeps/sh/crti.S: Likewise.
39636 * sysdeps/sh/crtn.S: Likewise.
39637 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39638
7b6235f2
PE
39639 [BZ #13673]
39640 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39641 with URL.
39642 * locale/programs/locfile-kw.gperf: Likewise.
39643 * locale/programs/charmap-kw.h: Regenerated.
39644 * locale/programs/locfile-kw.h: Likewise.
39645
547b5e30
PE
39646 [BZ #13673]
39647 * intl/plural.y: Replace FSF snail mail address with URL.
39648 * intl/plural.c: Regenerated.
39649
5f0a5dae
RH
396502012-03-09 Richard Henderson <rth@twiddle.net>
39651
39652 * include/math_private.h: Remove file.
39653 * math/math_private.h: Move file ...
39654 * sysdeps/generic/math_private.h: ... here.
39655
b8c03620
RH
39656 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39657 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39658 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39659
4e234f5d 39660 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
39661 and <math_private.h>.
39662 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39663 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39664 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39665 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39666 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39667 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39668 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39669 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39670 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39671 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39673 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39674 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39675 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39676 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39677 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39678 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39679 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39680 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39681 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39682 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39683 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39684 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39685 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39686 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39687 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39688 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39689 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39690 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39691 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39692 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39693 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39694 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39695 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39696 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39697 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39698 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39699 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39700 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39701 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39702 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39703 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39704 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39705 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39706 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39707 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39708 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39709 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39710 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39711 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39712 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39713 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39714 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39715 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39716 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39717 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39718 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39719 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39720 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39721 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39722 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39723 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39724 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39725 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39726 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39727 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39728 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39729 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39730 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39731 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39732 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39733 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39734 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39735 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39736 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39737 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39739 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39740 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39741 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39742 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39743 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39744 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39745 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39746 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39749 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39750 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39751 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39752 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39753 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39754 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39755 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39756 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39757 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39758 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39759 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39760 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39761 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39762 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39763 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39764 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39765 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39766 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39767 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39768 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39769 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39770 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39771 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39772 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39773 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39774 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39775 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39776 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39777 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39778 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39779 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39780 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39781 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39782 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39783 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39784 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39785 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39786 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39787 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39788 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39789 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39790 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39791 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39792 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39793 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39794 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39795 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39796 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39797 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39798 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39799 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39800 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39801 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39802 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39803 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39804 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39805 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39806 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39807 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39808 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39809 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39810 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39811 * sysdeps/ieee754/k_standard.c: Likewise.
39812 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39813 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39814 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39815 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39816 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39817 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39818 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39819 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39820 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39821 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39822 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39823 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39824 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39825 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39826 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39827 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39828 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39829 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39830 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39831 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39832 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39833 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39834 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39835 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39837 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39838 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39839 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39842 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39843 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39844 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39845 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39846 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39847 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39848 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39849 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39850 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39851 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39852 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39853 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39854 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39855 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39856 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39857 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39858 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39859 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39860 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39861 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39862 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39863 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39864 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39865 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39866 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39867 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39868 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39869 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39870 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39871 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39872 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39873 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39874 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39875 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39876 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39877 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39878 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39879 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39880 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39881 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39882 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39883 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39884 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39885 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39886 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39887 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39888 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39889 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39891 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39892 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39893 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39894 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39895 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39896 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39897 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39898 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39899 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39900 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39901 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39902 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39903 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39904 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39905 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39906 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39907 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39908 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39909 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39910 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39911 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39912 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39913 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39914 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39915 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39916 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39917 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39918 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39919 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39920 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39921 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39922 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39923 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39924 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39925 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39926 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39927 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39928 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39929 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39930 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39931 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39932 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39933 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39934 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39935 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39936 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39937 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39938 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39939 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39940 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39941 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39942 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39943 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39944 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39945 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39946 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39947 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39948 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39949 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39950 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39951 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39952 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39953 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39954 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39955 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39956 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39957 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39958 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39959 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39960 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39961 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39962 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39963 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39964 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39965 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39966 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39967 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39968 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39969 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39970 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39971 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39972 * sysdeps/ieee754/s_lib_version.c: Likewise.
39973 * sysdeps/ieee754/s_matherr.c: Likewise.
39974 * sysdeps/ieee754/s_signgam.c: Likewise.
39975 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39976 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39977 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39978 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39979 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39980 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39981 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39982 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39983 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39984 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39985 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39986 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39987 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39988 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39989 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39990 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39991 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39992 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39993 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39994 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39995 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39996
1991fa03
JM
399972012-03-09 Joseph Myers <joseph@codesourcery.com>
39998
39999 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40000 * sunrpc/rpc_main.c: Likewise.
40001 * sunrpc/rpc_svcout.c: Likewise.
40002
60d6f5a6
DM
400032012-03-09 David S. Miller <davem@davemloft.net>
40004
40005 * include/math_private.h: New file.
40006
4962050e
JM
400072012-03-09 Joseph Myers <joseph@codesourcery.com>
40008
02a6f887
JM
40009 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40010 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40011 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40012 from <bits/socket_type.h>.
40013 (enum __socket_type): Don't define here.
40014 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40015 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40016 bits/socket_type.h.
40017
c6e013c1
JM
40018 [BZ #13566]
40019 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40020 checking __USE_GNU.
40021
4962050e
JM
40022 * Makerules ($(inst_includedir)/%.h): New rule.
40023 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40024 (install-others): Remove variable setting.
40025 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40026
38842f45
RH
400272012-03-08 Richard Henderson <rth@twiddle.net>
40028
67bb6da6
RH
40029 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40030 from macro to inline function; merge with the
40031 !__LIBC_INTERNAL_MATH_INLINES version.
40032 (__ieee754_sqrtf): Likewise.
40033
15194b4b
RH
40034 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40035 to inline function.
40036 (__rintf, __floor, __floorf): Likewise.
40037
64e21ede
RH
40038 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40039 macro to inline function.
40040 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40041
38842f45
RH
40042 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40043 not <math/math_private.h>.
40044
c64bf5fe
DM
400452012-03-08 David S. Miller <davem@davemloft.net>
40046
40047 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40048 copyright year.
40049 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40050
82d86f28
TS
400512012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40052
40053 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40054 normalization.
40055 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40056 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40057
aea5d727
UD
400582012-03-08 Ulrich Drepper <drepper@gmail.com>
40059
40060 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40061 be defined individually, they must be defined as a block. Define
40062 S for printing a string instead of hidint the different by using a
40063 macro for adding the 'l'.
40064 * stdio-common/tst-fphex-wide.c: Adjust.
40065
70bca0a3
MP
400662012-03-07 Marek Polacek <polacek@redhat.com>
40067
40068 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40069
65b81130
MP
400702012-03-08 Marek Polacek <polacek@redhat.com>
40071
40072 [BZ #13806]
40073 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40074 * stdio-common/tst-fphex.c: Define a few macros to make the
40075 test reusable. Use them.
40076 * stdio-common/tst-fphex-wide.c: New file.
40077
07037eeb
JM
400782012-03-08 Joseph Myers <joseph@codesourcery.com>
40079
a7a93d50
JM
40080 [BZ #6911]
40081 * manual/macros.texi (gnusystems): New macro.
40082 (nongnusystems): Likewise.
40083 (gnulinuxhurdsystems): Likewise.
40084 (gnuhurdsystems): Likewise..
40085 (gnulinuxsystems): Likewise.
40086 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40087 variants of the GNU system, not "GNU system".
40088 * manual/conf.texi: Likewise.
40089 * manual/errno.texi: Likewise. Update example of errno macro
40090 expansion.
40091 * manual/filesys.texi: Likewise.
40092 (getumask): Document as specific to GNU/Hurd.
40093 * manual/install.texi: Likewise. Reword some references to
40094 GNU/Linux.
40095 * manual/intro.texi: Likewise.
40096 * manual/io.texi: Likewise.
40097 (File Name Portability): Detail which constraints are inapplicable
40098 to all GNU systems and which are only inapplicable to GNU/Hurd.
40099 * manual/job.texi: Likewise.
40100 * manual/llio.texi: Likewise.
40101 (O_NOCTTY): Document as present on GNU/Linux.
40102 * manual/maint.texi: Likewise.
40103 * manual/memory.texi: Likewise.
40104 * manual/pattern.texi: Likewise.
40105 * manual/pipe.texi: Likewise.
40106 * manual/process.texi: Likewise.
40107 * manual/resource.texi: Likewise.
40108 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40109 child on GNU/Hurd.
40110 * manual/setjmp.texi: Likewise.
40111 * manual/signal.texi: Likewise.
40112 * manual/startup.texi: Likewise.
40113 * manual/stdio.texi: Likewise.
40114 * manual/terminal.texi: Likewise.
40115 (ONLCR): Document as POSIX.
40116 (OXTABS): Document availability on GNU/Linux as XTABS.
40117 (ONOEOT): Document availability separately from other bits.
40118 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40119 * manual/time.texi: Likewise.
40120 * manual/users.texi: Likewise.
40121 * INSTALL: Regenerated.
40122 * sysdeps/gnu/errlist.c: Regenerated.
40123
07037eeb
JM
40124 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40125 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40126 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40127 puts.
40128 * configure: Regenerated.
40129
d1d3431a
JM
401302012-03-07 Joseph Myers <joseph@codesourcery.com>
40131
af6a1e37
JM
40132 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40133 default includes instead of AC_HEADER_CHECK.
40134 * sysdeps/i386/configure: Regenerated.
40135
d1d3431a
JM
40136 [BZ #10716]
40137 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40138 * math/s_cacoshf.c (__cacoshf): Likewise.
40139 * math/s_cacoshl.c (__cacoshl): Likewise.
40140 * math/s_casinh.c (__casinh): Set signs of result from argument.
40141 * math/s_casinhf.c (__casinhf): Likewise.
40142 * math/s_casinhl.c (__casinhl): Likewise.
40143 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40144 (casinh_test): Add more tests.
40145 * sysdeps/i386/fpu/libm-test-ulps: Update.
40146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40147
482ff4da
UD
401482012-03-07 Ulrich Drepper <drepper@gmail.com>
40149
872fda05
UD
40150 * po/zh_TW.po: Update from translation team.
40151
a4300c7a
UD
40152 * login/Makefile (distribute): Remove variable.
40153 * catgets/Makefile: Likewise.
40154 * mach/Makefile: Likewise.
40155 * malloc/Makefile: Likewise.
40156 * misc/Makefile: Likewise.
40157 * iconv/Makefile: Likewise.
40158 * nscd/Makefile: Likewise.
40159 * hurd/Makefile: Likewise.
40160 * manual/Makefile: Likewise.
40161 * locale/Makefile: Likewise.
40162 * intl/Makefile: Likewise.
40163 * conform/Makefile: Likewise.
40164 * nss/Makefile: Likewise.
40165 * time/Makefile: Likewise.
40166 * soft-fp/Makefile: Likewise.
40167 * dirent/Makefile: Likewise.
40168 * gmon/Makefile: Likewise.
40169 * po/Makefile: Likewise.
40170 * rt/Makefile: Likewise.
40171 * socket/Makefile: Likewise.
40172 * math/Makefile: Likewise.
40173 * signal/Makefile: Likewise.
40174 * debug/Makefile: Likewise.
40175 * elf/Makefile: Likewise.
40176 * timezone/Makefile: Likewise.
40177 * stdlib/Makefile: Likewise.
40178 * iconvdata/Makefile: Likewise.
40179 * sunrpc/Makefile: Likewise.
40180 * io/Makefile: Likewise.
40181 * argp/Makefile: Likewise.
40182 * inet/Makefile: Likewise.
40183 * hesiod/Makefile: Likewise.
40184 * grp/Makefile: Likewise.
40185 * csu/Makefile: Likewise.
40186 * wctype/Makefile: Likewise.
40187 * crypt/Makefile: Likewise.
40188 * libio/Makefile: Likewise.
40189 * string/Makefile: Likewise.
40190 * nis/Makefile: Likewise.
40191 * resolv/Makefile: Likewise.
40192 * stdio-common/Makefile: Likewise.
40193 * wcsmbs/Makefile: Likewise.
40194 * dlfcn/Makefile: Likewise.
40195 * posix/Makefile: Likewise.
40196
3b7c4e74 40197 [BZ #6959]
482ff4da
UD
40198 * timezone/Makefile: Don't install timezone files, just the programs
40199 and scripts.
40200
f72ed77d
UD
402012012-03-06 Ulrich Drepper <drepper@gmail.com>
40202
a000466f
UD
40203 * nss/databases.def: Add missing gshadow entry.
40204
f72ed77d
UD
40205 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40206
a53b7a4e
MP
402072012-03-06 Marek Polacek <polacek@redhat.com>
40208
40209 [BZ #13726]
40210 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40211 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40212 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40213 * stdio-common/tst-long-dbl-fphex.c: New file.
40214
e9258400
DM
402152012-03-06 David S. Miller <davem@davemloft.net>
40216
40217 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40218 (set_obp_int): New function.
40219 (get_obp_int): New function.
40220 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
40221 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40222 Avoid unused variable warnings on 'val' and use builtin_expect.
40223 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40224 __builtin_expect.
e9258400
DM
40225 (INLINE_CLONE_SYSCALL): Likewise.
40226
3bd2c723
DM
402272012-03-05 David S. Miller <davem@davemloft.net>
40228
40229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40230
bbb78d03
AS
402312012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40232
884c5db4
AS
40233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40234
bbb78d03
AS
40235 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40236 only for |x| >= 40.
40237 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40238
1c9f702a 402392012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40240
40241 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40242 Replace gettimeofday with __vdso_gettimeofday.
40243
7be16f82
RM
40244 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40245 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40246 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
40247
40248 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40249 time with __vdso_time.
40250
ed58a00f
JM
402512012-03-05 Joseph Myers <joseph@codesourcery.com>
40252
40253 * manual/lang.texi (size_t): Note types to which size_t may be
40254 equivalent with the GNU C Library, but do not describe when
40255 differences between them are significant.
40256
30ee4ced
AJ
402572012-03-05 Andreas Jaeger <aj@suse.de>
40258
40259 * sysdeps/i386/fpu/libm-test-ulps: Update.
40260
b7cd39e8
JM
402612012-03-05 Joseph Myers <joseph@codesourcery.com>
40262
40263 [BZ #3976]
40264 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40265 (__ieee754_pow): Save and restore rounding mode and use
40266 round-to-nearest for main computations.
40267 * math/libm-test.inc (pow_test_tonearest): New function.
40268 (pow_test_towardzero): Likewise.
40269 (pow_test_downward): Likewise.
40270 (pow_test_upward): Likewise.
40271 (main): Call the new functions.
40272 * sysdeps/i386/fpu/libm-test-ulps: Update.
40273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
40274
40275 [BZ #3976]
40276 * math/libm-test.inc (cosh_test_tonearest): New function.
40277 (cosh_test_towardzero): Likewise.
40278 (cosh_test_downward): Likewise.
40279 (cosh_test_upward): Likewise.
40280 (sinh_test_tonearest): Likewise.
40281 (sinh_test_towardzero): Likewise.
40282 (sinh_test_downward): Likewise.
40283 (sinh_test_upward): Likewise.
40284 (main): Call the new functions.
40285 * sysdeps/i386/fpu/libm-test-ulps: Update.
40286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40287
6c6a98c9
TV
402882012-03-05 Tom de Vries <tom@codesourcery.com>
40289
40290 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40291 default stack guard is set in last bytes.
40292 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40293
21bb2d2e 402942012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40295
21bb2d2e 40296 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40297
21bb2d2e
AJ
40298 [BZ #13656]
40299 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40300 possibly allocate from heap instead of stack.
40301 * stdio-common/bug-vfprintf-nargs.c: New file.
40302 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40303
c6922934
AS
403042012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40305
40306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40307
bc957d53
MP
403082012-03-03 Marek Polacek <polacek@redhat.com>
40309
40310 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40311 * math/math_private.h: Likewise.
40312 * stdlib/tst-strtod.c: Likewise.
40313 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40314 * sysdeps/x86_64/bits/atomic.h: Likewise.
40315
6358490d
DM
403162012-03-02 David S. Miller <davem@davemloft.net>
40317
40318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40322 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40323 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40324 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40325 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40326
01ae168d
RM
403272012-03-02 Roland McGrath <roland@hack.frob.com>
40328
d9a17c07
RM
40329 [BZ #13792]
40330 * manual/examples/README: New file, says the example source files
40331 can be used under GPL>=2.
40332 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40333 line containing just "*/".
40334 * manual/examples/add.c: Add copyright header (GPL>=2).
40335 * manual/examples/argp-ex1.c: Likewise.
40336 * manual/examples/argp-ex2.c: Likewise.
40337 * manual/examples/argp-ex3.c: Likewise.
40338 * manual/examples/argp-ex4.c: Likewise.
40339 * manual/examples/atexit.c: Likewise.
40340 * manual/examples/db.c: Likewise.
40341 * manual/examples/dir.c: Likewise.
40342 * manual/examples/dir2.c: Likewise.
40343 * manual/examples/execinfo.c: Likewise.
40344 * manual/examples/filecli.c: Likewise.
40345 * manual/examples/filesrv.c: Likewise.
40346 * manual/examples/fmtmsgexpl.c: Likewise.
40347 * manual/examples/genpass.c: Likewise.
40348 * manual/examples/inetcli.c: Likewise.
40349 * manual/examples/inetsrv.c: Likewise.
40350 * manual/examples/isockad.c: Likewise.
40351 * manual/examples/longopt.c: Likewise.
40352 * manual/examples/memopen.c: Likewise.
40353 * manual/examples/memstrm.c: Likewise.
40354 * manual/examples/mkfsock.c: Likewise.
40355 * manual/examples/mkisock.c: Likewise.
40356 * manual/examples/mygetpass.c: Likewise.
40357 * manual/examples/pipe.c: Likewise.
40358 * manual/examples/popen.c: Likewise.
40359 * manual/examples/rprintf.c: Likewise.
40360 * manual/examples/search.c: Likewise.
40361 * manual/examples/select.c: Likewise.
40362 * manual/examples/setjmp.c: Likewise.
40363 * manual/examples/sigh1.c: Likewise.
40364 * manual/examples/sigusr.c: Likewise.
40365 * manual/examples/stpcpy.c: Likewise.
40366 * manual/examples/strdupa.c: Likewise.
40367 * manual/examples/strftim.c: Likewise.
40368 * manual/examples/strncat.c: Likewise.
40369 * manual/examples/subopt.c: Likewise.
40370 * manual/examples/swapcontext.c: Likewise.
40371 * manual/examples/termios.c: Likewise.
40372 * manual/examples/testopt.c: Likewise.
40373 * manual/examples/testpass.c: Likewise.
40374 * manual/examples/timeval_subtract.c: Likewise.
40375
01ae168d
RM
40376 [BZ #13792]
40377 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40378 function to ...
40379 * manual/timeval_subtract.c.texi: ... here, new file.
40380
49efa33d
DM
403812012-03-02 David S. Miller <davem@davemloft.net>
40382
40383 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40384
28afd92d
JM
403852012-03-02 Joseph Myers <joseph@codesourcery.com>
40386
804360ed
JM
40387 [BZ #3976]
40388 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40389 (__sin): Save and restore rounding mode and use round-to-nearest
40390 for all computations.
40391 (__cos): Save and restore rounding mode and use round-to-nearest
40392 for all computations.
40393 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40394 <fenv.h>.
40395 (tan): Save and restore rounding mode and use round-to-nearest for
40396 all computations.
40397 * math/libm-test.inc (cos_test_tonearest): New function.
40398 (cos_test_towardzero): Likewise.
40399 (cos_test_downward): Likewise.
40400 (cos_test_upward): Likewise.
40401 (sin_test_tonearest): Likewise.
40402 (sin_test_towardzero): Likewise.
40403 (sin_test_downward): Likewise.
40404 (sin_test_upward): Likewise.
40405 (tan_test_tonearest): Likewise.
40406 (tan_test_towardzero): Likewise.
40407 (tan_test_downward): Likewise.
40408 (tan_test_upward): Likewise.
40409 (main): Call the new functions.
40410 * sysdeps/i386/fpu/libm-test-ulps: Update.
40411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40412
a6d06d7b
JM
40413 [BZ #10135]
40414 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40415 small n, then large n, before computing and testing k+n.
40416 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40418 Likewise.
40419 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40420 Likewise.
40421 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40422 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40423 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40424 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40425 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40426 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40427 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40428 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40429 * math/libm-test.inc (scalbn_test): Add more tests.
40430 (scalbln_test): Likewise.
40431
07e12bb3
JM
40432 * manual/filesys.texi (mode_t): Describe constraints on size and
40433 signedness, not exact equivalence to a particular type.
40434 (ino_t): Likewise.
40435 (ino64_t): Likewise.
40436 (dev_t): Likewise.
40437 (nlink_t): Likewise.
40438 (blkcnt_t): Likewise.
40439 (blkcnt64_t): Likewise.
40440 * manual/llio.texi (off_t): Likewise.
40441
28afd92d
JM
40442 [BZ #3976]
40443 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40444 (__ieee754_exp): Save and restore rounding mode and use
40445 round-to-nearest for all computations.
40446 * math/libm-test.inc (exp_test_tonearest): New function.
40447 (exp_test_towardzero): Likewise.
40448 (exp_test_downward): Likewise.
40449 (exp_test_upward): Likewise.
40450 (main): Call the new functions.
40451 * sysdeps/i386/fpu/libm-test-ulps: Update.
40452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40453
b1eeb65d
CD
404542012-03-01 Chris Demetriou <cgd@google.com>
40455
40456 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40457 have predictable order.
40458
53362a4b
DM
404592012-03-01 David S. Miller <davem@davemloft.net>
40460
3c969083
DM
40461 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40462
759707de
DM
40463 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40464 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40465 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40466 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40467
dfdb8ff2
DM
40468 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40469 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40470 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40472 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40473 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40474 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40475 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40476 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40477
ead89f96
DM
40478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40479
7f66bd07
DM
40480 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40481 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40482 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40483
53362a4b
DM
40484 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40485 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40486 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40487 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40488 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40489 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40490 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40491 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40492 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40493 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40494 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40497 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40498 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40499 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40500 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40501 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40502 * sysdeps/sparc/elf/configure: Regenerated.
40503
7b1902cb
JM
405042012-03-01 Joseph Myers <joseph@codesourcery.com>
40505
bec039bc
JM
40506 * configure.in (AS, LD): Require binutils 2.20 or later.
40507 * configure: Regenerated.
40508 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40509 as required minimum version.
40510 * INSTALL: Regenerated.
40511
7b1902cb
JM
40512 [BZ #2541]
40513 [BZ #4108]
40514 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40515 before squaring exponent.
40516 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40517 bottom long double and 27 bits of top long double before squaring
40518 exponent.
40519 * math/libm-test.inc (erfc_test): Add more tests.
40520 * sysdeps/i386/fpu/libm-test-ulps: Update.
40521 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40523
f775c276
KT
405242012-03-01 Kai Tietz <ktietz@redhat.com>
40525
40526 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40527 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40528 containing bit-fields.
40529 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40530 * soft-fp/single.h (_FP_UNION_S): Likewise.
40531 * soft-fp/double.h (_FP_UNION_D): Likewise.
40532
5b8a4d4a
JM
405332012-02-29 Joseph Myers <joseph@codesourcery.com>
40534
0bab47b6
JM
40535 [BZ #13786]
40536 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40537 not include ../strcmp.S.
40538 [USE_AS_STRNCASECMP_L]: Likewise.
40539 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40540 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40541 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40542 (__strncasecmp_l_ia32): Define as alias to
40543 __strncasecmp_l_nonascii.
40544
0fcad3e2
JM
40545 [BZ #5794]
40546 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40547 * sysdeps/i386/fpu/libm-test-ulps: Update.
40548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40549
5b8a4d4a
JM
40550 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40552
8fdceb2e
JL
405532012-02-29 Jeff Law <law@redhat.com>
40554
40555 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40556 out of bounds read.
40557
1f393a11
MP
405582012-02-29 Marek Polacek <polacek@redhat.com>
40559
40560 [BZ #13706]
40561 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40562 * elf/Makefile: Add rules to run tst-unused-dep.out.
40563
8847f037
DM
405642012-02-28 David S. Miller <davem@davemloft.net>
40565
40566 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40567 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40568 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40569 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40570 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40571 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40572
169d7f11
JM
405732012-02-29 Joseph Myers <joseph@codesourcery.com>
40574
40575 * math/libm-test.inc (llround_test): Move one test from
40576 lround_test. Use TEST_f_L in moved test.
40577 (lround_test): Move misplaced test to llround_test. Add testcase
40578 from bug 2561.
40579
39adf059
UD
405802012-02-28 Ulrich Drepper <drepper@gmail.com>
40581
40582 * sysdeps/x86_64/fpu/e_expf.S: New file.
40583 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40584
71b5d1c5
SB
405852012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40586
40587 [BZ #13637]
40588 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40589 of remain_len that may cause incomplete multi-byte character and
40590 false match.
40591 * posix/bug-regex33.c: New file.
40592 * posix/Makefile (tests): Add bug-regex33.
40593
1f77f049
JM
405942012-02-28 Joseph Myers <joseph@codesourcery.com>
40595
40596 * manual/macros.texi: New file.
40597 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40598 * manual/libc.texinfo: Include macros.texi.
40599 * manual/creatute.texi: Likewise.
40600 * manual/install.texi: Likewise.
40601 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40602 @glibcadj{} in references to the GNU C Library.
40603 * manual/charset.texi: Likewise.
40604 * manual/conf.texi: Likewise.
40605 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40606 when not using those macros.
40607 * manual/creature.texi: Likewise.
40608 * manual/crypt.texi: Likewise.
40609 * manual/errno.texi: Likewise.
40610 * manual/filesys.texi: Likewise.
40611 * manual/header.texi: Likewise.
40612 * manual/install.texi: Likewise.
40613 * manual/intro.texi: Likewise.
40614 * manual/io.texi: Likewise.
40615 * manual/job.texi: Likewise.
40616 * manual/lang.texi: Likewise.
40617 * manual/libc.texiinfo: Likewise.
40618 * manual/llio.texi: Likewise.
40619 * manual/locale.texi: Likewise.
40620 * manual/maint.texi: Likewise.
40621 * manual/math.texi: Likewise.
40622 * manual/memory.texi: Likewise.
40623 * manual/message.texi: Likewise.
40624 * manual/nss.texi: Likewise.
40625 * manual/pattern.texi: Likewise.
40626 * manual/process.texi: Likewise.
40627 * manual/resource.texi: Likewise.
40628 * manual/search.texi: Likewise.
40629 * manual/setjmp.texi: Likewise.
40630 * manual/signal.texi: Likewise.
40631 * manual/socket.texi: Likewise.
40632 * manual/startup.texi: Likewise.
40633 * manual/stdio.texi: Likewise.
40634 * manual/string.texi: Likewise.
40635 * manual/sysinfo.texi: Likewise.
40636 * manual/syslog.texi: Likewise.
40637 * manual/terminal.texi: Likewise.
40638 * manual/time.texi: Likewise.
40639 * manual/users.texi: Likewise.
40640 * INSTALL: Regenerated.
40641 * NOTES: Regenerated.
d40c5d54 40642 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 40643
450bf206
AS
406442012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40645
40646 * include/dirent.h: Include <dirstream.h> before
40647 <dirent/dirent.h>.
40648
741a235b
DM
406492012-02-28 David S. Miller <davem@davemloft.net>
40650
40651 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40652 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40653 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40654 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40655
d6b5aa58
DM
406562012-02-27 David S. Miller <davem@davemloft.net>
40657
1aff59a3
DM
40658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40660 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40661 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40662
d6b5aa58
DM
40663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40664 frame pointer instead of stack pointer relative arg slot.
40665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40666 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40667 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40668
433f48bf
CD
406692012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40670
40671 [BZ #3992]
40672 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40673
d674b76d
DM
406742012-02-27 David S. Miller <davem@davemloft.net>
40675
40676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40680 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40681 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40682 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40683 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40684
0e7727f7
JM
406852012-02-27 Joseph Myers <joseph@codesourcery.com>
40686
40687 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40688 later. Allow versions 5-9.
43be4ca2 40689 * configure: Regenerated.
0e7727f7
JM
40690 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40691 required minimum version and 4.6 as recommended version. Do not
40692 mention bugs in GCC 2.7 and 2.8.
43be4ca2 40693 * INSTALL: Regenerated.
0e7727f7 40694
a78bc654
DM
406952012-02-27 David S. Miller <davem@davemloft.net>
40696
428d5830
DM
40697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40701 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40702 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40703 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40704 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40705
a78bc654
DM
40706 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40707 manipulate bits before adding and subtracting TWO112[sx].
40708 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40709
4579f81c
RM
407102012-02-27 Roland McGrath <roland@hack.frob.com>
40711
36c8acb4
RM
40712 [BZ #13775]
40713 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40714 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40715 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40716 being in POSIX, because they are in 1003.1-2008.
40717
84ad622b
RM
40718 * rt/tst-aio.c: Include <fcntl.h>.
40719 * rt/tst-aio7.c: Likewise.
40720 * rt/tst-aio64.c: Likewise.
40721
4579f81c
RM
40722 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40723
abd923db
JM
407242012-02-27 Joseph Myers <joseph@codesourcery.com>
40725
40726 * manual/install.texi (--with-headers): Describe headers as
40727 interface headers, not private headers.
40728 (Specific advice for GNU/Linux systems): Describe use of headers
40729 from "make headers_install", not private headers from older
40730 kernels.
43be4ca2 40731 * INSTALL: Regenerated.
abd923db
JM
40732 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40733 Change to 2.6.19.
40734 * sysdeps/unix/sysv/linux/configure: Regenerated.
40735
6664049b
JM
40736 * manual/llio.texi (fclean): Remove documentation.
40737
bb8b6697
JM
40738 * manual/Makefile (libc-texi-generated): New variable. Include
40739 version.texi.
40740 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40741 $(libc-texi-generated), not duplicated list of files.
40742 (version.texi, stamp-version): New rules.
40743 (realclean): Remove $(libc-texi-generated), not individual files
40744 from that list. Do not remove dir-add.texinfo.
40745 * manual/libc.texinfo: Comment out uses of edition numbers and
40746 references to printed manual. Remove last-updated dates.
40747 (EDITION): Comment out.
40748 (ISBN): Likewise.
40749 (VERSION, UPDATED): Remove.
40750 (version.texi): Include.
40751
12e5c3b9
AS
407522012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40753
40754 * sysdeps/posix/spawni.c: Include <signal.h>.
40755 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40756 * sysdeps/pthread/aio_fsync.c: Likewise.
40757
4efeffc1 407582012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 40759
ba63ba08
UD
40760 * conform/Makefile (tests): Run only when not cross-compiling and
40761 when fast-check is not defined.
40762
d94a4670
UD
40763 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40764 * conform/data/limits.h-data: Fixes for POSIX2008.
40765 * conform/run-conformtest.sh: Run all tests.
40766 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40767 headers.
40768 * include/bits/dlfcn.h: Likewise.
40769 * include/langinfo.h: Likewise.
40770 * include/monetary.h: Likewise.
40771 * include/sys/poll.h: Likewise.
40772
40773 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40774 for __USE_GNU.
40775 * posix/spawn.h: Define __need_sigset_t.
40776 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40777 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40778 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40779 to get sigevent_t only.
40780 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40781 only for __USE_GNU.
40782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40783 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40784 process_vm_writev only for __USE_GNU.
40785 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
40786
40787 * conform/Makefile: For now ignore errors from run-conformtest.
40788 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40789 POSIX to avoid namespace pollution. Don't prepend headers.
40790 * conform/data/aio.h-data: Fixes for POSIX testing.
40791 * conform/data/fcntl.h-data: Likewise.
40792 * conform/data/glob.h-data: Likewise.
40793 * conform/data/grp.h-data: Likewise.
40794 * conform/data/pthread.h-data: Likewise.
40795 * conform/data/pwd.h-data: Likewise.
40796 * conform/data/signal.h-data: Likewise.
40797 * conform/data/spawn.h-data: Likewise.
40798 * conform/data/stdio.h-data: Likewise.
40799 * conform/data/stdlib.h-data: Likewise.
40800 * conform/data/stropts.h-data: Likewise.
40801 * conform/data/sys/mman.h-data: Likewise.
40802 * conform/data/sys/stat.h-data: Likewise.
40803 * conform/data/sys/types.h-data: Likewise.
40804 * conform/data/sys/wait.h-data: Likewise.
40805 * conform/data/time.h-data: Likewise.
40806 * conform/data/unistd.h-data: Likewise.
40807 * conform/data/utime.h-data: Likewise.
40808
40809 * io/sys/stat.h: fchmod was always in POSIX.
40810 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40811 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40812 * rt/aio.h: Define __need_timespec before including <time.h>.
40813 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40814 struct. Add forward declaration of pthread_attr_t and use it in
40815 sigevent.
40816 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40817 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40818 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40819 always remove CLK_TCK definition.
40820
c20105c3
AS
408212012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40822
40823 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40824
7a270350
UD
408252012-02-25 Ulrich Drepper <drepper@gmail.com>
40826
31341567
UD
40827 * conform/run-conformtest.sh: New file.
40828 * conform/Makefile: Run run-conformtest for tests.
40829 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40830 support.
40831
40832 * conform/data/uchar.h-data: New file.
40833 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40834 * conform/data/arpa/inet.h-data: Likewise.
40835 * conform/data/assert.h-data: Likewise.
40836 * conform/data/complex.h-data: Likewise.
40837 * conform/data/cpio.h-data: Likewise.
40838 * conform/data/ctype.h-data: Likewise.
40839 * conform/data/dirent.h-data: Likewise.
40840 * conform/data/dlfcn.h-data: Likewise.
40841 * conform/data/errno.h-data: Likewise.
40842 * conform/data/fcntl.h-data: Likewise.
40843 * conform/data/float.h-data: Likewise.
40844 * conform/data/fmtmsg.h-data: Likewise.
40845 * conform/data/fnmatch.h-data: Likewise.
40846 * conform/data/ftw.h-data: Likewise.
40847 * conform/data/glob.h-data: Likewise.
40848 * conform/data/grp.h-data: Likewise.
40849 * conform/data/iconv.h-data: Likewise.
40850 * conform/data/inttypes.h-data: Likewise.
40851 * conform/data/langinfo.h-data: Likewise.
40852 * conform/data/libgen.h-data: Likewise.
40853 * conform/data/limits.h-data: Likewise.
40854 * conform/data/locale.h-data: Likewise.
40855 * conform/data/math.h-data: Likewise.
40856 * conform/data/monetary.h-data: Likewise.
40857 * conform/data/mqueue.h-data: Likewise.
40858 * conform/data/ndbm.h-data: Likewise.
40859 * conform/data/net/if.h-data: Likewise.
40860 * conform/data/netdb.h-data: Likewise.
40861 * conform/data/netinet/in.h-data: Likewise.
40862 * conform/data/nl_types.h-data: Likewise.
40863 * conform/data/poll.h-data: Likewise.
40864 * conform/data/pthread.h-data: Likewise.
40865 * conform/data/pwd.h-data: Likewise.
40866 * conform/data/regex.h-data: Likewise.
40867 * conform/data/sched.h-data: Likewise.
40868 * conform/data/search.h-data: Likewise.
40869 * conform/data/semaphore.h-data: Likewise.
40870 * conform/data/setjmp.h-data: Likewise.
40871 * conform/data/signal.h-data: Likewise.
40872 * conform/data/spawn.h-data: Likewise.
40873 * conform/data/stdarg.h-data: Likewise.
40874 * conform/data/stdio.h-data: Likewise.
40875 * conform/data/stdlib.h-data: Likewise.
40876 * conform/data/string.h-data: Likewise.
40877 * conform/data/strings.h-data: Likewise.
40878 * conform/data/stropts.h-data: Likewise.
40879 * conform/data/sys/ipc.h-data: Likewise.
40880 * conform/data/sys/mman.h-data: Likewise.
40881 * conform/data/sys/msg.h-data: Likewise.
40882 * conform/data/sys/resource.h-data: Likewise.
40883 * conform/data/sys/select.h-data: Likewise.
40884 * conform/data/sys/sem.h-data: Likewise.
40885 * conform/data/sys/shm.h-data: Likewise.
40886 * conform/data/sys/socket.h-data: Likewise.
40887 * conform/data/sys/stat.h-data: Likewise.
40888 * conform/data/sys/statvfs.h-data: Likewise.
40889 * conform/data/sys/time.h-data: Likewise.
40890 * conform/data/sys/timeb.h-data: Likewise.
40891 * conform/data/sys/times.h-data: Likewise.
40892 * conform/data/sys/types.h-data: Likewise.
40893 * conform/data/sys/uio.h-data: Likewise.
40894 * conform/data/sys/un.h-data: Likewise.
40895 * conform/data/sys/utsname.h-data: Likewise.
40896 * conform/data/sys/wait.h-data: Likewise.
40897 * conform/data/syslog.h-data: Likewise.
40898 * conform/data/tar.h-data: Likewise.
40899 * conform/data/termios.h-data: Likewise.
40900 * conform/data/utime.h-data: Likewise.
40901 * conform/data/utmpx.h-data: Likewise.
40902 * conform/data/varargs.h-data: Likewise.
40903 * conform/data/wchar.h-data: Likewise.
40904 * conform/data/wctype.h-data: Likewise.
40905 * conform/data/wordexp.h-data: Likewise.
40906
40907 * include/stropts.h: New file.
40908 * include/uchar.h: New file.
40909 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40910 * include/assert.h: Likewise.
40911 * include/ctype.h: Likewise.
40912 * include/dirent.h: Likewise.
40913 * include/dlfcn.h: Likewise.
40914 * include/fcntl.h: Likewise.
40915 * include/fnmatch.h: Likewise.
40916 * include/glob.h: Likewise.
40917 * include/grp.h: Likewise.
40918 * include/libio.h: Likewise.
40919 * include/locale.h: Likewise.
40920 * include/math.h: Likewise.
40921 * include/net/if.h: Likewise.
40922 * include/netdb.h: Likewise.
40923 * include/netinet/in.h: Likewise.
40924 * include/pthread.h: Likewise.
40925 * include/pwd.h: Likewise.
40926 * include/regex.h: Likewise.
40927 * include/sched.h: Likewise.
40928 * include/search.h: Likewise.
40929 * include/setjmp.h: Likewise.
40930 * include/signal.h: Likewise.
40931 * include/stdio.h: Likewise.
40932 * include/stdlib.h: Likewise.
40933 * include/string.h: Likewise.
40934 * include/sys/cdefs.h: Likewise.
40935 * include/sys/mman.h: Likewise.
40936 * include/sys/msg.h: Likewise.
40937 * include/sys/resource.h: Likewise.
40938 * include/sys/select.h: Likewise.
40939 * include/sys/socket.h: Likewise.
40940 * include/sys/stat.h: Likewise.
40941 * include/sys/statvfs.h: Likewise.
40942 * include/sys/time.h: Likewise.
40943 * include/sys/times.h: Likewise.
40944 * include/sys/uio.h: Likewise.
40945 * include/sys/utsname.h: Likewise.
40946 * include/sys/wait.h: Likewise.
40947 * include/termios.h: Likewise.
40948 * include/time.h: Likewise.
40949 * include/ulimit.h: Likewise.
40950 * include/unistd.h: Likewise.
40951 * include/utime.h: Likewise.
40952 * include/wchar.h: Likewise.
40953 * include/wctype.h: Likewise.
40954 * include/wordexp.h: Likewise.
40955
40956 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40957
7a270350
UD
40958 * time/time.h: TIME_UTC must be a macro.
40959 Make timespec_get available for ISO C11 only as well.
40960
7724defc
UD
409612012-02-24 Ulrich Drepper <drepper@gmail.com>
40962
40963 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40964 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40965
6b1d1d46
JM
409662012-02-24 Joseph Myers <joseph@codesourcery.com>
40967
40968 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40969
0f8bbd69
JM
409702012-02-24 Joseph Myers <joseph@codesourcery.com>
40971
40972 * manual/texinfo.tex: Update to version 2012-01-19.16.
40973
66ab80bc
JM
409742012-02-24 Joseph Myers <joseph@codesourcery.com>
40975
40976 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40977
74981cc5
RM
409782012-02-24 Roland McGrath <roland@hack.frob.com>
40979
ee968201
RM
40980 [BZ #13738]
40981 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40982 * manual/fdl-1.3.texi: New file.
40983 * manual/fdl-1.1.texi: File removed.
40984
74981cc5
RM
40985 [BZ #13738]
40986 * manual/libc.texinfo (FDL_VERSION): New @set.
40987 Use it for mention of FDL in cover text.
40988 (Documentation License): Use it in @include file name.
40989
7bb764bc
JM
409902012-02-22 Joseph Myers <joseph@codesourcery.com>
40991 Roland McGrath <roland@hack.frob.com>
40992
40993 [BZ #5461]
57f41c40
AS
40994 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40995 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40996 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40997 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40998 name.
40999 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41000
6cbeae47
JM
410012012-02-22 Joseph Myers <joseph@codesourcery.com>
41002
41003 [BZ #2547]
41004 [BZ #11365]
41005 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41006 manipulate bits before adding and subtracting TWO23[sx].
41007 * math/libm-test.inc (nearbyint_test): Add more tests.
41008
fe45ce09
JM
410092012-02-22 Joseph Myers <joseph@codesourcery.com>
41010
41011 [BZ #2548]
41012 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41013 bits before adding and subtracting TWO23[sx].
41014 * math/libm-test.inc (rint_test): Add more tests.
41015 (rint_test_tonearest): Likewise.
41016 (rint_test_towardzero): Likewise.
41017 (rint_test_downward): Likewise.
41018 (rint_test_upward: Likewise.
41019
ff3b3d82
JM
410202012-02-22 Joseph Myers <joseph@codesourcery.com>
41021
41022 [BZ #10110]
41023 * include/stdc-predef.h: New file. Extracted from features.h.
41024 * include/features.h: Include stdc-predef.h.
41025 * Makefile (headers): Add stdc-predef.h.
41026 * CONFORMANCE (Compiler limitations): Update.
41027
ef0aab35
JM
410282012-02-22 Joseph Myers <joseph@codesourcery.com>
41029
41030 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41031
58639409
DM
410322012-02-21 David S. Miller <davem@davemloft.net>
41033
41034 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41035 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41036
c0e70b25
DM
410372012-02-20 David S. Miller <davem@davemloft.net>
41038
41039 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41040 using a normal save/restore sequence, rather than allocating a
41041 dummy stack frame just to store a frame pointer and restore.
41042 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41043
fb06851d
JM
410442012-02-21 Joseph Myers <joseph@codesourcery.com>
41045
41046 * manual/install.texi: Fix stray word in line-wrapped comment.
41047
7a8b71c3
DM
410482012-02-20 David S. Miller <davem@davemloft.net>
41049
d510c123
DM
41050 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41051 both binutils and gcc support GOTDATA.
41052
0722d7c2
DM
41053 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41054 "rd %pc" in the PIC register setup sequences.
41055
3d2b3019
DM
41056 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41057 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41058 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41059 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41060 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41061 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41062 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41063 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41065 (SYSCALL_ERROR_HANDLER): Likewise.
41066 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41067 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41068 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41069 (SYSCALL_ERROR_HANDLER): Likewise.
41070
c80098a9
DM
41071 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41072 (HAVE_GCC_GOTDATA): New.
41073 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41074 relocation support in both binutils and gcc.
41075 * sysdeps/sparc/elf/configure: Regenerate.
41076
3a2545a0
DM
41077 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41078 * sysdeps/sparc/sparc32/elf/configure: Delete.
41079 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41080 * sysdeps/sparc/sparc64/elf/configure: Delete.
41081 * sysdeps/sparc/elf/configure.in: New file.
41082 * sysdeps/sparc/elf/configure: Generate.
41083
7a8b71c3
DM
41084 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41085 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41086 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41087 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41088 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41089
f1e86fca
JM
410902012-02-21 Joseph Myers <joseph@codesourcery.com>
41091
41092 * manual/install.texi: Do not mention specific glibc version
41093 numbers.
41094 * manual/libc.texinfo (VERSION, UPDATED): Update.
41095 (@copying): Use @copyright{} and range of years.
41096
0e7dfaef
JM
410972012-02-21 Joseph Myers <joseph@codesourcery.com>
41098
41099 [BZ #13695]
41100 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41101 [crti.S not in sysdirs] (generated): Do not append.
41102 [crti.S not in sysdirs] (omit-deps): Likewise.
41103 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41104 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41105 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41106 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41107 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41108 Likewise.
41109 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41110 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41111 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41112 * csu/defs.awk: Remove file.
41113 * sysdeps/generic/initfini.c: Likewise.
41114 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41115 variable.
41116 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41117 Likewise.
41118
599af3ca
JM
411192012-02-20 Joseph Myers <joseph@codesourcery.com>
41120
41121 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41122 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41123 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41124 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41125 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41126 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41127 <bits/epoll.h>.
41128 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41129 (__EPOLL_PACKED): Define to empty if not defined by
41130 <bits/epoll.h>.
41131 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41133 bits/epoll.h.
41134
0e499750
JM
411352012-02-20 Joseph Myers <joseph@codesourcery.com>
41136
41137 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41138 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41139 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41140 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41141 <bits/timerfd.h>.
41142 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41144 bits/timerfd.h.
41145
5ad91f6e
JM
411462012-02-20 Joseph Myers <joseph@codesourcery.com>
41147
41148 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41149 in C locale.
41150 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41151 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41152 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41154
06b99b02
AJ
411552012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41156
41157 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41158 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41159
7638c0fd
AS
411602012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41161
41162 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41163 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41164 defined.
41165 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41166 Likewise.
41167 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41168 entry for 2.16.
41169
92221550
AJ
411702012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41171
41172 * math/w_acos.c: Use non-signaling floating-point comparisons.
41173 * math/w_acosf.c: Likewise.
41174 * math/w_acosh.c: Likewise.
41175 * math/w_acoshf.c: Likewise.
41176 * math/w_acoshl.c: Likewise.
41177 * math/w_acosl.c: Likewise.
41178 * math/w_asin.c: Likewise.
41179 * math/w_asinf.c: Likewise.
41180 * math/w_asinl.c: Likewise.
41181 * math/w_atanh.c: Likewise.
41182 * math/w_atanhf.c: Likewise.
41183 * math/w_atanhl.c: Likewise.
41184 * math/w_exp2.c: Likewise.
41185 * math/w_exp2f.c: Likewise.
41186 * math/w_exp2l.c: Likewise.
41187 * math/w_j0.c: Likewise.
41188 * math/w_j0f.c: Likewise.
41189 * math/w_j0l.c: Likewise.
41190 * math/w_j1.c: Likewise.
41191 * math/w_j1f.c: Likewise.
41192 * math/w_j1l.c: Likewise.
41193 * math/w_jn.c: Likewise.
41194 * math/w_jnf.c: Likewise.
41195 * math/w_log.c: Likewise.
41196 * math/w_log10.c: Likewise.
41197 * math/w_log10f.c: Likewise.
41198 * math/w_log10l.c: Likewise.
41199 * math/w_log2.c: Likewise.
41200 * math/w_log2f.c: Likewise.
41201 * math/w_log2l.c: Likewise.
41202 * math/w_logf.c: Likewise.
41203 * math/w_logl.c: Likewise.
41204 * math/w_sqrt.c: Likewise.
41205 * math/w_sqrtf.c: Likewise.
41206 * math/w_sqrtl.c: Likewise.
41207 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41208 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41209 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41210 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41211 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41212
ebaf36eb
JM
412132012-02-19 Joseph Myers <joseph@codesourcery.com>
41214
41215 [BZ #9739]
41216 * manual/string.texi (strnlen): Use correct parameter name in
41217 equivalent expression.
41218
71c254a6
JM
412192012-02-19 Joseph Myers <joseph@codesourcery.com>
41220
41221 [BZ #11174]
41222 * manual/users.texi (seteuid): Consistently use neweuid for
41223 argument name.
41224
16d2c631
JM
412252012-02-19 Joseph Myers <joseph@codesourcery.com>
41226
41227 [BZ #13704]
41228 * manual/nss.texi (Services in the NSS configuration): Correct
41229 list of services in example configuration file.
41230
cd837b09
NB
412312012-02-19 Nick Bowler <nbowler@draconx.ca>
41232
41233 [BZ #11322]
41234 * manual/arith.texi: Remove statements about negative zero
41235 behaving identically to zero.
41236
02c4bbad
JM
412372012-02-18 Joseph Myers <joseph@codesourcery.com>
41238
41239 [BZ #5993]
41240 * manual/install.texi: Do not document upgrading from libc5.
41241
366842e7
JM
412422012-02-18 Joseph Myers <joseph@codesourcery.com>
41243
41244 [BZ #4596]
41245 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41246
dd54084d
DM
412472012-02-18 David S. Miller <davem@davemloft.net>
41248
41249 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41250 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41251 %o7 across the call.
41252 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41253 instead.
41254 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41255 SETUP_PIC_REG_LEAF.
41256 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41257 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41258 * sysdeps/sparc/crtn.S: Likewise.
41259
2bcc53a3
UD
412602012-02-17 Ulrich Drepper <drepper@gmail.com>
41261
41262 * aout/Makefile: Remove.
41263
09c093b5
RK
412642012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41265
41266 [BZ #13058]
41267 * manual/examples/argp-ex1.c (main): Format definition in GNU
41268 style.
41269 * manual/examples/argp-ex2.c (main): Likewise.
41270 * manual/examples/argp-ex3.c (main): Likewise.
41271 * manual/examples/argp-ex4.c (main): Likewise.
41272 * manual/examples/longopt.c (main): Use new-style prototype
41273 definition.
41274 * manual/examples/strncat.c (main): Specify return type and use
41275 (void) for arguments.
41276 * manual/examples/subopt.c (main): Use char **argv argument.
41277
2ee633a2
JM
412782012-02-17 Joseph Myers <joseph@codesourcery.com>
41279
41280 [BZ #5077]
41281 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41282 rounding modes.
41283
0520adde
FB
412842012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41285
41286 [BZ #6907]
41287 * manual/string.texi (strchr): Change when strchrnul is
41288 recommended.
41289
3f4081cd
DGM
412902012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41291
41292 [BZ #174]
41293 * manual/locale.texi (setlocale): Document LOCPATH.
41294
d1b10e78
JM
412952012-02-17 Joseph Myers <joseph@codesourcery.com>
41296
41297 [BZ #10210]
41298 * manual/process.texi (execle): Move @dots{} before last argument.
41299
79c6869c
PB
413002012-02-17 Paul Bolle <pebolle@tiscali.nl>
41301
41302 [BZ #12047]
41303 * manual/charset.texi (Generic Charset Conversion): Fix typo
41304 (LC_TYPE -> LC_CTYPE).
41305
cc6e48bc
NB
413062012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41307
41308 [BZ #5805]
41309 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41310 (scalbnf): Likewise.
41311 (scalbnl): Likewise.
41312 (scalbln): Likewise.
41313 (scalblnf): Likewise.
41314 (scalblnl): Likewise.
41315 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41316 (vwarnx): Likewise.
41317 (verr): Likewise.
41318 (verrx): Likewise.
41319 * manual/filesys.texi (telldir): Use braces around return type.
41320 * manual/llio.texi (mmap): Add space after comma.
41321 (mmap64): Likewise.
41322 * manual/math.texi (jn): Use @var{} on parameter names.
41323 (jnf): Likewise.
41324 (jnl): Likewise.
41325 (yn): Likewise.
41326 (ynf): Likewise.
41327 (ynl): Likewise.
41328 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41329 line.
41330 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41331 "...".
41332 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41333 (sched_get_priority_max): Likewise.
41334 * manual/signal.texi (sigvec): Add space after comma.
41335 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41336 names.
41337 (if_indextoname): Likewise.
41338 (if_freenameindex): Likewise.
41339 (sendto): Use ',' instead of '.' in prototype.
41340 * manual/startup.texi (syscall): Use @dots{} instead of literal
41341 "...".
41342 * manual/stdio.texi (__fpending): Separate initial words of
41343 paragraph from @deftypefun line.
41344 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41345 "...".
41346 (vsyslog): Use @var{} on parameter names.
41347 * manual/terminal.texi (stty): Use @var{} on parameter names.
41348 * manual/users.texi (getutmp): Use @var{} on parameter names.
41349 (getutmpx): Likewise.
41350
5b23062f
JM
413512012-02-17 Joseph Myers <joseph@codesourcery.com>
41352
41353 [BZ #6884]
41354 * manual/stdio.texi (fopen): Fix typos in description of
41355 ",ccs=STRING".
41356
8dee4833
AJ
413572012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41358
41359 [BZ #4026]
41360 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41361 get clock_id definition.
41362
9078ce93
TS
413632012-02-17 Thomas Schwinge <thomas@schwinge.name>
41364
41365 [BZ #4822]
41366 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41367 (madvise): Cast every argument to void on its own.
41368
3835c55f
JM
413692012-02-17 Joseph Myers <joseph@codesourcery.com>
41370
41371 [BZ #9902]
41372 * manual/startup.texi (Exit Status): Fix typo.
41373
35c47e37
JM
413742012-02-17 Joseph Myers <joseph@codesourcery.com>
41375
41376 [BZ #10140]
41377 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41378 * manual/examples/argp-ex2.c: Likewise.
41379 * manual/examples/argp-ex3.c: Likewise.
41380
e3b69ca7
RH
413812012-02-16 Richard Henderson <rth@redhat.com>
41382
41383 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41384 * sysdeps/s390/s390-32/initfini.c: Remove.
41385 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41386 * sysdeps/s390/s390-64/initfini.c: Remove.
41387
df83af67
KK
413882012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41389
41390 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41391 compiler output for sysdeps/generic/initfini.c.
41392 * sysdeps/sh/elf/initfini.c: Remove file.
41393
f63f3380
DM
413942012-02-16 David S. Miller <davem@davemloft.net>
41395
fb59b3a4
DM
41396 [BZ #11494]
41397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41398
f63f3380
DM
41399 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41400 * sysdeps/sparc/crti.S: New file.
41401 * sysdeps/sparc/crtn.S: New file.
41402 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41403 * sysdeps/sparc/sparc64/Makefile: Likewise.
41404
df6a4a4a
MF
414052012-02-15 Mike Frysinger <vapier@gentoo.org>
41406
6dd8f3dc 41407 [BZ #3335]
df6a4a4a
MF
41408 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41409
1cac7236
RM
414102012-02-15 Roland McGrath <roland@hack.frob.com>
41411
d2c736f8
RM
41412 [BZ #4822]
41413 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41414
1cac7236
RM
41415 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41416 (write, read, close): Likewise.
41417 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41418
8e475601
JM
414192012-02-15 Joseph Myers <joseph@codesourcery.com>
41420
41421 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41422 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41423 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41424 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41425 <bits/signalfd.h>.
41426 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41428 bits/signalfd.h.
41429
ed656b40
MP
414302012-02-14 Marek Polacek <polacek@redhat.com>
41431
41432 * sysdeps/x86_64/crti.S: New file.
41433 * sysdeps/x86_64/crtn.S: New file.
41434 * sysdeps/x86_64/elf/initfini.c: Remove file.
41435
2a979d3a
JM
414362012-02-13 Joseph Myers <joseph@codesourcery.com>
41437
41438 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41439 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41440 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41441 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41442 <bits/inotify.h>.
41443 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41445 bits/inotify.h.
41446
2a418ac3
JM
414472012-02-13 Joseph Myers <joseph@codesourcery.com>
41448
41449 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41450 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41451 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41452 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41453 <bits/eventfd.h>.
41454 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41456 bits/eventfd.h.
41457
fb779be7
TS
414582012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41459
e19e83c5
RM
41460 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41461 __feraiseexcept instead of feraiseexcept.
7c35ffed 41462
fb779be7
TS
41463 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41464 nanosleep invocations.
41465 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41466 strings, and add error checking for a nanosleep invocations.
41467
59ba27a6
PE
414682012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41469
41470 Replace FSF snail mail address with URLs, as per GNU coding standards.
41471 Most of the snail mail addresses were wrong anyway, and omitting
41472 them makes the source code easier to maintain. Almost all of the
41473 changes are to license notices and to locale LC_IDENTIFICATION
41474 addresses, except for this one:
41475 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41476 not its snail mail address.
41477
57b957eb
RH
414782012-02-09 Richard Henderson <rth@twiddle.net>
41479
af850b1c
RH
41480 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41481 of kernel-features.h.
41482
57b957eb
RH
41483 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41484
6b73181a
MP
414852012-02-08 Marek Polacek <polacek@redhat.com>
41486
41487 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41488 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41489 * sysdeps/gnu/_G_config.h: Likewise.
41490 * sysdeps/generic/_G_config.h: Likewise.
41491
26ecc33a
AS
414922012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41493
6c6dbc63
AS
41494 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41495 tests.
41496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41497
e216c012
AS
41498 * sysdeps/powerpc/powerpc32/crti.S: New file.
41499 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41500 * sysdeps/powerpc/powerpc64/crti.S: New file.
41501 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41502
26ecc33a
AS
41503 * Makeconfig (have-initfini): Don't set.
41504 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41505 * configure.in (nopic_initfini): Don't substitute.
41506 * config.h.in (HAVE_INITFINI): Don't #undef.
41507 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41508 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41509
3add8e13
JM
415102012-02-08 Joseph Myers <joseph@codesourcery.com>
41511
41512 Support crti.S and crtn.S provided directly by architectures.
41513 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41514 [crti.S in sysdirs] (omit-deps): Likewise.
41515 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41516 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41517 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41518 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41519 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41520 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41521 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41522 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41523 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41524 compiler output for sysdeps/generic/initfini.c.
41525 * sysdeps/i386/elf/Makefile: Remove file.
41526 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41527
a22f12b4
MP
415282012-02-07 Marek Polacek <polacek@redhat.com>
41529
41530 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41531 * sysdeps/gnu/_G_config.h: Likewise.
41532 * sysdeps/mach/hurd/_G_config.h: Likewise.
41533
148cf100
MP
415342012-02-07 Marek Polacek <polacek@redhat.com>
41535
41536 * math/Makefile (tests): Add tst-CMPLX2.
41537 * math/tst-CMPLX2.c: New file.
41538
cfdc0dd7
AS
415392012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41540
84ba42c4
AS
41541 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41542
cfdc0dd7
AS
41543 * math/libm-test.inc (jn_test): Add missing L suffix.
41544
622c86f4
MP
415452012-02-06 Marek Polacek <polacek@redhat.com>
41546
41547 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41548 * sysdeps/i386/fpu/e_powf.S: Likewise.
41549 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41550 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41551 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41552 * sysdeps/i386/fpu/e_pow.S: Likewise.
41553 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41554 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41555 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41556 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41557 * sysdeps/i386/fpu/e_log2.S: Likewise.
41558 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41559 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41560 * sysdeps/i386/fpu/e_powl.S: Likewise.
41561 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41562 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41563 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41564 * sysdeps/i386/fpu/e_logl.S: Likewise.
41565 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41566 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41567 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41568 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41569 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41570 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41571 * sysdeps/i386/fpu/e_log.S: Likewise.
41572 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41573 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41574 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41575 * sysdeps/i386/fpu/e_logf.S: Likewise.
41576 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41577 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41578 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41579 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41580 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41581 * sysdeps/i386/fpu/e_log10.S: Likewise.
41582 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41583 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41584 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41585 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41586 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41587 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41588 * sysdeps/i386/asm-syntax.h: Likewise.
41589 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41590 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41591 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41592 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41593 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41594 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41595 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41596 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41597 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41598 * sysdeps/powerpc/sysdep.h: Likewise.
41599 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41600 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41601
d4a54ac6
JM
416022012-02-06 Joseph Myers <joseph@codesourcery.com>
41603
41604 [BZ #411]
41605 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41606
314054ea
JM
416072012-02-06 Joseph Myers <joseph@codesourcery.com>
41608
41609 * sysdeps/i386/sysdep.h: Include <features.h>.
41610 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41611 version.
41612
d8e0ca50
JM
416132012-02-05 Joseph Myers <joseph@codesourcery.com>
41614
41615 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41616 Define.
41617 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41618 LOAD_PIC_REG_STR.
41619
b1da7dd9
JM
416202012-02-03 Joseph Myers <joseph@codesourcery.com>
41621
41622 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41623 (SETUP_PIC_REG): Use GET_PC_THUNK.
41624 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41625 macro.
41626
9a1d9254
JM
416272012-02-03 Joseph Myers <joseph@codesourcery.com>
41628
41629 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41630 for non-PIC compilation.
41631 (SETUP_PIC_REG): Add .p2align directive.
41632 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41633 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41634 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41635 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41636 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41637 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41638 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41639 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41640 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41641 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41642 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41643 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41644 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41645 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41646 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41647 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41648 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41649 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41650 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41651 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41652 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41653 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41654 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41655 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41656 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41657 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41658 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41659 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41660 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41661 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41662 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41663 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41664 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41665 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41666 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41667 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41668 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41669 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41670 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41671 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41672 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41673
65dc3b75
JM
416742012-02-03 Joseph Myers <joseph@codesourcery.com>
41675
41676 * math/tst-CMPLX.c: Include <stdio.h>.
41677
d55bf177
JM
416782012-01-31 Joseph Myers <joseph@codesourcery.com>
41679
41680 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41681 float.
41682 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41683 * sysdeps/sparc/bits/mathdef.h: Likewise.
41684
69db4f8f
MP
416852012-01-31 Marek Polacek <polacek@redhat.com>
41686
41687 * libio/libio.h: Don't define _PARAMS.
41688 * locale/programs/config.h: Don't define PARAMS.
41689 * stdlib/strtol_l.c: Likewise.
41690 (__strtol_l): Remove PARAMS from the prototype.
41691
41b81892
UD
416922012-01-31 Ulrich Drepper <drepper@gmail.com>
41693
3b49edc0
UD
41694 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41695 names. Just use the correct names. Remove unnecessary wrapper
41696 functions.
41697 * malloc/arena.c: Likewise.
41698 * malloc/hooks.c: Likewise.
41699
41b81892
UD
41700 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41701 ARENA_TEST says not to. Simplify test for creation of a new arena.
41702 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41703
27a25b6e
UD
417042012-01-30 Ulrich Drepper <drepper@gmail.com>
41705
41706 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41707 into tail calls.
41708 (update_get_addr): New function.
41709 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41710 GET_ADDR_MODULE parameter.
41711
c8a89e7d
JM
417122012-01-30 Joseph Myers <joseph@codesourcery.com>
41713
41714 * crypt/cert.c: Remove __STDC__ conditionals.
41715 * crypt/crypt-entry.c: Likewise.
41716 * crypt/crypt_util.c: Likewise.
41717 * libio/filedoalloc.c: Likewise.
41718 * libio/fileops.c: Likewise.
41719 * libio/genops.c: Likewise.
41720 * libio/iofclose.c: Likewise.
41721 * libio/iofdopen.c: Likewise.
41722 * libio/iofopen.c: Likewise.
41723 * libio/iofopen64.c: Likewise.
41724 * libio/iogetdelim.c: Likewise.
41725 * libio/iopopen.c: Likewise.
41726 * libio/obprintf.c: Likewise.
41727 * libio/oldfileops.c: Likewise.
41728 * libio/oldiofclose.c: Likewise.
41729 * libio/oldiofdopen.c: Likewise.
41730 * libio/oldiofopen.c: Likewise.
41731 * libio/oldiopopen.c: Likewise.
41732 * libio/wfiledoalloc.c: Likewise.
41733 * libio/wgenops.c: Likewise.
41734 * locale/programs/xmalloc.c: Likewise.
41735 * misc/syslog.c: Likewise.
41736 * stdio-common/xbug.c: Likewise.
41737 * string/memchr.c: Likewise.
41738 * string/memcmp.c: Likewise.
41739 * string/memrchr.c: Likewise.
41740 * string/rawmemchr.c: Likewise.
41741 * sysdeps/posix/getcwd.c: Likewise.
41742 * time/strftime_l.c: Likewise.
41743
3b100462
JM
417442012-01-30 Joseph Myers <joseph@codesourcery.com>
41745
41746 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
41747 * config.make.in (config-cflags-sse2avx): Define.
41748 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41749 Fix typo.
41750
607998af
CM
417512012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41752
41753 * scripts/config.guess: Update from upstream config git repository.
41754 * scripts/config.sub: Likewise.
41755
3601428f
CM
417562012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41757
3ac8b282
CM
41758 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41759 (EM_NUM): Update.
41760 (R_TILEPRO_*, R_TILEGX_*): New macros.
41761
e034841e
CM
41762 * scripts/firstversions.awk: Fix bug in version range handling.
41763
540d7568
CM
41764 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41765
3601428f
CM
41766 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41767
463de862
CM
41768 * include/sys/epoll.h: New file.
41769 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41770 libc_hidden_def.
41771
73139a76
UD
417722012-01-28 Ulrich Drepper <drepper@gmail.com>
41773
96bc5b45
UD
41774 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41775 Avoid unnecessary __WORDSIZE == 64 test.
41776 (fmaxf): Use VEX format if possible.
41777 (fmax): Likewise.
41778 (fminf): Likewise.
41779 (fmin): Likewise.
41780
56f6f6a2
UD
41781 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41782 * math/math_private.h: Remove libc_fegetround* and
41783 libc_fesetround*.
41784 * sysdeps/i386/configure.in: Check for -msse2avx.
41785 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41786 also if SSE2AVX is defined.
41787 Remove libc_fegetround* and libc_fesetround*.
41788 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41789 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41790 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41791 of HAS_YMM_USABLE.
41792 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41793 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41794 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41795 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41796 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41797
73139a76
UD
41798 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41799
d73f93a4
AZ
418002012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41801
41802 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41803 size is not set.
41804 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41805
6ee65ed6
UD
418062012-01-27 Ulrich Drepper <drepper@gmail.com>
41807
41808 [BZ #13618]
41809 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41810 relocation.
41811 * Makeconfig (libm): Define.
41812 * elf/Makefile: Add rules to build and run tst-relsort1.
41813 * elf/tst-relsort1.c: New file.
41814 * elf/tst-relsort1mod1.c: New file.
41815 * elf/tst-relsort1mod2.c: New file.
41816
8db21882
JM
418172012-01-27 Joseph Myers <joseph@codesourcery.com>
41818
41819 * math/s_ldexp.c: Remove __STDC__ conditionals.
41820 * math/s_ldexpf.c: Likewise.
41821 * math/s_ldexpl.c: Likewise.
41822 * math/s_nextafter.c: Likewise.
41823 * math/s_nexttowardf.c: Likewise.
41824 * math/s_significand.c: Likewise.
41825 * math/s_significandf.c: Likewise.
41826 * math/s_significandl.c: Likewise.
41827 * math/w_jnl.c: Likewise.
41828 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41829 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41830 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41831 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41832 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41833 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41834 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41835 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41836 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41837 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41838 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41839 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41840 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41841 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41842 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41843 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41844 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41845 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41847 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41848 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41849 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41850 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41851 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41852 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41853 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41854 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41855 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41856 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41857 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41858 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41859 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41860 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41861 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41862 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41863 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41864 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41865 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41866 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41867 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41868 * sysdeps/ieee754/k_standard.c: Likewise.
41869 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41870 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41871 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41872 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41873 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41874 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41875 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41876 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41877 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41878 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41879 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41880 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41881 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41882 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41883 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41884 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41885 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41886 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41887 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41888 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41889 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41890 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41891 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41892 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41893 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41894 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41895 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41896 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41897 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41898 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41899 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41900 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41901 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41902 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41904 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41905 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41906 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41907 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41908 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41909 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41910 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41911 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41912 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41913 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41914 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41915 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41916 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41917 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41918 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41919 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41920 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41921 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41922 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41923 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41924 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41925 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41926 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41927 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41928 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41929 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41930 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41931 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41932 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41933 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41934 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41935 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41936 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41937 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41938 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41939 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41940 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41941 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41942 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41943 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41944 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41945 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41946 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41947 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41948 * sysdeps/ieee754/s_matherr.c: Likewise.
41949 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41950 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41951 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41952 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41953
965a54a4
JM
419542012-01-26 Joseph Myers <joseph@codesourcery.com>
41955
41956 * crypt/md5.h: Remove __STDC__ conditionals.
41957 * libio/libioP.h: Likewise.
41958 * locale/programs/config.h: Likewise.
41959 * sysdeps/generic/sysdep.h: Likewise.
41960 * sysdeps/i386/asm-syntax.h: Likewise.
41961 * sysdeps/s390/asm-syntax.h: Likewise.
41962 * sysdeps/unix/sysdep.h: Likewise.
41963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41965
7071ad79
JM
419662012-01-26 Joseph Myers <joseph@codesourcery.com>
41967
41968 * libio/libio.h: Remove __STDC__ conditionals.
41969 * malloc/obstack.h: Likewise.
41970 * math/complex.h: Likewise.
41971 * math/math.h: Likewise.
41972 * sysdeps/generic/_G_config.h: Likewise.
41973 * sysdeps/gnu/_G_config.h: Likewise.
41974 * sysdeps/mach/hurd/_G_config.h: Likewise.
41975 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41976 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41977 * sysdeps/sparc/bits/mathdef.h: Likewise.
41978
afc5ed09
UD
419792012-01-26 Ulrich Drepper <drepper@gmail.com>
41980
41981 [BZ #13583]
41982 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41983 Clean up HAS_* macros.
afc5ed09 41984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41985 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41986 possible.
41987 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41988 HAS_AVX.
41989 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41990 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41991 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41992 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41993 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41994
bdb6de1d
JM
419952012-01-25 Joseph Myers <joseph@codesourcery.com>
41996
41997 * elf/tst-unique3.cc (gets): Remove declaration.
41998 * elf/tst-unique3lib.cc (gets): Likewise.
41999 * elf/tst-unique3lib2.cc (gets): Likewise.
42000 * elf/tst-unique4.cc (gets): Likewise.
42001
b15549e6
UD
420022012-01-24 Ulrich Drepper <drepper@gmail.com>
42003
42004 * include/stdio.h: Add C++ protection. Add gets declarations and
42005 definitions.
42006 * debug/tst-chk1.c: Don't declare gets here.
42007 * stdio-common/tst-gets.c: Likewise.
42008
a037381f
JM
420092012-01-24 Joseph Myers <joseph@codesourcery.com>
42010
42011 * posix/glob: Remove directory.
42012
f1d4aa75
JM
420132012-01-24 Joseph Myers <joseph@codesourcery.com>
42014
42015 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42016
81c0c964
PT
420172012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42018
42019 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42020 of the non-standard EPFNOSUPPORT.
42021
0ea698ae
ST
420222011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42023
42024 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42025 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42026 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42027
d220b117
UD
420282012-01-21 Ulrich Drepper <drepper@gmail.com>
42029
42030 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42031
3e1aa84e
UD
420322012-01-20 Ulrich Drepper <drepper@gmail.com>
42033
42034 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42035 transient errors.
42036 * nscd/grpcache.c (cache_addgr): Likewise.
42037 * nscd/hstcache.c (cache_addhst): Likewise.
42038 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42039 * nscd/pwdcache.c (cache_addpw): Likewise.
42040 * nscd/servicescache.c (cache_addserv): Likewise.
42041
400aa020
UD
420422012-01-16 Ulrich Drepper <drepper@gmail.com>
42043
d77e7869
UD
42044 * malloc/malloc.c: Various cleanups.
42045 * malloc/hooks.c: Likewise.
42046
400aa020
UD
42047 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42048 * stdlib/bug-fmtmsg1.c: New file.
42049
42050 * stdlib/fmtmsg.c (init): Add missing unlock.
42051 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42052
e0a309cf
MP
420532012-01-12 Marek Polacek <polacek@redhat.com>
42054
42055 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42056 and _GNU_SOURCE.
42057
929d11c7
WS
420582012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42059
42060 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42061 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42062 macro to ensure uniqueness of label name.
42063 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42064 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42065
41d0e869
UD
420662012-01-11 Ulrich Drepper <drepper@gmail.com>
42067
0cc5ed3b
UD
42068 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42069
41d0e869
UD
42070 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42071 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42072 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42073 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42074
a47a831a
UD
420752012-01-10 Ulrich Drepper <drepper@gmail.com>
42076
daa891c0
UD
42077 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42078
42079 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42080 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42081 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42082
e58ef0f2
UD
42083 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42084
a47a831a 42085 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
42086 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42087 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 42088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
42089
42090 * math/bits/math-finite.h: Add ldexp support.
42091
a0bfc9c7
MP
420922012-01-10 Marek Polacek <polacek@redhat.com>
42093
42094 * locale/programs/localedef.h (show_archive_content): Add noreturn
42095 attribute.
42096
d6e97a1d
UD
420972012-01-09 Ulrich Drepper <drepper@gmail.com>
42098
42099 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42100
d5835c26
UD
421012012-01-08 Ulrich Drepper <drepper@gmail.com>
42102
e5f484c6
UD
42103 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42104
d5835c26
UD
42105 * io/Makefile (headers): Add bits/poll2.h.
42106
d1f741e9
WS
421072011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42108
42109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42110 typo #include statement.
42111
ec09c1c4
UD
421122012-01-08 Ulrich Drepper <drepper@gmail.com>
42113
42114 * include/sys/cdefs.h: Define __attribute_alloc_size.
42115 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42116 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42117 * elf/pldd.c: Likewise.
42118 * iconv/iconv_charmap.c: Likewise.
42119 * iconv/iconvconfig.c: Likewise.
42120 * iconv/strtab.c: Likewise.
42121 * locale/programs/locale.c: Likewise.
42122 * locale/programs/localedef.h: Likewise.
42123 * locale/programs/simple-hash.c: Likewise.
42124 * nscd/nscd.h: Likewise.
42125 * nss/makedb.c: Likewise.
42126 * sysdeps/generic/ldconfig.h: Likewise.
42127 * locale/programs/localedef.c: Remove xmalloc prototype.
42128 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42129
20b38e03
PP
421302012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42131
42132 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42133 appropriate.
42134
a0da5fe1
UD
421352012-01-08 Ulrich Drepper <drepper@gmail.com>
42136
1d5a644a 42137 * math/Makefile (tests): Add tst-CMPLX.
669704fd 42138 * math/tst-CMPLX.c: New file.
1d5a644a 42139
8784a6db
UD
42140 * math/complex.h (CMPLXL): Fix typo.
42141
d9a216c0
UD
42142 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42143 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42144 GLIBC_2.16.
42145 * debug/tst-chk1.c: Add poll and ppoll tests.
42146 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42147 * include/sys/poll.h: Add hidden proto for ppoll.
42148 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42149 * sysdeps/mach/hurd/ppoll.c: Likewise.
42150 * io/ppoll.c: Likewise.
42151 * debug/poll_chk.c: New file.
42152 * debug/ppoll_chk.c: New file.
42153 * include/bits/poll2.h: New file.
42154 * io/bits/poll2.h: New file.
42155
ac097f5c
UD
42156 [BZ #1350]
42157 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42158
2119dcfa
UD
42159 * configure.in: static is always set to yes. Remove.
42160 * config.make.in: Don't set build-static.
42161 * Makeconfig: Remove use of build-static.
42162 * dlfcn/Makefile: Likewise.
42163 * elf/Makefile: Likewise.
42164 * math/Makefile: Likewise.
42165 * misc/Makefile: Likewise.
42166 * nptl/Makefile: Likewise.
42167 * sysdeps/mach/hurd/Makefile: Likewise.
42168
121766a9
UD
42169 * configure.in: PWD_P is not used anymore.
42170 * config.make.in: Remove PWD_P entry.
42171
51a1d39c 42172 * configure.in: Remove last remnants of RANLIB.
8720d066 42173 No need to check for signed size_t anymore.
215f4bdc
UD
42174 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42175 and IA-64.
3857022a 42176 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
42177 * aclocal.m4: Likewise.
42178
d3ed7225
UD
42179 * wcsmbs/mbrtoc16.c: Implement using towc function.
42180 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42181 * wcsmbs/wcsmbsload.c: Likewise.
42182 * iconv/gconv_simple.c: Likewise.
42183 * iconv/gconv_int.h: Likewise.
42184 * iconv/gconv_builtin.h: Likewise.
42185 * iconv/iconv_prog.c: Remove CHAR16 handling.
42186
42187 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42188
42189 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42190
a0da5fe1
UD
42191 * configure.in: Remove --with-elf and --enable-bounded options.
42192 Dont set base_machine for ia64. More non-ELF conditions removed.
42193 Remove testing and setting of leading underscore information.
42194 * config.make.in (build-bounded): Set to no.
42195 * config.h.in: Remove NO_UNDERSCORES entry.
42196 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42197 them.
42198 * csu/start.c: Remove !NO_UNDERSCORE code.
42199 * locale/localeinfo.h: Likewise.
42200 * sysdeps/generic/machine-gmon.h: Likewise.
42201 * sysdeps/generic/sysdep.h: Likewise.
42202 * sysdeps/i386/sysdep.h: Likewise.
42203 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42204 * sysdeps/mach/sysdep.h: Likewise.
42205 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42206 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42207 * sysdeps/sh/sysdep.h: Likewise.
42208 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42209 * sysdeps/unix/i386/sysdep.S: Likewise.
42210 * sysdeps/unix/sparc/start.c: Likewise.
42211 * sysdeps/unix/sparc/sysdep.S: Likewise.
42212 * sysdeps/unix/sparc/sysdep.h: Likewise.
42213 * sysdeps/unix/start.c: Likewise.
42214 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42215 * sysdeps/x86_64/sysdep.h: Likewise.
42216
df78418a
UD
422172012-01-07 Ulrich Drepper <drepper@gmail.com>
42218
a784e502
UD
42219 [BZ #13553]
42220 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42221 for non-gcc.
42222 * argp/argp-fmtstream.h: Use const instead __const.
42223 * argp/argp.h: Likewise.
42224 * assert/assert.h: Likewise.
42225 * bits/fenv.h: Likewise.
42226 * bits/sched.h: Likewise.
42227 * bits/sigset.h: Likewise.
42228 * bits/sigthread.h: Likewise.
42229 * catgets/nl_types.h: Likewise.
42230 * conform/data/pthread.h-data: Likewise.
42231 * crypt/crypt-private.h: Likewise.
42232 * crypt/crypt.h: Likewise.
42233 * crypt/crypt_util.c: Likewise.
42234 * ctype/ctype.h: Likewise.
42235 * debug/execinfo.h: Likewise.
42236 * debug/mbsnrtowcs_chk.c: Likewise.
42237 * debug/mbsrtowcs_chk.c: Likewise.
42238 * debug/wcsnrtombs_chk.c: Likewise.
42239 * debug/wcsrtombs_chk.c: Likewise.
42240 * debug/wcstombs_chk.c: Likewise.
42241 * dirent/dirent.h: Likewise.
42242 * dlfcn/dlfcn.h: Likewise.
42243 * elf/neededtest4.c: Likewise.
42244 * grp/grp.h: Likewise.
42245 * gshadow/gshadow.h: Likewise.
42246 * iconv/gconv.h: Likewise.
42247 * iconv/gconv_int.h: Likewise.
42248 * iconv/gconv_simple.c: Likewise.
42249 * iconv/iconv.h: Likewise.
42250 * iconv/loop.c: Likewise.
42251 * iconv/skeleton.c: Likewise.
42252 * include/aio.h: Likewise.
42253 * include/aliases.h: Likewise.
42254 * include/argz.h: Likewise.
42255 * include/arpa/inet.h: Likewise.
42256 * include/assert.h: Likewise.
42257 * include/dirent.h: Likewise.
42258 * include/dlfcn.h: Likewise.
42259 * include/execinfo.h: Likewise.
42260 * include/fcntl.h: Likewise.
42261 * include/fenv.h: Likewise.
42262 * include/glob.h: Likewise.
42263 * include/grp.h: Likewise.
42264 * include/libintl.h: Likewise.
42265 * include/mntent.h: Likewise.
42266 * include/netdb.h: Likewise.
42267 * include/pwd.h: Likewise.
42268 * include/rpc/netdb.h: Likewise.
42269 * include/sched.h: Likewise.
42270 * include/search.h: Likewise.
42271 * include/shadow.h: Likewise.
42272 * include/signal.h: Likewise.
42273 * include/stdio.h: Likewise.
42274 * include/stdlib.h: Likewise.
42275 * include/string.h: Likewise.
42276 * include/sys/socket.h: Likewise.
42277 * include/sys/stat.h: Likewise.
42278 * include/sys/statfs.h: Likewise.
42279 * include/sys/statvfs.h: Likewise.
42280 * include/sys/syslog.h: Likewise.
42281 * include/sys/time.h: Likewise.
42282 * include/sys/uio.h: Likewise.
42283 * include/time.h: Likewise.
42284 * include/unistd.h: Likewise.
42285 * include/utmp.h: Likewise.
42286 * include/wchar.h: Likewise.
42287 * include/wctype.h: Likewise.
42288 * inet/aliases.h: Likewise.
42289 * inet/arpa/inet.h: Likewise.
42290 * inet/netinet/ether.h: Likewise.
42291 * inet/netinet/in.h: Likewise.
42292 * intl/libintl.h: Likewise.
42293 * io/bits/fcntl2.h: Likewise.
42294 * io/fcntl.h: Likewise.
42295 * io/ftw.h: Likewise.
42296 * io/sys/poll.h: Likewise.
42297 * io/sys/stat.h: Likewise.
42298 * io/sys/statfs.h: Likewise.
42299 * io/sys/statvfs.h: Likewise.
42300 * io/utime.h: Likewise.
42301 * libio/bits/stdio.h: Likewise.
42302 * libio/bits/stdio2.h: Likewise.
42303 * libio/libio.h: Likewise.
42304 * libio/libioP.h: Likewise.
42305 * libio/stdio.h: Likewise.
42306 * locale/lc-ctype.c: Likewise.
42307 * locale/locale.h: Likewise.
42308 * login/utmp.h: Likewise.
42309 * malloc/arena.c: Likewise.
42310 * malloc/malloc.c: Likewise.
42311 * malloc/malloc.h: Likewise.
42312 * malloc/mcheck.c: Likewise.
42313 * malloc/mtrace.c: Likewise.
42314 * math/bits/mathcalls.h: Likewise.
42315 * math/fenv.h: Likewise.
42316 * math/math_private.h: Likewise.
42317 * misc/bits/error.h: Likewise.
42318 * misc/bits/syslog.h: Likewise.
42319 * misc/err.h: Likewise.
42320 * misc/error.h: Likewise.
42321 * misc/fstab.h: Likewise.
42322 * misc/mntent.h: Likewise.
42323 * misc/regexp.h: Likewise.
42324 * misc/search.h: Likewise.
42325 * misc/sgtty.h: Likewise.
42326 * misc/sys/mman.h: Likewise.
42327 * misc/sys/syslog.h: Likewise.
42328 * misc/sys/uio.h: Likewise.
42329 * misc/sys/xattr.h: Likewise.
42330 * misc/ttyent.h: Likewise.
42331 * nis/rpcsvc/ypclnt.h: Likewise.
42332 * nss/nss.h: Likewise.
42333 * posix/bits/unistd.h: Likewise.
42334 * posix/fnmatch.h: Likewise.
42335 * posix/glob.h: Likewise.
42336 * posix/sched.h: Likewise.
42337 * posix/spawn.h: Likewise.
42338 * posix/sys/wait.h: Likewise.
42339 * posix/unistd.h: Likewise.
42340 * posix/wordexp.h: Likewise.
42341 * pwd/pwd.h: Likewise.
42342 * resolv/netdb.h: Likewise.
42343 * resource/sys/resource.h: Likewise.
42344 * rt/aio.h: Likewise.
42345 * rt/bits/mqueue2.h: Likewise.
42346 * rt/mqueue.h: Likewise.
42347 * shadow/shadow.h: Likewise.
42348 * signal/signal.h: Likewise.
42349 * socket/send.c: Likewise.
42350 * socket/sendto.c: Likewise.
42351 * socket/sys/socket.h: Likewise.
42352 * stdio-common/printf.h: Likewise.
42353 * stdlib/bits/stdlib.h: Likewise.
42354 * stdlib/fmtmsg.h: Likewise.
42355 * stdlib/monetary.h: Likewise.
42356 * stdlib/stdlib.h: Likewise.
42357 * stdlib/ucontext.h: Likewise.
42358 * streams/stropts.h: Likewise.
42359 * string/argz.h: Likewise.
42360 * string/bits/string2.h: Likewise.
42361 * string/string.h: Likewise.
42362 * string/strings.h: Likewise.
42363 * sunrpc/rpc/auth.h: Likewise.
42364 * sunrpc/rpc/auth_des.h: Likewise.
42365 * sunrpc/rpc/clnt.h: Likewise.
42366 * sunrpc/rpc/netdb.h: Likewise.
42367 * sunrpc/rpc/pmap_clnt.h: Likewise.
42368 * sunrpc/rpc/xdr.h: Likewise.
42369 * sysdeps/generic/inttypes.h: Likewise.
42370 * sysdeps/generic/net/if.h: Likewise.
42371 * sysdeps/generic/sys/swap.h: Likewise.
42372 * sysdeps/gnu/net/if.h: Likewise.
42373 * sysdeps/gnu/utmpx.h: Likewise.
42374 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42375 * sysdeps/i386/i486/bits/string.h: Likewise.
42376 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42377 * sysdeps/s390/bits/string.h: Likewise.
42378 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42379 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42380 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42381 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42382 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42383 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42384 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42385 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42386 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42387 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42388 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42389 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42390 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42391 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42392 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42393 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42394 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42396 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42397 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42398 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42399 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42400 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42401 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42402 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42403 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42404 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42405 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42406 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42407 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42408 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42409 * sysvipc/sys/ipc.h: Likewise.
42410 * sysvipc/sys/msg.h: Likewise.
42411 * sysvipc/sys/sem.h: Likewise.
42412 * sysvipc/sys/shm.h: Likewise.
42413 * termios/termios.h: Likewise.
42414 * time/sys/time.h: Likewise.
42415 * time/time.h: Likewise.
42416 * wcsmbs/bits/wchar2.h: Likewise.
42417 * wcsmbs/uchar.h: Likewise.
42418 * wcsmbs/wchar.h: Likewise.
42419 * wctype/wctype.h: Likewise.
42420
0269750c
UD
42421 [BZ #13551]
42422 * Makeconfig: Remove all but ELF support including AIX support.
42423 * Makerules: Likewise.
42424 * config.h.in: Likewise.
42425 * config.make.in: Likewise.
42426 * configure: Likewise.
42427 * configure.in: Likewise.
42428 * csu/Makefile: Likewise.
42429 * csu/version.c: Likewise.
42430 * debug/Makefile: Likewise.
42431 * dlfcn/Makefile: Likewise.
42432 * elf/Makefile: Likewise.
42433 * extra-lib.mk: Likewise.
42434 * iconv/Makefile: Likewise.
42435 * include/libc-symbols.h: Likewise.
42436 * include/shlib-compat.h: Likewise.
42437 * resolv/Makefile: Likewise.
42438 * resolv/res_libc.c: Likewise.
42439 * rt/Makefile: Likewise.
42440 * sysdeps/i386/asm-syntax.h: Likewise.
42441 * sysdeps/i386/sysdep.h: Likewise.
42442 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42443 * sysdeps/mach/sysdep.h: Likewise.
42444 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42445 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42446 * sysdeps/s390/asm-syntax.h: Likewise.
42447 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42448 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42449 * sysdeps/sh/sysdep.h: Likewise.
42450 * sysdeps/unix/sparc/sysdep.h: Likewise.
42451 * sysdeps/wordsize-32/divdi3.c: Likewise.
42452 * sysdeps/x86_64/sysdep.h: Likewise.
42453
00bbd29b
UD
42454 * argp/Versions: Remove _argp_unlock_xxx.
42455
42456 [BZ #13559]
42457 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42458 * abilist/libBrokenLocale.abilist: Likewise.
42459 * abilist/libanl.abilist: Likewise.
42460 * abilist/libc.abilist: Likewise.
42461 * abilist/libcrypt.abilist: Likewise.
42462 * abilist/libdl.abilist: Likewise.
42463 * abilist/libm.abilist: Likewise.
42464 * abilist/libnsl.abilist: Likewise.
42465 * abilist/libpthread.abilist: Likewise.
42466 * abilist/libresolv.abilist: Likewise.
42467 * abilist/librt.abilist: Likewise.
42468 * abilist/libthread_db.abilist: Likewise.
42469 * abilist/libutil.abilist: Likewise.
42470 * abilist/libnss_db.abilist: New file.
42471
42472 * scripts/abilist.awk: Add support for indirect functions.
42473
a2693a0e
UD
42474 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42475
3f05895f
UD
42476 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42477
ecb6fb48
UD
42478 * shlib-versions: Remove entries for ports architectures.
42479
664f8cb9
UD
42480 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42481 files in ports.
42482 * elf/stackguard-macros.h: Remove support for IA-64.
42483 * elf/tst-auditmod1.c: Likewise.
42484 * sysdeps/generic/ldsodefs.h: Likewise.
42485
7ae81d88
UD
42486 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42487 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42488 configure files.
42489
bdeba135
UD
42490 [BZ #13552]
42491 * configure.in: Remove --enable-omitfp support.
42492 * FAQ.in: Adjust.
42493 * config.make.in: Likewise.
42494 * Makeconfig: Likewise.
42495 * manual/install.texi: Likewise.
42496
d75a0a62
UD
42497 In case anyone cares, the IA-64 architecture could move to ports.
42498 * sysdeps/ia64/*: Removed.
42499 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42500 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42501
dcc9756b
UD
42502 [BZ #13555]
42503 * configure.in: Remove entries for unsupported architectures.
42504
d3761ebc 42505 [BZ #13533]
9954432e
UD
42506 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42507 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42508 routines.
42509 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42510 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42511 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42512 fall back to using wcrtomb.
42513 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42514 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42515 renaming.
42516 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42517 * wcsmbs/tst-c16c32-1.c: New file.
42518
42519 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42520 local variable.
42521
c3a87236
UD
42522 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42523
28926a1b
UD
42524 * elf/tst-unique3.cc: Add explicit declaration of gets.
42525 * elf/tst-unique3lib.cc: Likewise.
42526 * elf/tst-unique3lib2.cc: Likewise.
42527 * elf/tst-unique4.cc: Likewise.
42528
df78418a
UD
42529 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42530
8ecd6b2a
JM
425312012-01-06 Joseph Myers <joseph@codesourcery.com>
42532
42533 [BZ #13566]
42534 * assert/assert.h (static_assert): Don't define for C++.
42535 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42536 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42537
9f115170
UD
425382012-01-03 Ulrich Drepper <drepper@gmail.com>
42539
5e0d0300
UD
42540 * iconv/loop.c (single loop): Fix assertion in storing of
42541 remaining bytes.
42542
9f115170
UD
42543 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42544
81fb02b0
UD
425452012-01-01 Ulrich Drepper <drepper@gmail.com>
42546
42547 * posix/getconf.c: Update copyright year.
42548 * nss/getent.c: Likewise.
a316c1f6 42549 * nss/makedb.c: Likewise.
81fb02b0
UD
42550 * iconv/iconvconfig.c: Likewise.
42551 * iconv/iconv_prog.c: Likewise.
42552 * elf/ldconfig.c: Likewise.
a316c1f6
UD
42553 * elf/pldd.c: Likewise.
42554 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
42555 * catgets/gencat.c: Likewise.
42556 * csu/version.c: Likewise.
42557 * elf/ldd.bash.in: Likewise.
42558 * elf/sprof.c (print_version): Likewise.
42559 * locale/programs/locale.c: Likewise.
42560 * locale/programs/localedef.c: Likewise.
a316c1f6 42561 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
42562 * nscd/nscd.c (print_version): Likewise.
42563 * debug/xtrace.sh: Likewise.
42564 * malloc/memusage.sh: Likewise.
42565 * malloc/mtrace.pl: Likewise.
42566 * debug/catchsegv.sh: Likewise.
42567
2ba92745
JJ
425682011-12-30 Jakub Jelinek <jakub@redhat.com>
42569
42570 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42571 pure attribute.
42572
dadebdae
UD
425732011-12-24 Ulrich Drepper <drepper@gmail.com>
42574
d3761ebc 42575 [BZ #13533]
db6af3eb
UD
42576 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42577 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42578 transformations.
42579 * iconv/gconv_int.h: Likewise.
42580 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42581 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42582 from libc for GLIBC_2.16.
42583 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42584 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42585 * wcsmbs/uchar.h: Really define mbstate_t.
42586 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42587 * wcsmbs/c16rtomb.c: New file.
42588 * wcsmbs/mbrtoc16.c: New file.
42589 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42590 for C/POSIX locale.
42591 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42592 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42593
dadebdae
UD
42594 * wcsmbs/wchar.h: Add missing __restrict.
42595
67371b56
UD
425962011-12-23 Ulrich Drepper <drepper@gmail.com>
42597
74033a25
UD
42598 [BZ #13532]
42599 * time/Makefile (routines): Add timespec_get.
42600 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42601 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42602 timespec for ISO C11.
42603 * time/timespec_get.c: New file.
42604 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42605 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42606
380d7e87
UD
42607 [BZ #13531]
42608 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42609 * stdlib/stdlib.h: Declare aligned_alloc.
42610 * Versions.def: Add GLIBC_2.16 for libc.
42611 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42612
4e9e7a35
UD
42613 [BZ 13527]
42614 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42615 ISO C11.
42616
380d7e87 42617 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
42618 code.
42619
03a71829
UD
42620 [BZ #13528]
42621 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42622
839e283e
UD
42623 [BZ #13529]
42624 * assert/assert.h (static_assert): Define.
42625
ce5294e2 42626 * version.h: Update for 2.16 development version.
90fa7312 42627
8d44e150 42628 [BZ #13526]
d7809905
UD
42629 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42630 _ISOC11_SOURCE.
42631
c0da14cd
UD
42632 * version.h (RELEASE): Bump for 2.15 release.
42633 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42634
530a3249
MP
42635 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42636 Patch by Marek Polacek <mpolacek@redhat.com>.
42637
67371b56
UD
42638 * bits/byteswap.h: Protect long long constants with __extension__.
42639 * sysdeps/i386/bits/byteswap.h: Likewise.
42640 * sysdeps/ia64/bits/byteswap.h: Likewise.
42641 * sysdeps/s390/bits/byteswap.h: Likewise.
42642 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42643
15db4de1
LD
426442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42645
42646 [BZ #13540]
bbe315ea
LD
42647 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42648 destination buffer.
15db4de1
LD
42649 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42650
2b2596b1
MP
426512011-12-23 Marek Polacek <polacek@redhat.com>
42652
42653 * elf/dl-addr.c (determine_info): Add inline keyword.
42654 * elf/tst-auditmod4b.c (check_avx): Likewise.
42655 * elf/tst-auditmod6b.c (check_avx): Likewise.
42656 * elf/tst-auditmod6c.c (check_avx): Likewise.
42657 * elf/tst-auditmod7b.c (check_avx): Likewise.
42658
70c6c246
UD
426592011-12-23 Ulrich Drepper <drepper@gmail.com>
42660
42661 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42662 !__SSE_MATH__.
42663
c044cf14
LD
426642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42665
15db4de1 42666 [BZ #13540]
c044cf14
LD
42667 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42668 processing for last bytes.
42669
6b13d9d9
BH
426702011-08-06 Bruno Haible <bruno@clisp.org>
42671
d455f537
BH
42672 [BZ #13061]
42673 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42674 U+0385, not to U+1FEE.
42675
6b13d9d9
BH
42676 [BZ #13062]
42677 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42678 entry for U+00A5 U+0301.
42679
db910efd
UD
426802011-12-22 Ulrich Drepper <drepper@gmail.com>
42681
27deeafc
UD
42682 [BZ #13166]
42683 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42684 buffer for the output is too small.
42685
aed9d171
UD
42686 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42687 optimization.
42688
db910efd
UD
42689 [BZ #13185]
42690 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42691 SSE flags if possible.
42692
2bd779ae
LD
426932011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42694
e7f9dac3 42695 [BZ #13540]
2bd779ae
LD
42696 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42697 processing for last bytes.
42698
154bfc16
JM
426992011-12-22 Joseph Myers <joseph@codesourcery.com>
42700
42701 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42702 (syscall-list-default-options, syscall-list-default-condition)
42703 (syscall-list-includes): Define.
42704 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42705 list of ABIs and options and #if conditions for each ABI. Do not
42706 handle common syscalls between ABIs specially.
42707 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42708 Remove.
42709 (syscall-list-variants, syscall-list-32bit-options)
42710 (syscall-list-32bit-condition, syscall-list-64bit-options)
42711 (syscall-list-64bit-condition): Define.
42712 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42713 (syscall-list-variants, syscall-list-32bit-options)
42714 (syscall-list-32bit-condition, syscall-list-64bit-options)
42715 (syscall-list-64bit-condition): Define.
42716 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42717 Remove.
42718 (syscall-list-variants, syscall-list-32bit-options)
42719 (syscall-list-32bit-condition, syscall-list-64bit-options)
42720 (syscall-list-64bit-condition): Define.
42721 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42722 Remove.
42723 (syscall-list-variants, syscall-list-32bit-options)
42724 (syscall-list-32bit-condition, syscall-list-64bit-options)
42725 (syscall-list-64bit-condition): Define.
42726
21eaf3a5
UD
427272011-12-22 Ulrich Drepper <drepper@gmail.com>
42728
16c6f992
UD
42729 * locale/iso-639.def: Add brx entry.
42730
41043168
UD
42731 [BZ #13328]
42732 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42733 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42734
21eaf3a5
UD
42735 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42736 __feraiseexcept_renamed.
42737
e3a851a2
UD
427382011-12-21 Ulrich Drepper <drepper@gmail.com>
42739
4920765e
UD
42740 [BZ #13538]
42741 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42742 EPOLLET with unsigned values.
42743 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42744 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42745
e3a851a2
UD
42746 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42747 to large cancellation.
42748 * math/s_cacoshf.c: Likewise.
42749 * math/s_cacoshl.c: Likewise.
42750
b27e24b8
RK
427512011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42752
42753 [BZ #13305]
aebefeee 42754 [BZ #12786]
b27e24b8
RK
42755 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42756 * math/s_cacoshf.c: Likewise.
42757 * math/s_cacoshl.c: Likewise.
42758
ee190f67
UD
427592011-12-21 Ulrich Drepper <drepper@gmail.com>
42760
42761 [BZ #13439]
42762 * iconv/gconv.h: Define __GCONV_SWAP.
42763 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42764 * iconvdata/utf-16.c: Likewise.
42765 * iconvdata/utf-32.c: Likewise.
42766
707f25df
AS
427672011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42768
42769 [BZ #13524]
42770 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42771 numerator after shifting it by one limb.
42772
d2daaa1e
RÁE
427732011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42774
42775 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42776 under [__USE_EXTERN_INLINES].
42777
a4647e72
UD
427782011-12-17 Ulrich Drepper <drepper@gmail.com>
42779
42780 [BZ #13446]
42781 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42782
f0b264f1
AZ
427832011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42784
42785 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42786 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42787 optimized code.
42788 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42789 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42790 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42791 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42792 for strncasecmp/strncasecmp_l compilation.
42793 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42794 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42795
8ef4f244
MP
427962011-12-08 Marek Polacek <mpolacek@redhat.com>
42797
42798 [BZ #13484]
42799 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42800 of __asm__.
42801
97ac2654
UD
428022011-12-17 Ulrich Drepper <drepper@gmail.com>
42803
42804 [BZ #13506]
42805 * time/tzfile.c (__tzfile_read): Check values from file header.
42806
91d2a845
WS
428072011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42808
42809 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42810 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42811 * powerpc/powerpc32/dl-start.S: Likewise.
42812 * powerpc/powerpc32/elf/start.S: Likewise.
42813 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42814 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42815 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42816 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42817 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42818 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42819 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42820 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42821 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42822 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42823 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42824 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42825 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42826 * powerpc/powerpc32/memset.S: Likewise.
42827 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42828 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42829 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42830 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42831 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42832 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42833 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42834 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42835 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42836 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42837 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42838 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42839 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42840
a1267ba1
AZ
428412011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42842
42843 * math/libm-test.inc: Added more nearbyint tests.
42844 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42845 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42846 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42847 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42848
ad8ac1bd
RL
428492011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42850
42851 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42852 FD_CLOEXEC.
42853
1d3e4b61
UD
428542011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42855
42856 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42857 Add wcscpy-ssse3 wcscpy-c.
42858 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42859 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42860 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42861 * sysdeps/x86_64/wcschr.S: New file.
42862 * sysdeps/x86_64/wcsrchr.S: New file.
42863 * string/test-strcmp.c: Remove checking of wcscmp function for
42864 wrong alignments.
42865 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42866 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42867 wcsrchr-sse2 wcsrchr-c.
42868 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42869 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42870 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42871 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42872 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42873 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42874 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42875 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42876 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42877 * wcsmbc/wcschr.c (WCSCHR): New macro.
42878
5b330a2d
UD
428792011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42880
42881 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42882 * wcsmbs/test-wcsrchr.c: New file.
42883 * string/test-strrchr.c: Add wcsrchr support.
42884 (WIDE): New macro.
42885 * wcsmbs/test-wcscpy.c: New file.
42886 * string/test-strcpy.c: Add wcscpy support.
42887 (WIDE): New macro.
26428b7c 42888
f039c043
UD
428892011-12-10 Ulrich Drepper <drepper@gmail.com>
42890
42891 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42892 the inner loop.
42893
850fb039
AS
428942011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42895
42896 [BZ #13472]
42897 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42898
4efbd5cb
UD
428992011-12-04 Ulrich Drepper <drepper@gmail.com>
42900
52ff5dd0 42901 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 42902 Minor optimizations.
52ff5dd0 42903
4efbd5cb
UD
42904 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42905 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42906 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42907
8a426e12
UD
429082011-12-03 Ulrich Drepper <drepper@gmail.com>
42909
aff2453d
UD
42910 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42911 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42912 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42913 for gcc to avoid warnings.
42914 * inet/Makefile (tests): Add tst-checks.
42915 * inet/tst-checks.c: New file.
42916
42917 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42918 warning.
42919
42920 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42921 __wmemcmp_sse2.
42922
42923 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42924 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42925
8a426e12
UD
42926 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42927
9bea3473
UD
429282011-12-02 Ulrich Drepper <drepper@gmail.com>
42929
3a965496
UD
42930 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42931 problem.
42932
9bea3473
UD
42933 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42934
f101631b
UD
429352011-11-29 Joseph Myers <joseph@codesourcery.com>
42936
42937 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42938 conditional on GCC version.
42939 (__arch_compare_and_exchange_val_8_acq)
42940 (__arch_compare_and_exchange_val_16_acq)
42941 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42942 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42943 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42944
a98275aa
UD
429452011-12-02 Joseph Myers <joseph@codesourcery.com>
42946
42947 * sysdeps/sh/backtrace.c: New file.
42948
d4cc29a2
AS
429492011-12-02 Andreas Schwab <schwab@redhat.com>
42950
42951 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42952 parenthesis.
42953
6257af2d
AS
429542011-12-01 Andreas Schwab <schwab@redhat.com>
42955
42956 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42957 falling back to utime.
42958
b5f44c1a
AS
429592011-11-30 Andreas Schwab <schwab@redhat.com>
42960
42961 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42962 expectations for float.
42963
f3a6cc0a
AS
429642011-11-29 Andreas Schwab <schwab@redhat.com>
42965
42966 * locale/weight.h (findidx): Add parameter len.
42967 * locale/weightwc.h (findidx): Likewise.
42968 * posix/fnmatch_loop.c (FCT): Adjust caller.
42969 * posix/regcomp.c (build_equiv_class): Likewise.
42970 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42971 * posix/regexec.c (check_node_accept_bytes): Likewise.
42972 * string/strcoll_l.c (STRCOLL): Likewise.
42973 * string/strxfrm_l.c (STRXFRM): Likewise.
42974
9d65ea3a
UD
429752011-11-17 Ulrich Drepper <drepper@gmail.com>
42976
42977 * Makefile.in: Remove CVSOPT handling.
42978 * configure.in: Remove use of AC_REVISION.
42979 * iconvdata/Makefile (distribute): No need to filter out CVS.
42980 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42981 handling.
42982
5583a086
AS
429832011-11-16 Andreas Schwab <schwab@redhat.com>
42984
42985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42986 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42987 [USE_AS_STRNCASECMP_L]: Likewise.
42988 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42989 NO_TLS_DIRECT_SEG_REFS.
42990 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42991 Fix argument offsets for non-PIC.
42992 [USE_AS_STRNCASECMP_L]: Likewise.
42993 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42994 NO_TLS_DIRECT_SEG_REFS.
42995
d62a8200
UD
429962011-11-15 Ulrich Drepper <drepper@gmail.com>
42997
9d65ea3a 42998 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42999 O_CLOEXEC.
43000 * locale/loadlocale.c (_nl_load_locale): Likewise.
43001
09f93bd3
AS
430022011-11-15 Andreas Schwab <schwab@redhat.com>
43003
446514f9
AS
43004 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43005 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43006 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43007 (SYSCALL_GETTIME): Set errno on error.
43008
09f93bd3
AS
43009 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43010 count references to noai6ai_cached.
43011
312be3f9
UD
430122011-11-15 Ulrich Drepper <drepper@gmail.com>
43013
43014 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43015
43016 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43017 FD_CLOEXEC for /proc/self/maps.
43018
43019 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43020 FD_CLOEXEC for /proc/meminfo.
43021
43022 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43023 gai.conf.
43024
43025 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43026 FD_CLOEXEC for given file.
43027
43028 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43029
43030 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43031 FD_CLOEXEC for /etc/hosts.
43032 (_gethtent): Likewise.
43033
43034 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43035
43036 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43037 cancellation and set FD_CLOEXEC for /etc/netgroup.
43038
43039 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43040 reading /etc/publickey.
43041
43042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43043 allow cancellation when reading /etc/group.
43044
43045 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43046 cancellation.
43047 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43048
43049 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43050 when using data file.
43051
43052 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43053
43054 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43055 (write_nis_obj): Use "c" and "e" in fopen.
43056
43057 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43058
43059 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43060
43061 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43062
43063 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43064
43065 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43066 locale.alias.
43067
43068 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43069
43070 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43071
43072 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43073
43074 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43075 file parsing and set FD_CLOEXEC.
43076
82af0fa8
UD
430772011-11-14 Ulrich Drepper <drepper@gmail.com>
43078
43079 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43080
a5fb313c
AS
430812011-11-14 Andreas Schwab <schwab@redhat.com>
43082
43083 * malloc/arena.c (arena_get2): Don't call reused_arena when
43084 _int_new_arena failed.
43085
6abf3465
UD
430862011-11-14 Ulrich Drepper <drepper@gmail.com>
43087
43088 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43089 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43090 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43091 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43092 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43093 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43094 to compile strcasecmp and strncasecmp.
43095 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43096 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43097
43098 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43099
76e3966e
UD
431002011-11-13 Ulrich Drepper <drepper@gmail.com>
43101
43102 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43103 locale-defines.sym to gen-as-const-headers.
43104 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43105 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43107 to compile strcasecmp and strncasecmp.
43108 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43109 strcasecmp_l and strncasecmp_l.
43110 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43111 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43112 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43113 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43114 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43115 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43116 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43117 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43118 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43119 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43120 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43121
ab26144e
UD
431222011-11-12 Ulrich Drepper <drepper@gmail.com>
43123
7edb22ef
UD
43124 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43125 result of SYSDEP_GETTIME_CPU to retval.
43126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43127 parameter list to macro. Remove trailing semicolon. Adjust users.
43128
9694fc44
UD
43129 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43130 variable.
43131
8ad89ef8
UD
43132 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43133 mantissa words.
43134 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43135
0c822ef9
UD
43136 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43137 from unused variable.
43138
874e0564
UD
43139 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43140 DWARF definitions.
43141 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43142 for assembling.
43143
3a2edc79
UD
43144 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43145 over namespaces.
43146
f3c2577f
UD
43147 * sunrpc/rpc_prot.c (rejected): Fix case value.
43148
294ce126
UD
43149 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43150 unsigned long long int to avoid warnings in shift.
43151
5e2b63c6
UD
43152 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43153 of use of trans.
43154 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43155 variable tmp.
43156
e7f4b08e
UD
43157 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43158 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43159 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43160
ab26144e
UD
43161 * nis/nis_table.c (nis_list): Use variable of correct type for
43162 result of __follow_path call.
43163
8a6d5255
AZ
431642011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43165
43166 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43167 of math functions ceil, trunc, floor, round, and sqrt, when
43168 avaliable on the platform.
43169 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43170 name clash.
43171 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43172 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43173 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43174
aaddc98c
MP
431752011-10-30 Marek Polacek <mpolacek@redhat.com>
43176
43177 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43178 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43179
95b7042b
RM
431802011-11-11 Roland McGrath <roland@hack.frob.com>
43181
43182 * include/unistd.h: Fix __readlink return type.
43183 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43184
57769839
UD
431852011-11-11 Ulrich Drepper <drepper@gmail.com>
43186
43187 * stdlib/ucontext.h: Undo last change for makecontext.
43188
edc5984d
AS
431892011-11-11 Andreas Schwab <schwab@redhat.com>
43190
98591e58
AS
43191 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43192
edc5984d
AS
43193 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43194 * setjmp/setjmp.h: Mark functions as non-leaf.
43195 * setjmp/bits/setjmp2.h: Likewise.
43196 * stdlib/ucontext.h: Likewise.
43197
77cdc054
AS
431982011-11-10 Andreas Schwab <schwab@redhat.com>
43199
43200 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43201 (reused_arena): Don't check arena limit.
43202 (arena_get2): Atomically check arena limit.
43203
fe72eebd
UD
432042011-11-08 Ulrich Drepper <drepper@gmail.com>
43205
5f078c32
UD
43206 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43207 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43208
fe72eebd
UD
43209 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43210 instructions.
43211
ae1bc2fa
AS
432122011-11-07 Andreas Schwab <schwab@redhat.com>
43213
7583a88d
AS
43214 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43215 handler when locking.
43216
ae1bc2fa
AS
43217 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43218 Fix size of allocated buffer.
43219
10fb0bfa
AS
432202011-11-04 Andreas Schwab <schwab@redhat.com>
43221
998832a4
AS
43222 [BZ #10103]
43223 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43224 declarations for long double functions.
43225 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43226
10fb0bfa
AS
43227 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43228
3d7ba52b
AS
432292011-11-03 Andreas Schwab <schwab@redhat.com>
43230
a9ae54a1
AS
43231 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43232 installed.
43233
3d7ba52b
AS
43234 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43235 is disabled.
43236
bc8db248
ST
432372011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43238
43239 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43240
45b96dd6
AS
432412011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43242
647776f6
AS
43243 * include/alloca.h (stackinfo_alloca_round): Define.
43244 (extend_alloca): Use it.
43245 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43246 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43247 here.
43248
d91a8b93
AS
43249 * scripts/check-local-headers.sh: Ignore libaudit.h.
43250
45b96dd6
AS
43251 * nscd/Makefile (extra-objs): Make recursively expanded.
43252
432d41ce
UD
432532011-11-01 Ulrich Drepper <drepper@gmail.com>
43254
34372fc6
UD
43255 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43256 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43257
fadb59f8
UD
43258 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43259 * posix/tst-rfc3484-2.c: Likewise.
43260 * posix/tst-rfc3484-3.c: Likewise.
43261
78239589
UD
43262 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43263 process_vm_writev.
43264 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43265 process_vm_writev.
43266 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43267 process_vm_writev from libc using GLIBC_2.15 version.
43268
432d41ce
UD
43269 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43270
02f9c6cf
PP
432712011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43272
43273 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43274 stack usage.
43275
3a2c0242
UD
432762011-10-31 Ulrich Drepper <drepper@gmail.com>
43277
f4ec4833
UD
43278 [BZ #13367]
43279 * nss/getent.c (initgroups_keys): Show error message in case no group
43280 names are given.
43281
3a2c0242
UD
43282 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43283 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43284 __bump_nl_timestamp.
43285 * nscd/connections (nscd_init): When host database is served open
43286 netlink socket and request notification about configuration changes.
43287 (main_loop_poll): Track netlink file descriptor and bump timestamp
43288 in case data becomes available.
43289 (main_loop_epoll): Likewise.
43290 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43291 (database_pers_head): Add extra_data fileds.
43292 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43293 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43294 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43295 Adjust caller.
43296 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43297 in6ai data, call __free_in6ai.
43298 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43299 Add -DHAVE_NETLINK.
43300 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43301 interface information. Reuse previous data if netlink timestamp
43302 is not changed.
43303 (__bump_nl_timestamp): New function.
43304 (__free_in6ai): New function.
43305
636064eb
UD
433062011-10-30 Ulrich Drepper <drepper@gmail.com>
43307
43308 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43309 close_not_cancel_no_status here.
43310 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43311
9beb2334
UD
433122011-10-29 Ulrich Drepper <drepper@gmail.com>
43313
6ef76f3b
UD
43314 [BZ #13276]
43315 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43316 return value.
43317
0ffc4f3e 43318 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43319 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43320 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43321
cb95113e
UD
433222011-07-03 Andreas Jaeger <aj@suse.de>
43323
43324 [BZ #10709]
43325 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43326 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43327 * math/libm-test.inc (sin_test): Add test case.
43328
a1b560ff
UD
433292011-10-29 Ulrich Drepper <drepper@gmail.com>
43330
c9aaface
UD
43331 [BZ #13337]
43332 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43333 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43334
d272e7f1
UD
43335 * elf/chroot_canon.c (chroot_canon): Cleanups.
43336
1bc33071
UD
43337 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43338
1760874d
TJ
43339 [BZ #13335]
43340 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43341 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43342
51d91b18
UD
43343 * string/test-strchr.c: Make usable for strchrnul testing.
43344 * string/test-strchrnul.c: New file.
43345 * string/Makefile (strop-tests): Add strchrnul.
43346
a1b560ff 43347 * po/it.po: Update from translation team.
b611fb81 43348 * po/es.po: Likewise.
a1b560ff 43349
a5b81e1f
UD
433502011-10-28 Ulrich Drepper <drepper@gmail.com>
43351
fd52bc6d
UD
43352 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43353 the three constants needed as parameters. Drop the others.
43354 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43355 __m128i_strloadu_tolower.
52e4b9eb
UD
43356 Create and initialize variable zero and use it in all the places
43357 where _mm_setzero_si128 was used.
fd52bc6d 43358
a5b81e1f
UD
43359 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43360 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43361 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43362 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43363 anymore.
43364 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43365 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43366 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43367 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43368 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43369 __mpranred, __mptan.
43370 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43371 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43372 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43373 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43374 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43375 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43376 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43377 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43378 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43379
b4343346
AS
433802011-10-28 Andreas Schwab <schwab@redhat.com>
43381
0c92d8a8
AS
43382 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43383 redefine if SHARED.
43384 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43385
b4343346
AS
43386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43387 wide char related routines to wcsmbs subdir.
43388
3871f58f
AS
433892011-10-27 Andreas Schwab <schwab@redhat.com>
43390
43391 [BZ #13344]
43392 * misc/sys/cdefs.h (__THROWNL): Define.
43393 * posix/unistd.h: Use __THREADNL instead of __THREAD
43394 for memory synchronization functions.
43395
94d44d9f
RM
433962011-10-26 Roland McGrath <roland@hack.frob.com>
43397
21b64b15 43398 [BZ #13349]
94d44d9f
RM
43399 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43400 doesn't exist.
43401 * manual/stdio.texi (Obstack Streams): Node removed.
43402
f6ce9294
AS
434032011-10-26 Andreas Schwab <schwab@redhat.com>
43404
80479147
AS
43405 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43406 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43407 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43408
f6ce9294
AS
43409 * math/math_private.h (math_force_eval): Allow non-addressable
43410 arguments.
43411 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43412
618280a1
UD
434132011-10-25 Ulrich Drepper <drepper@gmail.com>
43414
e0016b11
UD
43415 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43416 file is not needed.
43417
43418 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43419 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43420 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43421 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43422 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43423 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43424 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43425 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43426 Add AVX variants.
43427 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43428 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43429 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43430 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43431 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43432 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43433 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43434 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43435 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43436 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43437 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43438 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43439 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43440 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43441 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43442 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43443 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43444 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43445 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43446
43447 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43448 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43449
618280a1
UD
43450 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43451 place. Use VEX encoding when compiling for AVX.
43452
37822576
AS
434532011-10-25 Andreas Schwab <schwab@redhat.com>
43454
1f1e1947
AS
43455 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43456 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43457
37822576
AS
43458 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43459
31ea014d
UD
434602011-10-25 Ulrich Drepper <drepper@gmail.com>
43461
d7826aa1 43462 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43463 useless if() expression.
d7826aa1
UD
43464 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43465 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43466 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43467 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43468 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43469 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43470 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43471 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43472 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43473 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43474 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43475 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43476 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43477 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43478 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43479 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43480 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43481 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43482 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43483
31ea014d
UD
43484 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43485
16437fec
AS
434862011-10-25 Andreas Schwab <schwab@redhat.com>
43487
43488 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43489 condition.
43490 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43491
31d3cc00
UD
434922011-10-25 Ulrich Drepper <drepper@gmail.com>
43493
43494 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43495 .text section. Avoid duplicate constants.
43496 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43498 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43500 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43504 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43505 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43506 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43507 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43508 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43509 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43510 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43511 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43512 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43513 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43514 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43516 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43517 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43518 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43519 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43520 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43521 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43522 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43523 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43524 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43525 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43526 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43527 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43528 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43529 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43530 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43531 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43532 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43533 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43534 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43535 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43536 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43537 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43538 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43539 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43540 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43541
58985aa9
UD
435422011-10-24 Ulrich Drepper <drepper@gmail.com>
43543
202c9deb
UD
43544 * sysdeps/x86_64/dla.h: Move to ...
43545 * sysdeps/x86_64/fpu/dla.h: ...here.
43546 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43547 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43548
af968f62
UD
43549 * config.make.in: Add have-mfma4 entry.
43550 * configure.in: Substitute libc_cv_cc_fma4.
43551 * math/Makefile (dbl-only-routines): Add sincostab.
43552 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43553 Use __sincostab not sincos.
43554 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43555 name is a macro.
43556 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43558 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43560 using __copysign.
43561 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43562 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43563 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43564 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43565 and __inv.
43566 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43567 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43568 __copysign.
43569 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43570 define aliases when function name is a macro.
43571 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43572 sysdeps/ieee754/dbl-64/sincos.tbl.
43573 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43574 fma4-enabled routines.
43575 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43576 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43577 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43578 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43579 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43580 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43581 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43582 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43583 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43584 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43585 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43586 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43587 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43588 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43589 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43590 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43591 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43592 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43593 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43594 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43595 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43596 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43597 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43598 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43599 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43600 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43601 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43602 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43603 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43604 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43605
58985aa9
UD
43606 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43607 rename.
43608 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43610 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43613 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43614 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43615 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43616
a201fbcf
AS
436172011-10-24 Andreas Schwab <schwab@redhat.com>
43618
43619 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43620
fc2ee42a
LD
436212011-10-23 Ulrich Drepper <drepper@gmail.com>
43622
bb3129bd
UD
43623 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43624
0275fff8
UD
43625 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43626 prediction.
43627 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43628
2fa2ae85
UD
43629 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43630 Remove unused variable magic_bits.
43631 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43632
fc2ee42a
LD
43633 * string/strnlen.c: Define and use STRNLEN macro.
43634 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43635 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43636 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43637 * wcsmbs/wcslen.c: Define and use WCSLEN.
43638 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43639 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43640 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43641 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43642 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43643 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43644 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43645
ce7dd29f
LD
436462011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43647
43648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43649 strnlen-sse2-no-bsf.
43650 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43651 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43652 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43653 Add strnlen support.
43654 (USE_AS_STRNLEN): New macro.
43655 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43656 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43657 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43658 * sysdeps/x86_64/wcslen.S: New file.
43659
979c70a3
MZ
436602011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43661
43662 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43663 XMM-moves are used for copying on small sizes.
43664
2d09f82f
LD
436652011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43666
43667 * wcsmbs/Makefile (strop-tests): Add wcschr.
43668 * wcsmbs/test-wcschr.c: New file.
43669 * string/test-strchr.c: Update.
43670 Add wcschr support.
43671 (WIDE): New macro.
43672
619fccca
LD
436732011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43674
2d09f82f 43675 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
43676 * wcsmbs/test-wcslen.c: New file.
43677 * string/test-strlen.c: Update.
43678 Add wcslen support.
43679 (WIDE): New macro.
43680
09f699ea
UD
436812011-10-23 Ulrich Drepper <drepper@gmail.com>
43682
43683 * po/it.po: Update from translation team.
43684
95584d3b
LD
436852011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43686
43687 * sysdeps/x86_64/wcscmp.S: Update.
43688 Fix wrong comparison semantics.
43689 wcscmp shall use signed comparison not unsigned.
43690 Don't use substraction to avoid overflow bug.
43691 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43692 * wcsmbc/wcscmp.c: Likewise.
43693 * string/test-strcmp.c: Likewise.
43694 Add new tests to check cases with negative values.
43695
c8b3296b
UD
436962011-10-23 Ulrich Drepper <drepper@gmail.com>
43697
43698 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43699 * sysdeps/x86_64/dla.h: ...here. New file.
43700 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43701 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43702 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43703 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43704 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43705 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43706 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43707 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43708 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43709
246ad57a
AS
437102011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43711
43712 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43713 __ynl_finite aliases.
43714
a1a87169
UD
437152011-10-22 Ulrich Drepper <drepper@gmail.com>
43716
0d355eb7
UD
43717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43718
a1a87169
UD
43719 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43720 define DLA_FMA.
43721 [DLA_FMA] (EMULV): Use DLA_FMA.
43722 [DLA_FMA] (MUL12): Use EMULV.
43723 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43724 that are not needed.
43725 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43726 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43727 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43728 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43730 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43732
ee2aafe0
AS
437332011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43734
43735 * math/s_nan.c: Undef __nan.
43736 * math/s_nanf.c: Undef __nanf.
43737 * math/s_nanl.c: Undef __nanl.
43738 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43739 "math_private.h".
43740
bc62c2fb
UD
437412011-10-22 Ulrich Drepper <drepper@gmail.com>
43742
77425c63
UD
43743 * math/s_catan.c: Add branch predictions.
43744 * math/s_catanf.c: Likewise.
43745 * math/s_catanh.c: Likewise.
43746 * math/s_catanhf.c: Likewise.
43747 * math/s_catanhl.c: Likewise.
43748 * math/s_catanl.c: Likewise.
43749 * math/s_cexp.c: Likewise.
43750 * math/s_cexpf.c: Likewise.
43751 * math/s_cexpl.c: Likewise.
43752 * math/s_clog.c: Likewise.
43753 * math/s_clog10.c: Likewise.
43754 * math/s_clog10f.c: Likewise.
43755 * math/s_clog10l.c: Likewise.
43756 * math/s_clogf.c: Likewise.
43757 * math/s_clogl.c: Likewise.
43758 * math/s_csqrt.c: Likewise.
43759 * math/s_csqrtf.c: Likewise.
43760 * math/s_csqrtl.c: Likewise.
43761 * math/s_ctanf.c: Likewise.
43762 * math/s_ctanh.c: Likewise.
43763 * math/s_ctanhf.c: Likewise.
43764 * math/s_ctanhl.c: Likewise.
43765 * math/s_ctanl.c: Likewise.
43766
bc62c2fb
UD
43767 * math/math_private.h: Define __nan, __nanf, __nanl.
43768 * math/s_cacosh.c: Include <math_private.h>.
43769 * math/s_cacoshl.c: Likewise.
43770 * math/s_casinh.c: Likewise.
43771 * math/s_casinhf.c: Likewise.
43772 * math/s_casinhl.c: Likewise.
43773 * math/s_ccos.c: Rely entire on ccosh.
43774 * math/s_ccosf.c: Rely entire on ccoshf.
43775 * math/s_ccosl.c: Rely entirely on ccoshl.
43776 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43777 Remove tests for FE_INVALID.
43778 * math/s_ccoshf.c: Likewise.
43779 * math/s_ccoshl.c: Likewise.
43780 * math/s_csin.c: Likewise.
43781 * math/s_csinf.c: Likewise.
43782 * math/s_csinh.c Likewise.
43783 * math/s_csinhf.c: Likewise.
43784 * math/s_csinhl.c: Likewise.
43785 * math/s_csinl.c: Likewise.
43786 * math/s_ctan.c: Likewise.
43787 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43788 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43789 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43790
8ec250a4
UD
437912011-10-21 Ulrich Drepper <drepper@gmail.com>
43792
c196fed8
UD
43793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43794 compilation problems.
43795
8ec250a4
UD
43796 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43797 __builtin_expect.
43798
8d4f46c6
UD
437992011-10-20 Ulrich Drepper <drepper@gmail.com>
43800
ed72b654
UD
43801 * sysdeps/i386/configure.in: Test for -mfma4 option.
43802 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43803 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43804 COMMON_CPUID_INDEX_80000001.
43805 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43806 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43807 use it if FMA3 is not supported.
43808 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43809
8d4f46c6
UD
43810 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43811 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43812
d45c60c2
AS
438132011-10-20 Andreas Schwab <schwab@redhat.com>
43814
43815 [BZ #12892]
43816 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43817 it would create a cycle with a link time dependency.
43818
d9a4d2ab
UD
438192011-10-19 Ulrich Drepper <drepper@gmail.com>
43820
855d1560
UD
43821 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43822 instruction.
43823 * string/Makefile (strop-tests): Add rawmemchr.
43824 * string/test-rawmemchr.c: New file.
43825
d9a4d2ab
UD
43826 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43827 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43828 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43829 when compiling str{,n}casecmp and when AVX is available. Hook up
43830 new optimized code in initializers.
43831
8f3b1ffe
AS
438322011-10-19 Andreas Schwab <schwab@redhat.com>
43833
43834 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43835 __feraiseexcept instead of feraiseexcept.
43836
d38f1dba
UD
438372011-10-18 Ulrich Drepper <drepper@gmail.com>
43838
d9a8d0ab
UD
43839 * math/math_private.h: Define defaults for libc_fetestexcept and
43840 libc_feupdateenv.
43841 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43842 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43843 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43844 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43845 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43846 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43847 libc_fetestexcept and libc_feupdateenv.
43848
4855e3dd
UD
43849 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43850 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43851 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43852 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43853 libc_feholdexcept_setround.
43854
581d30e3
UD
43855 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43856 Add s_nearbyint-c and s_nearbyintf-c.
43857 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43858 nearbyintf inlines.
43859 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43860 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43861 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43862 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43863
d38f1dba
UD
43864 * math/math_private.h: Define defaults for libc_fegetround,
43865 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43866 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43867 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43868 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43869 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43870 standard functions.
43871 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43872 Remove comments and hacks for old compiler versions.
43873 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43874 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43875 libc_feholdexceptl.
43876
caa6c9d8
AS
438772011-10-18 Andreas Schwab <schwab@redhat.com>
43878
43879 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
43880 (__feraiseexcept_renamed): Add __NTH.
43881 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
43882 namespace violations.
43883
97c066e6
UD
438842011-10-17 Ulrich Drepper <drepper@gmail.com>
43885
99ce7b04
UD
43886 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43887
1004d182
UD
43888 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43889
228a984d
UD
43890 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43891 recently added interfaces.
43892 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43893
c8553a6a
UD
43894 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43895 about macro parameter expansion.
43896
ed22dcf6
UD
43897 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43898 __NO_MATH_INLINES is defined. Cleanups.
43899
43900 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43901 and __floorf is target has SSE4.1.
43902 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43903 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43904 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43905 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43906
b171c137
UD
43907 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43908 name.
43909 (floorf): Likewise.
43910
97c066e6
UD
43911 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43912
629f62ef
AS
439132011-10-17 Andreas Schwab <schwab@redhat.com>
43914
49a43d80
AS
43915 * misc/sys/cdefs.h: Fix last change.
43916
629f62ef
AS
43917 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43918 database lookup.
43919
e453f6cd
UD
439202011-10-16 Ulrich Drepper <drepper@gmail.com>
43921
aa78043a
UD
43922 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43923
ad0f5cad
UD
43924 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43925 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43926 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43927 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43928 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43929 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43930 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43931 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43932 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43933 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43934 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43935 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43936 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43937 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43938 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43939 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43940 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43941 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43942 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43943 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43944 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43945 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43946
43947 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43948 ceil, ceilf, floor, floorf.
43949
43950 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43951 Perform IRELATIVE relocations last.
43952
e453f6cd
UD
43953 * elf/do-rel.h: Add another parameter nrelative, replacing the
43954 local variable with the same name. Change name of the function
43955 to end in Rel or Rela (uppercase).
43956 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43957 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43958 elf_dynamic_do_##reloc function.
43959
fd5bdc09
UD
439602011-10-15 Ulrich Drepper <drepper@gmail.com>
43961
79b195b5
UD
43962 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43963 is sufficient, at least on modern CPUs.
43964
d4a28569
UD
43965 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43966
b61099b5
UD
43967 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43968 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43969
bcf01e6d
UD
43970 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43971 __expl_finite.
43972 * math/bits/math-finite.h: Add entries for exp.
43973 * math/e_expl.c: Add __*_finite alias.
43974 * sysdeps/i386/fpu/e_exp.S: Likewise.
43975 * sysdeps/i386/fpu/e_expf.S: Likewise.
43976 * sysdeps/i386/fpu/e_expl.c: Likewise.
43977 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43978 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43979 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43980 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43981 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43982 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43983 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43984
ba1a0d59
UD
43985 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43986 is sufficient, at least on modern CPUs.
43987
fd5bdc09
UD
43988 * ctype/ctype-info.c (__ctype_init): Define.
43989 * include/ctype.h (__ctype_init): Declare.
43990 (__ctype_b_loc): The variable is always initialized.
43991 (__ctype_toupper_loc): Likewise.
43992 (__ctype_tolower_loc): Likewise.
43993 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43994 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43995
7872cfb0
AS
439962011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43997
b468825a
AS
43998 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43999
7872cfb0
AS
44000 * configure.in: Also look in $cxxmachine/include for C++ system
44001 headers.
44002
be13f7bf
LD
440032011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44004
44005 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44006 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44007 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44008 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44009 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44010 (USE_AS_WMEMCMP): New macro.
44011 Fixing indents.
44012 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44013 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44014 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44015 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44017 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44018 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44019 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44020 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44021 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44022 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44023 (USE_AS_WMEMCMP): New macro.
44024 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44025 * sysdeps/string/test-memcmp.c: Update.
44026 Fix simple_wmemcmp.
44027 Add new tests.
44028 * wcsmbs/wmemcmp.c: Update.
44029 (WMEMCMP): New macro.
44030 Fix overflow bug.
44031
556a2007
AJ
440322011-10-12 Andreas Jaeger <aj@suse.de>
44033
44034 [BZ #13268]
44035 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44036
538faaa7
UD
440372011-10-15 Ulrich Drepper <drepper@gmail.com>
44038
ab6737ff
UD
44039 * libio/iofwide.c (do_length): Avoid warning.
44040
538faaa7
UD
44041 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44042
396a21b1
UD
440432011-10-14 Ulrich Drepper <drepper@gmail.com>
44044
cdf2901f
UD
44045 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44046
38ad40ce
UD
44047 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44048 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44049 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44050 * sysdeps/i386/i686/fpu/e_log.S: New file.
44051 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44052 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44053
396a21b1
UD
44054 * ctype/ctype.h: Add support for inlined isXXX functions when
44055 compiling C++ code.
44056
6b1f68c9
AS
440572011-10-14 Andreas Schwab <schwab@redhat.com>
44058
349290c0
AS
44059 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44060
6b1f68c9
AS
44061 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44062
f2282d42
RM
440632011-10-13 Roland McGrath <roland@hack.frob.com>
44064
44065 [BZ #13291]
44066 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44067
5298ffa8
AS
440682011-10-13 Andreas Schwab <schwab@redhat.com>
44069
714fad23
AS
44070 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44071 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44072 feraiseexcept.
44073
81dcc7fb
AS
44074 * sysdeps/x86_64/memrchr.S: Check for zero size.
44075
5298ffa8
AS
44076 * string/stratcliff.c: Add memrchr tests.
44077
951fbcec
LD
440782011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44079
44080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44081 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44082 rawmemchr-sse2 rawmemchr-sse2-bsf.
44083 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44084 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44085 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44086 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44087 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44088 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44089 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44090 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44091 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44092 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44093 * string/memrchr.c (MEMRCHR): New macro.
44094
0ac5ae23
UD
440952011-10-12 Ulrich Drepper <drepper@gmail.com>
44096
44097 Add integration with gcc's -ffinite-math-only and optimize wrapper
44098 functions in libm.
44099 * Versions.def: Define GLIBC_2.15 version for libm.
44100 * math/Makefile (headers): Add bits/math-finite.h.
44101 * math/bits/math-finite.h: New file.
44102 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44103 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44104 * math/e_acoshl.c: Add __*_finite alias.
44105 * math/e_acosl.c: Likewise.
44106 * math/e_asinl.c: Likewise.
44107 * math/e_atan2l.c: Likewise.
44108 * math/e_atanhl.c: Likewise.
44109 * math/e_coshl.c: Likewise.
44110 * math/e_exp10.c: Likewise.
44111 * math/e_exp10f.c: Likewise.
44112 * math/e_exp10l.c: Likewise.
44113 * math/e_exp2l.c: Likewise.
44114 * math/e_fmodl.c: Likewise.
44115 * math/e_gammal_r.c: Likewise.
44116 * math/e_hypotl.c: Likewise.
44117 * math/e_j0l.c: Likewise.
44118 * math/e_j1l.c: Likewise.
44119 * math/e_jnl.c: Likewise.
44120 * math/e_lgammal_r.c: Likewise.
44121 * math/e_log10l.c: Likewise.
44122 * math/e_log2l.c: Likewise.
44123 * math/e_logl.c: Likewise.
44124 * math/e_powl.c: Likewise.
44125 * math/e_sinhl.c: Likewise.
44126 * math/e_sqrtl.c: Likewise.
44127 * math/e_scalb.c: Completely rewritten and optimized.
44128 * math/e_scalbf.c: Likewise.
44129 * math/e_scalbl.c: Likewise.
44130 * math/w_acos.c: Likewise.
44131 * math/w_acosf.c: Likewise.
44132 * math/w_acosl.c: Likewise.
44133 * math/w_acosh.c: Likewise.
44134 * math/w_acoshf.c: Likewise.
44135 * math/w_acoshl.c: Likewise.
44136 * math/w_asin.c: Likewise.
44137 * math/w_asinf.c: Likewise.
44138 * math/w_asinl.c: Likewise.
44139 * math/w_atan2.c: Likewise.
44140 * math/w_atan2f.c: Likewise.
44141 * math/w_atan2l.c: Likewise.
44142 * math/w_atanh.c: Likewise.
44143 * math/w_atanhf.c: Likewise.
44144 * math/w_atanhl.c: Likewise.
44145 * math/w_exp10.c: Likewise.
44146 * math/w_exp10f.c: Likewise.
44147 * math/w_exp10l.c: Likewise.
44148 * math/w_fmod.c: Likewise.
44149 * math/w_fmodf.c: Likewise.
44150 * math/w_fmodl.c: Likewise.
44151 * math/w_j0.c: Likewise.
44152 * math/w_j0f.c: Likewise.
44153 * math/w_j0l.c: Likewise.
44154 * math/w_j1.c: Likewise.
44155 * math/w_j1f.c: Likewise.
44156 * math/w_j1l.c: Likewise.
44157 * math/w_jn.c: Likewise.
44158 * math/w_jnf.c: Likewise.
44159 * math/w_log.c: Likewise.
44160 * math/w_logf.c: Likewise.
44161 * math/w_logl.c: Likewise.
44162 * math/w_log10.c: Likewise.
44163 * math/w_log10f.c: Likewise.
44164 * math/w_log10l.c: Likewise.
44165 * math/w_log2.c: Likewise.
44166 * math/w_log2f.c: Likewise.
44167 * math/w_log2l.c: Likewise.
44168 * math/w_pow.c: Likewise.
44169 * math/w_powf.c: Likewise.
44170 * math/w_powl.c: Likewise.
44171 * math/w_remainder.c: Likewise.
44172 * math/w_remainderf.c: Likewise.
44173 * math/w_remainderl.c: Likewise.
44174 * math/w_scalb.c: Likewise.
44175 * math/w_scalbf.c: Likewise.
44176 * math/w_scalbl.c: Likewise.
44177 * math/w_sqrt.c: Likewise.
44178 * math/w_sqrtf.c: Likewise.
44179 * math/w_sqrtl.c: Likewise.
44180 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44181 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44182 used.
44183 * math/math_private.h: Declare __kernel_standard_f.
44184 * math/w_cosh.c: Remove cruft and optimize a bit.
44185 * math/w_coshf.c: Likewise.
44186 * math/w_coshl.c: Likewise.
44187 * math/w_exp2.c: Likewise.
44188 * math/w_exp2f.c: Likewise.
44189 * math/w_exp2l.c: Likewise.
44190 * math/w_hypot.c: Likewise.
44191 * math/w_hypotf.c: Likewise.
44192 * math/w_hypotl.c: Likewise.
44193 * math/w_lgamma.c: Likewise.
44194 * math/w_lgamma_r.c: Likewise.
44195 * math/w_lgammaf.c: Likewise.
44196 * math/w_lgammaf_r.c: Likewise.
44197 * math/w_lgammal.c: Likewise.
44198 * math/w_lgammal_r.c: Likewise.
44199 * math/w_sinh.c: Likewise.
44200 * math/w_sinhf.c: Likewise.
44201 * math/w_sinhl.c: Likewise.
44202 * math/w_tgamma.c: Likewise.
44203 * math/w_tgammaf.c: Likewise.
44204 * math/w_tgammal.c: Likewise.
44205 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44206 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44207 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44208 Minor optimizations. Pretty printing. Remove cruft.
44209 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44210 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44211 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44212 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44213 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44214 * sysdeps/i386/fpu/e_asin.S: Likewise.
44215 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44216 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44217 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44218 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44219 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44220 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44221 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44222 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44223 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44224 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44225 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44226 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44227 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44228 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44229 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44230 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44231 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44232 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44233 * sysdeps/i386/fpu/e_log.S: Likewise.
44234 * sysdeps/i386/fpu/e_log10.S: Likewise.
44235 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44236 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44237 * sysdeps/i386/fpu/e_log2.S: Likewise.
44238 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44239 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44240 * sysdeps/i386/fpu/e_logf.S: Likewise.
44241 * sysdeps/i386/fpu/e_logl.S: Likewise.
44242 * sysdeps/i386/fpu/e_pow.S: Likewise.
44243 * sysdeps/i386/fpu/e_powf.S: Likewise.
44244 * sysdeps/i386/fpu/e_powl.S: Likewise.
44245 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44246 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44247 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44248 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44249 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44250 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44251 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44252 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44253 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44254 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44255 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44257 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44258 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44259 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44260 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44261 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44262 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44263 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44264 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44265 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44267 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44268 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44269 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44270 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44271 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44272 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44273 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44274 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44275 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44276 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44277 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44278 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44279 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44280 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44281 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44282 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44283 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44284 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44285 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44286 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44287 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44288 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44289 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44290 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44291 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44292 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44293 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44294 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44295 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44296 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44297 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44298 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44299 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44300 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44301 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44302 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44303 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44304 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44305 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44306 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44307 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44308 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44309 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44310 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44311 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44312 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44313 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44314 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44315 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44316 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44317 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44318 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44319 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44320 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44321 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44322 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44323 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44324 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44325 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44326 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44327 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44328 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44329 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44330 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44331 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44332 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44333 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44334 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44335 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44336 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44337 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44338 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44339 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44340 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44341 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44342 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44343 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44344 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44345 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44346 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44347 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44348 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44349 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44350 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44351 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44352 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44353 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44354 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44355 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44356 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44357 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44358 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44359 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44360 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44361 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44362 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44363 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44364 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44365 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44366 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44367 (__isnanf): Likewise.
44368 (__isinf_ns): Likewise.
44369 (__isinf_nsf): Likewise.
44370 (__finite): Likewise.
44371 (__finitef): Likewise.
44372 (__ieee754_sqrt): Define as macro.
44373 (__ieee754_sqrtf): Define as macro.
44374 (__ieee754_sqrtl): Define as macro.
44375 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44376 inlined copy.
44377 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44378 __FINITE_MATH_ONLY__ consistent.
44379 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44380
12cc2fcd
AS
443812011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44382
a843a204
AS
44383 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44384 of rawmemchr.
44385
12cc2fcd
AS
44386 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44387
c853acd5
UD
443882011-10-09 Ulrich Drepper <drepper@gmail.com>
44389
44390 * po/ja.po: Update from translation team.
44391
c658d255
RM
443922011-10-08 Roland McGrath <roland@hack.frob.com>
44393
110946e4
RM
44394 * locale/programs/locarchive.c (prepare_address_space): New function.
44395 (create_archive, enlarge_archive, open_archive): Use it.
44396
50604220
RM
44397 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44398 inside [SHARED], where it is used.
44399
c658d255
RM
44400 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44401
44402 * nss/getent.c (netgroup_keys): Remove unused variable.
44403 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44404
6a621eb7
UD
444052011-10-08 Ulrich Drepper <drepper@gmail.com>
44406
7edb55ce
UD
44407 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44408 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44409 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44410 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44411 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44412 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44413 * math/Makefile (libm-calls): Add s_isinf_ns.
44414 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44415 * math/multc3.c: Likewise.
44416 * math/s_casin.c: Likewise.
44417 * math/s_casinf.c: Likewise.
44418 * math/s_casinl.c: Likewise.
44419 * math/s_ccos.c: Likewise.
44420 * math/s_ccosf.c: Likewise.
44421 * math/s_ccosl.c: Likewise.
44422 * math/s_ctan.c: Likewise.
44423 * math/s_ctanf.c: Likewise.
44424 * math/s_ctanh.c: Likewise.
44425 * math/s_ctanhf.c: Likewise.
44426 * math/s_ctanhl.c: Likewise.
44427 * math/s_ctanl.c: Likewise.
44428 * math/w_fmod.c: Likewise.
44429 * math/w_fmodf.c: Likewise.
44430 * math/w_fmodl.c: Likewise.
44431 * math/w_remainder.c: Likewise.
44432 * math/w_remainderf.c: Likewise.
44433 * math/w_remainderl.c: Likewise.
44434 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44435 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44436 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44437 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44438 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44439 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44440 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44441 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44442
187da0ae
UD
44443 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44444 of the number.
44445 * stdio-common/printf_fphex.c: Likewise.
44446 * stdio-common/printf_size.c: Likewise.
44447
9277c064
UD
44448 * math/e_exp10.c: Include math_private.h using <...> not "...".
44449 * math/e_exp10f.c: Likewise.
44450 * math/e_exp10l.c: Likewise.
44451 * math/e_exp2l.c: Likewise.
44452 * math/e_j0l.c: Likewise.
44453 * math/e_j1l.c: Likewise.
44454 * math/e_jnl.c: Likewise.
44455 * math/e_lgammal_r.c: Likewise.
44456 * math/e_rem_pio2l.c: Likewise.
44457 * math/e_scalb.c: Likewise.
44458 * math/e_scalbf.c: Likewise.
44459 * math/e_scalbl.c: Likewise.
44460 * math/k_cosl.c: Likewise.
44461 * math/k_sinl.c: Likewise.
44462 * math/k_tanl.c: Likewise.
44463 * math/s_cacoshf.c: Likewise.
44464 * math/s_catan.c: Likewise.
44465 * math/s_catanf.c: Likewise.
44466 * math/s_catanh.c: Likewise.
44467 * math/s_catanhf.c: Likewise.
44468 * math/s_catanhl.c: Likewise.
44469 * math/s_catanl.c: Likewise.
44470 * math/s_ccosh.c: Likewise.
44471 * math/s_ccoshf.c: Likewise.
44472 * math/s_ccoshl.c: Likewise.
44473 * math/s_cexp.c: Likewise.
44474 * math/s_cexpf.c: Likewise.
44475 * math/s_cexpl.c: Likewise.
44476 * math/s_clog.c: Likewise.
44477 * math/s_clog10.c: Likewise.
44478 * math/s_clog10f.c: Likewise.
44479 * math/s_clog10l.c: Likewise.
44480 * math/s_clogf.c: Likewise.
44481 * math/s_clogl.c: Likewise.
44482 * math/s_csin.c: Likewise.
44483 * math/s_csinf.c: Likewise.
44484 * math/s_csinh.c: Likewise.
44485 * math/s_csinhf.c: Likewise.
44486 * math/s_csinhl.c: Likewise.
44487 * math/s_csinl.c: Likewise.
44488 * math/s_csqrt.c: Likewise.
44489 * math/s_csqrtf.c: Likewise.
44490 * math/s_csqrtl.c: Likewise.
44491 * math/s_ctan.c: Likewise.
44492 * math/s_ctanf.c: Likewise.
44493 * math/s_ctanh.c: Likewise.
44494 * math/s_ctanhf.c: Likewise.
44495 * math/s_ctanhl.c: Likewise.
44496 * math/s_ctanl.c: Likewise.
44497 * math/s_ldexp.c: Likewise.
44498 * math/s_ldexpf.c: Likewise.
44499 * math/s_ldexpl.c: Likewise.
44500 * math/s_significand.c: Likewise.
44501 * math/s_significandf.c: Likewise.
44502 * math/s_significandl.c: Likewise.
44503 * math/w_acos.c: Likewise.
44504 * math/w_acosf.c: Likewise.
44505 * math/w_acosh.c: Likewise.
44506 * math/w_acoshf.c: Likewise.
44507 * math/w_acoshl.c: Likewise.
44508 * math/w_acosl.c: Likewise.
44509 * math/w_asin.c: Likewise.
44510 * math/w_asinf.c: Likewise.
44511 * math/w_asinl.c: Likewise.
44512 * math/w_atan2.c: Likewise.
44513 * math/w_atan2f.c: Likewise.
44514 * math/w_atan2l.c: Likewise.
44515 * math/w_atanh.c: Likewise.
44516 * math/w_atanhf.c: Likewise.
44517 * math/w_atanhl.c: Likewise.
44518 * math/w_cosh.c: Likewise.
44519 * math/w_coshf.c: Likewise.
44520 * math/w_coshl.c: Likewise.
44521 * math/w_dremf.c: Likewise.
44522 * math/w_exp10.c: Likewise.
44523 * math/w_exp10f.c: Likewise.
44524 * math/w_exp10l.c: Likewise.
44525 * math/w_exp2.c: Likewise.
44526 * math/w_exp2f.c: Likewise.
44527 * math/w_fmod.c: Likewise.
44528 * math/w_fmodf.c: Likewise.
44529 * math/w_fmodl.c: Likewise.
44530 * math/w_hypot.c: Likewise.
44531 * math/w_hypotf.c: Likewise.
44532 * math/w_hypotl.c: Likewise.
44533 * math/w_j0.c: Likewise.
44534 * math/w_j0f.c: Likewise.
44535 * math/w_j0l.c: Likewise.
44536 * math/w_j1.c: Likewise.
44537 * math/w_j1f.c: Likewise.
44538 * math/w_j1l.c: Likewise.
44539 * math/w_jn.c: Likewise.
44540 * math/w_jnf.c: Likewise.
44541 * math/w_jnl.c: Likewise.
44542 * math/w_lgamma.c: Likewise.
44543 * math/w_lgamma_r.c: Likewise.
44544 * math/w_lgammaf.c: Likewise.
44545 * math/w_lgammaf_r.c: Likewise.
44546 * math/w_lgammal.c: Likewise.
44547 * math/w_lgammal_r.c: Likewise.
44548 * math/w_log.c: Likewise.
44549 * math/w_log10.c: Likewise.
44550 * math/w_log10f.c: Likewise.
44551 * math/w_log10l.c: Likewise.
44552 * math/w_log2.c: Likewise.
44553 * math/w_log2f.c: Likewise.
44554 * math/w_log2l.c: Likewise.
44555 * math/w_logf.c: Likewise.
44556 * math/w_logl.c: Likewise.
44557 * math/w_pow.c: Likewise.
44558 * math/w_powf.c: Likewise.
44559 * math/w_powl.c: Likewise.
44560 * math/w_remainder.c: Likewise.
44561 * math/w_remainderf.c: Likewise.
44562 * math/w_remainderl.c: Likewise.
44563 * math/w_scalb.c: Likewise.
44564 * math/w_scalbf.c: Likewise.
44565 * math/w_scalbl.c: Likewise.
44566 * math/w_sinh.c: Likewise.
44567 * math/w_sinhf.c: Likewise.
44568 * math/w_sinhl.c: Likewise.
44569 * math/w_sqrt.c: Likewise.
44570 * math/w_sqrtf.c: Likewise.
44571 * math/w_sqrtl.c: Likewise.
44572 * math/w_tgamma.c: Likewise.
44573 * math/w_tgammaf.c: Likewise.
44574 * math/w_tgammal.c: Likewise.
44575
6a621eb7
UD
44576 * po/ja.po: Update from translation team.
44577
bf582445
AJ
445782011-09-29 Andreas Jaeger <aj@suse.de>
44579
f9efbf3a
AJ
44580 [BZ #13179]
44581 * sunrpc/netname.c (netname2host): Fix logic.
44582
bf582445
AJ
44583 [BZ #6779]
44584 [BZ #6783]
44585 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44586 correctly.
44587 * math/w_remainder.c (__remainder): Likewise.
44588 * math/w_remainderf.c (__remainderf): Likewise.
44589 * math/libm-test.inc (remainder_test): Add test cases.
44590
48693bea
AK
445912011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44592
44593 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44594 sdiv_qrnnd.
44595
42622229
LD
445962011-10-07 Ulrich Drepper <drepper@gmail.com>
44597
44598 * string/test-memcmp.c: Avoid unncessary #defines.
44599 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44600
093ecf92
LD
446012011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44602
44603 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44604 Use new sse2 version for core i3 - i7 as it's faster
44605 than sse42 version.
44606 (bit_Prefer_PMINUB_for_stringop): New.
44607 * sysdeps/x86_64/rawmemchr.S: Update.
44608 Replace with faster SSE2 version.
44609 * sysdeps/x86_64/memrchr.S: New file.
44610 * sysdeps/x86_64/memchr.S: Update.
44611 Replace with faster SSE2 version.
44612
fde56e5c
MP
446132011-09-12 Marek Polacek <mpolacek@redhat.com>
44614
44615 * elf/dl-load.c (lose): Add cast to avoid warning.
44616
21fd49a9
UD
446172011-10-07 Ulrich Drepper <drepper@gmail.com>
44618
5a06e643
UD
44619 * po/ca.po: Update from translation team.
44620
684ae515
UD
44621 * inet/getnetgrent_r.c: Hook up nscd.
44622 * nscd/Makefile (routines): Add nscd_netgroup.
44623 (nscd-modules): Add netgroupcache.
44624 (CFLAGS-netgroupcache.c): Define.
44625 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44626 (cache_search): Add const to second parameter.
44627 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44628 INNETGR.
44629 (dbs): Add netgrdb entry.
44630 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44631 (verify_persistent_db): Handle netgrdb.
44632 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44633 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44634 GETFDNETGR.
44635 (netgroup_response_header): Define.
44636 (innetgroup_response_header): Define.
44637 (datahead): Add netgroup_response_header and innetgroup_response_header
44638 elements.
44639 * nscd/nscd.conf: Add entries for netgroup cache.
44640 * nscd/nscd.h (dbtype): Add netgrdb.
44641 (_PATH_NSCD_NETGROUP_DB): Define.
44642 (netgroup_iov_disabled): Declare.
44643 (xmalloc, xcalloc, xrealloc): Move declarations here.
44644 (cache_search): Adjust prototype.
44645 Add netgroup-related prototypes.
44646 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44647 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44648 (__nscd_innetgr): Declare.
44649 * nscd/selinux.c (perms): Use access_vector_t as element type and
44650 add netgroup-related initializers.
44651 * nscd/netgroupcache.c: New file.
44652 * nscd/nscd_netgroup.c: New file.
44653 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44654 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44655 For four parameters use innetgr.
44656 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44657 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44658 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44659 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44660
21fd49a9
UD
44661 * nscd/connections.c (register_traced_file): Don't register file
44662 for disabled databases.
44663
054c0457
UD
446642011-10-06 Ulrich Drepper <drepper@gmail.com>
44665
32b63198
UD
44666 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44667
054c0457
UD
44668 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44669 from tree and freeing node.
44670
64031225
JO
446712011-09-25 Jiri Olsa <jolsa@redhat.com>
44672
44673 * nss/nsswitch.c (__nss_database_lookup): Handle
44674 nss_parse_service_list out of memory case.
44675
0490345c
JO
446762011-09-15 Jiri Olsa <jolsa@redhat.com>
44677
44678 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44679 out of memory case.
44680
3a62d00d
AS
446812011-10-04 Andreas Schwab <schwab@redhat.com>
44682
44683 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44684 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44685 pass it down.
44686 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44687 elf_machine_rela, elf_machine_lazy_rel.
44688 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44689 (ELF_DYNAMIC_DO_REL): Likewise.
44690 (ELF_DYNAMIC_DO_RELA): Likewise.
44691 (ELF_DYNAMIC_RELOCATE): Likewise.
44692 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44693 to ELF_DYNAMIC_DO_REL.
44694 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44695 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44696 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44697 elf_machine_rela.
44698 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44699 skip_ifunc, don't call ifunc function if non-zero.
44700 (elf_machine_rela): Likewise.
44701 (elf_machine_lazy_rel): Likewise.
44702 (elf_machine_lazy_rela): Likewise.
44703 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44704 (elf_machine_lazy_rel): Likewise.
44705 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44706 Likewise.
44707 (elf_machine_lazy_rel): Likewise.
44708 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44709 Likewise.
44710 (elf_machine_lazy_rel): Likewise.
44711 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44712 (elf_machine_lazy_rel): Likewise.
44713 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44714 (elf_machine_lazy_rel): Likewise.
44715 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44716 (elf_machine_lazy_rel): Likewise.
44717 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44718 (elf_machine_lazy_rel): Likewise.
44719 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44720 (elf_machine_lazy_rel): Likewise.
44721 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44722 (elf_machine_lazy_rel): Likewise.
44723
68577918
UD
447242011-09-28 Ulrich Drepper <drepper@gmail.com>
44725
44726 * nss/nss_files/files-init.c (_nss_files_init): Use static
44727 initialization for all the *_traced_file variables.
44728
68822d74
AS
447292011-09-28 Andreas Schwab <schwab@redhat.com>
44730
44731 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44732
2056100b
RM
447332011-09-27 Roland McGrath <roland@hack.frob.com>
44734
44735 [BZ #13226]
44736 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44737
32c76b63
AS
447382011-09-27 Andreas Schwab <schwab@redhat.com>
44739
44740 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44741 Reread the line before reparsing it.
44742
bf972c9d
AS
447432011-09-26 Andreas Schwab <schwab@redhat.com>
44744
44745 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44746
e057a1b5
JM
447472011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44748 Maxim Kuvyrkov <maxim@codesourcery.com>
44749 Joseph Myers <joseph@codesourcery.com>
44750
44751 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44752 if needed for __stack_chk_guard.
44753
bc7e1c36
RM
447542011-09-19 Roland McGrath <roland@hack.frob.com>
44755
ecb1482f
RM
44756 * sysdeps/posix/spawni.c (script_execute): Always define it.
44757 It will be optimized away if unused.
44758 (maybe_script_execute): New function.
44759 (__spawni): Call it.
44760
bc7e1c36
RM
44761 * Makerules: Don't include tls.make.
44762 (config-tls): Always set to thread.
44763 * tls.make.c: File removed.
44764
1c3b002b
MF
447652011-09-19 Mike Frysinger <vapier@gentoo.org>
44766
44767 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44768 * config.make.in (CPPFLAGS-config): New substituted variable.
44769
2840865d
UD
447702011-09-15 Ulrich Drepper <drepper@gmail.com>
44771
88738eb6
UD
44772 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44773
cbf645a6 44774 [BZ #13192]
2840865d
UD
44775 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44776 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44777
b402e91a
RM
447782011-09-15 Roland McGrath <roland@hack.frob.com>
44779
44780 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44781 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44782 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44783 (CALL_FAIL): Likewise.
44784 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44785 (CALL_FAIL): Macro removed.
44786 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44787
4c1a1f71
UD
447882011-09-15 Ulrich Drepper <drepper@gmail.com>
44789
44790 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44791 for __FINITE_MATH_ONLY__ == 1.
44792
edc121be
AS
447932011-09-15 Andreas Schwab <schwab@redhat.com>
44794
44795 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44796 __ieee754_sqrt instead of sqrt.
44797 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44798 __ieee754_sqrtf instead of sqrtf.
44799 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44800 __floorf instead of floorf.
44801 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44802 __floorf, __truncf instead of floorf, truncf.
44803
cd205654
UD
448042011-09-14 Ulrich Drepper <drepper@gmail.com>
44805
ee4d0315
UD
44806 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44807
cd205654
UD
44808 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44809 __extern_always_inline.
44810 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44811 32-bit.
44812
48b67d71
AS
448132011-09-14 Andreas Schwab <schwab@redhat.com>
44814
44815 * elf/rtld.c (dl_main): Also relocate in dependency order when
44816 doing symbol dependency testing.
44817
1ae12c75
AS
448182011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44819
44820 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44821 Always define `refsym'.
44822
995a80df
AS
448232011-09-13 Andreas Schwab <schwab@redhat.com>
44824
e529793b
AS
44825 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44826 (__FD_ELT): Renamed from __FDELT.
44827 * misc/bits/select2.h (__FD_ELT): Likewise.
44828 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44829 __FD_MASK instead of __FDELT, __FDMASK.
44830 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44831 Likewise.
44832 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44833 Likewise.
44834
52d4fef8
AS
44835 * elf/Makefile (gen-ldd): Fix pattern.
44836
995a80df
AS
44837 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44838 (init_tls): Likewise.
44839
8682f8b0
UD
448402011-09-12 Ulrich Drepper <drepper@gmail.com>
44841
44842 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44843
de82006d
AS
448442011-09-12 Andreas Schwab <schwab@redhat.com>
44845
a7c8e6a1
AS
44846 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44847 `struct cmsghdr *' instead of `void *'.
44848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44849 Likewise.
44850
0f31fe77
AS
448512011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44852
44853 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44854 if non-absolute.
44855 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44856 ldd_rewrite_script.
0f31fe77 44857
32b4c839
UD
448582011-09-11 Ulrich Drepper <drepper@gmail.com>
44859
83cd1420
UD
44860 * configure.in: Remove --with-tls option.
44861 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44862 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44863 out in case it is missing.
44864 * sysdeps/ia64/elf/configure.in: Likewise.
44865 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44866 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44867 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44868 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44869 * sysdeps/sh/elf/configure.in: Likewise.
44870 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44871 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44872 * sysdeps/x86_64/elf/configure.in: Likewise.
44873 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44874 * sysdeps/mach/hurd/tls.h: Likewise.
44875
633f745d
UD
44876 [BZ #13067]
44877 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44878
f318beb8
UD
44879 [BZ #13090]
44880 * configure.in: Fix use of AC_INIT.
44881
32b4c839
UD
44882 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44883
3ce1f295
UD
448842011-09-10 Ulrich Drepper <drepper@gmail.com>
44885
bb016596
UD
44886 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44887 __set_errno.
8e58439c
UD
44888 * malloc/hooks.c: Likewise.
44889
aebae053 44890 [BZ #11929]
02d46fc4
UD
44891 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44892 variables statically.
44893 (narenas): Initialize.
44894 (list_lock): Initialize.
bb016596
UD
44895 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44896 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
44897 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44898 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44899 Add initializers to main_arena and mp_.
44900 (malloc_state): Remove pagesize member. Change all users to use
44901 GLRO(dl_pagesize).
44902
44903 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44904 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44905 is always initialized.
44906
22a89187
UD
44907 * malloc/malloc.c: Removed unused configurations and dead code.
44908 * malloc/arena.c: Likewise.
44909 * malloc/hooks.c: Likewise.
02d46fc4 44910 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 44911
d063d164
UD
44912 * include/tls.h: Removed. USE___THREAD must always be defined.
44913 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44914 * elf/dl-libc.c: Likewise.
44915 * elf/dl-tsd.c: Likewise.
44916 * include/errno.h: Likewise.
44917 * include/netdb.h: Likewise.
44918 * include/resolv.h: Likewise.
44919 * inet/herrno-loc.c: Likewise.
44920 * inet/herrno.c: Likewise.
44921 * malloc/arena.c: Likewise.
44922 * malloc/hooks.c: Likewise.
44923 * malloc/malloc.c: Likewise.
44924 * resolv/res-state.c: Likewise.
44925 * resolv/res_libc.c: Likewise.
44926 * sysdeps/i386/dl-machine.h: Likewise.
44927 * sysdeps/ia64/dl-machine.h: Likewise.
44928 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44929 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44930 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44931 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44932 * sysdeps/sh/dl-machine.h: Likewise.
44933 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44934 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44935 * sysdeps/unix/i386/sysdep.S: Likewise.
44936 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44937 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44938 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44939 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44940 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44941 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44942 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44944 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44946 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44947 * sysdeps/x86_64/dl-machine.h: Likewise.
44948 * tls.make.c: Likewise.
44949
3ce1f295
UD
44950 * configure.in: Remove --with-__thread option. Make tests for
44951 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44952 tls_model attribute fail if no support is available. Remove
44953 USE_IN_LIBIO.
44954 * Makeconfig: Adjust for dropped configure option. All features are
44955 now mandatory.
44956 * Makerules: Likewise.
44957 * Versions.def: Likewise.
44958 * argp/argp-fmtstream.c: Likewise.
44959 * argp/argp-fmtstream.h: Likewise.
44960 * argp/argp-help.c: Likewise.
44961 * assert/assert.c: Likewise.
44962 * config.h.in: Likewise.
44963 * config.make.in: Likewise.
44964 * configure: Likewise.
44965 * configure.in: Likewise.
44966 * csu/Versions: Likewise.
44967 * csu/init.c: Likewise.
44968 * elf/tst-audit2.c: Likewise.
44969 * elf/tst-tls10.c: Likewise.
44970 * elf/tst-tls10.h: Likewise.
44971 * elf/tst-tls11.c: Likewise.
44972 * elf/tst-tls12.c: Likewise.
44973 * elf/tst-tls14.c: Likewise.
44974 * elf/tst-tlsmod11.c: Likewise.
44975 * elf/tst-tlsmod12.c: Likewise.
44976 * elf/tst-tlsmod13.c: Likewise.
44977 * elf/tst-tlsmod13a.c: Likewise.
44978 * elf/tst-tlsmod14a.c: Likewise.
44979 * elf/tst-tlsmod15b.c: Likewise.
44980 * elf/tst-tlsmod16a.c: Likewise.
44981 * elf/tst-tlsmod16b.c: Likewise.
44982 * elf/tst-tlsmod7.c: Likewise.
44983 * elf/tst-tlsmod8.c: Likewise.
44984 * elf/tst-tlsmod9.c: Likewise.
44985 * gmon/gmon.c: Likewise.
44986 * grp/fgetgrent_r.c: Likewise.
44987 * grp/putgrent.c: Likewise.
44988 * hurd/fopenport.c: Likewise.
44989 * include/libc-symbols.h: Likewise.
44990 * include/tls.h: Likewise.
44991 * intl/gettextP.h: Likewise.
44992 * intl/loadinfo.h: Likewise.
44993 * locale/global-locale.c: Likewise.
44994 * locale/localeinfo.h: Likewise.
44995 * mach/devstream.c: Likewise.
44996 * malloc/arena.c: Likewise.
44997 * malloc/set-freeres.c: Likewise.
44998 * misc/err.c: Likewise.
44999 * misc/getttyent.c: Likewise.
45000 * misc/mntent_r.c: Likewise.
45001 * posix/getopt.c: Likewise.
45002 * posix/wordexp.c: Likewise.
45003 * pwd/fgetpwent_r.c: Likewise.
45004 * resolv/Versions: Likewise.
45005 * resolv/res_hconf.c: Likewise.
45006 * shadow/fgetspent_r.c: Likewise.
45007 * shadow/putspent.c: Likewise.
45008 * stdio-common/printf_fphex.c: Likewise.
45009 * stdio-common/tmpfile.c: Likewise.
45010 * stdlib/abort.c: Likewise.
45011 * stdlib/fmtmsg.c: Likewise.
45012 * sunrpc/auth_unix.c: Likewise.
45013 * sunrpc/clnt_perr.c: Likewise.
45014 * sunrpc/clnt_tcp.c: Likewise.
45015 * sunrpc/clnt_udp.c: Likewise.
45016 * sunrpc/clnt_unix.c: Likewise.
45017 * sunrpc/openchild.c: Likewise.
45018 * sunrpc/svc_simple.c: Likewise.
45019 * sunrpc/svc_tcp.c: Likewise.
45020 * sunrpc/svc_udp.c: Likewise.
45021 * sunrpc/svc_unix.c: Likewise.
45022 * sunrpc/xdr.c: Likewise.
45023 * sunrpc/xdr_array.c: Likewise.
45024 * sunrpc/xdr_rec.c: Likewise.
45025 * sunrpc/xdr_ref.c: Likewise.
45026 * sunrpc/xdr_stdio.c: Likewise.
45027
1248c1c4
PB
450282011-09-09 Ulrich Drepper <drepper@gmail.com>
45029
45030 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45031
450322011-07-03 Andreas Jaeger <aj@suse.de>
45033
45034 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45035 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45036 regenerate with gen-libm-tests.pl.
45037
450382010-05-12 Petr Baudis <pasky@suse.cz>
45039
45040 [BZ #11589]
45041 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45042 around j0() zero points by switching to j1().
45043 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45044 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45045 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45046 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45047
f22e1074
UD
450482011-09-09 Ulrich Drepper <drepper@gmail.com>
45049
f19009c1
UD
45050 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45051 instead of 0.
45052 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 45053 instead of 0.
f19009c1
UD
45054 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45055 Patch in part by Pavel Roskin <proski@gnu.org>.
45056
3f8cc204
UD
45057 [BZ #13138]
45058 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45059 realloc.
45060 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45061 Free memory block if necessary.
45062
f22e1074
UD
45063 [BZ #12847]
45064 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45065 be NULL. Don't lock in this case.
45066
0a2349f9
RM
450672011-09-09 Roland McGrath <roland@hack.frob.com>
45068
45069 * elf/elf.h (ELFOSABI_GNU): New macro.
45070 (ELFOSABI_LINUX): Define to that.
45071
f3cdd467
DZ
450722011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45073
45074 * string/strncat.c (strncat): Undef the symbol in case it has been
45075 defined in bits/string.h.
45076
74718d13
UD
450772011-09-09 Ulrich Drepper <drepper@gmail.com>
45078
633e9e0f
UD
45079 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45080
0a2349f9 45081 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
45082 link map.
45083
f9924780
AJ
450842011-08-17 Andreas Jaeger <aj@suse.de>
45085
45086 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45087
7f5517aa
PP
450882011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45089 Ian Lance Taylor <iant@google.com>
45090
45091 * math/libm-test.inc (lround_test): New testcase.
45092 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45093
762011fe
UD
450942011-09-08 Ulrich Drepper <drepper@gmail.com>
45095
92963737
UD
45096 * Makefile: Remove support for automatic cvs check-ins.
45097 * Makerules: Likewise.
45098 * config.make.in: Likewise.
45099 * configure.in: Likewise.
45100 * intl/Makefile: Likewise.
45101 * locale/Makefile: Likewise.
45102 * po/Makefile: Likewise.
45103 * posix/Makefile: Likewise.
45104 * sysdeps/gnu/Makefile: Likewise.
45105 * sysdeps/mach/hurd/Makefile: Likewise.
45106 * sysdeps/sparc/sparc32/Makefile: Likewise.
45107
b0727fd8
JS
45108 [BZ #13118]
45109 * posix/Makefile (bug-regex32-ENV): Define.
45110 Patch by John Stanley <jpsinthemix@verizon.net>.
45111
a0f33f99
UD
45112 * misc/Makefile (headers): Add bits/select2.h.
45113 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45114 * misc/bits/select2.h: New file.
45115 * include/bits/select2.h: New file.
45116 * debug/Makefile (routines): Add fdelt_chk.
45117 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45118 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45119 FD_ISSET.
45120 * debug/fdelt_chk.c: New file.
45121
762011fe
UD
45122 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45123 * wcsmbs/test-wmemcmp.c: Likewise.
45124 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 45125 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
45126
451272011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45128
45129 * string/Makefile (strop-tests): Add memcmp.
45130 * string/test-wmemcmp.c: New file.
45131 * string/test-memcmp.c: Add wmemcmp support.
45132
7f513ec8
RM
451332011-09-08 Roland McGrath <roland@hack.frob.com>
45134
0442afb4
RM
45135 [BZ #13153]
45136 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45137 2011-07-19 change.
45138
7f513ec8
RM
45139 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45140 garbage value in a __mach_port_mod_refs call in the cases of the
45141 task-self and thread-self ports.
45142
a12b2239
ST
451432011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45144
45145 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45146
610f9ab4
AS
451472011-09-08 Andreas Schwab <schwab@redhat.com>
45148
7f513ec8 45149 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 45150
48882a1a
LD
451512011-09-07 Ulrich Drepper <drepper@gmail.com>
45152
b49865be
UD
45153 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45154
fdc86bc9
UD
45155 * elf/dl-libc.c (dlerror_run): Pass back error code from
45156 dl_catch_error.
45157
c966526a
UD
45158 [BZ #13123]
45159 * elf/dl-load.c (lose): Free l_origin if it is valid.
45160
48882a1a
LD
45161 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45162 names.
45163 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45164 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45165 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45166 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45167 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45168 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45169
77a2a8b4
AZ
451702011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45171
45172 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45173 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45174 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45175 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45176 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45177 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45178 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45179 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45180 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45181 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45182
24f579d8
AM
451832011-08-15 Alan Modra <amodra@gmail.com>
45184
45185 [BZ #13092]
45186 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45187 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45188 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45189 ppc_mcount to static-only-routines.
45190 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45191 __mcount_internal.
45192 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45193 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45194
3d4837df
UD
451952011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45196
45197 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45198 for finite and infinity parameters.
45199
22700377
WS
452002011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45201
45202 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45203 and add nop instructions for throughput optimization.
45204 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45205
5025581e
WS
452062011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45207
45208 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45209 aligned copy for power7 with vector-scalar instructions.
45210 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45211
08a300c9
L
452122011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45213
45214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45215 AVX check.
45216
59178ef9
AS
452172011-09-07 Andreas Schwab <schwab@redhat.com>
45218
45219 [BZ #13144]
45220 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45221 last change.
45222
e38ba7ab
UD
452232011-09-07 Ulrich Drepper <drepper@gmail.com>
45224
45225 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45226 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45227 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45228 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45229 clock_gettime.
45230
d53a73ac
UD
452312011-09-06 Ulrich Drepper <drepper@gmail.com>
45232
fc8bffcc
UD
45233 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45234 Forgot to demangle the pointer.
45235
ceaa0c5d
UD
45236 * sysdeps/i386/sysdep.h: Define atom_text_section.
45237 * sysdeps/x86_64/sysdep.h: Likewise.
45238 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45239 section with atom_text_section.
45240 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45241 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45242 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45243 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45244 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45245
a77d3c17
UD
45246 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45247 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45248 already be defined. Change to take two parameters and don't assign
45249 result to variable. Adjust all users.
45250 Define INTERNAL_GETTIME if not already defined.
45251 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45252 call.
45253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45254 HAVE_CLOCK_GETTIME_VSYSCALL.
45255 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45256
d53a73ac
UD
45257 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45258 gettimeofday vsyscall, just use time.
45259
a8f84144
AS
452602011-09-06 Andreas Schwab <schwab@redhat.com>
45261
45262 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45263 <errno.h>.
45264
ef606249
UD
452652011-09-06 Ulrich Drepper <drepper@gmail.com>
45266
45267 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45268 syscall on x86-64.
45269 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45270 syscall.
45271 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45272 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45273 syscall if possible.
45274
6585cb60
UD
452752011-09-05 Ulrich Drepper <drepper@gmail.com>
45276
45277 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45278 e_ident. Don't pass to find_mapsXX.
45279 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45280
a5f524e4
LD
452812011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45282
45283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45284 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45285 * sysdeps/x86_64/multiarch/strchr.S: Update.
45286 Check bit_slow_BSF bit.
45287 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45288 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45289 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45290
554881ef
UD
452912011-09-05 Ulrich Drepper <drepper@gmail.com>
45292
d96de963
UD
45293 [BZ #13134]
45294 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45295 before glibc 2.15.
45296 (tryshell): Define.
45297 (__spawni): Change last parameter to be flag. Test
45298 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45299 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45300 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45301 * posix/spawni.c: Likewise.
45302 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45303 * posix/spawnp.c: Likewise. Change normal version to use
45304 SPAWN_XFLAGS_USE_PATH.
45305 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45306 SPAWN_XFLAGS_TRY_SHELL.
45307
d48e5868
UD
45308 [BZ #13150]
45309 * posix/glob.h: Remove gcc 1.x support.
45310
554881ef
UD
45311 [BZ #13068]
45312 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45313
693fb948
LD
453142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45315
45316 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45317 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45318 strrchr-sse2-bsf
45319 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45320 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45321 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45322 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45323 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45324 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45325
1b48c537
UD
453262011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45327
49d42c37
UD
45328 * sysdeps/x86_64/wcscmp.S: New file.
45329
1b48c537
UD
45330 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45331 wcscmp-c wcscmp-sse2
45332 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45333 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45334 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45335 * wcsmbs/wcscmp.c: Allow renaming.
45336
15c95c5d
DM
453372011-09-05 David S. Miller <davem@davemloft.net>
45338
45339 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45340 stack slot, rather than the struct return pointer slot.
45341 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45342 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45344 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45345
2f0ad8f3
UD
453462011-09-05 Ulrich Drepper <drepper@gmail.com>
45347
d88ae418
UD
45348 * po/ja.po: Update from translation team.
45349
2f0ad8f3
UD
45350 [BZ #13144]
45351 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45352 kernel in 64-bit binaries.
45353
5f4318d1
DM
453542011-09-01 David S. Miller <davem@davemloft.net>
45355
45356 * elf/elf.h (HWCAP_SPARC_*): Move to..
45357 * sysdeps/sparc/sysdep.h: this new file and add new values.
45358 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45359 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45360 _DL_HWCAP_COUNT to 24.
45361 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45362 entries.
45363 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45364 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45365 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45366 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45367 instead of magic constants.
45368 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45369
3ba57516
DM
453702011-08-31 David S. Miller <davem@davemloft.net>
45371
45372 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45374 Reimplement to do errno handling inline.
45375 (SYSCALL_ERROR_HANDLER): New macro.
45376 (__SYSCALL_STRING): Do not do errno handling in asm.
45377 (__CLONE_SYSCALL_STRING): Delete.
45378 (__INTERNAL_SYSCALL_STRING): Delete.
45379 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45380 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45381 (PSEUDO): Reimplement to do errno handling inline.
45382 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45383 (SYSCALL_ERROR_HANDLER): New macro.
45384 (__SYSCALL_STRING): Do not do errno handling in asm.
45385 (__CLONE_SYSCALL_STRING): Delete.
45386 (__INTERNAL_SYSCALL_STRING): Delete.
45387 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45388 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45389 i386.
45390 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45391 (inline_syscall*): Add 'err' argument.
45392 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45393 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45394 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45395 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45396
45397 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45398 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45399
2bc17433
AS
454002011-08-30 Andreas Schwab <schwab@redhat.com>
45401
45402 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45403
fbeb5f4d
JO
454042011-08-29 Jiri Olsa <jolsa@redhat.com>
45405
45406 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45407 directive.
45408
ad69cc26
DM
454092011-08-24 David S. Miller <davem@davemloft.net>
45410
45411 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45412
39dd69df
AS
454132011-08-24 Andreas Schwab <schwab@redhat.com>
45414
45415 * elf/Makefile: Add rules to build and run unload8 test.
45416 * elf/unload8.c: New file.
45417 * elf/unload8mod1.c: New file.
45418 * elf/unload8mod1x.c: New file.
45419 * elf/unload8mod2.c: New file.
45420 * elf/unload8mod3.c: New file.
45421
45422 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45423 it wasn't used.
45424
2c0b250a
DM
454252011-08-23 David S. Miller <davem@davemloft.net>
45426
45427 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45428 subtract stack bias.
45429 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45430 %sp not %fp in calculations.
45431 (_JMPBUF_UNWINDS_ADJ): Likewise.
45432
22044b48
DM
45433 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45434 (aio_suspend): Call it to force an exception region around the
45435 AIO_MISC_WAIT() invocation.
45436
2cae4995
AS
454372011-08-23 Andreas Schwab <schwab@redhat.com>
45438
45439 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45440 backslash.
45441
873a772e
AJ
454422011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45443
45444 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45445 protection macro.
45446 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45447 and <dl-machine.h>.
45448 (Elf64_FuncDesc): Remove.
45449
25ad0df1
DM
454502011-08-22 David S. Miller <davem@davemloft.net>
45451
45452 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45453 sigaltstack check, add missing cfi directives.
45454 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45455 missing cfi directives, and sigaltstack handling.
45456
e888bcbe
AS
454572011-08-16 Andreas Schwab <schwab@redhat.com>
45458
45459 [BZ #11724]
45460 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45461 object is seen twice.
45462 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45463
45464 * elf/Makefile (distribute): Add tst-initorder2.c.
45465 (tests): Add tst-initorder2.
45466 (modules-names): Add tst-initorder2a tst-initorder2b
45467 tst-initorder2c tst-initorder2d. Add rules to build them.
45468 ($(objpfx)tst-initorder2.out): New rule.
45469 * elf/tst-initorder2.c: New file.
45470 * elf/tst-initorder2.exp: New file.
45471
87162f46
AS
454722011-08-22 Andreas Schwab <schwab@redhat.com>
45473
70538b7f
AS
45474 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45475
f55ffe58
AS
45476 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45477 dependencies back to end of function.
45478
87162f46
AS
45479 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45480 $(elfobjdir)/ld.so.
45481
91b392a4
UD
454822011-08-21 Ulrich Drepper <drepper@gmail.com>
45483
45484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45485 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45486 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45487 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45488 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45489 of __vdso_gettimeofday.
45490 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45491 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45492 attribute_hidden.
45493 (_libc_vdso_platform_setup): Remove initialization of
45494 __vdso_gettimeofday and __vdso_time.
45495
5c43483f
UD
454962011-08-20 Ulrich Drepper <drepper@gmail.com>
45497
775a77e7
UD
45498 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45499 and fgetc_unlocked.
45500 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45501 getc_unlocked.
89f447ed 45502
49c74ba9
UD
45503 * elf/dl-open.c (add_to_global): Report additions to the global scope
45504 for LD_DEBUG=scopes.
45505 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45506 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45507
5c43483f
UD
45508 [BZ #13114]
45509 * stdio-common/Makefile (tests): Add bug24.
45510 * stdio-common/bug24.c: New file.
45511
a101b025
AJ
455122011-08-19 Andreas Jaeger <aj@suse.de>
45513
45514 [BZ #13114]
45515 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45516 non-existant file when using close-on-exec mode.
45517
c88f1766
UD
455182011-08-20 Ulrich Drepper <drepper@gmail.com>
45519
0276a718
UD
45520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45521 the very first instruction.
45522
c88f1766
UD
45523 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45524 the CFI state in the end.
45525 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45526 inclusion of dl-trampoline.h.
45527 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45528
51ccffa0
AS
455292011-08-19 Andreas Schwab <schwab@redhat.com>
45530
94d7165f
AS
45531 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45532 expectations for long double.
45533
51ccffa0
AS
45534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45535 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45536
fd708658 455372011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45538
45539 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45540 artificual limit depends upon the system page size.
45541
44f0a71e
UD
455422011-08-17 Ulrich Drepper <drepper@gmail.com>
45543
45544 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45545 * resolv/Makefile: Define CFLAGS-libresolv.
45546
8de79a24
AS
455472011-08-17 Andreas Schwab <schwab@redhat.com>
45548
45549 * nss/makedb.c (compute_tables): Make variables used in nested
45550 function static.
45551
27724598
UD
455522011-08-17 Ulrich Drepper <drepper@gmail.com>
45553
c5305d88
UD
45554 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45555 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45556 if buffer was too small.
45557
27724598
UD
45558 * elf/pldd.c (main): Attach to all threads in the process.
45559 Rewrite /proc handling to use *at functions.
45560
076fe015
UD
455612011-08-16 Ulrich Drepper <drepper@gmail.com>
45562
174baab3
UD
45563 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45564 specifies first scope to show.
45565 (dl_open_worker): Update callers. Move printing scope of new
45566 object to before the relocation.
44f0a71e 45567 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
45568 * sysdeps/generic/ldsodefs.h: Update declaration.
45569
076fe015
UD
45570 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45571 string for the scope number.
45572
a60df2c3
UD
455732011-08-14 Ulrich Drepper <drepper@gmail.com>
45574
45575 * nscd/servicescache.c (cache_addserv): Make sure written is always
45576 initialized.
45577
5e4287d1
RM
455782011-08-14 Roland McGrath <roland@hack.frob.com>
45579
85ae0589
RM
45580 * sysdeps/i386/i486/bits/atomic.h
45581 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45582 statement expression, so as to suppress "set but not used" warning.
45583 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45584
69f63097
RM
45585 * string/strncat.c (STRNCAT): Use prototype definition.
45586
675456ef
RM
45587 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45588 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45589 -Iprograms here.
45590 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45591 (localedef-modules): Add localedef.
45592 (locale-modules): Add locale.
45593
5e4287d1
RM
45594 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45595 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45596 to avoid a warning.
45597
9c96ff23
DM
455982011-08-14 David S. Miller <davem@davemloft.net>
45599
45600 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45601 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45602
f9ddf089
UD
456032011-08-13 Ulrich Drepper <drepper@gmail.com>
45604
44f0a71e 45605 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
45606 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45607 * elf/rtld.c (dl_main): Set l_name of vDSO.
45608 Call _dl_show_scope when DL_DEBUG_SCOPES.
45609 (process_dl_debug): Recognize scopes flag and also set it for all.
45610 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45611 Declare _dl_show_scope.
45612
1dc27704
UD
45613 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45614 (do_dlopen): Pass caller_dlopen to dl_open.
45615 (__libc_dlopen_mode): Initialize caller_dlopen.
45616
f9ddf089
UD
45617 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45618 of libc. Make tolower call locale-independent. Optimize a bit by
45619 using isdigit instead of isalnum.
45620 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45621
9ac533d3
UD
456222011-08-12 Ulrich Drepper <drepper@gmail.com>
45623
45624 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45625 was a dependency or dynamically loaded.
45626
89edf2e9
UD
456272011-08-11 Ulrich Drepper <drepper@gmail.com>
45628
8e999d29
UD
45629 * intl/l10nflist.c: Allow architecture-specific pop function.
45630 * sysdeps/x86_64/l10nflist.c: New file.
45631
89edf2e9
UD
45632 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45633 classification.
45634
14d96785
AS
456352011-08-10 Andreas Schwab <schwab@redhat.com>
45636
45637 * include/dirent.h: Add libc_hidden_proto for scandirat and
45638 scandirat64. Don't declare __scandirat64.
45639 * dirent/scandirat.c: Add libc_hidden_def.
45640 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45641 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45642
6761ac04
DM
456432011-08-10 David S. Miller <davem@davemloft.net>
45644
45645 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45646 enum.
45647 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45648 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45649 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45650
c55fbd1e
UD
456512011-08-09 Ulrich Drepper <drepper@gmail.com>
45652
45653 * Versions.def [libc]: Add GLIBC_2.15.
45654 * dirent/Makefile (routines): Add scandirat and scandirat64.
45655 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45656 GLIBC_2.15.
45657 * dirent/dirent.h: Declare scandirat and scandirat64.
45658 * dirent/scandirat.c: New file.
45659 * dirent/scandirat64.c: New file.
45660 * sysdeps/wordsize-64/scandirat.c: New file.
45661 * sysdeps/wordsize-64/scandirat64.c: New file.
45662 * dirent/opendir.c: Define opendirat.
45663 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45664 using scandirat.
45665 * dirent/scandir64.c: Adjust for scandir.c change.
45666 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45667 __scandirat64, and __scandir_cancel_handler.
45668 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45669 additional parameter and use openat instead of open (outside of ld.so).
45670 Add new __opendir as wrapper around __opendirat.
45671 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45672 here without requiring old scandirat implementation.
45673
879165f2
UD
456742011-08-08 Ulrich Drepper <drepper@gmail.com>
45675
45676 * dirent/scandir.c (cancel_handler): Renamed to
45677 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45678 defined. Adjust users.
45679 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45680 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45681
cb7e923b
UD
456822011-08-04 Ulrich Drepper <drepper@gmail.com>
45683
16292edd
UD
45684 * string/test-string.h (IMPL): Use __STRING to expand name and then
45685 stringify it.
45686
cb7e923b
UD
45687 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45688 of cleanups.
45689
cff82933
LD
456902011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45691
45692 * string/Makefile: Update.
45693 (strop-tests): Append strncat.
45694 * string/test-wcscmp.c: New file.
45695 New comprehensive test for wcscmp.
45696 * string/test-strcmp.c: Update.
45697 (WIDE): New define.
45698
9be9bfcc
AS
456992011-07-22 Andreas Schwab <schwab@redhat.com>
45700
45701 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45702 line.
45703
2e96f1c7
AS
457042011-07-26 Andreas Schwab <schwab@redhat.com>
45705
45706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45707 encoding to ACE if AI_IDN.
45708
85188888
JJ
457092011-08-01 Jakub Jelinek <jakub@redhat.com>
45710
45711 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45712 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45713
5fa16e9b
LD
457142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45715
45716 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45717 Fix overflow bug in strncat.
45718 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45719
45720 * string/test-strncat.c: Update.
45721 Add new tests for checking overflow bugs.
45722
457232011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45724
45725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45726 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45727 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45728 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45729 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45730 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45731 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45732 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45733 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45734
45735 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45736 (USE_AS_STRCAT): Define.
45737 Add strcat and strncat support.
45738 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45739
8c1a459f
AS
457402011-07-25 Andreas Schwab <schwab@redhat.com>
45741
45742 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45743 __n bigger than INT_MAX+1.
45744 (__strncmp_g): Likewise.
45745
bba33c28
UD
457462011-07-23 Ulrich Drepper <drepper@gmail.com>
45747
798be72d
UD
45748 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45749 * libio/stido.h: Likewise.
45750
8accd4dc
UD
45751 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45752 (AF_NFC): Define.
45753 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45754 (AF_NFC): Define.
45755
cbff0d96
UD
45756 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45757 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45758 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45759 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45760 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45761
9191c04a
UD
45762 [BZ #13021]
45763 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45764 installed.
45765
bba33c28
UD
45766 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45767 typo.
45768 (_dl_x86_64_save_sse): Likewise.
45769
90f139dd
UD
457702011-07-22 Ulrich Drepper <drepper@gmail.com>
45771
1aae088a
UD
45772 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45773 OSXSAVE.
45774 (_dl_x86_64_save_sse): Likewise.
45775
8e2045f5
UD
45776 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45777
90f139dd
UD
45778 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45779
1d002f25
AS
457802011-07-21 Andreas Schwab <schwab@redhat.com>
45781
45782 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45783 change.
45784 (_dl_x86_64_save_sse): Use correct AVX check.
45785
21137f89
UD
457862011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45787
45788 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45789 bug in strncpy/strncat.
45790 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45791
a65c0b7a
UD
457922011-07-21 Ulrich Drepper <drepper@gmail.com>
45793
45794 * string/tester.c (test_strcat): Add tests for different alignments
45795 of source and destination.
45796 (test_strncat): Likewise.
45797
6986b98a
UD
457982011-07-20 Ulrich Drepper <drepper@gmail.com>
45799
90bb2039
UD
45800 [BZ #12852]
45801 * posix/glob.c (glob): Check passed in values before using them in
45802 expressions to avoid some overflows.
45803 (glob_in_dir): Likewise.
45804
5644ef54
UD
45805 [BZ #13007]
45806 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45807 check for AVX enablement so that we don't crash with old kernels and
45808 new hardware.
45809 * elf/tst-audit4.c: Add same checks here.
45810 * elf/tst-audit6.c: Likewise.
45811
45812 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 45813
bfc9dc9b
AS
458142011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45815
45816 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45817
702e64bb
UD
458182011-07-20 Ulrich Drepper <drepper@gmail.com>
45819
45820 * po/cs.po: Update from translation team.
45821 * po/bg.po: Likewise.
45822
295e904f
MP
458232011-07-12 Marek Polacek <mpolacek@redhat.com>
45824
45825 * misc/sys/cdefs.h: Add support for const attribute.
45826 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45827 to gnu_dev_{major,minor,makedev} functions.
45828
3ff94596
MP
458292011-07-20 Marek Polacek <mpolacek@redhat.com>
45830
45831 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45832
28b59fca
AS
458332011-07-20 Andreas Schwab <schwab@redhat.com>
45834
45835 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45836 strlen results.
45837
19df733e
AK
458382011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45839
45840 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45841 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45842 register in order to avoid conflicts with the soft frame pointer
45843 being held in r11 when necessary.
45844 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45845 (INTERNAL_VSYSCALL_NCS): Likewise.
45846
c8835729
MP
458472011-07-14 Marek Polacek <mpolacek@redhat.com>
45848
45849 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45850 * elf/dl-fini.c (_dl_fini): Adjust caller.
45851 * elf/dl-close.c (_dl_close_worker): Likewise.
45852 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45853
b902330c
MP
458542011-07-15 Marek Polacek <mpolacek@redhat.com>
45855
8991e135
MP
45856 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45857 "aux_cache->nlibs < 0".
45858
b902330c
MP
45859 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45860 in the reload-count case.
45861
99710781
LD
458622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45863
45864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45865 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45866 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45867 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45868 * sysdeps/x86_64/multiarch/strcat.S: New file.
45869 * sysdeps/x86_64/multiarch/strncat.S: New file.
45870 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45871 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45872 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45873 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45874 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45875 (USE_AS_STRCAT): Define.
45876 Add strcat and strncat support.
45877 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45878 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45879 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45880 * string/strncat.c: Update.
45881 (USE_AS_STRNCAT): Define.
45882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45883 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45884 and i7.
45885 * sysdeps/x86_64/multiarch/init-arch.h
45886 (bit_Prefer_PMINUB_for_stringop): New.
45887 (index_Prefer_PMINUB_for_stringop): Likewise.
45888 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45889 bit_Prefer_PMINUB_for_stringop.
45890
7dc6bd90
UD
458912011-07-19 Ulrich Drepper <drepper@gmail.com>
45892
45893 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45894 buffer64.
45895 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45896 of casting of buffer.
45897 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45898 buffer32 and buffer64.
45899 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45900 writes instead of casting of buffer.
45901 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45902 buffer32.
45903 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45904 casting of buffer.
45905
e0e72284
AS
459062011-07-19 Andreas Schwab <schwab@redhat.com>
45907
45908 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45909
feb1eb0b
UD
459102011-07-19 Ulrich Drepper <drepper@gmail.com>
45911
45912 * nscd/nscd.c (termination_handler): Don't do anything for a database
45913 if it has not yet been initialized.
45914
298711ff
UD
459152011-07-18 Ulrich Drepper <drepper@gmail.com>
45916
45917 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45918
459192011-07-15 Marek Polacek <mpolacek@redhat.com>
45920
45921 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45922
f9d68389
UD
459232011-07-18 Ulrich Drepper <drepper@gmail.com>
45924
45925 * po/nl.po: Update from translation team.
45926 * po/sv.po: Likewise.
45927
db290cf5
RM
459282011-07-16 Roland McGrath <roland@hack.frob.com>
45929
45930 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45931 now disallowed by GCC.
5c550700 45932
fd5e21c7
RM
45933 * configure.in (use-default-link): Default to yes if a test -shared
45934 link meets our qualifications.
45935 * configure: Regenerated.
45936
5c550700
RM
45937 * config.make.in (output-format): New variable.
45938 * configure.in: Check for ld --print-output-format support.
45939 * configure: Regenerated.
45940 * Makerules ($(common-objpfx)format.lds)
45941 [$(output-format) != unknown]: Just use $(output-format),
45942 instead of the linker-script munging.
45943
9fa2c032
RM
459442011-07-14 Roland McGrath <roland@hack.frob.com>
45945
a6928d51
RM
45946 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45947 of $(common-objpfx)shlib.lds.
45948 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45949
661607b3
RM
45950 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45951 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45952
9fa2c032
RM
45953 * configure.in (-z relro check): Adjust test code to add a large
45954 writable data section after it.
45955 * configure: Regenerated.
45956
defe9061
RM
459572011-07-11 Roland McGrath <roland@hack.frob.com>
45958
45959 * configure.in (-z relro check): Fix test code to make the variable
45960 truly const.
45961 * configure: Regenerated.
45962
319b9ad4
UD
459632011-07-11 Ulrich Drepper <drepper@gmail.com>
45964
45965 * nscd/nscd.h (struct traced_file): Define.
45966 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45967 elements. Add traced_files.
45968 (inotify_fd): Declare.
45969 (register_traced_file): Declare.
45970 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45971 (inotify_fd): Export.
45972 (resolv_conf_descr): Remove.
45973 (nscd_init): Move inotify descriptor creation to main.
45974 Don't register files for notification here.
45975 (register_traced_file): New function.
45976 (invalidate_cache): Don't use reset_res to determine whether to call
45977 res_init, go through the list of registered files.
45978 (main_loop_poll): The inotify descriptors are now stored in the
45979 structures for the traced files.
45980 (main_loop_epoll): Likewise
45981 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45982 to __nss_disable_nscd.
45983 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45984 for a database anymore. Check the records for all the registered
45985 files instead.
45986 * nss/Makefile (libnss_files-routines): Add files-init.
45987 (libnss_db-routines): Add db-init.
45988 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45989 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45990 * nss/nss_db/db-init.c: New file.
45991 * nss/nss_files/files-init.c: New file.
45992 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45993 __nss_lookup_function.
45994 (__nss_lookup_function): Call nss_load_library.
45995 (nss_load_all_libraries): New function.
45996 (__nss_disable_nscd): Take parameter with callback function for files
45997 to register. Set is_nscd. Load all the DSOs for the NSS modules
45998 used for the cached services.
45999 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46000 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46001 options for features to all the files in nscd.
46002
46003 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46004
23bee3e8
RM
460052011-07-10 Roland McGrath <roland@hack.frob.com>
46006
46007 * csu/elf-init.c (__libc_csu_init): Comment typo.
46008
46a5b7f0
UD
460092011-07-09 Ulrich Drepper <drepper@gmail.com>
46010
46011 * po/pl.po: Update from translation team.
46012 * po/ja.po: Likewise.
46013 * po/ru.po: Likewise.
46014 * po/ko.po: Likewise.
46015 * po/fr.po: Likewise.
46016
d30cf5bb
RM
460172011-07-09 Roland McGrath <roland@hack.frob.com>
46018
113ddea4
RM
46019 * configure.in (.ctors/.dtors header and trailer check):
46020 Use an empirical test on a built program.
46021 * configure: Regenerated.
46022
574920b4
RM
46023 * configure.in (-z relro check): Use an empirical test on a built DSO.
46024 Detect, but do not require, on ia64.
46025 * configure: Regenerated.
46026
d30cf5bb
RM
46027 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46028 Update tests that use readelf to use $READELF instead.
46029 * configure: Regenerated.
46030
8538fdb3
UD
460312011-07-08 Ulrich Drepper <drepper@gmail.com>
46032
46033 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46034 if the result is not used.
46035
04d08991
AJ
460362011-07-05 Andreas Jaeger <aj@suse.de>
46037
46038 [BZ#9696]
46039 * stdlib/tst-strtod.c: Add testcase.
46040
de283087
AD
460412011-07-07 Ulrich Drepper <drepper@gmail.com>
46042
4e5f31c8 46043 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 46044 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
46045 The latter has a higher limit. Take additional parameter to pass to
46046 the new function.
46047 (__pathconf): Pass file to __statfs_link_max.
46048 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46049 __statfs_link_max.
46050 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46051 __statfs_link_max.
46052
de283087
AD
46053 [BZ #12868]
46054 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46055 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46056 Handle Lustre.
46057 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46058 (__statfs_filesize_max): Likewise.
46059 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46060
c75fa153
AJ
460612011-07-05 Andreas Jaeger <aj@suse.de>
46062
46063 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46064
1a544854
UD
460652011-07-06 Marek Polacek <mpolacek@redhat.com>
46066
46067 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46068 `status' variable.
46069 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46070 Likewise.
46071
6f0eec67
UD
460722011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46073
46074 * Makefile (strop-tests): Add strncat.
46075 * string/test-strncat.c: New file.
46076
aae30307
UD
460772011-06-30 Marek Polacek <mpolacek@redhat.com>
46078
46079 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46080
c0cfb5eb
UD
460812011-06-21 Andreas Jaeger <aj@suse.de>
46082
46083 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46084 Copy rule from iconvdata/Makefile.
46085
01636b21
UD
460862011-07-06 Ulrich Drepper <drepper@gmail.com>
46087
46088 [BZ #12922]
46089 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46090 but no long options are defined, just return 'W'.
46091
9895c8bc
UD
460922011-06-22 Marek Polacek <mpolacek@redhat.com>
46093
46094 [BZ #9696]
46095 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46096
5d4cf042
UD
460972011-07-06 Ulrich Drepper <drepper@gmail.com>
46098
46099 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46100 netgroups to read.
960e5535 46101 (innetgr): Likewise.
5d4cf042 46102
751eb97e
RM
461032011-07-05 Roland McGrath <roland@hack.frob.com>
46104
46105 * config.make.in (install_root): Default to $(DESTDIR).
46106
f15f1e45
UD
461072011-07-05 Ulrich Drepper <drepper@gmail.com>
46108
46109 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46110
4e34ac6a
RM
461112011-07-02 Roland McGrath <roland@hack.frob.com>
46112
5e9b6af4
RM
46113 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46114
84f9ea0f
RM
46115 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46116 containing directory rather than embedding absolute directory names.
46117
ea5ee9f7
RM
46118 * scripts/check-local-headers.sh: Rewritten using awk.
46119 Match by word, not by line. Print error messages for matches.
46120 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46121
1b74661a
RM
46122 * Makerules [shlib-lds-flags empty]:
46123 ($(common-objpfx)libc_pic.opts): New target.
46124 ($(common-objpfx)libc_pic.os.clean): New target.
46125 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46126
46127 * config.make.in (OBJCOPY): New variable.
46128 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46129 * configure: Regenerated.
46130
f781ef40
RM
46131 * config.make.in (use-default-link): New variable.
46132 * configure.in (use_default_link): Grok --with-default-link to set it.
46133 * configure: Regenerated.
46134 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46135 (shlib-lds, shlib-lds-flags): Define to empty.
46136
2d4fa81e
RM
46137 * Makerules (shlib-lds): New variable.
46138 (shlib-lds-flags): New variable.
46139 (build-shlib, build-moduile, build-module-asneeded): Use it.
46140 ($(common-objpfx)libc.so): Use $(shlib-lds).
46141 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46142 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46143
31fffa6b
RM
46144 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46145 DT_FLAGS/DT_FLAGS_1 with zero flags.
46146
4e34ac6a
RM
46147 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46148 linker script munging.
46149
fcfc776b
UD
461502011-07-02 Ulrich Drepper <drepper@gmail.com>
46151
46152 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46153 as 128-bit value.
46154 * crypt/sha512.c (sha512_process_block): Perform total addition using
46155 128-bit if possible.
46156 (__sha512_finish_ctx): Likewise.
46157 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46158 as 64-bit value.
46159 * crypt/sha256.c (SWAP64): Define.
46160 (sha256_process_block): Perform total addition using 64-bit if
46161 possible.
46162 (__sha256_finish_ctx): Likewise.
46163
99231d9a
UD
461642011-07-01 Ulrich Drepper <drepper@gmail.com>
46165
46166 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46167 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46168 * nscd/hstcache.c (cache_addhst): Likewise.
46169 * nscd/grpcache.c (cache_addgr): Likewise.
46170 * nscd/aicache.c (addhstaiX): Likewise
46171 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46172
445b4a53
TK
461732011-07-01 Thorsten Kukuk <kukuk@suse.de>
46174
46175 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46176 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46177 * nscd/hstcache.c (cache_addhst): Likewise.
46178 * nscd/grpcache.c (cache_addgr): Likewise.
46179 * nscd/aicache.c (addhstaiX): Likewise
46180
6d4d8e8e
AS
461812011-07-01 Andreas Schwab <schwab@redhat.com>
46182
46183 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46184 domain only when needed.
46185
89f654c5
AS
461862011-06-30 Andreas Schwab <schwab@redhat.com>
46187
46188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46189 is always restored.
46190
cf3b23ff
UD
461912011-06-29 Ulrich Drepper <drepper@gmail.com>
46192
46193 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46194 are re-adding the entry.
46195 * nscd/servicescache.c (cache_addserv): Likewise.
46196
751626f9
AJ
461972011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46198
46199 * sysdeps/generic/dl-irel.h: fix protection against multiple
46200 inclusions.
46201 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46202
9113ea1f
UD
462032011-06-28 Ulrich Drepper <drepper@gmail.com>
46204
5c0b8d90
UD
46205 [BZ #12935]
46206 * malloc/memusage.sh: Fix quoting in message.
46207 * debug/xtrace.sh: Likewise.
46208
9113ea1f
UD
46209 * configure.in: Remove support for --experimental-malloc option, make
46210 it the default.
46211 * config.make.in: Likewise.
46212 * malloc/Makefile: Likewise.
46213
a4172181
AS
462142011-06-27 Andreas Schwab <schwab@redhat.com>
46215
46216 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46217 two-byte characters.
46218
78a7eee7
RM
462192011-06-27 Roland McGrath <roland@hack.frob.com>
46220
62bede13
RM
46221 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46222 AC_CACHE_CHECK invocation.
46223 * configure: Regenerated.
46224
78a7eee7
RM
46225 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46226
5ce33a62
UD
462272011-06-27 Ulrich Drepper <drepper@gmail.com>
46228
034807a9
UD
46229 [BZ #12350]
46230 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46231 bit from old_res_options.
46232
4902da17
UD
46233 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46234
5ce33a62
UD
46235 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46236 value type for setfct.
46237
c2344f56
L
462382011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46239
46240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46241 __gettimeofday instead of gettimeofday.
46242
68468076
UD
462432011-06-26 Ulrich Drepper <drepper@gmail.com>
46244
46245 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46246
acb0d739
L
462472011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46248
46249 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46250
46251 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46252 info.
46253
8912479f
L
462542011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46255
46256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46257 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46258 strcpy-sse2-unaligned strncpy-sse2-unaligned
46259 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46260 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46261 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46262 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46263 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46264 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46265 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46266 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46267 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46268 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46269 (STRCPY): Support SSE2 and SSSE3 versions.
46270
d5495a11
UD
462712011-06-24 Ulrich Drepper <drepper@gmail.com>
46272
46273 [BZ #12874]
46274 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46275 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46276 kernels which artificially limit size of requests.
46277
0b1cbaae
L
462782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46279
46280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46281 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46282 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46283 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46284 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46285 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46286 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46287 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46288 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46289 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46290 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46291 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46292 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46293 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46294 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46296 Enable unaligned load optimization for Intel Core i3, i5 and i7
46297 processors.
46298 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46299 Define.
46300 (index_Fast_Unaligned_Load): Define.
46301 (HAS_FAST_UNALIGNED_LOAD): Define.
46302
07f494a0
MP
463032011-06-23 Marek Polacek <mpolacek@redhat.com>
46304
46305 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46306
fa3fc0fe
UD
463072011-06-22 Ulrich Drepper <drepper@gmail.com>
46308
46309 [BZ #12907]
46310 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46311 until it is clear that the information is realy needed.
46312 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46313
e12df166
AS
463142011-06-22 Andreas Schwab <schwab@redhat.com>
46315
46316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46317
852eb34d
UD
463182011-06-22 Ulrich Drepper <drepper@gmail.com>
46319
84e2a551
UD
46320 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46321 /sys/devices/system/cpu/online if it is usable.
46322
852eb34d
UD
46323 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46324 reading the information from the /proc filesystem to once a second.
46325
6e502e19
UD
463262011-06-21 Andreas Jaeger <aj@suse.de>
46327
46328 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46329 NULL after inclusion of kernel headers.
46330
75d39ff2
UD
463312011-06-21 Ulrich Drepper <drepper@gmail.com>
46332
51f9aa6a
UD
46333 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46334 calls to internal_setent.
46335
c0244a9d
UD
46336 [BZ #12885]
46337 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46338 addresses using gethostbyname4_r ignore IPv4 addresses.
46339
c5e3c2ae
UD
46340 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46341 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46342
75d39ff2
UD
46343 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46344
42675c6f
DM
463452011-06-20 David S. Miller <davem@davemloft.net>
46346
46347 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46348 inclusions.
46349 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46350
46351 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46352 (elf_irel): Use it.
46353 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46354 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46355 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46356 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46357 * sysdeps/x86_64/dl-irel.h: Likewise.
46358
46359 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46360 * elf/dl-sym.c: Likewise.
46361
57912a71
UD
463622011-06-15 Ulrich Drepper <drepper@gmail.com>
46363
46364 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46365 need to dereference resplen2.
46366
ee22793d
AS
463672011-06-14 Andreas Schwab <schwab@redhat.com>
46368
46369 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46370
a9e836b0
UD
463712011-06-15 Ulrich Drepper <drepper@gmail.com>
46372
77fb9117
UD
46373 * Makeconfig: Define vardbdir and inst_vardbdir.
46374 * nss/Makefile: Add rules to install db-Makefile.
46375
40c1b22c
UD
46376 * nss/nss_db/db-XXX.c: Cleanup.
46377
9f2da732
UD
46378 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46379 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46380 GLIBC_PRIVATE.
46381 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46382 * nss/makedb.c: Implement -g option to specify that value strings
46383 are generated and should not be added to table iterated over for
46384 get*ent calls.
46385 * nss/nss_db/db-initgroups.c: New file.
46386
82e9a1f7
UD
46387 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46388 interface.
46389
c41af17e
UD
46390 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46391 (internal_getgrouplist): Adjust to name change.
46392 Update use_initgroups_entry if this is not the first call.
46393 * nss/databases.def: Add initgroups entry.
46394
a9e836b0
UD
46395 * nss/makedb.c (compute_tables): Check result of multiple hash table
46396 sizes to minimize maximum chain length.
46397
2666d441
UD
463982011-06-14 Ulrich Drepper <drepper@gmail.com>
46399
46400 * Versions.def: Add entry for libnss_db.
46401 * shlib-versions: Likewise.
46402 * nss/Makefile: Add rules to build libnss_db.
46403 * nss/Versions: Add libnss_db information. Organize libnss_files
46404 entries better.
46405 * nss/db-Makefile: Add gshadow support. Change rules for the new
46406 makedb progra. Some minor improvements to generate smaller files.
46407 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46408 here from...
46409 * nss/makedb.c: ...here.
46410 Improve database format to be smaller and require less memory at
46411 runtime.
46412 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46413 db anymore.
46414 * nss/nss_db/db-netgrp.c: Likewise.
46415 * nss/nss_db/db-open.c: Likewise.
46416 * nss/nss_files/flies-XXX.x: Adjust comments.
46417 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46418 * nss/nss_files/files-grp.c: Likewise.
46419 * nss/nss_files/files-hosts.c: Likewise.
46420 * nss/nss_files/files-network.c: Likewise.
46421 * nss/nss_files/files-proto.c: Likewise.
46422 * nss/nss_files/files-pwd.c: Likewise.
46423 * nss/nss_files/files-rpc.c: Likewise.
46424 * nss/nss_files/files-service.c: Likewise.
46425 * nss/nss_files/files-sgrp.c: Likewise.
46426 * nss/nss_files/files-spwd.c: Likewise.
46427 * nss/nss_db/db-alias.c: Removed.
46428 * nss/nss_db/dummy-db.h: Removed.
46429
9ee76b5a
UD
464302011-06-02 Ulrich Drepper <drepper@gmail.com>
46431
46432 * nss/makedb.c: Rewritten to not use database library.
46433 * nss/Makefile: Update to build new makedb program.
46434
c71ca1f8
AJ
464352011-06-14 Andreas Jaeger <aj@suse.de>
46436
46437 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46438 memset declaration.
46439
3154bfb8
UD
464402011-06-10 Andreas Schwab <schwab@redhat.com>
46441
46442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46443 tmpbuf.
46444
b350afab
RM
464452011-06-10 Roland McGrath <roland@hack.frob.com>
46446
decd4e50
RM
46447 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46448 * elf/Makefile ($(objpfx)ld.so): Likewise.
46449
5615eaf2
RM
46450 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46451 Don't list ld.so twice in dependencies.
46452
46453 * posix/bug-regex31.c: Include <stdlib.h>.
46454
46455 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46456
46457 * nis/nss_compat/compat-spwd.c
46458 (getspent_next_nss_netgr): Remove unused variable.
46459 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46460
46461 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46462 nonmembers" output to use the right array.
46463
46464 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46465
46466 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46467
46468 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46469 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46470 * catgets/gencat.c (read_input_file): Likewise.
46471 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46472
46473 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46474 variable definition inside #if's controlling its use.
46475
46476 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46477
46478 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46479
46480 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46481
46482 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46483 unreachable code.
46484
46485 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46486
b68e08db
RM
46487 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46488 * configure: Regenerated.
46489
b350afab
RM
46490 * Makerules: Revert last change.
46491 * elf/Makefile: Likewise.
46492
28368601
RM
464932011-06-09 Roland McGrath <roland@hack.frob.com>
46494
46495 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46496 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46497 (reloc-link): Likewise.
46498
11988f8f
UD
464992011-06-09 Ulrich Drepper <drepper@gmail.com>
46500
46501 * elf/Makefile: Add rules to build pldd.
46502 * elf/pldd.c: New file.
46503 * elf/pldd-xx.c: New file.
46504
e80fab37
UD
465052011-06-07 Ulrich Drepper <drepper@gmail.com>
46506
46507 * version.h: Update for 2.15 development version.
46508
9b849836
DM
465092011-06-07 David S. Miller <davem@davemloft.net>
46510
46511 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46512 ifuncs.
46513 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46514 elf_machine_lazy_rel): Likewise.
46515 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46516 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46517 elf_machine_lazy_rel): Likewise.
46518 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46519 dl_hwcap via passed in argument.
46520 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46521 Likewise.
46522
5a31b283
AK
465232011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46524
46525 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46526
069e52f8
RM
465272011-06-06 Roland McGrath <roland@hack.frob.com>
46528
46529 [BZ #12849]
46530 * manual/fdl-1.1.texi: New file, verbatim from:
46531 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46532 * manual/lgpl-2.1.texi: New file, verbatim from:
46533 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46534 * manual/Makefile (licenses): New variable, list those new file names.
46535 (texis): Use it.
46536 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46537
46538 * manual/fdl.texi: File removed.
46539 * manual/lesser.texi: File removed.
46540 * manual/libc.texinfo (Copying, Documentation License):
46541 Use new @include file names, put @appendix directive before @include.
46542
f16846a5
JJ
465432011-06-04 Jakub Jelinek <jakub@redhat.com>
46544
46545 [BZ #12841]
46546 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46547 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46548 (mq_open): Add __NTH.
46549
3d29045b
L
465502011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46551
46552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46553 Assume Intel Core i3/i5/i7 processor if AVX is available.
46554
8c297311
UD
465552011-05-31 Ulrich Drepper <drepper@gmail.com>
46556
46557 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46558 typo.
46559
c8fc0c91
UD
465602011-05-31 Andreas Schwab <schwab@redhat.com>
46561
46562 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46563 memory. Use alloca_account. Fix memory leak when retrying.
46564
5b27a807
UD
465652011-05-31 Ulrich Drepper <drepper@gmail.com>
46566
356f8bc6
UD
46567 * version.h (RELEASE): Bump for 2.14 release.
46568 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46569
5b27a807
UD
46570 * config.make.in (RANLIB): Remove entry.
46571
01f16ab0
UD
465722011-05-30 Ulrich Drepper <drepper@gmail.com>
46573
41fce8bd
UD
46574 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46575 (libc.pot): Work around missing support for .ksh extension in xgettext.
46576
4769ae77
UD
46577 [BZ #12684]
46578 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46579 if both request failed.
46580 (send_dg): In case of server errors clear resplen or *resplen2.
46581
6b1e7d19
UD
46582 [BZ #12454]
46583 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46584 when there are multiple maps.
46585 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46586 (_dl_fini): Remove test here.
46587
01f16ab0
UD
46588 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46589
b1ebd700
UD
465902011-05-29 Ulrich Drepper <drepper@gmail.com>
46591
7ae22829
UD
46592 [BZ #12350]
46593 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46594 bit from old_res_options.
46595 (gaih_inet): Likewise.
46596
553149f6 46597 [BZ #11099]
18a84741 46598 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
46599 as signed.
46600
652ffab1
UD
46601 * resolv/res_init.c (res_setoptions): Make the code more compact.
46602
16985fd0
UD
46603 [BZ #11558]
46604 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46605 set RES_USEVC.
46606
0464f746
UD
46607 [BZ #11634]
46608 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46609
7d17596c
UD
46610 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46611
cf6bbbd7
UD
46612 [BZ #11781]
46613 * malloc/malloc.h: Declare malloc hook variables as volatile.
46614
13f1ab36
UD
46615 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46616 in last patch.
46617
b1ebd700
UD
46618 [BZ #11799]
46619 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 46620 raise in the comment.
80e2212d
UD
46621 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46622 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46623 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 46624
ce67228d
UD
466252011-05-28 Ulrich Drepper <drepper@gmail.com>
46626
8887a920
UD
46627 [BZ #12811]
46628 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46629 grow the buffers more if it already has to be sufficient.
46630 (build_wcs_upper_buffer): Likewise.
46631 * posix/regexec.c (check_matching): Likewise.
46632 (clean_state_log_if_needed): Likewise.
46633 (extend_buffers): Don't enlarge buffers beyond size of the input
46634 buffer.
46635 Patches mostly by Emil Wojak <emil@wojak.eu>.
46636 * posix/bug-regex32.c: New file.
46637 * posix/Makefile (tests): Add bug-regex32.
46638
4f031072
UD
46639 * locale/findlocale.c (_nl_find_locale): Return right away if
46640 _nl_explode_name failed.
46641 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46642
d0478f0c
UD
46643 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46644
de81b246
UD
46645 * debug/xtrace.sh: Unify messages.
46646 * malloc/memusage.sh: Likewise.
46647
c738465a
UD
46648 [BZ #12813]
46649 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46650 time symbol from vDSO. Substitute with vsyscall if not available.
46651 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46652 __vdso_time.
46653
f1f929d7
UD
46654 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46655 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46656 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46657 Add sendmmsg and internal_sendmmsg.
46658 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46659 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46660 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46661
ce67228d
UD
46662 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46663 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46664 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46665
e57420c6
UD
466662011-05-27 Ulrich Drepper <drepper@gmail.com>
46667
a8509ca5
UD
46668 [BZ #12813]
46669 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46670 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46671 available.
46672 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46673 __vdso_getcpu.
46674
e57420c6
UD
46675 [BZ #12814]
46676 * iconvdata/Makefile (tests): Add bug-iconv9.
46677 * iconvdata/bug-iconv9.c: New file.
46678
4d07db15
AS
466792011-05-27 Andreas Schwab <schwab@redhat.com>
46680
46681 [BZ #12814]
46682 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46683
ea486f69
JJ
466842011-05-25 Jakub Jelinek <jakub@redhat.com>
46685
46686 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46687 (struct user_regs_struct): Change intcs field back to cs.
46688
6f038433
UD
466892011-05-25 Ulrich Drepper <drepper@gmail.com>
46690
46691 * po/ja.po: Update from translation team.
46692
67f86a25
UD
466932011-05-23 Ulrich Drepper <drepper@gmail.com>
46694
46695 [BZ #12795]
46696 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46697 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46698
def7fbd6
AS
466992011-05-20 Andreas Schwab <schwab@redhat.com>
46700
46701 * stdlib/longlong.h: Update from GCC.
46702
f50ef8f1
AS
467032011-05-23 Andreas Schwab <schwab@redhat.com>
46704
46705 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46706 parameter name.
46707 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46708 Add parameter name.
46709 (__sysconf): Pass it down.
46710
de7ce8f1
UD
467112011-05-22 Ulrich Drepper <drepper@gmail.com>
46712
f2962a71
UD
46713 [BZ #12671]
46714 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46715 some situations.
46716 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46717 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46718 add in in __libc_use_alloca calls. Adjust callers.
46719 (glob): Use malloc in some situations.
46720
de7ce8f1
UD
46721 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46722 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46723 pltexit.
46724
aec84f53
UD
467252011-05-21 Ulrich Drepper <drepper@gmail.com>
46726
05bb4a68
UD
46727 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46728 and CLOCK_BOOTTIME_ALARM.
46729
7ea72f99
UD
46730 [BZ #12782]
46731 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46732 is returned.
46733
7e4afad5
UD
46734 * string/_strerror.c (__strerror_r): Print negative errors as signed
46735 numbers.
46736
8e211fec
UD
46737 [BZ #12777]
46738 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46739 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46740 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46741
f7d82dc9
UD
46742 * configure.in: Fix typo in redirection and correct removal of test
46743 files in two cases.
46744
cc9e536d
UD
46745 [BZ #12788]
46746 * locale/setlocale.c (new_composite_name): Fix test to check for
46747 identical name of all categories.
46748
aec84f53
UD
46749 [BZ #12792]
46750 * libio/filedoalloc.c (local_isatty): New function.
46751 (_IO_file_doallocate): Use local_isatty.
46752 * stdio-common/perror.c (perror): In case a new stream is used
46753 forward the stream error.
46754 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46755 error flag.
46756
78e64fdc
RT
467572011-05-20 Ulrich Drepper <drepper@gmail.com>
46758
34a9094f
UD
46759 [BZ #11869]
46760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46761 alloca.
46762 * include/alloca.h (extend_alloca_account): Define.
46763
78e64fdc
RT
46764 [BZ #11857]
46765 * posix/regex.h: Fix comments with documentation of user-accessible
46766 fields after compilation and describe correct free'ing of pattern
46767 after re_compile_pattern.
46768 Patch by Reuben Thomas <rrt@sc3d.org>.
46769
457bddfc
RA
467702011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46771
46772 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46773 and -mno-altivec to prevent the compiler from using Altivec and/or
46774 VSX instructions when the corresponding registers are not available.
46775
a4527b51
AS
467762011-05-19 Andreas Schwab <schwab@redhat.com>
46777
46778 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46779
ed690b2f
UD
467802011-05-19 Ulrich Drepper <drepper@gmail.com>
46781
46782 * libio/freopen.c (freopen): Use __dup2, not dup2.
46783 * libio/freopen64.c (freopen64): Likewise.
46784
8db73634
L
467852011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46786
46787 [BZ #12775]
46788 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46789 * math/Makefile (tests): Add test-powl.
46790 (CFLAGS-test-powl.c): Define.
46791 * math/test-powl.c: New file.
46792
0a197a9d
L
467932011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46794
46795 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46796
ee30c380
UD
467972011-05-17 Ulrich Drepper <drepper@gmail.com>
46798
46799 [BZ #11837]
46800 * iconvdata/gb18030.c: Update to GB18020-2005.
46801
6ce75379
UD
468022011-05-16 Ulrich Drepper <drepper@gmail.com>
46803
a4b89fd8
AR
46804 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46805 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46806 Patch by Aharon Robbins <arnold@skeeve.com>.
46807
ea389b12
UD
46808 [BZ #11892]
46809 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46810 on the stack.
46811
68a3f91f
UD
46812 [BZ #11895]
46813 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46814 through underflows.
46815
15cc7dd1
UD
46816 [BZ #12766]
46817 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46818 point to strings before performing equality test for error_one_per_line
46819 mode.
46820
f3799213
UD
46821 [BZ #11697]
46822 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46823
d79a9c94
UD
46824 [BZ #11820]
46825 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46826 (struct user_fpregs_struct): Avoid __uint*_t types.
46827
56e5eb46
UD
46828 [BZ #6420]
46829 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46830 symbol info. Use it instead of calling _dl_addr locally.
46831 (lock_and_info): New function.
46832 (tr_freehook): Call lock_and_info and pass symbol info as additional
46833 parameter to tr_where.
46834 (tr_mallochook): Likewise.
46835 (tr_reallochook): Likewise.
46836 (tr_memalignhook): Likewise.
46837
6ce75379
UD
46838 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46839 used and couldn't be at all thread-safe.
46840
f8a3b5bf
UD
468412011-05-15 Ulrich Drepper <drepper@gmail.com>
46842
94b7cc37
UD
46843 * libio/freopen.c (freopen): Don't close old file descriptor
46844 before the new one is opened. Instead dup the new file descriptor
46845 to the old one after the new stream is created.
46846 * libio/freopen64.c (freopen64): Likewise.
46847 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46848 * libio/fileops.c (_IO_new_file_close_it): Handle new
46849 _IO_FLAGS2_NOCLOSE flag.
46850 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46851 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46852 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46853 _IO_FLAGS2_NOCLOSE flag.
46854 * include/unistd.h: Add hidden_proto for dup3.
46855 Define __have_dup3.
46856 * io/dup3.c: Define hidden symbol.
46857 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46858
bd25564e
UD
46859 [BZ #7101]
46860 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46861 when an incomplete long option is used.
46862 * posix/tst-getopt_long1.c: New file.
46863 * posix/Makefile (tests): Add tst-getopt_long1.
46864
c84cfef4
UD
46865 [BZ #10138]
46866 * scripts/config.guess: Update from autoconf-2.68.
46867 * scripts/config.sub: Likewise.
46868
3b85df27
UD
46869 [BZ #10157]
46870 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46871 tests into ...
46872 (has_cpuclock): ...this. New function.
46873 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46874 macro here based on has_cpuclock code.
46875
15a856b1
UD
46876 [BZ #10149]
46877 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46878 First byte (not low byte) is now always NUL.
46879 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46880
05f399e6
UD
46881 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46882 Use non-cancelable interfaces.
46883
10a52685 46884 [BZ #9809]
94ecc67d
UD
46885 * locale/iso-639.def: Add entry for Sorani.
46886
f8a3b5bf
UD
46887 [BZ #11901]
46888 * include/stdlib.h: Move include protection to the right place.
46889 Define abort_msg_s. Declare __abort_msg with it.
46890 * stdlib/abort.c (__abort_msg): Adjust type.
46891 * assert/assert.c (__assert_fail_base): New function. Majority
46892 of code from __assert_fail. Allocate memory for __abort_msg with
46893 mmap.
46894 (__assert_fail): Now call __assert_fail_base.
46895 * assert/assert-perr.c: Remove bulk of implementation. Use
46896 __assert_fail_base.
46897 * include/assert.hL Declare __assert_fail_base.
46898 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46899 mmap.
46900 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46901
1af4e298
UD
469022011-05-14 Ulrich Drepper <drepper@gmail.com>
46903
f8a3b5bf 46904 [BZ #11952]
d26dfc60
MG
46905 [BZ #12453]
46906 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46907 until all modules are registered in the DTV.
46908 * elf/Makefile: Add rules to build and run tst-tls19.
46909 * elf/tst-tls19.c: New file.
46910 * elf/tst-tls19mod1.c: New file.
46911 * elf/tst-tls19mod2.c: New file.
46912 * elf/tst-tls19mod3.c: New file.
46913 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46914
2fc54d6f
UD
46915 [BZ #12083]
46916 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46917 correctly.
46918
98d76b46
UD
46919 [BZ #12601]
46920 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46921 two-byte sequence errors.
46922 * iconvdata/Makefile (tests): Add bug-iconv8.
46923 * iconvdata/bug-iconv8.c: New file.
46924
da3c19ef
UD
46925 [BZ #12626]
46926 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46927 buf2 definition.
46928
ca408c15
UD
46929 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46930
d6f67f7d
UD
46931 [BZ #12432]
46932 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46933 (dummy_getcfa): New function.
46934 (init): Get _Unwind_GetCFA address, use dummy if not found.
46935 (backtrace_helper): In recursion check, also check whether CFA changes.
46936 (__backtrace): Completely initialize arg.
46937
1af4e298 46938 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46939 storing incomplete byte sequence in state object. Avoid testing for
46940 guaranteed too small input if we know there is enough data available.
1af4e298 46941
da62f81b
AS
469422011-05-11 Andreas Schwab <schwab@redhat.com>
46943
46944 * Makeconfig (+link-pie): Indent.
46945 * Rules (binaries-pie): Define if $(have-fpie) and
46946 $(build-shared).
46947 (binaries-shared): Also filter out $(binaries-pie).
46948 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46949 * nscd/Makefile (others-pie): Add nscd.
46950 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46951 ($(objpfx)nscd): Remove command override.
46952 * login/Makefile (others-pie): Add pt_chown.
46953 ($(objpfx)pt_chown): Remove command override.
46954 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46955 remove command overrides.
46956
fcabc0f8
UD
469572011-05-13 Ulrich Drepper <drepper@gmail.com>
46958
20030ae6
UD
46959 * libio/tst_putwc.c: Fix error messages.
46960
fcabc0f8
UD
46961 [BZ #12724]
46962 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46963 currently writing and seek to current position when not.
46964 * libio/Makefile (tests): Add bug-fclose1.
46965 * libio/bug-fclose1.c: New file.
46966
320a5dc0
PB
469672011-05-12 Ulrich Drepper <drepper@gmail.com>
46968
46969 [BZ #12511]
46970 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46971 don't set DF_1_NODELETE here.
46972 (do_lookup_x): When entering new entry test for copy relocation
46973 and if necessary set DF_1_NODELETE flag.
46974 * elf/tst-unique4.cc: New file.
46975 * elf/tst-unique4.h: New file.
46976 * elf/tst-unique4lib.cc: New file.
46977 * elf/Makefile: Add rules to build and run tst-unique4.
46978 Patch by Piotr Bury <pbury@goahead.com>.
46979
22836f52
UD
469802011-05-11 Ulrich Drepper <drepper@gmail.com>
46981
f574184a
UD
46982 [BZ #12052]
46983 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46984
e1fb097f
UD
46985 [BZ #12625]
46986 * misc/mntent_r.c (addmntent): Flush the stream after the output
46987
22836f52
UD
46988 [BZ #12393]
46989 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46990 (is_trusted_path_normalize): Skip initial colon. Append slash
46991 to empty buffer. Duplicate is_trusted_path code but allow
46992 constructed patch to be prefix.
46993 (is_dst): Allow $ORIGIN followed by /.
46994 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46995 Correct testing of result of is_trusted_path_normalize
46996 (decompose_rpath): Fix warning.
46997
7b3b0b2a
UD
469982011-05-10 Ulrich Drepper <drepper@gmail.com>
46999
47000 [BZ #11257]
47001 * grp/initgroups.c (internal_getgrouplist): When we found the service
47002 list through the initgroups entry in nsswitch.conf do not always
47003 continue on a successful lookup. Don't always use the
eac80ce2 47004 __nss_group_database value if it is set.
7b3b0b2a
UD
47005 * nss/nsswitch.conf (initgroups): Change action for successful db
47006 lookup to continue for compatibility.
47007
2a81eaa5
UD
470082011-05-09 Ulrich Drepper <drepper@gmail.com>
47009
be97a69e
UD
47010 [BZ #11532]
47011 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47012 and CP774 modules.
47013 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47014 and CP774 modules.
47015 * iconvdata/tst-tables.sh: Likewise.
47016 * iconvdata/cp770.c: New file.
47017 * iconvdata/cp771.c: New file.
47018 * iconvdata/cp772.c: New file.
47019 * iconvdata/cp773.c: New file.
47020 * iconvdata/cp774.c: New file.
47021 * iconvdata/testdata/CP770: New file.
47022 * iconvdata/testdata/CP770..UTF8: New file.
47023 * iconvdata/testdata/CP771: New file.
47024 * iconvdata/testdata/CP771..UTF8: New file.
47025 * iconvdata/testdata/CP772: New file.
47026 * iconvdata/testdata/CP772..UTF8: New file.
47027 * iconvdata/testdata/CP773: New file.
47028 * iconvdata/testdata/CP773..UTF8: New file.
47029 * iconvdata/testdata/CP774: New file.
47030 * iconvdata/testdata/CP774..UTF8: New file.
47031
47032 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47033 END CHARMAP line.
47034 * iconvdata/gen-8bit-gap.sh: Likewise.
47035 * iconvdata/gen-8bit.sh: Likewise.
47036
c1e9e399
UD
47037 * locale/iso-639.def: Add ary entry.
47038
24c55fb3 47039 [BZ #11258]
96b4b1b0
UD
47040 * locale/C-translit.h.in: Add U20A1 transliteration.
47041
bdc2f971
KB
47042 [BZ #12178]
47043 * locale/iso-639.def: Add wae entry.
47044 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47045
2952b117
UD
47046 [BZ #12545]
47047 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47048 for n.
47049
2a81eaa5
UD
47050 [BZ #12711]
47051 * locale/C-translit.h.in: Add entry for U20B9.
47052 Patch by pravin.d.s@gmail.com.
47053
28377d1b
UD
470542011-05-08 Ulrich Drepper <drepper@gmail.com>
47055
7fb90fb8
UD
47056 [BZ #12713]
47057 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47058 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
47059 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47060 in rtld. Use *stat64.
7fb90fb8 47061 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 47062 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 47063 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
47064 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47065 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47066 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47067 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47068 __fstatat64 macros.
7fb90fb8
UD
47069 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47070 * dirent/rewinddir.c: Add libc_hidden_def.
47071 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 47072 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 47073
28377d1b
UD
47074 * include/dirent.h (__alloc_dir): Add flags parameter.
47075 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47076 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47077 __alloc_dir.
47078 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47079 from fdopendir if O_CLOEXEC is already set.
47080
66bdbaa4
AM
470812011-03-15 Alan Modra <amodra@gmail.com>
47082
47083 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47084 l_tls_firstbyte_offset non-zero. Save padding offset in
47085 l_tls_firstbyte_offset for later use.
47086 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47087 freeing static tls block.
47088
95721191
JN
470892011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47090
47091 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47092 where #ifdef was intended. The intent is to prevent ARG_MAX from
47093 being defined by the kernel headers.
47094
f87dfb1f
UD
470952011-05-07 Ulrich Drepper <drepper@gmail.com>
47096
47097 [BZ #12734]
47098 * resolv/resolv.h: Define RES_NOTLDQUERY.
47099 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47100 no-tld-query and set RES_NOTLDQUERY.
47101 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47102 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47103 modern BIND to search name as TLD unless forbidden.
47104
47c3cd7a
UD
471052011-05-07 Petr Baudis <pasky@suse.cz>
47106 Ulrich Drepper <drepper@gmail.com>
47107
47108 [BZ #12393]
47109 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47110 (is_trusted_path): ...to here.
c1e9ea35 47111 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 47112 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 47113 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 47114
8a35c912
PP
471152011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47116
47117 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47118 __BEGIN/__END_DECLS.
47119
acd41f47
UD
471202011-05-06 Ulrich Drepper <drepper@gmail.com>
47121
47122 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47123 NSS_STATUS_NOTFOUND if no record was found.
47124
597df647
AS
471252011-05-05 Andreas Schwab <schwab@redhat.com>
47126
47127 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47128 (headers-not-in-tirpc): Remove rpc/netdb.h
47129 * resolv/netdb.h: Revert last change.
47130
b9af1301
PP
471312011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47132
47133 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47134 circular dependency between libgcc.a and libc.a.
47135
4e34d5f5
AS
471362011-05-05 Andreas Schwab <schwab@redhat.com>
47137
47138 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47139 * nis/Makefile: Don't install rpcsvc/*.
47140 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47141 instead of <rpc/types.h>.
47142 (MAXHOSTNAMELEN): Define.
47143
00ee369c
AS
471442011-05-03 Andreas Schwab <schwab@redhat.com>
47145
47146 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47147
0b592a30
MB
471482011-04-28 Maciej Babinski <mbabinski@google.com>
47149
47150 [BZ #12714]
47151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47152 gethostbyname4_r when IPv6 results are possible.
47153
6e04cbbe
UD
471542011-05-02 Ulrich Drepper <drepper@gmail.com>
47155
47156 [BZ #12723]
47157 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47158 _PC_PIPE_BUF handling.
47159
e4ecafe0
BH
471602011-04-30 Bruno Haible <bruno@clisp.org>
47161
47162 [BZ #12717]
47163 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47164 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47165 to 'int'.
47166 * inet/getnameinfo.c (getnameinfo): Likewise.
47167
125ee683
UD
471682011-04-29 Ulrich Drepper <drepper@gmail.com>
47169
47170 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47171 to groups setting in database lookup.
47172 * nss/nsswitch.conf: Add initgroups entry.
47173
b722481a
EB
471742011-04-22 Ulrich Drepper <drepper@gmail.com>
47175
47176 [BZ #12685]
47177 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47178 mode string.
47179 Patch by Eric Blake <eblake@redhat.com>.
47180
4df46dbd
L
471812011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47182
47183 * sunrpc/Makefile (need-export-routines): Add svc_run.
47184 (routines): Remove svc_run.
47185 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47186 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47187 * sunrpc/svc_run.c (svc_run): Likewise.
47188 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47189
e84142d2
UD
471902011-04-21 Ulrich Drepper <drepper@gmail.com>
47191
47192 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47193 problem in reallocation in last patch.
47194
877175d8
UD
471952011-04-20 Ulrich Drepper <drepper@gmail.com>
47196
47197 * sunrpc/Makefile: Move inclusion of Rules.
47198
ab8eed78
UD
471992011-04-19 Ulrich Drepper <drepper@gmail.com>
47200
47201 * nss/nss_files/files-initgroups.c: New file.
47202 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47203 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47204 _nss_files_initgroups_dyn.
47205
e3d8f584
RS
472062011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47207
47208 * elf/elf.h (R_ARM_IRELATIVE): Define.
47209
af190f45
UD
472102011-04-19 Ulrich Drepper <drepper@gmail.com>
47211
47212 * po/ru.po: Update from translation team.
47213
53cf59ef
UD
472142011-04-17 Ulrich Drepper <drepper@gmail.com>
47215
47216 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47217 dependencies.
47218
4c559bcd
MF
472192011-02-06 Mike Frysinger <vapier@gentoo.org>
47220
47221 [BZ #12653]
47222 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47223 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47224 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47225 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47226 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47227
4420675c
AS
472282011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47229
47230 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47231 differing bytes.
47232 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47233 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47234 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47235
75ea32ab
UD
472362011-04-17 Ulrich Drepper <drepper@gmail.com>
47237
47238 [BZ #12420]
47239 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47240 storing it.
47241 * stdlib/bug-getcontext.c: New file.
47242 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47243
27390476
AK
472442011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47245
47246 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47247 instructions into .machine "z9-109".
47248 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47249 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47250
10442705
AK
472512011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47252
47253 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47254 between environment variables and auxiliary vector.
47255
7b57bfe5
UD
472562011-04-16 Ulrich Drepper <drepper@gmail.com>
47257
47258 * Makefile: Add rules to build linkobj/libc.so.
47259 * include/libc-symbols.h: Define libc_hidden_nolink.
47260 * include/rpc/auth.h: Mark functions which are to be hidden.
47261 * include/rpc/auth_des.h: Likewise.
47262 * include/rpc/auth_unix.h: Likewise.
47263 * include/rpc/clnt.h: Likewise.
47264 * include/rpc/des_crypt.h: Likewise.
47265 * include/rpc/key_prot.h: Likewise.
47266 * include/rpc/pmap_clnt.h: Likewise.
47267 * include/rpc/pmap_prot.h: Likewise.
47268 * include/rpc/pmap_rmt.h: Likewise.
47269 * include/rpc/rpc_msg.h: Likewise.
47270 * include/rpc/svc.h: Likewise.
47271 * include/rpc/svc_auth.h: Likewise.
47272 * include/rpc/xdr.h: Likewise.
47273 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47274 * nss/Makefile: Likewise.
47275 * sunrpc/Makefile: Don't install headers. Build library with normal
47276 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47277 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47278 for the compat linking library. Remove use of INTDEF/INTUSE.
47279 * sunrpc/auth_none.c: Likewise.
47280 * sunrpc/auth_unix.c: Likewise.
47281 * sunrpc/authdes_prot.c: Likewise.
47282 * sunrpc/authuxprot.c: Likewise.
47283 * sunrpc/clnt_gen.c: Likewise.
47284 * sunrpc/clnt_perr.c: Likewise.
47285 * sunrpc/clnt_raw.c: Likewise.
47286 * sunrpc/clnt_simp.c: Likewise.
47287 * sunrpc/clnt_tcp.c: Likewise.
47288 * sunrpc/clnt_udp.c: Likewise.
47289 * sunrpc/clnt_unix.c: Likewise.
47290 * sunrpc/des_crypt.c: Likewise.
47291 * sunrpc/des_soft.c: Likewise.
47292 * sunrpc/get_myaddr.c: Likewise.
47293 * sunrpc/key_call.c: Likewise.
47294 * sunrpc/key_prot.c: Likewise.
47295 * sunrpc/netname.c: Likewise.
47296 * sunrpc/pm_getmaps.c: Likewise.
47297 * sunrpc/pm_getport.c: Likewise.
47298 * sunrpc/pmap_clnt.c: Likewise.
47299 * sunrpc/pmap_prot.c: Likewise.
47300 * sunrpc/pmap_prot2.c: Likewise.
47301 * sunrpc/pmap_rmt.c: Likewise.
47302 * sunrpc/publickey.c: Likewise.
47303 * sunrpc/rpc_cmsg.c: Likewise.
47304 * sunrpc/rpc_common.c: Likewise.
47305 * sunrpc/rpc_dtable.c: Likewise.
47306 * sunrpc/rpc_prot.c: Likewise.
47307 * sunrpc/rpc_thread.c: Likewise.
47308 * sunrpc/rtime.c: Likewise.
47309 * sunrpc/svc.c: Likewise.
47310 * sunrpc/svc_auth.c: Likewise.
47311 * sunrpc/svc_authux.c: Likewise.
47312 * sunrpc/svc_raw.c: Likewise.
47313 * sunrpc/svc_run.c: Likewise.
47314 * sunrpc/svc_simple.c: Likewise.
47315 * sunrpc/svc_tcp.c: Likewise.
47316 * sunrpc/svc_udp.c: Likewise.
47317 * sunrpc/svc_unix.c: Likewise.
47318 * sunrpc/svcauth_des.c: Likewise.
47319 * sunrpc/xcrypt.c: Likewise.
47320 * sunrpc/xdr.c: Likewise.
47321 * sunrpc/xdr_array.c: Likewise.
47322 * sunrpc/xdr_float.c: Likewise.
47323 * sunrpc/xdr_intXX_t.c: Likewise.
47324 * sunrpc/xdr_mem.c: Likewise.
47325 * sunrpc/xdr_rec.c: Likewise.
47326 * sunrpc/xdr_ref.c: Likewise.
47327 * sunrpc/xdr_sizeof.c: Likewise.
47328 * sunrpc/xdr_stdio.c: Likewise.
47329
e6c61494
UD
473302011-04-10 Ulrich Drepper <drepper@gmail.com>
47331
47332 [BZ #12650]
47333 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47334 * sysdeps/ia64/dl-tls.h: Likewise.
47335 * sysdeps/powerpc/dl-tls.h: Likewise.
47336 * sysdeps/s390/dl-tls.h: Likewise.
47337 * sysdeps/sh/dl-tls.h: Likewise.
47338 * sysdeps/sparc/dl-tls.h: Likewise.
47339 * sysdeps/x86_64/dl-tls.h: Likewise.
47340 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47341
34fe483e
AS
473422011-03-14 Andreas Schwab <schwab@redhat.com>
47343
47344 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47345 rpath element also skip the following colon.
47346 (expand_dynamic_string_token): Add is_path parameter and pass
47347 down to DL_DST_REQUIRED and _dl_dst_substitute.
47348 (decompose_rpath): Call expand_dynamic_string_token with
47349 non-zero is_path. Ignore empty rpaths.
47350 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47351 with zero is_path.
47352
f12a32e6
AS
473532011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47354
47355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47356 Make cancelable.
47357
38a7d692
UD
473582011-04-09 Ulrich Drepper <drepper@gmail.com>
47359
47360 [BZ #12655]
47361 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47362 Patch by Filipe David Manana <fdmanana@apache.org>.
47363
e451d22b
AS
473642011-04-07 Andreas Schwab <schwab@redhat.com>
47365
47366 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47367 Maintain aligned stack.
47368 (CHECK_RSP): Remove unused macro.
47369
dedc7c7b
UD
473702011-04-03 Ulrich Drepper <drepper@gmail.com>
47371
47372 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47373 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47374
94521213
UD
473752011-04-02 Ulrich Drepper <drepper@gmail.com>
47376
47377 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47378
8cb700c0 47379 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47380
0354e355
L
473812011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47382
47383 [BZ #12518]
47384 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47385 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47386 * sysdeps/x86_64/memmove.c: New file.
47387 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47388 (memcpy): Renamed to ...
47389 (__new_memcpy): This.
47390 (memcpy): Provide GLIBC_2_14 memcpy.
47391 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47392 (memcpy): Provide GLIBC_2_2_5 memcpy.
47393
8593482f
UD
473942011-04-01 Ulrich Drepper <drepper@gmail.com>
47395
47396 [BZ #12631]
47397 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47398
81a5726b
AS
473992011-03-30 Andreas Schwab <schwab@redhat.com>
47400
47401 * misc/syncfs.c: New file.
47402 * misc/Makefile (routines): Add syncfs.
47403 * posix/unistd.h: Declare syncfs.
47404 * sysdeps/unix/syscalls.list: Add syncfs.
47405
00e5419f
AS
474062011-04-01 Andreas Schwab <schwab@redhat.com>
47407
47408 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47409 open_by_handle_at.
47410 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47411 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47412 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47415 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47416 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47417
748876bf
UD
474182011-04-01 Ulrich Drepper <drepper@gmail.com>
47419
658e451d
UD
47420 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47421 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47422 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47424 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47425 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47427
748876bf
UD
47428 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47429 sync_file_range.c with -fexceptions.
47430 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47431 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47432 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47433 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47434 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47435 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47436 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47437 sync_file_range as cancellation point
47438 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47439 now a wrapper around __call_sync_file_range with cancellation handling.
47440 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47441 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47442 function name to __call_sync_file_range.
47443 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47444 Add call_sync_file_range.
748876bf 47445
6e63d5e1
AS
474462011-04-01 Andreas Schwab <schwab@redhat.com>
47447
47448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47449 bits/timex.h.
6e63d5e1 47450
46998f74
UD
474512011-04-01 Ulrich Drepper <drepper@gmail.com>
47452
4c1423ed
UD
47453 * iconv/iconv.h: Fix typo in comment.
47454 * io/fcntl.h: Likewise.
47455 * libio/stdio.h: Likewise.
47456 * posix/spawn.h: Likewise.
47457 * posix/unistd.h: Likewise.
47458 * stdlib/stdlib.h: Likewise.
47459 * time/time.h: Likewise.
47460 * wcsmbs/wchar.h: Likewise.
47461
158648c0
UD
47462 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47463 open_by_handle): Add.
47464 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47465 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47466 Augment a few comments.
47467 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47469 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47471 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47472 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47473 open_by_handle.
47474
46998f74
UD
47475 * io/fcntl.h (AT_EMPTY_PATH): Define.
47476
83fe108b
UD
474772011-03-30 Ulrich Drepper <drepper@gmail.com>
47478
47479 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47480 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47481 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47482 to...
47483 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47484 * Versions.def: Add GLIBC_2.14.
47485 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47486 Export.
83fe108b 47487
bb242059
UD
474882011-03-22 Ulrich Drepper <drepper@gmail.com>
47489
47490 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47491 round counter.
47492 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47493
c97a1282
L
474942011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47495
47496 [BZ #12597]
47497 * string/test-strncmp.c (do_page_test): New function.
47498 (check2): Likewise.
47499 (test_main): Call check2.
47500 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47501
2a115601
UD
475022011-03-20 Ulrich Drepper <drepper@gmail.com>
47503
47504 [BZ #12587]
47505 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47506 Handle cache information in CPU leaf 4.
47507 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47508
8126d904
UD
475092011-03-18 Ulrich Drepper <drepper@gmail.com>
47510
042c49c6 47511 [BZ #12583]
8126d904
UD
47512 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47513 character representation.
47514 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47515
ccfe366e
RA
475162011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47517
47518 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47519 END(__isnan) to END(__isnanf) to match function entry point/label
47520 EALIGN(__isnanf,...).
47521
c6e13027
JJ
475222011-03-10 Jakub Jelinek <jakub@redhat.com>
47523
47524 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47525
33f85a3f
UD
475262011-03-10 Ulrich Drepper <drepper@gmail.com>
47527
028478fa
UD
47528 [BZ #12510]
47529 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47530 copy from the symbol referenced in the relocation to initialize the
47531 used variable.
47532 Patch by Piotr Bury <pbury@goahead.com>.
47533 * elf/Makefile: Add rules to build and tst-unique3.
47534 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47535 * elf/tst-unique3.cc: New file.
47536 * elf/tst-unique3.h: New file.
47537 * elf/tst-unique3lib.cc: New file.
47538 * elf/tst-unique3lib2.cc: New file.
47539
33f85a3f
UD
47540 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47541
03592fc7
MF
475422011-03-10 Mike Frysinger <vapier@gentoo.org>
47543
47544 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47545 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47546 to _start.
03592fc7 47547
6a5ee102
UD
475482011-03-06 Ulrich Drepper <drepper@gmail.com>
47549
47550 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47551 to-be-loaded object along a path to loader is ld.so.
47552
7e4ba49c
HJ
475532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47554 Ulrich Drepper <drepper@gmail.com>
47555
47556 * sysdeps/x86_64/memset.S: After aligning destination, code
47557 branches to different locations depending on the value of
47558 misalignment, when multiarch is enabled. Fix this.
47559
475602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47561
47562 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47563 Set _x86_64_preferred_memory_instruction for AMD processsors.
47564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47565 Set bit_Prefer_SSE_for_memop for AMD processors.
47566
13a804de
UD
475672011-03-04 Ulrich Drepper <drepper@gmail.com>
47568
47569 * libio/fmemopen.c (fmemopen): Optimize a bit.
47570
9d25c392
AS
475712011-03-03 Andreas Schwab <schwab@redhat.com>
47572
47573 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47574
a5543c6a
RM
475752011-03-03 Roland McGrath <roland@redhat.com>
47576
47577 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47578
012d35f7
DM
475792011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47580
7e4ba49c 47581 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
47582 __bzero_ultra1 instead of __memset_ultra1.
47583
4bff6e01
AS
475842011-02-23 Andreas Schwab <schwab@redhat.com>
47585 Ulrich Drepper <drepper@gmail.com>
47586
47587 [BZ #12509]
47588 * include/link.h (struct link_map): Add l_orig_initfini.
47589 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47590 returning unsuccessfully.
47591 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47592 close of a file loaded at startup, restore the original l_initfini
47593 list.
47594 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47595 list, store the pointer.
47596 * elf/Makefile ($(objpfx)noload-mem): New rule.
47597 (noload-ENV): Define.
47598 (tests): Add $(objpfx)noload-mem.
47599 * elf/noload.c: Include <memcheck.h>.
47600 (main): Call mtrace. Close all opened handles.
47601
f2092faf
AS
476022011-02-17 Andreas Schwab <schwab@redhat.com>
47603
47604 [BZ #12454]
47605 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47606 dependencies are missing.
47607
6c8a2e88
ST
476082011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47609
f2092faf 47610 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
47611 Hurd needs munmap.
47612 * sysdeps/mach/hurd/ifreq.h: New file.
47613
84a42118
PB
476142011-01-27 Petr Baudis <pasky@suse.cz>
47615 Ulrich Drepper <drepper@gmail.com>
47616
071f805e 47617 [BZ 12445]#
84a42118
PB
47618 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47619 to extend_alloca().
47620 * stdio-common/bug23.c: New file.
47621 * stdio-common/Makefile (tests): Add bug23.
47622
e23fe25b
AS
476232010-09-28 Andreas Schwab <schwab@redhat.com>
47624 Ulrich Drepper <drepper@gmail.com>
47625
47626 [BZ #12489]
47627 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47628 before performing relro protection. At old place add assertion
47629 to make sure nothing changed.
47630
d3f02e10
NS
476312011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47632 Glauber de Oliveira Costa <glommer@gmail.com>
47633
47634 * elf/elf.h: Add new ARM TLS relocs.
47635
d55fd7a5
RA
476362011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47637
47638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47639 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47640 cast from r3.
47641 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47642 'tests' variable.
47643 * sysdeps/wordsize-64/tst-writev.c: New file.
47644
2206397e
RA
476452011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47646
47647 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47648 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47649 insns in _dl_start to prevent a TOC reference before relocs are
47650 resolved.
47651
e9433893
UD
476522011-02-15 Ulrich Drepper <drepper@gmail.com>
47653
47654 [BZ #12469]
47655 * Makeconfig: Remove RANLIB definition.
47656 * Makerules: Don't use RANLIB.
47657 * aclocal.m4: Remove ranlib test.
47658 * configure.in: No need to check for ranlib.
47659 * elf/rtld-Rules: Don't use RANLIB.
47660
f75286c6
ST
476612011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47662
8e31c82d
ST
47663 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47664 protection macro.
47665 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47666 inclusion protection macro.
47667
f75286c6
ST
47668 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47669 SIGRTMIN and SIGRTMAX and print information in that case only when
47670 SIGRTMIN is defined.
47671
c1d0e639
JJ
476722011-02-11 Jakub Jelinek <jakub@redhat.com>
47673
47674 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47675 arginfo fn returning -1.
47676
47677 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47678 and thousands string is zero terminated.
47679
edf9294e
AS
476802011-02-03 Andreas Schwab <schwab@redhat.com>
47681
47682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47683 sysdeps/unix/sysv/linux/bits/socket.h.
47684
2b7e92df
ST
476852011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47686
edf9294e
AS
47687 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47688 (__CPU_COUNT): Remove old macros.
47689 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47690 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47691 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
47692 (__sched_cpualloc, __sched_cpufree): Add declarations.
47693
a4c7ea7b
UD
476942011-02-05 Ulrich Drepper <drepper@gmail.com>
47695
47696 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47697 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47698 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47699 (readdhstai): Return value of addhstaiX call.
47700 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47701 (addgrbyX): Return value returned by cache_addgr.
47702 (readdgrbyname): Return value returned by addgrbyX.
47703 (readdgrbygid): Likewise.
47704 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47705 (addpwbyX): Return value returned by cache_addpw.
47706 (readdpwbyname): Return value returned by addhstbyX.
47707 (readdpwbyuid): Likewise.
47708 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47709 (addservbyX): Return value returned by cache_addserv.
47710 (readdservbyname): Return value returned by addservbyX:
47711 (readdservbyport): Likewise.
47712 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47713 (addhstbyX): Return value returned by cache_addhst.
47714 (readdhstbyname): Return value returned by addhstbyX.
47715 (readdhstbyaddr): Likewise.
47716 (readdhstbynamev6): Likewise.
47717 (readdhstbyaddrv6): Likewise.
47718 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47719 (readdinitgroups): Return value returned by addinitgroupsX.
47720 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47721 (prune_cache): Keep track of timeout value of re-added entries.
47722 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47723 * nscd/nscd.h: Adjust prototypes of readd* functions.
47724
a0bf67cc
RM
477252011-02-04 Roland McGrath <roland@redhat.com>
47726
47727 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47728 (nis_stats): Likewise.
47729 * nis/nis_modify.c (nis_modify): Likewise.
47730 * nis/nis_remove.c (nis_remove): Likewise.
47731 * nis/nis_add.c (nis_add): Likewise.
47732
47733 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47734
47735 * posix/fnmatch_loop.c: Add some consts.
47736
47737 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47738
435b95eb
L
477392011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47740
47741 [BZ #12460]
47742 * config.make.in (config-cflags-novzeroupper): Define.
47743 * configure.in: Substitute libc_cv_cc_novzeroupper.
47744 * elf/Makefile (AVX-CFLAGS): Define.
47745 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47746 (CFLAGS-tst-auditmod4a.c): Likewise.
47747 (CFLAGS-tst-auditmod4b.c): Likewise.
47748 (CFLAGS-tst-auditmod6b.c): Likewise.
47749 (CFLAGS-tst-auditmod6c.c): Likewise.
47750 (CFLAGS-tst-auditmod7b.c): Likewise.
47751 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47752
8517b15e
UD
477532011-02-02 Ulrich Drepper <drepper@gmail.com>
47754
47755 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47756 function to the callback.
47757 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47758
10a656fe
AS
477592011-02-02 Andreas Schwab <schwab@redhat.com>
47760
47761 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47762 of errno.
47763
968dad0a
UD
477642011-01-19 Ulrich Drepper <drepper@gmail.com>
47765
9f94d2ea 47766 [BZ #11724]
968dad0a
UD
47767 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47768 of constructors.
47769 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47770 of destructors.
47771 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47772
47773 [BZ #11724]
47774 * elf/Makefile: Add rules to build and run new test.
47775 * elf/tst-initorder.c: New file.
47776 * elf/tst-initorder.exp: New file.
47777 * elf/tst-initordera1.c: New file.
47778 * elf/tst-initordera2.c: New file.
47779 * elf/tst-initordera3.c: New file.
47780 * elf/tst-initordera4.c: New file.
47781 * elf/tst-initorderb1.c: New file.
47782 * elf/tst-initorderb2.c: New file.
47783 * elf/tst-order-a1.c: New file.
47784 * elf/tst-order-a2.c: New file.
47785 * elf/tst-order-a3.c: New file.
47786 * elf/tst-order-a4.c: New file.
47787 * elf/tst-order-b1.c: New file.
47788 * elf/tst-order-b2.c: New file.
47789 * elf/tst-order-main.c: New file.
47790 New test case by George Gensure <werkt0@gmail.com>.
47791
86e92359
UD
477922010-10-01 Andreas Schwab <schwab@redhat.com>
47793
47794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47795 decoding ACE if AI_CANONIDN.
47796
5d5732b0
UD
477972011-01-18 Ulrich Drepper <drepper@gmail.com>
47798
47799 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47800
a77e8cbc
UD
478012011-01-17 Ulrich Drepper <drepper@gmail.com>
47802
6392473f
UD
47803 * version.h (RELEASE): Bump for 2.13 release.
47804 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47805
620a0529
UD
47806 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47807
18ba70a5
UD
47808 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47809 MADV_NOHUGEPAGE.
32465c3e
UD
47810 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47811 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47812 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47813 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47814 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47815 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47816
c0dafcf1
UD
47817 * posix/getconf.c: Update copyright year.
47818 * catgets/gencat.c: Likewise.
47819 * csu/version.c: Likewise.
47820 * debug/catchsegv.sh: Likewise.
47821 * debug/xtrace.sh: Likewise.
47822 * elf/ldconfig.c: Likewise.
47823 * elf/ldd.bash.in: Likewise.
47824 * elf/sprof.c (print_version): Likewise.
47825 * iconv/iconv_prog.c: Likewise.
47826 * iconv/iconvconfig.c: Likewise.
47827 * locale/programs/locale.c: Likewise.
47828 * locale/programs/localedef.c: Likewise.
47829 * malloc/memusage.sh: Likewise.
47830 * malloc/mtrace.pl: Likewise.
47831 * nscd/nscd.c (print_version): Likewise.
47832 * nss/getent.c: Likewise.
47833
a77e8cbc
UD
47834 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47835 PF_CAIF, and PF_ALG.
47836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47837
77e8bddf
AS
478382011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47839
1f20b93a
AS
47840 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47841 (modules-names): Use them.
47842 (ifunc-test-modules, ifunc-pie-tests): Define.
47843 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47844 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47845 (test-extras): Likewise.
47846 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47847 $(compile-command.c).
47848 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47849 (all-built-dso): Define.
47850 (check-textrel.out, check-execstack.out): Depend on it.
47851
77e8bddf
AS
47852 * configure.in: Don't override --enable-multi-arch.
47853
bc425b33
UD
478542011-01-15 Ulrich Drepper <drepper@gmail.com>
47855
47856 [BZ #6812]
47857 * nscd/hstcache.c (tryagain): Define.
47858 (cache_addhst): Return tryagain not notfound for temporary errors.
47859 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47860 failed.
47861
794c3ad3
UD
478622011-01-14 Ulrich Drepper <drepper@gmail.com>
47863
70181fdd
UD
47864 [BZ #10563]
47865 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47866 to make the syscall.
47867 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47868
794c3ad3
UD
47869 [BZ #12378]
47870 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47871 and fall back to matching as normal character if the string ends before
47872 the matching ']' is found. This is what POSIX requires.
47873 * posix/testfnm.c: Adjust test result.
47874 * posix/globtest.sh: Adjust test result. Add new test.
47875 * posix/tst-fnmatch.input: Likewise.
47876 * posix/tst-fnmatch2.c: Add new test.
47877
68dc9497
AS
478782010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47879
47880 * elf/Makefile (check-execstack): Revert last change. Depend on
47881 check-execstack.h.
47882 (check-execstack.h): New target.
47883 (generated): Add check-execstack.h.
47884 * elf/check-execstack.c: Include "check-execstack.h".
47885 (main): Revert last change.
47886 (handle_file): Return zero if GNU_STACK is absent and
47887 DEFAULT_STACK_PERMS doesn't include PF_X.
47888
451f001b
UD
478892011-01-13 Ulrich Drepper <drepper@gmail.com>
47890
cfa28e56
UD
47891 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47892 in child fails because the descriptor is already closed.
8cf8ce17
UD
47893 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47894 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47895 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 47896
1086d70d
UD
47897 [BZ #12397]
47898 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47899 syscall.
47900
451f001b
UD
47901 [BZ #10484]
47902 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47903 temporary buffer used to handle multi lookups locally.
a85b5cb4 47904 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 47905
08769175
UD
479062011-01-12 Ulrich Drepper <drepper@gmail.com>
47907
47908 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47909 loader is ld.so.
47910
5e49c52e
UD
479112011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47912
47913 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47914 alignment for SSE2.
47915
60522a5f
UD
479162011-01-12 Ulrich Drepper <drepper@gmail.com>
47917
47918 [BZ #12394]
47919 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47920 characters. When rounding increased number of integer digits recompute
47921 number of groups.
47922 * stdio-common/tst-grouping.c: New file.
47923 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47924
f257bbd7
UD
479252011-01-09 Ulrich Drepper <drepper@gmail.com>
47926
47927 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47928 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47929
47930 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47931 void.
47932 * bits/select.h: Likewise.
47933
fa9c15cb
UD
479342011-01-08 Ulrich Drepper <drepper@gmail.com>
47935
47936 * po/ja.po: Update from translation team.
47937
16c2895f
DM
479382011-01-04 David S. Miller <davem@sunset.davemloft.net>
47939
47940 [BZ #11155]
47941 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47942 implementation just like for lxstat, fxstatat, et al.
47943
2543fef2
JM
479442010-12-27 Jim Meyering <meyering@redhat.com>
47945
47946 [BZ #12348]
47947 * posix/regexec.c (build_trtable): Return failure indication upon
47948 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47949
98727dbe
UD
479502010-12-25 Ulrich Drepper <drepper@gmail.com>
47951
5bd6dc5c
UD
47952 [BZ #12201]
47953 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47954 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47955 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47956 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47957
97983464
UD
47958 [BZ #12207]
47959 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47960
98727dbe
UD
47961 [BZ #12204]
47962 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47963 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47964
4a531bb0
L
479652010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47966
47967 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47968 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47969 script has SORT_BY_INIT_PRIORITY.
47970 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47971 NO_CTORS_DTORS_SECTIONS is defined.
47972 * elf/soinit.c: Likewise.
47973 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47974 NO_CTORS_DTORS_SECTIONS is defined.
47975 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47976 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47977 * sysdeps/sh/init-first.c: Likewise.
47978 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47979
07eb4b71
UD
479802010-12-24 Ulrich Drepper <drepper@gmail.com>
47981
47982 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47983 always use the slow path.
47984
30950a5f
RA
479852010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47986
47987 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47988 similar rule which adds the sysdep directories to the header search in
47989 order to pick up the correct platform stackinfo.h.
47990 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47991 perform test if it is, otherwise return successfully without testing.
47992 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47993 DEFAULT_STACK_PERMS define in stackinfo.h.
47994 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47995 defined in stackinfo.h.
47996 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47997 DEFAULT_STACK_PERMS defined in stackinfo.h.
47998 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47999 * sysdeps/ia64/stackinfo.h: Likewise.
48000 * sysdeps/s390/stackinfo.h: Likewise.
48001 * sysdeps/sh/stackinfo.h: Likewise.
48002 * sysdeps/sparc/stackinfo.h: Likewise.
48003 * sysdeps/x86_64/stackinfo.h: Likewise.
48004 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48005 PF_X for powerpc64. Retain PF_X for powerpc32.
48006
db753e2c
UD
480072010-12-19 Ulrich Drepper <drepper@gmail.com>
48008
14b697f7
UD
48009 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48010 accurately.
db753e2c
UD
48011 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48012 GETDENTS_64BIT_ALIGNED.
48013
28300719
UD
480142010-12-14 Ulrich Drepper <dreper@gmail.com>
48015
14b697f7 48016 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 48017
4f197237
AS
480182010-12-10 Andreas Schwab <schwab@redhat.com>
48019
dbb0472f
AS
48020 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48021 _GNU_SOURCE.
48022
4f197237
AS
48023 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48024 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48025 Remove __restrict.
48026 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48027 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48028
fb88ac72
UD
480292010-12-09 Ulrich Drepper <drepper@gmail.com>
48030
48031 [BZ #11655]
48032 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48033 are initialized.
48034
42acbb92
JJ
480352010-12-09 Jakub Jelinek <jakub@redhat.com>
48036
48037 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48038
c038d98d
UD
480392010-12-03 Ulrich Drepper <drepper@gmail.com>
48040
48041 * po/it.po: Update from translation team.
48042
3a4a2499
L
480432010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48044
48045 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48046 unused codes.
48047
1e24cf6e
UD
480482010-11-30 Ulrich Drepper <drepper@gmail.com>
48049
48050 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48051
a7690819
AS
480522010-11-24 Andreas Schwab <schwab@redhat.com>
48053
48054 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48055 specially.
48056 (gaih_getanswer_slice): Likewise.
48057
3bf8d1b1
JJ
480582010-10-20 Jakub Jelinek <jakub@redhat.com>
48059
48060 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48061
6db52fbb
PB
480622010-05-31 Petr Baudis <pasky@suse.cz>
48063
48064 [BZ #11149]
48065 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48066 silently even in the chroot mode.
48067
eaca7569
UD
480682010-11-22 Ulrich Drepper <drepper@gmail.com>
48069
48070 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48071 last patch a bit. Pretty printing
48072
3056dcdb
UD
480732010-05-31 Petr Baudis <pasky@suse.cz>
48074
48075 [BZ #10085]
48076 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48077 initialization of skip_initgroups_dyn.
48078
cf7c9078
UD
480792010-11-19 Ulrich Drepper <drepper@gmail.com>
48080
48081 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48082 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48083
a1fb5e3e
UD
480842010-11-16 Ulrich Drepper <drepper@gmail.com>
48085
48086 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48087
3540d66b
AS
480882010-11-11 Andreas Schwab <schwab@redhat.com>
48089
48090 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48091 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48092 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48093 ($(objpfx)tst-fnmatch-mem): New rule.
48094 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48095 * posix/tst-fnmatch.c (main): Call mtrace.
48096
13b69574
L
480972010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48098
48099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48100 Support Intel processor model 6 and model 0x2c.
48101
da93d214
LM
481022010-11-10 Luis Machado <luisgpm@br.ibm.com>
48103
48104 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48105 signed comparison.
48106
8ca52c6e
L
481072010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48108
48109 [BZ #12205]
48110 * string/test-strncasecmp.c (check_result): New function.
48111 (do_one_test): Use it.
48112 (check1): New function.
48113 (test_main): Use it.
48114 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48115 Support strcasecmp and strncasecmp.
48116
69da074d
UD
481172010-11-08 Ulrich Drepper <drepper@gmail.com>
48118
48119 [BZ #12194]
48120 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48121 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48122
ff02d528
L
481232010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48124
48125 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48126 IFUNC support.
48127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48128 memset-x86-64.
48129 * sysdeps/x86_64/multiarch/bzero.S: New file.
48130 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48131 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48132 * sysdeps/x86_64/multiarch/memset.S: New file.
48133 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48135 Set bit_Prefer_SSE_for_memop for Intel processors.
48136 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48137 Define.
48138 (index_Prefer_SSE_for_memop): Define.
48139 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48140
344d0b54
LM
481412010-11-04 Luis Machado <luisgpm@br.ibm.com>
48142
48143 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48144 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48145
c0dde15b
UD
481462010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48147
48148 [BZ #12191]
48149 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48150 (__x86_64_raw_data_cache_size_half): Likewise.
48151 (__x86_64_raw_shared_cache_size): Likewise.
48152 (__x86_64_raw_shared_cache_size_half): Likewise.
48153
48154 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48155 (__x86_64_raw_data_cache_size_half): Likewise.
48156 (__x86_64_raw_shared_cache_size): Likewise.
48157 (__x86_64_raw_shared_cache_size_half): Likewise.
48158 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48159 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48160 and __x86_64_raw_shared_cache_size_half. Round
48161 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48162 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48163 to multiple of 256 bytes.
48164
0e516e0e
MS
481652010-11-03 Ulrich Drepper <drepper@gmail.com>
48166
48167 [BZ #12167]
48168 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48169 of inacessible symlinks. Verify result of symlink before returning it.
48170 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48171 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48172
0e012e87
ER
481732010-10-28 Erich Ritz <erichritz@gmail.com>
48174
48175 * math/math.h (isinf): Fix typo in comment.
48176
de0ff7bc
UD
481772010-11-01 Ulrich Drepper <drepper@gmail.com>
48178
48179 * po/da.po: Update from translation team.
48180
fa41c84d
UD
481812010-10-26 Ulrich Drepper <drepper@gmail.com>
48182
48183 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48184 is added to the list.
48185
f0967738
AK
481862010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48187 Ulrich Drepper <drepper@gmail.com>
48188
48189 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48190 the global list here. Move code to...
48191 (_dl_add_to_namespace_list): ...here. New function.
48192 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48193 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48194 * elf/dl-load.c (lose): Don't remove the element from the list.
48195 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48196 (_dl_map_object): Likewise.
48197
481982010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
48199
48200 [BZ #12159]
48201 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48202 into all bytes of SSE register.
48203 Patch by Richard Li <richardpku@gmail.com>.
48204
f0967738 482052010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
48206
48207 [BZ #12140]
48208 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48209 perturbing.
48210
d0b9e94f
MB
482112010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48212
48213 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48214 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48215 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48216 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48218 submachine.
48219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48220
8e9f92e9
AS
482212010-10-22 Andreas Schwab <schwab@redhat.com>
48222
48223 * include/dlfcn.h (__RTLD_SECURE): Define.
48224 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48225 mode & __RTLD_SECURE instead.
48226 (open_path): Rename preloaded parameter to secure.
48227 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48228 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48229 * elf/dl-deps.c (openaux): Likewise.
48230 * elf/rtld.c (struct map_args): Remove is_preloaded.
48231 (map_doit): Don't use it.
48232 (dl_main): Likewise.
48233 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48234 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48235
bc96fbda
AS
482362010-09-09 Andreas Schwab <schwab@redhat.com>
48237
48238 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48239 (sysd-rules-targets): Remove duplicates.
48240 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48241 rtld-%.$o dependency.
48242
22cd1c9b
AS
482432010-10-18 Andreas Schwab <schwab@redhat.com>
48244
48245 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48246 _dl_map_object do it.
48247
18edac48
UD
482482010-10-19 Ulrich Drepper <drepper@gmail.com>
48249
48250 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48251 fast fma builtins, define the macros in the C99 standard.
48252 (FP_FAST_FMAF): Likewise.
48253 (FP_FAST_FMAL): Likewise.
48254 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48255
48256 * bits/mathdef.h: Update copyright year.
48257 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48258
d2050124
MM
482592010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48260
48261 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48262 builtins, define the macros in the C99 standard.
48263 (FP_FAST_FMAF): Likewise.
48264 (FP_FAST_FMAL): Likewise.
48265 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48266 multiply/add.
48267 (FP_FAST_FMAF): Likewise.
48268
475facd1
JJ
482692010-10-15 Jakub Jelinek <jakub@redhat.com>
48270
48271 [BZ #3268]
48272 * math/libm-test.inc (fma_test): Some new testcases.
48273 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48274 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48275 y and infinite z. Do multiplication by C already in long double.
48276 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48278 y and infinite z. Do bitwise or of inexact bit into u.d.
48279 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48280 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48281 * sysdeps/i386/fpu/s_fma.S: Removed.
48282 * sysdeps/i386/fpu/s_fmal.S: Removed.
48283
7c08a05c
JJ
482842010-10-16 Jakub Jelinek <jakub@redhat.com>
48285
48286 [BZ #3268]
48287 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48288 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48289 computation is not scheduled after fetestexcept. Fix value
48290 of minimum denormal long double.
48291
f3f7372d
JJ
482922010-10-14 Jakub Jelinek <jakub@redhat.com>
48293
48294 [BZ #3268]
48295 * math/libm-test.inc (fma_test): Add some more tests.
48296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48297 correctly.
48298
14d43591
AS
482992010-10-15 Andreas Schwab <schwab@redhat.com>
48300
48301 * scripts/data/localplt-s390-linux-gnu.data: New file.
48302 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48303
5e908464
JJ
483042010-10-13 Jakub Jelinek <jakub@redhat.com>
48305
48306 [BZ #3268]
48307 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48308 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48309 instead of dbl-64.
48310 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48311 inlines.
48312 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48314 if one of x and y is very large and the other is subnormal.
48315 * sysdeps/s390/fpu/s_fmaf.c: New file.
48316 * sysdeps/s390/fpu/s_fma.c: New file.
48317 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48318 * sysdeps/powerpc/fpu/s_fma.S: New file.
48319 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48320 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48321 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48322
483232010-10-12 Jakub Jelinek <jakub@redhat.com>
48324
48325 [BZ #3268]
48326 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48327 fma tests.
48328 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48329 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48330 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48331 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48332 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48333 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48334 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48335
b833d51f
UD
483362010-10-12 Ulrich Drepper <drepper@redhat.com>
48337
48338 [BZ #12078]
48339 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48340 * posix/bug-regex31.input: Add test case.
48341
1751705d
UD
483422010-10-11 Ulrich Drepper <drepper@gmail.com>
48343
e9b9cbf5
UD
48344 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48345 * posix/bug-regex31.input: New file.
48346
48347 [BZ #12078]
48348 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48349 (parse_sub_exp): Fix last change, use postorder.
48350
ef06edbe
UD
48351 * posix/bug-regex31.c: New file.
48352 * posix/Makefile: Add rules to build and run bug-regex31.
48353
a129c80d
UD
48354 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48355
48356 [BZ #12078]
48357 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48358
b76b818e
UD
48359 [BZ #12108]
48360 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48361 to have entries in sys_siglist.
48362
1751705d
UD
48363 [BZ #12093]
48364 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48365 be NULL.
48366
9ff8d36f
JJ
483672010-10-07 Jakub Jelinek <jakub@redhat.com>
48368
48369 [BZ #3268]
48370 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48371 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48372 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48373 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48374 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48375 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48376 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48377 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48378 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48379 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48380 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48381 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48382 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48383 * math/ftestexcept.c (fetestexcept): Likewise.
48384 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48385 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48386 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48387 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48388 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48389 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48390 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48391
af325969
UD
483922010-10-11 Ulrich Drepper <drepper@gmail.com>
48393
c579b202 48394 [BZ #12107]
af325969
UD
48395 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48396 newline.
48397
67a67b95
UD
483982010-10-06 Ulrich Drepper <drepper@gmail.com>
48399
48400 * string/bug-strstr1.c: New file.
48401 * string/Makefile: Add rules to build and run bug-strstr1.
48402
5fb308bc
EB
484032010-10-05 Eric Blake <eblake@redhat.com>
48404
48405 [BZ #12092]
48406 * string/str-two-way.h (two_way_long_needle): Always clear memory
48407 when skipping input due to the shift table.
48408
45db99c7
UD
484092010-10-03 Ulrich Drepper <drepper@gmail.com>
48410
3b111893
UD
48411 [BZ #12005]
48412 * malloc/mcheck.c: Handle large requests.
48413
45db99c7
UD
48414 [BZ #12077]
48415 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48416 for strncmp and strncasecmp.
48417 * string/stratcliff.c: Add tests for strcmp and strncmp.
48418 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48419
cf7a1eb8
NI
484202010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48421
48422 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48423 __set_fpscr.
48424
6484ba5e
AJ
484252010-09-30 Andreas Jaeger <aj@suse.de>
48426
48427 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48428 (CGROUP_SUPER_MAGIC): Define.
48429 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48430 Handle btrfs and cgroup file systems.
48431 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48432 Likewise.
48433
91c42559
LM
484342010-09-27 Luis Machado <luisgpm@br.ibm.com>
48435
48436 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48437 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48438
87a97932
AK
484392010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48440
48441 [BZ #12067]
48442 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48443 trying to locate the ELF header.
48444
c21cc9bc
AS
484452010-09-27 Andreas Schwab <schwab@redhat.com>
48446
48447 [BZ #11611]
48448 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48449 Mask out sign-bit copies when constructing f_fsid.
48450
315970f6
PB
484512010-09-24 Petr Baudis <pasky@suse.cz>
48452
48453 * debug/stack_chk_fail_local.c: Add missing licence exception.
48454 * debug/warning-nop.c: Likewise.
48455
1ac7a2c7
JM
484562010-09-15 Joseph Myers <joseph@codesourcery.com>
48457
48458 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48459 implementing getdents64 using getdents syscall, set d_type if
48460 __ASSUME_GETDENTS32_D_TYPE.
48461
56801c50
AS
484622010-09-16 Andreas Schwab <schwab@redhat.com>
48463
48464 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48465 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48466
dda51327
UD
484672010-09-21 Ulrich Drepper <drepper@redhat.com>
48468
48469 [BZ #12037]
48470 * posix/unistd.h: Undo change of feature selection for ftruncate from
48471 2010-01-11.
48472
8ffcee4a
UD
484732010-09-20 Ulrich Drepper <drepper@redhat.com>
48474
a545ecd9 48475 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48476 detection.
48477
e24f0a8b
AS
484782010-09-20 Andreas Schwab <schwab@redhat.com>
48479
48480 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48481 fanotify_mark.
48482 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48483
7291c56f
AS
484842010-09-14 Andreas Schwab <schwab@redhat.com>
48485
48486 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48487 variables after CHECK_SP call.
48488 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48489
bc5fb037
AS
484902010-09-13 Andreas Schwab <schwab@redhat.com>
48491 Ulrich Drepper <drepper@redhat.com>
48492
48493 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48494 re-relocationg ld.so.
48495 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48496 _dl_init_paths call.
48497 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48498 here anymore.
48499
e66e7419
UD
485002010-09-14 Ulrich Drepper <drepper@redhat.com>
48501
48502 * resolv/res_init.c (__res_vinit): Count the default server we added.
48503
c044aa75
CLT
485042010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48505 Ulrich Drepper <drepper@redhat.com>
48506
48507 [BZ #11968]
48508 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48509 (____longjmp_chk): Use %ebx for saving value across system call.
48510 Add unwind info.
48511
32cf4069
AS
485122010-09-06 Andreas Schwab <schwab@redhat.com>
48513
48514 * manual/Makefile: Don't mix pattern rules with normal rules.
48515
817328ee
AS
485162010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48517
48518 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48519 operation.
48520 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48521 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48522 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48523 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48524 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48525 Likewise.
48526
29fddf61
UD
485272010-09-04 Ulrich Drepper <drepper@redhat.com>
48528
48529 [BZ #11979]
48530 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48531 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48532
0959ffc9
UD
485332010-09-02 Ulrich Drepper <drepper@redhat.com>
48534
48535 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48536 * sysdeps/x86_64/addmul_1.S: Likewise.
48537 * sysdeps/x86_64/lshift.S: Likewise.
48538 * sysdeps/x86_64/mul_1.S: Likewise.
48539 * sysdeps/x86_64/rshift.S: Likewise.
48540 * sysdeps/x86_64/sub_n.S: Likewise.
48541 * sysdeps/x86_64/submul_1.S: Likewise.
48542
ece29840
ST
485432010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48544
0959ffc9
UD
48545 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48546 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48547 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48548 * bits/sched.h [__need_schedparam]
ece29840 48549 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
48550 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48551 (__defined_schedparam): Define to 1.
ece29840
ST
48552 (__sched_param): New structure, identical to sched_param.
48553 (__need_schedparam): Undefine.
48554
e53a31fe
MF
485552010-08-31 Mike Frysinger <vapier@gentoo.org>
48556
fdc0c10d
MF
48557 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48558 (epoll_create1): Declare.
48559
e53a31fe
MF
48560 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48561
a726d796
AS
485622010-08-31 Andreas Schwab <schwab@redhat.com>
48563
48564 [BZ #7066]
48565 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48566 shifting retval into place.
48567
2f3e3dc7
UD
485682010-09-01 Ulrich Drepper <drepper@redhat.com>
48569
f2933da9
UD
48570 * nis/rpcsvc/nis.h: Update copyright notice.
48571 * nis/rpcsvc/nis.x: Likewise.
48572 * nis/rpcsvc/nis_callback.h: Likewise.
48573 * nis/rpcsvc/nis_callback.x: Likewise.
48574 * nis/rpcsvc/nis_object.x: Likewise.
48575 * nis/rpcsvc/nis_tags.h: Likewise.
48576 * nis/rpcsvc/yp.h: Likewise.
48577 * nis/rpcsvc/yp.x: Likewise.
48578 * nis/rpcsvc/ypupd.h: Likewise.
48579 * nis/yp_xdr.c: Likewise.
48580 * nis/ypupdate_xdr.c: Likewise.
48581
2f3e3dc7
UD
48582 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48583 mainly the body of pmap_getport. Add parameters to specify timeouts.
48584 (pmap_getport): Use __libc_rpc_getport.
48585 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48586 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48587 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48588
f3dcc2f9
AS
485892010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48590
48591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48592 fanotify_mark.
48593
6d34eb5b
RM
485942010-08-27 Roland McGrath <roland@redhat.com>
48595
48596 * sysdeps/i386/i686/multiarch/Makefile
48597 (CFLAGS-varshift.c): New variable.
48598
9ea3de11
UD
485992010-08-27 Ulrich Drepper <drepper@redhat.com>
48600
c96d23fc
UD
48601 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48602 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48603
9ea3de11
UD
48604 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48605
48606 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48607
623aac7f
L
486082010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48609
48610 * sysdeps/x86_64/strlen.S: Unroll the loop.
48611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48612 strlen-sse2 strlen-sse2-bsf.
48613 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48614 __strlen_no_bsf if bit_Slow_BSF is set.
48615 (__strlen_sse42): Removed.
48616 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48617 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48618
8b2b7715
RM
486192010-08-25 Roland McGrath <roland@redhat.com>
48620
48621 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48622 * sysdeps/x86_64/multiarch/varshift.c: New file.
48623 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48624 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48625 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48626 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48627
e73015f2
L
486282010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48629
48630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48631 strlen-sse2 strlen-sse2-bsf.
48632 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48633 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48634 (__strlen_sse2): Removed.
48635 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48636 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48638 bit_Slow_BSF for Atom.
48639 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48640 (index_Slow_BSF): Define.
48641 (HAS_SLOW_BSF): Define.
48642
df24a73e
UD
486432010-08-25 Ulrich Drepper <drepper@redhat.com>
48644
48645 [BZ #10851]
48646 * resolv/res_init.c (__res_vinit): When no server address at all
48647 is given default to loopback.
48648
f2ac4868
RM
486492010-08-24 Roland McGrath <roland@redhat.com>
48650
09055553
RM
48651 * configure.in: Remove config-name.h generation.
48652 * configure: Regenerated.
48653 * config-name.in: File removed.
48654 * scripts/config-uname.sh: New file.
48655 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48656 ($(objdir)config-name.h): New target.
48657
f2ac4868
RM
48658 * sunrpc/rpc_parse.h: Avoid nested comment.
48659
73f27d5e
RH
486602010-08-24 Richard Henderson <rth@redhat.com>
48661 Ulrich Drepper <drepper@redhat.com>
48662 H.J. Lu <hongjiu.lu@intel.com>
48663
48664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48666 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48667 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48668 _mm_alignr_epi8 with _mm_loadu_si128.
48669 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48670 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48671 (__m128i_shift_right): Removed.
48672 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48673 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48674 * sysdeps/x86_64/multiarch/varshift.h: New file.
48675 * sysdeps/x86_64/multiarch/varshift.S: New file.
48676
84b9230c
MF
486772010-08-21 Mike Frysinger <vapier@gentoo.org>
48678
48679 * configure.in: Move assembler checks to before sysdep dir checking.
48680
9bbd0ddc
PB
486812010-08-20 Petr Baudis <pasky@suse.cz>
48682
48683 * LICENSES: Sync the sunrpc license.
48684
9da4bb31
UD
486852010-08-19 Ulrich Drepper <drepper@redhat.com>
48686
a7ab6ec8
UD
48687 * sunrpc/auth_des.c: Update copyright notice once again.
48688 * sunrpc/auth_none.c: Likewise.
48689 * sunrpc/auth_unix.c: Likewise.
48690 * sunrpc/authdes_prot.c: Likewise.
48691 * sunrpc/authuxprot.c: Likewise.
48692 * sunrpc/bindrsvprt.c: Likewise.
48693 * sunrpc/clnt_gen.c: Likewise.
48694 * sunrpc/clnt_perr.c: Likewise.
48695 * sunrpc/clnt_raw.c: Likewise.
48696 * sunrpc/clnt_simp.c: Likewise.
48697 * sunrpc/clnt_tcp.c: Likewise.
48698 * sunrpc/clnt_udp.c: Likewise.
48699 * sunrpc/clnt_unix.c: Likewise.
48700 * sunrpc/des_crypt.c: Likewise.
48701 * sunrpc/des_soft.c: Likewise.
48702 * sunrpc/get_myaddr.c: Likewise.
48703 * sunrpc/getrpcport.c: Likewise.
48704 * sunrpc/key_call.c: Likewise.
48705 * sunrpc/key_prot.c: Likewise.
48706 * sunrpc/openchild.c: Likewise.
48707 * sunrpc/pm_getmaps.c: Likewise.
48708 * sunrpc/pm_getport.c: Likewise.
48709 * sunrpc/pmap_clnt.c: Likewise.
48710 * sunrpc/pmap_prot.c: Likewise.
48711 * sunrpc/pmap_prot2.c: Likewise.
48712 * sunrpc/pmap_rmt.c: Likewise.
48713 * sunrpc/rpc/auth.h: Likewise.
48714 * sunrpc/rpc/auth_unix.h: Likewise.
48715 * sunrpc/rpc/clnt.h: Likewise.
48716 * sunrpc/rpc/des_crypt.h: Likewise.
48717 * sunrpc/rpc/key_prot.h: Likewise.
48718 * sunrpc/rpc/netdb.h: Likewise.
48719 * sunrpc/rpc/pmap_clnt.h: Likewise.
48720 * sunrpc/rpc/pmap_prot.h: Likewise.
48721 * sunrpc/rpc/pmap_rmt.h: Likewise.
48722 * sunrpc/rpc/rpc.h: Likewise.
48723 * sunrpc/rpc/rpc_des.h: Likewise.
48724 * sunrpc/rpc/rpc_msg.h: Likewise.
48725 * sunrpc/rpc/svc.h: Likewise.
48726 * sunrpc/rpc/svc_auth.h: Likewise.
48727 * sunrpc/rpc/types.h: Likewise.
48728 * sunrpc/rpc/xdr.h: Likewise.
48729 * sunrpc/rpc_clntout.c: Likewise.
48730 * sunrpc/rpc_cmsg.c: Likewise.
48731 * sunrpc/rpc_common.c: Likewise.
48732 * sunrpc/rpc_cout.c: Likewise.
48733 * sunrpc/rpc_dtable.c: Likewise.
48734 * sunrpc/rpc_hout.c: Likewise.
48735 * sunrpc/rpc_main.c: Likewise.
48736 * sunrpc/rpc_parse.c: Likewise.
48737 * sunrpc/rpc_parse.h: Likewise.
48738 * sunrpc/rpc_prot.c: Likewise.
48739 * sunrpc/rpc_sample.c: Likewise.
48740 * sunrpc/rpc_scan.c: Likewise.
48741 * sunrpc/rpc_scan.h: Likewise.
48742 * sunrpc/rpc_svcout.c: Likewise.
48743 * sunrpc/rpc_tblout.c: Likewise.
48744 * sunrpc/rpc_util.c: Likewise.
48745 * sunrpc/rpc_util.h: Likewise.
48746 * sunrpc/rpcinfo.c: Likewise.
48747 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48748 * sunrpc/rpcsvc/key_prot.x: Likewise.
48749 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48750 * sunrpc/rpcsvc/mount.x: Likewise.
48751 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48752 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48753 * sunrpc/rpcsvc/rex.x: Likewise.
48754 * sunrpc/rpcsvc/rstat.x: Likewise.
48755 * sunrpc/rpcsvc/rusers.x: Likewise.
48756 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48757 * sunrpc/rpcsvc/spray.x: Likewise.
48758 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48759 * sunrpc/rtime.c: Likewise.
48760 * sunrpc/svc.c: Likewise.
48761 * sunrpc/svc_auth.c: Likewise.
48762 * sunrpc/svc_authux.c: Likewise.
48763 * sunrpc/svc_raw.c: Likewise.
48764 * sunrpc/svc_run.c: Likewise.
48765 * sunrpc/svc_simple.c: Likewise.
48766 * sunrpc/svc_tcp.c: Likewise.
48767 * sunrpc/svc_udp.c: Likewise.
48768 * sunrpc/svc_unix.c: Likewise.
48769 * sunrpc/svcauth_des.c: Likewise.
48770 * sunrpc/xcrypt.c: Likewise.
48771 * sunrpc/xdr.c: Likewise.
48772 * sunrpc/xdr_array.c: Likewise.
48773 * sunrpc/xdr_float.c: Likewise.
48774 * sunrpc/xdr_mem.c: Likewise.
48775 * sunrpc/xdr_rec.c: Likewise.
48776 * sunrpc/xdr_ref.c: Likewise.
48777 * sunrpc/xdr_sizeof.c: Likewise.
48778 * sunrpc/xdr_stdio.c: Likewise.
48779
9da4bb31
UD
48780 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48781 handling.
48782
bdaa77bc
AS
487832010-08-19 Andreas Schwab <schwab@redhat.com>
48784
48785 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48786
fe2f79db
LM
487872010-08-19 Luis Machado <luisgpm@br.ibm.com>
48788
48789 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48790 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48791 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48792 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48793 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48794 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48795 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48796 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48797 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48798 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48799 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48800 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48801 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48802 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48803
b9b42ee0
AB
488042010-07-26 Anton Blanchard <anton@samba.org>
48805
48806 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48807 * malloc/arena.c (heap_trim): Likewise.
48808
1c06ba31
UD
488092010-08-16 Ulrich Drepper <drepper@redhat.com>
48810
48811 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48812 here. Not...
48813 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48814 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48815
f8392f40
L
488162010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48817
48818 * sysdeps/i386/elf/Makefile: New file.
48819
3162f12e
AS
488202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48821
48822 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48823 from fanotify_init.
48824 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48826
28c90b2c
UD
488272010-08-15 Ulrich Drepper <drepper@redhat.com>
48828
48829 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48830 of strncasecmp_l.
1feccb6c 48831 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 48832
ca6bb004
UD
488332010-08-14 Ulrich Drepper <drepper@redhat.com>
48834
e9f82e0d
UD
48835 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48836 strncase_l-nonascii.
48837 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48838 Add strncase_l-ssse3.
48839 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48840 * sysdeps/x86_64/strcmp.S: Likewise.
48841 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48842 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48843 * sysdeps/x86_64/strncase.S: New file.
48844 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48845 * sysdeps/x86_64/strncase_l.S: New file.
48846 * string/Makefile (strop-tests): Add strncasecmp.
48847 * string/test-strncasecmp.c: New file.
48848
48849 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48850 warning.
48851
ca6bb004
UD
48852 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48853 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48854
052fa7b3
AS
488552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48856
48857 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48858
962dba78
UD
488592010-08-12 Ulrich Drepper <drepper@redhat.com>
48860
48861 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48862 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48863 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48864
bebff237
AM
488652010-05-01 Alan Modra <amodra@gmail.com>
48866
48867 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48868 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48869 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48870 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48871 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48872 tidying. Don't tail-call __sigjmp_save for static lib.
48873 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48874 save location.
48875 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48876 (CALL_MCOUNT): Add eh info, and nop after bl.
48877 (TAIL_CALL_SYSCALL_ERROR): New macro.
48878 (PSEUDO_RET): Use it.
48879 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48880 Correct save location of integer regs and cr.
48881 (_dl_profile_resolve): Correct cr save location. Delete nops
48882 after bl when SHARED. Reduce cfi size a little by better
48883 placement of cfi directives.
48884 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48885 make a stack frame. Instead use parm save area as a temp.
48886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48887 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48889 Don't make a stack frame for parent, use parm save area.
48890 Increase child stack frame to 112 bytes. Don't save unused reg,
48891 and adjust reg usage. Set up cfi on error recovery and
48892 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48894 (__makecontext): Add dummy nop after jump to exit.
48895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48896 Use correct parm save area and cr save, reduce stack frame.
48897 Correct cfi for possible PSEUDO_RET frame setup.
48898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48899 Branch to local label emitted by PSEUDO_RET rather than
48900 __syscall_error.
48901
02637374
AS
489022010-08-12 Andreas Schwab <schwab@redhat.com>
48903
48904 [BZ #11904]
48905 * locale/programs/locale.c (print_assignment): New function.
48906 (show_locale_vars): Use it.
48907
c3e2f19b
UD
489082010-08-11 Ulrich Drepper <drepper@redhat.com>
48909
3cdaa6ad
UD
48910 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48911 field.
48912 (struct statfs64): Likewise.
48913 (_STATFS_F_FLAGS): Define.
48914 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48915 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48916 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48917 (ST_VALID): Define locally.
48918 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48919 __statvfs_getflags, use the provided value.
48920 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48921 __ASSUME_STATFS_F_FLAGS.
48922
754f7da3
UD
48923 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48924
10b3bedc
UD
48925 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48926 Add sys/fanotify.h.
48927 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48928 fanotify_mask for GLIBC_2.13.
48929 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48930 fanotify_init and fanotify_mark.
48931 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48932 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48933
c08fb0d7
UD
48934 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48935 Add prlimit.
48936 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48937 prlimit64 for GLIBC_2.13.
48938 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48939 prlimit64.
48940 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48941 syscall.
48942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48943 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48944 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48945 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48946 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48947 add prlimit alias.
48948 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48949
15bac72b
UD
48950 [BZ #11903]
48951 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48952 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48953
c3e2f19b
UD
48954 * nss/Makefile: Add rules to build and run tst-nss-test1.
48955 * shlib-versions: Add entry for libnss_test1.
48956 * nss/nss_test1.c: New file.
48957 * nss/tst-nss-test1.c: New file.
48958
48959 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48960 (__nss_configure_lookup): Set appropriate entry in
48961 __nss_configure_lookup to true.
48962 * nss/nsswitch.h: Define enum with indeces of databases in
48963 databases and __nss_database_custom arrays. Declare
48964 __nss_database_custom.
48965 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48966 to avoid using nscd when custom rules are installed.
48967 * nss/getXXbyYY_r.c: Likewise.
48968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48969
48970 * nss/nss_files/files-parse.c: Whitespace fixes.
48971
f15ce4d8
UD
489722010-08-09 Ulrich Drepper <drepper@redhat.com>
48973
48974 [BZ #11883]
48975 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48976 * posix/fnmatch_loop.c: Likewise.
48977
d22e4cc9
AK
489782010-07-17 Andi Kleen <ak@linux.intel.com>
48979
48980 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48981 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48982 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48983 * Versions.def [GLIBC_2.13]: Add.
48984
805bc17d
UD
489852010-08-06 Ulrich Drepper <drepper@redhat.com>
48986
48987 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48988 Also fail if tpwd after pwuid call is NULL.
48989
5a42321d
ST
489902010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48991
48992 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48993 when converting to ms.
48994
fd3ebeda
ST
489952010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48996
48997 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48998 EOPNOTSUPP errors with ENOTTY.
48999 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49000 EOPNOTSUPP errors with ENOTTY.
49001
73507d3a
UD
490022010-07-31 Ulrich Drepper <drepper@redhat.com>
49003
49004 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49005 Add strcasecmp_l-ssse3.
49006 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49007 strcasecmp.
49008 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49009 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49010 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49011
fe36dd02
UD
490122010-07-30 Ulrich Drepper <drepper@redhat.com>
49013
66f6765a
UD
49014 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49015
42e08a54
UD
49016 * string/Makefile (strop-tests): Add strcasecmp.
49017 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49018 strcasecmp_l-nonascii.
49019 (gen-as-const-headers): Add locale-defines.sym.
49020 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49021 * sysdeps/x86_64/strcasecmp.S: New file.
49022 * sysdeps/x86_64/strcasecmp_l.S: New file.
49023 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49024 * sysdeps/x86_64/locale-defines.sym: New file.
49025 * string/test-strcasecmp.c: New file.
49026
fe36dd02
UD
49027 * string/test-strcasestr.c: Test both ends of the range of characters.
49028 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49029
48cbc0d6
RM
490302010-07-29 Roland McGrath <roland@redhat.com>
49031
76e6d6bc 49032 [BZ #11856]
48cbc0d6
RM
49033 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49034
880113d9
UD
490352010-07-27 Ulrich Drepper <drepper@redhat.com>
49036
49037 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49038 for ld.so.
49039
deb9cabb
AS
490402010-07-27 Andreas Schwab <schwab@redhat.com>
49041
49042 * manual/memory.texi (Malloc Tunable Parameters): Document
49043 M_PERTURB.
49044
1c7570ff
RM
490452010-07-26 Roland McGrath <roland@redhat.com>
49046
49047 [BZ #11840]
49048 * configure.in (-fgnu89-inline check): Set and substitute
49049 gnu89_inline, not libc_cv_gnu89_inline.
49050 * configure: Regenerated.
49051 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49052
24fb0f88
UD
490532010-07-26 Ulrich Drepper <drepper@redhat.com>
49054
49055 * string/test-strnlen.c: New file.
49056 * string/Makefile (strop-tests): Add strnlen.
49057 * string/tester.c (test_strnlen): Add a few more test cases.
49058 * string/tst-strlen.c: Better error reporting.
49059
49060 * sysdeps/x86_64/strnlen.S: New file.
49061
8e96b93a
UD
490622010-07-24 Ulrich Drepper <drepper@redhat.com>
49063
49064 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49065 lower-latency instructions.
49066
dbc676d4
UD
490672010-07-23 Ulrich Drepper <drepper@redhat.com>
49068
49069 * string/test-strcasestr.c: New file.
49070 * string/test-strstr.c: New file.
49071 * string/Makefile (strop-tests): Add strstr and strcasestr.
49072 * string/str-two-way.h: Don't undefine MAX.
49073 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49074
f6a31e0e
AS
490752010-07-21 Andreas Schwab <schwab@redhat.com>
49076
49077 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49078 strcasestr-nonascii.
49079 (CFLAGS-strcasestr-nonascii.c): Define.
49080 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49081 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49082 Remove unused attribute.
49083
5dbc3b6c
RM
490842010-07-20 Roland McGrath <roland@redhat.com>
49085
49086 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49087 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49088 ld.so.cache was broken. With it, there is no way to disable dsocaps
49089 like LD_HWCAP_MASK can disable hwcaps.
49090
23d101d8
EPM
490912010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49092
49093 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49094
cc9f2e47
UD
490952010-07-16 Ulrich Drepper <drepper@redhat.com>
49096
49097 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49098 call in strcasestr.
49099 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49100 __strcasestr_sse42_nonascii.
49101 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49102 strcasestr-nonascii.c.
49103 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49104
77c1b069
LM
491052010-06-15 Luis Machado <luisgpm@br.ibm.com>
49106
49107 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49108 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49109 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49110 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49111
440566c3
UD
491122010-07-09 Ulrich Drepper <drepper@redhat.com>
49113
49114 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49115 fcntl.
49116
5be9d05d
AS
491172010-07-06 Andreas Schwab <schwab@redhat.com>
49118
c30b7ee2 49119 [BZ #11577]
5be9d05d
AS
49120 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49121 dl_signal_cerror.
49122
8a492a67
UD
491232010-07-06 Ulrich Drepper <drepper@redhat.com>
49124
49125 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49126 _PC_PIPE_BUF using F_GETPIPE_SZ.
49127
713df3d5
RM
491282010-07-05 Roland McGrath <roland@redhat.com>
49129
49130 * manual/arith.texi (Rounding Functions): Fix rint description
49131 implicit in round description.
49132
702e8f14
UD
491332010-07-02 Ulrich Drepper <drepper@redhat.com>
49134
49135 * elf/Makefile: Fix linking for a few tests to make recent linker
49136 happy.
49137
52ed8be9
AS
491382010-06-30 Andreas Schwab <schwab@redhat.com>
49139
49140 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49141 $(common-objpfx)libc_nonshared.a.
49142
f47c9a11
LM
491432010-06-21 Luis Machado <luisgpm@br.ibm.com>
49144
49145 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49146 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49147 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49148 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49149 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49150 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49151 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49152 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49167 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49168 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49169 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49170 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49171 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49172 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49173 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49174 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49175 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49176 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49177 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49178 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49193
6fb8cbcb
L
491942010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49195
49196 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49197 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49198 * string/memmove.c (memmove): Renamed to ...
49199 (MEMMOVE): ...this. Default to memmove.
49200 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49201 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49202 (END_CHK): Define.
49203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49204 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49205 mempcpy-ssse3-back memmove-ssse3-back.
49206 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49207 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49208 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49209 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49210 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49211 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49212 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49213 * sysdeps/x86_64/multiarch/memmove.c: New file.
49214 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49215 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49216 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49217 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49218 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49219 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49220 Define.
49221 (index_Fast_Copy_Backward): Define.
49222 (HAS_ARCH_FEATURE): Define.
49223 (HAS_FAST_REP_STRING): Define.
49224 (HAS_FAST_COPY_BACKWARD): Define.
49225
4e733bac 492262010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
49227
49228 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49229 Restore proper fallback handling.
49230
63c4ed22
UD
492312010-06-19 Ulrich Drepper <drepper@redhat.com>
49232
ac2b484c
UD
49233 [BZ #11701]
49234 * posix/group_member.c (__group_member): Correct checking loop.
49235
63c4ed22
UD
49236 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49237 OOM in getpwuid_r correctly. Return error number when the caller
49238 should return, otherwise -1.
49239 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49240 call returning > 0 value.
49241 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49242
765ade4b
AS
492432010-06-07 Andreas Schwab <schwab@redhat.com>
49244
49245 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49246 libc_nonshared.a from targets in modules-names.
49247
80da2e09
KS
492482010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49249
49250 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49251 requires it.
49252
158db122
LM
492532010-06-10 Luis Machado <luisgpm@br.ibm.com>
49254
49255 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49256 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49257 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49258 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49259
caa78cf8
AS
492602010-06-02 Andreas Schwab <schwab@redhat.com>
49261
49262 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49263
b2ef2c01
UD
492642010-06-14 Ulrich Drepper <drepper@redhat.com>
49265
49266 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49267 and F_GETPIPE_SZ.
49268 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49269 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49272 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49273 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49274
fbd643b6
RM
492752010-06-14 Roland McGrath <roland@redhat.com>
49276
49277 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49278
f32f2869
JJ
492792010-06-07 Jakub Jelinek <jakub@redhat.com>
49280
49281 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49282 __REDIRECT followed by __THROW.
49283 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49284 * posix/getopt.h (getopt): Likewise.
49285
2a50c078
EPM
492862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49287
49288 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49289 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49290 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49291 in AT_FLAGS.
49292 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49293 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49294
eb5ad2eb
LM
492952010-05-28 Luis Machado <luisgpm@br.ibm.com>
49296
49297 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49298
3c88fe1e
L
492992010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49300
49301 [BZ #11640]
49302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49303 Properly check family and model.
49304
d2f73151
TY
493052010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49306
49307 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49308
ebd2e13d
LM
493092010-05-24 Luis Machado <luisgpm@br.ibm.com>
49310
49311 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49312
b32b8b45
UD
493132010-05-21 Ulrich Drepper <drepper@redhat.com>
49314
49315 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49316 symbol reference.
49317
9acbe24d
AS
493182010-05-19 Andreas Schwab <schwab@redhat.com>
49319
49320 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49321 symbol reference.
49322
f0ccf6ea
AS
493232010-05-21 Andreas Schwab <schwab@redhat.com>
49324
3d04ff3a
AS
49325 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49326 and internal_recvmmsg.
49327 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49328 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49329 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49330 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49331
f0ccf6ea
AS
49332 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49333 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49334 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49335
5b08ac57
AS
493362010-05-20 Andreas Schwab <schwab@redhat.com>
49337
49338 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49339
4828935d
LM
493402010-05-17 Luis Machado <luisgpm@br.ibm.com>
49341
49342 POWER7 optimizations.
49343 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49344 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49345
373d545e
UD
493462010-05-19 Ulrich Drepper <drepper@redhat.com>
49347
49348 * version.h: Update for 2.13 development version.
49349
21a2b1ae
AS
493502010-05-12 Andrew Stubbs <ams@codesourcery.com>
49351
49352 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49353 exceptions. Return 0.
49354
3f7dcb2b
RM
493552010-05-07 Roland McGrath <roland@redhat.com>
49356
49357 * elf/ldconfig.c (main): Add a const.
49358
5f24d53a 493592010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49360
a160f8d8
UD
49361 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49362 (args_options): Add no-idn option.
49363 (ahosts_keys_int): Add idn_flags to ai_flags.
49364 (parse_option): Handle 'i' option to clear idn_flags.
49365
5f24d53a
UD
49366 * malloc/malloc.c (_int_free): Possible race in the most recently
49367 added check. Only act on the data if no current modification
49368 happened.
265bb1ce
UD
49369
49370See ChangeLog.17 for earlier changes.
This page took 6.817153 seconds and 5 git commands to generate.